Commit Graph

4 Commits

Author SHA1 Message Date
Ryan Ernst 9c370b8d47
Allow qualified exports to extended modules (#95243)
In #94884 the ability to add qualified exports and opens from jars
upstream of server was added. Some Elasticsearch components need to
qualify their exports to another component. This commit tweaks the
loading of the exports services so that each loaded plugin/component
has their qualified exports handled automatically.
2023-05-02 14:01:13 -07:00
Ryan Ernst 6c31d3cd99
Export preallocate to jna (#95158)
On MacOS, jna reflectively constructs preallocate classes, so the
package needs to be exported to jna.

closes #95125
2023-04-11 11:11:34 -04:00
Ryan Ernst fd789183d8
Remove jar name override for preallocate (#95154)
The preallocate lib should be named similar to other libs, with the
elasticsearch- prefix.
2023-04-11 07:30:30 -07:00
Ryan Ernst c619be4b5e
Move preallocate module to libs (#94884)
The preallocate module needs access to java.io internals. However, in
order to open java.io to a specific module, rather than the unnamed
module as was previously done, the said module must be in the boot
layer.

This commit moves the preallocate module to libs. It adds it to the main
lib dir, though it does not add it as a compile dependency of server.
2023-04-10 13:05:43 -07:00