John Rose wrote: > I think the next interesting version of String will mix header and body > together in a hybrid layout, with private char (or byte) elements and a > few instance variables at the beginning of the layout.
It would be good to prepare for this by modifying the JNI spec to explicitly disallow AllocObject (and subsequent constructor invocations) on String. Regards, Jeroen