[jira] [Commented] (GROOVY-7732) NioGroovyMethods compiled for java 7 in non-indy groovy

2016-01-21 Thread JIRA

[ 
https://issues.apache.org/jira/browse/GROOVY-7732?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15110448#comment-15110448
 ] 

Rafael Gonçalves Sampaio commented on GROOVY-7732:
--

That would be superb! Maybe something like stating that groovy-nio 
module(introduced on 2.3) requires java 7.

> NioGroovyMethods compiled for java 7 in non-indy groovy
> ---
>
> Key: GROOVY-7732
> URL: https://issues.apache.org/jira/browse/GROOVY-7732
> Project: Groovy
>  Issue Type: Bug
>  Components: groovy-runtime
>Affects Versions: 2.4.5
> Environment: jdk 1.6u45
> groovy-all-2.3.x.jar or groovy-all-2.4.x.jar
>Reporter: Rafael Gonçalves Sampaio
>Priority: Minor
>  Labels: groovy-all
>
> As per docs non-indy versions of groovy requires jvm 1.6, but this error is 
> being issued when running a jasper report compiled with groovy versions above 
> 2.2.2. using java 6. Report is still shown but lots of verbose in log.
> java.lang.UnsupportedClassVersionError: 
> org/codehaus/groovy/runtime/NioGroovyMethods : Unsupported major.minor 
> version 51.0



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (GROOVY-7732) NioGroovyMethods compiled for java 7 in non-indy groovy

2016-01-21 Thread JIRA

[ 
https://issues.apache.org/jira/browse/GROOVY-7732?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15110449#comment-15110449
 ] 

Rafael Gonçalves Sampaio commented on GROOVY-7732:
--

That would be superb! Maybe something like stating that groovy-nio 
module(introduced on 2.3) requires java 7.

> NioGroovyMethods compiled for java 7 in non-indy groovy
> ---
>
> Key: GROOVY-7732
> URL: https://issues.apache.org/jira/browse/GROOVY-7732
> Project: Groovy
>  Issue Type: Bug
>  Components: groovy-runtime
>Affects Versions: 2.4.5
> Environment: jdk 1.6u45
> groovy-all-2.3.x.jar or groovy-all-2.4.x.jar
>Reporter: Rafael Gonçalves Sampaio
>Priority: Minor
>  Labels: groovy-all
>
> As per docs non-indy versions of groovy requires jvm 1.6, but this error is 
> being issued when running a jasper report compiled with groovy versions above 
> 2.2.2. using java 6. Report is still shown but lots of verbose in log.
> java.lang.UnsupportedClassVersionError: 
> org/codehaus/groovy/runtime/NioGroovyMethods : Unsupported major.minor 
> version 51.0



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (GROOVY-7732) NioGroovyMethods compiled for java 7 in non-indy groovy

2016-01-20 Thread JIRA

[ 
https://issues.apache.org/jira/browse/GROOVY-7732?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15108502#comment-15108502
 ] 

Rafael Gonçalves Sampaio commented on GROOVY-7732:
--

Thank you guys for your suggestion on my problem. What I really did was 
changing the dependency to groovy-all 2.2.2. 
I thought that opening this issue would help others that face this sort of 
error and also make, at least, an amendment on docs on download page 
(http://groovy-lang.org/download.html#requirements) that state about System 
Requirements. IMHO, since something that is compiled for java 7 and would only 
work on java 7 it should not state that the requirement is java 6 as it is too 
generic, neither show that ugly "Unsupported major.minor version 51.0" message. 
Maybe, if the packaging of groovy-all must still contain the groovy-nio, it 
should be explicit on requirements.
Kindly,
Rafael

> NioGroovyMethods compiled for java 7 in non-indy groovy
> ---
>
> Key: GROOVY-7732
> URL: https://issues.apache.org/jira/browse/GROOVY-7732
> Project: Groovy
>  Issue Type: Bug
>  Components: groovy-runtime
>Affects Versions: 2.4.5
> Environment: jdk 1.6u45
> groovy-all-2.3.x.jar or groovy-all-2.4.x.jar
>Reporter: Rafael Gonçalves Sampaio
>Priority: Minor
>  Labels: groovy-all
>
> As per docs non-indy versions of groovy requires jvm 1.6, but this error is 
> being issued when running a jasper report compiled with groovy versions above 
> 2.2.2. using java 6. Report is still shown but lots of verbose in log.
> java.lang.UnsupportedClassVersionError: 
> org/codehaus/groovy/runtime/NioGroovyMethods : Unsupported major.minor 
> version 51.0



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)