Rework pointer arithmetic to avoid null pointer

-------------

Commit messages:
 - Fix compilation error on Linux:
 - Bugfix
 - Copyright year updated
 - 8347272: [ubsan] JvmLauncher.cpp:262:52: runtime error: applying non-zero 
offset 40 to null pointer

Changes: https://git.openjdk.org/jdk/pull/23320/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=23320&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8347272
  Stats: 4 lines in 1 file changed: 1 ins; 0 del; 3 mod
  Patch: https://git.openjdk.org/jdk/pull/23320.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/23320/head:pull/23320

PR: https://git.openjdk.org/jdk/pull/23320

Reply via email to