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

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

[Octave-bug-tracker] [bug #53428] javaObject ("java.awt.Frame") fails on


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #53428] javaObject ("java.awt.Frame") fails once, then works, with Java 9
Date: Thu, 22 Mar 2018 15:18:53 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0

URL:
  <http://savannah.gnu.org/bugs/?53428>

                 Summary: javaObject ("java.awt.Frame") fails once, then
works, with Java 9
                 Project: GNU Octave
            Submitted by: mtmiller
            Submitted on: Thu 22 Mar 2018 12:18:52 PM PDT
                Category: Libraries
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Unexpected Error
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: GNU/Linux

    _______________________________________________________

Details:

I have just updated to Java 9 on my system (Debian testing/unstable).

With this update, the following test in ov-java.cc now fails for me


***** testif HAVE_JAVA; ! ismac () && usejava ("jvm") && usejava ("awt") &&
have_window_system ()
 frame = javaObject ("java.awt.Frame");
 frame.setResizable (true);
 assert (frame.isResizable ());
!!!!! test failed
[java] java.awt.AWTError: Assistive Technology not found:
org.GNOME.Accessibility.AtkWrapper


The reason for the failure is the call to java.awt.Frame:


>> frame = javaObject ("java.awt.Frame");
error: [java] java.awt.AWTError: Assistive Technology not found:
org.GNOME.Accessibility.AtkWrapper


But if I make the same call a second time, it works fine.

It's possible this is some Debian bug in transitioning to Java 9, but I
thought I'd report it and see if anyone else sees something similar.




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?53428>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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