Thanks, Aaron, I will follow up. (This is just the starting point, there are a few other places that need to be touched too.)
As far as encoding names the way you have done it, I think the level of indirection exists for a reason. In general some symbols may be present only in some versions of class libraries for example. (Though perhaps not in this case)
Am 19.04.24 um 08:14 schrieb Sankaran, Srikanth via jdt-dev:
org.eclipse.jdt.internal.compiler.lookup.TypeConstants.JAVA_LANG_NOCLASSDEFERROR reads:
char[][] JAVA_LANG_NOCLASSDEFERROR = {JAVA, LANG,
"NoClassDefError".toCharArray()};
//$NON-NLS-1$
I think it should be: “NoClassDefFoundError”
A 20 years old bug!
How about this fix (would also get rid of the comment)?
char[][] JAVA_LANG_NOCLASSDEFERROR = {JAVA, LANG, NoClassDefFoundError.class.getSimpleName().toCharArray()};
Regards,
--
Aaron "Optimizer" Digulla a.k.a. Philmann Dark
"It's not the universe that's limited, it's our imagination.
Follow me and I'll show you something beyond the limits."
http://blog.pdark.de/