Change-Id: I6c64addc87111f2974bc0b97a527ebd8fd3f6b1f
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/61683
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
--- /dev/null
+class java/nio/ByteOrder
+BIG_ENDIAN
+ Ljava/nio/ByteOrder;
+ L1java/nio/ByteOrder;
+LITTLE_ENDIAN
+ Ljava/nio/ByteOrder;
+ L1java/nio/ByteOrder;
+nativeOrder
+ ()Ljava/nio/ByteOrder;
+ ()L1java/nio/ByteOrder;
long alignment) {
fMantissa = mantissa;
fExponent = exponent;
long alignment) {
fMantissa = mantissa;
fExponent = exponent;
- ByteOrder byteOrder2 = (byteOrder == null) ? ByteOrder.nativeOrder() : byteOrder;
- if (byteOrder2 == null) {
- throw new IllegalStateException("ByteOrder cannot be null"); //$NON-NLS-1$
- }
- fByteOrder = byteOrder2;
+ fByteOrder = (byteOrder == null) ? ByteOrder.nativeOrder() : byteOrder;
fAlignement = Math.max(alignment, 1);
}
fAlignement = Math.max(alignment, 1);
}
fLength = len;
fSigned = signed;
fBase = base;
fLength = len;
fSigned = signed;
fBase = base;
-
- fByteOrder = (byteOrder == null ? checkNotNull(ByteOrder.nativeOrder()) : byteOrder);
-
+ fByteOrder = (byteOrder == null) ? ByteOrder.nativeOrder() : byteOrder;
fEncoding = encoding;
fClock = clock;
fAlignment = Math.max(alignment, 1);
fEncoding = encoding;
fClock = clock;
fAlignment = Math.max(alignment, 1);