RFR: 8301302: Platform preferences API [v44]

Michael Strauß mstrauss at openjdk.org
Thu Dec 7 21:36:19 UTC 2023


On Wed, 6 Dec 2023 21:48:46 GMT, Andy Goryachev <angorya at openjdk.org> wrote:

>> Michael Strauß has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   fixed bug in test application
>
> The value does indeed change:
> macOS.NSColor.alternatingContentBackgroundColors = [0x1e1e1eff,0xffffff0c]
> macOS.NSColor.alternatingContentBackgroundColors = [0xffffffff,0xf4f5f5ff]
> 
> 
>     private String f(Object x) {
>         if (x == null) {
>             return "<null>";
>         }
>         if (x.getClass().isArray()) {
>             int sz = Array.getLength(x);
>             StringBuilder sb = new StringBuilder();
>             sb.append("[");
>             for (int i = 0; i < sz; i++) {
>                 if (i > 0) {
>                     sb.append(',');
>                 }
>                 sb.append(Array.get(x, i));
>             }
>             sb.append("]");
>             return sb.toString();
>         }
>         return x.toString();
>     }

Thanks to all the people who were involved in developing this feature and helping to bring this across the finish line, especially @andy-goryachev-oracle @kevinrushforth @hjohn @nlisker and @jperedadnr 👍

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

PR Comment: https://git.openjdk.org/jfx/pull/1014#issuecomment-1846141232


More information about the openjfx-dev mailing list