src/java.base/share/classes/java/math/BigInteger.java

Print this page

        

*** 4366,4380 **** throw new ExceptionInInitializerError(ex); } } static void putSign(BigInteger bi, int sign) { ! unsafe.putIntVolatile(bi, signumOffset, sign); } static void putMag(BigInteger bi, int[] magnitude) { ! unsafe.putObjectVolatile(bi, magOffset, magnitude); } } /** * Save the {@code BigInteger} instance to a stream. The magnitude of a --- 4366,4380 ---- throw new ExceptionInInitializerError(ex); } } static void putSign(BigInteger bi, int sign) { ! unsafe.putInt(bi, signumOffset, sign); } static void putMag(BigInteger bi, int[] magnitude) { ! unsafe.putObject(bi, magOffset, magnitude); } } /** * Save the {@code BigInteger} instance to a stream. The magnitude of a