-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P4
-
Affects Version/s: repo-amber
-
Component/s: tools
-
generic
-
generic
Consider the following program:
public class X {
public static void main(String args []) {
<T> int foo(T t) {
return 10;
}
}
}
The source position for the JCMethodDecl that corresponds to foo has its pos set to the co-ordinates of the <T>. It should actually be set to that of "foo".
public class X {
public static void main(String args []) {
<T> int foo(T t) {
return 10;
}
}
}
The source position for the JCMethodDecl that corresponds to foo has its pos set to the co-ordinates of the <T>. It should actually be set to that of "foo".