Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
framework-4.0.2
-
Linux Kubuntu 11.04
Description
In Java SE 7 projects I get the following error:
[WARNING] Signature attribute introduced in version 49.0 class files is ignored in version 48.0 class files
...
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] <some class> error: incompatible types
[ERROR] Object
I've read about this issue here:
http://www.mail-archive.com/users@felix.apache.org/msg11574.html
and here:
http://stackoverflow.com/questions/4058661/java-compilers-target-version-jsr14-with-jdk7-8
The according JDK bug report has been closed as "Not a Defect": http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7078419
So this has to be fixed on Apache Felix side.
Please deploy a version to Maven Central which works with Java SE 7.
Attachments
Issue Links
- is related to
-
KARAF-1067 JDK7 compile issues with OsgiCommandSupport
- Resolved
-
KARAF-1282 Remove osgi sources from karaf main
- Closed