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

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

XMLWordPrintable

    • Icon: CSR CSR
    • Resolution: Approved
    • Icon: P3 P3
    • 11
    • hotspot
    • behavioral
    • minimal
    • Some scripts may need to be edited to remove the use of this option.
    • add/remove/modify command line option
    • JDK

      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

            iklam Ioi Lam
            alanb Alan Bateman
            Mandy Chung (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: