Bug 149118 - [batch] shorten the error message in case a .java directory is used as a parameter
Summary: [batch] shorten the error message in case a .java directory is used as a para...
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.2   Edit
Hardware: PC All
: P3 minor (vote)
Target Milestone: 3.3 M4   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-29 04:15 EDT by Maxime Daniel CLA
Modified: 2006-12-12 11:10 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maxime Daniel CLA 2006-06-29 04:15:05 EDT
The error raised by the following call where dir.java is a directory is correct but verbose (includes a complete stacktrace):
ecj dir.java

See BatchCompilerTest#59.
Comment 1 Olivier Thomann CLA 2006-11-21 22:37:05 EST
Now this error is reduced to a single line except if the verbose option is enabled.
Released for 3.3M4
Comment 2 Olivier Thomann CLA 2006-11-21 22:37:47 EST
Updated org.eclipse.jdt.core.tests.compiler.regression.BatchCompilerTest#test059
Comment 3 Olivier Thomann CLA 2006-11-24 14:58:53 EST
Since it is not possible to extract a tests case independant from the VM vendor (the error message for the FileNotFoundException can be different on different VMs even the OS is the same), I remove the regression test. This needs to be tested manually.
Comment 4 Frederic Fusier CLA 2006-12-12 11:10:14 EST
Verified for 3.3 M4 using ecj.jar extracted from v_727 version (compared to ecj32.jar).