[11u] RFR 8177068: incomplete classpath causes NPE in Flow
eastig at amazon.co.uk
Fri Apr 16 15:09:30 UTC 2021
Please review the backport of JDK-8177068 to 11u.
Original patch: https://hg.openjdk.java.net/jdk/jdk/rev/a3c63a9dfb2c
The original patch does not apply cleanly to 11u. In the original patch, file DeferredAttr.java, calls of ‘attribSpeculative’ to be changed have the argument AttributionMode.SPECULATIVE. The original patch does not change this. In 11u ‘attribSpeculative’ does not have the parameter AttributionMode. I changed the affected calls to 11u API.
11u webrev: http://cr.openjdk.java.net/~eastigeevich/8177068/webrev.00/
Tested: Amazon Linux 2 x86_64, tier1, tier2, langtools/tools/javac/T8177068/NoCompletionFailureSkipOnSpeculativeAttribution.java
Note: There is a failing test: sun/security/pkcs11/Secmod/AddTrustedCert.java. It fails without the patch as well. Details: https://bugs.openjdk.java.net/browse/JDK-8232153
Amazon Development Centre (London) Ltd. Registered in England and Wales with registration number 04543232 with its registered office at 1 Principal Place, Worship Street, London EC2A 2FA, United Kingdom.
More information about the jdk-updates-dev