db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Knut Anders Hatlen (JIRA)" <derby-...@db.apache.org>
Subject [jira] Updated: (DERBY-1883) I18N tests fail on Linux/JVM 1.4.2 when derbyclient.jar is the first element of the classpath
Date Sat, 23 Sep 2006 10:39:22 GMT
     [ 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:,
>         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
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


View raw message