db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lily Wei (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DERBY-5061) [patch] make descriptive messages better regarding arrays by showing array contents rather than reference info
Date Tue, 22 Feb 2011 19:22:38 GMT

    [ https://issues.apache.org/jira/browse/DERBY-5061?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12997983#comment-12997983
] 

Lily Wei commented on DERBY-5061:
---------------------------------

After apply the patch, I got the following compiling errors:

compile_types:
    [javac] Compiling 1 source file to c:\derby2\trunk\classes
    [javac] c:\derby2\trunk\java\engine\org\apache\derby\catalog\types\RowMultiS
etImpl.java:99: toString() in java.lang.Object cannot be applied to (java.lang.S
tring[])
    [javac]             throw new IllegalArgumentException( "Bad args: columnNam
es = " + Arrays.toString(columnNames) + ". types = " + Arrays.toString(types) );

    [javac]
               ^
    [javac] c:\derby2\trunk\java\engine\org\apache\derby\catalog\types\RowMultiS
etImpl.java:99: toString() in java.lang.Object cannot be applied to (org.apache.
derby.catalog.TypeDescriptor[])
    [javac]             throw new IllegalArgumentException( "Bad args: columnNam
es = " + Arrays.toString(columnNames) + ". types = " + Arrays.toString(types) );

Could this be requiring changing the build script? i.e. build.xml?  Please feel free to add
any suggestion.

> [patch] make descriptive messages better regarding arrays by showing array contents rather
than reference info
> --------------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-5061
>                 URL: https://issues.apache.org/jira/browse/DERBY-5061
>             Project: Derby
>          Issue Type: Improvement
>          Components: Network Server
>    Affects Versions: 10.7.1.1
>            Reporter: Dave Brosius
>            Priority: Trivial
>             Fix For: 10.8.0.0
>
>         Attachments: better_messages_w_arrays.diff
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> various spots in the code strings are generated for debug - level info with the value
of arrays.
> However, the information generated is just the array's reference not the array content.
> patch changes this to the array contents.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message