Message12146
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. |
|
Date |
User |
Action |
Args |
2018-10-19 23:55:50 | stefan.richthofer | set | messageid: <1539993350.5.0.788709270274.issue2656@psf.upfronthosting.co.za> |
2018-10-19 23:55:50 | stefan.richthofer | set | recipients:
+ stefan.richthofer, jeff.allen |
2018-10-19 23:55:50 | stefan.richthofer | link | issue2656 messages |
2018-10-19 23:55:49 | stefan.richthofer | create | |
|