db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Myrna van Lunteren (JIRA)" <derby-...@db.apache.org>
Subject [jira] Created: (DERBY-1247) test DerbyNetAutoStart uses non-portable mechanism to check on derby.log
Date Sun, 23 Apr 2006 06:27:06 GMT
test DerbyNetAutoStart uses non-portable mechanism to check on derby.log
------------------------------------------------------------------------

         Key: DERBY-1247
         URL: http://issues.apache.org/jira/browse/DERBY-1247
     Project: Derby
        Type: Bug

  Components: Test  
    Versions: 10.1.2.3    
 Environment: zOS
    Reporter: Myrna van Lunteren
 Assigned to: Myrna van Lunteren 
    Priority: Minor
     Fix For: 10.1.3.0


The test DerbyNetAutoStart uses RandomAccessFile.readLine() on derby.log to find an occurrence
of a String[] to decide whether the tests passes or not.

This mechanism assumes that derby.log is in Unicode-compatible encoding, which may not be
true.
Also, readLine() documentation indicates that it does not support the 'full Unicode range',
so may not be the best choice.

And indeed, the test fails on zOS, even though the string looked for is present in derby.log.





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


Mime
View raw message