[11] RFR(XS) : 8199081 : [Testbug] compiler/linkage/LinkageErrors.java fails if run twice

Igor Ignatyev igor.ignatyev at oracle.com
Fri Aug 3 22:01:05 UTC 2018


http://cr.openjdk.java.net/~iignatyev//8199081/webrev.00/index.html
> 35 lines changed: 13 ins; 6 del; 16 mod; 

Hi all,

could you please review this small fix for LinkageErrors test? CallSites.jasm file contained an incorrect definition of compiler/linkage/I as a class, I is already defined as an interface in LinkageErrors.java. the fix simply removes I's definition from .jasm file. to make the test more strict, the patch also divide test method into two based on expected sub type of LinkageError.

testing: compiler/linkage/LinkageErrors.java passed on latest jdk11 and failed on jdk9b119
webrev: http://cr.openjdk.java.net/~iignatyev//8199081/webrev.00/index.html
JBS: https://bugs.openjdk.java.net/browse/JDK-8199081

Thanks,
-- Igor



More information about the hotspot-compiler-dev mailing list