RFR: JDK-8201443: NoSuchMethodException JarFile.open when jar file is used in classpath

Xueming Shen xueming.shen at oracle.com
Thu Apr 12 18:43:39 UTC 2018


Please help review the change for JDK-8201443

issue: https://bugs.openjdk.java.net/browse/JDK-8201443
webrev: http://cr.openjdk.java.net/~sherman/8201443/webrev

(1) To use SharedSecret/JavaLangAccess/Class.getDeclaredPublicMethods to 
      NoSuchMethodExcetpion throwing.
(2) Given the fact that our JarFile does not override ZipFile.close(), 
to add the fast
      check for JarFile to avoid unnecessary class/method check.
(3) No new regression test provided. To use the existing unit tests for 
regression test.
      Manually verified the provided test/scenario is passed.


More information about the core-libs-dev mailing list