[GitHub] [groovy] danielsun1106 commented on issue #1221: Cache gradle repository to speed-up github actions builds.

2020-04-13 Thread GitBox
danielsun1106 commented on issue #1221: Cache gradle repository to speed-up 
github actions builds.
URL: https://github.com/apache/groovy/pull/1221#issuecomment-61397
 
 
   Merged. Thanks!


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [groovy] danielsun1106 closed pull request #1221: Cache gradle repository to speed-up github actions builds.

2020-04-13 Thread GitBox
danielsun1106 closed pull request #1221: Cache gradle repository to speed-up 
github actions builds.
URL: https://github.com/apache/groovy/pull/1221
 
 
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [groovy] PascalSchumacher opened a new pull request #1221: Cache gradle repository to speed-up github actions builds.

2020-04-13 Thread GitBox
PascalSchumacher opened a new pull request #1221: Cache gradle repository to 
speed-up github actions builds.
URL: https://github.com/apache/groovy/pull/1221
 
 
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [groovy] KamilJedrzejuk commented on issue #1222: GROOVY-9505: Bump ASM_API_VERSION to Opcodes.ASM8

2020-04-13 Thread GitBox
KamilJedrzejuk commented on issue #1222: GROOVY-9505: Bump ASM_API_VERSION to 
Opcodes.ASM8
URL: https://github.com/apache/groovy/pull/1222#issuecomment-613091884
 
 
   
![image](https://user-images.githubusercontent.com/10248783/79159946-45c2f000-7dd9-11ea-9eb9-6c58c205f895.png)
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[jira] [Updated] (GROOVY-9505) Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 on JDK 14 in Spock tests

2020-04-13 Thread Kamil Jedrzejuk (Jira)


 [ 
https://issues.apache.org/jira/browse/GROOVY-9505?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kamil Jedrzejuk updated GROOVY-9505:

Attachment: image-2020-04-13-21-57-29-711.png

> Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 on JDK 14 in 
> Spock tests
> -
>
> Key: GROOVY-9505
> URL: https://issues.apache.org/jira/browse/GROOVY-9505
> Project: Groovy
>  Issue Type: Bug
>  Components: Compiler
>Affects Versions: 3.0.3
> Environment: Ubuntu 20.04
> Intellij IDEA IntelliJ IDEA 2020.1 (Ultimate Edition)
> Build #IU-201.6668.121, built on April 8, 2020
> Runtime version: 11.0.6+8-b765.25 amd64
> Adopt Open JDK 14.0.0.hs-adpt
>Reporter: Kamil Jedrzejuk
>Priority: Critical
> Attachments: Screenshot from 2020-04-12 22-23-10.png, Screenshot from 
> 2020-04-12 22-23-52.png, image-2020-04-13-15-35-10-149.png, 
> image-2020-04-13-15-35-15-834.png, image-2020-04-13-15-51-39-107.png, 
> image-2020-04-13-16-31-38-734.png, image-2020-04-13-16-31-47-635.png, 
> image-2020-04-13-16-32-50-825.png, image-2020-04-13-20-09-35-617.png, 
> image-2020-04-13-21-57-29-711.png
>
>   Original Estimate: 720h
>  Time Spent: 40m
>  Remaining Estimate: 719h 20m
>
> I have a problem with integration tests.  I've updated  Java from 11 to 14.
> I can compile my application, but I can't run a integration tests.
> I'm using a Gradle 6.3
> Open JDK 14
> Spring Boot 2.4
> 2.0-M2-groovy-3.0
>  
> The code you can find here 
> [https://github.com/KamilJedrzejuk/weatherinformer/tree/develop]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (GROOVY-9505) Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 on JDK 14 in Spock tests

2020-04-13 Thread Kamil Jedrzejuk (Jira)


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

Kamil Jedrzejuk commented on GROOVY-9505:
-

Hmm I think that is still a problem with downloading some libs:

!image-2020-04-13-21-57-29-711.png!

> Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 on JDK 14 in 
> Spock tests
> -
>
> Key: GROOVY-9505
> URL: https://issues.apache.org/jira/browse/GROOVY-9505
> Project: Groovy
>  Issue Type: Bug
>  Components: Compiler
>Affects Versions: 3.0.3
> Environment: Ubuntu 20.04
> Intellij IDEA IntelliJ IDEA 2020.1 (Ultimate Edition)
> Build #IU-201.6668.121, built on April 8, 2020
> Runtime version: 11.0.6+8-b765.25 amd64
> Adopt Open JDK 14.0.0.hs-adpt
>Reporter: Kamil Jedrzejuk
>Priority: Critical
> Attachments: Screenshot from 2020-04-12 22-23-10.png, Screenshot from 
> 2020-04-12 22-23-52.png, image-2020-04-13-15-35-10-149.png, 
> image-2020-04-13-15-35-15-834.png, image-2020-04-13-15-51-39-107.png, 
> image-2020-04-13-16-31-38-734.png, image-2020-04-13-16-31-47-635.png, 
> image-2020-04-13-16-32-50-825.png, image-2020-04-13-20-09-35-617.png, 
> image-2020-04-13-21-57-29-711.png
>
>   Original Estimate: 720h
>  Time Spent: 40m
>  Remaining Estimate: 719h 20m
>
> I have a problem with integration tests.  I've updated  Java from 11 to 14.
> I can compile my application, but I can't run a integration tests.
> I'm using a Gradle 6.3
> Open JDK 14
> Spring Boot 2.4
> 2.0-M2-groovy-3.0
>  
> The code you can find here 
> [https://github.com/KamilJedrzejuk/weatherinformer/tree/develop]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[GitHub] [groovy] szpak commented on issue #1222: GROOVY-9505: Bump ASM_API_VERSION to Opcodes.ASM8

2020-04-13 Thread GitBox
szpak commented on issue #1222: GROOVY-9505: Bump ASM_API_VERSION to 
Opcodes.ASM8
URL: https://github.com/apache/groovy/pull/1222#issuecomment-613049991
 
 
   You may also rebase your commit into one, along the way.


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [groovy] szpak commented on issue #1222: GROOVY-9505: Bump ASM_API_VERSION to Opcodes.ASM8

2020-04-13 Thread GitBox
szpak commented on issue #1222: GROOVY-9505: Bump ASM_API_VERSION to 
Opcodes.ASM8
URL: https://github.com/apache/groovy/pull/1222#issuecomment-613049701
 
 
   It seems to be a random error on a dependency downloading. Try:
   ```
   git commit --amend
   git push --force-with-lease
   ```
   to re-trigger the build.


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[jira] [Commented] (GROOVY-9505) Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 on JDK 14 in Spock tests

2020-04-13 Thread Kamil Jedrzejuk (Jira)


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

Kamil Jedrzejuk commented on GROOVY-9505:
-

I could not make a pull request :

!image-2020-04-13-20-09-35-617.png!

> Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 on JDK 14 in 
> Spock tests
> -
>
> Key: GROOVY-9505
> URL: https://issues.apache.org/jira/browse/GROOVY-9505
> Project: Groovy
>  Issue Type: Bug
>  Components: Compiler
>Affects Versions: 3.0.3
> Environment: Ubuntu 20.04
> Intellij IDEA IntelliJ IDEA 2020.1 (Ultimate Edition)
> Build #IU-201.6668.121, built on April 8, 2020
> Runtime version: 11.0.6+8-b765.25 amd64
> Adopt Open JDK 14.0.0.hs-adpt
>Reporter: Kamil Jedrzejuk
>Priority: Critical
> Attachments: Screenshot from 2020-04-12 22-23-10.png, Screenshot from 
> 2020-04-12 22-23-52.png, image-2020-04-13-15-35-10-149.png, 
> image-2020-04-13-15-35-15-834.png, image-2020-04-13-15-51-39-107.png, 
> image-2020-04-13-16-31-38-734.png, image-2020-04-13-16-31-47-635.png, 
> image-2020-04-13-16-32-50-825.png, image-2020-04-13-20-09-35-617.png
>
>   Original Estimate: 720h
>  Time Spent: 20m
>  Remaining Estimate: 719h 40m
>
> I have a problem with integration tests.  I've updated  Java from 11 to 14.
> I can compile my application, but I can't run a integration tests.
> I'm using a Gradle 6.3
> Open JDK 14
> Spring Boot 2.4
> 2.0-M2-groovy-3.0
>  
> The code you can find here 
> [https://github.com/KamilJedrzejuk/weatherinformer/tree/develop]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (GROOVY-9505) Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 on JDK 14 in Spock tests

2020-04-13 Thread Kamil Jedrzejuk (Jira)


 [ 
https://issues.apache.org/jira/browse/GROOVY-9505?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kamil Jedrzejuk updated GROOVY-9505:

Attachment: image-2020-04-13-20-09-35-617.png

> Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 on JDK 14 in 
> Spock tests
> -
>
> Key: GROOVY-9505
> URL: https://issues.apache.org/jira/browse/GROOVY-9505
> Project: Groovy
>  Issue Type: Bug
>  Components: Compiler
>Affects Versions: 3.0.3
> Environment: Ubuntu 20.04
> Intellij IDEA IntelliJ IDEA 2020.1 (Ultimate Edition)
> Build #IU-201.6668.121, built on April 8, 2020
> Runtime version: 11.0.6+8-b765.25 amd64
> Adopt Open JDK 14.0.0.hs-adpt
>Reporter: Kamil Jedrzejuk
>Priority: Critical
> Attachments: Screenshot from 2020-04-12 22-23-10.png, Screenshot from 
> 2020-04-12 22-23-52.png, image-2020-04-13-15-35-10-149.png, 
> image-2020-04-13-15-35-15-834.png, image-2020-04-13-15-51-39-107.png, 
> image-2020-04-13-16-31-38-734.png, image-2020-04-13-16-31-47-635.png, 
> image-2020-04-13-16-32-50-825.png, image-2020-04-13-20-09-35-617.png
>
>   Original Estimate: 720h
>  Time Spent: 20m
>  Remaining Estimate: 719h 40m
>
> I have a problem with integration tests.  I've updated  Java from 11 to 14.
> I can compile my application, but I can't run a integration tests.
> I'm using a Gradle 6.3
> Open JDK 14
> Spring Boot 2.4
> 2.0-M2-groovy-3.0
>  
> The code you can find here 
> [https://github.com/KamilJedrzejuk/weatherinformer/tree/develop]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (GROOVY-9506) Joint compilation is broken

2020-04-13 Thread Daniil Ovchinnikov (Jira)


 [ 
https://issues.apache.org/jira/browse/GROOVY-9506?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Daniil Ovchinnikov updated GROOVY-9506:
---
Description: 
{code:title=playground.groovy}
@groovy.transform.AutoImplement
class C implements Runnable {}

class Main {
static void main(String[] args) {
def c = new C()
c.run()
}
}
{code}

{code:title=I.java}
public interface I {
  void foo();
}
{code}

{noformat}
$ groovyc I.java playground.groovy -j
$ java -cp .:$GROOVY_HOME/lib/groovy-2.5.10.jar Main
Exception in thread "main" java.lang.NullPointerException
at 
org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:37)
at 
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
at 
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:115)
at 
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:119)
at Main.main(playground.groovy:9)
{noformat}

What happens:
1. {{org.codehaus.groovy.tools.javac.JavaStubGenerator#printClassContents}} 
applies its {{Verifier}}. 
2. {{org.codehaus.groovy.classgen.Verifier#addGroovyObjectInterfaceAndMethods}} 
adds {{GroovyObject}} interface and {{GroovyObject}}'s methods via 
{{org.codehaus.groovy.classgen.Verifier#addMethod}}.
3. {{Verifier#addMethod}} is overridden in {{#printClassContents}}' 
{{Verifier}} to skip adding methods to the class node.
4. at the moment when {{@AutoImplement}} kicks in there exists the 
{{GroovyObject}} interface and no methods in the class node, so the 
transformation adds default method implementations.

Related: https://youtrack.jetbrains.com/issue/IDEA-237148

  was:
{code:title=playground.groovy}
@groovy.transform.AutoImplement
class C implements Runnable {}

class Main {
static void main(String[] args) {
def c = new C()
c.run()
}
}
{code}

{code:title=I.java}
public interface I {
  void foo();
}
{code}

{noformat}
$ groovyc I.java playground.groovy -j
$ java -cp .:$GROOVY_HOME/lib/groovy-2.5.10.jar Main
Exception in thread "main" java.lang.NullPointerException
at 
org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:37)
at 
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
at 
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:115)
at 
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:119)
at Main.main(playground.groovy:9)
{noformat}

What happens:
1. {{org.codehaus.groovy.tools.javac.JavaStubGenerator#printClassContents}} 
applies its {{Verifier}}. 
2. {{org.codehaus.groovy.classgen.Verifier#addGroovyObjectInterfaceAndMethods}} 
adds {{GroovyObject}} interface and {{GroovyObject}}'s methods}} via 
{{org.codehaus.groovy.classgen.Verifier#addMethod}}.
3. {{Verifier#addMethod}} is overridden in {{#printClassContents}}' 
{{Verifier}} to skip adding methods to the class node.
4. at the moment when {{@AutoImplement}} kicks in there exists the 
{{GroovyObject}} interface and no methods in the class node, so the 
transformation adds default method implementations.

Related: https://youtrack.jetbrains.com/issue/IDEA-237148


> Joint compilation is broken
> ---
>
> Key: GROOVY-9506
> URL: https://issues.apache.org/jira/browse/GROOVY-9506
> Project: Groovy
>  Issue Type: Bug
>Affects Versions: 2.5.10
>Reporter: Daniil Ovchinnikov
>Priority: Critical
>
> {code:title=playground.groovy}
> @groovy.transform.AutoImplement
> class C implements Runnable {}
> class Main {
> static void main(String[] args) {
> def c = new C()
> c.run()
> }
> }
> {code}
> {code:title=I.java}
> public interface I {
>   void foo();
> }
> {code}
> {noformat}
> $ groovyc I.java playground.groovy -j
> $ java -cp .:$GROOVY_HOME/lib/groovy-2.5.10.jar Main
> Exception in thread "main" java.lang.NullPointerException
>   at 
> org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:37)
>   at 
> org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
>   at 
> org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:115)
>   at 
> org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:119)
>   at Main.main(playground.groovy:9)
> {noformat}
> What happens:
> 1. {{org.codehaus.groovy.tools.javac.JavaStubGenerator#printClassContents}} 
> applies its {{Verifier}}. 
> 2. 
> {{org.codehaus.groovy.classgen.Verifier#addGroovyObjectInterfaceAndMethods}} 
> adds {{GroovyObject}} interface and {{GroovyObject}}'s methods via 
> {{org.codehaus.groovy.classgen.Verifier#addMethod}}.
> 3. {{Verifier#addMethod}} is 

[jira] [Created] (GROOVY-9506) Joint compilation is broken

2020-04-13 Thread Daniil Ovchinnikov (Jira)
Daniil Ovchinnikov created GROOVY-9506:
--

 Summary: Joint compilation is broken
 Key: GROOVY-9506
 URL: https://issues.apache.org/jira/browse/GROOVY-9506
 Project: Groovy
  Issue Type: Bug
Affects Versions: 2.5.10
Reporter: Daniil Ovchinnikov


{code:title=playground.groovy}
@groovy.transform.AutoImplement
class C implements Runnable {}

class Main {
static void main(String[] args) {
def c = new C()
c.run()
}
}
{code}

{code:title=I.java}
public interface I {
  void foo();
}
{code}

{noformat}
$ groovyc I.java playground.groovy -j
$ java -cp .:$GROOVY_HOME/lib/groovy-2.5.10.jar Main
Exception in thread "main" java.lang.NullPointerException
at 
org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:37)
at 
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
at 
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:115)
at 
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:119)
at Main.main(playground.groovy:9)
{noformat}

What happens:
1. {{org.codehaus.groovy.tools.javac.JavaStubGenerator#printClassContents}} 
applies its {{Verifier}}. 
2. {{org.codehaus.groovy.classgen.Verifier#addGroovyObjectInterfaceAndMethods}} 
adds {{GroovyObject}} interface and {{GroovyObject}}'s methods}} via 
{{org.codehaus.groovy.classgen.Verifier#addMethod}}.
3. {{Verifier#addMethod}} is overridden in {{#printClassContents}}' 
{{Verifier}} to skip adding methods to the class node.
4. at the moment when {{@AutoImplement}} kicks in there exists the 
{{GroovyObject}} interface and no methods in the class node, so the 
transformation adds default method implementations.

Related: https://youtrack.jetbrains.com/issue/IDEA-237148



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[GitHub] [groovy] KamilJedrzejuk commented on issue #1222: GROOVY-9505: Bump ASM_API_VERSION to Opcodes.ASM8

2020-04-13 Thread GitBox
KamilJedrzejuk commented on issue #1222: GROOVY-9505: Bump ASM_API_VERSION to 
Opcodes.ASM8
URL: https://github.com/apache/groovy/pull/1222#issuecomment-612929726
 
 
   
![image](https://user-images.githubusercontent.com/10248783/79129897-48582200-7da6-11ea-9708-61c37f5fa1cc.png)
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[jira] [Commented] (GROOVY-9505) Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 on JDK 14 in Spock tests

2020-04-13 Thread Kamil Jedrzejuk (Jira)


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

Kamil Jedrzejuk commented on GROOVY-9505:
-

Thank You Marcin for Your support! Have a nice day!

> Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 on JDK 14 in 
> Spock tests
> -
>
> Key: GROOVY-9505
> URL: https://issues.apache.org/jira/browse/GROOVY-9505
> Project: Groovy
>  Issue Type: Bug
>  Components: Compiler
>Affects Versions: 3.0.3
> Environment: Ubuntu 20.04
> Intellij IDEA IntelliJ IDEA 2020.1 (Ultimate Edition)
> Build #IU-201.6668.121, built on April 8, 2020
> Runtime version: 11.0.6+8-b765.25 amd64
> Adopt Open JDK 14.0.0.hs-adpt
>Reporter: Kamil Jedrzejuk
>Priority: Critical
> Attachments: Screenshot from 2020-04-12 22-23-10.png, Screenshot from 
> 2020-04-12 22-23-52.png, image-2020-04-13-15-35-10-149.png, 
> image-2020-04-13-15-35-15-834.png, image-2020-04-13-15-51-39-107.png, 
> image-2020-04-13-16-31-38-734.png, image-2020-04-13-16-31-47-635.png, 
> image-2020-04-13-16-32-50-825.png
>
>   Original Estimate: 720h
>  Time Spent: 10m
>  Remaining Estimate: 719h 50m
>
> I have a problem with integration tests.  I've updated  Java from 11 to 14.
> I can compile my application, but I can't run a integration tests.
> I'm using a Gradle 6.3
> Open JDK 14
> Spring Boot 2.4
> 2.0-M2-groovy-3.0
>  
> The code you can find here 
> [https://github.com/KamilJedrzejuk/weatherinformer/tree/develop]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Comment Edited] (GROOVY-9505) Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 on JDK 14 in Spock tests

2020-04-13 Thread Marcin Zajaczkowski (Jira)


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

Marcin Zajaczkowski edited comment on GROOVY-9505 at 4/13/20, 2:42 PM:
---

Yes, it's rather a separate issue related to the fact how integration tests are 
configured. Most likely not Java 14 related.


was (Author: szpak):
It's rather a separate issue related to the fact how integration tests are 
configured. Most likely not Java 14 related.

> Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 on JDK 14 in 
> Spock tests
> -
>
> Key: GROOVY-9505
> URL: https://issues.apache.org/jira/browse/GROOVY-9505
> Project: Groovy
>  Issue Type: Bug
>  Components: Compiler
>Affects Versions: 3.0.3
> Environment: Ubuntu 20.04
> Intellij IDEA IntelliJ IDEA 2020.1 (Ultimate Edition)
> Build #IU-201.6668.121, built on April 8, 2020
> Runtime version: 11.0.6+8-b765.25 amd64
> Adopt Open JDK 14.0.0.hs-adpt
>Reporter: Kamil Jedrzejuk
>Priority: Critical
> Attachments: Screenshot from 2020-04-12 22-23-10.png, Screenshot from 
> 2020-04-12 22-23-52.png, image-2020-04-13-15-35-10-149.png, 
> image-2020-04-13-15-35-15-834.png, image-2020-04-13-15-51-39-107.png, 
> image-2020-04-13-16-31-38-734.png, image-2020-04-13-16-31-47-635.png, 
> image-2020-04-13-16-32-50-825.png
>
>   Original Estimate: 720h
>  Time Spent: 10m
>  Remaining Estimate: 719h 50m
>
> I have a problem with integration tests.  I've updated  Java from 11 to 14.
> I can compile my application, but I can't run a integration tests.
> I'm using a Gradle 6.3
> Open JDK 14
> Spring Boot 2.4
> 2.0-M2-groovy-3.0
>  
> The code you can find here 
> [https://github.com/KamilJedrzejuk/weatherinformer/tree/develop]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Comment Edited] (GROOVY-9505) Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 on JDK 14 in Spock tests

2020-04-13 Thread Marcin Zajaczkowski (Jira)


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

Marcin Zajaczkowski edited comment on GROOVY-9505 at 4/13/20, 2:42 PM:
---

Yes, it's rather a separate issue related to the fact how integration tests are 
configured.


was (Author: szpak):
Yes, it's rather a separate issue related to the fact how integration tests are 
configured. Most likely not Java 14 related.

> Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 on JDK 14 in 
> Spock tests
> -
>
> Key: GROOVY-9505
> URL: https://issues.apache.org/jira/browse/GROOVY-9505
> Project: Groovy
>  Issue Type: Bug
>  Components: Compiler
>Affects Versions: 3.0.3
> Environment: Ubuntu 20.04
> Intellij IDEA IntelliJ IDEA 2020.1 (Ultimate Edition)
> Build #IU-201.6668.121, built on April 8, 2020
> Runtime version: 11.0.6+8-b765.25 amd64
> Adopt Open JDK 14.0.0.hs-adpt
>Reporter: Kamil Jedrzejuk
>Priority: Critical
> Attachments: Screenshot from 2020-04-12 22-23-10.png, Screenshot from 
> 2020-04-12 22-23-52.png, image-2020-04-13-15-35-10-149.png, 
> image-2020-04-13-15-35-15-834.png, image-2020-04-13-15-51-39-107.png, 
> image-2020-04-13-16-31-38-734.png, image-2020-04-13-16-31-47-635.png, 
> image-2020-04-13-16-32-50-825.png
>
>   Original Estimate: 720h
>  Time Spent: 10m
>  Remaining Estimate: 719h 50m
>
> I have a problem with integration tests.  I've updated  Java from 11 to 14.
> I can compile my application, but I can't run a integration tests.
> I'm using a Gradle 6.3
> Open JDK 14
> Spring Boot 2.4
> 2.0-M2-groovy-3.0
>  
> The code you can find here 
> [https://github.com/KamilJedrzejuk/weatherinformer/tree/develop]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (GROOVY-9505) Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 on JDK 14 in Spock tests

2020-04-13 Thread Marcin Zajaczkowski (Jira)


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

Marcin Zajaczkowski commented on GROOVY-9505:
-

It's rather a separate issue related to the fact how integration tests are 
configured. Most likely not Java 14 related.

> Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 on JDK 14 in 
> Spock tests
> -
>
> Key: GROOVY-9505
> URL: https://issues.apache.org/jira/browse/GROOVY-9505
> Project: Groovy
>  Issue Type: Bug
>  Components: Compiler
>Affects Versions: 3.0.3
> Environment: Ubuntu 20.04
> Intellij IDEA IntelliJ IDEA 2020.1 (Ultimate Edition)
> Build #IU-201.6668.121, built on April 8, 2020
> Runtime version: 11.0.6+8-b765.25 amd64
> Adopt Open JDK 14.0.0.hs-adpt
>Reporter: Kamil Jedrzejuk
>Priority: Critical
> Attachments: Screenshot from 2020-04-12 22-23-10.png, Screenshot from 
> 2020-04-12 22-23-52.png, image-2020-04-13-15-35-10-149.png, 
> image-2020-04-13-15-35-15-834.png, image-2020-04-13-15-51-39-107.png, 
> image-2020-04-13-16-31-38-734.png, image-2020-04-13-16-31-47-635.png, 
> image-2020-04-13-16-32-50-825.png
>
>   Original Estimate: 720h
>  Time Spent: 10m
>  Remaining Estimate: 719h 50m
>
> I have a problem with integration tests.  I've updated  Java from 11 to 14.
> I can compile my application, but I can't run a integration tests.
> I'm using a Gradle 6.3
> Open JDK 14
> Spring Boot 2.4
> 2.0-M2-groovy-3.0
>  
> The code you can find here 
> [https://github.com/KamilJedrzejuk/weatherinformer/tree/develop]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (GROOVY-9505) Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 on JDK 14 in Spock tests

2020-04-13 Thread Kamil Jedrzejuk (Jira)


 [ 
https://issues.apache.org/jira/browse/GROOVY-9505?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kamil Jedrzejuk updated GROOVY-9505:

Affects Version/s: (was: 3.0.0-beta-2)
   3.0.3

> Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 on JDK 14 in 
> Spock tests
> -
>
> Key: GROOVY-9505
> URL: https://issues.apache.org/jira/browse/GROOVY-9505
> Project: Groovy
>  Issue Type: Bug
>  Components: Compiler
>Affects Versions: 3.0.3
> Environment: Ubuntu 20.04
> Intellij IDEA IntelliJ IDEA 2020.1 (Ultimate Edition)
> Build #IU-201.6668.121, built on April 8, 2020
> Runtime version: 11.0.6+8-b765.25 amd64
> Adopt Open JDK 14.0.0.hs-adpt
>Reporter: Kamil Jedrzejuk
>Priority: Critical
> Attachments: Screenshot from 2020-04-12 22-23-10.png, Screenshot from 
> 2020-04-12 22-23-52.png, image-2020-04-13-15-35-10-149.png, 
> image-2020-04-13-15-35-15-834.png, image-2020-04-13-15-51-39-107.png, 
> image-2020-04-13-16-31-38-734.png, image-2020-04-13-16-31-47-635.png, 
> image-2020-04-13-16-32-50-825.png
>
>   Original Estimate: 720h
>  Time Spent: 10m
>  Remaining Estimate: 719h 50m
>
> I have a problem with integration tests.  I've updated  Java from 11 to 14.
> I can compile my application, but I can't run a integration tests.
> I'm using a Gradle 6.3
> Open JDK 14
> Spring Boot 2.4
> 2.0-M2-groovy-3.0
>  
> The code you can find here 
> [https://github.com/KamilJedrzejuk/weatherinformer/tree/develop]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (GROOVY-9505) Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 on JDK 14 in Spock tests

2020-04-13 Thread Kamil Jedrzejuk (Jira)


 [ 
https://issues.apache.org/jira/browse/GROOVY-9505?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kamil Jedrzejuk updated GROOVY-9505:

Attachment: image-2020-04-13-16-32-50-825.png

> Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 on JDK 14 in 
> Spock tests
> -
>
> Key: GROOVY-9505
> URL: https://issues.apache.org/jira/browse/GROOVY-9505
> Project: Groovy
>  Issue Type: Bug
>  Components: Compiler
>Affects Versions: 3.0.0-beta-2
> Environment: Ubuntu 20.04
> Intellij IDEA IntelliJ IDEA 2020.1 (Ultimate Edition)
> Build #IU-201.6668.121, built on April 8, 2020
> Runtime version: 11.0.6+8-b765.25 amd64
> Adopt Open JDK 14.0.0.hs-adpt
>Reporter: Kamil Jedrzejuk
>Priority: Critical
> Attachments: Screenshot from 2020-04-12 22-23-10.png, Screenshot from 
> 2020-04-12 22-23-52.png, image-2020-04-13-15-35-10-149.png, 
> image-2020-04-13-15-35-15-834.png, image-2020-04-13-15-51-39-107.png, 
> image-2020-04-13-16-31-38-734.png, image-2020-04-13-16-31-47-635.png, 
> image-2020-04-13-16-32-50-825.png
>
>   Original Estimate: 720h
>  Time Spent: 10m
>  Remaining Estimate: 719h 50m
>
> I have a problem with integration tests.  I've updated  Java from 11 to 14.
> I can compile my application, but I can't run a integration tests.
> I'm using a Gradle 6.3
> Open JDK 14
> Spring Boot 2.4
> 2.0-M2-groovy-3.0
>  
> The code you can find here 
> [https://github.com/KamilJedrzejuk/weatherinformer/tree/develop]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (GROOVY-9505) Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 on JDK 14 in Spock tests

2020-04-13 Thread Kamil Jedrzejuk (Jira)


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

Kamil Jedrzejuk commented on GROOVY-9505:
-

It works

!image-2020-04-13-16-31-47-635.png!

But for integrationTest I have problem I think not related with this issue

!image-2020-04-13-16-32-50-825.png!

 

> Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 on JDK 14 in 
> Spock tests
> -
>
> Key: GROOVY-9505
> URL: https://issues.apache.org/jira/browse/GROOVY-9505
> Project: Groovy
>  Issue Type: Bug
>  Components: Compiler
>Affects Versions: 3.0.0-beta-2
> Environment: Ubuntu 20.04
> Intellij IDEA IntelliJ IDEA 2020.1 (Ultimate Edition)
> Build #IU-201.6668.121, built on April 8, 2020
> Runtime version: 11.0.6+8-b765.25 amd64
> Adopt Open JDK 14.0.0.hs-adpt
>Reporter: Kamil Jedrzejuk
>Priority: Critical
> Attachments: Screenshot from 2020-04-12 22-23-10.png, Screenshot from 
> 2020-04-12 22-23-52.png, image-2020-04-13-15-35-10-149.png, 
> image-2020-04-13-15-35-15-834.png, image-2020-04-13-15-51-39-107.png, 
> image-2020-04-13-16-31-38-734.png, image-2020-04-13-16-31-47-635.png, 
> image-2020-04-13-16-32-50-825.png
>
>   Original Estimate: 720h
>  Time Spent: 10m
>  Remaining Estimate: 719h 50m
>
> I have a problem with integration tests.  I've updated  Java from 11 to 14.
> I can compile my application, but I can't run a integration tests.
> I'm using a Gradle 6.3
> Open JDK 14
> Spring Boot 2.4
> 2.0-M2-groovy-3.0
>  
> The code you can find here 
> [https://github.com/KamilJedrzejuk/weatherinformer/tree/develop]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (GROOVY-9505) Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 on JDK 14 in Spock tests

2020-04-13 Thread Kamil Jedrzejuk (Jira)


 [ 
https://issues.apache.org/jira/browse/GROOVY-9505?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kamil Jedrzejuk updated GROOVY-9505:

Attachment: image-2020-04-13-16-31-47-635.png

> Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 on JDK 14 in 
> Spock tests
> -
>
> Key: GROOVY-9505
> URL: https://issues.apache.org/jira/browse/GROOVY-9505
> Project: Groovy
>  Issue Type: Bug
>  Components: Compiler
>Affects Versions: 3.0.0-beta-2
> Environment: Ubuntu 20.04
> Intellij IDEA IntelliJ IDEA 2020.1 (Ultimate Edition)
> Build #IU-201.6668.121, built on April 8, 2020
> Runtime version: 11.0.6+8-b765.25 amd64
> Adopt Open JDK 14.0.0.hs-adpt
>Reporter: Kamil Jedrzejuk
>Priority: Critical
> Attachments: Screenshot from 2020-04-12 22-23-10.png, Screenshot from 
> 2020-04-12 22-23-52.png, image-2020-04-13-15-35-10-149.png, 
> image-2020-04-13-15-35-15-834.png, image-2020-04-13-15-51-39-107.png, 
> image-2020-04-13-16-31-38-734.png, image-2020-04-13-16-31-47-635.png
>
>   Original Estimate: 720h
>  Time Spent: 10m
>  Remaining Estimate: 719h 50m
>
> I have a problem with integration tests.  I've updated  Java from 11 to 14.
> I can compile my application, but I can't run a integration tests.
> I'm using a Gradle 6.3
> Open JDK 14
> Spring Boot 2.4
> 2.0-M2-groovy-3.0
>  
> The code you can find here 
> [https://github.com/KamilJedrzejuk/weatherinformer/tree/develop]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (GROOVY-9505) Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 on JDK 14 in Spock tests

2020-04-13 Thread Kamil Jedrzejuk (Jira)


 [ 
https://issues.apache.org/jira/browse/GROOVY-9505?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kamil Jedrzejuk updated GROOVY-9505:

Attachment: image-2020-04-13-16-31-38-734.png

> Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 on JDK 14 in 
> Spock tests
> -
>
> Key: GROOVY-9505
> URL: https://issues.apache.org/jira/browse/GROOVY-9505
> Project: Groovy
>  Issue Type: Bug
>  Components: Compiler
>Affects Versions: 3.0.0-beta-2
> Environment: Ubuntu 20.04
> Intellij IDEA IntelliJ IDEA 2020.1 (Ultimate Edition)
> Build #IU-201.6668.121, built on April 8, 2020
> Runtime version: 11.0.6+8-b765.25 amd64
> Adopt Open JDK 14.0.0.hs-adpt
>Reporter: Kamil Jedrzejuk
>Priority: Critical
> Attachments: Screenshot from 2020-04-12 22-23-10.png, Screenshot from 
> 2020-04-12 22-23-52.png, image-2020-04-13-15-35-10-149.png, 
> image-2020-04-13-15-35-15-834.png, image-2020-04-13-15-51-39-107.png, 
> image-2020-04-13-16-31-38-734.png, image-2020-04-13-16-31-47-635.png
>
>   Original Estimate: 720h
>  Time Spent: 10m
>  Remaining Estimate: 719h 50m
>
> I have a problem with integration tests.  I've updated  Java from 11 to 14.
> I can compile my application, but I can't run a integration tests.
> I'm using a Gradle 6.3
> Open JDK 14
> Spring Boot 2.4
> 2.0-M2-groovy-3.0
>  
> The code you can find here 
> [https://github.com/KamilJedrzejuk/weatherinformer/tree/develop]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Comment Edited] (GROOVY-9505) Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 on JDK 14 in Spock tests

2020-04-13 Thread Marcin Zajaczkowski (Jira)


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

Marcin Zajaczkowski edited comment on GROOVY-9505 at 4/13/20, 2:30 PM:
---

**Update**. My response to the comment that was deleted:
{code:java}
_/home/kamil/Documents/projects/priv/weatherinformer/src/test/groovy/com/twitter/kamilyedrzejuq/weather/domain/SampleData.java:17:
 error: cannot find symbol_
 _return FetchCityWeatherCommand.of(cityName);_
 _^_
 _symbol: method of(String)_ {code}
 

And this comes back to my original question to Paul :).

> Can Groovy (3.0.3) interact with {{record}} defined in Java 14 production 
> code?

>  (assuming ASM_API_VERSION in 
>[CompilerConfiguration|https://github.com/apache/groovy/blob/a9946449a943fcf55204f8bbfaa71f3419500f2a/src/main/java/org/codehaus/groovy/control/CompilerConfiguration.java#L125]
> is changed to Opcodes.ASM8)

 

It seems that no and there is some extra work required on the Groovy side to 
deal with that bytecode.


was (Author: szpak):
**Update**. Response to the comment that was deleted:
{code:java}
_/home/kamil/Documents/projects/priv/weatherinformer/src/test/groovy/com/twitter/kamilyedrzejuq/weather/domain/SampleData.java:17:
 error: cannot find symbol_
 _return FetchCityWeatherCommand.of(cityName);_
 _^_
 _symbol: method of(String)_ {code}
 

And this comes back to my original question to Paul :).

> Can Groovy (3.0.3) interact with {{record}} defined in Java 14 production 
> code?

>  (assuming ASM_API_VERSION in 
>[CompilerConfiguration|https://github.com/apache/groovy/blob/a9946449a943fcf55204f8bbfaa71f3419500f2a/src/main/java/org/codehaus/groovy/control/CompilerConfiguration.java#L125]
> is changed to Opcodes.ASM8)

 

It seems that no and there is some extra work required on the Groovy side to 
deal with that bytecode.

> Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 on JDK 14 in 
> Spock tests
> -
>
> Key: GROOVY-9505
> URL: https://issues.apache.org/jira/browse/GROOVY-9505
> Project: Groovy
>  Issue Type: Bug
>  Components: Compiler
>Affects Versions: 3.0.0-beta-2
> Environment: Ubuntu 20.04
> Intellij IDEA IntelliJ IDEA 2020.1 (Ultimate Edition)
> Build #IU-201.6668.121, built on April 8, 2020
> Runtime version: 11.0.6+8-b765.25 amd64
> Adopt Open JDK 14.0.0.hs-adpt
>Reporter: Kamil Jedrzejuk
>Priority: Critical
> Attachments: Screenshot from 2020-04-12 22-23-10.png, Screenshot from 
> 2020-04-12 22-23-52.png, image-2020-04-13-15-35-10-149.png, 
> image-2020-04-13-15-35-15-834.png, image-2020-04-13-15-51-39-107.png
>
>   Original Estimate: 720h
>  Time Spent: 10m
>  Remaining Estimate: 719h 50m
>
> I have a problem with integration tests.  I've updated  Java from 11 to 14.
> I can compile my application, but I can't run a integration tests.
> I'm using a Gradle 6.3
> Open JDK 14
> Spring Boot 2.4
> 2.0-M2-groovy-3.0
>  
> The code you can find here 
> [https://github.com/KamilJedrzejuk/weatherinformer/tree/develop]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Comment Edited] (GROOVY-9505) Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 on JDK 14 in Spock tests

2020-04-13 Thread Marcin Zajaczkowski (Jira)


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

Marcin Zajaczkowski edited comment on GROOVY-9505 at 4/13/20, 2:29 PM:
---

**Update**. Response to the comment that was deleted:
{code:java}
_/home/kamil/Documents/projects/priv/weatherinformer/src/test/groovy/com/twitter/kamilyedrzejuq/weather/domain/SampleData.java:17:
 error: cannot find symbol_
 _return FetchCityWeatherCommand.of(cityName);_
 _^_
 _symbol: method of(String)_ {code}
 

And this comes back to my original question to Paul :).

> Can Groovy (3.0.3) interact with {{record}} defined in Java 14 production 
> code?

>  (assuming ASM_API_VERSION in 
>[CompilerConfiguration|https://github.com/apache/groovy/blob/a9946449a943fcf55204f8bbfaa71f3419500f2a/src/main/java/org/codehaus/groovy/control/CompilerConfiguration.java#L125]
> is changed to Opcodes.ASM8)

 

It seems that no and there is some extra work required on the Groovy side to 
deal with that bytecode.


was (Author: szpak):
**Update**. Response to the comment that was deleted:
{code:java}
_/home/kamil/Documents/projects/priv/weatherinformer/src/test/groovy/com/twitter/kamilyedrzejuq/weather/domain/SampleData.java:17:
 error: cannot find symbol_
 _return FetchCityWeatherCommand.of(cityName);_
 _^_
 _symbol: method of(String)_ {code}
 

And this comes back to my original question to Paul :).

> Can Groovy (3.0.3) interact with {{record}} defined in Java 14 production 
> code?

>  (assuming ASM_API_VERSION in 
>[CompilerConfiguration|https://github.com/apache/groovy/blob/a9946449a943fcf55204f8bbfaa71f3419500f2a/src/main/java/org/codehaus/groovy/control/CompilerConfiguration.java#L125]
> is changed to Opcodes.ASM8)

 

It seems that no and there is some extra work required on the Groovy side to 
deal with that bytecode.

 

 

> Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 on JDK 14 in 
> Spock tests
> -
>
> Key: GROOVY-9505
> URL: https://issues.apache.org/jira/browse/GROOVY-9505
> Project: Groovy
>  Issue Type: Bug
>  Components: Compiler
>Affects Versions: 3.0.0-beta-2
> Environment: Ubuntu 20.04
> Intellij IDEA IntelliJ IDEA 2020.1 (Ultimate Edition)
> Build #IU-201.6668.121, built on April 8, 2020
> Runtime version: 11.0.6+8-b765.25 amd64
> Adopt Open JDK 14.0.0.hs-adpt
>Reporter: Kamil Jedrzejuk
>Priority: Critical
> Attachments: Screenshot from 2020-04-12 22-23-10.png, Screenshot from 
> 2020-04-12 22-23-52.png, image-2020-04-13-15-35-10-149.png, 
> image-2020-04-13-15-35-15-834.png, image-2020-04-13-15-51-39-107.png
>
>   Original Estimate: 720h
>  Time Spent: 10m
>  Remaining Estimate: 719h 50m
>
> I have a problem with integration tests.  I've updated  Java from 11 to 14.
> I can compile my application, but I can't run a integration tests.
> I'm using a Gradle 6.3
> Open JDK 14
> Spring Boot 2.4
> 2.0-M2-groovy-3.0
>  
> The code you can find here 
> [https://github.com/KamilJedrzejuk/weatherinformer/tree/develop]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Comment Edited] (GROOVY-9505) Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 on JDK 14 in Spock tests

2020-04-13 Thread Marcin Zajaczkowski (Jira)


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

Marcin Zajaczkowski edited comment on GROOVY-9505 at 4/13/20, 2:29 PM:
---

**Update**. Response to the comment that was deleted:
{code:java}
_/home/kamil/Documents/projects/priv/weatherinformer/src/test/groovy/com/twitter/kamilyedrzejuq/weather/domain/SampleData.java:17:
 error: cannot find symbol_
 _return FetchCityWeatherCommand.of(cityName);_
 _^_
 _symbol: method of(String)_ {code}
 

And this comes back to my original question to Paul :).

> Can Groovy (3.0.3) interact with {{record}} defined in Java 14 production 
> code?

>  (assuming ASM_API_VERSION in 
>[CompilerConfiguration|https://github.com/apache/groovy/blob/a9946449a943fcf55204f8bbfaa71f3419500f2a/src/main/java/org/codehaus/groovy/control/CompilerConfiguration.java#L125]
> is changed to Opcodes.ASM8)

 

It seems that no and there is some extra work required on the Groovy side to 
deal with that bytecode.

 

 


was (Author: szpak):
And this comes back to my original question to Paul :).

> Can Groovy (3.0.3) interact with {{record}} defined in Java 14 production 
> code?

>  (assuming ASM_API_VERSION in 
>[CompilerConfiguration|https://github.com/apache/groovy/blob/a9946449a943fcf55204f8bbfaa71f3419500f2a/src/main/java/org/codehaus/groovy/control/CompilerConfiguration.java#L125]
> is changed to Opcodes.ASM8)

 

It seems that no and there is some extra work required on the Groovy side to 
deal with that bytecode.

 

**Update**. hmm, I responded to the comment that was deleted:
{code:java}
_/home/kamil/Documents/projects/priv/weatherinformer/src/test/groovy/com/twitter/kamilyedrzejuq/weather/domain/SampleData.java:17:
 error: cannot find symbol_
 _return FetchCityWeatherCommand.of(cityName);_
 _^_
 _symbol: method of(String)_ {code}
 

> Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 on JDK 14 in 
> Spock tests
> -
>
> Key: GROOVY-9505
> URL: https://issues.apache.org/jira/browse/GROOVY-9505
> Project: Groovy
>  Issue Type: Bug
>  Components: Compiler
>Affects Versions: 3.0.0-beta-2
> Environment: Ubuntu 20.04
> Intellij IDEA IntelliJ IDEA 2020.1 (Ultimate Edition)
> Build #IU-201.6668.121, built on April 8, 2020
> Runtime version: 11.0.6+8-b765.25 amd64
> Adopt Open JDK 14.0.0.hs-adpt
>Reporter: Kamil Jedrzejuk
>Priority: Critical
> Attachments: Screenshot from 2020-04-12 22-23-10.png, Screenshot from 
> 2020-04-12 22-23-52.png, image-2020-04-13-15-35-10-149.png, 
> image-2020-04-13-15-35-15-834.png, image-2020-04-13-15-51-39-107.png
>
>   Original Estimate: 720h
>  Time Spent: 10m
>  Remaining Estimate: 719h 50m
>
> I have a problem with integration tests.  I've updated  Java from 11 to 14.
> I can compile my application, but I can't run a integration tests.
> I'm using a Gradle 6.3
> Open JDK 14
> Spring Boot 2.4
> 2.0-M2-groovy-3.0
>  
> The code you can find here 
> [https://github.com/KamilJedrzejuk/weatherinformer/tree/develop]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Comment Edited] (GROOVY-9505) Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 on JDK 14 in Spock tests

2020-04-13 Thread Marcin Zajaczkowski (Jira)


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

Marcin Zajaczkowski edited comment on GROOVY-9505 at 4/13/20, 2:28 PM:
---

And this comes back to my original question to Paul :).

> Can Groovy (3.0.3) interact with {{record}} defined in Java 14 production 
> code?

>  (assuming ASM_API_VERSION in 
>[CompilerConfiguration|https://github.com/apache/groovy/blob/a9946449a943fcf55204f8bbfaa71f3419500f2a/src/main/java/org/codehaus/groovy/control/CompilerConfiguration.java#L125]
> is changed to Opcodes.ASM8)

 

It seems that no and there is some extra work required on the Groovy side to 
deal with that bytecode.

 

**Update**. hmm, I responded to the comment that was deleted:
{code:java}
_/home/kamil/Documents/projects/priv/weatherinformer/src/test/groovy/com/twitter/kamilyedrzejuq/weather/domain/SampleData.java:17:
 error: cannot find symbol_
 _return FetchCityWeatherCommand.of(cityName);_
 _^_
 _symbol: method of(String)_ {code}
 


was (Author: szpak):
And this comes back to my original question to Paul :).

> Can Groovy (3.0.3) interact with {{record}} defined in Java 14 production 
> code?

>  (assuming ASM_API_VERSION in 
>[CompilerConfiguration|https://github.com/apache/groovy/blob/a9946449a943fcf55204f8bbfaa71f3419500f2a/src/main/java/org/codehaus/groovy/control/CompilerConfiguration.java#L125]
> is changed to Opcodes.ASM8)

 

It seems that no and there is some extra work required on the Groovy side to 
deal with that bytecode.

 

**Update**. I responded to the comment that was deleted:
{code:java}
_/home/kamil/Documents/projects/priv/weatherinformer/src/test/groovy/com/twitter/kamilyedrzejuq/weather/domain/SampleData.java:17:
 error: cannot find symbol_
 _return FetchCityWeatherCommand.of(cityName);_
 _^_
 _symbol: method of(String)_ {code}
 

> Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 on JDK 14 in 
> Spock tests
> -
>
> Key: GROOVY-9505
> URL: https://issues.apache.org/jira/browse/GROOVY-9505
> Project: Groovy
>  Issue Type: Bug
>  Components: Compiler
>Affects Versions: 3.0.0-beta-2
> Environment: Ubuntu 20.04
> Intellij IDEA IntelliJ IDEA 2020.1 (Ultimate Edition)
> Build #IU-201.6668.121, built on April 8, 2020
> Runtime version: 11.0.6+8-b765.25 amd64
> Adopt Open JDK 14.0.0.hs-adpt
>Reporter: Kamil Jedrzejuk
>Priority: Critical
> Attachments: Screenshot from 2020-04-12 22-23-10.png, Screenshot from 
> 2020-04-12 22-23-52.png, image-2020-04-13-15-35-10-149.png, 
> image-2020-04-13-15-35-15-834.png, image-2020-04-13-15-51-39-107.png
>
>   Original Estimate: 720h
>  Time Spent: 10m
>  Remaining Estimate: 719h 50m
>
> I have a problem with integration tests.  I've updated  Java from 11 to 14.
> I can compile my application, but I can't run a integration tests.
> I'm using a Gradle 6.3
> Open JDK 14
> Spring Boot 2.4
> 2.0-M2-groovy-3.0
>  
> The code you can find here 
> [https://github.com/KamilJedrzejuk/weatherinformer/tree/develop]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Comment Edited] (GROOVY-9505) Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 on JDK 14 in Spock tests

2020-04-13 Thread Marcin Zajaczkowski (Jira)


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

Marcin Zajaczkowski edited comment on GROOVY-9505 at 4/13/20, 2:28 PM:
---

And this comes back to my original question to Paul :).

> Can Groovy (3.0.3) interact with {{record}} defined in Java 14 production 
> code?

>  (assuming ASM_API_VERSION in 
>[CompilerConfiguration|https://github.com/apache/groovy/blob/a9946449a943fcf55204f8bbfaa71f3419500f2a/src/main/java/org/codehaus/groovy/control/CompilerConfiguration.java#L125]
> is changed to Opcodes.ASM8)

 

It seems that no and there is some extra work required on the Groovy side to 
deal with that bytecode.

 

**Update**. I responded to the comment that was deleted:
{code:java}
_/home/kamil/Documents/projects/priv/weatherinformer/src/test/groovy/com/twitter/kamilyedrzejuq/weather/domain/SampleData.java:17:
 error: cannot find symbol_
 _return FetchCityWeatherCommand.of(cityName);_
 _^_
 _symbol: method of(String)_ {code}
 


was (Author: szpak):
And this comes back to my original question to Paul :).

> Can Groovy (3.0.3) interact with {{record}} defined in Java 14 production 
> code?

>  (assuming ASM_API_VERSION in 
>[CompilerConfiguration|https://github.com/apache/groovy/blob/a9946449a943fcf55204f8bbfaa71f3419500f2a/src/main/java/org/codehaus/groovy/control/CompilerConfiguration.java#L125]
> is changed to Opcodes.ASM8)

 

It seems that no and there is some extra work required on the Groovy side to 
deal with that bytecode.

> Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 on JDK 14 in 
> Spock tests
> -
>
> Key: GROOVY-9505
> URL: https://issues.apache.org/jira/browse/GROOVY-9505
> Project: Groovy
>  Issue Type: Bug
>  Components: Compiler
>Affects Versions: 3.0.0-beta-2
> Environment: Ubuntu 20.04
> Intellij IDEA IntelliJ IDEA 2020.1 (Ultimate Edition)
> Build #IU-201.6668.121, built on April 8, 2020
> Runtime version: 11.0.6+8-b765.25 amd64
> Adopt Open JDK 14.0.0.hs-adpt
>Reporter: Kamil Jedrzejuk
>Priority: Critical
> Attachments: Screenshot from 2020-04-12 22-23-10.png, Screenshot from 
> 2020-04-12 22-23-52.png, image-2020-04-13-15-35-10-149.png, 
> image-2020-04-13-15-35-15-834.png, image-2020-04-13-15-51-39-107.png
>
>   Original Estimate: 720h
>  Time Spent: 10m
>  Remaining Estimate: 719h 50m
>
> I have a problem with integration tests.  I've updated  Java from 11 to 14.
> I can compile my application, but I can't run a integration tests.
> I'm using a Gradle 6.3
> Open JDK 14
> Spring Boot 2.4
> 2.0-M2-groovy-3.0
>  
> The code you can find here 
> [https://github.com/KamilJedrzejuk/weatherinformer/tree/develop]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (GROOVY-9505) Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 on JDK 14 in Spock tests

2020-04-13 Thread Marcin Zajaczkowski (Jira)


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

Marcin Zajaczkowski commented on GROOVY-9505:
-

And this comes back to my original question to Paul :).

> Can Groovy (3.0.3) interact with {{record}} defined in Java 14 production 
> code?

>  (assuming ASM_API_VERSION in 
>[CompilerConfiguration|https://github.com/apache/groovy/blob/a9946449a943fcf55204f8bbfaa71f3419500f2a/src/main/java/org/codehaus/groovy/control/CompilerConfiguration.java#L125]
> is changed to Opcodes.ASM8)

 

It seems that no and there is some extra work required on the Groovy side to 
deal with that bytecode.

> Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 on JDK 14 in 
> Spock tests
> -
>
> Key: GROOVY-9505
> URL: https://issues.apache.org/jira/browse/GROOVY-9505
> Project: Groovy
>  Issue Type: Bug
>  Components: Compiler
>Affects Versions: 3.0.0-beta-2
> Environment: Ubuntu 20.04
> Intellij IDEA IntelliJ IDEA 2020.1 (Ultimate Edition)
> Build #IU-201.6668.121, built on April 8, 2020
> Runtime version: 11.0.6+8-b765.25 amd64
> Adopt Open JDK 14.0.0.hs-adpt
>Reporter: Kamil Jedrzejuk
>Priority: Critical
> Attachments: Screenshot from 2020-04-12 22-23-10.png, Screenshot from 
> 2020-04-12 22-23-52.png, image-2020-04-13-15-35-10-149.png, 
> image-2020-04-13-15-35-15-834.png, image-2020-04-13-15-51-39-107.png
>
>   Original Estimate: 720h
>  Time Spent: 10m
>  Remaining Estimate: 719h 50m
>
> I have a problem with integration tests.  I've updated  Java from 11 to 14.
> I can compile my application, but I can't run a integration tests.
> I'm using a Gradle 6.3
> Open JDK 14
> Spring Boot 2.4
> 2.0-M2-groovy-3.0
>  
> The code you can find here 
> [https://github.com/KamilJedrzejuk/weatherinformer/tree/develop]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Issue Comment Deleted] (GROOVY-9505) Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 on JDK 14 in Spock tests

2020-04-13 Thread Kamil Jedrzejuk (Jira)


 [ 
https://issues.apache.org/jira/browse/GROOVY-9505?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kamil Jedrzejuk updated GROOVY-9505:

Comment: was deleted

(was: [~szpak] 

 No still :

_Testing started at 4:18 PM ..._
_> Task :processResources UP-TO-DATE_
_> Task :compileJava UP-TO-DATE_
_> Task :compileGroovy NO-SOURCE_
_> Task :classes UP-TO-DATE_
_> Task :compileTestJava NO-SOURCE_
_> Task :compileTestGroovy FAILED_
_/home/kamil/Documents/projects/priv/weatherinformer/src/test/groovy/com/twitter/kamilyedrzejuq/weather/domain/SampleData.java:17:
 error: cannot find symbol_
 _return FetchCityWeatherCommand.of(cityName);_
 _^_
 _symbol: method of(String)_
 _location: class FetchCityWeatherCommand_
_Note: 
/home/kamil/Documents/projects/priv/weatherinformer/src/test/groovy/com/twitter/kamilyedrzejuq/weather/domain/SampleData.java
 uses preview language features._
_Note: Recompile with -Xlint:preview for details._
_1 error_
_startup failed:_
_Compilation failed; see the compiler error output for details._
_1 error_
_FAILURE: Build failed with an exception._
_* What went wrong:_
_Execution failed for task ':compileTestGroovy'._
_> Compilation failed; see the compiler error output for details._
_* Try:_)

> Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 on JDK 14 in 
> Spock tests
> -
>
> Key: GROOVY-9505
> URL: https://issues.apache.org/jira/browse/GROOVY-9505
> Project: Groovy
>  Issue Type: Bug
>  Components: Compiler
>Affects Versions: 3.0.0-beta-2
> Environment: Ubuntu 20.04
> Intellij IDEA IntelliJ IDEA 2020.1 (Ultimate Edition)
> Build #IU-201.6668.121, built on April 8, 2020
> Runtime version: 11.0.6+8-b765.25 amd64
> Adopt Open JDK 14.0.0.hs-adpt
>Reporter: Kamil Jedrzejuk
>Priority: Critical
> Attachments: Screenshot from 2020-04-12 22-23-10.png, Screenshot from 
> 2020-04-12 22-23-52.png, image-2020-04-13-15-35-10-149.png, 
> image-2020-04-13-15-35-15-834.png, image-2020-04-13-15-51-39-107.png
>
>   Original Estimate: 720h
>  Time Spent: 10m
>  Remaining Estimate: 719h 50m
>
> I have a problem with integration tests.  I've updated  Java from 11 to 14.
> I can compile my application, but I can't run a integration tests.
> I'm using a Gradle 6.3
> Open JDK 14
> Spring Boot 2.4
> 2.0-M2-groovy-3.0
>  
> The code you can find here 
> [https://github.com/KamilJedrzejuk/weatherinformer/tree/develop]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (GROOVY-9505) Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 on JDK 14 in Spock tests

2020-04-13 Thread Kamil Jedrzejuk (Jira)


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

Kamil Jedrzejuk commented on GROOVY-9505:
-

[~szpak] 

 No still :

_Testing started at 4:18 PM ..._
_> Task :processResources UP-TO-DATE_
_> Task :compileJava UP-TO-DATE_
_> Task :compileGroovy NO-SOURCE_
_> Task :classes UP-TO-DATE_
_> Task :compileTestJava NO-SOURCE_
_> Task :compileTestGroovy FAILED_
_/home/kamil/Documents/projects/priv/weatherinformer/src/test/groovy/com/twitter/kamilyedrzejuq/weather/domain/SampleData.java:17:
 error: cannot find symbol_
 _return FetchCityWeatherCommand.of(cityName);_
 _^_
 _symbol: method of(String)_
 _location: class FetchCityWeatherCommand_
_Note: 
/home/kamil/Documents/projects/priv/weatherinformer/src/test/groovy/com/twitter/kamilyedrzejuq/weather/domain/SampleData.java
 uses preview language features._
_Note: Recompile with -Xlint:preview for details._
_1 error_
_startup failed:_
_Compilation failed; see the compiler error output for details._
_1 error_
_FAILURE: Build failed with an exception._
_* What went wrong:_
_Execution failed for task ':compileTestGroovy'._
_> Compilation failed; see the compiler error output for details._
_* Try:_

> Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 on JDK 14 in 
> Spock tests
> -
>
> Key: GROOVY-9505
> URL: https://issues.apache.org/jira/browse/GROOVY-9505
> Project: Groovy
>  Issue Type: Bug
>  Components: Compiler
>Affects Versions: 3.0.0-beta-2
> Environment: Ubuntu 20.04
> Intellij IDEA IntelliJ IDEA 2020.1 (Ultimate Edition)
> Build #IU-201.6668.121, built on April 8, 2020
> Runtime version: 11.0.6+8-b765.25 amd64
> Adopt Open JDK 14.0.0.hs-adpt
>Reporter: Kamil Jedrzejuk
>Priority: Critical
> Attachments: Screenshot from 2020-04-12 22-23-10.png, Screenshot from 
> 2020-04-12 22-23-52.png, image-2020-04-13-15-35-10-149.png, 
> image-2020-04-13-15-35-15-834.png, image-2020-04-13-15-51-39-107.png
>
>   Original Estimate: 720h
>  Time Spent: 10m
>  Remaining Estimate: 719h 50m
>
> I have a problem with integration tests.  I've updated  Java from 11 to 14.
> I can compile my application, but I can't run a integration tests.
> I'm using a Gradle 6.3
> Open JDK 14
> Spring Boot 2.4
> 2.0-M2-groovy-3.0
>  
> The code you can find here 
> [https://github.com/KamilJedrzejuk/weatherinformer/tree/develop]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (GROOVY-9505) Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 on JDK 14 in Spock tests

2020-04-13 Thread Marcin Zajaczkowski (Jira)


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

Marcin Zajaczkowski commented on GROOVY-9505:
-

And that is the result after those changes? :)

Still "{{java.lang.UnsupportedOperationException: This feature requires ASM8}}"?

 

> Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 on JDK 14 in 
> Spock tests
> -
>
> Key: GROOVY-9505
> URL: https://issues.apache.org/jira/browse/GROOVY-9505
> Project: Groovy
>  Issue Type: Bug
>  Components: Compiler
>Affects Versions: 3.0.0-beta-2
> Environment: Ubuntu 20.04
> Intellij IDEA IntelliJ IDEA 2020.1 (Ultimate Edition)
> Build #IU-201.6668.121, built on April 8, 2020
> Runtime version: 11.0.6+8-b765.25 amd64
> Adopt Open JDK 14.0.0.hs-adpt
>Reporter: Kamil Jedrzejuk
>Priority: Critical
> Attachments: Screenshot from 2020-04-12 22-23-10.png, Screenshot from 
> 2020-04-12 22-23-52.png, image-2020-04-13-15-35-10-149.png, 
> image-2020-04-13-15-35-15-834.png, image-2020-04-13-15-51-39-107.png
>
>   Original Estimate: 720h
>  Time Spent: 10m
>  Remaining Estimate: 719h 50m
>
> I have a problem with integration tests.  I've updated  Java from 11 to 14.
> I can compile my application, but I can't run a integration tests.
> I'm using a Gradle 6.3
> Open JDK 14
> Spring Boot 2.4
> 2.0-M2-groovy-3.0
>  
> The code you can find here 
> [https://github.com/KamilJedrzejuk/weatherinformer/tree/develop]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (GROOVY-9505) Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 on JDK 14 in Spock tests

2020-04-13 Thread Kamil Jedrzejuk (Jira)


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

Kamil Jedrzejuk commented on GROOVY-9505:
-

The changes is on [https://github.com/KamilJedrzejuk/groovy/tree/GROOVY_3_0_X]

> Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 on JDK 14 in 
> Spock tests
> -
>
> Key: GROOVY-9505
> URL: https://issues.apache.org/jira/browse/GROOVY-9505
> Project: Groovy
>  Issue Type: Bug
>  Components: Compiler
>Affects Versions: 3.0.0-beta-2
> Environment: Ubuntu 20.04
> Intellij IDEA IntelliJ IDEA 2020.1 (Ultimate Edition)
> Build #IU-201.6668.121, built on April 8, 2020
> Runtime version: 11.0.6+8-b765.25 amd64
> Adopt Open JDK 14.0.0.hs-adpt
>Reporter: Kamil Jedrzejuk
>Priority: Critical
> Attachments: Screenshot from 2020-04-12 22-23-10.png, Screenshot from 
> 2020-04-12 22-23-52.png, image-2020-04-13-15-35-10-149.png, 
> image-2020-04-13-15-35-15-834.png, image-2020-04-13-15-51-39-107.png
>
>   Original Estimate: 720h
>  Time Spent: 10m
>  Remaining Estimate: 719h 50m
>
> I have a problem with integration tests.  I've updated  Java from 11 to 14.
> I can compile my application, but I can't run a integration tests.
> I'm using a Gradle 6.3
> Open JDK 14
> Spring Boot 2.4
> 2.0-M2-groovy-3.0
>  
> The code you can find here 
> [https://github.com/KamilJedrzejuk/weatherinformer/tree/develop]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Comment Edited] (GROOVY-9505) Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 on JDK 14 in Spock tests

2020-04-13 Thread Kamil Jedrzejuk (Jira)


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

Kamil Jedrzejuk edited comment on GROOVY-9505 at 4/13/20, 2:04 PM:
---

[~szpak]

You can chack on github
{code:java}
buildscript {
ext {
springBootVersion = '2.2.6.RELEASE'
}
repositories {
mavenCentral()
maven { url 'http://oss.jfrog.org/artifactory/oss-snapshot-local' }
maven { url "https://repo.spring.io/snapshot; }
maven { url "https://repo.spring.io/milestone; }
maven { url "https://plugins.gradle.org/m2/; }
}
dependencies {

classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
classpath("net.ltgt.gradle:gradle-apt-plugin:0.21")
}
}

apply plugin: 'java'
apply plugin: 'groovy'
apply plugin: 'application'
apply plugin: 'idea'
apply plugin: 'org.springframework.boot'
apply plugin: 'io.spring.dependency-management'
apply plugin: 'net.ltgt.apt'

group = 'com.twitter.kamilyedrzejuq'
version = '0.0.2-SNAPSHOT'

sourceCompatibility = JavaVersion.VERSION_14
targetCompatibility = JavaVersion.VERSION_14

mainClassName = "com.twitter.kamilyedrzejuq.Application"

compileJava.options.encoding = 'UTF-8'
compileTestJava.options.encoding = 'UTF-8'
compileJava.dependsOn(processResources)

tasks.withType(JavaCompile).each {
it.options.compilerArgs.add('--enable-preview')
}

tasks.withType(GroovyCompile) {
it.options.compilerArgs.add('--enable-preview')

}

[bootJar, bootRun, bootDistTar, bootDistZip, distTar, distZip]*.enabled = false
jar.enabled = true

project.ext.versions = [
lombokVersion   : '1.18.12',
swaggerVersion  : '2.9.2',
spockVersion: '2.0-M2-groovy-3.0',
vavrVersion : '0.10.2',
mockWebServerVersion: '3.14.1',
gsonVersion : '2.8.5',
springdocOpenapiVersion : '1.3.2'
]

repositories {
mavenLocal()
mavenCentral()
maven { url 'http://oss.jfrog.org/artifactory/oss-snapshot-local' }
maven { url "https://repo.spring.io/snapshot; }
maven { url "https://repo.spring.io/milestone; }
}

test {
useJUnitPlatform()
jvmArgs(['--enable-preview'])
testLogging {
exceptionFormat = 'full'
events = ["STARTED", "PASSED", "SKIPPED", "FAILED"]

}
}

sourceSets {
integrationTest {
groovy {
compileClasspath += main.output + test.output
runtimeClasspath += main.output + test.output
srcDir {
file('src/integrationTest/groovy')
}
}
resources.srcDir file('src/integrationTest/resources')
}
}

configurations {
integrationTestImplementation.extendsFrom compileOnly
integrationTestImplementation.extendsFrom implementation
integrationTestImplementation.extendsFrom annotationProcessor
integrationTestImplementation.extendsFrom testImplementation
}

task integrationTest(type: Test) {
testClassesDirs = sourceSets.integrationTest.output.classesDirs
classpath = sourceSets.integrationTest.runtimeClasspath
include '**/*Spec.*'
include '**/*Test.*'

systemProperty 'spring.profiles.active', 'integration'
outputs.upToDateWhen { false }
}


dependencies {
compileOnly("org.projectlombok:lombok:${versions.lombokVersion}")
annotationProcessor("org.projectlombok:lombok:${versions.lombokVersion}")

implementation("org.springframework.boot:spring-boot-starter-webflux")

implementation("io.vavr:vavr:${versions.vavrVersion}")

implementation("com.google.code.gson:gson:${versions.gsonVersion}")

implementation("org.springdoc:springdoc-openapi-webflux-ui:${versions.springdocOpenapiVersion}")


testImplementation("org.spockframework:spock-core:${versions.spockVersion}")

testImplementation("org.spockframework:spock-spring:${versions.spockVersion}")

testImplementation("io.projectreactor:reactor-core")
testImplementation("io.projectreactor:reactor-test")

testImplementation("org.springframework.boot:spring-boot-starter-test") {
exclude(
group : 'org.ow2.asm'
)
}

testImplementation("com.squareup.okhttp3:mockwebserver:${versions.mockWebServerVersion}")

}

dependencyManagement {
   imports { 
  mavenBom 
"org.springframework.boot:spring-boot-dependencies:${springBootVersion}"
   }
}

wrapper {
gradleVersion = '6.3'
distributionType = Wrapper.DistributionType.ALL
}




{code}


was (Author: camilyed):
[~szpak]

You can chack on github
{code:java}
buildscript { ext { springBootVersion = '2.2.6.RELEASE' } repositories { 
mavenCentral() maven { url 
'http://oss.jfrog.org/artifactory/oss-snapshot-local' } maven { url 

[jira] [Comment Edited] (GROOVY-9505) Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 on JDK 14 in Spock tests

2020-04-13 Thread Kamil Jedrzejuk (Jira)


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

Kamil Jedrzejuk edited comment on GROOVY-9505 at 4/13/20, 2:04 PM:
---

[~szpak]

You can check on github
{code:java}
buildscript {
ext {
springBootVersion = '2.2.6.RELEASE'
}
repositories {
mavenCentral()
maven { url 'http://oss.jfrog.org/artifactory/oss-snapshot-local' }
maven { url "https://repo.spring.io/snapshot; }
maven { url "https://repo.spring.io/milestone; }
maven { url "https://plugins.gradle.org/m2/; }
}
dependencies {

classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
classpath("net.ltgt.gradle:gradle-apt-plugin:0.21")
}
}

apply plugin: 'java'
apply plugin: 'groovy'
apply plugin: 'application'
apply plugin: 'idea'
apply plugin: 'org.springframework.boot'
apply plugin: 'io.spring.dependency-management'
apply plugin: 'net.ltgt.apt'

group = 'com.twitter.kamilyedrzejuq'
version = '0.0.2-SNAPSHOT'

sourceCompatibility = JavaVersion.VERSION_14
targetCompatibility = JavaVersion.VERSION_14

mainClassName = "com.twitter.kamilyedrzejuq.Application"

compileJava.options.encoding = 'UTF-8'
compileTestJava.options.encoding = 'UTF-8'
compileJava.dependsOn(processResources)

tasks.withType(JavaCompile).each {
it.options.compilerArgs.add('--enable-preview')
}

tasks.withType(GroovyCompile) {
it.options.compilerArgs.add('--enable-preview')

}

[bootJar, bootRun, bootDistTar, bootDistZip, distTar, distZip]*.enabled = false
jar.enabled = true

project.ext.versions = [
lombokVersion   : '1.18.12',
swaggerVersion  : '2.9.2',
spockVersion: '2.0-M2-groovy-3.0',
vavrVersion : '0.10.2',
mockWebServerVersion: '3.14.1',
gsonVersion : '2.8.5',
springdocOpenapiVersion : '1.3.2'
]

repositories {
mavenLocal()
mavenCentral()
maven { url 'http://oss.jfrog.org/artifactory/oss-snapshot-local' }
maven { url "https://repo.spring.io/snapshot; }
maven { url "https://repo.spring.io/milestone; }
}

test {
useJUnitPlatform()
jvmArgs(['--enable-preview'])
testLogging {
exceptionFormat = 'full'
events = ["STARTED", "PASSED", "SKIPPED", "FAILED"]

}
}

sourceSets {
integrationTest {
groovy {
compileClasspath += main.output + test.output
runtimeClasspath += main.output + test.output
srcDir {
file('src/integrationTest/groovy')
}
}
resources.srcDir file('src/integrationTest/resources')
}
}

configurations {
integrationTestImplementation.extendsFrom compileOnly
integrationTestImplementation.extendsFrom implementation
integrationTestImplementation.extendsFrom annotationProcessor
integrationTestImplementation.extendsFrom testImplementation
}

task integrationTest(type: Test) {
testClassesDirs = sourceSets.integrationTest.output.classesDirs
classpath = sourceSets.integrationTest.runtimeClasspath
include '**/*Spec.*'
include '**/*Test.*'

systemProperty 'spring.profiles.active', 'integration'
outputs.upToDateWhen { false }
}


dependencies {
compileOnly("org.projectlombok:lombok:${versions.lombokVersion}")
annotationProcessor("org.projectlombok:lombok:${versions.lombokVersion}")

implementation("org.springframework.boot:spring-boot-starter-webflux")

implementation("io.vavr:vavr:${versions.vavrVersion}")

implementation("com.google.code.gson:gson:${versions.gsonVersion}")

implementation("org.springdoc:springdoc-openapi-webflux-ui:${versions.springdocOpenapiVersion}")


testImplementation("org.spockframework:spock-core:${versions.spockVersion}")

testImplementation("org.spockframework:spock-spring:${versions.spockVersion}")

testImplementation("io.projectreactor:reactor-core")
testImplementation("io.projectreactor:reactor-test")

testImplementation("org.springframework.boot:spring-boot-starter-test") {
exclude(
group : 'org.ow2.asm'
)
}

testImplementation("com.squareup.okhttp3:mockwebserver:${versions.mockWebServerVersion}")

}

dependencyManagement {
   imports { 
  mavenBom 
"org.springframework.boot:spring-boot-dependencies:${springBootVersion}"
   }
}

wrapper {
gradleVersion = '6.3'
distributionType = Wrapper.DistributionType.ALL
}




{code}


was (Author: camilyed):
[~szpak]

You can chack on github
{code:java}
buildscript {
ext {
springBootVersion = '2.2.6.RELEASE'
}
repositories {
mavenCentral()
maven { url 'http://oss.jfrog.org/artifactory/oss-snapshot-local' }

[jira] [Commented] (GROOVY-9505) Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 on JDK 14 in Spock tests

2020-04-13 Thread Kamil Jedrzejuk (Jira)


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

Kamil Jedrzejuk commented on GROOVY-9505:
-

[~szpak]

You can chack on github
{code:java}
buildscript { ext { springBootVersion = '2.2.6.RELEASE' } repositories { 
mavenCentral() maven { url 
'http://oss.jfrog.org/artifactory/oss-snapshot-local' } maven { url 
"https://repo.spring.io/snapshot; } maven { url 
"https://repo.spring.io/milestone; } maven { url 
"https://plugins.gradle.org/m2/; } } dependencies { 
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
 classpath("net.ltgt.gradle:gradle-apt-plugin:0.21") } } apply plugin: 'java' 
apply plugin: 'groovy' apply plugin: 'application' apply plugin: 'idea' apply 
plugin: 'org.springframework.boot' apply plugin: 
'io.spring.dependency-management' apply plugin: 'net.ltgt.apt' group = 
'com.twitter.kamilyedrzejuq' version = '0.0.2-SNAPSHOT' sourceCompatibility = 
JavaVersion.VERSION_14 targetCompatibility = JavaVersion.VERSION_14 
mainClassName = "com.twitter.kamilyedrzejuq.Application" 
compileJava.options.encoding = 'UTF-8' compileTestJava.options.encoding = 
'UTF-8' compileJava.dependsOn(processResources) 
tasks.withType(JavaCompile).each { 
it.options.compilerArgs.add('--enable-preview') } tasks.withType(GroovyCompile) 
{ it.options.compilerArgs.add('--enable-preview') } [bootJar, bootRun, 
bootDistTar, bootDistZip, distTar, distZip]*.enabled = false jar.enabled = true 
project.ext.versions = [ lombokVersion : '1.18.12', swaggerVersion : '2.9.2', 
spockVersion : '2.0-M2-groovy-3.0', vavrVersion : '0.10.2', 
mockWebServerVersion : '3.14.1', gsonVersion : '2.8.5', springdocOpenapiVersion 
: '1.3.2' ] repositories { mavenLocal() mavenCentral() maven { url 
'http://oss.jfrog.org/artifactory/oss-snapshot-local' } maven { url 
"https://repo.spring.io/snapshot; } maven { url 
"https://repo.spring.io/milestone; } } test { useJUnitPlatform() 
jvmArgs(['--enable-preview']) testLogging { exceptionFormat = 'full' events = 
["STARTED", "PASSED", "SKIPPED", "FAILED"] } } sourceSets { integrationTest { 
groovy { compileClasspath += main.output + test.output runtimeClasspath += 
main.output + test.output srcDir { file('src/integrationTest/groovy') } } 
resources.srcDir file('src/integrationTest/resources') } } configurations { 
integrationTestImplementation.extendsFrom compileOnly 
integrationTestImplementation.extendsFrom implementation 
integrationTestImplementation.extendsFrom annotationProcessor 
integrationTestImplementation.extendsFrom testImplementation } task 
integrationTest(type: Test) { testClassesDirs = 
sourceSets.integrationTest.output.classesDirs classpath = 
sourceSets.integrationTest.runtimeClasspath include '**/*Spec.*' include 
'**/*Test.*' systemProperty 'spring.profiles.active', 'integration' 
outputs.upToDateWhen { false } } dependencies { 
compileOnly("org.projectlombok:lombok:${versions.lombokVersion}") 
annotationProcessor("org.projectlombok:lombok:${versions.lombokVersion}") 
implementation("org.springframework.boot:spring-boot-starter-webflux") 
implementation("io.vavr:vavr:${versions.vavrVersion}") 
implementation("com.google.code.gson:gson:${versions.gsonVersion}") 
implementation("org.springdoc:springdoc-openapi-webflux-ui:${versions.springdocOpenapiVersion}")
 testImplementation("org.spockframework:spock-core:${versions.spockVersion}") 
testImplementation("org.spockframework:spock-spring:${versions.spockVersion}") 
testImplementation("io.projectreactor:reactor-core") 
testImplementation("io.projectreactor:reactor-test") 
testImplementation("org.springframework.boot:spring-boot-starter-test") { 
exclude( group : 'org.ow2.asm' ) } 
testImplementation("com.squareup.okhttp3:mockwebserver:${versions.mockWebServerVersion}")
 } dependencyManagement { imports { mavenBom 
"org.springframework.boot:spring-boot-dependencies:${springBootVersion}" } } 
wrapper { gradleVersion = '6.3' distributionType = Wrapper.DistributionType.ALL 
}
{code}

> Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 on JDK 14 in 
> Spock tests
> -
>
> Key: GROOVY-9505
> URL: https://issues.apache.org/jira/browse/GROOVY-9505
> Project: Groovy
>  Issue Type: Bug
>  Components: Compiler
>Affects Versions: 3.0.0-beta-2
> Environment: Ubuntu 20.04
> Intellij IDEA IntelliJ IDEA 2020.1 (Ultimate Edition)
> Build #IU-201.6668.121, built on April 8, 2020
> Runtime version: 11.0.6+8-b765.25 amd64
> Adopt Open JDK 14.0.0.hs-adpt
>Reporter: Kamil Jedrzejuk
>Priority: Critical
> Attachments: Screenshot from 2020-04-12 22-23-10.png, Screenshot from 
> 2020-04-12 22-23-52.png, image-2020-04-13-15-35-10-149.png, 
> image-2020-04-13-15-35-15-834.png, 

[jira] [Comment Edited] (GROOVY-9505) Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 on JDK 14 in Spock tests

2020-04-13 Thread Marcin Zajaczkowski (Jira)


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

Marcin Zajaczkowski edited comment on GROOVY-9505 at 4/13/20, 2:01 PM:
---

In addition you might want to do the same for "GroovyCompile" tasks (or 
"AbstractCompile" in general).


was (Author: szpak):
In addition you might want to do the same for "GroovyCompile" tasks.

> Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 on JDK 14 in 
> Spock tests
> -
>
> Key: GROOVY-9505
> URL: https://issues.apache.org/jira/browse/GROOVY-9505
> Project: Groovy
>  Issue Type: Bug
>  Components: Compiler
>Affects Versions: 3.0.0-beta-2
> Environment: Ubuntu 20.04
> Intellij IDEA IntelliJ IDEA 2020.1 (Ultimate Edition)
> Build #IU-201.6668.121, built on April 8, 2020
> Runtime version: 11.0.6+8-b765.25 amd64
> Adopt Open JDK 14.0.0.hs-adpt
>Reporter: Kamil Jedrzejuk
>Priority: Critical
> Attachments: Screenshot from 2020-04-12 22-23-10.png, Screenshot from 
> 2020-04-12 22-23-52.png, image-2020-04-13-15-35-10-149.png, 
> image-2020-04-13-15-35-15-834.png, image-2020-04-13-15-51-39-107.png
>
>   Original Estimate: 720h
>  Time Spent: 10m
>  Remaining Estimate: 719h 50m
>
> I have a problem with integration tests.  I've updated  Java from 11 to 14.
> I can compile my application, but I can't run a integration tests.
> I'm using a Gradle 6.3
> Open JDK 14
> Spring Boot 2.4
> 2.0-M2-groovy-3.0
>  
> The code you can find here 
> [https://github.com/KamilJedrzejuk/weatherinformer/tree/develop]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (GROOVY-9505) Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 on JDK 14 in Spock tests

2020-04-13 Thread Marcin Zajaczkowski (Jira)


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

Marcin Zajaczkowski commented on GROOVY-9505:
-

In addition you might want to do the same for "GroovyCompile" tasks.

> Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 on JDK 14 in 
> Spock tests
> -
>
> Key: GROOVY-9505
> URL: https://issues.apache.org/jira/browse/GROOVY-9505
> Project: Groovy
>  Issue Type: Bug
>  Components: Compiler
>Affects Versions: 3.0.0-beta-2
> Environment: Ubuntu 20.04
> Intellij IDEA IntelliJ IDEA 2020.1 (Ultimate Edition)
> Build #IU-201.6668.121, built on April 8, 2020
> Runtime version: 11.0.6+8-b765.25 amd64
> Adopt Open JDK 14.0.0.hs-adpt
>Reporter: Kamil Jedrzejuk
>Priority: Critical
> Attachments: Screenshot from 2020-04-12 22-23-10.png, Screenshot from 
> 2020-04-12 22-23-52.png, image-2020-04-13-15-35-10-149.png, 
> image-2020-04-13-15-35-15-834.png, image-2020-04-13-15-51-39-107.png
>
>   Original Estimate: 720h
>  Time Spent: 10m
>  Remaining Estimate: 719h 50m
>
> I have a problem with integration tests.  I've updated  Java from 11 to 14.
> I can compile my application, but I can't run a integration tests.
> I'm using a Gradle 6.3
> Open JDK 14
> Spring Boot 2.4
> 2.0-M2-groovy-3.0
>  
> The code you can find here 
> [https://github.com/KamilJedrzejuk/weatherinformer/tree/develop]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (GROOVY-9505) Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 on JDK 14 in Spock tests

2020-04-13 Thread Marcin Zajaczkowski (Jira)


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

Marcin Zajaczkowski commented on GROOVY-9505:
-

Have you enabled it properly?

https://blog.solidsoft.pl/2020/03/02/enable-java-14-preview-features-in-gradle-maven-and-idea/#gradle

> Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 on JDK 14 in 
> Spock tests
> -
>
> Key: GROOVY-9505
> URL: https://issues.apache.org/jira/browse/GROOVY-9505
> Project: Groovy
>  Issue Type: Bug
>  Components: Compiler
>Affects Versions: 3.0.0-beta-2
> Environment: Ubuntu 20.04
> Intellij IDEA IntelliJ IDEA 2020.1 (Ultimate Edition)
> Build #IU-201.6668.121, built on April 8, 2020
> Runtime version: 11.0.6+8-b765.25 amd64
> Adopt Open JDK 14.0.0.hs-adpt
>Reporter: Kamil Jedrzejuk
>Priority: Critical
> Attachments: Screenshot from 2020-04-12 22-23-10.png, Screenshot from 
> 2020-04-12 22-23-52.png, image-2020-04-13-15-35-10-149.png, 
> image-2020-04-13-15-35-15-834.png, image-2020-04-13-15-51-39-107.png
>
>   Original Estimate: 720h
>  Remaining Estimate: 720h
>
> I have a problem with integration tests.  I've updated  Java from 11 to 14.
> I can compile my application, but I can't run a integration tests.
> I'm using a Gradle 6.3
> Open JDK 14
> Spring Boot 2.4
> 2.0-M2-groovy-3.0
>  
> The code you can find here 
> [https://github.com/KamilJedrzejuk/weatherinformer/tree/develop]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[GitHub] [groovy] KamilJedrzejuk opened a new pull request #1222: GROOVY-9505: Bump ASM_API_VERSION to Opcodes.ASM8

2020-04-13 Thread GitBox
KamilJedrzejuk opened a new pull request #1222: GROOVY-9505: Bump 
ASM_API_VERSION to Opcodes.ASM8
URL: https://github.com/apache/groovy/pull/1222
 
 
   Related with issue:
   https://issues.apache.org/jira/browse/GROOVY-9505
   https://github.com/spockframework/spock/issues/1142#issuecomment-612855754


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[jira] [Commented] (GROOVY-9505) Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 on JDK 14 in Spock tests

2020-04-13 Thread Kamil Jedrzejuk (Jira)


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

Kamil Jedrzejuk commented on GROOVY-9505:
-

[~szpak]

I've built a Groovy locally from 3.0.X branch, I got a 3.0.4-SNAPSHOT.jar, then 
I renamed file and put to my local gradle repo.

Now I'm getting:

!image-2020-04-13-15-51-39-107.png!

> Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 on JDK 14 in 
> Spock tests
> -
>
> Key: GROOVY-9505
> URL: https://issues.apache.org/jira/browse/GROOVY-9505
> Project: Groovy
>  Issue Type: Bug
>  Components: Compiler
>Affects Versions: 3.0.0-beta-2
> Environment: Ubuntu 20.04
> Intellij IDEA IntelliJ IDEA 2020.1 (Ultimate Edition)
> Build #IU-201.6668.121, built on April 8, 2020
> Runtime version: 11.0.6+8-b765.25 amd64
> Adopt Open JDK 14.0.0.hs-adpt
>Reporter: Kamil Jedrzejuk
>Priority: Critical
> Attachments: Screenshot from 2020-04-12 22-23-10.png, Screenshot from 
> 2020-04-12 22-23-52.png, image-2020-04-13-15-35-10-149.png, 
> image-2020-04-13-15-35-15-834.png, image-2020-04-13-15-51-39-107.png
>
>   Original Estimate: 720h
>  Remaining Estimate: 720h
>
> I have a problem with integration tests.  I've updated  Java from 11 to 14.
> I can compile my application, but I can't run a integration tests.
> I'm using a Gradle 6.3
> Open JDK 14
> Spring Boot 2.4
> 2.0-M2-groovy-3.0
>  
> The code you can find here 
> [https://github.com/KamilJedrzejuk/weatherinformer/tree/develop]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (GROOVY-9505) Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 on JDK 14 in Spock tests

2020-04-13 Thread Kamil Jedrzejuk (Jira)


 [ 
https://issues.apache.org/jira/browse/GROOVY-9505?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kamil Jedrzejuk updated GROOVY-9505:

Attachment: image-2020-04-13-15-51-39-107.png

> Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 on JDK 14 in 
> Spock tests
> -
>
> Key: GROOVY-9505
> URL: https://issues.apache.org/jira/browse/GROOVY-9505
> Project: Groovy
>  Issue Type: Bug
>  Components: Compiler
>Affects Versions: 3.0.0-beta-2
> Environment: Ubuntu 20.04
> Intellij IDEA IntelliJ IDEA 2020.1 (Ultimate Edition)
> Build #IU-201.6668.121, built on April 8, 2020
> Runtime version: 11.0.6+8-b765.25 amd64
> Adopt Open JDK 14.0.0.hs-adpt
>Reporter: Kamil Jedrzejuk
>Priority: Critical
> Attachments: Screenshot from 2020-04-12 22-23-10.png, Screenshot from 
> 2020-04-12 22-23-52.png, image-2020-04-13-15-35-10-149.png, 
> image-2020-04-13-15-35-15-834.png, image-2020-04-13-15-51-39-107.png
>
>   Original Estimate: 720h
>  Remaining Estimate: 720h
>
> I have a problem with integration tests.  I've updated  Java from 11 to 14.
> I can compile my application, but I can't run a integration tests.
> I'm using a Gradle 6.3
> Open JDK 14
> Spring Boot 2.4
> 2.0-M2-groovy-3.0
>  
> The code you can find here 
> [https://github.com/KamilJedrzejuk/weatherinformer/tree/develop]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (GROOVY-9505) Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 on JDK 14 in Spock tests

2020-04-13 Thread Kamil Jedrzejuk (Jira)


 [ 
https://issues.apache.org/jira/browse/GROOVY-9505?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kamil Jedrzejuk updated GROOVY-9505:

Attachment: image-2020-04-13-15-35-10-149.png

> Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 on JDK 14 in 
> Spock tests
> -
>
> Key: GROOVY-9505
> URL: https://issues.apache.org/jira/browse/GROOVY-9505
> Project: Groovy
>  Issue Type: Bug
>  Components: Compiler
>Affects Versions: 3.0.0-beta-2
> Environment: Ubuntu 20.04
> Intellij IDEA IntelliJ IDEA 2020.1 (Ultimate Edition)
> Build #IU-201.6668.121, built on April 8, 2020
> Runtime version: 11.0.6+8-b765.25 amd64
> Adopt Open JDK 14.0.0.hs-adpt
>Reporter: Kamil Jedrzejuk
>Priority: Critical
> Attachments: Screenshot from 2020-04-12 22-23-10.png, Screenshot from 
> 2020-04-12 22-23-52.png, image-2020-04-13-15-35-10-149.png, 
> image-2020-04-13-15-35-15-834.png
>
>   Original Estimate: 720h
>  Remaining Estimate: 720h
>
> I have a problem with integration tests.  I've updated  Java from 11 to 14.
> I can compile my application, but I can't run a integration tests.
> I'm using a Gradle 6.3
> Open JDK 14
> Spring Boot 2.4
> 2.0-M2-groovy-3.0
>  
> The code you can find here 
> [https://github.com/KamilJedrzejuk/weatherinformer/tree/develop]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (GROOVY-9505) Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 on JDK 14 in Spock tests

2020-04-13 Thread Kamil Jedrzejuk (Jira)


 [ 
https://issues.apache.org/jira/browse/GROOVY-9505?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kamil Jedrzejuk updated GROOVY-9505:

Attachment: image-2020-04-13-15-35-15-834.png

> Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 on JDK 14 in 
> Spock tests
> -
>
> Key: GROOVY-9505
> URL: https://issues.apache.org/jira/browse/GROOVY-9505
> Project: Groovy
>  Issue Type: Bug
>  Components: Compiler
>Affects Versions: 3.0.0-beta-2
> Environment: Ubuntu 20.04
> Intellij IDEA IntelliJ IDEA 2020.1 (Ultimate Edition)
> Build #IU-201.6668.121, built on April 8, 2020
> Runtime version: 11.0.6+8-b765.25 amd64
> Adopt Open JDK 14.0.0.hs-adpt
>Reporter: Kamil Jedrzejuk
>Priority: Critical
> Attachments: Screenshot from 2020-04-12 22-23-10.png, Screenshot from 
> 2020-04-12 22-23-52.png, image-2020-04-13-15-35-10-149.png, 
> image-2020-04-13-15-35-15-834.png
>
>   Original Estimate: 720h
>  Remaining Estimate: 720h
>
> I have a problem with integration tests.  I've updated  Java from 11 to 14.
> I can compile my application, but I can't run a integration tests.
> I'm using a Gradle 6.3
> Open JDK 14
> Spring Boot 2.4
> 2.0-M2-groovy-3.0
>  
> The code you can find here 
> [https://github.com/KamilJedrzejuk/weatherinformer/tree/develop]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Comment Edited] (GROOVY-9505) Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 on JDK 14 in Spock tests

2020-04-13 Thread Marcin Zajaczkowski (Jira)


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

Marcin Zajaczkowski edited comment on GROOVY-9505 at 4/13/20, 1:32 PM:
---

[~CamilYed] Have you changed [this 
line|https://github.com/apache/groovy/blob/a9946449a943fcf55204f8bbfaa71f3419500f2a/src/main/java/org/codehaus/groovy/control/CompilerConfiguration.java#L125]
 in Groovy source code to:

> public static final int ASM_API_VERSION = Opcodes.ASM8;

built Groovy locally, used it in your project and still have:

> {{java.lang.UnsupportedOperationException: This feature requires ASM8}}

?


was (Author: szpak):
[~CamilYed] Have you changed [this 
line|https://github.com/apache/groovy/blob/a9946449a943fcf55204f8bbfaa71f3419500f2a/src/main/java/org/codehaus/groovy/control/CompilerConfiguration.java#L125]
 in Groovy source code to:

> public static final int ASM_API_VERSION = Opcodes.ASM8;

built Groovy locally, use it in your project and still have:

> {{java.lang.UnsupportedOperationException: This feature requires ASM8}}

?

> Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 on JDK 14 in 
> Spock tests
> -
>
> Key: GROOVY-9505
> URL: https://issues.apache.org/jira/browse/GROOVY-9505
> Project: Groovy
>  Issue Type: Bug
>  Components: Compiler
>Affects Versions: 3.0.0-beta-2
> Environment: Ubuntu 20.04
> Intellij IDEA IntelliJ IDEA 2020.1 (Ultimate Edition)
> Build #IU-201.6668.121, built on April 8, 2020
> Runtime version: 11.0.6+8-b765.25 amd64
> Adopt Open JDK 14.0.0.hs-adpt
>Reporter: Kamil Jedrzejuk
>Priority: Critical
> Attachments: Screenshot from 2020-04-12 22-23-10.png, Screenshot from 
> 2020-04-12 22-23-52.png
>
>   Original Estimate: 720h
>  Remaining Estimate: 720h
>
> I have a problem with integration tests.  I've updated  Java from 11 to 14.
> I can compile my application, but I can't run a integration tests.
> I'm using a Gradle 6.3
> Open JDK 14
> Spring Boot 2.4
> 2.0-M2-groovy-3.0
>  
> The code you can find here 
> [https://github.com/KamilJedrzejuk/weatherinformer/tree/develop]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Comment Edited] (GROOVY-9505) Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 on JDK 14 in Spock tests

2020-04-13 Thread Marcin Zajaczkowski (Jira)


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

Marcin Zajaczkowski edited comment on GROOVY-9505 at 4/13/20, 1:31 PM:
---

[~CamilYed] Have you changed [this 
line|https://github.com/apache/groovy/blob/a9946449a943fcf55204f8bbfaa71f3419500f2a/src/main/java/org/codehaus/groovy/control/CompilerConfiguration.java#L125]
 in Groovy source code to:

> public static final int ASM_API_VERSION = Opcodes.ASM8;

built Groovy locally, use it in your project and still have:

> {{java.lang.UnsupportedOperationException: This feature requires ASM8}}

?


was (Author: szpak):
[~CamilYed] Have you changed [this 
line|https://github.com/apache/groovy/blob/a9946449a943fcf55204f8bbfaa71f3419500f2a/src/main/java/org/codehaus/groovy/control/CompilerConfiguration.java#L125]
 in Groovy source code to:

> public static final int ASM_API_VERSION = Opcodes.ASM8;

built Groovy locally, use it in your project and still have:

> {{java.lang.UnsupportedOperationException: This feature requires ASM8}}

?

 

> Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 on JDK 14 in 
> Spock tests
> -
>
> Key: GROOVY-9505
> URL: https://issues.apache.org/jira/browse/GROOVY-9505
> Project: Groovy
>  Issue Type: Bug
>  Components: Compiler
>Affects Versions: 3.0.0-beta-2
> Environment: Ubuntu 20.04
> Intellij IDEA IntelliJ IDEA 2020.1 (Ultimate Edition)
> Build #IU-201.6668.121, built on April 8, 2020
> Runtime version: 11.0.6+8-b765.25 amd64
> Adopt Open JDK 14.0.0.hs-adpt
>Reporter: Kamil Jedrzejuk
>Priority: Critical
> Attachments: Screenshot from 2020-04-12 22-23-10.png, Screenshot from 
> 2020-04-12 22-23-52.png
>
>   Original Estimate: 720h
>  Remaining Estimate: 720h
>
> I have a problem with integration tests.  I've updated  Java from 11 to 14.
> I can compile my application, but I can't run a integration tests.
> I'm using a Gradle 6.3
> Open JDK 14
> Spring Boot 2.4
> 2.0-M2-groovy-3.0
>  
> The code you can find here 
> [https://github.com/KamilJedrzejuk/weatherinformer/tree/develop]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Comment Edited] (GROOVY-9505) Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 on JDK 14 in Spock tests

2020-04-13 Thread Marcin Zajaczkowski (Jira)


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

Marcin Zajaczkowski edited comment on GROOVY-9505 at 4/13/20, 1:31 PM:
---

[~CamilYed] Have you changed [this 
line|https://github.com/apache/groovy/blob/a9946449a943fcf55204f8bbfaa71f3419500f2a/src/main/java/org/codehaus/groovy/control/CompilerConfiguration.java#L125]
 in Groovy source code to:

> public static final int ASM_API_VERSION = Opcodes.ASM8;

built Groovy locally, use it in your project and still have:

> {{java.lang.UnsupportedOperationException: This feature requires ASM8}}

?\{{}}


was (Author: szpak):
[~CamilYed] Have you changed [this 
line|https://github.com/apache/groovy/blob/a9946449a943fcf55204f8bbfaa71f3419500f2a/src/main/java/org/codehaus/groovy/control/CompilerConfiguration.java#L125]
 to:

> public static final int ASM_API_VERSION = Opcodes.ASM8;

built Groovy locally, use it in your project and still have:

> {{java.lang.UnsupportedOperationException: This feature requires ASM8}}

?\{{}}

> Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 on JDK 14 in 
> Spock tests
> -
>
> Key: GROOVY-9505
> URL: https://issues.apache.org/jira/browse/GROOVY-9505
> Project: Groovy
>  Issue Type: Bug
>  Components: Compiler
>Affects Versions: 3.0.0-beta-2
> Environment: Ubuntu 20.04
> Intellij IDEA IntelliJ IDEA 2020.1 (Ultimate Edition)
> Build #IU-201.6668.121, built on April 8, 2020
> Runtime version: 11.0.6+8-b765.25 amd64
> Adopt Open JDK 14.0.0.hs-adpt
>Reporter: Kamil Jedrzejuk
>Priority: Critical
> Attachments: Screenshot from 2020-04-12 22-23-10.png, Screenshot from 
> 2020-04-12 22-23-52.png
>
>   Original Estimate: 720h
>  Remaining Estimate: 720h
>
> I have a problem with integration tests.  I've updated  Java from 11 to 14.
> I can compile my application, but I can't run a integration tests.
> I'm using a Gradle 6.3
> Open JDK 14
> Spring Boot 2.4
> 2.0-M2-groovy-3.0
>  
> The code you can find here 
> [https://github.com/KamilJedrzejuk/weatherinformer/tree/develop]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Comment Edited] (GROOVY-9505) Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 on JDK 14 in Spock tests

2020-04-13 Thread Marcin Zajaczkowski (Jira)


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

Marcin Zajaczkowski edited comment on GROOVY-9505 at 4/13/20, 1:31 PM:
---

[~CamilYed] Have you changed [this 
line|https://github.com/apache/groovy/blob/a9946449a943fcf55204f8bbfaa71f3419500f2a/src/main/java/org/codehaus/groovy/control/CompilerConfiguration.java#L125]
 in Groovy source code to:

> public static final int ASM_API_VERSION = Opcodes.ASM8;

built Groovy locally, use it in your project and still have:

> {{java.lang.UnsupportedOperationException: This feature requires ASM8}}

?

 


was (Author: szpak):
[~CamilYed] Have you changed [this 
line|https://github.com/apache/groovy/blob/a9946449a943fcf55204f8bbfaa71f3419500f2a/src/main/java/org/codehaus/groovy/control/CompilerConfiguration.java#L125]
 in Groovy source code to:

> public static final int ASM_API_VERSION = Opcodes.ASM8;

built Groovy locally, use it in your project and still have:

> {{java.lang.UnsupportedOperationException: This feature requires ASM8}}

?\{{}}

> Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 on JDK 14 in 
> Spock tests
> -
>
> Key: GROOVY-9505
> URL: https://issues.apache.org/jira/browse/GROOVY-9505
> Project: Groovy
>  Issue Type: Bug
>  Components: Compiler
>Affects Versions: 3.0.0-beta-2
> Environment: Ubuntu 20.04
> Intellij IDEA IntelliJ IDEA 2020.1 (Ultimate Edition)
> Build #IU-201.6668.121, built on April 8, 2020
> Runtime version: 11.0.6+8-b765.25 amd64
> Adopt Open JDK 14.0.0.hs-adpt
>Reporter: Kamil Jedrzejuk
>Priority: Critical
> Attachments: Screenshot from 2020-04-12 22-23-10.png, Screenshot from 
> 2020-04-12 22-23-52.png
>
>   Original Estimate: 720h
>  Remaining Estimate: 720h
>
> I have a problem with integration tests.  I've updated  Java from 11 to 14.
> I can compile my application, but I can't run a integration tests.
> I'm using a Gradle 6.3
> Open JDK 14
> Spring Boot 2.4
> 2.0-M2-groovy-3.0
>  
> The code you can find here 
> [https://github.com/KamilJedrzejuk/weatherinformer/tree/develop]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (GROOVY-9505) Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 on JDK 14 in Spock tests

2020-04-13 Thread Marcin Zajaczkowski (Jira)


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

Marcin Zajaczkowski commented on GROOVY-9505:
-

[~CamilYed] Have you change [this 
line|https://github.com/apache/groovy/blob/a9946449a943fcf55204f8bbfaa71f3419500f2a/src/main/java/org/codehaus/groovy/control/CompilerConfiguration.java#L125]
 to:

> public static final int ASM_API_VERSION = Opcodes.ASM8;

built Groovy locally, use it in your project and still have:

> {{java.lang.UnsupportedOperationException: This feature requires ASM8}}

?{{}}

> Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 on JDK 14 in 
> Spock tests
> -
>
> Key: GROOVY-9505
> URL: https://issues.apache.org/jira/browse/GROOVY-9505
> Project: Groovy
>  Issue Type: Bug
>  Components: Compiler
>Affects Versions: 3.0.0-beta-2
> Environment: Ubuntu 20.04
> Intellij IDEA IntelliJ IDEA 2020.1 (Ultimate Edition)
> Build #IU-201.6668.121, built on April 8, 2020
> Runtime version: 11.0.6+8-b765.25 amd64
> Adopt Open JDK 14.0.0.hs-adpt
>Reporter: Kamil Jedrzejuk
>Priority: Critical
> Attachments: Screenshot from 2020-04-12 22-23-10.png, Screenshot from 
> 2020-04-12 22-23-52.png
>
>   Original Estimate: 720h
>  Remaining Estimate: 720h
>
> I have a problem with integration tests.  I've updated  Java from 11 to 14.
> I can compile my application, but I can't run a integration tests.
> I'm using a Gradle 6.3
> Open JDK 14
> Spring Boot 2.4
> 2.0-M2-groovy-3.0
>  
> The code you can find here 
> [https://github.com/KamilJedrzejuk/weatherinformer/tree/develop]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Comment Edited] (GROOVY-9505) Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 on JDK 14 in Spock tests

2020-04-13 Thread Marcin Zajaczkowski (Jira)


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

Marcin Zajaczkowski edited comment on GROOVY-9505 at 4/13/20, 1:30 PM:
---

[~CamilYed] Have you changed [this 
line|https://github.com/apache/groovy/blob/a9946449a943fcf55204f8bbfaa71f3419500f2a/src/main/java/org/codehaus/groovy/control/CompilerConfiguration.java#L125]
 to:

> public static final int ASM_API_VERSION = Opcodes.ASM8;

built Groovy locally, use it in your project and still have:

> {{java.lang.UnsupportedOperationException: This feature requires ASM8}}

?\{{}}


was (Author: szpak):
[~CamilYed] Have you change [this 
line|https://github.com/apache/groovy/blob/a9946449a943fcf55204f8bbfaa71f3419500f2a/src/main/java/org/codehaus/groovy/control/CompilerConfiguration.java#L125]
 to:

> public static final int ASM_API_VERSION = Opcodes.ASM8;

built Groovy locally, use it in your project and still have:

> {{java.lang.UnsupportedOperationException: This feature requires ASM8}}

?{{}}

> Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 on JDK 14 in 
> Spock tests
> -
>
> Key: GROOVY-9505
> URL: https://issues.apache.org/jira/browse/GROOVY-9505
> Project: Groovy
>  Issue Type: Bug
>  Components: Compiler
>Affects Versions: 3.0.0-beta-2
> Environment: Ubuntu 20.04
> Intellij IDEA IntelliJ IDEA 2020.1 (Ultimate Edition)
> Build #IU-201.6668.121, built on April 8, 2020
> Runtime version: 11.0.6+8-b765.25 amd64
> Adopt Open JDK 14.0.0.hs-adpt
>Reporter: Kamil Jedrzejuk
>Priority: Critical
> Attachments: Screenshot from 2020-04-12 22-23-10.png, Screenshot from 
> 2020-04-12 22-23-52.png
>
>   Original Estimate: 720h
>  Remaining Estimate: 720h
>
> I have a problem with integration tests.  I've updated  Java from 11 to 14.
> I can compile my application, but I can't run a integration tests.
> I'm using a Gradle 6.3
> Open JDK 14
> Spring Boot 2.4
> 2.0-M2-groovy-3.0
>  
> The code you can find here 
> [https://github.com/KamilJedrzejuk/weatherinformer/tree/develop]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (GROOVY-9505) Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 on JDK 14 in Spock tests

2020-04-13 Thread Kamil Jedrzejuk (Jira)


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

Kamil Jedrzejuk commented on GROOVY-9505:
-

[~szpak] I've seen that Groovy use a properly asm version. 

I thought about this to build a groovy locally.

> Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 on JDK 14 in 
> Spock tests
> -
>
> Key: GROOVY-9505
> URL: https://issues.apache.org/jira/browse/GROOVY-9505
> Project: Groovy
>  Issue Type: Bug
>  Components: Compiler
>Affects Versions: 3.0.0-beta-2
> Environment: Ubuntu 20.04
> Intellij IDEA IntelliJ IDEA 2020.1 (Ultimate Edition)
> Build #IU-201.6668.121, built on April 8, 2020
> Runtime version: 11.0.6+8-b765.25 amd64
> Adopt Open JDK 14.0.0.hs-adpt
>Reporter: Kamil Jedrzejuk
>Priority: Critical
> Attachments: Screenshot from 2020-04-12 22-23-10.png, Screenshot from 
> 2020-04-12 22-23-52.png
>
>   Original Estimate: 720h
>  Remaining Estimate: 720h
>
> I have a problem with integration tests.  I've updated  Java from 11 to 14.
> I can compile my application, but I can't run a integration tests.
> I'm using a Gradle 6.3
> Open JDK 14
> Spring Boot 2.4
> 2.0-M2-groovy-3.0
>  
> The code you can find here 
> [https://github.com/KamilJedrzejuk/weatherinformer/tree/develop]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (GROOVY-9505) Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 on JDK 14 in Spock tests

2020-04-13 Thread Marcin Zajaczkowski (Jira)


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

Marcin Zajaczkowski commented on GROOVY-9505:
-

It's not a problem with the asm version anymore. 3.0.3 uses 8.1. However, as I 
mentioned in my last comment CompilerConfiguration (also in master) uses 
Opcodes.ASM7 which generates the last error (see the asm code in the given 
line). The case, I asked Paul, is if it there are other things to do to make 
Groovy be able to recognized record in compiled Java 14 code.

The thing you [~CamilYed] may - if you have time - is to bump this 
(Opcodes.ASM8) locally, compile and build Groovy and (if successful) check if 
that snapshot works in your project.

> Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 on JDK 14 in 
> Spock tests
> -
>
> Key: GROOVY-9505
> URL: https://issues.apache.org/jira/browse/GROOVY-9505
> Project: Groovy
>  Issue Type: Bug
>  Components: Compiler
>Affects Versions: 3.0.0-beta-2
> Environment: Ubuntu 20.04
> Intellij IDEA IntelliJ IDEA 2020.1 (Ultimate Edition)
> Build #IU-201.6668.121, built on April 8, 2020
> Runtime version: 11.0.6+8-b765.25 amd64
> Adopt Open JDK 14.0.0.hs-adpt
>Reporter: Kamil Jedrzejuk
>Priority: Critical
> Attachments: Screenshot from 2020-04-12 22-23-10.png, Screenshot from 
> 2020-04-12 22-23-52.png
>
>   Original Estimate: 720h
>  Remaining Estimate: 720h
>
> I have a problem with integration tests.  I've updated  Java from 11 to 14.
> I can compile my application, but I can't run a integration tests.
> I'm using a Gradle 6.3
> Open JDK 14
> Spring Boot 2.4
> 2.0-M2-groovy-3.0
>  
> The code you can find here 
> [https://github.com/KamilJedrzejuk/weatherinformer/tree/develop]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (GROOVY-9505) Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 on JDK 14 in Spock tests

2020-04-13 Thread Kamil Jedrzejuk (Jira)


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

Kamil Jedrzejuk commented on GROOVY-9505:
-

After update a Groovy to 3.0.4-SNAPSHOT the problem still exists.

 

groovy.version=3.0.4-SNAPSHOT

> Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 on JDK 14 in 
> Spock tests
> -
>
> Key: GROOVY-9505
> URL: https://issues.apache.org/jira/browse/GROOVY-9505
> Project: Groovy
>  Issue Type: Bug
>  Components: Compiler
>Affects Versions: 3.0.0-beta-2
> Environment: Ubuntu 20.04
> Intellij IDEA IntelliJ IDEA 2020.1 (Ultimate Edition)
> Build #IU-201.6668.121, built on April 8, 2020
> Runtime version: 11.0.6+8-b765.25 amd64
> Adopt Open JDK 14.0.0.hs-adpt
>Reporter: Kamil Jedrzejuk
>Priority: Critical
> Attachments: Screenshot from 2020-04-12 22-23-10.png, Screenshot from 
> 2020-04-12 22-23-52.png
>
>   Original Estimate: 720h
>  Remaining Estimate: 720h
>
> I have a problem with integration tests.  I've updated  Java from 11 to 14.
> I can compile my application, but I can't run a integration tests.
> I'm using a Gradle 6.3
> Open JDK 14
> Spring Boot 2.4
> 2.0-M2-groovy-3.0
>  
> The code you can find here 
> [https://github.com/KamilJedrzejuk/weatherinformer/tree/develop]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Issue Comment Deleted] (GROOVY-9505) Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 on JDK 14 in Spock tests

2020-04-13 Thread Kamil Jedrzejuk (Jira)


 [ 
https://issues.apache.org/jira/browse/GROOVY-9505?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kamil Jedrzejuk updated GROOVY-9505:

Comment: was deleted

(was: Maybe 
[https://oss.jfrog.org/artifactory/oss-snapshot-local/org/codehaus/groovy/groovy-all/3.0.4-SNAPSHOT/]
 this will resolve a problem but I dont know how to force gradle to use this 
version...)

> Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 on JDK 14 in 
> Spock tests
> -
>
> Key: GROOVY-9505
> URL: https://issues.apache.org/jira/browse/GROOVY-9505
> Project: Groovy
>  Issue Type: Bug
>  Components: Compiler
>Affects Versions: 3.0.0-beta-2
> Environment: Ubuntu 20.04
> Intellij IDEA IntelliJ IDEA 2020.1 (Ultimate Edition)
> Build #IU-201.6668.121, built on April 8, 2020
> Runtime version: 11.0.6+8-b765.25 amd64
> Adopt Open JDK 14.0.0.hs-adpt
>Reporter: Kamil Jedrzejuk
>Priority: Critical
> Attachments: Screenshot from 2020-04-12 22-23-10.png, Screenshot from 
> 2020-04-12 22-23-52.png
>
>   Original Estimate: 720h
>  Remaining Estimate: 720h
>
> I have a problem with integration tests.  I've updated  Java from 11 to 14.
> I can compile my application, but I can't run a integration tests.
> I'm using a Gradle 6.3
> Open JDK 14
> Spring Boot 2.4
> 2.0-M2-groovy-3.0
>  
> The code you can find here 
> [https://github.com/KamilJedrzejuk/weatherinformer/tree/develop]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Comment Edited] (GROOVY-9505) Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 on JDK 14 in Spock tests

2020-04-13 Thread Kamil Jedrzejuk (Jira)


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

Kamil Jedrzejuk edited comment on GROOVY-9505 at 4/13/20, 11:29 AM:


[~szpak]

Ok I've update a Soring Boot to 2.2.6 and also forced to use a groovy 3.0.3.

java.lang.UnsupportedOperationException: This feature requires ASM8

as you wrote here: 
[https://github.com/spockframework/spock/issues/1142#issuecomment-612855754]


was (Author: camilyed):
[~szpak]

Ok I've update a Soring Boot to 2.2.6 and also forced to use a groovy 3.0.3, 
and now I have a:

java.lang.UnsupportedOperationException: This feature requires ASM8

as you wrote here: 
[https://github.com/spockframework/spock/issues/1142#issuecomment-612855754]

> Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 on JDK 14 in 
> Spock tests
> -
>
> Key: GROOVY-9505
> URL: https://issues.apache.org/jira/browse/GROOVY-9505
> Project: Groovy
>  Issue Type: Bug
>  Components: Compiler
>Affects Versions: 3.0.0-beta-2
> Environment: Ubuntu 20.04
> Intellij IDEA IntelliJ IDEA 2020.1 (Ultimate Edition)
> Build #IU-201.6668.121, built on April 8, 2020
> Runtime version: 11.0.6+8-b765.25 amd64
> Adopt Open JDK 14.0.0.hs-adpt
>Reporter: Kamil Jedrzejuk
>Priority: Critical
> Attachments: Screenshot from 2020-04-12 22-23-10.png, Screenshot from 
> 2020-04-12 22-23-52.png
>
>   Original Estimate: 720h
>  Remaining Estimate: 720h
>
> I have a problem with integration tests.  I've updated  Java from 11 to 14.
> I can compile my application, but I can't run a integration tests.
> I'm using a Gradle 6.3
> Open JDK 14
> Spring Boot 2.4
> 2.0-M2-groovy-3.0
>  
> The code you can find here 
> [https://github.com/KamilJedrzejuk/weatherinformer/tree/develop]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Comment Edited] (GROOVY-9505) Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 on JDK 14 in Spock tests

2020-04-13 Thread Kamil Jedrzejuk (Jira)


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

Kamil Jedrzejuk edited comment on GROOVY-9505 at 4/13/20, 11:29 AM:


[~paulk] 

Hi I've download two poms:

org.spockframework:spock-core 
[https://mvnrepository.com/artifact/org.spockframework/spock-core/2.0-M2-groovy-3.0]

org.spockframework:spock-spring 
[https://mvnrepository.com/artifact/org.spockframework/spock-spring/2.0-M2-groovy-3.0]

I've changed in each of poms the artifactId to:  '2.0-M2-groovy-3.0.3',

and also in each pom I've changed groovy version from 3.0.0 to 3.0.3 after that 
I have installed this artifacts in my local maven repo. In my build gradle I 
would like to use them (with changed artifacts id).  But now I'm getting: 

General error during conversion: This feature requires ASM8
java.lang.UnsupportedOperationException: This feature requires ASM8

 

 
{code:java}
buildscript {
ext {
springBootVersion = '2.2.4.RELEASE'
}
repositories {
mavenCentral()
maven { url "https://repo.spring.io/snapshot; }
maven { url "https://repo.spring.io/milestone; }
maven { url "https://plugins.gradle.org/m2/; }
}
dependencies {

classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
classpath("net.ltgt.gradle:gradle-apt-plugin:0.21")
}
}

apply plugin: 'java'
apply plugin: 'groovy'
apply plugin: 'application'
apply plugin: 'idea'
apply plugin: 'org.springframework.boot'
apply plugin: 'io.spring.dependency-management'
apply plugin: 'net.ltgt.apt'

group = 'com.twitter.kamilyedrzejuq'
version = '0.0.2-SNAPSHOT'

sourceCompatibility = JavaVersion.VERSION_14
targetCompatibility = JavaVersion.VERSION_14

mainClassName = "com.twitter.kamilyedrzejuq.Application"

compileJava.options.encoding = 'UTF-8'
compileTestJava.options.encoding = 'UTF-8'
compileJava.dependsOn(processResources)

tasks.withType(JavaCompile).each {
it.options.compilerArgs.add('--enable-preview')
}

[bootJar, bootRun, bootDistTar, bootDistZip, distTar, distZip]*.enabled = false
jar.enabled = true

project.ext.versions = [
lombokVersion   : '1.18.12',
swaggerVersion  : '2.9.2',
spockVersion: '2.0-M2-groovy-3.0.3',
vavrVersion : '0.10.2',
mockWebServerVersion: '3.14.1',
gsonVersion : '2.8.5',
springdocOpenapiVersion : '1.3.2'
]

repositories {
mavenLocal()
mavenCentral()
maven { url "https://repo.spring.io/snapshot; }
maven { url "https://repo.spring.io/milestone; }
}

test {
useJUnitPlatform()
jvmArgs(['--enable-preview'])
testLogging {
exceptionFormat = 'full'
events = ["STARTED", "PASSED", "SKIPPED", "FAILED"]

}
}

sourceSets {
integrationTest {
groovy {
compileClasspath += main.output + test.output
runtimeClasspath += main.output + test.output
srcDir {
file('src/integrationTest/groovy')
}
}
resources.srcDir file('src/integrationTest/resources')
}
}

configurations {
integrationTestImplementation.extendsFrom compileOnly
integrationTestImplementation.extendsFrom implementation
integrationTestImplementation.extendsFrom annotationProcessor
integrationTestImplementation.extendsFrom testImplementation
}

task integrationTest(type: Test) {
testClassesDirs = sourceSets.integrationTest.output.classesDirs
classpath = sourceSets.integrationTest.runtimeClasspath
include '**/*Spec.*'
include '**/*Test.*'

systemProperty 'spring.profiles.active', 'integration'
outputs.upToDateWhen { false }
}


dependencies {
compileOnly("org.projectlombok:lombok:${versions.lombokVersion}")
annotationProcessor("org.projectlombok:lombok:${versions.lombokVersion}")

implementation("org.springframework.boot:spring-boot-starter-webflux")

implementation("io.vavr:vavr:${versions.vavrVersion}")

implementation("com.google.code.gson:gson:${versions.gsonVersion}")

implementation("org.springdoc:springdoc-openapi-webflux-ui:${versions.springdocOpenapiVersion}")

testImplementation 'org.codehaus.groovy:groovy-all:3.0.3'

testImplementation("org.spockframework:spock-core:${versions.spockVersion}") {
//exclude group : 'org.codehaus.groovy'
//compile 'org.codehaus.groovy:groovy:3.0.3'
//compile 'org.codehaus.groovy:groovy-json:3.0.3'
//compile 'org.codehaus.groovy:groovy-nio:3.0.3'
//compile 'org.codehaus.groovy:groovy-macro:3.0.3'
//compile 'org.codehaus.groovy:groovy-templates:3.0.3'
//compile 'org.codehaus.groovy:groovy-test:3.0.3'
//compile 

[jira] [Comment Edited] (GROOVY-9505) Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 on JDK 14 in Spock tests

2020-04-13 Thread Marcin Zajaczkowski (Jira)


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

Marcin Zajaczkowski edited comment on GROOVY-9505 at 4/13/20, 11:12 AM:


[~paulk] I made a separate investigation in the meantime 
[here|https://github.com/spockframework/spock/issues/1142#issuecomment-612855754]
 and the key question there is:

Can Groovy (3.0.3) interact with {{record}} defined in Java 14 production code?

 (assuming ASM_API_VERSION in 
[CompilerConfiguration|https://github.com/apache/groovy/blob/a9946449a943fcf55204f8bbfaa71f3419500f2a/src/main/java/org/codehaus/groovy/control/CompilerConfiguration.java#L125]
 is changed to Opcodes.ASM8)


was (Author: szpak):
[~paulk] I made a separate investigation in the meantime 
[here|https://github.com/spockframework/spock/issues/1142#issuecomment-612855754]
 and the key question there is:

Can Groovy (3.0.3) interact with {{record}} defined in Java 14 production code?

 (once ASM_API_VERSION in 
[CompilerConfiguration|https://github.com/apache/groovy/blob/a9946449a943fcf55204f8bbfaa71f3419500f2a/src/main/java/org/codehaus/groovy/control/CompilerConfiguration.java#L125]
 is changed to Opcodes.ASM8)

> Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 on JDK 14 in 
> Spock tests
> -
>
> Key: GROOVY-9505
> URL: https://issues.apache.org/jira/browse/GROOVY-9505
> Project: Groovy
>  Issue Type: Bug
>  Components: Compiler
>Affects Versions: 3.0.0-beta-2
> Environment: Ubuntu 20.04
> Intellij IDEA IntelliJ IDEA 2020.1 (Ultimate Edition)
> Build #IU-201.6668.121, built on April 8, 2020
> Runtime version: 11.0.6+8-b765.25 amd64
> Adopt Open JDK 14.0.0.hs-adpt
>Reporter: Kamil Jedrzejuk
>Priority: Critical
> Attachments: Screenshot from 2020-04-12 22-23-10.png, Screenshot from 
> 2020-04-12 22-23-52.png
>
>   Original Estimate: 720h
>  Remaining Estimate: 720h
>
> I have a problem with integration tests.  I've updated  Java from 11 to 14.
> I can compile my application, but I can't run a integration tests.
> I'm using a Gradle 6.3
> Open JDK 14
> Spring Boot 2.4
> 2.0-M2-groovy-3.0
>  
> The code you can find here 
> [https://github.com/KamilJedrzejuk/weatherinformer/tree/develop]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (GROOVY-9505) Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 on JDK 14 in Spock tests

2020-04-13 Thread Marcin Zajaczkowski (Jira)


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

Marcin Zajaczkowski commented on GROOVY-9505:
-

[~paulk] I made a separate investigation in the meantime 
[here|https://github.com/spockframework/spock/issues/1142#issuecomment-612855754
 ] and the key question there is:

Can Groovy (3.0.3) interact with {{record}} defined in Java 14 production code?

 

> Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 on JDK 14 in 
> Spock tests
> -
>
> Key: GROOVY-9505
> URL: https://issues.apache.org/jira/browse/GROOVY-9505
> Project: Groovy
>  Issue Type: Bug
>  Components: Compiler
>Affects Versions: 3.0.0-beta-2
> Environment: Ubuntu 20.04
> Intellij IDEA IntelliJ IDEA 2020.1 (Ultimate Edition)
> Build #IU-201.6668.121, built on April 8, 2020
> Runtime version: 11.0.6+8-b765.25 amd64
> Adopt Open JDK 14.0.0.hs-adpt
>Reporter: Kamil Jedrzejuk
>Priority: Critical
> Attachments: Screenshot from 2020-04-12 22-23-10.png, Screenshot from 
> 2020-04-12 22-23-52.png
>
>   Original Estimate: 720h
>  Remaining Estimate: 720h
>
> I have a problem with integration tests.  I've updated  Java from 11 to 14.
> I can compile my application, but I can't run a integration tests.
> I'm using a Gradle 6.3
> Open JDK 14
> Spring Boot 2.4
> 2.0-M2-groovy-3.0
>  
> The code you can find here 
> [https://github.com/KamilJedrzejuk/weatherinformer/tree/develop]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Comment Edited] (GROOVY-9505) Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 on JDK 14 in Spock tests

2020-04-13 Thread Kamil Jedrzejuk (Jira)


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

Kamil Jedrzejuk edited comment on GROOVY-9505 at 4/13/20, 8:52 AM:
---

[~paulk] 

Hi I've download two poms:

org.spockframework:spock-core 
[https://mvnrepository.com/artifact/org.spockframework/spock-core/2.0-M2-groovy-3.0]

org.spockframework:spock-spring 
[https://mvnrepository.com/artifact/org.spockframework/spock-spring/2.0-M2-groovy-3.0]

I've changed in each of poms the artifactId to:  '2.0-M2-groovy-3.0.3',

and also in each pom I've changed groovy version from 3.0.0 to 3.0.3 after that 
I have installed this artifacts in my local maven repo. In my build gradle I 
would like to use them (with changed artifacts id). BUt I still have the same 
problem.

 

 
{code:java}
buildscript {
ext {
springBootVersion = '2.2.4.RELEASE'
}
repositories {
mavenCentral()
maven { url "https://repo.spring.io/snapshot; }
maven { url "https://repo.spring.io/milestone; }
maven { url "https://plugins.gradle.org/m2/; }
}
dependencies {

classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
classpath("net.ltgt.gradle:gradle-apt-plugin:0.21")
}
}

apply plugin: 'java'
apply plugin: 'groovy'
apply plugin: 'application'
apply plugin: 'idea'
apply plugin: 'org.springframework.boot'
apply plugin: 'io.spring.dependency-management'
apply plugin: 'net.ltgt.apt'

group = 'com.twitter.kamilyedrzejuq'
version = '0.0.2-SNAPSHOT'

sourceCompatibility = JavaVersion.VERSION_14
targetCompatibility = JavaVersion.VERSION_14

mainClassName = "com.twitter.kamilyedrzejuq.Application"

compileJava.options.encoding = 'UTF-8'
compileTestJava.options.encoding = 'UTF-8'
compileJava.dependsOn(processResources)

tasks.withType(JavaCompile).each {
it.options.compilerArgs.add('--enable-preview')
}

[bootJar, bootRun, bootDistTar, bootDistZip, distTar, distZip]*.enabled = false
jar.enabled = true

project.ext.versions = [
lombokVersion   : '1.18.12',
swaggerVersion  : '2.9.2',
spockVersion: '2.0-M2-groovy-3.0.3',
vavrVersion : '0.10.2',
mockWebServerVersion: '3.14.1',
gsonVersion : '2.8.5',
springdocOpenapiVersion : '1.3.2'
]

repositories {
mavenLocal()
mavenCentral()
maven { url "https://repo.spring.io/snapshot; }
maven { url "https://repo.spring.io/milestone; }
}

test {
useJUnitPlatform()
jvmArgs(['--enable-preview'])
testLogging {
exceptionFormat = 'full'
events = ["STARTED", "PASSED", "SKIPPED", "FAILED"]

}
}

sourceSets {
integrationTest {
groovy {
compileClasspath += main.output + test.output
runtimeClasspath += main.output + test.output
srcDir {
file('src/integrationTest/groovy')
}
}
resources.srcDir file('src/integrationTest/resources')
}
}

configurations {
integrationTestImplementation.extendsFrom compileOnly
integrationTestImplementation.extendsFrom implementation
integrationTestImplementation.extendsFrom annotationProcessor
integrationTestImplementation.extendsFrom testImplementation
}

task integrationTest(type: Test) {
testClassesDirs = sourceSets.integrationTest.output.classesDirs
classpath = sourceSets.integrationTest.runtimeClasspath
include '**/*Spec.*'
include '**/*Test.*'

systemProperty 'spring.profiles.active', 'integration'
outputs.upToDateWhen { false }
}


dependencies {
compileOnly("org.projectlombok:lombok:${versions.lombokVersion}")
annotationProcessor("org.projectlombok:lombok:${versions.lombokVersion}")

implementation("org.springframework.boot:spring-boot-starter-webflux")

implementation("io.vavr:vavr:${versions.vavrVersion}")

implementation("com.google.code.gson:gson:${versions.gsonVersion}")

implementation("org.springdoc:springdoc-openapi-webflux-ui:${versions.springdocOpenapiVersion}")

testImplementation 'org.codehaus.groovy:groovy-all:3.0.3'

testImplementation("org.spockframework:spock-core:${versions.spockVersion}") {
//exclude group : 'org.codehaus.groovy'
//compile 'org.codehaus.groovy:groovy:3.0.3'
//compile 'org.codehaus.groovy:groovy-json:3.0.3'
//compile 'org.codehaus.groovy:groovy-nio:3.0.3'
//compile 'org.codehaus.groovy:groovy-macro:3.0.3'
//compile 'org.codehaus.groovy:groovy-templates:3.0.3'
//compile 'org.codehaus.groovy:groovy-test:3.0.3'
//compile 'org.codehaus.groovy:groovy-sql:3.0.3'
//compile 'org.codehaus.groovy:groovy-xml:3.0.3'

}


[jira] [Commented] (GROOVY-9505) Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 on JDK 14 in Spock tests

2020-04-13 Thread Kamil Jedrzejuk (Jira)


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

Kamil Jedrzejuk commented on GROOVY-9505:
-

[~paulk] 

Hi I've download to poms:

org.spockframework:spock-core

org.spockframework:spock-spring

I've changed artifactsid to

spockVersion : '2.0-M2-groovy-3.0.3',

and in each pom I've changed groovy version from 3.0.0 to 3.0.3 after that I 
have installed this artifacts in my local maven repo. In my build gradle I 
wouold like to use them (with changed artifacts id). BUt I still have the same 
problem.

 

 
{code:java}
buildscript {
ext {
springBootVersion = '2.2.4.RELEASE'
}
repositories {
mavenCentral()
maven { url "https://repo.spring.io/snapshot; }
maven { url "https://repo.spring.io/milestone; }
maven { url "https://plugins.gradle.org/m2/; }
}
dependencies {

classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
classpath("net.ltgt.gradle:gradle-apt-plugin:0.21")
}
}

apply plugin: 'java'
apply plugin: 'groovy'
apply plugin: 'application'
apply plugin: 'idea'
apply plugin: 'org.springframework.boot'
apply plugin: 'io.spring.dependency-management'
apply plugin: 'net.ltgt.apt'

group = 'com.twitter.kamilyedrzejuq'
version = '0.0.2-SNAPSHOT'

sourceCompatibility = JavaVersion.VERSION_14
targetCompatibility = JavaVersion.VERSION_14

mainClassName = "com.twitter.kamilyedrzejuq.Application"

compileJava.options.encoding = 'UTF-8'
compileTestJava.options.encoding = 'UTF-8'
compileJava.dependsOn(processResources)

tasks.withType(JavaCompile).each {
it.options.compilerArgs.add('--enable-preview')
}

[bootJar, bootRun, bootDistTar, bootDistZip, distTar, distZip]*.enabled = false
jar.enabled = true

project.ext.versions = [
lombokVersion   : '1.18.12',
swaggerVersion  : '2.9.2',
spockVersion: '2.0-M2-groovy-3.0.3',
vavrVersion : '0.10.2',
mockWebServerVersion: '3.14.1',
gsonVersion : '2.8.5',
springdocOpenapiVersion : '1.3.2'
]

repositories {
mavenLocal()
mavenCentral()
maven { url "https://repo.spring.io/snapshot; }
maven { url "https://repo.spring.io/milestone; }
}

test {
useJUnitPlatform()
jvmArgs(['--enable-preview'])
testLogging {
exceptionFormat = 'full'
events = ["STARTED", "PASSED", "SKIPPED", "FAILED"]

}
}

sourceSets {
integrationTest {
groovy {
compileClasspath += main.output + test.output
runtimeClasspath += main.output + test.output
srcDir {
file('src/integrationTest/groovy')
}
}
resources.srcDir file('src/integrationTest/resources')
}
}

configurations {
integrationTestImplementation.extendsFrom compileOnly
integrationTestImplementation.extendsFrom implementation
integrationTestImplementation.extendsFrom annotationProcessor
integrationTestImplementation.extendsFrom testImplementation
}

task integrationTest(type: Test) {
testClassesDirs = sourceSets.integrationTest.output.classesDirs
classpath = sourceSets.integrationTest.runtimeClasspath
include '**/*Spec.*'
include '**/*Test.*'

systemProperty 'spring.profiles.active', 'integration'
outputs.upToDateWhen { false }
}


dependencies {
compileOnly("org.projectlombok:lombok:${versions.lombokVersion}")
annotationProcessor("org.projectlombok:lombok:${versions.lombokVersion}")

implementation("org.springframework.boot:spring-boot-starter-webflux")

implementation("io.vavr:vavr:${versions.vavrVersion}")

implementation("com.google.code.gson:gson:${versions.gsonVersion}")

implementation("org.springdoc:springdoc-openapi-webflux-ui:${versions.springdocOpenapiVersion}")

testImplementation 'org.codehaus.groovy:groovy-all:3.0.3'

testImplementation("org.spockframework:spock-core:${versions.spockVersion}") {
//exclude group : 'org.codehaus.groovy'
//compile 'org.codehaus.groovy:groovy:3.0.3'
//compile 'org.codehaus.groovy:groovy-json:3.0.3'
//compile 'org.codehaus.groovy:groovy-nio:3.0.3'
//compile 'org.codehaus.groovy:groovy-macro:3.0.3'
//compile 'org.codehaus.groovy:groovy-templates:3.0.3'
//compile 'org.codehaus.groovy:groovy-test:3.0.3'
//compile 'org.codehaus.groovy:groovy-sql:3.0.3'
//compile 'org.codehaus.groovy:groovy-xml:3.0.3'

}

testImplementation("org.spockframework:spock-spring:${versions.spockVersion}") {
//exclude group : 'org.codehaus.groovy'
//compile 'org.codehaus.groovy:groovy:3.0.3'
//compile 'org.codehaus.groovy:groovy-json:3.0.3'
//compile 

[jira] [Commented] (GROOVY-9505) Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 on JDK 14 in Spock tests

2020-04-13 Thread Kamil Jedrzejuk (Jira)


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

Kamil Jedrzejuk commented on GROOVY-9505:
-

Paul what I should have in my build.gradle. I think that Spock Does not support 
Groovy 3.0.3

> Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 on JDK 14 in 
> Spock tests
> -
>
> Key: GROOVY-9505
> URL: https://issues.apache.org/jira/browse/GROOVY-9505
> Project: Groovy
>  Issue Type: Bug
>  Components: Compiler
>Affects Versions: 3.0.0-beta-2
> Environment: Ubuntu 20.04
> Intellij IDEA IntelliJ IDEA 2020.1 (Ultimate Edition)
> Build #IU-201.6668.121, built on April 8, 2020
> Runtime version: 11.0.6+8-b765.25 amd64
> Adopt Open JDK 14.0.0.hs-adpt
>Reporter: Kamil Jedrzejuk
>Priority: Critical
> Attachments: Screenshot from 2020-04-12 22-23-10.png, Screenshot from 
> 2020-04-12 22-23-52.png
>
>   Original Estimate: 720h
>  Remaining Estimate: 720h
>
> I have a problem with integration tests.  I've updated  Java from 11 to 14.
> I can compile my application, but I can't run a integration tests.
> I'm using a Gradle 6.3
> Open JDK 14
> Spring Boot 2.4
> 2.0-M2-groovy-3.0
>  
> The code you can find here 
> [https://github.com/KamilJedrzejuk/weatherinformer/tree/develop]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)