RFR: 8365532: java/lang/module/ModuleReader/ModuleReaderTest.testImage fails

David Beaumont duke at openjdk.org
Thu Aug 14 15:12:53 UTC 2025


This should fix this issue and locally fixes the test() method in:

test/jdk/java/lang/module/ModuleReader/ModuleReaderTest.java

which does:

--------
            // test nulls
            try {
                reader.find(null);
                assertTrue(false);
            } catch (NullPointerException expected) { }
--------

-------------

Commit messages:
 - Restore null pointer check

Changes: https://git.openjdk.org/jdk/pull/26780/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=26780&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8365532
  Stats: 1 line in 1 file changed: 1 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/26780.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/26780/head:pull/26780

PR: https://git.openjdk.org/jdk/pull/26780


More information about the core-libs-dev mailing list