[
https://issues.apache.org/jira/browse/OPENJPA-2085?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Albert Lee resolved OPENJPA-2085.
---------------------------------
Resolution: Fixed
Use of ASM is one solution to implement the support. When Serp is enhanced to
support the same function, it can be be switched back to use Serp exclusively
for the enhancement process.
> Improve enhancement process to support JAVA 7 compliant class file generation
> -----------------------------------------------------------------------------
>
> Key: OPENJPA-2085
> URL: https://issues.apache.org/jira/browse/OPENJPA-2085
> Project: OpenJPA
> Issue Type: Improvement
> Components: Enhance, kernel
> Affects Versions: 2.2.0
> Reporter: Albert Lee
> Assignee: Albert Lee
> Fix For: 2.2.0
>
> Attachments: OPENJPA-2085.patch
>
>
> Java 7 requires StackMapTable attribute to be set in class file for
> verification.
> Serp does not support StackMapTable generation, hence the currently enhanced
> PersistenceCapable class will NOT be able to load by a Java 7 JVM if the
> entity is compiled with a Java 7 compiler (i.e. class file major version >=
> 51)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira