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

Sealing violations not found in certain cases

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 1.3.0
    • 1.2.0, 1.2.2
    • core-libs
    • None


      A sealing violation is not detected in the case where the first class in the
      package is loaded from a directory (rather than a jar file) and the second
      is loaded from a sealed jar file. If the classes are loaded in the reverse
      order, the sealing violation is detected. The attached example has a
      Unix-specific makefile, but the bug should exist on Windows also.

            zlisunw Zhenghua Li (Inactive)
            dbowensunw David Bowen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: