ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 10682] - AntClassLoader error on "sun/reflect/MethodAccessorImpl"
Date Fri, 12 Jul 2002 17:28:18 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10682>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10682

AntClassLoader error on  "sun/reflect/MethodAccessorImpl"

stevel@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE



------- Additional Comments From stevel@apache.org  2002-07-12 17:28 -------
This is a duplicate of the long standing 3158 bug; you have just noticed that we
have a potential fix for that bug that is not yet enabled in ant1.5, because we
were scared about side effects. 

1. I agree with the addition on the sun.reflect package. See below.

2. The reason the addJavaLibraries();  call was turned off was that we havent
done enough regression testing to see what breaks, or written the tests to
verify it all works. So although I was tempted to turn the switch on in 1.5
release, it was too late in the beta program to change fundamental behavior.

the workaround for now is set fork=true. When you are doing castor stuff, btw,
you also need to set whatever option it is to turn off interactive
input/overwrite existing files, otherwise it hands waiting for input.

nb, not applying your patch as the latest version of the code (on CS head) has
            default:
                //things like sun.reflection, sun.misc, sun.net
                jrePackages.addElement("sun.");

because I have been running the modified build and noticed the same problem with
some Axis code. 
-steve



*** This bug has been marked as a duplicate of 3158 ***

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message