Project: JDT
Bug 198424 [Extract Class] Generates incorrect Parameter
Reported: 2007-07-31 11:47:49 | Status: resolved fixed

Use Extract Class on junit.runner.TestCaseClassLoader and generate alle Getters and Setters for all fields. The initialization of field private String[] defaultExclusions= { "junit.framework.", "junit.extensions.", "junit.runner." }; will fail because the array creation needs to be inserted

Files changed in fix:
org.eclipse.jdt.ui.tests.refactoring/resources/ExtractClass/testArrayInitializer/in/ArrayInitializer.java org.eclipse.jdt.ui.tests.refactoring/resources/ExtractClass/testArrayInitializer/out/ArrayInitializer.java org.eclipse.jdt.ui.tests.refactoring/resources/ExtractClass/testArrayInitializer/out/ArrayInitializerParameter.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ExtractClassRefactoring.java