On Sat, 26 Sep 2020 00:21:10 GMT, Weijun Wang <wei...@openjdk.org> wrote:
>> src/java.base/share/classes/sun/security/util/DerValue.java line 584: >> >>> 582: } >>> 583: // TODO >>> 584: return new BigInteger(1, buffer, start, end - >>> start).intValue(); >> >> More info for what to do? - // TODO >> Enumerated is just integer, is there any spec/doc saying it's non-negative? >> All I can find is just integer. > > Maybe that's what I meant? The positive thing? > > I'll refactor `getBigIntegerInternal()` so this method will call it. Existing impl does not make it positive, so I am not sure why you changed it here. ------------- PR: https://git.openjdk.java.net/jdk/pull/232