[OpenJDK 2D-Dev] RFR: 8263124: Missed initialization of baselineY in sun.font.StrikeMetrics

Phil Race prr at openjdk.java.net
Mon May 3 23:16:13 UTC 2021


This is just clean up. The value will be zero by default and explicitly (if you follow along far enough) zero.
The no-args constructor just merges physical fonts and those are set up with zero anyway

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

Commit messages:
 - 8263124: Missed initialization of baselineY in sun.font.StrikeMetrics

Changes: https://git.openjdk.java.net/jdk/pull/3846/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=3846&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8263124
  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.java.net/jdk/pull/3846.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/3846/head:pull/3846

PR: https://git.openjdk.java.net/jdk/pull/3846


More information about the 2d-dev mailing list