Summary: | Scrapbook editor: bad handling of // comment | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Matitiahu Allouche <matial> |
Component: | Core | Assignee: | Philipe Mulet <philippe_mulet> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | ||
Version: | 2.0 | ||
Target Milestone: | 2.0 M6 | ||
Hardware: | PC | ||
OS: | Windows 2000 | ||
Whiteboard: |
Description
Matitiahu Allouche
2002-04-29 09:50:08 EDT
*** This bug has been marked as a duplicate of 14626 *** Re-opened (thanks bugzilla, not a dup) This appears to be a problem in the JDT Core. We're passing the snippet in and getting a call back to the acceptProblem() method. I have a theory about what's happening here, but I don't know the JDT Core code well enough to verify it. Could it be that we're generating source which looks like this? public void run() { <insert snippet> } If so, the above test case would result in the following erroneous source: public void run() { System.out.println("Foo"); //} You suspected well. Fixed and released in HEAD. I tried to verify the fix on build 20020502 under Win2k. It is NOT working correctly. Which build will get the fix incorporated? It is only going to be released into the next tuesday's integration build. |