RFR: Adding troubleshooting section to README.md
Adam Sotona
asotona at openjdk.java.net
Mon Jan 25 11:01:53 UTC 2021
On Mon, 25 Jan 2021 10:33:01 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:
>> Hi,
>> based on an external contributor recent experience with javac benchmarking javac using jmh-jdk-microbenchmarks I've created a troubleshooting section of the README.md
>>
>> Thanks,
>> Adam
>
> README.md line 60:
>
>> 58: It is caused by recently enabled Jigsaw enforcement and micros-javac benchmarks requirement to access several jdk.compiler module private packages.
>> 59:
>> 60: Solution is to export required packages by adding following options to the command line:
>
> assuming this issue comes from reflective access, what about adding a single option to permit illegal access?
I thought it was also removed however it is only deprecated, so to generally permit illegal access is definitely better solution. Thanks!
-------------
PR: https://git.openjdk.java.net/jmh-jdk-microbenchmarks/pull/5
More information about the jmh-jdk-microbenchmarks-dev
mailing list