-
Enhancement
-
Resolution: Unresolved
-
P5
-
6
-
generic
-
generic
Tried on Linux JDK build 1.6.0-auto-094
Error message needs to be improved in the following case.
Testcase:
<code>
public class Test22<T>{
private static T getT<T>(){
}
}
</code>
Output when compiled:
<output>
Test22.java:2: ';' expected
private static T getT<T>(){
^
1 error
</output>
Error message is misleading to the user. Can be improved for better understanding.
###@###.### 2005-04-27 05:11:38 GMT
Error message needs to be improved in the following case.
Testcase:
<code>
public class Test22<T>{
private static T getT<T>(){
}
}
</code>
Output when compiled:
<output>
Test22.java:2: ';' expected
private static T getT<T>(){
^
1 error
</output>
Error message is misleading to the user. Can be improved for better understanding.
###@###.### 2005-04-27 05:11:38 GMT