RFR: 8349188: LineBorder does not scale correctly [v2]

Rajat Mahajan rmahajan at openjdk.org
Fri Jun 27 19:43:56 UTC 2025


> Modified the code to account for border thickness correctly and updated the related tests to make sure we are testing the new change.
> 
> Testing done.

Rajat Mahajan has updated the pull request incrementally with three additional commits since the last revision:

 - Update test/jdk/javax/swing/border/LineBorder/ScaledLineBorderTest.java
   
   Co-authored-by: Alexey Ivanov <alexey.ivanov at oracle.com>
 - Update test/jdk/javax/swing/border/LineBorder/ScaledLineBorderTest.java
   
   Co-authored-by: Alexey Ivanov <alexey.ivanov at oracle.com>
 - Update src/java.desktop/share/classes/javax/swing/border/LineBorder.java
   
   Co-authored-by: Alexey Ivanov <alexey.ivanov at oracle.com>

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/26025/files
  - new: https://git.openjdk.org/jdk/pull/26025/files/01230719..4dd9a0f3

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=26025&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=26025&range=00-01

  Stats: 3 lines in 2 files changed: 0 ins; 0 del; 3 mod
  Patch: https://git.openjdk.org/jdk/pull/26025.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/26025/head:pull/26025

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


More information about the client-libs-dev mailing list