Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.7.4
-
Fix Version/s: 1.6.8, 1.7.4, 1.8-beta-1
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
Although the CompilerConfiguration has a flag called targetBytecode that is used to override the default targetBytecode version determined by groovy compiler, <groovyc> does not provide any option to specify it.
So, if you are using <groovyc> to compile the scripts, the default targetBytecode cannot be overridden. It needs to expose an attribute and connect it to CompilerConfiguration's targetBytecode flag.
This is now fixed on 1.7.x and 1.8.x.
Waiting for confirmation on whether it is ok to fix it on 1.6.x.