[REFRESH] JDK 9 RFR of JDK-8035279: Clean up internal deprecations in BigInteger (original) (raw)
Brian Burkhalter brian.burkhalter at oracle.com
Tue Mar 4 19:53:15 UTC 2014
- Previous message: [REFRESH] JDK 9 RFR of JDK-8035279: Clean up internal deprecations in BigInteger
- Next message: [REFRESH] JDK 9 RFR of JDK-8035279: Clean up internal deprecations in BigInteger
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Mar 3, 2014, at 11:37 AM, Brian Burkhalter wrote:
The fields bitCount, bitLength, and lowestSetBit appear in the serialized form only for backward compatibility and are otherwise ignored, so their @serialField entries should just say that instead of describing how they were formerly used. Also, firstNonzeroByteNum is missing a @serialField entry, and it should have the same description as the others. Corrected
I found another small item here. Currently we have for serialPersistentFields the following: 4203 * @serialField magnitude int[] 4204 * magnitude array of this BigInteger and 4216 new ObjectStreamField("magnitude", byte[].class), In the @serialField annotation the type should also be byte[], no?
Thanks,
Brian
- Previous message: [REFRESH] JDK 9 RFR of JDK-8035279: Clean up internal deprecations in BigInteger
- Next message: [REFRESH] JDK 9 RFR of JDK-8035279: Clean up internal deprecations in BigInteger
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]