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

static property does not work on accessible, public classes

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 8
    • 8
    • core-libs
    • None
    • b100
    • generic
    • generic
    • Verified

    Description

      jjs -J-Djava.security.manager
      jjs> var al = new java.util.ArrayList()
      jjs> al.getClass().static
      java.security.AccessControlException: access denied ("java.lang.RuntimePermission" "nashorn.JavaReflection")
      jjs>

      Attachments

        Activity

          People

            sundar Sundararajan Athijegannathan
            sundar Sundararajan Athijegannathan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: