[hibernate-commits] [hibernate/hibernate-orm] a8e05f: HHH-13007 No longer use net.bytebuddy.experimental...

Yoann Rodière noreply at github.com
Wed Sep 11 04:26:42 EDT 2019


  Branch: refs/heads/5.3
  Home:   https://github.com/hibernate/hibernate-orm
  Commit: a8e05fd409314318629c4e1d7d8fc409fb00f07f
      https://github.com/hibernate/hibernate-orm/commit/a8e05fd409314318629c4e1d7d8fc409fb00f07f
  Author: Sanne Grinovero <sanne at hibernate.org>
  Date:   2019-09-11 (Wed, 11 Sep 2019)

  Changed paths:
    M gradle/java-module.gradle

  Log Message:
  -----------
  HHH-13007 No longer use net.bytebuddy.experimental=true when testing on JDK11


  Commit: 90c059aaa4afe6d979a063b70ceb633c6559a5f0
      https://github.com/hibernate/hibernate-orm/commit/90c059aaa4afe6d979a063b70ceb633c6559a5f0
  Author: Yoann Rodière <yoann at hibernate.org>
  Date:   2019-09-11 (Wed, 11 Sep 2019)

  Changed paths:
    M gradle/java-module.gradle
    M gradle/libraries.gradle
    M hibernate-core/hibernate-core.gradle
    M tooling/metamodel-generator/hibernate-jpamodelgen.gradle

  Log Message:
  -----------
  HHH-12946 Use constants for JAXB dependencies instead of inline strings

We may have to update these dependencies, let's make it easy.


  Commit: fcdc62a849164dc240f1daccacee6c009ed54a48
      https://github.com/hibernate/hibernate-orm/commit/fcdc62a849164dc240f1daccacee6c009ed54a48
  Author: Yoann Rodière <yoann at hibernate.org>
  Date:   2019-09-11 (Wed, 11 Sep 2019)

  Changed paths:
    M gradle/libraries.gradle

  Log Message:
  -----------
  HHH-12946 Depend on org.glassfish.jaxb:jaxb-runtime instead of the obsolete com.sun.xml.bind:jaxb-impl

Apparently both sets of coordinates work, but the com.sun.xml.bind one
is older and deprecated.


  Commit: f9609f93b2ad905df1b32e9718d4459a15888a1f
      https://github.com/hibernate/hibernate-orm/commit/f9609f93b2ad905df1b32e9718d4459a15888a1f
  Author: Yoann Rodière <yoann at hibernate.org>
  Date:   2019-09-11 (Wed, 11 Sep 2019)

  Changed paths:
    M gradle/java-module.gradle
    M gradle/libraries.gradle
    M hibernate-core/hibernate-core.gradle
    M tooling/metamodel-generator/hibernate-jpamodelgen.gradle

  Log Message:
  -----------
  HHH-12946 Add explicit dependencies to JAXB APIs where relevant


  Commit: e6cd7d849568cad8c9fc2d9b52d2382cb38d035f
      https://github.com/hibernate/hibernate-orm/commit/e6cd7d849568cad8c9fc2d9b52d2382cb38d035f
  Author: Yoann Rodière <yoann at hibernate.org>
  Date:   2019-09-11 (Wed, 11 Sep 2019)

  Changed paths:
    M gradle/java-module.gradle
    M hibernate-core/hibernate-core.gradle
    M tooling/metamodel-generator/hibernate-jpamodelgen.gradle

  Log Message:
  -----------
  HHH-12946 Remove unnecessary dependencies when building with JDK9+

We don't need to depend on JAXB's compiler (XJC) in our modules,
we just need the dependency in specific tasks during the build.
In particular we don't want users to transitively depend on XJC.

Also, we don't need an explicit dependency to JAXB in every module,
having one in hibernate-core is enough.


  Commit: 919e4a6a39c0edbb754d9f439d5ddfdb2df79e9a
      https://github.com/hibernate/hibernate-orm/commit/919e4a6a39c0edbb754d9f439d5ddfdb2df79e9a
  Author: Yoann Rodière <yoann at hibernate.org>
  Date:   2019-09-11 (Wed, 11 Sep 2019)

  Changed paths:
    M gradle/java-module.gradle

  Log Message:
  -----------
  HHH-12946 Upgrade to fobiddenapis 2.6 (compatible with JDK11)


  Commit: b6bad94914be5048ea457d31454337f6fb1e49fe
      https://github.com/hibernate/hibernate-orm/commit/b6bad94914be5048ea457d31454337f6fb1e49fe
  Author: Yoann Rodière <yoann at hibernate.org>
  Date:   2019-09-11 (Wed, 11 Sep 2019)

  Changed paths:
    M gradle/java-module.gradle

  Log Message:
  -----------
  HHH-12946 Target JDK11 instead of JDK10 in terms of JDK API compatibility


  Commit: a69de05e443f1e5c69d69098f9cc413afbdd517f
      https://github.com/hibernate/hibernate-orm/commit/a69de05e443f1e5c69d69098f9cc413afbdd517f
  Author: Yoann Rodière <yoann at hibernate.org>
  Date:   2019-09-11 (Wed, 11 Sep 2019)

  Changed paths:
    M hibernate-core/hibernate-core.gradle
    M hibernate-osgi/hibernate-osgi.gradle
    M tooling/metamodel-generator/hibernate-jpamodelgen.gradle

  Log Message:
  -----------
  HHH-12946 Enable JAXB dependencies regardless of the JDK being used when building Hibernate ORM

Previously we would only add the dependency when building with JDK9+,
and we built all releases using JDK8.
This means the dependencies were useless, because they would never be
mentioned in the actual POMs published to users.


  Commit: b151f396f6585ec9180c78c56aae778540eafb32
      https://github.com/hibernate/hibernate-orm/commit/b151f396f6585ec9180c78c56aae778540eafb32
  Author: Yoann Rodière <yoann at hibernate.org>
  Date:   2019-09-11 (Wed, 11 Sep 2019)

  Changed paths:
    M tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/ClassWriter.java
    M tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/Context.java

  Log Message:
  -----------
  HHH-12990 Auto-detect the fqcn of the Generated annotation in jpamodelgen

It's "javax.annotation.Generated" in Java 8 and below, but
"javax.annotation.processing.Generated" in Java 9 and above.


  Commit: 0f54fcc4840687a0b3c97e741a1d4cbfb404be5e
      https://github.com/hibernate/hibernate-orm/commit/0f54fcc4840687a0b3c97e741a1d4cbfb404be5e
  Author: Yoann Rodière <yoann at hibernate.org>
  Date:   2019-09-11 (Wed, 11 Sep 2019)

  Changed paths:
    M gradle/java-module.gradle

  Log Message:
  -----------
  HHH-12990 Remove now unnecessary dependencies to JSR-250 when using jpamodelgen

The previous commit ensured we don't need them anymore.


  Commit: acc79341739d2869b06d6d33aac1d0e79e782e0c
      https://github.com/hibernate/hibernate-orm/commit/acc79341739d2869b06d6d33aac1d0e79e782e0c
  Author: Yoann Rodière <yoann at hibernate.org>
  Date:   2019-09-11 (Wed, 11 Sep 2019)

  Changed paths:
    M gradle/libraries.gradle
    M hibernate-core/hibernate-core.gradle
    M tooling/metamodel-generator/hibernate-jpamodelgen.gradle

  Log Message:
  -----------
  HHH-12990 Remove unnecessary dependencies to JSR-250 when generating JAXB classes

It seems these dependencies were not necessary at all, even before the
previous patches.


  Commit: 625f341a56c9962ec265da1251093d79971c5ce1
      https://github.com/hibernate/hibernate-orm/commit/625f341a56c9962ec265da1251093d79971c5ce1
  Author: Yoann Rodière <yoann at hibernate.org>
  Date:   2019-09-11 (Wed, 11 Sep 2019)

  Changed paths:
    M hibernate-osgi/hibernate-osgi.gradle

  Log Message:
  -----------
  HHH-13022 Fix indentation in hibernate-osgi.gradle


  Commit: 0911dd384e57b7d265fc0b8379e33cc83557afcb
      https://github.com/hibernate/hibernate-orm/commit/0911dd384e57b7d265fc0b8379e33cc83557afcb
  Author: Yoann Rodière <yoann at hibernate.org>
  Date:   2019-09-11 (Wed, 11 Sep 2019)

  Changed paths:
    M hibernate-osgi/hibernate-osgi.gradle

  Log Message:
  -----------
  HHH-13022 Add missing versions to internal OSGi feature dependencies


  Commit: 6cdbf1322961d23eb79be2c0a34b04f032a9d13f
      https://github.com/hibernate/hibernate-orm/commit/6cdbf1322961d23eb79be2c0a34b04f032a9d13f
  Author: Yoann Rodière <yoann at hibernate.org>
  Date:   2019-09-11 (Wed, 11 Sep 2019)

  Changed paths:
    M hibernate-osgi/hibernate-osgi.gradle

  Log Message:
  -----------
  HHH-13022 Upgrade to Apache Karaf 4.2.1


  Commit: 25338d447155332692fcc5f0210312c2efcafbc4
      https://github.com/hibernate/hibernate-orm/commit/25338d447155332692fcc5f0210312c2efcafbc4
  Author: Yoann Rodière <yoann at hibernate.org>
  Date:   2019-09-11 (Wed, 11 Sep 2019)

  Changed paths:
    M hibernate-osgi/hibernate-osgi.gradle

  Log Message:
  -----------
  HHH-13022 Re-enable OSGi tests when using JDK9/JDK10/JDK11


  Commit: 3e379edbf4b8506df4d9f07a4e484ac07642ca33
      https://github.com/hibernate/hibernate-orm/commit/3e379edbf4b8506df4d9f07a4e484ac07642ca33
  Author: Yoann Rodière <yoann at hibernate.org>
  Date:   2019-09-11 (Wed, 11 Sep 2019)

  Changed paths:
    M hibernate-osgi/src/test/java/org/hibernate/osgi/test/OsgiIntegrationTest.java

  Log Message:
  -----------
  HHH-13022 Include karaf logs into test output files


  Commit: f34fd255186d90942f621b2acfba4a046075b47a
      https://github.com/hibernate/hibernate-orm/commit/f34fd255186d90942f621b2acfba4a046075b47a
  Author: Yoann Rodière <yoann at hibernate.org>
  Date:   2019-09-11 (Wed, 11 Sep 2019)

  Changed paths:
    A hibernate-core/src/main/java/org/hibernate/boot/registry/classloading/internal/AggregatedClassLoader.java
    M hibernate-core/src/main/java/org/hibernate/boot/registry/classloading/internal/ClassLoaderServiceImpl.java
    M hibernate-osgi/hibernate-osgi.gradle
    M hibernate-osgi/src/main/java/org/hibernate/osgi/OsgiPersistenceProviderService.java
    M hibernate-osgi/src/main/java/org/hibernate/osgi/OsgiSessionFactoryService.java

  Log Message:
  -----------
  HHH-13022 Allow to fall back to the OSGi-provided TCCL during bootstrap

We previously erased that class loader, which is not a great idea, in
particular when we use libraries such as JAXB which rely on the TCCL, to
some extent.

Without this patch, we cannot make the OSGi integration work correctly
with Java 9 and above, because the JAXB APIs won't find the JAXB
runtime.


  Commit: 8d67195aa81391ead986214c89defe155f1d14aa
      https://github.com/hibernate/hibernate-orm/commit/8d67195aa81391ead986214c89defe155f1d14aa
  Author: Sanne Grinovero <sanne at hibernate.org>
  Date:   2019-09-11 (Wed, 11 Sep 2019)

  Changed paths:
    M build.gradle
    M buildSrc/build.gradle
    M documentation/src/main/asciidoc/topical/wildfly/Wildfly.adoc
    M hibernate-orm-modules/hibernate-orm-modules.gradle

  Log Message:
  -----------
  HHH-13069 Update the links to JBoss Nexus to use the direct repository over https


  Commit: 0e722b2fbee2ced45af64296931dc184f5e5d740
      https://github.com/hibernate/hibernate-orm/commit/0e722b2fbee2ced45af64296931dc184f5e5d740
  Author: Guillaume Smet <guillaume.smet at gmail.com>
  Date:   2019-09-11 (Wed, 11 Sep 2019)

  Changed paths:
    M build.gradle
    M buildSrc/build.gradle
    M documentation/src/main/asciidoc/topical/wildfly/Wildfly.adoc
    M hibernate-orm-modules/hibernate-orm-modules.gradle

  Log Message:
  -----------
  HHH-13069 Go back to non-SSL links for our JBoss Nexus repositories

Using SSL repositories with JDK 11 ends up with the error below:
javax.net.ssl.SSLHandshakeException: extension (10) should not be presented in server_hello

This is a bug in JDK 11 that will apparently be fixed in the next update
(planned for January 2019).

Until then, we need to use non-SSL links.

For more information:
https://stackoverflow.com/questions/52016415/jdk-11-ssl-error-on-valid-certificate-working-in-previous-versions
https://bugs.openjdk.java.net/browse/JDK-8209965 - JDK 12 issue
https://bugs.openjdk.java.net/browse/JDK-8210005 - JDK 11 issue


  Commit: 69fa165664e25907550d8fd347eee63fe78d5ca5
      https://github.com/hibernate/hibernate-orm/commit/69fa165664e25907550d8fd347eee63fe78d5ca5
  Author: Yoann Rodière <yoann at hibernate.org>
  Date:   2019-09-11 (Wed, 11 Sep 2019)

  Changed paths:
    M gradle/libraries.gradle
    M hibernate-core/hibernate-core.gradle

  Log Message:
  -----------
  HHH-13043 Upgrade to JAXB 2.3.1

... which has a correctly formatted POM, and doesn't wreak havoc in
projects depending on us and using Maven + JDK11.


  Commit: c344455df9320c9809776b54c275b6b913188f7f
      https://github.com/hibernate/hibernate-orm/commit/c344455df9320c9809776b54c275b6b913188f7f
  Author: Guillaume Smet <guillaume.smet at gmail.com>
  Date:   2019-09-11 (Wed, 11 Sep 2019)

  Changed paths:
    M tooling/metamodel-generator/hibernate-jpamodelgen.gradle

  Log Message:
  -----------
  HHH-13128 Add missing jaxb-runtime dependency to metamodel generator

It's necessary for JDK 11 and we missed it when we added the
jaxb-runtime dependency to hibernate-core.


  Commit: d056e39cc10fdf0f0e03819b9da0d96e51e0cbc7
      https://github.com/hibernate/hibernate-orm/commit/d056e39cc10fdf0f0e03819b9da0d96e51e0cbc7
  Author: Guillaume Smet <guillaume.smet at gmail.com>
  Date:   2019-09-11 (Wed, 11 Sep 2019)

  Changed paths:
    M documentation/src/main/asciidoc/topical/metamodelgen/MetamodelGenerator.adoc

  Log Message:
  -----------
  HHH-13127 Document that JAXB jars are needed if using JDK 11


  Commit: 38fd1be16d418d747156916e36092cc5631d6bfc
      https://github.com/hibernate/hibernate-orm/commit/38fd1be16d418d747156916e36092cc5631d6bfc
  Author: Guillaume Smet <guillaume.smet at gmail.com>
  Date:   2019-09-11 (Wed, 11 Sep 2019)

  Changed paths:
    M documentation/src/main/asciidoc/topical/metamodelgen/MetamodelGenerator.adoc

  Log Message:
  -----------
  HHH-13127 Update a few things in the metamodel generator documentation


  Commit: daf0a297dfdee748f5d06ecb07389e616fa647ba
      https://github.com/hibernate/hibernate-orm/commit/daf0a297dfdee748f5d06ecb07389e616fa647ba
  Author: Sanne Grinovero <sanne at hibernate.org>
  Date:   2019-09-11 (Wed, 11 Sep 2019)

  Changed paths:
    M gradle/published-java-module.gradle

  Log Message:
  -----------
  HHH-13271 Javadoc build failures on JDK 12


  Commit: 2dbea0bbb2ac196b6659510413b8caa0aa56637f
      https://github.com/hibernate/hibernate-orm/commit/2dbea0bbb2ac196b6659510413b8caa0aa56637f
  Author: Sanne Grinovero <sanne at hibernate.org>
  Date:   2019-09-11 (Wed, 11 Sep 2019)

  Changed paths:
    M gradle/published-java-module.gradle

  Log Message:
  -----------
  HHH-13271 Restore compatibility of build script with Java 8 too


  Commit: 9251720f69b6f41f9fcdd4bf0b9e898697719c4a
      https://github.com/hibernate/hibernate-orm/commit/9251720f69b6f41f9fcdd4bf0b9e898697719c4a
  Author: Sanne Grinovero <sanne at hibernate.org>
  Date:   2019-09-11 (Wed, 11 Sep 2019)

  Changed paths:
    M gradle/java-module.gradle

  Log Message:
  -----------
  HHH-13275 Re-introduce usage of net.bytebuddy.experimental=true when testing on JDK > 11


  Commit: 8a199f9e88c86fc382bd2ce4a0cec042b9cbe262
      https://github.com/hibernate/hibernate-orm/commit/8a199f9e88c86fc382bd2ce4a0cec042b9cbe262
  Author: Guillaume Smet <guillaume.smet at gmail.com>
  Date:   2019-09-11 (Wed, 11 Sep 2019)

  Changed paths:
    M documentation/documentation.gradle
    M gradle/published-java-module.gradle

  Log Message:
  -----------
  HHH-13419 Support building javadoc with JDK 11.0.3+


  Commit: ab527c0bd88e00dade4a81ac0839c84890fe6e9c
      https://github.com/hibernate/hibernate-orm/commit/ab527c0bd88e00dade4a81ac0839c84890fe6e9c
  Author: Guillaume Smet <guillaume.smet at gmail.com>
  Date:   2019-09-11 (Wed, 11 Sep 2019)

  Changed paths:
    M hibernate-osgi/hibernate-osgi.gradle

  Log Message:
  -----------
  HHH-13421 Disable OSGi testing for JDK 11+


  Commit: 433e12b371126927b76781da76e4ad0966e5ab41
      https://github.com/hibernate/hibernate-orm/commit/433e12b371126927b76781da76e4ad0966e5ab41
  Author: Yoann Rodière <yoann at hibernate.org>
  Date:   2019-09-11 (Wed, 11 Sep 2019)

  Changed paths:
    M hibernate-osgi/hibernate-osgi.gradle

  Log Message:
  -----------
  HHH-13415 Add more comments where we disable OSGi tests with JDK11

Karaf or Pax Exam (don't know which) has serious issues with JDK 11.0.3.


  Commit: f2eeb0aed1ac4c80d5bfa06ef63f1977ca7565d4
      https://github.com/hibernate/hibernate-orm/commit/f2eeb0aed1ac4c80d5bfa06ef63f1977ca7565d4
  Author: Yoann Rodière <yoann at hibernate.org>
  Date:   2019-09-11 (Wed, 11 Sep 2019)

  Changed paths:
    M documentation/documentation.gradle
    M gradle/published-java-module.gradle

  Log Message:
  -----------
  HHH-13415 Clean up the places where we fix fix javadoc generation for JDK11


  Commit: 5f5e0299412b1489e734e702cb4d559a09a753df
      https://github.com/hibernate/hibernate-orm/commit/5f5e0299412b1489e734e702cb4d559a09a753df
  Author: Yoann Rodière <yoann at hibernate.org>
  Date:   2019-09-11 (Wed, 11 Sep 2019)

  Changed paths:
    M .travis.yml

  Log Message:
  -----------
  HHH-13415 Run Travis tests on JDK11 too

Use OpenJDK 11.0.3 instead of OracleJDK 11.0.2 in the Travis build,
because 11.0.2 just fails because of a bug in javadoc generation.


  Commit: 6e485989f18571f8055a7347b28315efb0c280b5
      https://github.com/hibernate/hibernate-orm/commit/6e485989f18571f8055a7347b28315efb0c280b5
  Author: Yoann Rodière <yoann at hibernate.org>
  Date:   2019-09-11 (Wed, 11 Sep 2019)

  Changed paths:
    M .travis.yml
    M gradle/java-module.gradle

  Log Message:
  -----------
  Get rid of travis_wait in .travis.yml

... so that we get actionable logs when something fails.


  Commit: e7423b076f741396bc67941cd9bd5f7b1c6bfee2
      https://github.com/hibernate/hibernate-orm/commit/e7423b076f741396bc67941cd9bd5f7b1c6bfee2
  Author: Yoann Rodière <yoann at hibernate.org>
  Date:   2019-09-11 (Wed, 11 Sep 2019)

  Changed paths:
    M .travis.yml
    M gradle/java-module.gradle

  Log Message:
  -----------
  Do not log test progress by default, but provide a build option and enable it for Travis

So that the build isn't too verbose when running it locally.


Compare: https://github.com/hibernate/hibernate-orm/compare/b966f6c92162...e7423b076f74



More information about the hibernate-commits mailing list