Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.6.3, 1.7-beta-1
-
Fix Version/s: 1.6.4, 1.7-beta-1
-
Component/s: None
-
Labels:None
-
Environment:Mac OS X 10.5.7, with the latest JDK update from a few days ago (today = 24th of June 2009)
-
Number of attachments :
Description
The test GroovyClassLoaderTest.groovy fails in testClassNotFoundIsNotHidden() on Java 6.
Oddly, if I specify a custom temporary folder for the generation of the Foo.groovy source file, the test passes! (although it shouldn't have an influence).
The temp folder looks like this on my setup: /var/folders/8M/8M-8rNARHJ4yfajR8c64nk+++TI/Tmp/
[junit] Testcase: testClassNotFoundIsNotHidden(groovy.lang.GroovyClassLoaderTest): Caused an ERROR
[junit] Foo4838700269643255605
[junit] java.lang.ClassNotFoundException: Foo4838700269643255605
[junit] at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
[junit] at java.security.AccessController.doPrivileged(Native Method)
[junit] at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
[junit] at java.lang.ClassLoader.loadClass(ClassLoader.java:319)
[junit] at groovy.lang.GroovyClassLoader.loadClass(GroovyClassLoader.java:660)
[junit] at groovy.lang.GroovyClassLoader.loadClass(GroovyClassLoader.java:756)
[junit] at java.lang.ClassLoader.loadClass(ClassLoader.java:254)
[junit] at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoCachedMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:229)
[junit] at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:52)
[junit] at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:40)
[junit] at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:117)
[junit] at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125)
[junit] at groovy.lang.GroovyClassLoaderTest.testClassNotFoundIsNotHidden(GroovyClassLoaderTest.groovy:102)
[junit]
[junit]
[junit] Test groovy.lang.GroovyClassLoaderTest FAILED
Activity
Guillaume Laforge
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Fix Version/s | 1.7-beta-1 [ 14014 ] | |
| Affects Version/s | 1.7-beta-1 [ 14014 ] |
Guillaume Laforge
made changes -
| Summary | Test faiing on Mac OS X / JDK 6 with the latest JDK update | Test faiing on Mac OS X with the latest JDK update |
| Fix Version/s | 1.6.4 [ 15291 ] | |
| Affects Version/s | 1.6.3 [ 15251 ] |
Guillaume Laforge
made changes -
| Resolution | Fixed [ 1 ] | |
| Status | Open [ 1 ] | Resolved [ 5 ] |
Paul King
made changes -
| Status | Resolved [ 5 ] | Closed [ 6 ] |