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 15421] New: - Checking versions in JavaEnvUtils fails under JDK 1.3
Date Mon, 16 Dec 2002 23:53:50 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=15421>.
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=15421

Checking versions in JavaEnvUtils fails under JDK 1.3

           Summary: Checking versions in JavaEnvUtils fails under JDK 1.3
           Product: Ant
           Version: 1.5.1
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Blocker
          Priority: Other
         Component: Core
        AssignedTo: ant-dev@jakarta.apache.org
        ReportedBy: zack@grossbart.com


If I run Ant 1.5.1 against JDK 1.3 I sometimes get the following stack trace.  I'm not sure
exactly 
how to reproduce, but since this is very easy to fix (probably just catch throwable instead
of 
ClassNotFoundException) it seems worth 
doing.

java.lang.ExceptionInInitializerError: java.lang.SecurityException: 
Prohibited package name: java.lang
	at 
java.lang.ClassLoader.defineClass(ClassLoader.java:474)
	at 
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:106)
	at 
java.net.URLClassLoader.defineClass(URLClassLoader.java:243)
	at 
java.net.URLClassLoader.access$100(URLClassLoader.java:51)
	at 
java.net.URLClassLoader$1.run(URLClassLoader.java:190)
	at 
java.security.AccessController.doPrivileged(Native Method)
	at 
java.net.URLClassLoader.findClass(URLClassLoader.java:183)
	at 
java.lang.ClassLoader.loadClass(ClassLoader.java:294)
	at 
sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:281)
	at 
java.lang.ClassLoader.loadClass(ClassLoader.java:250)
	at 
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:310)
	at 
java.lang.Class.forName0(Native Method)
	at 
java.lang.Class.forName(Class.java:115)
	at 
org.apache.tools.ant.util.JavaEnvUtils.<clinit>(JavaEnvUtils.java:125)
	at 
org.apache.tools.ant.Main.runBuild(Main.java:567)
	at 
org.apache.tools.ant.Main.start(Main.java:196)
	at 
org.apache.tools.ant.Main.main(Main.java:235)

--
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