Login
You're viewing the code4lib.social public feed.
  • Jul 31, 2026, 5:55 PM

    Woohoo! JEP 401 (Value Objects) has landed in mainline!

    $ jshell
    | Welcome to JShell -- Version 28-internal
    | For an introduction type: /help intro

    jshell> new Integer(1234) == new Integer(1234)
    $1 ==> false

    $ jshell --enable-preview
    | Welcome to JShell -- Version 28-internal
    | For an introduction type: /help intro

    jshell> new Integer(1234) == new Integer(1234)
    $1 ==> true

    #Java #OpenJDK

    💬 0🔄 13⭐ 15