Re: Java-access-bridge-1.6.0 errors



Hi Luca:

Sorry not to have replied sooner.  Thanks very much for the bug report.

The Text interface in at-spi/idl had a couple of methods added. It looks as though one of the new interface methods wasn't added to the java bridge wrapper set.

A simple solution should be to add a no-op implementation of getDefaultAttributeSet to EditableTextImpl, but of course that's only to fix the build issue - the right fix is to implement the new method. Would you be able to file a bugzilla bug about this, against at-spi/javabridge?

If not, please email me directly and I'll file the bug and have a look at fixing it.

best regards

Bill

Luca wrote:

Hi all!

I'm compiling java-access-bridge-1.6.0 in top of a Gnome-2.16.0 desktop,
however I receive this error:
Making all in Accessibility
make[4]: Entering directory
`/sources/Gnome-2.16/java-access-bridge-1.6.0/impl/org/GNOME/Accessibility'
CLASSPATH=../../../../idlgen:../../../../impl:../../../../bridge:../../../../util
/opt/jdk/jdk/bin/javac EditableTextImpl.java
EditableTextImpl.java:29: org.GNOME.Accessibility.EditableTextImpl is
not abstract and does not override abstract method
getDefaultAttributeSet() in org.GNOME.Accessibility.TextOperations
public class EditableTextImpl extends TextImpl implements
EditableTextOperations {
      ^
Note: ../../../../idlgen/org/GNOME/Accessibility/EditableTextPOA.java
uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error
make[4]: *** [EditableTextImpl.class] Error 1
make[4]: Leaving directory
`/sources/Gnome-2.16/java-access-bridge-1.6.0/impl/org/GNOME/Accessibility'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/sources/Gnome-2.16/java-access-bridge-1.6.0/impl/org/GNOME'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/sources/Gnome-2.16/java-access-bridge-1.6.0/impl/org'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/sources/Gnome-2.16/java-access-bridge-1.6.0/impl'
make: *** [all-recursive] Error 1

Java version I use is JDK-1.5.0_07 from Sun Microsystems.

Bye,
Luca
_______________________________________________
gnome-accessibility-list mailing list
gnome-accessibility-list gnome org
http://mail.gnome.org/mailman/listinfo/gnome-accessibility-list




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