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 "Andrew McIntyre (JIRA)" <de...@db.apache.org> on 2006/02/22 08:55:56 UTC

[jira] Created: (DERBY-1027) encodingTests suite cannot be run on JDK 1.4.2

encodingTests suite cannot be run on JDK 1.4.2
----------------------------------------------

         Key: DERBY-1027
         URL: http://issues.apache.org/jira/browse/DERBY-1027
     Project: Derby
        Type: Test
  Components: Test  
    Versions: 10.0.2.0    
 Environment: As tested, occurs with any JDK except Sun JDK 1.5
    Reporter: Andrew McIntyre
    Priority: Minor


On any JDK except Sun JDK 1.5, the encodingTests suite fails with errors simliar to the following:

*** 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.
-
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


[jira] Commented: (DERBY-1027) encodingTests suite cannot be run on JDK 1.4.2

Posted by "Myrna van Lunteren (JIRA)" <ji...@apache.org>.
    [ 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: 10.2.1.6
>         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 following:
> *** 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.


[jira] Updated: (DERBY-1027) encodingTests suite cannot be run on JDK 1.4.2

Posted by "Andrew McIntyre (JIRA)" <de...@db.apache.org>.
     [ http://issues.apache.org/jira/browse/DERBY-1027?page=all ]

Andrew McIntyre updated DERBY-1027:
-----------------------------------

    Version: 10.2.0.0
                 (was: 10.0.2.0)

> encodingTests suite cannot be run on JDK 1.4.2
> ----------------------------------------------
>
>          Key: DERBY-1027
>          URL: http://issues.apache.org/jira/browse/DERBY-1027
>      Project: Derby
>         Type: Test
>   Components: Test
>     Versions: 10.2.0.0
>  Environment: As tested, occurs with any JDK except Sun JDK 1.5
>     Reporter: Andrew McIntyre
>     Priority: Minor

>
> On any JDK except Sun JDK 1.5, the encodingTests suite fails with errors simliar to the following:
> *** 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.
-
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


[jira] Assigned: (DERBY-1027) encodingTests suite cannot be run on JDK 1.4.2

Posted by "Myrna van Lunteren (JIRA)" <de...@db.apache.org>.
     [ http://issues.apache.org/jira/browse/DERBY-1027?page=all ]

Myrna van Lunteren reassigned DERBY-1027:
-----------------------------------------

    Assignee: Myrna van Lunteren

> encodingTests suite cannot be run on JDK 1.4.2
> ----------------------------------------------
>
>                 Key: DERBY-1027
>                 URL: http://issues.apache.org/jira/browse/DERBY-1027
>             Project: Derby
>          Issue Type: Test
>          Components: Test
>    Affects Versions: 10.2.0.0
>         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 following:
> *** 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.
-
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

       

[jira] Closed: (DERBY-1027) encodingTests suite cannot be run on JDK 1.4.2

Posted by "Myrna van Lunteren (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-1027?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Myrna van Lunteren closed DERBY-1027.
-------------------------------------

    Resolution: Won't Fix

Closing as won't fix. We shouldn't be setting file.encoding in our tests...

> 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: 10.2.1.6
>         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 following:
> *** 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.