|
Message
From: cvs at opencores.org<cvs@o...>
Date: Thu Aug 16 17:25:54 CEST 2007
Subject: [cvs-checkins] MODIFIED: jop ...
Date: 00/07/08 16:17:25 Modified: jop/java/target/src/test/gcinc SimpGC3.java testObject.java typeA.java typeB.java Log: no message Revision Changes Path 1.2 jop/java/target/src/test/gcinc/SimpGC3.java http://www.opencores.org/cvsweb.shtml/jop/java/target/src/test/gcinc/SimpGC3.java.diff?r1=1.1&r2=1.2 (In the diff below, changes in quantity of whitespace are not shown.) Index: SimpGC3.java =================================================================== RCS file: /cvsroot/martin/jop/java/target/src/test/gcinc/SimpGC3.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -b -r1.1 -r1.2 --- SimpGC3.java 30 Jul 2007 10:57:53 -0000 1.1 +++ SimpGC3.java 16 Aug 2007 15:25:53 -0000 1.2 @@ -18,7 +18,7 @@ } nr = 1; } else if (nr==1) { - System.out.println(length); + //System.out.println(length); // check the list if (list.size()!=length) throw new Error("Size changed"); testObject to; @@ -43,14 +43,14 @@ */ public static void main(String[] args) { a = new SimpGC3(10); - b = new SimpGC3(26); + b = new SimpGC3(10); c = new SimpGC3(10); //GC.setConcurrent(); for (;;) { a.run(); b.run(); c.run(); - System.out.println("I'm running"); + // System.out.println("I'm running"); } } 1.2 jop/java/target/src/test/gcinc/testObject.java http://www.opencores.org/cvsweb.shtml/jop/java/target/src/test/gcinc/testObject.java.diff?r1=1.1&r2=1.2 (In the diff below, changes in quantity of whitespace are not shown.) Index: testObject.java =================================================================== RCS file: /cvsroot/martin/jop/java/target/src/test/gcinc/testObject.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -b -r1.1 -r1.2 --- testObject.java 30 Jul 2007 10:59:04 -0000 1.1 +++ testObject.java 16 Aug 2007 15:25:53 -0000 1.2 @@ -1,5 +1,5 @@ package gcinc; -public interface testObject { - -public boolean testYourself(int i); +public class testObject { + public int myInt1,myInt2,myInt3; + public boolean testYourself(int i){return true;} } 1.2 jop/java/target/src/test/gcinc/typeA.java http://www.opencores.org/cvsweb.shtml/jop/java/target/src/test/gcinc/typeA.java.diff?r1=1.1&r2=1.2 (In the diff below, changes in quantity of whitespace are not shown.) Index: typeA.java =================================================================== RCS file: /cvsroot/martin/jop/java/target/src/test/gcinc/typeA.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -b -r1.1 -r1.2 --- typeA.java 30 Jul 2007 10:57:53 -0000 1.1 +++ typeA.java 16 Aug 2007 15:25:53 -0000 1.2 @@ -1,7 +1,6 @@ package gcinc; -public class typeA implements testObject{ +public class typeA extends testObject{ - private int myInt1,myInt2,myInt3; public boolean testYourself(int i){ boolean isOk;
1.2 jop/java/target/src/test/gcinc/typeB.java
http://www.opencores.org/cvsweb.shtml/jop/java/target/src/test/gcinc/typeB.java.diff?r1=1.1&r2=1.2
(In the diff below, changes in quantity of whitespace are not shown.)
Index: typeB.java
===================================================================
RCS file: /cvsroot/martin/jop/java/target/src/test/gcinc/typeB.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- typeB.java 30 Jul 2007 10:57:53 -0000 1.1
+++ typeB.java 16 Aug 2007 15:25:53 -0000 1.2
@@ -1,11 +1,11 @@
package gcinc;
-public class typeB implements testObject{
- int myInt1,myInt2,myInt3;
+public class typeB extends testObject{
+
public boolean testYourself(int i){
boolean isOk;
- isOk= (myInt1/i)/i==i && (myInt2-i)/4==i && (((myInt3-6)/i)-5)/(4*i)==i;
- return true;
+ isOk= (myInt1/i)/i==i && (myInt2-i)/4==i && (((myInt3-6)/i)-5)/(4)==i;
+ return isOk;
}
public typeB(int i){
|
 |