I’m using jdk 6 u2 on windows, and I still get errors using javassist 3.4. Although I don’t know why or how, I learned how to rewrite the code to bypass them. When I switch to 3.6.0 CR1, those errors were solved, but worse ones appeared, so I decided to stay with the devil I know, and switch back to 3.4.
The problem must be with javassist on jdk 6.

Stephan Schwab wrote:
Howard Lewis Ship wrote:
I haven't tested myself under JDK 1.6.  I suspect its Javassist that's
having the problem.  Not much we can do about that, except see if there's
a
newer version of it that can handle JDK 1.6 better.


That seems to be a problem with a certain combination of Javassit and the
JRE/JDK used. I got this error message as well when executing a Tapestry app
on Mac OS X with the developers preview of Java 1.6. Unfortunately there is
still no production release available. But on our Linux boxes with Sun's
Java 1.6 we don't see that problem.

The newer version of Javassist (3.6.0.CR1) seems to have problems with the
DP Java 1.6 on the Mac as well. At first it seems to solve the issue, but I
got class rewriting trouble later on. So I suspect there is nothing wrong
with javassist, but instead the preview release of the JVM is causing the
problem.

Another inconvenience is that javassist 3.6.0.CR1 in itself seems to be
preview as well and is not available via Maven's central repository.

Stephan


--
Siddhartha Argollo
Técnico Judiciário
TRE-BA
[EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to