On 6/23/2020 9:31 AM, Alex Orlov wrote:
From what I can establish, org.hibernate.orm.core is an automatic
module so it doesn't have any way to `requires net.bytebuddy` (an
explicit module). You'll have to help out by adding `--add-modules
net.bytebuddy` to the command line that surefire or failsafe uses.
Yes, and this is the work that I say is very silly. We add modules to module
path, but JPMS IGNORES THEM. It is obvious that it was a wrong solution
to let JPMS solve what modules it should add to layer and what modules 
shouldn’t.

The module path is not like the class path. The class path is chaos; the module path is order. Think of the module path as a repository that contains tens, hundreds, thousands of modules, all of which sit silently until one is required by some module, or resolved due to `--add-modules`.

You're asking the JDK team how to use the ORM core of Hibernate as an automatic module. What did the Hibernate team say what you asked them?

Alex

Reply via email to