[JBoss JIRA] (JBIDE-26336) Upgrade jacoco version to 0.8.2+ to be compatible with Java 11
by Aurélien Pupier (JIRA)
[ https://issues.jboss.org/browse/JBIDE-26336?page=com.atlassian.jira.plugi... ]
Aurélien Pupier commented on JBIDE-26336:
-----------------------------------------
The best is to upgrade everything to use the latest jacoco version. It will provide more accurate code coverage.
in a first time, using it only for jdk11 profile is fine.
Upgrading for all versions (and so use the newest plugins on Jenkins) can be done in a second iteration.
> Upgrade jacoco version to 0.8.2+ to be compatible with Java 11
> --------------------------------------------------------------
>
> Key: JBIDE-26336
> URL: https://issues.jboss.org/browse/JBIDE-26336
> Project: Tools (JBoss Tools)
> Issue Type: Task
> Components: build
> Affects Versions: 4.9.0.AM3
> Reporter: Aurélien Pupier
> Assignee: Aurélien Pupier
> Fix For: 4.9.0.Final
>
>
> https://github.com/jacoco/jacoco/releases/tag/v0.8.2
> {quote}Experimental support for Java 11 and Java 12 class files, including JEP 12 "preview features" (GitHub #719, #738, #743).{quote}
> for now for SAp Tooling, I got
> {noformat}
> 09:37:54 Exception in thread "main" java.lang.reflect.InvocationTargetException
> 09:37:54 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 09:37:54 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> 09:37:54 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 09:37:54 at java.base/java.lang.reflect.Method.invoke(Method.java:566)
> 09:37:54 at java.instrument/sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:513)
> 09:37:54 at java.instrument/sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:525)
> 09:37:54 Caused by: java.lang.RuntimeException: Class java/lang/UnknownError could not be instrumented.
> 09:37:54 at org.jacoco.agent.rt.internal_c13123e.core.runtime.ModifiedSystemClassRuntime.createFor(ModifiedSystemClassRuntime.java:140)
> 09:37:54 at org.jacoco.agent.rt.internal_c13123e.core.runtime.ModifiedSystemClassRuntime.createFor(ModifiedSystemClassRuntime.java:101)
> 09:37:54 at org.jacoco.agent.rt.internal_c13123e.PreMain.createRuntime(PreMain.java:55)
> 09:37:54 at org.jacoco.agent.rt.internal_c13123e.PreMain.premain(PreMain.java:47)
> 09:37:54 ... 6 more
> 09:37:54 Caused by: java.lang.NoSuchFieldException: $jacocoAccess
> 09:37:54 at java.base/java.lang.Class.getField(Class.java:2000)
> 09:37:54 at org.jacoco.agent.rt.internal_c13123e.core.runtime.ModifiedSystemClassRuntime.createFor(ModifiedSystemClassRuntime.java:138)
> 09:37:54 ... 9 more
> 09:37:54 FATAL ERROR in native method: processing of -javaagent failed
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 6 months
[JBoss JIRA] (JBIDE-26358) Implement JMX integration tests
by Ondrej Dockal (JIRA)
Ondrej Dockal created JBIDE-26358:
-------------------------------------
Summary: Implement JMX integration tests
Key: JBIDE-26358
URL: https://issues.jboss.org/browse/JBIDE-26358
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: integration-tests, jmx
Affects Versions: 4.9.0.AM3
Reporter: Ondrej Dockal
Assignee: Ondrej Dockal
Fix For: 4.9.0.Final
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 6 months
[JBoss JIRA] (JBIDE-26357) JMX MBean Tree is auto collapsing when walking down the tree items of EAP 7.1 server adapter
by Ondrej Dockal (JIRA)
Ondrej Dockal created JBIDE-26357:
-------------------------------------
Summary: JMX MBean Tree is auto collapsing when walking down the tree items of EAP 7.1 server adapter
Key: JBIDE-26357
URL: https://issues.jboss.org/browse/JBIDE-26357
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: jmx
Affects Versions: 4.9.0.AM3
Reporter: Ondrej Dockal
Attachments: JMXServerConnectionAutoCollapseIssue.gif
JMX MBean tree in JMX Navigator do autocollapse when walking the through tree items. When I go for an item twice, it will not collapse only on first time. I am not sure about reproducing the issue as I got it when using EAP server adapter. Wildfly is not doing it.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 6 months
[JBoss JIRA] (JBIDE-26357) JMX MBean Tree is auto collapsing when walking down the tree items of EAP 7.1 server adapter
by Ondrej Dockal (JIRA)
[ https://issues.jboss.org/browse/JBIDE-26357?page=com.atlassian.jira.plugi... ]
Ondrej Dockal updated JBIDE-26357:
----------------------------------
Description: JMX MBean tree in JMX Navigator do autocollapse when walking the tree items. When I go for an item twice, it will not collapse only on first time. I am not sure about reproducing the issue as I got it when using EAP server adapter. Wildfly is not doing it. (was: JMX MBean tree in JMX Navigator do autocollapse when walking the through tree items. When I go for an item twice, it will not collapse only on first time. I am not sure about reproducing the issue as I got it when using EAP server adapter. Wildfly is not doing it.)
> JMX MBean Tree is auto collapsing when walking down the tree items of EAP 7.1 server adapter
> --------------------------------------------------------------------------------------------
>
> Key: JBIDE-26357
> URL: https://issues.jboss.org/browse/JBIDE-26357
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: jmx
> Affects Versions: 4.9.0.AM3
> Reporter: Ondrej Dockal
> Attachments: JMXServerConnectionAutoCollapseIssue.gif
>
>
> JMX MBean tree in JMX Navigator do autocollapse when walking the tree items. When I go for an item twice, it will not collapse only on first time. I am not sure about reproducing the issue as I got it when using EAP server adapter. Wildfly is not doing it.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 6 months