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

closed/com/oracle/jfr/api/FlightRecorderMBeanTest/TestWithSecurityManager.java does not compile

    Details

    • Subcomponent:
    • Resolved In Build:
      b16
    • Verification:
      Verified

      Backports

        Description


        This test doesn't seem to be compile in the jdk7u/jdk7u-dev forest. Here's a sample results file:

        #Test Results (version 2)
        #Fri Mar 01 10:04:51 GMT 2013
        #checksum:422a60464d780e89
        #-----testdescription-----
        $file=/u/alanb/ws/jdk7u-dev/jdk/test/closed/com/oracle/jfr/api/FlightRecorderMBeanTest/TestWithSecurityManager.java
        $root=/u/alanb/ws/jdk7u-dev/jdk/test
        keywords=jfr othervm
        library=../../common
        run=USER_SPECIFIED build jrockit.jfr.TestRecording\nUSER_SPECIFIED main/othervm -XX\:+UnlockCommercialFeatures -XX\:+FlightRecorder TestWithSecurityManager\n
        source=TestWithSecurityManager.java
        title=\

        #-----environment-----

        #-----testresult-----
        description=file\:/u/alanb/ws/jdk7u-dev/jdk/test/closed/com/oracle/jfr/api/FlightRecorderMBeanTest/TestWithSecurityManager.java
        elapsed=100 0\:00\:00.100
        end=Fri Mar 01 10\:04\:51 GMT 2013
        environment=regtest
        execStatus=Failed. Compilation failed\: Compilation failed
        hostname=ashtown.ie.oracle.com
        javatestOS=Linux 3.2.0-23-generic (amd64)
        javatestVersion=4.4
        jtregVersion=jtreg 4.1 fcs b05
        script=com.sun.javatest.regtest.RegressionScript
        sections=script_messages build build compile
        start=Fri Mar 01 10\:04\:51 GMT 2013
        test=closed/com/oracle/jfr/api/FlightRecorderMBeanTest/TestWithSecurityManager.java
        user.name=albatem
        work=/u/alanb/testing/JTwork/closed/com/oracle/jfr/api/FlightRecorderMBeanTest

        #section:script_messages
        ----------messages:(5/248)----------
        JDK under test: (/u/alanb/ws/jdk7u-dev/build/linux-amd64/j2sdk-image)
        java version "1.7.0-internal"
        Java(TM) SE Runtime Environment (build 1.7.0-internal-albatem_2013_03_01_09_41-b00)
        Java HotSpot(TM) 64-Bit Server VM (build 24.0-b33, mixed mode)


        #section:build
        ----------messages:(3/137)----------
        command: build jrockit.jfr.TestRecording
        reason: User specified action: run build jrockit.jfr.TestRecording
        elapsed time (seconds): 0.0
        result: Passed. All files up to date

        #section:build
        ----------messages:(3/108)----------
        command: build TestWithSecurityManager
        reason: Named class compiled on demand
        elapsed time (seconds): 0.099
        result: Failed. Compilation failed: Compilation failed

        #section:compile
        ----------messages:(3/207)----------
        command: compile /u/alanb/ws/jdk7u-dev/jdk/test/closed/com/oracle/jfr/api/FlightRecorderMBeanTest/TestWithSecurityManager.java
        reason: .class file out of date or does not exist
        elapsed time (seconds): 0.099
        ----------direct:(6/481)----------
        /u/alanb/ws/jdk7u-dev/jdk/test/closed/com/oracle/jfr/api/FlightRecorderMBeanTest/TestWithSecurityManager.java:22: error: class TestControlPermission is public, should be declared in a file named TestControlPermission.java
        public class TestControlPermission {
               ^
        Note: /u/alanb/ws/jdk7u-dev/jdk/test/closed/com/oracle/jfr/api/FlightRecorderMBeanTest/TestWithSecurityManager.java uses or overrides a deprecated API.
        Note: Recompile with -Xlint:deprecation for details.
        1 error
        result: Failed. Compilation failed: Compilation failed


        test result: Failed. Compilation failed: Compilation failed

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  nloodin Nils Loodin (Inactive)
                  Reporter:
                  alanb Alan Bateman
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: