[hibernate/hibernate-orm] 297031: HHH-12786 Properly indent the Bytebuddy DSL
by GitHub
Branch: refs/heads/5.3
Home: https://github.com/hibernate/hibernate-orm
Commit: 297031319d96bf7622ba4ec82df5299af921c3fa
https://github.com/hibernate/hibernate-orm/commit/297031319d96bf7622ba4ec...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2018-07-16 (Mon, 16 Jul 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/BytecodeProviderImpl.java
M hibernate-core/src/main/java/org/hibernate/proxy/pojo/bytebuddy/ByteBuddyProxyFactory.java
Log Message:
-----------
HHH-12786 Properly indent the Bytebuddy DSL
It helps to understand what exactly these calls do.
Commit: 0fda6be86e385658ddff76245a29631840e77da4
https://github.com/hibernate/hibernate-orm/commit/0fda6be86e385658ddff762...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2018-07-16 (Mon, 16 Jul 2018)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/bytecode/internal/bytebuddy/BasicProxyFactoryImpl.java
A hibernate-core/src/test/java/org/hibernate/test/component/proxy/Adult.java
A hibernate-core/src/test/java/org/hibernate/test/component/proxy/ComponentBasicProxyTest.java
A hibernate-core/src/test/java/org/hibernate/test/component/proxy/Person.java
A hibernate-core/src/test/java/org/hibernate/test/component/proxy/PersonId.java
Log Message:
-----------
HHH-12786 Allow to call methods when the interceptor is not set yet
Typically, if the constructor calls instrumented methods, the
interceptor is not defined yet and we get a NPE.
Commit: 67698b8bdbbafe8fb4b11c1372dbe3a2b17a9b80
https://github.com/hibernate/hibernate-orm/commit/67698b8bdbbafe8fb4b11c1...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2018-07-16 (Mon, 16 Jul 2018)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/bytecode/internal/bytebuddy/BasicProxyFactoryImpl.java
Log Message:
-----------
HHH-12786 Only define the default constructor
We don't need the others, better not create them in the proxy.
Commit: 1688c3ff8d735b4bcdfeed0951e4cd571f5f5025
https://github.com/hibernate/hibernate-orm/commit/1688c3ff8d735b4bcdfeed0...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2018-07-16 (Mon, 16 Jul 2018)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/bytecode/internal/bytebuddy/BasicProxyFactoryImpl.java
M hibernate-core/src/main/java/org/hibernate/bytecode/internal/bytebuddy/PassThroughInterceptor.java
A hibernate-core/src/test/java/org/hibernate/test/proxy/bytebuddy/ByteBuddyBasicProxyFactoryTest.java
Log Message:
-----------
HHH-12786 Improve the basic proxy interceptor
Apart from cosmetic changes, we were testing in the equals() method that the
instance == the proxied object which will always be true.
We should use the argument of the equals() method instead to do the
comparison.
And we can do the comparison on the instance, instead of requiring
passing the proxiedObject into the interceptor.
Compare: https://github.com/hibernate/hibernate-orm/compare/0818195cea27...1688c3f...
**NOTE:** This service 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.
6 years, 5 months
[hibernate/hibernate-orm] 3759f7: HHH-12786 Properly indent the Bytebuddy DSL
by GitHub
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-orm
Commit: 3759f776ab85fb7e4a8b7860810c6279afe6ec4a
https://github.com/hibernate/hibernate-orm/commit/3759f776ab85fb7e4a8b786...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2018-07-16 (Mon, 16 Jul 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/BytecodeProviderImpl.java
M hibernate-core/src/main/java/org/hibernate/proxy/pojo/bytebuddy/ByteBuddyProxyFactory.java
Log Message:
-----------
HHH-12786 Properly indent the Bytebuddy DSL
It helps to understand what exactly these calls do.
Commit: ed53fd534615e5c75a3937f6947d1387e57d7b91
https://github.com/hibernate/hibernate-orm/commit/ed53fd534615e5c75a3937f...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2018-07-16 (Mon, 16 Jul 2018)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/bytecode/internal/bytebuddy/BasicProxyFactoryImpl.java
A hibernate-core/src/test/java/org/hibernate/test/component/proxy/Adult.java
A hibernate-core/src/test/java/org/hibernate/test/component/proxy/ComponentBasicProxyTest.java
A hibernate-core/src/test/java/org/hibernate/test/component/proxy/Person.java
A hibernate-core/src/test/java/org/hibernate/test/component/proxy/PersonId.java
Log Message:
-----------
HHH-12786 Allow to call methods when the interceptor is not set yet
Typically, if the constructor calls instrumented methods, the
interceptor is not defined yet and we get a NPE.
Commit: f722db367ec3631a269188ba8e5952a3d6ef5f02
https://github.com/hibernate/hibernate-orm/commit/f722db367ec3631a269188b...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2018-07-16 (Mon, 16 Jul 2018)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/bytecode/internal/bytebuddy/BasicProxyFactoryImpl.java
Log Message:
-----------
HHH-12786 Only define the default constructor
We don't need the others, better not create them in the proxy.
Commit: 208e789bb107503a5df7a62531570ececaa4c0ed
https://github.com/hibernate/hibernate-orm/commit/208e789bb107503a5df7a62...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2018-07-16 (Mon, 16 Jul 2018)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/bytecode/internal/bytebuddy/BasicProxyFactoryImpl.java
M hibernate-core/src/main/java/org/hibernate/bytecode/internal/bytebuddy/PassThroughInterceptor.java
A hibernate-core/src/test/java/org/hibernate/test/proxy/bytebuddy/ByteBuddyBasicProxyFactoryTest.java
Log Message:
-----------
HHH-12786 Improve the basic proxy interceptor
Apart from cosmetic changes, we were testing in the equals() method that the
instance == the proxied object which will always be true.
We should use the argument of the equals() method instead to do the
comparison.
And we can do the comparison on the instance, instead of requiring
passing the proxiedObject into the interceptor.
Compare: https://github.com/hibernate/hibernate-orm/compare/6e85dd82f326...208e789...
**NOTE:** This service 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.
6 years, 5 months
[hibernate/hibernate-orm] 9d36d1: HHH-12800 Use a class loading strategy suitable fo...
by GitHub
Branch: refs/heads/5.3
Home: https://github.com/hibernate/hibernate-orm
Commit: 9d36d1d91fcc38ed507b1bbf4720505fae766c16
https://github.com/hibernate/hibernate-orm/commit/9d36d1d91fcc38ed507b1bb...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2018-07-16 (Mon, 16 Jul 2018)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/bytecode/internal/bytebuddy/ByteBuddyState.java
M hibernate-core/src/test/java/org/hibernate/test/annotations/tuplizer/bytebuddysubclass/MyEntityInstantiator.java
Log Message:
-----------
HHH-12800 Use a class loading strategy suitable for the JDK used
The previously chosen strategy used misc.Unsafe which is not possible
anymore with JDK 11.
Commit: a9e20c18c50a08eaea3bfc5ebb77d0f41e767268
https://github.com/hibernate/hibernate-orm/commit/a9e20c18c50a08eaea3bfc5...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2018-07-16 (Mon, 16 Jul 2018)
Changed paths:
M hibernate-core/src/test/java/org/hibernate/boot/spi/metadatabuildercontributor/SqlFunctionMetadataBuilderContributorIllegalClassArgumentTest.java
Log Message:
-----------
HHH-12801 Adjust the assertion to the new message generated by JDK 11
Commit: 48c44ef7d006ab44f06946f5693080518e677306
https://github.com/hibernate/hibernate-orm/commit/48c44ef7d006ab44f06946f...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2018-07-16 (Mon, 16 Jul 2018)
Changed paths:
M gradle/libraries.gradle
Log Message:
-----------
HHH-12803 Upgrade ByteBuddy to 1.8.13
Commit: 667b56502869e0cb7eec4cd741925f71f22af5a0
https://github.com/hibernate/hibernate-orm/commit/667b56502869e0cb7eec4cd...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2018-07-16 (Mon, 16 Jul 2018)
Changed paths:
M hibernate-core/src/test/java/org/hibernate/cfg/annotations/CollectionBinderTest.java
Log Message:
-----------
HHH-12804 Don't mock Map in CollectionBinderTest
Apparently, Mockito + ByteBuddy are unable to mock Map on JDK 11.
It might be solved in the future but there's no point in doing it so
let's avoid it.
Commit: 54f20d828156981ffe994330d907a8f169bbdc4e
https://github.com/hibernate/hibernate-orm/commit/54f20d828156981ffe99433...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2018-07-16 (Mon, 16 Jul 2018)
Changed paths:
M gradle/libraries.gradle
Log Message:
-----------
HHH-12805 Upgrade Mockito to 2.19.1
Commit: 103d40101f6eacdbe43fb1fcd386a633e8f78a61
https://github.com/hibernate/hibernate-orm/commit/103d40101f6eacdbe43fb1f...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2018-07-16 (Mon, 16 Jul 2018)
Changed paths:
M hibernate-orm-modules/hibernate-orm-modules.gradle
Log Message:
-----------
HHH-12807 Disable the hibernate-orm-modules tests for JDK 11
Commit: 05111931a994c45a4fa4df1b3457eb0e58435b52
https://github.com/hibernate/hibernate-orm/commit/05111931a994c45a4fa4df1...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2018-07-16 (Mon, 16 Jul 2018)
Changed paths:
M build.gradle
Log Message:
-----------
HHH-12808 Upgrade Gradle to 4.8.1
Commit: 109481f90369bc6f9227814a3f36aaa1225c95c9
https://github.com/hibernate/hibernate-orm/commit/109481f90369bc6f9227814...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2018-07-16 (Mon, 16 Jul 2018)
Changed paths:
M documentation/documentation.gradle
Log Message:
-----------
HHH-12809 Use an HTTP link for the Javadoc link to our Bean Validation documentation
Commit: e9f9b869c03b669c3a8ea7f819a39118e31ede09
https://github.com/hibernate/hibernate-orm/commit/e9f9b869c03b669c3a8ea7f...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2018-07-16 (Mon, 16 Jul 2018)
Changed paths:
M gradle/published-java-module.gradle
Log Message:
-----------
HHH-12813 Disable Asciidoclet in Javadoc generation
We don't have the certainty that we don't use Asciidoctor Javadoc but
using Asciidoclet leads to malformed Javadoc if we are using HTML
Javadoc, which concerns the high majority of our files.
Commit: 0818195cea27ea17c437937ebf4ccfcdf0185cd9
https://github.com/hibernate/hibernate-orm/commit/0818195cea27ea17c437937...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2018-07-16 (Mon, 16 Jul 2018)
Changed paths:
M build.gradle
Log Message:
-----------
HHH-12807 Force to execute the release task with JDK 8
Considering hibernate-orm-modules tests are disabled with JDK 11, it's
safer to prevent us from running a release with it. And all in all, we'd
better release with JDK 8.
Compare: https://github.com/hibernate/hibernate-orm/compare/7e69797a450d...0818195...
**NOTE:** This service 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.
6 years, 5 months
[hibernate/hibernate-orm] 5ec70e: HHH-12800 Use a class loading strategy suitable fo...
by GitHub
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-orm
Commit: 5ec70ec22e37339d7fcb2c53d7a94a8f6387a78a
https://github.com/hibernate/hibernate-orm/commit/5ec70ec22e37339d7fcb2c5...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2018-07-14 (Sat, 14 Jul 2018)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/bytecode/internal/bytebuddy/ByteBuddyState.java
M hibernate-core/src/test/java/org/hibernate/test/annotations/tuplizer/bytebuddysubclass/MyEntityInstantiator.java
Log Message:
-----------
HHH-12800 Use a class loading strategy suitable for the JDK used
The previously chosen strategy used misc.Unsafe which is not possible
anymore with JDK 11.
Commit: 99b4f3c24a61ffdaeb43e024c1a699c4f7004b67
https://github.com/hibernate/hibernate-orm/commit/99b4f3c24a61ffdaeb43e02...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2018-07-14 (Sat, 14 Jul 2018)
Changed paths:
M hibernate-core/src/test/java/org/hibernate/boot/spi/metadatabuildercontributor/SqlFunctionMetadataBuilderContributorIllegalClassArgumentTest.java
Log Message:
-----------
HHH-12801 Adjust the assertion to the new message generated by JDK 11
Commit: 972a79d4487c696506f327fc310d52634d741672
https://github.com/hibernate/hibernate-orm/commit/972a79d4487c696506f327f...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2018-07-14 (Sat, 14 Jul 2018)
Changed paths:
M gradle/libraries.gradle
Log Message:
-----------
HHH-12803 Upgrade ByteBuddy to 1.8.13
Commit: f274db28f632249e856d2ff6fd0b3f4dde1443d2
https://github.com/hibernate/hibernate-orm/commit/f274db28f632249e856d2ff...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2018-07-14 (Sat, 14 Jul 2018)
Changed paths:
M hibernate-core/src/test/java/org/hibernate/cfg/annotations/CollectionBinderTest.java
Log Message:
-----------
HHH-12804 Don't mock Map in CollectionBinderTest
Apparently, Mockito + ByteBuddy are unable to mock Map on JDK 11.
It might be solved in the future but there's no point in doing it so
let's avoid it.
Commit: 3abb6805b66fa5e3d42202bea001a04131a4279d
https://github.com/hibernate/hibernate-orm/commit/3abb6805b66fa5e3d42202b...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2018-07-14 (Sat, 14 Jul 2018)
Changed paths:
M gradle/libraries.gradle
Log Message:
-----------
HHH-12805 Upgrade Mockito to 2.19.1
Commit: 3577e8540fbc6d1b96d62a7ed1f3170d36068eb1
https://github.com/hibernate/hibernate-orm/commit/3577e8540fbc6d1b96d62a7...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2018-07-14 (Sat, 14 Jul 2018)
Changed paths:
M hibernate-orm-modules/hibernate-orm-modules.gradle
Log Message:
-----------
HHH-12807 Disable the hibernate-orm-modules tests for JDK 11
Commit: 02da69d50aad95418e7bd82901016adb69290a9c
https://github.com/hibernate/hibernate-orm/commit/02da69d50aad95418e7bd82...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2018-07-14 (Sat, 14 Jul 2018)
Changed paths:
M build.gradle
Log Message:
-----------
HHH-12808 Upgrade Gradle to 4.8.1
Commit: 2b564d4046c435d97eb26f25b75f7ffa83e1415d
https://github.com/hibernate/hibernate-orm/commit/2b564d4046c435d97eb26f2...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2018-07-14 (Sat, 14 Jul 2018)
Changed paths:
M documentation/documentation.gradle
Log Message:
-----------
HHH-12809 Use an HTTP link for the Javadoc link to our Bean Validation documentation
Commit: 4d057eab2f2dd0ad6c5e3b4aaf458b95e07153c2
https://github.com/hibernate/hibernate-orm/commit/4d057eab2f2dd0ad6c5e3b4...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2018-07-15 (Sun, 15 Jul 2018)
Changed paths:
M gradle/published-java-module.gradle
Log Message:
-----------
HHH-12813 Disable Asciidoclet in Javadoc generation
We don't have the certainty that we don't use Asciidoctor Javadoc but
using Asciidoclet leads to malformed Javadoc if we are using HTML
Javadoc, which concerns the high majority of our files.
Commit: 6e85dd82f326a9a4bc9fd97c611d91cba25c50b2
https://github.com/hibernate/hibernate-orm/commit/6e85dd82f326a9a4bc9fd97...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2018-07-16 (Mon, 16 Jul 2018)
Changed paths:
M build.gradle
Log Message:
-----------
HHH-12807 Force to execute the release task with JDK 8
Considering hibernate-orm-modules tests are disabled with JDK 11, it's
safer to prevent us from running a release with it. And all in all, we'd
better release with JDK 8.
Compare: https://github.com/hibernate/hibernate-orm/compare/9202a5a11d56...6e85dd8...
**NOTE:** This service 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.
6 years, 5 months