Project: JDT
Bug 58293 Introduce Factory: create Java Model Exception
Reported: 2004-04-13 10:54:18 | Status: resolved fixed

I20040413 Test Case: public class A { public A() { } public static void main(String[] args) { System.out.println("Hello World"); A a= new A(); } } class B extends A { } Encapsulate constructor A(). Observe: you get a JavaModelException

Files changed in fix:
org.eclipse.jdt.ui.tests.refactoring/resources/IntroduceFactory/Bugzilla/58293/ImplicitSuperCtorCall.java org.eclipse.jdt.ui.tests.refactoring/resources/IntroduceFactory/Bugzilla/58293/ImplicitSuperCtorCall_out.java org.eclipse.jdt.ui.tests.refactoring/test cases/org/eclipse/jdt/ui/tests/refactoring/IntroduceFactoryTests.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/IntroduceFactoryRefactoring.java