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

Bug 13976

Summary: Generate Java 1.3 classes out of 1.4 source
Product: [Eclipse Project] JDT Reporter: Boris Pruessmann <boris>
Component: CoreAssignee: Philipe Mulet <philippe_mulet>
Status: RESOLVED DUPLICATE QA Contact:
Severity: enhancement    
Priority: P3 CC: boris
Version: 2.0   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Boris Pruessmann CLA 2002-04-17 04:19:51 EDT
It would be really great if then compiler could ignore assert lines when 
compiling for JDK 1.3. Reason:

I would like to use assertions in my code while developing/debugging, but I'd 
also like to deploy my code to JDK 1.3. If the compiler would be able to 
generate JDK 1.3 compliant class files out of a JDK 1.4 compliant source file, 
this would be really great.
Comment 1 Philipe Mulet CLA 2002-04-17 04:34:41 EDT
This is not planned for 2.0, maybe after we can reconsider.
Comment 2 Philipe Mulet CLA 2003-06-13 04:51:32 EDT
dup
Comment 3 Philipe Mulet CLA 2003-06-13 04:51:49 EDT

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