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

Obsolete CheckEndorsedAndExtDirs and remove checks for lib/endorsed and lib/ext

    Details

    • Type: CSR
    • Status: Closed
    • Priority: P3
    • Resolution: Approved
    • Fix Version/s: 11
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Compatibility Kind:
      behavioral
    • Compatibility Risk:
      minimal
    • Compatibility Risk Description:
      Some scripts may need to be edited to remove the use of this option.
    • Interface Kind:
      add/remove/modify command line option
    • Scope:
      JDK

      Description

      Summary

      Make the VM option CheckEndorsedAndExtDirs obsolete.

      Problem

      This option was added in JDK 8 to help identify code that relies on the endorsed standards or extension mechanism. These mechanism were deprecated in Java SE 8 / JDK 8 in preparation via JEP 220 in Java SE 9 / JDK 9. The option no longer has a use.

      Solution

      Make the option obsolete

      Specification

      Remove the CheckEndorsedAndExtDirs flag from src/hotspot/share/runtime/globals.hpp and move it to the list obsolete options in src/hotspot/share/runtime/arguments.cpp

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                iklam Ioi Lam
                Reporter:
                alanb Alan Bateman
                Reviewed By:
                Mandy Chung
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: