FEST

FailOnThreadViolationRepaintManager does not work on Java 5.

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Minor 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 :
    0

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).

Activity

Hide
Guillot Nicolas added a comment -

I have also the same issue on Windows XP SP3 / Java 1.5.0_14

Show
Guillot Nicolas added a comment - I have also the same issue on Windows XP SP3 / Java 1.5.0_14
Hide
Alex Ruiz added a comment -
  • Removed dependency on debug.jar, making it easy to upload FEST to the central Maven repo in the near future.
  • Added own CheckThreadViolationRepaintManager, a copy of the original
Show
Alex Ruiz added a comment -
  • Removed dependency on debug.jar, making it easy to upload FEST to the central Maven repo in the near future.
  • Added own CheckThreadViolationRepaintManager, a copy of the original

People

Vote (1)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: