Changeset 2260 for trunk/java-utils
- Timestamp:
- 08/01/19 12:11:21 (5 years ago)
- Location:
- trunk/java-utils
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/java-utils/.classpath
r2182 r2260 18 18 </attributes> 19 19 </classpathentry> 20 <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"> 21 <attributes> 22 <attribute name="maven.pomderived" value="true"/> 23 </attributes> 24 </classpathentry> 20 <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> 25 21 <classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER"> 26 22 <attributes> -
trunk/java-utils/.settings/org.eclipse.jdt.core.prefs
r2182 r2260 1 1 eclipse.preferences.version=1 2 2 org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled 3 org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 3 org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate 4 org.eclipse.jdt.core.compiler.codegen.targetPlatform=9 4 5 org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve 5 org.eclipse.jdt.core.compiler.compliance= 1.86 org.eclipse.jdt.core.compiler.compliance=9 6 7 org.eclipse.jdt.core.compiler.debug.lineNumber=generate 7 8 org.eclipse.jdt.core.compiler.debug.localVariable=generate … … 10 11 org.eclipse.jdt.core.compiler.problem.enumIdentifier=error 11 12 org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning 12 org.eclipse.jdt.core.compiler.source= 1.813 org.eclipse.jdt.core.compiler.source=9 -
trunk/java-utils/pom.xml
r2202 r2260 41 41 <plugin> 42 42 <artifactId>maven-compiler-plugin</artifactId> 43 <version> 2.3.2</version>43 <version>3.8.0</version> 44 44 <configuration> 45 <source>1.8</source> 46 <target>1.8</target> 45 <release>11</release> 47 46 </configuration> 48 47 </plugin> -
trunk/java-utils/src/main/java/de/ugoe/cs/util/console/CommandExecuter.java
r2233 r2260 20 20 import java.io.FilenameFilter; 21 21 import java.io.IOException; 22 import java.lang.reflect.InvocationTargetException; 22 23 import java.net.URL; 23 24 import java.util.ArrayList; … … 189 190 try { 190 191 Class<?> cmdClass = Class.forName(className); 191 cmd = (Command) cmdClass. newInstance();192 cmd = (Command) cmdClass.getDeclaredConstructor().newInstance(); 192 193 } 193 194 catch (NoClassDefFoundError e) { … … 199 200 catch (IllegalAccessException e) {} 200 201 catch (InstantiationException e) {} 202 catch (InvocationTargetException e) {} 203 catch (NoSuchMethodException e) {} 201 204 catch (ClassCastException e) { 202 205 Console.traceln(Level.WARNING, className + "found, but does not implement Command");
Note: See TracChangeset
for help on using the changeset viewer.