> Removed creation of the separate encoder depending on destination properties
> as we don't use this info to customize the encoder properties
Alexey Ushakov has updated the pull request incrementally with one additional
commit since the last revision:
8272392 Lanai: SwingSet2. Black backgrou
On Fri, 19 Nov 2021 09:14:15 GMT, Matthias Baesken wrote:
>> The new test java/awt/font/JNICheck/FreeTypeScalerJNICheck.java introduced
>> with https://bugs.openjdk.java.net/browse/JDK-8269223 adds -Xcheck:jni to an
>> awt related test, and shows on Windows server 2019 the following JNI warning
Instead of something like
long x;
long y;
return (x < y) ? -1 : ((x == y) ? 0 : 1);
we can use `return Long.compare(x, y);`
All replacements are done with IDE.
-
Commit messages:
- 8277868: Use Comparable.compare() instead of surrogate code
Changes: https://git.openjdk.java.net/j
On Fri, 26 Nov 2021 12:46:59 GMT, Сергей Цыпанов wrote:
> Instead of something like
>
> long x;
> long y;
> return (x < y) ? -1 : ((x == y) ? 0 : 1);
>
> we can use `return Long.compare(x, y);`
>
> All replacements are done with IDE.
Changes to java.net look good. Please obtain approval from