mirror of
https://github.com/nasa/trick.git
synced 2024-12-19 21:27:54 +00:00
add workaround for legacy code (bsaf) on modern mac with java 17 (#1211)
This commit is contained in:
parent
4418fe034c
commit
64725f8f1c
@ -37,7 +37,8 @@ sub launch_java($$) {
|
|||||||
$command .= "\\
|
$command .= "\\
|
||||||
-Xdock:name=\"$name\" \\
|
-Xdock:name=\"$name\" \\
|
||||||
-Xdock:icon=$java_dir/build/classes/trick/common/resources/trick_icon.png \\
|
-Xdock:icon=$java_dir/build/classes/trick/common/resources/trick_icon.png \\
|
||||||
-Djava.net.preferIPv4Stack=true \\" ;
|
-Djava.net.preferIPv4Stack=true \\
|
||||||
|
--add-opens=java.desktop/com.apple.eawt=ALL-UNNAMED \\" ;
|
||||||
}
|
}
|
||||||
|
|
||||||
$command .= "$java_dir/build/$application.jar ";
|
$command .= "$java_dir/build/$application.jar ";
|
||||||
@ -45,7 +46,6 @@ sub launch_java($$) {
|
|||||||
foreach (@ARGV) {
|
foreach (@ARGV) {
|
||||||
$command .= "$_ ";
|
$command .= "$_ ";
|
||||||
}
|
}
|
||||||
|
|
||||||
system $command ;
|
system $command ;
|
||||||
exit $? >> 8 ;
|
exit $? >> 8 ;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user