Open-Source JPMS / Panama Projects?
mark.reinhold at oracle.com
mark.reinhold at oracle.com
Wed Mar 17 22:33:44 UTC 2021
2021/3/17 15:24:33 -0700, leerho at gmail.com:
> Is anyone aware of an open-source project that has actually migrated their
> code from Java < 9 to a multi module JPMS?
You mean, to Java modules? (“JPMS” is a pointless acronym.)
> Especially one that has had to
> deal with access to JVM internals like *Unsafe*.
There are many such examples, though I don’t have any pointers handy.
To access sun.misc.Unsafe from within a module, just write `requires
jdk.unsupported` in the module declaration.
- Mark
More information about the panama-dev
mailing list