Java related

Yamada speaks passionately about his love for Java.

  1. Contributing to OpenJDKjava/contribution/

    About patches submitted to OpenJDK

    1. Enhancement 8386858: [lworld] Omit load_prototype_header When UseObjectMonitorTable Is Used

      When UseObjectMonitorTable is enabled, I have modified it to avoid loading the prototype header in the path that reads the Valhalla-specific mark word flag.

    2. Bug 8382937: [lworld] System.arraycopy can copy null into a null-restricted array

      Fixed to detect null copying to null-restricted arrays in FlatArrayKlass::copy_array

    3. Sub-task 8381862: Refactor remaining TestNG tests under jdk/net/ExtendedSocketOption to use JUnit

      I migrated the TestNG-based NAPI tests that were remaining under jdk/net/ExtendedSocketOption to JUnit.

    4. [BUG] 8372325: Refactor tests in jdk/java/net/httpclient to use ${test.main.class}

      I replaced the @run tag in the tests under HttpClient with ${test.main.class}.

    5. [BUG] 8378157: The section hyperlink in doc/testing.md points to building.html instead of building.md

      I updated references to the build documentation from the Gtest section in doc/testing.md for both HTML and Markdown formats.

    6. [BUG] 8379675: test/jdk/sun/security/pkcs11/rsa/GenKeyStore.java uses removed methods

      Replaced the certificate generation process in GenKeyStore.java with X509CertImpl.newSigned.

    7. Enhancement 8374202: Simplify significand normalization in BigDecimal(double, MathContext) constructor

      Simplified the normalization process of the significand for BigDecimal(double, MathContext).

    8. Task 8379818: Refactor java/nio/file/Files/StreamLinesTest.java to Use JUnit

      Moved StreamLinesTest from TestNG to JUnit and removed dependencies on OpTestCase.

    9. [BUG] 8366058: Outdated Comment in WinCAPISeedGenerator

      I deleted old comments about Windows 95.

    10. Enhancement 8372746: Some httpserver files could be improved with formatting cleanup

      I have tidied up inconsistent spacing around blank areas in multiple files of jdk.httpserver.

    11. [BUG] 8357880: Typo in code formatting for Cipher.getMaxAllowedParameterSpec

      Fixed a typo in the code tag in the JavaDoc for the Cipher class.

    12. [BUG] 8371092: NullPointerException in AltServiceUsageTest.afterClass test method

      I addressed the warm boot issue that occurs when closing the channel after a test.

  1. A Patch for Reading OpenJDK with CLion on Windows

    About Patch.java, which helps CLion read OpenJDK code on Windows.