0 Replies Latest reply on Mar 10, 2008 7:07 PM by yanic

    Support for Java 6 class file format

      Hi Chiba,

      What's the 'official' stand on support for the Java 6 class file format?

      I'm running into issues when instrumenting Java 6 class files (format 50), even though my code works fine when the code-to-be-instrumented is recompiled for Java 5 (format=49).

      Since I'm using javassist in a development tool, recompiling is generally not an option for me or my users.

      If the Java 6 format is not supported
      - are there any plans to support it in the near future?
      - is there anything I can do to convert it at load-time before the instrumentation starts (I noticed ClassFile#setVersionToJava5)?

      Best regards,
      Yanic