Andreas Stadelmeier stan
  • Joined on 2023-11-14
stan opened issue JavaTX/JavaCompilerCore#9 2016-03-22 14:56:06 +00:00
Es gibt ein Problem mit Wildcards bei der momentan verwendeten Methode der Bytecodegenerierung. Zu einer Typ Vector<Integer> wird beispielsweise der Type Vector%Integer% extends Vector<Integ…
stan commented on issue JavaTX/JavaCompilerCore#1 2016-02-18 18:28:36 +00:00
Sprünge im Bytecode benötigen StackMapTable

StackMapTable wurde implementiert. Bisher nur für einfache Testfälle getestet. Siehe Commit in Branch refactoring a4ea466fe63af93dfa982b8b52d414f1dbfeba7d

stan opened issue JavaTX/JavaCompilerCore#8 2015-11-13 13:30:42 +00:00
Zuteilung: Enrico Testfall: class NewNew{ Vector<Integer> vi; void methode(){ vi = new Vector<Integer>(); } } Bemerkung: new Vector<Integer>(); muss Vector%Integer% generieren.
stan commented on issue JavaTX/JavaCompilerCore#7 2015-11-13 12:30:42 +00:00
Mehrere Lösungen in einer Classfile

class Test{

    methode2(String b){
    }
    methode2(Integer b){
    }

    methode(p){
            methode(p);
    }

}

stan commented on issue JavaTX/JavaCompilerCore#6 2015-11-06 17:56:45 +00:00
ClassCast-Exception beim Id-Beispiel

Fehler tritt bei Bytecode auf.

java.lang.ClassCastException: de.dhbwstuttgart.syntaxtree.type.ExtendsWildcardType cannot be cast to de.dhbwstuttgart.syntaxtree.type.RefType at de.dhbwstutt…

stan opened issue JavaTX/JavaCompilerCore#7 2015-11-06 12:56:08 +00:00
Folgender Test: class Test{ methode(v, x){ v.add(x); } methode(){ methode(new Vector<String>(),"hallo"); methode(new Vecto…
stan opened issue JavaTX/JavaCompilerCore#5 2015-10-30 17:59:51 +00:00
Sollte funktionieren: class Test{ public static void main(String[] args){ Test t; t = new Test(); } }
stan opened issue JavaTX/JavaCompilerCore#4 2015-10-29 17:51:34 +00:00
Dieser Test sollte laufen: (Fortgeschrittenes Projektziel) class Test{ void methode(Vector<? extends Object> p){ Vector<String> t; methode(t); }
stan commented on issue JavaTX/JavaCompilerCore#3 2015-10-29 17:34:42 +00:00
Enrico auf CC mail Liste setzen

Schon erledigt

stan opened issue JavaTX/JavaCompilerCore#3 2015-10-29 17:34:27 +00:00
stan commented on issue JavaTX/JavaCompilerCore#2 2015-10-29 17:33:38 +00:00
Typen im Bytecode ersetzen (auch in Feldern)

Enrico zu CC anfügen

stan commented on issue JavaTX/JavaCompilerCore#2 2015-10-29 17:31:52 +00:00
Typen im Bytecode ersetzen (auch in Feldern)

nur Test

stan opened issue JavaTX/JavaCompilerCore#2 2015-10-29 17:30:40 +00:00
Dieser Testfall sollte funktionieren: OverloadingReplace.jav import java.util.Vector; class OverloadingReplace{ Vector<String> test; void method(){ method(test); } void method(Vecto…
stan commented on issue JavaTX/JavaCompilerCore#178 2015-10-29 14:47:40 +00:00
Erzeugen von Bytecode, wenn keine Lösung mehr auswählbar ist

(In reply to Martin Plümicke from comment #3)

Für folgende beiden Beispiel wird kein Bytecode erzeugt, obwohl keine Typen mehr einsetzbar sind.

1.) import java.util.Vector;

clas…

stan commented on issue JavaTX/JavaCompilerCore#179 2015-10-23 16:24:21 +00:00
public static void main

Siehe Test: /test/bytecode/MainTest.java

commit: 36a3aeddb3829a1e17b5c0814a975f4e140c919d

stan opened issue JavaTX/JavaCompilerCore#250 2015-10-23 14:43:19 +00:00
UnifyPairFactory erstellt Typen, welche keinen Parent SyntaxTreeNode haben (sondern null). Hier könnte ein NullSyntaxTreeNode erstellt werden.
stan opened issue JavaTX/JavaCompilerCore#1 2015-10-15 18:15:23 +00:00
Siehe https://stackoverflow.com/questions/26072210/construct-the-stackmap-of-method-while-using-bcel Ab Java8 benötigen Methoden, welche Sprünge (Branches) enthalten eine Stackmaptable. Wir…
stan commented on issue JavaTX/JavaCompilerCore#178 2015-10-15 18:13:21 +00:00
Erzeugen von Bytecode, wenn keine Lösung mehr auswählbar ist

Änderungen durchgeführt. Siehe Commit 72dc22ff1d29615c2b7be51ed64322a65eab4a35

stan commented on issue JavaTX/JavaCompilerCore#176 2015-09-28 19:54:58 +00:00
Function argument funktioniert nicht

Fehler ist lokalisiert. Es muss richtig heißen:

class Lambda2<A,R extends A> { Fun1<A, ? super Fun1<R, Integer>> op = (f) -> f.apply(new Integer(2)); }

Die Abhängigkeit R extends…

stan commented on issue JavaTX/JavaCompilerCore#176 2015-09-28 17:43:00 +00:00
Function argument funktioniert nicht

(In reply to Martin Plümicke from comment #2)

Folgendes funktioniert nicht. Warum? class Test3 { public static void main(String[] args){ Matrix m2 = new Matrix(); m2.op.apply…