[8u] RFR 8148854: Class names "SomeClass" and "LSomeClass;" treated by JVM as an equivalent

Zhengyu Gu zgu at redhat.com
Mon Jul 27 18:32:46 UTC 2020


I would like to backport this to 8u for parity with Oracle 8u281.

The original patch does not apply cleanly.

1) classFileParser.cpp
    8u does not have the changes from JDK-8140485, so relaxed class file 
check is performed from ClassFileParser::parseClassFile, instead of 
ClassFileParser's constructor.
    The conflicts are easy to resolve.

2) verifier.hpp
   Copyright line already updated in 8u

3) FormatCheckingTest.java
   Changed @library from /test/lib -> /testlibrary
   Changed imports to reflect test library changes
   Removed @modules


Original bug: https://bugs.openjdk.java.net/browse/JDK-8148854
Original patch: 
http://hg.openjdk.java.net/jdk9/jdk9/hotspot/rev/92e705c1e6e6

8u Webrev: http://cr.openjdk.java.net/~zgu/JDK-8148854-8u/webrev.00/

Test:
   hotspot/runtime

Thanks,

-Zhengyu



More information about the jdk8u-dev mailing list