Project: JDT
Bug 140299 failing Serial Version Clean Up test
Reported: 2006-05-05 03:15:14 | Status: verified fixed

org.eclipse.core.runtime.CoreException: Serial Version Clean Up: Could not calculate id for class 'test1.E1$3' at org.eclipse.jdt.internal.corext.fix.PotentialProgrammingProblemsFix$SerialVersionHashContext.getSerialVersionId(PotentialProgrammingProblemsFix.java:127) at org.eclipse.jdt.internal.corext.fix.PotentialProgrammingProblemsFix$SerialVersionHashBatchOperation.addInitializer(PotentialProgrammingProblemsFix.java:150) at org.eclipse.jdt.internal.corext.fix.AbstractSerialVersionOperation.rewriteAST(AbstractSerialVersionOperation.java:138) at org.eclipse.jdt.internal.corext.fix.AbstractSerialVersionOperation.rewriteAST(AbstractSerialVersionOperation.java:117) at org.eclipse.jdt.internal.corext.fix.AbstractFix.createChange(AbstractFix.java:95) at org.eclipse.jdt.internal.corext.fix.CleanUpRefactoring$SolutionGenerator.calculateSolution(CleanUpRefactoring.java:231) at org.eclipse.jdt.internal.corext.fix.CleanUpRefactoring$SolutionGenerator.acceptAST(CleanUpRefactoring.java:202) at org.eclipse.jdt.core.dom.CompilationUnitResolver.resolve(CompilationUnitResolver.java:710) at org.eclipse.jdt.core.dom.CompilationUnitResolver.resolve(CompilationUnitResolver.java:464) at org.eclipse.jdt.core.dom.ASTParser.createASTs(ASTParser.java:708) at org.eclipse.jdt.internal.corext.fix.CleanUpRefactoring.parse(CleanUpRefactoring.java:518) at org.eclipse.jdt.internal.corext.fix.CleanUpRefactoring.cleanUpProject(CleanUpRefactoring.java:448) at org.eclipse.jdt.internal.corext.fix.CleanUpRefactoring.checkFinalConditions(CleanUpRefactoring.java:399) at org.eclipse.ltk.core.refactoring.Refactoring.checkAllConditions(Refactoring.java:160) at org.eclipse.jdt.ui.tests.quickfix.CleanUpTest.assertRefactoringResultAsExpectedIgnoreHashValue(CleanUpTest.java:207) at org.eclipse.jdt.ui.tests.quickfix.CleanUpTest.testSerialVersionBug139381(CleanUpTest.java:4168) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at junit.framework.TestCase.runTest(TestCase.java:154)

Files changed in fix:
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/CleanUpTest.java