Bug 74873

Summary: Eclipse code should be able to use asserts.
Product: [Eclipse Project] JDT Reporter: Robert (Kraythe) Simmons <robert.simmons>
Component: CoreAssignee: JDT-Core-Inbox <jdt-core-inbox>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: P3    
Version: 3.0   
Target Milestone: 3.1 M3   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Robert (Kraythe) Simmons CLA 2004-09-23 18:11:27 EDT
Currently if you embed asserts into eclipse plugin code, the platform will not 
run. I imagine this is because it is being disabled on the comand line that 
runs eclipse. This should be changed as assertions are very useful.
Comment 1 Sonia Dimitrov CLA 2004-09-23 18:57:39 EDT
Moving to JDT Core for comment.
Comment 2 Olivier Thomann CLA 2004-09-23 22:10:21 EDT
What do you mean by "the platform will not run"? If you run with -ea as a vm
argument, it should enable assertions at runtime.
Comment 3 Robert (Kraythe) Simmons CLA 2004-09-23 23:28:52 EDT
I mean it should be configured to run that way by default or no developer can 
really use asserts. 
Comment 4 Philipe Mulet CLA 2004-09-24 04:02:44 EDT
Enabling assertions is not default behavior for 1.4 VMs either.