United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-4253402 no limit to number of errors printed by javac
JDK-4253402 : no limit to number of errors printed by javac

Details
Type:
Enhancement
Submit Date:
1999-07-12
Status:
Resolved
Updated Date:
2003-04-12
Project Name:
JDK
Resolved Date:
2002-09-02
Component:
tools
OS:
generic,windows_98,windows_2000
Sub-Component:
javac
CPU:
x86,generic
Priority:
P5
Resolution:
Fixed
Affected Versions:
1.2.2,1.3.0,1.4.0
Fixed Versions:
1.4.2 (mantis)

Related Reports
Duplicate:

Sub Tasks

Description

Name: skT88420			Date: 07/12/99


there is no way I can tell to make javac print more than 100
error messages.  This is dumb.  What if I want to compile *.java
and pipe all the errors to a file?  What if I want to compile
an old AWT application I'm converting to Swing and it has more
than 100 deprecated uses of AWT components.  Please make the 100
limit an option.
(Review ID: 85483) 
======================================================================

Name: krC82822			Date: 06/05/2001


java version "1.3.0_01"
Java(TM) 2 Runtime Environmeht, Standard Edition
(build 1.3.0_01)
Java HotSpot(TM) Client VM (build 1.3.0_01, mixed mode)

I would like to be able to specify a maximum number
of error messages from the compiler, so I can read
them all in my terminal window.
(Review ID: 125795)
======================================================================

                                    

Comments
EVALUATION

Seems like a reasonable suggestion.

william.maddox@Eng 1999-07-13

This will be addressed in mantis (1.4.2).

For jonesw2 and others wondering how to redirect the output of the compiler,
use option

	-Xstdout <filename>

which was introduced in 1.4.0.

###@###.### 2002-06-13
                                     
2002-06-13
PUBLIC COMMENTS

The new options

	-Xmaxerrors <em>number</em>
and
	-Xmaxwarns <em>number</em>

can be used to change the number of errors or warnings printed
by the compiler before further diagnostics are suppressed.
The default is, as before, 100.
                                     
2004-06-10
WORK AROUND



Name: skT88420			Date: 07/12/99


compiler in small chunks
======================================================================
                                     
2004-06-11
CONVERTED DATA

BugTraq+ Release Management Values

COMMIT TO FIX:
mantis
mantis-b02

FIXED IN:
mantis
mantis-b02

INTEGRATED IN:
mantis
mantis-b02


                                     
2004-06-14



Hardware and Software, Engineered to Work Together