Window Interception failures
UISpec4J version 2.4 may fail tests that involve intercepting windows. This is due to a change in a couple of function related to modal windows. These appear on the JDK 1.6.0 update 38. If you are using newer JDKs and intercept windows you will need to use the 2.5-SNAPSHOT builds (see below).
JDK 7 and 8 support
The MASTER branch now include support for both JDK7 and JDK8. All current test are passing. The jdk7 branch has been removed. Please submit update and push to the MASTER branch. To use UISpec4J you should use 2.5-SNAPSHOT builds (see below).
Building
Recent JDK updated have been changing several internal swing implementations that UISpec4J depends on. We are trying to keep the source up to date. Please report issues if you fail to build on a specific version. While the official 2.5 release is not out, you can build the project as follows:
JDKCommand
jdk6mvn -Pjdk6 -Dgpg.skip=true clean install
jdk7mvn -Pjdk7 -Dgpg.skip=true clean install
jdk8mvn -Pjdk8 -Dgpg.skip=true clean install
Running JDK7 on Linux
As of JDK 7 MToolkit is no long available on Linux (see Java SE 7 and JDK 7 Compatibility). This is still the default Toolkit on Linux for UISpec4J. To make you tests run on Linux run you builds as follow:
mvn -Dawt.toolkit=sun.awt.X11.XToolkit clean test