[hibernate-commits] [hibernate/hibernate-orm] 93fed7: HHH-12584 Do not try to create a reflection optimi...

GitHub noreply at github.com
Mon May 28 05:09:54 EDT 2018


  Branch: refs/heads/5.2
  Home:   https://github.com/hibernate/hibernate-orm
  Commit: 93fed78f319e058168e4620d55dd72ffa9572716
      https://github.com/hibernate/hibernate-orm/commit/93fed78f319e058168e4620d55dd72ffa9572716
  Author: Guillaume Smet <guillaume.smet at gmail.com>
  Date:   2018-05-28 (Mon, 28 May 2018)

  Changed paths:
    M hibernate-core/src/main/java/org/hibernate/bytecode/internal/bytebuddy/BytecodeProviderImpl.java
    M hibernate-core/src/test/java/org/hibernate/test/bytecode/ReflectionOptimizerTest.java

  Log Message:
  -----------
  HHH-12584 Do not try to create a reflection optimizer for interfaces and abstract classes

It's already the behavior of the Javassist bytecode provider but the
ByteBuddy one was failing with an exception.


  Commit: 3981c14e9eb8cc13fbabf77a0db3b304451b8702
      https://github.com/hibernate/hibernate-orm/commit/3981c14e9eb8cc13fbabf77a0db3b304451b8702
  Author: Guillaume Smet <guillaume.smet at gmail.com>
  Date:   2018-05-28 (Mon, 28 May 2018)

  Changed paths:
    M hibernate-core/src/main/java/org/hibernate/bytecode/internal/bytebuddy/BytecodeProviderImpl.java
    M hibernate-core/src/test/java/org/hibernate/test/bytecode/ReflectionOptimizerTest.java

  Log Message:
  -----------
  HHH-12584 In fact, we can provide a ReflectionOptimizer, just without the fast class instantiator

The fast class instantiator don't make sense for an abstract class or an
interface. I checked the code and we can indeed instantiate a
ReflectionOptimizer without a fast class instantiator.


  Commit: 85aa8dc019f9fe6f7374a81e082cba14ac817664
      https://github.com/hibernate/hibernate-orm/commit/85aa8dc019f9fe6f7374a81e082cba14ac817664
  Author: Guillaume Smet <guillaume.smet at gmail.com>
  Date:   2018-05-28 (Mon, 28 May 2018)

  Changed paths:
    M hibernate-core/src/main/java/org/hibernate/type/TypeHelper.java
    A hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/LazyInitializationWithoutInlineDirtyTrackingTest.java

  Log Message:
  -----------
  HHH-12633 Fix dirty tracking when previous state is unfetched


Compare: https://github.com/hibernate/hibernate-orm/compare/8b2bf61eb110...85aa8dc019f9
      **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.


More information about the hibernate-commits mailing list