You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Knut Anders Hatlen (JIRA)" <de...@db.apache.org> on 2006/09/23 12:39:22 UTC
[jira] Updated: (DERBY-1883) I18N tests fail on Linux/JVM 1.4.2
when derbyclient.jar is the first element of the classpath
[ http://issues.apache.org/jira/browse/DERBY-1883?page=all ]
Knut Anders Hatlen updated DERBY-1883:
--------------------------------------
Attachment: 1883.diff
Seems like a security manager issue. At least, the attached patch (1883.diff), which grants derbyclient.jar permission to read derby.* properties, makes the tests run cleanly. I believe the problems are caused by the LocalizedResource class which is part of both derby.jar and derbyclient.jar. LocalizedResource needs permission to read derby.ui.codeset and derby.ui.locale.
> I18N tests fail on Linux/JVM 1.4.2 when derbyclient.jar is the first element of the classpath
> ---------------------------------------------------------------------------------------------
>
> Key: DERBY-1883
> URL: http://issues.apache.org/jira/browse/DERBY-1883
> Project: Derby
> Issue Type: Bug
> Components: Regression Test Failure
> Affects Versions: 10.2.1.4, 10.3.0.0
> Environment: Linux, Sun J2SE 1.4.2, CLASSPATH=derbyclient.jar:....
> Reporter: Knut Anders Hatlen
> Priority: Minor
> Attachments: 1883.diff
>
>
> i18n/urlLocale.sql, i18n/messageLocale.sql and i18n/iepnegativetests_ES.sql fail on Linux when running Sun J2SE 1.4.2 and derbyclient.jar is the first element of the classpath. See http://www.multinet.no/~solberg/public/Apache/10.2.1.3_RC/jvm1.4/testlog/linN-1/441574-derbyall_diff.txt. The problem is not seen on Solaris or FreeBSD, or when running with 1.5/1.6 JVM.
> When derbyclient.jar is moved to a position after derby.jar in the classpath, the tests run successfully.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira