src/java.base/share/classes/java/math/BigInteger.java
changeset 52220 9c260a6b6471
parent 52088 c7f7d824f2b6
child 53327 620b31ed8807
equal deleted inserted replaced
52219:151b990e3764 52220:9c260a6b6471
  4598         static void putSign(BigInteger bi, int sign) {
  4598         static void putSign(BigInteger bi, int sign) {
  4599             unsafe.putInt(bi, signumOffset, sign);
  4599             unsafe.putInt(bi, signumOffset, sign);
  4600         }
  4600         }
  4601 
  4601 
  4602         static void putMag(BigInteger bi, int[] magnitude) {
  4602         static void putMag(BigInteger bi, int[] magnitude) {
  4603             unsafe.putObject(bi, magOffset, magnitude);
  4603             unsafe.putReference(bi, magOffset, magnitude);
  4604         }
  4604         }
  4605     }
  4605     }
  4606 
  4606 
  4607     /**
  4607     /**
  4608      * Save the {@code BigInteger} instance to a stream.  The magnitude of a
  4608      * Save the {@code BigInteger} instance to a stream.  The magnitude of a