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

 
 

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

Submitter:  Mike Miller <mtmiller>
Submitted:  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 / Not an Octave Bug Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * dev Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group Member
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>
Group Member

 

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

Attach Files:
   
   
Comment:
   

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)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 2 latest changes.

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

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code