[jvm-l] JSR292 CookBook

Rémi Forax forax at univ-mlv.fr
Sat Jun 11 03:08:57 PDT 2011


On 06/10/2011 10:56 PM, Szymon Jachim wrote:
> I had a good version of JDK and ASM, but only the to-be-rewritten 
> class was compiled under Eclipse using it's compiler.
>
> Is't it a bug that ASM allowed it's output class to have tag 15 
> constant in it while the version of class file like it was before 
> class maipulation. I thought that if ASM takes care of measuring stack 
> needs it would take careofversio number too.
>
> Thanks,
> Szymon

The version is checked only if you use the CheckClassAdapter in your 
adapter chain.

Rémi

>
> On Fri, Jun 10, 2011 at 12:21 AM, Rémi Forax <forax at univ-mlv.fr 
> <mailto:forax at univ-mlv.fr>> wrote:
>
>     On 06/10/2011 12:15 AM, Szymon Jachim wrote:
>>     Hello,
>>       I'm trying to run one of the examples using JDK 1.7 preview
>>     (build 145) and I'm getting:
>>     "Exception in thread "main" java.lang.ClassFormatError: Class
>>     file version does not support constant tag 15 in class file[...]"
>>
>>     Which build of JDK7 and ASM framework should I use to experiment
>>     with the cookbook and the JSR in general?
>
>     It should be ok with build 145.
>     try: java -version
>
>>
>>     TIA
>>     -- Sz.
>
>     Rémi
>
>>
>>     On Sun, Jun 5, 2011 at 6:43 PM, Rémi Forax <forax at univ-mlv.fr
>>     <mailto:forax at univ-mlv.fr>> wrote:
>>
>>         I've started to write some small (a some not so small) examples
>>         showing how to implement common dynamic runtime patterns.
>>
>>         http://code.google.com/p/jsr292-cookbook/
>>
>>         Currently, only the source codes are available,
>>         the doc will follow.
>>         Also the dynamic dispatch pattern is not fully implemented
>>         and the memoize one is too complex for my taste.
>>
>>         Rémi
>>
>>         -- 
>>         You received this message because you are subscribed to the
>>         Google Groups "JVM Languages" group.
>>         To post to this group, send email to
>>         jvm-languages at googlegroups.com
>>         <mailto:jvm-languages at googlegroups.com>.
>>         To unsubscribe from this group, send email to
>>         jvm-languages+unsubscribe at googlegroups.com
>>         <mailto:jvm-languages%2Bunsubscribe at googlegroups.com>.
>>         For more options, visit this group at
>>         http://groups.google.com/group/jvm-languages?hl=en.
>>
>>
>>
>>     _______________________________________________
>>     mlvm-dev mailing list
>>     mlvm-dev at openjdk.java.net <mailto:mlvm-dev at openjdk.java.net>
>>     http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev
>
>
>     _______________________________________________
>     mlvm-dev mailing list
>     mlvm-dev at openjdk.java.net <mailto:mlvm-dev at openjdk.java.net>
>     http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev
>
>
>
> _______________________________________________
> mlvm-dev mailing list
> mlvm-dev at openjdk.java.net
> http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/mlvm-dev/attachments/20110611/29221985/attachment-0001.html 


More information about the mlvm-dev mailing list