We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e3c6c02 commit 60c4c98Copy full SHA for 60c4c98
hibernate-core/src/main/java/org/hibernate/bytecode/enhance/spi/Enhancer.java
@@ -81,7 +81,7 @@ public Enhancer(EnhancementContext enhancementContext) {
81
*
82
* @throws EnhancementException Indicates a problem performing the enhancement
83
*/
84
- public byte[] enhance(String className, byte[] originalBytes) throws EnhancementException {
+ public synchronized byte[] enhance(String className, byte[] originalBytes) throws EnhancementException {
85
try {
86
final CtClass managedCtClass = classPool.makeClassIfNew( new ByteArrayInputStream( originalBytes ) );
87
enhance( managedCtClass );
0 commit comments