Summary: | Update CreateTypeMemberOperation for changes in Indents | ||||||
---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Martin Aeschlimann <martinae> | ||||
Component: | Core | Assignee: | Jerome Lanneluc <jerome_lanneluc> | ||||
Status: | VERIFIED FIXED | QA Contact: | |||||
Severity: | normal | ||||||
Priority: | P3 | CC: | frederic_fusier, jerome_lanneluc | ||||
Version: | 3.1 | ||||||
Target Milestone: | 3.1 M7 | ||||||
Hardware: | PC | ||||||
OS: | Windows XP | ||||||
Whiteboard: | |||||||
Attachments: |
|
Description
Martin Aeschlimann
2005-04-06 09:35:20 EDT
Created attachment 19593 [details]
patch
Applying the path, several Java model tests are failing. Can you please investigate ? In fact several tests in TypeHierarchyNotificationTest, RenameTests, SortCompilationUnitElementsTests and CopyMoveElementsTests are failing. But it seems that my changes have surfaced a bug at a different place: An assertion is thrown as the option DefaultCodeFormatterConstants.FORMATTER_TAB_CHAR was not found in the options returned by JavaCore.getOptions(). When setting a breakpoint in JavaCore.getOptions ASTRewriteFormatter, line 134 you can see that only 5 options are returned Maybe it would better to not have an assert there, but at least this helped finding this bug. Let me know if I should remove it for now and tolerate the missing option. BTW: Jerome, not related to the bug, but note that CreateElementInCUOperation line 95 would better not pass null as options but take the options from the current IJavaProject. Yes please remove your changes so that we don't break the nightly build. filed bug 90580 for the missing options from JavaCore.getOptions Applied patch. Verified for 3.1 M7 using build I20050509-2010 + jdt.core HEAD. |