[hibernate-commits] [hibernate/hibernate-orm] 129530: HHH-12857 Avoid using a static ByteBuddy object
GitHub
noreply at github.com
Wed Aug 1 18:10:29 EDT 2018
Branch: refs/heads/5.3
Home: https://github.com/hibernate/hibernate-orm
Commit: 129530e464a406c97dcf3e0df31214f937449f53
https://github.com/hibernate/hibernate-orm/commit/129530e464a406c97dcf3e0df31214f937449f53
Author: Guillaume Smet <guillaume.smet at gmail.com>
Date: 2018-08-02 (Thu, 02 Aug 2018)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/bytecode/enhance/internal/bytebuddy/EnhancerImpl.java
M hibernate-core/src/main/java/org/hibernate/bytecode/internal/bytebuddy/BasicProxyFactoryImpl.java
M hibernate-core/src/main/java/org/hibernate/bytecode/internal/bytebuddy/ByteBuddyState.java
M hibernate-core/src/main/java/org/hibernate/bytecode/internal/bytebuddy/BytecodeProviderImpl.java
M hibernate-core/src/main/java/org/hibernate/bytecode/internal/bytebuddy/ProxyFactoryFactoryImpl.java
M hibernate-core/src/main/java/org/hibernate/proxy/pojo/bytebuddy/ByteBuddyProxyFactory.java
A hibernate-core/src/main/java/org/hibernate/proxy/pojo/bytebuddy/ByteBuddyProxyHelper.java
M hibernate-core/src/main/java/org/hibernate/proxy/pojo/bytebuddy/SerializableProxy.java
A hibernate-core/src/test/java/org/hibernate/bytecode/internal/bytebuddy/ByteBuddyBasicProxyFactoryTest.java
A hibernate-core/src/test/java/org/hibernate/bytecode/internal/bytebuddy/EnhancerWildFlyNamesTest.java
R hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/bytebuddy/EnhancerWildFlyNamesTest.java
R hibernate-core/src/test/java/org/hibernate/test/proxy/bytebuddy/ByteBuddyBasicProxyFactoryTest.java
Log Message:
-----------
HHH-12857 Avoid using a static ByteBuddy object
In the end, it does not change anything as the BytecodeProvider is still
static but it helps as a general cleanup for the following commits.
Commit: fdf19f17b40f10db085605f91baf7ddf75096285
https://github.com/hibernate/hibernate-orm/commit/fdf19f17b40f10db085605f91baf7ddf75096285
Author: Guillaume Smet <guillaume.smet at gmail.com>
Date: 2018-08-02 (Thu, 02 Aug 2018)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/bytecode/enhance/internal/bytebuddy/EnhancerImpl.java
M hibernate-core/src/main/java/org/hibernate/bytecode/internal/bytebuddy/BasicProxyFactoryImpl.java
M hibernate-core/src/main/java/org/hibernate/bytecode/internal/bytebuddy/ByteBuddyState.java
M hibernate-core/src/main/java/org/hibernate/bytecode/internal/bytebuddy/BytecodeProviderImpl.java
A hibernate-core/src/main/java/org/hibernate/bytecode/internal/bytebuddy/HibernateMethodLookupDispatcher.java
M hibernate-core/src/main/java/org/hibernate/proxy/pojo/bytebuddy/ByteBuddyProxyHelper.java
A hibernate-core/src/test/java/org/hibernate/bytecode/internal/bytebuddy/GenerateProxiesTest.java
A hibernate-core/src/test/java/org/hibernate/bytecode/internal/bytebuddy/HibernateMethodLookupDispatcherTest.java
A hibernate-core/src/test/java/org/hibernate/bytecode/internal/bytebuddy/SimpleEntity.java
Log Message:
-----------
HHH-12857 Rewrite getDeclaredMethod() calls in static initializers
We rewrite them to run them as privileged blocks.
Commit: 5150fd5d606468b66e1e3832c8684eae620164d1
https://github.com/hibernate/hibernate-orm/commit/5150fd5d606468b66e1e3832c8684eae620164d1
Author: Guillaume Smet <guillaume.smet at gmail.com>
Date: 2018-08-02 (Thu, 02 Aug 2018)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/bytecode/enhance/internal/bytebuddy/EnhancerImpl.java
M hibernate-core/src/main/java/org/hibernate/bytecode/internal/bytebuddy/ByteBuddyState.java
M hibernate-core/src/test/java/org/hibernate/bytecode/internal/bytebuddy/SimpleEntity.java
Log Message:
-----------
HHH-12857 Reuse the TypePool created in EnhancerImpl
Commit: d8a1c9911750898269bf3f51dd69d32d5955270f
https://github.com/hibernate/hibernate-orm/commit/d8a1c9911750898269bf3f51dd69d32d5955270f
Author: Guillaume Smet <guillaume.smet at gmail.com>
Date: 2018-08-02 (Thu, 02 Aug 2018)
Changed paths:
M gradle/libraries.gradle
Log Message:
-----------
HHH-12877 Upgrade ByteBuddy to 1.8.15
Compare: https://github.com/hibernate/hibernate-orm/compare/c9de4b8ce7b0...d8a1c9911750
**NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/
Functionality will be removed from GitHub.com on January 31st, 2019.
More information about the hibernate-commits
mailing list