Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add java.utils.Arrays#deepToString EEA #157

Merged
merged 3 commits into from
Aug 17, 2022
Merged

add java.utils.Arrays#deepToString EEA #157

merged 3 commits into from
Aug 17, 2022

Conversation

sebthom
Copy link
Contributor

@sebthom sebthom commented Aug 14, 2022

Signed-off-by: Sebastian Thomschke sebthom@users.noreply.github.com

sebthom and others added 2 commits August 14, 2022 23:07
Signed-off-by: Sebastian Thomschke <sebthom@users.noreply.github.com>
Comment on lines +5 to +7
deepToString
([Ljava/lang/Object;)Ljava/lang/String;
([Ljava/lang/Object;)L1java/lang/String;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is again an issue similar to #116 and #141. deepToString can return null https://docs.oracle.com/javase/7/docs/api/java/util/Arrays.html#deepToString(java.lang.Object[]) if the input value is null.

Please express your support to https://bugs.eclipse.org/bugs/show_bug.cgi?id=575822 to get a solution.

Copy link
Contributor Author

@sebthom sebthom Aug 17, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The doc says: This method returns "null" if the specified array is null. So a literal string "null" is returned, not a null value.

Anyways I voted for the issue you linked, I also want something like this.

@J-N-K J-N-K added this to the 2.5.0 milestone Aug 17, 2022
@J-N-K J-N-K merged commit 4d3833b into lastnpe:main Aug 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

None yet

2 participants