Community
Participate
Working Groups
This is a FUP of bug 321414. bug 321414 had fixed the problems for synthetic methods for private constructors of static inner classes. However, for non-static inner classes, the private constructor takes two additional parameters and both the Eclipse compiler and the Java compiler doesn't take care of it. Both compilers generated codes generate the ClassFormatError at runtime. I couldn't find any bug in Java bug database - We probably can file one there.
Created attachment 178933 [details] Proposed fix + regression test
Satyam, please review
Changes look good to me. +1
Released for 3.7M2. Added regression test: org.eclipse.jdt.core.tests.compiler.regression.ProblemTypeAndMethodTest#test111 org.eclipse.jdt.core.tests.compiler.regression.ProblemTypeAndMethodTest#test112
Verified for 3.7M2