Skip to content

Release v2.0.4 - Harden Java Discovery Logic, Electron Upgrade

Compare
Choose a tag to compare
@dscalzi dscalzi released this 13 Apr 01:48
· 27 commits to master since this release
d89b270

Release v2.0.4

This update fixes a few issues with the Java discovery to make it more fault tolerant. Namely fixes the following:

  1. Only check against the standard java.version property to avoid obscure formats by different vendors. This also means that the build number is no longer collected.
  2. If a JVM version format is not valid, warn and skip. Do not throw an error.
  3. Add error handling around -XshowSettings invocation. This is to prevent derailing the Java discovery process in the event a nonexistent path is passed or an unrelated error occurs during command invocation.

Fixes/Upgrades

  • d89b270 Harden Java discovery logic, upgrade to Electron 24.
  • 9e26b28 Fix RAM slider megabyte calculation.