EasyMock

EasyMock not compiling with JDK 7 or Eclipse Helios or later

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Critical Critical
  • Resolution: Fixed
  • Affects Version/s: 3.0
  • Fix Version/s: 3.1
  • Component/s: Core
  • Labels:
    None
  • Number of attachments :
    0

Description

A striker implementation of the Java language reference is now preventing EasyMock to compile. Because of erasure, these two methods are now considered to have the same signature.

public static char capture(final Capture<Character> captured)

public static <T> T capture(final Capture<T> captured)

Issue Links

Activity

Hide
Henri Tremblay added a comment -

Will be done in two steps. This steps will deprecate the old methods and add the captureInt, ... ones.

The next version will remove the deprecated methods.

Show
Henri Tremblay added a comment - Will be done in two steps. This steps will deprecate the old methods and add the captureInt, ... ones. The next version will remove the deprecated methods.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: