Update to Java 10.
This commit is contained in:
@@ -1,25 +1,9 @@
|
||||
###############################################################################
|
||||
# Properties retrived with System.getProperty(String) can be used as values
|
||||
# by enclosing the property name with %. Eg.: %java.class.path%
|
||||
#
|
||||
# You can set a property for a scripting engine by language name.
|
||||
#
|
||||
# Examples:
|
||||
# language.Java.source=1.8
|
||||
###############################################################################
|
||||
|
||||
|
||||
#######################################
|
||||
# L2J_JavaEngine #####################
|
||||
#######################################
|
||||
|
||||
# The prefered java compiler api to use.
|
||||
# The value is a fully qualified name of a class which implements the javax.toold.JavaCompiler and has a zero argument constructor.
|
||||
# When the prefered compiler is not set, the first found compiler is used.
|
||||
# When the prefered compiler is not found, the last found compiler is used.
|
||||
language.Java.preferedCompiler=com.sun.tools.javac.api.JavacTool
|
||||
language.Java.preferedCompiler=org.eclipse.jdt.internal.compiler.tool.EclipseCompiler
|
||||
|
||||
# The parent class loader for isolated script class loaders.
|
||||
# When this property is not specified, has an invalid value or is a class name which could not be found, the System classloader is used.
|
||||
# Values: System, ThreadContext or a fully qualified java class name
|
||||
@@ -100,7 +100,7 @@ public final class GraciaLoader
|
||||
{
|
||||
try
|
||||
{
|
||||
script.newInstance();
|
||||
script.getDeclaredConstructor().newInstance();
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
|
||||
@@ -127,7 +127,7 @@ public final class HellboundLoader
|
||||
{
|
||||
try
|
||||
{
|
||||
final Object instance = script.newInstance();
|
||||
final Object instance = script.getDeclaredConstructor().newInstance();
|
||||
if (instance instanceof IAdminCommandHandler)
|
||||
{
|
||||
AdminCommandHandler.getInstance().registerHandler((IAdminCommandHandler) instance);
|
||||
|
||||
BIN
L2J_Mobius_CT_2.6_HighFive/dist/libs/JavaC.jar
vendored
Normal file
BIN
L2J_Mobius_CT_2.6_HighFive/dist/libs/JavaC.jar
vendored
Normal file
Binary file not shown.
BIN
L2J_Mobius_CT_2.6_HighFive/dist/libs/ecj-4.4.2.jar
vendored
BIN
L2J_Mobius_CT_2.6_HighFive/dist/libs/ecj-4.4.2.jar
vendored
Binary file not shown.
Reference in New Issue
Block a user