Is there a possibility of the string equality operator (==) being fixed?

David Alayachew davidalayachew at gmail.com
Thu Oct 26 21:48:04 UTC 2023


My fault :P

On Thu, Oct 26, 2023 at 10:45 AM Mark Reinhold <mark.reinhold at oracle.com>
wrote:

> 2023/10/26 2:52:55 -0400, tzengshinfu at gmail.com:
> > Hello, folks:
> >
> > I've noticed that `string comparison` in Java can be confusing because,
> in
> > certain contexts,
> > their results are actually the same as `the wrapper classes of Primitive
> > Data Types`, as shown below:
>
> Your message is off-topic for this list.  Per the list’s description [1]:
>
>   This list is for general discussion about the OpenJDK Community,
>   including proposals of new Projects and Groups.
>
>   This is not a place to discuss specific technical proposals. For that,
>   please use an appropriate area-specific mailing list.
>
>   This is not a place to ask support questions. Please direct those to
>   whoever provided your JDK build.
>
> The OpenJDK Developers’ Guide includes a list of area-specific mailing
> lists [2], but there isn’t a list specifically for the Java programming
> language.  Given that the charter of Project Amber [3] is to “explore
> and incubate smaller, productivity-oriented Java language features,”
> your original choice of amber-dev was reasonable, so I suggest that
> you use that list.
>
> - Mark
>
>
> [1] https://mail.openjdk.org/mailman/listinfo/discuss
> [2] https://openjdk.org/guide/#area-mailing-lists
> [3] https://openjdk.org/projects/amber/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/discuss/attachments/20231026/a3d5e9ec/attachment.htm>


More information about the discuss mailing list