Re: Unused static constant MathContext.DEFAULT_DIGITS

2022-02-18 Thread David Holmes
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 th

Unused static constant MathContext.DEFAULT_DIGITS

2022-02-18 Thread Andrey Turbanov
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? Andrey Turban