Bug 74873 - Eclipse code should be able to use asserts.
Summary: Eclipse code should be able to use asserts.
Status: RESOLVED WONTFIX
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.1 M3   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-23 18:11 EDT by Robert (Kraythe) Simmons CLA
Modified: 2004-10-27 06:43 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.