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

TEST_BUG: java/security/ProtectionDomain/UntrustedPD.java fails to compile jdk 5.0

    Details

    • Subcomponent:
    • Introduced In Build:
      b05
    • Introduced In Version:
    • Resolved In Build:
      b01
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Not verified

      Backports

        Description

        Testsuite name: Regression
        Test name: java/security/ProtectionDomain/UntrustedPD.java
        JDK tested: 5.0u51 b05
        OS tested: Solaris, Windows
        Is it a regression: No
        Test fails since 5.0 FCS

        Log:

        #section:compile
        ----------messages:(3/197)----------
        command: compile /export/local/aurora/CommonData/j2se_java_rest/test/java/security/ProtectionDomain/UntrustedPD.java
        reason: .class file out of date or does not exist
        elapsed time (seconds): 0.673
        ----------System.out:(0/0)----------
        ----------System.err:(8/481)----------
        /export/local/aurora/CommonData/j2se_java_rest/test/java/security/ProtectionDomain/UntrustedPD.java:157: cannot find symbol
        symbol : class EmptyEnumeration
        location: class UntrustedPD.MyPermissionCollection
                    return (new EmptyEnumeration());
                                ^
        Note: /export/local/aurora/CommonData/j2se_java_rest/test/java/security/ProtectionDomain/UntrustedPD.java uses unchecked or unsafe operations.
        Note: Recompile with -Xlint:unchecked for details.
        1 error
        result: Failed. Compilation failed


        test result: Failed. Compilation failed

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  mbankal Mala Bankal (Inactive)
                  Reporter:
                  kshefov Konstantin Shefov
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: