System::setSecurityManager may throw NPE if the caller is null

XMLWordPrintable

    • Type: Sub-task
    • Resolution: Won't Fix
    • Priority: P4
    • tbd
    • Affects Version/s: 17
    • Component/s: core-libs
    • None

      The caller class is used in the warning message but it may throw NPE when invoked via JNI code with no caller frame and when -Djava.security.manager=allow is set when it accesses its code source and its name.

            Assignee:
            Mandy Chung (Inactive)
            Reporter:
            Mandy Chung (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: