Community
Participate
Working Groups
The eclipse compiler generates an invalid StackMap attribute for the 'make' method when compiling the following class: ------------------------------ import java.util.*; public class MapMaker { public static Map make(boolean sorted) { return (sorted) ? new TreeMap() : new HashMap(); } public static void main(String[] args) { System.out.println(make(false)); } } ---------------------------------- Trying to run this class causes a NoClassDefFoundError which is actually a result of a ClassFormatError.
Added regression test org.eclipse.jdt.core.tests.compiler.regression.StackMapAttributeTest.test020. Fixed and released in HEAD.
Released for 3.2.1
Verified for 3.2.1 using build M20060908-1655