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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #55174] java warning about java.system.class.l


From: Carnë Draug
Subject: [Octave-bug-tracker] [bug #55174] java warning about java.system.class.loader property
Date: Thu, 6 Dec 2018 14:36:51 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0

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

                 Summary: java warning about  java.system.class.loader
property
                 Project: GNU Octave
            Submitted by: carandraug
            Submitted on: Thu 06 Dec 2018 07:36:50 PM UTC
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: GNU/Linux

    _______________________________________________________

Details:

Initializing the JVM with OpenJDK 11 gets the following warning:


octave:1> __java_init__ ;
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


I'm not sure what that means.

When Octave starts the JVM, it uses the flag
"-Djava.system.class.loader=org.octave.OctClassLoader" (see
https://hg.savannah.gnu.org/hgweb/octave/file/0a145a1600e3/libinterp/octave-value/ov-java.cc#l723
) which I believe is required to support the dynamic class path (source
https://hg.savannah.gnu.org/hgweb/octave/file/0a145a1600e3/scripts/java/org/octave/OctClassLoader.java
)

This new error message comes from OpenJDK and the commit that added it is
http://hg.openjdk.java.net/jdk/jdk/rev/840e26123940 However, I can't make much
sense of it. I don't quite get what CDS is and the two issues mentioned on the
commit message don't make much sense to me
https://bugs.openjdk.java.net/browse/JDK-8193213 and
https://bugs.openjdk.java.net/browse/JDK-8182731




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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