bugGNU Octave - Bugs: bug #53428, javaObject...


bug #53428: javaObject ("java.awt.Frame") fails once, then works, with Java 9

Submitted by:  Mike Miller <mtmiller>
Submitted on:  Thu 22 Mar 2018 07:18:52 PM UTC  
Category:  Libraries Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Unexpected Error or Warning
Status:  Invalid Assigned to:  None
Originator Name:  Open/Closed:  Closed
Release:  dev Operating System:  GNU/Linux

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Tue 27 Mar 2018 09:56:08 PM UTC, comment #1: 

Looks like this has resolved itself for me, maybe it was a temporary local configuration problem.

Mike Miller <mtmiller>
Project Administrator
Thu 22 Mar 2018 07:18:52 PM UTC, original submission:  

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.

Mike Miller <mtmiller>
Project Administrator


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by mtmiller (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.




    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-03-27 mtmiller StatusNone => Invalid
        Open/ClosedOpen => Closed

    Back to the top

    Powered by Savane 3.7