On 18/02/2022 7:55 pm, Andrey Turbanov wrote:
Hello.
I noticed unused field java.math.MathContext#DEFAULT_DIGITS
https://github.com/openjdk/jdk/blob/master/src/java.base/share/classes/java/math/MathContext.java#L61

As I can see, it was already unused in the initial OpenJDK source.
Does VM use this field somehow? Or used to use?

The VM doesn't use it. Looks like dead code.

Cheers,
David

Andrey Turbanov

Reply via email to