RFR 8214719: Deprecate -Xverify:none option
Bernd Eckenfels
ecki at zusammenkunft.net
Thu Feb 7 20:35:24 UTC 2019
BTW, just want to mention, we had quite some work to do to remove -verify:none from a complex application Server due to class Validation fail when the classpath (especially in OSGi) was incomplete.
Verifying a class seems to fail if types used in the signature of the class are missing. This new requirement of validating classes is not present when verifyer is turned off – which means those unused but needed classes can creep into your deployment. So it is not trivial to fix and therefore a deprecation Messages (as opposed to doc) should exist to give people a heads up.
Besides I would agree that with less and less sandbox Java applications and with a plan to downsize the security Manager having the non-verifyer optimization removed seems contraproductive (especially as Long as CDS is not mature).
Gruss
Bernd
--
http://bernd.eckenfels.net
More information about the hotspot-dev
mailing list