Bug#1061059: javaws.sh fails to determine java version if extra java options exist

2024-01-17 Thread Christian Schwamborn
With a little less 'cutting' it seems to work, but I tested it only against openjdk 8, 11 and 17. I didn't understand the need of the first call of "cut -d'-' -f1" anyways. --- javaws_orig.sh 2024-01-17 16:25:24.601970808 +0100 +++ javaws.sh 2024-01-17 16:25:57.982161672 +0100 @@ -97,9 +97,

Bug#1061059: javaws.sh fails to determine java version if extra java options exist

2024-01-16 Thread Christian Schwamborn
Package: icedtea-netx Version: 1.8.8-2 I pass some extra scaling option on my system to JAVA so i can actually read something on a 4K laptop display so the -version call in javaws.sh receives a string like 'Picked up JAVA_TOOL_OPTIONS: -Dsun.java2d.uiScale=2.0 openjdk version "11.0.20"...' on m