Java 7 adds a new class javax.swing.JLayer, which we use for the root components of the tabs of a tabbed pane. When selecting the tab as the context in Robot we get an TestFailedException stating that the current context is not a "correct context".
Adding javax.swing.JLayer to the expected classes array in DefaultContextVerifier fixes the issue, but it creates a dependency on Java 7 from SwingLibrary.
Java 7 adds a new class
javax.swing.JLayer, which we use for the root components of the tabs of a tabbed pane. When selecting the tab as the context in Robot we get anTestFailedExceptionstating that the current context is not a "correct context".Adding
javax.swing.JLayerto the expected classes array inDefaultContextVerifierfixes the issue, but it creates a dependency on Java 7 from SwingLibrary.