Message12146

Author stefan.richthofer
Recipients jeff.allen, stefan.richthofer
Date 2018-10-19.23:55:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1539993350.5.0.788709270274.issue2656@psf.upfronthosting.co.za>
In-reply-to
Content
I think the issue in the gc module can be fixed (or better saying "muted") for now by setting "DONT_TRAVERSE_BY_REFLECTION" flag by default.

I.e. there is somewhere the line in the gc module:
private static short gcFlags = 0;
change it to
private static short gcFlags = DONT_TRAVERSE_BY_REFLECTION;

That should avoid illegal access in gc module in most cases.
A proper solution is a todo, however I don't really see a good one right now (maybe via JNI).

Regarding jnr we should make sure these are filed as issues in jnr if not yet fixed in a current version.

Regarding PyJavaType, do you know where in the code the illegal access is triggered? Gave it a quick look, but that seems not to be trivial to identify.
History
Date User Action Args
2018-10-19 23:55:50stefan.richthofersetmessageid: <1539993350.5.0.788709270274.issue2656@psf.upfronthosting.co.za>
2018-10-19 23:55:50stefan.richthofersetrecipients: + stefan.richthofer, jeff.allen
2018-10-19 23:55:50stefan.richthoferlinkissue2656 messages
2018-10-19 23:55:49stefan.richthofercreate