FC wird falsch generiert #256

Open
opened 2017-11-01 23:06:53 +00:00 by pl · 0 comments
Owner

Im JUnittest FiniteClosureTest_Matrix mit FC_Matrix.jav

import java.util.Vector;
import java.util.AbstractList;

class Matrix extends Vector<Vector> {

methode(Matrix m) {
Vector<Vector> i;
methode(i);
}
}

liefert fc nur einen Grahen, in dem jedem Element nur das Element selber zugearnet wird:

{java.util.AbstractList=Node(java.util.AbstractList)
, java.util.Vector<java.util.Vector<java.lang.Integer>>=Node(java.util.Vector<java.util.Vector<java.lang.Integer>>)
, java.util.AbstractList=Node(java.util.AbstractList)
, Matrix=Node(Matrix)
, java.util.Vector=Node(java.util.Vector)
, java.util.AbstractCollection=Node(java.util.AbstractCollection)
}

Im JUnittest FiniteClosureTest_Matrix mit FC_Matrix.jav import java.util.Vector; import java.util.AbstractList; class Matrix extends Vector<Vector<Integer>> { methode(Matrix m) { Vector<Vector<Integer>> i; methode(i); } } liefert fc nur einen Grahen, in dem jedem Element nur das Element selber zugearnet wird: {java.util.AbstractList<JV>=Node(java.util.AbstractList<JV>) , java.util.Vector<java.util.Vector<java.lang.Integer>>=Node(java.util.Vector<java.util.Vector<java.lang.Integer>>) , java.util.AbstractList=Node(java.util.AbstractList) , Matrix=Node(Matrix) , java.util.Vector<JU>=Node(java.util.Vector<JU>) , java.util.AbstractCollection=Node(java.util.AbstractCollection) }
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: JavaTX/JavaCompilerCore#256
No description provided.