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

Possible to use sun.misc.Unsafe to hack JDK and circumvent JEP 396

XMLWordPrintable

      A DESCRIPTION OF THE PROBLEM :
      With JEP 396, all illegal-access operations are disabled, "except for those enabled by other command-line options, e.g., --add-opens". However, it's possible for Java code to enable such operations without having to specify the appropriate command-line options.

      Link to hack: https://github.com/rzwitserloot/lombok/commit/9806e5cca4b449159ad0509dafde81951b8a8523

            Unassigned Unassigned
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: