[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #58266] Error "An illegal reflective access op
From: |
Philip Nienhuis |
Subject: |
[Octave-bug-tracker] [bug #58266] Error "An illegal reflective access operation has occurred" in Java subsystem |
Date: |
Thu, 30 Apr 2020 06:52:12 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; rv:52.0) Gecko/20100101 Firefox/52.0 Lightning/5.8.1 |
Update of bug #58266 (project octave):
Status: None => Patch Submitted
_______________________________________________________
Follow-up Comment #2:
While investigating (note: my Java and C++ proficiency is meager) and after
some reading up it turned out that there are separate bugs here.
The one Olaf mentioned in the package release tracker and mentioned as 2nd
here:
OpenJDK 64-Bit Server VM warning: Archived non-system classes are disabled
because the java.system.class.loader property is specified (value =
"org.octave.OctClassLoader"). To use archived non-system classes, this
property must be not be set
is probably solved using the attached patch (I never got that message on my
systems so I'm not sure).
I tried this patch and I see no difference in Java behavior in Linux and
Windows. Octave's test suite passes all Java-related checks and all Java
methods in the io package (quite lot actually) work as before.
The other (original) "reflective access operation has occurred" warning is
beyond me. It provokes a bug but only the first time, when the warning is
emitted, next times the offending Java operation proceeds w/o issue.
(file #48972)
_______________________________________________________
Additional Item Attachment:
File name: Java_system_loader.patch Size:0 KB
<https://savannah.gnu.org/file/Java_system_loader.patch?file_id=48972>
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?58266>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/