RFR: 8332161: Test restoring echo in the Console implementation (java.base) [v9]

Pavel Rappo prappo at openjdk.org
Thu Jun 6 20:36:12 UTC 2024


On Thu, 6 Jun 2024 17:51:50 GMT, Naoto Sato <naoto at openjdk.org> wrote:

> Turned out that removing the classpath ends up not finding the test class:
> 
> ```
> Error: Could not find or load main class RestoreEchoTest
> Caused by: java.lang.ClassNotFoundException: RestoreEchoTest
> ];
> ```

Hm... this is surprising. On my machine, `testSrc` expands to the `JTwork/classes/0/java/io/Console/RestoreEchoTest.d` directory, which is included in `CLASSPATH` and which contains `RestoreEchoTest.class`.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/19315#discussion_r1630200122


More information about the core-libs-dev mailing list