Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8177155 Examine @CS methods when called from attached thread with no caller
  3. JDK-8281244

javax.sql.rowset.serial.SerialJavaObject::getFields may throw NPE if caller is null

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Won't Fix
    • Icon: P4 P4
    • None
    • 9
    • core-libs
    • None

      javax.sql.rowset.serial.SerialJavaObject::getFields throws NPE when caller is null if the security manager is present. The caller's class loader is used to determine if package access permission check is needed.

      Since security manager is deprecated for removal (JEP 411) and setting the security manager is disallowed by default in Java 18, I'm inclined to propose do nothing for this issue.

      This issue is created as a tracking purpose.

            mchung Mandy Chung
            mchung Mandy Chung
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: