We're updating the issue view to help you get more done. 

Expose bytecode common utilities as SPI

Description

Currently both Hibernate ORM and Hibernate OGM require to apply similar strategy loader to handle full compatibility between different Byte Buddy and JDK versions, for JDK 9+.
We would like to allow Hibernate OGM, or others frameworks, to use the same method as SPI.
See issue OGM-1488.

To handle this we could move the method org.hibernate.bytecode.internal.bytebuddy.ByteBuddyState#resolveClassLoadingStrategy under the package org.hibernate.bytecode.spi.

Environment

None

Status

Assignee

Fabio Massimo Ercoli

Reporter

Fabio Massimo Ercoli

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

5.3.6

Priority

Minor