Bug 63871 - Using M9, -warn: option crashes the batch compiler
Summary: Using M9, -warn: option crashes the batch compiler
Status: VERIFIED FIXED
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.0 RC1   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-25 10:50 EDT by Olivier Thomann CLA
Modified: 2004-05-28 15:42 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 Olivier Thomann CLA 2004-05-25 10:50:45 EDT
When using -warn:, the batch compiler doesn't work anymore and no error is reported.
Here is such a command line:
C:\tests_sources\X.java -g -verbose -d C:\tests_sources -1.4 -warn:

Changing the test line 695 for:
if (length <= 6) 

fixes it. It returns:
invalid warning configuration: -warn:

I would fix it for RC1.
Comment 1 Philipe Mulet CLA 2004-05-25 11:01:35 EDT
Pls do so.
Comment 2 Olivier Thomann CLA 2004-05-25 11:05:21 EDT
Fixed and released in HEAD.
Comment 3 Olivier Thomann CLA 2004-05-28 15:42:36 EDT
invalid warning configuration: -warn:
is properly reported.

Verified in 200405281200