Java debugging

Andrew Haley aph at redhat.com
Thu May 1 15:21:49 UTC 2008


Jerry James wrote:
> On Wed, Apr 30, 2008 at 3:07 AM, Andrew Haley <aph at redhat.com> wrote:
>>  I take your point.  Does simply rebuilding that RPM fix this problem?
> 
> Rebuilding that RPM fails:
> 
>     [javac] /home/jamesjer/rpmbuild/BUILD/axis-1_2_1/src/org/apache/axis/i18n/ProjectResourceBundle.java:363:
> clearCache() in org.apache.axis.i18n.ProjectResourceBundle cannot
> override clearCache() in java.util.ResourceBundle; overridden method
> is static final
>     [javac]     public static void clearCache()
>     [javac]                        ^

I've looked, and I don't think it's possible to fix this for Java 1.6.

In
http://ws.apache.org/axis/java/apiDocs/org/apache/axis/i18n/ProjectResourceBundle.html,
clearCache() is part of the public API.  However,
org.apache.axis.i18n.ProjectResourceBundle inherits from
java.util.ResourceBundle, and that class marks clearCache() as final.
We could delete clearCache() and just use the inherited method as
a workaround, but it doesn't do the same thing.

The only way to recompile this, or indeed to use it, is with 
Java < 1.6. 

Andrew.




More information about the fedora-devel-list mailing list