| |
|
|
| Change By: |
Tigran Babloyan |
| Summary: |
Incorrect bytecode resulting in java.lang.ClassFormatError: instrumentation |
| Environment: |
Java version: 1.8.0_71, vendor: Oracle Corporation OS name: "mac os x", version: "10.11.3", arch: "x86_64", family: "mac" Hibernate 5.1.0.Final |
| Attachment: |
bug.zip |
| Affects Version/s: |
5.1.0 |
|
We have more or less big project with something like 150+ entities, after enabling the_ hibernate-enhance-maven-plugin some of the compiled/enhanced classes It seems to be broken as that there is a problem with bytecode manipulation when more then one @Embedded objects implements same interface which result we getting. to : _java.lang.ClassFormatError: Duplicate interface name in class file com/example/Test_ file_
{code:xml} <configuration> <failOnError>true</failOnError> <enableLazyInitialization>false</enableLazyInitialization> <enableDirtyTracking>true</enableDirtyTracking> <enableAssociationManagement>false</enableAssociationManagement> <enableExtendedEnhancement>false</enableExtendedEnhancement> </configuration> {code}
To be honest I'm unable to create attaching a smaller version of the simple Maven project so I which can share it with you. It would be great if you can give me direction where the problem may be, or where run to debug :) reproduce the issue. Just unarchive and run {{mvn clean package}} |
|
|
|
| |
|