Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [lyo-dev] OSLC4J refers to J2SE1.5 but requires 1.6 compliance

I recently had a similar issue and it turned out that it was a setting in my workspace and setting the default JVM fixed it (even though it seemed to be non-obvious as my workspace compiler compliance level was 1.6).

Be good to get this fixed for good, so if you have more details please add to bugzilla.

- Steve

On Tue, Apr 10, 2012 at 11:43 AM, <Lars.Ohlen@xxxxxxxxx> wrote:
Hi Lyo dev,
 
I have just started to look into the OSLC4J SDK. 
 
When importing the OSLC4J Eclipse projects I noticed that the projects contains references to J2SE1.5.
But several of the source files are using the @Override annotation for methods in classes implementing interfaces (e.g. not extending subclasses)
That type of construction is only allowed in Java version 1.6 (and beyond), so one get a lot of compilation errors in Eclipse. The solution is simply to
re-configure each project to use 1.6 compiler compliance level.
 
I can create a bug in Buzilla, but hecitated becuse more people than me must have noticed?
 
 
Lars Ohlén
 

_______________________________________________
lyo-dev mailing list
lyo-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/lyo-dev



Back to the top