History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: GROOVY-2800
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Jochen Theodorou
Reporter: Jochen Theodorou
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
groovy

wrong use of generics in stub compiler

Created: 02/May/08 08:57 AM   Updated: 02/May/08 09:16 AM
Component/s: None
Affects Version/s: 1.5.6
Fix Version/s: 1.6-beta-1, 1.5.7

Time Tracking:
Not Specified


 Description  « Hide
with the code

public java.util.List findAllProcessesForActivityType(java.lang.Long activityTypeId) {

}

the Stubgenerator generates this:

public java.util.List<E extends java.lang.Object> findAllProcessesForActivityType(java.lang.Long activityTypeId) { return (java.util.List<E extends java.lang.Object>)null; }

this may be the result of a bug fix in 1.5.6. This won't compile, because the syntax is wrong.



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Jochen Theodorou - 02/May/08 09:16 AM
fixed