On 30/11/2015 08:50, Cédric Champeau wrote:
:

Eventually, I would also not recommend to put a module-info class (jdk 9
format) into a jar built for java 8. Just because there are tons of changes
that it will blow up
at runtime for legacy applications that use classpath scanning, and will
fail when they see an unrecognized class format.


Out of curiosity, you have examples of this? The hyphen makes it an invalid identifier so I would expect it should be ignored. At this time then the class file version is still 52.0 but maybe you've seen examples where something scanning the class path barfs on the new access_flags?

-Alan

Reply via email to