Skip to content

Commit 9a5351a

Browse files
committed
pombast: allow bigvolumeviewer to use of Unsafe
It has a hack in its own POM to configure the maven-compiler-plugin to run in a mode that allows use of sun.misc.Unsafe. But pombast's execution does not honor the hack. Fortunately, setting maven.compiler.release to empty disables the plugin's passing of the --release flag, which is what triggers the use of ct.sym, the sealed API catalog for Java 8's public API.
1 parent e916952 commit 9a5351a

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

pombast.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -991,6 +991,10 @@ ci-build = "build-main"
991991
[components."sc.fiji:bigdataviewer_fiji"]
992992
ci-build = "build-main"
993993

994+
[components."sc.fiji:bigvolumeviewer"]
995+
# NOTE: Using the release flag disallows access to sun.misc.Unsafe.
996+
properties = { "maven.compiler.release" = "" }
997+
994998
[components."sc.fiji:bij"]
995999
ci-build = "build-main"
9961000
last-vetted = "20230309000000"

0 commit comments

Comments
 (0)