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 <fo...@univ-mlv.fr
<mailto:fo...@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 <fo...@univ-mlv.fr
<mailto:fo...@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-langua...@googlegroups.com
<mailto:jvm-langua...@googlegroups.com>.
To unsubscribe from this group, send email to
jvm-languages+unsubscr...@googlegroups.com
<mailto:jvm-languages%2bunsubscr...@googlegroups.com>.
For more options, visit this group at
http://groups.google.com/group/jvm-languages?hl=en.
_______________________________________________
mlvm-dev mailing list
mlvm-dev@openjdk.java.net <mailto:mlvm-dev@openjdk.java.net>
http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev
_______________________________________________
mlvm-dev mailing list
mlvm-dev@openjdk.java.net <mailto:mlvm-dev@openjdk.java.net>
http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev
_______________________________________________
mlvm-dev mailing list
mlvm-dev@openjdk.java.net
http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev
_______________________________________________
mlvm-dev mailing list
mlvm-dev@openjdk.java.net
http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev