db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kahat...@apache.org
Subject svn commit: r1242098 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/harness/jdk18.java
Date Wed, 08 Feb 2012 21:14:17 GMT
Author: kahatlen
Date: Wed Feb  8 21:14:17 2012
New Revision: 1242098

URL: http://svn.apache.org/viewvc?rev=1242098&view=rev
Log:
DERBY-5609: Prepare old test harness for running tests on Java 8

Added:
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/harness/jdk18.java
      - copied, changed from r1242045, db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/harness/jdk17.java

Copied: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/harness/jdk18.java
(from r1242045, db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/harness/jdk17.java)
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/harness/jdk18.java?p2=db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/harness/jdk18.java&p1=db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/harness/jdk17.java&r1=1242045&r2=1242098&rev=1242098&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/harness/jdk17.java
(original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/harness/jdk18.java
Wed Feb  8 21:14:17 2012
@@ -1,6 +1,6 @@
 /*
  
-   Derby - Class org.apache.derbyTesting.functionTests.harness.jdk17
+   Derby - Class org.apache.derbyTesting.functionTests.harness.jdk18
  
    Licensed to the Apache Software Foundation (ASF) under one or more
    contributor license agreements.  See the NOTICE file distributed with
@@ -25,25 +25,25 @@ import java.util.Vector;
 import java.util.StringTokenizer;
 
 
-public class jdk17 extends jvm {
+public class jdk18 extends jvm {
     
-    public String getName(){return "jdk17";}
-    public jdk17(boolean noasyncgc, boolean verbosegc, boolean noclassgc,
+    public String getName(){return "jdk18";}
+    public jdk18(boolean noasyncgc, boolean verbosegc, boolean noclassgc,
         long ss, long oss, long ms, long mx, String classpath, String prof,
         boolean verify, boolean noverify, boolean nojit, Vector D) {
         super(noasyncgc,verbosegc,noclassgc,ss,oss,ms,mx,classpath,prof,
             verify,noverify,nojit,D);
     }
     
-    public jdk17(String classpath, Vector D) {
+    public jdk18(String classpath, Vector D) {
         super(classpath,D);
     }
     
-    public jdk17(long ms, long mx, String classpath, Vector D) {
+    public jdk18(long ms, long mx, String classpath, Vector D) {
         super(ms,mx,classpath,D);
     }
     
-    public jdk17() { }
+    public jdk18() { }
     
     
     public Vector getCommandLine() {
@@ -59,11 +59,11 @@ public class jdk17 extends jvm {
     }
     
     public void appendOtherFlags(StringBuffer sb) {
-        if (noasyncgc) warn("jdk17 does not support noasyncgc");
+        if (noasyncgc) warn("jdk18 does not support noasyncgc");
         if (verbosegc) sb.append(" -verbose:gc");
         if (noclassgc) sb.append(" -Xnoclassgc");
-        if (ss>=0) warn("jdk17 does not support ss");
-        if (oss>=0) warn("jdk17 does not support oss");
+        if (ss>=0) warn("jdk18 does not support ss");
+        if (oss>=0) warn("jdk18 does not support oss");
         if (ms>=0) {
             sb.append(" -ms");
             sb.append(ms);
@@ -76,9 +76,9 @@ public class jdk17 extends jvm {
             sb.append(" -classpath ");
             sb.append(classpath);
         }
-        if (prof!=null) warn("jdk17 does not support prof");
-        if (verify) warn("jdk17 does not support verify");
-        if (noverify) warn("jdk17 does not support noverify");
+        if (prof!=null) warn("jdk18 does not support prof");
+        if (verify) warn("jdk18 does not support verify");
+        if (noverify) warn("jdk18 does not support noverify");
         if (nojit) sb.append(" -Djava.compiler=NONE");
         if (D != null)
             for (int i=0; i<D.size();i++) {



Mime
View raw message