octave-bug-tracker
[Top][All Lists]
Advanced

[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: Tue, 28 Apr 2020 15:12:02 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 6.1; rv:52.0) Gecko/20100101 Firefox/52.0 Lightning/5.8.1

URL:
  <https://savannah.gnu.org/bugs/?58266>

                 Summary: Error "An illegal reflective access operation has
occurred" in Java subsystem
                 Project: GNU Octave
            Submitted by: philipnienhuis
            Submitted on: Tue 28 Apr 2020 09:12:00 PM CEST
                Category: Libraries
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Unexpected Error
                  Status: None
             Assigned to: None
         Originator Name: Philip Nienhuis
        Originator Email: 
             Open/Closed: Open
                 Release: dev
         Discussion Lock: Any
        Operating System: Any

    _______________________________________________________

Details:

With some Java operations a warning is emitted as follows:

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.octave.ClassHelper
(file:/C:/Programs/Octave/Octave-7.0.0_20200423D/mingw64/share/octave/7.0.0/m/java/octave.jar)
to method
com.sun.org.apache.xpath.internal.jaxp.XPathImpl.evaluate(java.lang.String,java.lang.Object,javax.xml.namespace.QName)
WARNING: Please consider reporting this to the maintainers of
org.octave.ClassHelper
WARNING: Use --illegal-access=warn to enable warnings of further illegal
reflective access operati
ons
WARNING: All illegal access operations will be denied in a future release


I saw this warning appear after I upgraded Java from 8 to 10 on my Windows
boxes.
But in the mean time other have noted AFAICS similar issues in Octave's Java
subsystem, e.g., the thread about the io-2.6.0 release [1] where Olaf
mentioned it when processing the XML I/O functions:
<quote>

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


</quote.

(I think the Java issue reports itself differently in Linux than in Windows.)

Another example:
A thread about a perceived Named ranges bug in LibreOffice's UNO-Java bridge
[2] from 5 years ago where I now conclude that this bug really must be in
Octave itself.  A deceiving issue there is that the bug occurs only the first
time when Java detects the error, but next times the Octave code seems to
function properly.

I have very limited knowledge of the Java subsystem, I can only hope this can
be solved w/o too much trouble.

[1] https://sourceforge.net/p/octave/package-releases/405/#78a4ad following
posts
[2] https://bugs.documentfoundation.org/show_bug.cgi?id=94423





    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?58266>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]