RFR: 8255394: jdk/test/lib/hexdump/ASN1FormatterTest.java fails with ---illegal-access=deny
Weijun Wang
weijun at openjdk.java.net
Tue Oct 27 14:27:24 UTC 2020
On Tue, 27 Oct 2020 14:24:26 GMT, Alan Bateman <alanb at openjdk.org> wrote:
>> To access the internal security APIs to lookup known OIDs the test needs to open java.base/sun.security.util.
>
> Marked as reviewed by alanb (Reviewer).
The `findMatch` method is public, maybe you can remove the `setAccessible` call so there is no need for `open`?
-------------
PR: https://git.openjdk.java.net/jdk/pull/881
More information about the core-libs-dev
mailing list