Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4631331

add option to javac, to set max number of errors before abort

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.4.0
    • tools
    • x86
    • windows_2000



      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)
      ======================================================================

            gafter Neal Gafter (Inactive)
            gmanwanisunw Girish Manwani (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: