Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 81780

Summary: When source compatibility is 5.0, the classfile compatibility has to be 5.0.
Product: [Eclipse Project] JDT Reporter: Tim Wood <t.wood>
Component: CoreAssignee: JDT-Core-Inbox <jdt-core-inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: enhancement    
Priority: P3    
Version: 3.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Tim Wood CLA 2004-12-22 08:21:33 EST
In 3.1M4 it is not possible to compile 5.0 compatible source (in particular
source which uses generics) into 1.4 compatible bytecode. 

I would like to write code which uses generics but can still run on a 1.4 vm
(which I belive should be possible).
Comment 1 Frederic Fusier CLA 2004-12-22 08:29:47 EST
No, this is not a valid scenario, Sun does not support it.
See bug 79392 comments for long detailed explanation (bug 79392 comment 16 for
short one).



*** This bug has been marked as a duplicate of 79392 ***