Integrated: 8299497: Usage of constructors of primitive wrapper classes should be avoided in java.desktop API docs

2023-01-23 Thread Tingjun Yuan
On Sat, 21 Jan 2023 02:55:29 GMT, Tingjun Yuan  wrote:

> API docs of `java.awt.image.renderable.ParameterBlock` and 
> `java.awt.font.LineBreakMeasurer` used deprecated constructors of 
> `java.lang.Short` and `java.lang.Float`.
> 
> Replacing by `valueOf` factory methods.

This pull request has now been integrated.

Changeset: b5ee3d1f
Author:    Tingjun Yuan 
Committer: Sergey Bylokhov 
URL:   
https://git.openjdk.org/jdk/commit/b5ee3d1f2abf5af86438ac4c9e3da3cc026dffd3
Stats: 4 lines in 2 files changed: 0 ins; 0 del; 4 mod

8299497: Usage of constructors of primitive wrapper classes should be avoided 
in java.desktop API docs

Reviewed-by: serb, prr

-

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


Re: RFR: 8299497: Usage of constructors of primitive wrapper classes should be avoided in java.desktop API docs

2023-01-22 Thread Tingjun Yuan
On Sun, 22 Jan 2023 16:25:29 GMT, Sergey Bylokhov  wrote:

> Please configure the tests in your repo:
> 
> > Testing is not configured
> > In order to run pre-submit tests, the [source 
> > repository](https://github.com/yuantj/jdk-pr/actions) must be properly 
> > configured to allow test execution. See 
> > https://wiki.openjdk.org/display/SKARA/Testing for more information on how 
> > to configure this.

Configured just now.

-

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


RFR: 8299497: Usage of constructors of primitive wrapper classes should be avoided in java.desktop API docs

2023-01-20 Thread Tingjun Yuan
API docs of `java.awt.image.renderable.ParameterBlock` and 
`java.awt.font.LineBreakMeasurer` used deprecated constructors of 
`java.lang.Short` and `java.lang.Float`.

Replacing by `valueOf` factory methods.

-

Commit messages:
 - Update LineBreakMeasurer.java
 - Update ParameterBlock.java
 - Update LineBreakMeasurer.java

Changes: https://git.openjdk.org/jdk/pull/12128/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk=12128=00
  Issue: https://bugs.openjdk.org/browse/JDK-8299497
  Stats: 4 lines in 2 files changed: 0 ins; 0 del; 4 mod
  Patch: https://git.openjdk.org/jdk/pull/12128.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/12128/head:pull/12128

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