Derby
  1. Derby
  2. DERBY-2903

RunClassPathTester regression test gets diff because of error message difference

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 10.3.2.1, 10.4.1.3
    • Component/s: Test
    • Labels:
      None
    • Environment:
    • Bug behavior facts:
      Regression Test Failure

      Description

      Got the following diff because of access vs. Access in error message. probably a master update needed.

                      • Diff file derbyall/demo/demo/RunClassPathTester.diff
          • Start: RunClassPathTester jdk1.4.2 demo:demo 2007-06-20 14:32:54 ***
            3 del
            < Unable to access Protection Domain or Code Source for class interface org.apache.derby.database.Database:
            access denied (java.lang.RuntimePermission getProtectionDomain)
            3a3
            > Unable to access Protection Domain or Code Source for class interface org.apache.derby.database.Database:
            Access denied (java.lang.RuntimePermission getProtectionDomain)
            5 del
            < Unable to access Protection Domain or Code Source for class class SimpleApp:
            access denied (java.lang.RuntimePermission getProtectionDomain)
            5a5
            > Unable to access Protection Domain or Code Source for class class SimpleApp:
            Access denied (java.lang.RuntimePermission getProtectionDomain)
            Test Failed.
          • End: RunClassPathTester jdk1.4.2 demo:demo 2007-06-20 14:32:56 ***
      1. DERBY-2903_modapi.diff
        8 kB
        Myrna van Lunteren
      2. DERBY-2903_noapimod.diff
        10 kB
        Myrna van Lunteren
      3. DERBY-2903_noapimod.diff2
        11 kB
        Myrna van Lunteren

        Issue Links

          Activity

          Gavin made changes -
          Workflow jira [ 12407740 ] Default workflow, editable Closed status [ 12797360 ]
          Kathey Marsden made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Dag H. Wanvik made changes -
          Issue Type Test [ 6 ] Bug [ 1 ]
          Dag H. Wanvik made changes -
          Component/s Test [ 11413 ]
          Dag H. Wanvik made changes -
          Component/s Regression Test Failure [ 12310664 ]
          Dag H. Wanvik made changes -
          Derby Categories [Regression Test Failure]
          Myrna van Lunteren made changes -
          Fix Version/s 10.3.1.5 [ 12312671 ]
          Myrna van Lunteren made changes -
          Fix Version/s 10.4.0.0 [ 12312540 ]
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Myrna van Lunteren made changes -
          Link This issue is related to DERBY-3152 [ DERBY-3152 ]
          Myrna van Lunteren made changes -
          Attachment DERBY-2903_noapimod.diff2 [ 12368238 ]
          Myrna van Lunteren made changes -
          Description Got the following diff because of access vs. Access in error message. probably a master update needed.

          ********* Diff file derbyall/demo/demo/RunClassPathTester.diff
          *** Start: RunClassPathTester jdk1.4.2 demo:demo 2007-06-20 14:32:54 ***
          3 del
          < Unable to access Protection Domain or Code Source for class interface org.apache.derby.database.Database: access denied (java.lang.RuntimePermission getProtectionDomain)
          3a3
          > Unable to access Protection Domain or Code Source for class interface org.apache.derby.database.Database: Access denied (java.lang.RuntimePermission getProtectionDomain)
          5 del
          < Unable to access Protection Domain or Code Source for class class SimpleApp: access denied (java.lang.RuntimePermission getProtectionDomain)
          5a5
          > Unable to access Protection Domain or Code Source for class class SimpleApp: Access denied (java.lang.RuntimePermission getProtectionDomain)
          Test Failed.
          *** End: RunClassPathTester jdk1.4.2 demo:demo 2007-06-20 14:32:56 ***
          Got the following diff because of access vs. Access in error message. probably a master update needed.

          ********* Diff file derbyall/demo/demo/RunClassPathTester.diff
          *** Start: RunClassPathTester jdk1.4.2 demo:demo 2007-06-20 14:32:54 ***
          3 del
          < Unable to access Protection Domain or Code Source for class interface org.apache.derby.database.Database:
          access denied (java.lang.RuntimePermission getProtectionDomain)
          3a3
          > Unable to access Protection Domain or Code Source for class interface org.apache.derby.database.Database:
          Access denied (java.lang.RuntimePermission getProtectionDomain)
          5 del
          < Unable to access Protection Domain or Code Source for class class SimpleApp:
          access denied (java.lang.RuntimePermission getProtectionDomain)
          5a5
          > Unable to access Protection Domain or Code Source for class class SimpleApp:
          Access denied (java.lang.RuntimePermission getProtectionDomain)
          Test Failed.
          *** End: RunClassPathTester jdk1.4.2 demo:demo 2007-06-20 14:32:56 ***
          Environment Generating report for RunSuite derbyall null null null true
          ------------------ Java Information ------------------
          Java Version: 1.4.2
          Java Vendor: IBM Corporation
          Java home: c:\10.3_Testing\ibm142\jre
          Java classpath: c:\10.3_Testing\jars\lib\derby.jar;c:\10.3_Testing\jars\lib\derbytools.jar;c:\10.3_Testing\jars\lib\derbynet.jar;c:\10.3_Testing\jars\lib\derbyclient.jar;c:\10.3_Testing\jars\lib\derbyrun.jar;c:\10.3_Testing\jars\test\derbyTesting.jar;c:\10.3_Testing\jars\tools\junit.jar;c:\10.3_Testing\jars\tools\jakarta-oro-2.0.8.jar
          OS name: Windows Server 2003
          OS architecture: amd64
          OS version: 5.2 build 3790 Service Pack 1
          Java user name: cloudtest
          Java user home: C:\Documents and Settings\cloudtest
          Java user dir: C:\10.3_Testing\platformtesting\ibm142_derbyall
          java.specification.name: Java Platform API Specification
          java.specification.version: 1.4
          --------- Derby Information --------
          JRE - JDBC: J2SE 1.4.2 - JDBC 3.0
          [C:\10.3_Testing\jars\lib\derby.jar] 10.3.1.0 beta - (548006)
          [C:\10.3_Testing\jars\lib\derbytools.jar] 10.3.1.0 beta - (548006)
          [C:\10.3_Testing\jars\lib\derbynet.jar] 10.3.1.0 beta - (548006)
          [C:\10.3_Testing\jars\lib\derbyclient.jar] 10.3.1.0 beta - (548006)
          ------------------------------------------------------
          Generating report for RunSuite derbyall null null null true
          ------------------ Java Information ------------------
          Java Version: 1.4.2
          Java Vendor: IBM Corporation
          Java home: c:\10.3_Testing\ibm142\jre
          Java classpath: c:\10.3_Testing\jars\lib\derby.jar;c:\10.3_Testing\jars\lib\derbytools.jar;
          c:\10.3_Testing\jars\lib\derbynet.jar;c:\10.3_Testing\jars\lib\derbyclient.jar;c:\10.3_Testing\jars\lib\derbyrun.jar;
          c:\10.3_Testing\jars\test\derbyTesting.jar;c:\10.3_Testing\jars\tools\junit.jar;c:\10.3_Testing\jars\tools\jakarta-oro-2.0.8.jar
          OS name: Windows Server 2003
          OS architecture: amd64
          OS version: 5.2 build 3790 Service Pack 1
          Java user name: cloudtest
          Java user home: C:\Documents and Settings\cloudtest
          Java user dir: C:\10.3_Testing\platformtesting\ibm142_derbyall
          java.specification.name: Java Platform API Specification
          java.specification.version: 1.4
          --------- Derby Information --------
          JRE - JDBC: J2SE 1.4.2 - JDBC 3.0
          [C:\10.3_Testing\jars\lib\derby.jar] 10.3.1.0 beta - (548006)
          [C:\10.3_Testing\jars\lib\derbytools.jar] 10.3.1.0 beta - (548006)
          [C:\10.3_Testing\jars\lib\derbynet.jar] 10.3.1.0 beta - (548006)
          [C:\10.3_Testing\jars\lib\derbyclient.jar] 10.3.1.0 beta - (548006)
          ------------------------------------------------------
          Derby Info [Patch Available]
          Myrna van Lunteren made changes -
          Derby Info [Patch Available]
          Issue Type Bug [ 1 ] Test [ 6 ]
          Myrna van Lunteren made changes -
          Attachment DERBY-2903_modapi.diff [ 12367985 ]
          Attachment DERBY-2903_noapimod.diff [ 12367986 ]
          Myrna van Lunteren made changes -
          Field Original Value New Value
          Assignee Myrna van Lunteren [ myrna ]
          Mike Matrigali created issue -

            People

            • Assignee:
              Myrna van Lunteren
              Reporter:
              Mike Matrigali
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development