Hi Guy,
sorry, I was wrong.
I am not overriding an interface method.
Maybe its a mismatch of a junit version then. Which version are
you using?
-Adrian
Von: eclipselink-dev-bounces@xxxxxxxxxxx
[mailto:eclipselink-dev-bounces@xxxxxxxxxxx] Im Auftrag von Goerler,
Adrian
Gesendet: Freitag, 9. April 2010 16:25
An: Guy
Pelletier
Cc: Dev mailing list for Eclipse Persistence
Services
Betreff: AW: [eclipselink-dev] Build
errors
Hi
Guy,
this is due to my change.
Actually, its a JDK 1.5/1.6 issue: in 1.5, you cant put @Override
on an interface method. In 1.6, you can. Unfortunately, Eclipse by default
generates @Override on interface methods.
Ill change it to be 1.5 compatible.
Thanks for spotting this.
-Adrian
Von:
eclipselink-dev-bounces@xxxxxxxxxxx
[mailto:eclipselink-dev-bounces@xxxxxxxxxxx] Im Auftrag von Guy
Pelletier
Gesendet: Freitag, 9. April 2010 16:21
An: Dev
mailing list for Eclipse Persistence Services
Betreff:
[eclipselink-dev] Build errors
After updating this
morning, I'm getting the following compile issues when doing a full build, any
ideas?
compile:
[javac] Compiling 213 source files to
C:\Work\eclipse\jpa\eclipselink.jpa.wd
f.test\classes
[javac]
C:\Work\eclipse\jpa\eclipselink.jpa.wdf.test\src\org\eclipse\persist
ence\testing\framework\wdf\server\CollectNotificationsListener.java:41:
method d
oes not override or implement a method from a
supertype
[javac]
@Override
[javac]
^
[javac]
C:\Work\eclipse\jpa\eclipselink.jpa.wdf.test\src\org\eclipse\persist
ence\testing\framework\wdf\server\TestAssumptionFailed.java:32:
cannot find symb
ol
[javac] symbol : method
fireTestAssumptionFailed(org.junit.runner.notificat
ion.Failure)
[javac] location: class
org.junit.runner.notification.RunNotifier
[javac]
notifier.fireTestAssumptionFailed(failure.restore());
[javac]
^
[javac] 2 errors
BUILD
FAILED
C:\Work\eclipse\build.xml:315: The following error occurred while
executing
this
line:
C:\Work\eclipse\jpa\eclipselink.jpa.wdf.test\build.xml:178:
Compile failed; see
the compiler error output for
details.