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

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

Hi Pascal. I do understand now why it should be compiled with java 7. I'm not 
sure either why compilation of my reports link to NIO either, since i don't do 
anything special like accessing Paths. Perhaps due to subreports. All I know is 
that the error is being shown on Java 6, but as per Doc, it states this are 
compliant with java 6. 
IMHO, As Java 7 is a must for NIO, the compatibility should be changed or the 
compiler linkage should be changed upon target environment, or the environment 
should be tested whenever using / loading this class.

Kindly,
Rafael Sampaio


> 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)

Reply via email to