GNOME Bugzilla – Bug 739503
AtkKeyEvent.java uses unchecked or unsafe operations.
Last modified: 2015-06-24 17:10:40 UTC
To recreate run autogen.sh && make && make install and see there is a note saying the following: Note: AtkKeyEvent.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. Having looked the note up it seems like this is a problem with 1.5 and above[1]. It seems the problem can be resolved with use of generics.[2] Looking into that now. [1] http://stackoverflow.com/questions/197986/what-causes-javac-to-issue-the-uses-unchecked-or-unsafe-operations-warning [2] http://docs.oracle.com/javase/1.5.0/docs/guide/language/generics.html
Created attachment 289792 [details] [review] Use checked operations Compiling as follows helped identify the source of the bug: javac AtkKeyEvent.java -Xlint:unchecked
[Moving at-spi/java-atk-wrapper bugs to separate product. See bug 740075]
Created attachment 306025 [details] [review] possible fix
Review of attachment 306025 [details] [review]: Pushed to master with https://git.gnome.org/browse/java-atk-wrapper/commit/?id=510067ef4470d19000ae7c5935b11482dc451569