db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Myrna van Lunteren (JIRA)" <j...@apache.org>
Subject [jira] Commented: (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.
Date Thu, 24 Feb 2011 08:50:38 GMT

    [ https://issues.apache.org/jira/browse/DERBY-3866?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12998758#comment-12998758
] 

Myrna van Lunteren commented on DERBY-3866:
-------------------------------------------

I noticed in the statistics (http://dbtg.foundry.sun.com/derby/test/stats_newest.html) that
it *has* been seen but not since june 2010. But it was seen only with 1.4 jvm on win 2003;
usually (but not always) in combination with many other failures. It looks like the 10.7 branch
is not getting tested with the 1.4 jvm on win 2003 which may be why this is no longer occurring...
I still don't understand how the test or code could get an intermittent access denied on java.lang.RuntimePermission
charsetProvider...And only on this (1.4 jvm/win 2003) platform combination. Perhaps if this
becomes relevant again we need to look into that combination.

> 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.
> ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-3866
>                 URL: https://issues.apache.org/jira/browse/DERBY-3866
>             Project: Derby
>          Issue Type: Bug
>          Components: Test
>    Affects Versions: 10.5.1.1
>         Environment: OS:
> 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
> JVM:
> Sun Microsystems Inc.
> java version "1.4.2_10"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_10-b03)
> Java HotSpot(TM) Client VM (build 1.4.2_10-b03, mixed mode)
> ------------------ 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
>            Reporter: Ole Solberg
>
> ------------------ 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)

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message