modified: resources/AllgemeinTest/Box.jav

deleted:    resources/bytecode/javFiles/Box.java
	modified:   src/test/java/AllgemeinTest.java
This commit is contained in:
pl@gohorb.ba-horb.de 2024-07-24 23:23:39 +02:00
parent 4dba867f9e
commit fdffc11580
3 changed files with 5 additions and 6 deletions

View File

@ -1,8 +1,9 @@
class Box<A> { public class Box<A> {
A a; A a;
public Box() { }
public Box(A a) { public Box(A a) {
this.a = a; //this.a = a;
} }
} }

View File

@ -1,3 +0,0 @@
class Box<A> {
void m(A a) { }
}

View File

@ -66,7 +66,8 @@ public class AllgemeinTest {
//String className = "WildcardList"; //String className = "WildcardList";
//String className = "List"; //String className = "List";
//String className = "Box"; //String className = "Box";
String className = "GenBox"; //String className = "GenBox";
String className = "InnerInf";
//PL 2019-10-24: genutzt fuer unterschiedliche Tests //PL 2019-10-24: genutzt fuer unterschiedliche Tests
path = System.getProperty("user.dir")+"/resources/AllgemeinTest/" + className + ".jav"; path = System.getProperty("user.dir")+"/resources/AllgemeinTest/" + className + ".jav";
//path = System.getProperty("user.dir")+"/src/test/resources/AllgemeinTest/Overloading_Generics.jav"; //path = System.getProperty("user.dir")+"/src/test/resources/AllgemeinTest/Overloading_Generics.jav";