Derby
  1. Derby
  2. DERBY-3866

access denied (java.lang.RuntimePermission charsetProvider) in LocalizedDisplay(...i18n.LocalizedDisplayScriptTest) with JRE - JDBC: J2SE 1.4.2 - JDBC 3.0 on Microsoft Windows XP Professional - 5.1.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 10.5.1.1
    • Fix Version/s: None
    • Component/s: Test
    • Labels:
      None
    • Environment:
    • Bug behavior facts:
      Regression Test Failure

      Description

      ------------------ Java Information ------------------
      Java Version: 1.4.2_10
      Java Vendor: Sun Microsystems Inc.
      Java home: c:\j2sdk1.4.2_10\jre

      --------- Derby Information --------
      JRE - JDBC: J2SE 1.4.2 - JDBC 3.0

      Microsoft Windows XP Professional - 5.1.2600 Service Pack 3 Build 2600
      CYGWIN_NT-5.1 1.5.24(0.156/4/2) 2007-01-31 10:57 Cygwin

      See http://dbtg.thresher.com/derby/test/trunk15/jvm1.4/testing/testlog/CYGWIN_NT-5.1_i686-unknown/691695-org.apache.derbyTesting.functionTests.suites.All_diff.txt

      1) LocalizedDisplay(org.apache.derbyTesting.functionTests.tests.i18n.LocalizedDisplayScriptTest)java.security.AccessControlException: access denied (java.lang.RuntimePermission charsetProvider)
      at java.security.AccessControlContext.checkPermission(AccessControlContext.java:269)
      at java.security.AccessController.checkPermission(AccessController.java:401)
      at java.lang.SecurityManager.checkPermission(SecurityManager.java:524)
      at java.nio.charset.spi.CharsetProvider.<init>(CharsetProvider.java:67)
      at sun.nio.cs.AbstractCharsetProvider.<init>(AbstractCharsetProvider.java:58)
      at sun.nio.cs.ext.ExtendedCharsets.<init>(ExtendedCharsets.java:33)
      at sun.nio.cs.ext.ExtendedCharsets.aliasesFor(ExtendedCharsets.java:383)
      at sun.nio.cs.ext.EUC_JP.<init>(EUC_JP.java:26)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
      at java.lang.Class.newInstance0(Class.java:308)
      at java.lang.Class.newInstance(Class.java:261)
      at sun.nio.cs.AbstractCharsetProvider.lookup(AbstractCharsetProvider.java:130)
      at sun.nio.cs.AbstractCharsetProvider.charsetForName(AbstractCharsetProvider.java:145)
      at java.nio.charset.Charset.lookupExtendedCharset(Charset.java:412)
      at java.nio.charset.Charset.lookup2(Charset.java:437)
      at java.nio.charset.Charset.lookup(Charset.java:425)
      at java.nio.charset.Charset.isSupported(Charset.java:463)
      at sun.nio.cs.StreamEncoder.forOutputStreamWriter(StreamEncoder.java:68)
      at java.io.OutputStreamWriter.<init>(OutputStreamWriter.java:82)
      at org.apache.derby.iapi.tools.i18n.LocalizedOutput.<init>(Unknown Source)
      at org.apache.derby.iapi.tools.i18n.LocalizedResource.getNewOutput(Unknown Source)
      at org.apache.derby.iapi.tools.i18n.LocalizedResource.init(Unknown Source)
      at org.apache.derby.iapi.tools.i18n.LocalizedResource.init(Unknown Source)
      at org.apache.derby.iapi.tools.i18n.LocalizedResource.<init>(Unknown Source)
      at org.apache.derby.iapi.tools.i18n.LocalizedResource.getInstance(Unknown Source)
      at org.apache.derby.tools.ij.runScript(Unknown Source)
      at org.apache.derbyTesting.functionTests.util.ScriptTestCase.runTest(ScriptTestCase.java:125)
      at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:104)
      at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
      at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
      at junit.extensions.TestSetup.run(TestSetup.java:23)
      at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
      at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
      at junit.extensions.TestSetup.run(TestSetup.java:23)
      at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
      at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
      at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
      at junit.extensions.TestSetup.run(TestSetup.java:23)

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Ole Solberg
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development