Tag: Open Source
All the articles with the tag "Open Source".
Contributing to JUnit, Part 4: Writing the Release Note, Addressing the Maintainer's Review, and Getting Merged
—viewsI wrap up the last stretch of JUnit PR #6281. I added my change to the 6.2.0-M2 release notes, which are written in AsciiDoc, then added the cancellation scenario tests the maintainer asked for in the full review, until the PR got merged.
Contributing to Jetty, Part 2: Real Server Tests, Writing the Docs, and Opening the PR
—viewsI wrap up the remaining work on Jetty issue #14362. I tested that a real server using QueuedThreadPool with a virtual ThreadFactory handles 100 requests within the cap, then documented how to limit virtual thread creation with QueuedThreadPool and opened PR #16207.
Contributing to Hibernate ORM, Part 1: Analyzing the ClassCastException Caused by a Criteria Subquery Type Mismatch and Opening a PR
—viewsA record of analyzing Hibernate ORM issue HHH-18831 and opening a PR. I look at why, starting with Hibernate 6, a mismatch between a Criteria subquery's declared type and its actual select type blows up with a ClassCastException in an unrelated place, using the query processing structures of Hibernate 5 and 6 and the SQM tree, and then fix it so the subquery's select() reuses an existing validation utility and throws immediately.
Contributing to JUnit, Part 3: Addressing the First Review and Structuring Cancellation Checks with shouldContinue
—viewsI walk through how I addressed the first review on JUnit PR #6281. The reviewer pointed out that a cancellation check I'd left out, relying on the loop check, creates an implicit dependency, and that a user cancelling between steps can't be reproduced in a test, so I tied the entry conditions and the cancellation check together in a single shouldContinue.