Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: FEST-Swing 1.1
-
Fix Version/s: FEST-Swing 1.2a4
-
Component/s: Swing
-
Labels:None
-
Environment:OS X 10.4 / Java 5.0 Update 19
-
Number of attachments :
Description
FEST itself works fine with Java 5, but the debug.jar shipped with FEST 1.1 appears to have been compiled for Java 6. When I try to use it with Java 5 (no choice since Apple does not provied Java 6 for my machine), I get the following error:
----------
/Users/dan/Projects/watchmaker/swing/src/java/test/org/uncommons/swing/SwingBackgroundTaskTest.java (40:44) cannot access org.jdesktop.swinghelper.debug.CheckThreadViolationRepaintManager
/Users/dan/Projects/watchmaker/swing/src/java/test/org/uncommons/swing/SwingBackgroundTaskTest.java:40: cannot access org.jdesktop.swinghelper.debug.CheckThreadViolationRepaintManager
bad class file: /Users/dan/Projects/watchmaker/lib/compiletime/fest/debug-1.0.jar(org/jdesktop/swinghelper/debug/CheckThreadViolationRepaintManager.class)
class file has wrong version 50.0, should be 49.0
Please remove or make sure it appears in the correct subdirectory of the classpath.
----------
It would be great if FEST could bundle a version compiled for Java 5 (if there are no Java 6 specific dependencies).
I have also the same issue on Windows XP SP3 / Java 1.5.0_14