RFR(XS) : JDK-8009552 - test/vm/verifier/TestStaticIF.java failing with hs25.0-b20 (original) (raw)
Bharadwaj Yadavalli bharadwaj.yadavalli at oracle.com
Thu Mar 7 21:14:17 UTC 2013
- Previous message: hg: jdk8/tl/langtools: 8009582: Method reference generic constructor gives: IllegalArgumentException: Invalid lambda deserialization
- Next message: RFR(XS) : JDK-8009552 - test/vm/verifier/TestStaticIF.java failing with hs25.0-b20
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I would like to request for a review of changes whose details are as follows:
Bug fixed: https://jbs.oracle.com/bugs/browse/JDK-8009552 Webrev: http://cr.openjdk.java.net/~bharadwaj/8009552/webrev/
Summary of changes : To support JDK 8 features, javac now generates invokespecial instructions to reference interface methods. The proposed change modifies bytecode verification (in old verifier) of Java 8 classfiles to allow invokespecial to refer to methods in CONSTANT_InterfaceMethodref as well as in CONSTANT_Methodref. Consequently, class hierarchy walk to validate the operand of invokespecial is restricted to classes with version less than 52.
Note that this change is to the old verifier. The new verifier (split verifier) already handles this.
Thanks,
Bharadwaj
- Previous message: hg: jdk8/tl/langtools: 8009582: Method reference generic constructor gives: IllegalArgumentException: Invalid lambda deserialization
- Next message: RFR(XS) : JDK-8009552 - test/vm/verifier/TestStaticIF.java failing with hs25.0-b20
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]