mirror of
https://github.com/SpigotMC/BungeeCord.git
synced 2024-11-24 03:05:49 +01:00
#3087: Force-enable multi-release jar file support for JDK9+ via System property
This commit is contained in:
parent
b60a30c705
commit
a0b7f09252
@ -20,6 +20,11 @@ public class BungeeCordLauncher
|
||||
{
|
||||
Security.setProperty( "networkaddress.cache.ttl", "30" );
|
||||
Security.setProperty( "networkaddress.cache.negative.ttl", "10" );
|
||||
// For JDK9+ we force-enable multi-release jar file support #3087
|
||||
if ( System.getProperty( "jdk.util.jar.enableMultiRelease" ) == null )
|
||||
{
|
||||
System.setProperty( "jdk.util.jar.enableMultiRelease", "force" );
|
||||
}
|
||||
|
||||
OptionParser parser = new OptionParser();
|
||||
parser.allowsUnrecognizedOptions();
|
||||
|
Loading…
Reference in New Issue
Block a user