RFR: 8255394: jdk/test/lib/hexdump/ASN1FormatterTest.java fails with ---illegal-access=deny [v2]
Alan Bateman
alanb at openjdk.java.net
Tue Oct 27 15:32:20 UTC 2020
On Tue, 27 Oct 2020 15:27:39 GMT, Roger Riggs <rriggs at openjdk.org> wrote:
>> To access the internal security APIs to lookup known OIDs the test needs to open java.base/sun.security.util.
>
> Roger Riggs has updated the pull request incrementally with one additional commit since the last revision:
>
> simplify: findMatch is public, so setAccessible and the module open is unnecessary
Dropping the setAccessible and change @moduels to just export sun.security.util looks fine too.
-------------
Marked as reviewed by alanb (Reviewer).
PR: https://git.openjdk.java.net/jdk/pull/881
More information about the core-libs-dev
mailing list