File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -123,6 +123,15 @@ native-image --module-path target/AwesomeLib-1.0-SNAPSHOT.jar --shared
123123 - config compatibility: GC config, etc.
124124 - access compatibility: no additional unsafe and field accesses are allowed
125125
126+ ### Limitations
127+
128+ - Layers are platform dependent. A layer created with ` --layer-create ` on a specific OS/architecture
129+ cannot be loaded by ` --layer-use ` on a different OS/architecture.
130+ - Each layer can only depend on a previous layer. We explicitly make it impossible to depend on more than one layer to
131+ avoid any potential issues that can stem from _ multiple inheritance_ .
132+ - A shared layer is using the _ .so_ extension to conform with the standard OS loader restrictions. However, it is not a
133+ standard shared library file, and it cannot be used with other applications.
134+
126135## Packaging Layers
127136
128137At build time a shared layer is stored in a layer archive that contains the following artifacts:
You can’t perform that action at this time.
0 commit comments