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

Examine @CS methods when called from attached thread with no caller

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 8, 9
    • Fix Version/s: tbd
    • Component/s: core-libs
    • Labels:
      None

      Description

      Reflection::getCallerClass may return null if there is no caller on the stack. We need to examine @CS methods when called from a thread attached via JNI for proper handling of the null caller class case. We should create new tests to catch these cases.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mchung Mandy Chung
                Reporter:
                mchung Mandy Chung
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: