Update for jdk1.7.0 >= u25: use CallerSensitive annotation#13
Update for jdk1.7.0 >= u25: use CallerSensitive annotation#13oleastre wants to merge 1 commit intospring-projects:masterfrom
Conversation
|
Please can you explain better what I have to do? Sorry for my ignorance, I'm really disappointed for this bug. |
|
I suppose you are coming from the grails bug report. You can either try to clone my branch of spring-loaded, compile and package it yourself. Then replace the grails 2.2.3 springloaded jar with the new one (as explaine in grails jira.) |
|
On 19 July 2013 00:03, Olivier Samyn notifications@github.com wrote:
./lib/org.springsource.springloaded/springloaded-core/jars/springloaded-core-1.1.3.jar |
|
yesssssssssssssss, I've copied and renamed to springloaded-core-1.1.3.jar your file and all seems to work. |
|
I'd rather not break the behaviour on the older JDKs at the moment, so we need a fix that doesn't cause that problem. But I guess I could put this into a branch of the main repo as I'm not sure when I'll have time to do a proper solution that supports old and new jdk levels. |
|
Hi, |
|
So the this solution is above written by oleastre ? :-D |
I had like many others problem running grails applications using the latest jdk version.
As I still have problems with the fedora openjdk (based on and early icedtea 2.3.10), I tried to replace the getCallerClass(depth) calls with the new CallerSensitive annotation (see http://openjdk.java.net/jeps/176).
This pull request is a proof of concept that breaks compatibility with older jdk releases, but can be useful for future jdk updates.
Tests seems to pass and grails applications are running correctly.