[jdk19] RFR: 8289302: Restore CriticalJNINatives

Alan Bateman alanb at openjdk.org
Wed Jun 29 15:30:45 UTC 2022


On Wed, 29 Jun 2022 12:10:35 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:

> This change restores the code in the JVM that implemented the internal JavaCritical or CriticalJNINatives functionality.  Customers are using this feature and there's no replacement yet for it.
> This change is a backout and merge of jDK-8258192: Obsolete the CriticalJNINatives flag.
> This change also adds the deprecation message that was missed, which I checked is okay with the customer.
> 
> Tested with tiers1-4.

I would have liked to have seen more from the person that came to jdk-dev and panama-dev to complain about this. In particular, the mails mention replacing parts of NIO which suggests to me that this might be a JDK fork, or maybe the undocumented CriticalJNINative in conjunction with other dependences on JDK internals? It came across as completely unsupportable and I think engagement on panama-dev would be better before making any decision to bring this back.

-------------

PR: https://git.openjdk.org/jdk19/pull/90


More information about the hotspot-dev mailing list