Issue Details (XML | Word | Printable)

Key: GRAILSPLUGINS-375
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Graham Bakay
Reporter: Nick Pellow
Votes: 0
Watchers: 0
Operations

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

Compilation error in Crowd plugin - version 0.3: "static not allowed here"

Created: 18/May/08 02:20 AM   Updated: 04/Sep/08 05:27 PM
Component/s: Grails-Crowd
Affects Version/s: Grails-Crowd 0.3
Fix Version/s: Grails-Crowd 0.4

Time Tracking:
Not Specified


 Description  « Hide
version 0.3 of the Crowd plugin does not compile:
generated-java-source/org/codehaus/grails/plugins/crowd/util/CrowdAuthUtils.java:11: modifier static not allowed here
public static class CrowdAuthUtils
              ^
generated-java-source/org/codehaus/grails/plugins/crowd/util/CrowdUtils.java:11: modifier static not allowed here
public static class CrowdUtils
              ^
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
2 errors
Compilation error: Compile failed; see the compiler error output for details.

Removing the static keywords from these two classes fixes the problem.



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Graham Bakay added a comment - 16/Jun/08 01:44 AM
I'll take a look at it. I haven't looked at it since the Codegeist deadline (some forced time away from it) but I'll look at it this week.

Nick Pellow added a comment - 16/Jun/08 07:56 PM
Thanks Graham.

Excellent plugin by the way.