Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Duplicate
-
Affects Version/s: 1.8.6
-
Fix Version/s: None
-
Component/s: parser-antlr
-
Number of attachments :
Description
This will compile:
static <T> T getBean(final Class<T> clazz)
{ return null }but this will not:
<T> T getBean(final Class<T> clazz) { return null }
Both forms are legal Java constructs.
If you prefix the method with a "def" it will compile.