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

Deprecate AllowJNIEnvProxy

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 13
    • Fix Version/s: 13
    • Component/s: hotspot
    • Subcomponent:
    • Introduced In Version:
      6
    • Resolved In Build:
      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

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

                Dates

                Created:
                Updated:
                Resolved: