The issue seems to be a duplicate of https://bugs.launchpad.net/ubuntu/+source/openjdk-lts/+bug/1838740
The https://bugs.launchpad.net/ubuntu/+source/openjdk-lts/+bug/1838740 (comment #1) contains a simple Java program to reproduce the problem.
The issue seems to be a duplicate of https:/ /bugs.launchpad .net/ubuntu/ +source/ openjdk- lts/+bug/ 1838740
The https:/ /bugs.launchpad .net/ubuntu/ +source/ openjdk- lts/+bug/ 1838740 (comment #1) contains a simple Java program to reproduce the problem.