jMock

Method Name Clash in SynchronousScheduledExecutor (Revision: 1194) - JDK6

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 2.5.0
  • Component/s: JMock 2.x.x Library
  • Labels:
    None
  • Environment:
    Clean check out from trunk - Eclipse Europa - JDK 6 - Ubuntu 7.10
  • Number of attachments :
    0

Description

This compilation error exists in: org.jmock.lib.concurrent.SynchronousScheduledExecutor

Severity and Description Path Resource Location Creation Time Id
Name clash: The method invokeAll(Collection<Callable<T>>, long, TimeUnit) of type SynchronousScheduledExecutor has the same erasure as invokeAll(Collection<? extends Callable<T>>, long, TimeUnit) of type ExecutorService but does not override it jmock2/src/org/jmock/lib/concurrent SynchronousScheduledExecutor.java line 10

Name clash: The method invokeAll(Collection<Callable<T>>) of type SynchronousScheduledExecutor has the same erasure as invokeAll(Collection<? extends Callable<T>>) of type ExecutorService but does not override it jmock2/src/org/jmock/lib/concurrent SynchronousScheduledExecutor.java line 101

Name clash: The method invokeAny(Collection<Callable<T>>, long, TimeUnit) of type SynchronousScheduledExecutor has the same erasure as invokeAny(Collection<? extends Callable<T>>, long, TimeUnit) of type ExecutorService but does not override it jmock2/src/org/jmock/lib/concurrent SynchronousScheduledExecutor.java line 114

Name clash: The method invokeAny(Collection<Callable<T>>) of type SynchronousScheduledExecutor has the same erasure as invokeAny(Collection<? extends Callable<T>>) of type ExecutorService but does not override it jmock2/src/org/jmock/lib/concurrent SynchronousScheduledExecutor.java line 109

The type SynchronousScheduledExecutor must implement the inherited abstract method ExecutorService.invokeAll(Collection<? extends Callable<T>>, long, TimeUnit) jmock2/src/org/jmock/lib/concurrent SynchronousScheduledExecutor.java line 23

The type SynchronousScheduledExecutor must implement the inherited abstract method ExecutorService.invokeAll(Collection<? extends Callable<T>>) jmock2/src/org/jmock/lib/concurrent SynchronousScheduledExecutor.java line 23

The type SynchronousScheduledExecutor must implement the inherited abstract method ExecutorService.invokeAny(Collection<? extends Callable<T>>, long, TimeUnit) jmock2/src/org/jmock/lib/concurrent SynchronousScheduledExecutor.java line 23

The type SynchronousScheduledExecutor must implement the inherited abstract method ExecutorService.invokeAny(Collection<? extends Callable<T>>) jmock2/src/org/jmock/lib/concurrent SynchronousScheduledExecutor.java line 23

Activity

Hide
Steve Freeman added a comment -

When did you checkout? I thought I fixed this a day or two ago.

Show
Steve Freeman added a comment - When did you checkout? I thought I fixed this a day or two ago.
Hide
Kristan "Krispy" Uccello added a comment -

I checked it out this morning.
The check in stamp on the history shows it was checked in on the 10th.
Maybe check that you committed the right file?

Show
Kristan "Krispy" Uccello added a comment - I checked it out this morning. The check in stamp on the history shows it was checked in on the 10th. Maybe check that you committed the right file?
Hide
Nat Pryce added a comment -

This is a source incompatibility between Java 1.5 and Java 1.6. JMock must be built with JDK 1.5. The compiled classes should work with 1.6 as well – they will be binary compatible with 1.6 but not source compatible.

Show
Nat Pryce added a comment - This is a source incompatibility between Java 1.5 and Java 1.6. JMock must be built with JDK 1.5. The compiled classes should work with 1.6 as well – they will be binary compatible with 1.6 but not source compatible.
Hide
Nat Pryce added a comment -

I've checked in a corrected Eclipse .classpath file.

Show
Nat Pryce added a comment - I've checked in a corrected Eclipse .classpath file.
Hide
Kristan "Krispy" Uccello added a comment -

Thanks, that worked perfectly.

Show
Kristan "Krispy" Uccello added a comment - Thanks, that worked perfectly.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: