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

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

[Octave-bug-tracker] [bug #58119] isa() does not respect interfaces inhe


From: Andrew Janke
Subject: [Octave-bug-tracker] [bug #58119] isa() does not respect interfaces inherited from superclasses for Java objects
Date: Sun, 5 Apr 2020 13:05:25 -0400 (EDT)
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:74.0) Gecko/20100101 Firefox/74.0

Follow-up Comment #1, bug #58119 (project octave):

Also, I'm trying to work around this by using Java reflection, but I can't
seem to get the Class instance for org.slf4j.Logger.

{verbatim}
>> wantKlass = javaMethod('forName', 'java.lang.Class', 'org.slf4j.Logger')
error: [java] java.lang.ClassNotFoundException: org.slf4j.Logger
{verbatim}

Is this because Octave is using a special ClassLoader for the classes on the
dynamic Java classpath? Is there a way of doing java.lang.Class.forName() for
them?

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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