Hacker News new | ask | show | jobs
by TillE 4281 days ago
It's insane to check version numbers as strings. I guess the JDK is assuming you're not actually doing anything important with those properties (eg, just writing them to a log).

Python for example wraps GetVersionEx appropriately with sys.getwindowsversion()