JDK-4631331 : add option to javac, to set max number of errors before abort
  • Type: Enhancement
  • Component: tools
  • Sub-Component: javac
  • Affected Version: 1.4.0
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_2000
  • CPU: x86
  • Submitted: 2002-01-31
  • Updated: 2002-01-31
  • Resolved: 2002-01-31
Related Reports
Duplicate :  
Description

Name: gm110360			Date: 01/31/2002


FULL PRODUCT VERSION :
java version "1.4.0-rc"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-rc-b91)
Java HotSpot(TM) Client VM (build 1.4.0-rc-b91, mixed mode)

FULL OPERATING SYSTEM VERSION :
Windows 2000 professional, 5.00 2195, service pack 2



A DESCRIPTION OF THE PROBLEM :
I want added an option to the javac, such that it is
possble to stop a compilation before 100 errors have been
reported.

A situation with plenty of errors, may occur when I try to
add a lot of classes into my environment. Then it is a
nuisance, having to wait for maybe 25 seconds, to let the
compilation stop. (I cannot easily break the compile inside
my environment)

An option like this will do : -maxerrors 25

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1. Compile a java source containing more than 100 errors
2.
3.

This bug can be reproduced always.
(Review ID: 139055) 
======================================================================