openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rick Curtis <curti...@gmail.com>
Subject Re: Dynamic class enhancer and Java 5
Date Fri, 05 Jun 2009 16:20:59 GMT

Milosz -

The docs are correct that the enhancer is loaded when running only on Sun
JDK 6. The message is logged incorrectly, but it shouldn't affect your code.
I'll open a JIRA for the issue.

-Rick

MiƂosz Tylenda wrote:
> 
> Hi All!
> 
> I have noticed that when I run a test against Sun JRE 5 or 6 with a
> -javaagent option, OpenJPA issues the following:
> 
> INFO   [main] openjpa.Runtime - OpenJPA dynamically loaded the class
> enhancer. Any classes that were not enhanced at build time will be
> enhanced when the are loaded by the JVM.
> 
> On the other hand, our manual suggests me this message should be output
> only with Sun JDK 6 and without -javaagent [1]. Is this behavior correct?
> 
> Cheers,
> Milosz
> 
> [1]
> http://openjpa.apache.org/builds/latest/docs/manual/manual.html#ref_guide_pc_enhance_dynamic
> 
> 
> 

-- 
View this message in context: http://n2.nabble.com/Dynamic-class-enhancer-and-Java-5-tp3031106p3031389.html
Sent from the OpenJPA Developers mailing list archive at Nabble.com.


Mime
View raw message