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

test/tools/javac/enum/EnumImplicitPrivateConstructor.java failure

    Details

    • Subcomponent:
    • Resolved In Build:
      b49
    • CPU:
      generic
    • OS:
      solaris_8

      Description

      The regression test
      test/tools/javac/enum/EnumImplicitPrivateConstructor.java assumes that
      it can call java.lang.reflect.AccessibleObject.setAccessible.
      However, one possible result of that call is an
      AccessControlException, which is what is occurring when I run this
      test. I think the test should be modified to consider that a correct
      result, rather than a test failure.

        Attachments

          Activity

            People

            • Assignee:
              gafter Neal Gafter
              Reporter:
              gafter Neal Gafter
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: