Hi JaCoCo developers,

I just to give you a heads-up about an interesting bug [1] I just filled
with Apache NetBeans; it causes a SecurityException in premain on
NetBeans 10.0 or later with JaCoCo 0.9.3 or later when running on Java 8.

Apparently, JaCoCo's check whether to redefine java.lang.Module [2]
causes an empty dummy java.lang.Module from the org-netbeans-bootstrap
NetBeans module to be loaded, which results in the SecurityException.

As I am unsure whether the problem is with NetBeans or JaCoCo (I don't
know the purpose of shipping a dummy java.lang.Module, for example),
this mail is meant as a heads-up to you, the JaCoCo developers.

Maybe it would be worth getting in touch with the NetBeans developers
([email protected] [3] seems to be pretty active) and coordinate a
fix or devise a workaround. From the outside, it's unfortunately really
hard to tell which project to even file the bug with.

Hope this helps.

Best wishes,

Andreas

[1] <https://issues.apache.org/jira/browse/NETBEANS-3698>
[2]
<https://github.com/jacoco/jacoco/blob/v0.8.5/org.jacoco.agent.rt/src/org/jacoco/agent/rt/internal/PreMain.java#L61>
[3] <https://netbeans.apache.org/community/mailing-lists.html#dev>

-- 
Dr. Andreas Sewe | [email protected] | +49 152 56342856
CQSE GmbH | Centa-Hafenbraedl-Strasse 59 | 81249 Muenchen | www.cqse.eu
Amtsgericht Muenchen | HRB 177678 | GF: F. Deissenboeck, M. Feilkas

-- 
You received this message because you are subscribed to the Google Groups 
"JaCoCo and EclEmma Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jacoco/36ffbd66-f8ac-175b-910e-2cbf2a9ce992%40cqse.eu.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to