FEST

FEST-Swing does not compile, since project configuration claims Java 1.5 compatibility, but source uses classes/methods from Java 1.6 runtime

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: FEST-Swing 1.2a2
  • Fix Version/s: FEST-Swing 1.2a4
  • Component/s: Swing
  • Labels:
    None
  • Number of attachments :
    0

Description

The FEST-Swing project is configured to use Java 1.5 as source and target (maven compiler plugin) and a JDK 1.5 runtime (eclipse project).

However, the source code uses some classes/methods from Java 1.6. Thus, the source does not compile successfully against the standard settings - at least not when developing in Eclipse.

Description	Resource	Path	Location	Type
TableRowSorter cannot be resolved to a type	Bug186_readFilteredTable_Test.java	fest-swing/src/test/java/org/fest/swing/fixture	line 61	Java Problem
TableRowSorter cannot be resolved to a type	Bug186_readFilteredTable_Test.java	fest-swing/src/test/java/org/fest/swing/fixture	line 61	Java Problem
TableRowSorter<TableModel> cannot be resolved to a type	Bug186_readFilteredTable_Test.java	fest-swing/src/test/java/org/fest/swing/fixture	line 86	Java Problem
TableRowSorter<TableModel> cannot be resolved to a type	Bug186_readFilteredTable_Test.java	fest-swing/src/test/java/org/fest/swing/fixture	line 97	Java Problem
TableRowSorter<TableModel> cannot be resolved to a type	Bug186_readFilteredTable_Test.java	fest-swing/src/test/java/org/fest/swing/fixture	line 98	Java Problem
The import javax.swing.RowFilter cannot be resolved	Bug186_readFilteredTable_Test.java	fest-swing/src/test/java/org/fest/swing/fixture	line 18	Java Problem
The import javax.swing.table.TableRowSorter cannot be resolved	Bug186_readFilteredTable_Test.java	fest-swing/src/test/java/org/fest/swing/fixture	line 29	Java Problem
The method copyOf(Object[], int) is undefined for the type MethodInvocations.Args	MethodInvocations.java	fest-swing/src/test/java/org/fest/swing/test/core	line 116	Java Problem
The method createDialog(Component, String) in the type JOptionPane is not applicable for the arguments (String)	JOptionPaneLauncher.java	fest-swing/src/test/java/org/fest/swing/test/swing	line 82	Java Problem
The method regexFilter(String, int) is undefined for the type new DocumentListener(){}	Bug186_readFilteredTable_Test.java	fest-swing/src/test/java/org/fest/swing/fixture	line 86	Java Problem

Activity

Hide
Alex Ruiz added a comment -

That test uses JDK6-only classes...I should have moved it to its own module (fest-swing-jdk6?)

Show
Alex Ruiz added a comment - That test uses JDK6-only classes...I should have moved it to its own module (fest-swing-jdk6?)

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: