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

java.math.BigInteger.javaIncrement(int[] val) - unnecessary code

XMLWordPrintable

    • b12
    • x86
    • windows_xp

      Name: rmT116609 Date: 11/03/2003


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

      FULL OS VERSION :
      I found this bug in the source code. (/j2se/src/share/classes/java/math/BigInteger.java)

      A DESCRIPTION OF THE PROBLEM :
      See method <CODE>int[] javaIncrement(int[] val)</CODE> in BigInteger.java.

      The first line of this method is:

      boolean done = false;

      However, the variable 'done' is NEVER USED. This line should be deleted.


      (Incident Review ID: 218704)
      ======================================================================
      ###@###.### 10/28/04 01:44 GMT

            darcy Joe Darcy
            rmandalasunw Ranjith Mandala (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: