[ 
http://issues.apache.org/jira/browse/DERBY-1567?page=comments#action_12422800 ] 
            
Dag H. Wanvik commented on DERBY-1567:
--------------------------------------

I manually corrected the test and found a problem with the following error
message used in am/PreparedStatement.java

String CLIENT_LENGTH_OUTSIDE_RANGE_FOR_DATATYPE                    = 
"22003.S.4";

In the messages_en.properties file it is listed as:

22004.S.4=The length ({0}) exceeds the maximum length for the data type ({1}).
____^ should be 3, not 4, presumably.


> generateClientMessageTest.sh is broken
> --------------------------------------
>
>                 Key: DERBY-1567
>                 URL: http://issues.apache.org/jira/browse/DERBY-1567
>             Project: Derby
>          Issue Type: Bug
>          Components: Test
>    Affects Versions: 10.2.0.0
>         Environment: Solaris 10 x86, Sun JDK 1.4.2
>            Reporter: Dag H. Wanvik
>         Assigned To: David Van Couvering
>            Priority: Minor
>             Fix For: 10.2.0.0
>
>         Attachments: TestClientMessages.java
>
>
> The script used to generate tests/i18n/TestClientMessages.java seems broken.
> The bash script is located at 
> ../tools/testing/i18nTestGenerator/generateClientMessageTest.sh
> * It first failed without explaining why because my enviroment did not have 
> GNU sed available.
> * Compiling it, I got syntax errors, see also uploaded file:
> compile:
>      [javac] Compiling 1 source file to /home/dw136774/derby/trunk/classes
>      [javac] 
> /home/dw136774/derby/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/i18n/TestClientMessages.java:2741:
>  ')' expected
>      [javac]                                 
> SQLState.USE_EXECUTE_UPDATE_WITH_NO_RESULTS);
>      [javac]                                                                  
>            ^
>      [javac] 
> /home/dw136774/derby/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/i18n/TestClientMessages.java:2753:
>  ')' expected
>      [javac]                         
> SQLState.LANG_INVALID_CALL_TO_EXECUTE_UPDATE);
>      [javac]                                                                  
>     ^
>      [javac] 
> /home/dw136774/derby/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/i18n/TestClientMessages.java:2809:
>  ')' expected
>      [javac]                  "cursorName"_);
>      [javac]                              ^
>      [javac] 3 errors

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

        

Reply via email to