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-1027) encodingTests suite cannot be run on JDK 1.4.2
Date Thu, 15 Mar 2007 17:57:09 GMT

    [ https://issues.apache.org/jira/browse/DERBY-1027?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12481260

Myrna van Lunteren commented on DERBY-1027:

I think the comments in DERBY-2446 and the reply in sun's bug report 4163515 explain this

" The "file.encoding" property is not required by the J2SE platform specification; it's an
internal detail of Sun's implementations and should not be examined or modified by user code.
 It's also intended to be
read-only; it's technically impossible to support the setting of this property to arbitrary
values on the command line or at any other time during program execution.

The preferred way to change the default encoding used by the VM and the runtime system is
to change the locale of the underlying platform before starting your Java program."

So, I'd like to close this bug. As invalid...?

> encodingTests suite cannot be run on JDK 1.4.2
> ----------------------------------------------
>                 Key: DERBY-1027
>                 URL: https://issues.apache.org/jira/browse/DERBY-1027
>             Project: Derby
>          Issue Type: Test
>          Components: Test
>    Affects Versions:
>         Environment: As tested, occurs with any JDK except Sun JDK 1.5
>            Reporter: Andrew McIntyre
>         Assigned To: Myrna van Lunteren
>            Priority: Minor
> On any JDK except Sun JDK 1.5, the encodingTests suite fails with errors simliar to the
> *** Start: CompatibilityTest jdk1.4.2_03 DerbyNetClient derbynetclientmats:derbynetclientmats
2006-02-07 11:48:42 *** 
> 0 add 
> > þÿ j a v a . l a n g . N o C l a s s D e f F o u n d E r r o r : org.apache.derbyTesting.functionTests.tests.junitTests.derbyNet.CompatibilityTesÿý

> > Exception in thread "main" 
> Test Failed. 
> *** 
> The cause of these failures in the encoding tests, which set -Dfile.encoding={encoding},
needs to be investigated to ensure the proper behavior of Derby and the Derby tests on platforms
with non-ASCII native encodings.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message