river-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Brouwer (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (RIVER-82) ClassDep generates duplicate output lines
Date Sat, 05 Apr 2008 08:59:24 GMT

     [ https://issues.apache.org/jira/browse/RIVER-82?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Mark Brouwer resolved RIVER-82.
-------------------------------

    Resolution: Fixed

> ClassDep generates duplicate output lines
> -----------------------------------------
>
>                 Key: RIVER-82
>                 URL: https://issues.apache.org/jira/browse/RIVER-82
>             Project: River
>          Issue Type: Bug
>          Components: com_sun_jini_tool
>    Affects Versions: jtsk_2.1
>            Reporter: Fred Oliver
>            Assignee: Mark Brouwer
>            Priority: Minor
>             Fix For: AR2
>
>
> Bugtraq ID [6392596|http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6392596]
> The classdep utility generates duplicate output lines when
> run under Java5.  In particular, this is seen for enum classes
> and for inner classes named on the command line.
> Consider a java source file (in src/foo/Bar.java):
> package foo;
> public class Bar {
>     private static enum Contents { RECORDS, TASKS }
>     public class Inner { }
> }
> Run:
> rm -rf classes
> mkdir classes
> javac -d classes src/foo/Bar.java
> java -cp /vob/jive/lib/tools.jar:$JAVA_HOME/lib/tools.jar \
>     com.sun.jini.tool.ClassDep \
>     -cp classes -files -in foo foo.Bar foo.Bar\$Inner
> Result:
> foo/Bar.class
> foo/Bar$Contents.class
> foo/Bar$Contents.class
> foo/Bar$Inner.class
> foo/Bar$Inner.class
> Note the two duplicate lines.
> Using jdk1.5.0_06.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message