Thanks for the suggestion. Forwarding to the core libs list.
On Sun, Oct 10, 2021 at 6:52 PM David Holmes wrote:
>
> Hi,
>
> This belongs on core-libs-dev@openjdk.java.net
>
> Thanks,
> David
>
> On 11/10/2021 9:39 am, - wrote:
> > On GitHub, xenoamess sent a pull request [1] that optimizes
On Sat, 9 Oct 2021 17:54:16 GMT, Andrey Turbanov
wrote:
> 8275002: Remove unused AbstractStringBuilder.MAX_ARRAY_SIZE
src/java.base/share/classes/java/lang/AbstractStringBuilder.java line 240:
> 238: * OutOfMemoryError: Requested array size exceeds VM limit
> 239: */
> 240:
The java.io.ObjectInputStream and java.io.ObjectOuputStream classes are part of
the serialization feature. These classes contain brief descriptions of some of
the methods serializable classes can define to interact with the serialization
mechanism, readObject, readObjectNoData, and writeObject.
On Sat, 9 Oct 2021 17:54:16 GMT, Andrey Turbanov
wrote:
> 8275002: Remove unused AbstractStringBuilder.MAX_ARRAY_SIZE
Oops. I think we should also do something about this occurrence of
MAX_ARRAY_SIZE:
I am not really sure we’ve gotten the right idiom here yet. I’d like to slow
down a bit before making an API decision.
What id suggest is capturing the proposed api and spec on list, and let’s let
this sit and bake for a bit longer. My sense is that something better may well
emerge if we
On Sat, 9 Oct 2021 17:54:16 GMT, Andrey Turbanov
wrote:
> 8275002: Remove unused AbstractStringBuilder.MAX_ARRAY_SIZE
Marked as reviewed by prappo (Reviewer).
-
PR: https://git.openjdk.java.net/jdk/pull/5878
On Sat, 9 Oct 2021 17:54:16 GMT, Andrey Turbanov
wrote:
> 8275002: Remove unused AbstractStringBuilder.MAX_ARRAY_SIZE
Marked as reviewed by jlaskey (Reviewer).
-
PR: https://git.openjdk.java.net/jdk/pull/5878
On Wed, 6 Oct 2021 09:26:06 GMT, Peter Levart wrote:
>> This is trivial fix of
>> [JDK-8274686](https://bugs.java.com/bugdatabase/view_bug.do?bug_id=JDK-8274686)
>> which replaces manually-computed `int`-based `long` hash-code.
>>
>> Because `Long#hashCode(long)` uses other hashing function
On Sun, 1 Aug 2021 22:01:33 GMT, Markus KARG
wrote:
>> This PR-*draft* is **work in progress** and an invitation to discuss a
>> possible solution for issue
>> [JDK-8265891](https://bugs.openjdk.java.net/browse/JDK-8265891). It is *not
>> yet* intended for a final review.
>>
>> As proposed