https://inside.java/2022/09/23/quality-heads-up/ ?
On Wed, Jan 11, 2023 at 5:45 PM Mike Beckerle <[email protected]> wrote: > Just a warning. I installed java 19.0.1 and saw odd behaviors where tests > failed due to floating point number behavior changing. E.g., another digit > at the end of a long double float mantissa, etc. > > I also saw some seemingly timing/non-deterministic behaviors. Ex where > a test fails sometimes, but never if you run the test in isolation. This > also seemed to be related to floating point numbers. > > Other cases test behavior changed. The order of error detection seems to be > different in the schema compiler. One test had two errors in it. a > dfdlx:repType="" (not allowed to be empty string) as well as an undefined > type ex:myByte. The test works because it finds the dfdlx:repType bug > first. With Java 19, that error isn't *always* found first. It is if you > run the test in isolation, but not if you run 'sbt test' at a shell. > > It's not a straightforward switch to "just use" java 19. >
