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

JAVAC compiler wraps line numbers after 32767

XMLWordPrintable

    • 1.2alpha
    • sparc
    • solaris_2.5.1
    • Not verified

      The attached huge.java generates wrong error line number.
      An error in line 40000 (for example) will be diagnosed as an error in line 7233.

      villa% /usr/green3/local.java/jdk1.1/solaris/bin/javac huge.java
      huge.java:7236: Arithmetic exception.
      l=l/0;}}
         ^
      1 error

            dstoutamsunw David Stoutamire (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: