Withdrawn: CODETOOLS-7902695: JMH should not try to access inaccessible fields
Henri Tremblay
henri.tremblay at gmail.com
Thu Jan 14 14:45:17 UTC 2021
Aleysey, just curious, why do we always get "This pull request has been
closed without being integrated" if the PR is actually merged?
On Thu, 14 Jan 2021 at 06:21, Aleksey Shipilev <shade at openjdk.java.net>
wrote:
> On Thu, 14 Jan 2021 10:21:01 GMT, Aleksey Shipilev <shade at openjdk.org>
> wrote:
>
> > JDK 9+ reluctantly allows accessing `Console.cs` field to get the
> console encoding for e.g. Windows. JDK 16+ disallows it point-blank. JDK 9+
> still prints the warning. Given that we would not be able to do this in
> future, it makes sense to check for field accessibility before trying to
> `setAccessible` the field for JDK 9+.
>
> This pull request has been closed without being integrated.
>
> -------------
>
> PR: https://git.openjdk.java.net/jmh/pull/18
>
More information about the jmh-dev
mailing list