[11u] RFR 8177068: incomplete classpath causes NPE in Flow
Hohensee, Paul
hohensee at amazon.com
Mon May 17 18:11:22 UTC 2021
Hi, Evgeny.
I reviewed this backport last month and tagged the issue. Waiting on maintainer (Christoph?) approval.
Thanks,
Paul
From: compiler-dev <compiler-dev-retn at openjdk.java.net> on behalf of "Astigeevich, Evgeny" <eastig at amazon.co.uk>
Date: Saturday, May 15, 2021 at 3:05 PM
To: "jdk-updates-dev at openjdk.java.net" <jdk-updates-dev at openjdk.java.net>
Cc: "compiler-dev at openjdk.java.net" <compiler-dev at openjdk.java.net>
Subject: [11u] RFR 8177068: incomplete classpath causes NPE in Flow
Hi,
Please review the backport of JDK-8177068 to 11u.
Bug: https://bugs.openjdk.java.net/browse/JDK-8177068
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
Thanks,
Evgeny
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/compiler-dev/attachments/20210517/680de8a6/attachment.htm>
More information about the compiler-dev
mailing list