[JBoss JIRA] (JBWS-4138) JDK11 illegal reflective access warnings in gmavenplus-plugin
by Jan Blizňák (Jira)
[ https://issues.jboss.org/browse/JBWS-4138?page=com.atlassian.jira.plugin.... ]
Jan Blizňák edited comment on JBWS-4138 at 10/4/18 9:06 AM:
------------------------------------------------------------
I tried the easy approach of updating plugin to 1.6.1 and groovy to 2.5.2 but that only leads to another warning and the build crash:
{code:java}
[INFO] --- gmavenplus-plugin:1.6.1:execute (testsuite-default) @ jbossws-cxf-specific-tests ---
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.codehaus.groovy.vmplugin.v7.Java7$1 (file:/home/jbliznak/.m2/repository/org/codehaus/groovy/groovy/2.5.2/groovy-2.5.2.jar) to constructor java.lang.invoke.MethodHandles$Lookup(java.lang.Class,int)
WARNING: Please consider reporting this to the maintainers of org.codehaus.groovy.vmplugin.v7.Java7$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
[INFO] Using Groovy 2.5.2 to perform execute.
...
[ERROR] Failed to execute goal org.codehaus.gmavenplus:gmavenplus-plugin:1.6.1:execute (testsuite-default) on project jbossws-cxf-specific-tests: Error occurred while calling a method on a Groovy class from classpath.: InvocationTargetException: BUG! exception in phase 'semantic analysis' in source unit 'Script1.groovy' null: UnsupportedOperationException -> [Help 1]{code}
The crash seems to be caused by https://issues.apache.org/jira/browse/GROOVY-8727, for the warning I have nothing.
was (Author: jbliznak):
I tried the easy approach of updating plugin to 1.6.1 and groovy to 2.5.2 but that only leads to another warning ad the buidl crash:
{code:java}
[INFO] --- gmavenplus-plugin:1.6.1:execute (testsuite-default) @ jbossws-cxf-specific-tests ---
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.codehaus.groovy.vmplugin.v7.Java7$1 (file:/home/jbliznak/.m2/repository/org/codehaus/groovy/groovy/2.5.2/groovy-2.5.2.jar) to constructor java.lang.invoke.MethodHandles$Lookup(java.lang.Class,int)
WARNING: Please consider reporting this to the maintainers of org.codehaus.groovy.vmplugin.v7.Java7$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
[INFO] Using Groovy 2.5.2 to perform execute.
...
[ERROR] Failed to execute goal org.codehaus.gmavenplus:gmavenplus-plugin:1.6.1:execute (testsuite-default) on project jbossws-cxf-specific-tests: Error occurred while calling a method on a Groovy class from classpath.: InvocationTargetException: BUG! exception in phase 'semantic analysis' in source unit 'Script1.groovy' null: UnsupportedOperationException -> [Help 1]{code}
The crash seems to be caused by https://issues.apache.org/jira/browse/GROOVY-8727, for the warning I have nothing.
> JDK11 illegal reflective access warnings in gmavenplus-plugin
> -------------------------------------------------------------
>
> Key: JBWS-4138
> URL: https://issues.jboss.org/browse/JBWS-4138
> Project: JBoss Web Services
> Issue Type: Bug
> Affects Versions: jbossws-cxf-5.2.3.Final
> Reporter: Jan Blizňák
> Priority: Major
>
> When running build with JDK11, the execution of gmavenplus-plugin during testsuite prints illegal reflective access warnings
> {code:java}
> [INFO] --- gmavenplus-plugin:1.5:execute (testsuite-default) @ jbossws-cxf-specific-tests ---
> WARNING: An illegal reflective access operation has occurred
> WARNING: Illegal reflective access by org.codehaus.groovy.reflection.CachedClass (file:/home/jbliznak/.m2/repository/org/codehaus/groovy/groovy-all/2.4.15/groovy-all-2.4.15.jar) to method java.lang.Object.finalize()
> WARNING: Please consider reporting this to the maintainers of org.codehaus.groovy.reflection.CachedClass
> WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
> WARNING: All illegal access operations will be denied in a future release
> {code}
> This will become problem in JDK 12
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 2 months
[JBoss JIRA] (JBWS-4144) JAX-RS Regression
by david.boeren (Jira)
[ https://issues.jboss.org/browse/JBWS-4144?page=com.atlassian.jira.plugin.... ]
david.boeren commented on JBWS-4144:
------------------------------------
Sorry about that, I've re-opened it as RESTEASY-2032 with the file attachment.
> JAX-RS Regression
> -----------------
>
> Key: JBWS-4144
> URL: https://issues.jboss.org/browse/JBWS-4144
> Project: JBoss Web Services
> Issue Type: Bug
> Reporter: david.boeren
> Priority: Minor
>
> Calling this example service with Resteasy works initially but after a 1 minute timeout it no longer works and throws an exception. Making a new call after the failure will cause it to work again as long as you don't let the timeout period pass between calls.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 2 months
[JBoss JIRA] (JBWS-4144) JAX-RS Regression
by Alessio Soldano (JIRA)
[ https://issues.jboss.org/browse/JBWS-4144?page=com.atlassian.jira.plugin.... ]
Alessio Soldano commented on JBWS-4144:
---------------------------------------
[~david.boeren], is this a JBWS or RESTEASY issue? It looks like you filled it in as a JBWS by mistake.
Besides that, I don't see the mentioned testcase and the visual.force.com link can't be used by us.
> JAX-RS Regression
> -----------------
>
> Key: JBWS-4144
> URL: https://issues.jboss.org/browse/JBWS-4144
> Project: JBoss Web Services
> Issue Type: Bug
> Reporter: david.boeren
> Priority: Minor
>
> Calling this example service with Resteasy works initially but after a 1 minute timeout it no longer works and throws an exception. Making a new call after the failure will cause it to work again as long as you don't let the timeout period pass between calls.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years, 2 months
[JBoss JIRA] (JBWS-4144) JAX-RS Regression
by david.boeren (JIRA)
david.boeren created JBWS-4144:
----------------------------------
Summary: JAX-RS Regression
Key: JBWS-4144
URL: https://issues.jboss.org/browse/JBWS-4144
Project: JBoss Web Services
Issue Type: Bug
Reporter: david.boeren
Priority: Minor
Calling this example service with Resteasy works initially but after a 1 minute timeout it no longer works and throws an exception. Making a new call after the failure will cause it to work again as long as you don't let the timeout period pass between calls.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years, 2 months