Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8221180

Deprecate AllowJNIEnvProxy

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 13
    • 13
    • hotspot
    • 6
    • b14

    Description

      The product flag, AllowJNIEnvProxy, was added in JDK 6 by JDK-4881230 as the first step in the process of removing support for JNIEnv proxies (which the JNI spec forbids). It's unclear how long ago the need for JNIEnv proxies was removed, and more unclear when they would actually have stopped working. I have great confidence that the code has not worked for a very long time.

      So it is time to complete that process and remove the last remnants of JNIEnv proxy support. As AllowJNIEnvProxy is a product flag we will do the right think and initially deprecate it in JDK 13 and then obsolete in 14, then remove.

      Attachments

        Issue Links

          Activity

            People

              dholmes David Holmes
              dholmes David Holmes
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: