RFR: 8165723: JarFile::isMultiRelease() method returns false when it should return true

Claes Redestad claes.redestad at oracle.com
Sat Sep 10 00:58:20 UTC 2016


Hi,

JDK-8152733 introduced a corner-case where isMultiRelease returns
false when it should return true due to an erroneously hand-crafted
Boyer-Moore search.

Webrev: http://cr.openjdk.java.net/~redestad/8165723/webrev.01/
Bug: https://bugs.openjdk.java.net/browse/JDK-8165723

Testing: created a test reproducer using randomly constructed
manifests and verified the supplied jar is properly detected as being
multi-release.

Thanks!

/Claes


More information about the core-libs-dev mailing list