[jira] Commented: (DERBY-5061) [patch] make descriptive messages better regarding arrays by showing array contents rather than reference info
[ https://issues.apache.org/jira/browse/DERBY-5061?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12998073#comment-12998073 ] Dave Brosius commented on DERBY-5061: - yes sorry, this is 1.5 only... my mistake. > [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
[jira] Commented: (DERBY-5061) [patch] make descriptive messages better regarding arrays by showing array contents rather than reference info
[ https://issues.apache.org/jira/browse/DERBY-5061?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12998010#comment-12998010 ] Knut Anders Hatlen commented on DERBY-5061: --- I think the idiom Arrays.asList(array).toString() would work on 1.4 and do more or less the same thing as Arrays.toString(array). > [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
[jira] Commented: (DERBY-5061) [patch] make descriptive messages better regarding arrays by showing array contents rather than reference info
[ 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
[jira] Commented: (DERBY-5061) [patch] make descriptive messages better regarding arrays by showing array contents rather than reference info
[ https://issues.apache.org/jira/browse/DERBY-5061?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12996702#comment-12996702 ] Dave Brosius commented on DERBY-5061: - dang it -- this relies on 1.5 methods -- (Arrays.toString) closing. > [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
