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

Define the behavior of caller-sensitive methods in java.lang.reflect when invoked by JNI code with no java frame on stack

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 9
    • Fix Version/s: None
    • Component/s: core-libs

      Description

      AccessibleObject::canAccess, setAccessible, trySetAccessible are @CS methods. It may result in NPE when invoked by JNI code with no java frame on stack. They should be examined and define the behavior.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated: