David Schlosnagle schrieb:
> Jochen,
> 
> Since it works with -Xint, it sounds like it could be a problem with the 
> generated compiled code. You may want to try reproduce with 
> -XX:+PrintCompilation and some other flags [1] to gather additional 
> information. I don't have access to a Windows 64-bit box right now, but 
> I wasn't able to recreate with 1.6.u13 64-bit on Mac OS X/Intel.
> 
>     set JAVA_OPTS="-Xcomp -Xbatch -XX:+PrintCompilation 
> -XX:+ShowMessageBoxOnError"
>     groovy test.groovy
> 
> [1]: http://blogs.sun.com/watt/resource/jvm-options-list.html

System.arraycopy will of course not show up, the area around the calling 
method (org.codehaus.groovy.reflection.ParameterTypes::fitToVargs) looks 
like this:

> 3148   b   org.codehaus.groovy.classgen.BytecodeHelper::box (69 bytes)
> 3149   b   org.codehaus.groovy.reflection.ParameterTypes::fitToVargs (202 
> bytes)
> 3149   made not entrant  
> org.codehaus.groovy.reflection.ParameterTypes::fitToVargs (202 bytes)
> 3150   b   java.lang.reflect.Array::newInstance (6 bytes)
> 2309   made not entrant  
> org.codehaus.groovy.runtime.callsite.StaticMetaMethodSite::createStaticMetaMethodSite
>  (84 bytes)
> 3151  !b   org.codehaus.groovy.runtime.callsite.StaticMetaMethodSite::invoke 
> (20 bytes)
> 3152   b   org.codehaus.groovy.reflection.ParameterTypes::fitToVargs (202 
> bytes)
> 3153   b   java.lang.ArrayIndexOutOfBoundsException::<init> (5 bytes)

can you make something out of this? I can send you the full list too...

bye Jochen

-- 
Jochen "blackdrag" Theodorou
The Groovy Project Tech Lead (http://groovy.codehaus.org)
http://blackdragsview.blogspot.com/


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "JVM 
Languages" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/jvm-languages?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to