On Sat, 20 Nov 2021 19:13:43 GMT, Mandy Chung wrote:
> java.lang.reflect.Field::set on static field with invalid argument type
> should throw IAE. But this regression is introduced by JEP 416 throwing NPE
> instead.
>
> `ensureObj` is called as the first check of the `Field::set` method to en
> Please review this PR which aims to optimize the implementation of the
> `toString` method we provide for records. A benchmark comparing the
> implementation we are providing for records with lombok found out that lombok
> is much faster mainly because our implementation uses `String::format`.
On Fri, 19 Nov 2021 05:07:23 GMT, Vicente Romero wrote:
>> Please review this PR which aims to optimize the implementation of the
>> `toString` method we provide for records. A benchmark comparing the
>> implementation we are providing for records with lombok found out that
>> lombok is much f
java.lang.reflect.Field::set on static field with invalid argument type should
throw IAE. But this regression is introduced by JEP 416 throwing NPE instead.
`ensureObj` is called as the first check of the `Field::set` method to ensure
the receiver object is checked first before the argument.
On Sat, 20 Nov 2021 11:31:41 GMT, Claes Redestad wrote:
>> Regarding the slot limit in `StringConcatFactory`, it's not clear to me the
>> limit of 200 is normative or is merely an implementation note. The limit of
>> 200 slots seems to be arbitrary and shouldn't be baked into the spec.
>> Perh
On Sat, 20 Nov 2021 04:40:22 GMT, Stuart Marks wrote:
> Regarding the slot limit in `StringConcatFactory`, it's not clear to me the
> limit of 200 is normative or is merely an implementation note. The limit of
> 200 slots seems to be arbitrary and shouldn't be baked into the spec. Perhaps
> th
On Sat, 20 Nov 2021 03:26:51 GMT, Alexey Semenyuk wrote:
> 8277429: Conflicting jpackage static library name
Marked as reviewed by herrick (Reviewer).
-
PR: https://git.openjdk.java.net/jdk/pull/6485
On Sat, 20 Nov 2021 04:40:22 GMT, Stuart Marks wrote:
>> Vicente Romero has updated the pull request incrementally with one
>> additional commit since the last revision:
>>
>> adding the benchmark
>
> Regarding the slot limit in `StringConcatFactory`, it's not clear to me the
> limit of 200
On Fri, 19 Nov 2021 05:07:23 GMT, Vicente Romero wrote:
>> Please review this PR which aims to optimize the implementation of the
>> `toString` method we provide for records. A benchmark comparing the
>> implementation we are providing for records with lombok found out that
>> lombok is much f
Can I please get a review for this change which proposes to fix the issue
reported in https://bugs.openjdk.java.net/browse/JDK-8003417?
The issue notes that this is applicable for `WeakHashMap` which have `null`
keys. However, the issue is even applicable for `WeakHashMap` instances which
don't
10 matches
Mail list logo