Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jdt-dev] 20 year old bug ? :)

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/

Back to the top