Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[test] recursive VMInputStream.read #562

Open
jukzi opened this issue Nov 12, 2024 · 1 comment
Open

[test] recursive VMInputStream.read #562

jukzi opened this issue Nov 12, 2024 · 1 comment
Labels
good first issue Good for newcomers test junit test related things

Comments

@jukzi
Copy link
Contributor

jukzi commented Nov 12, 2024

its only a test, but such recursion might lead to stackoverflow:

     [java] java.io.IOException: Stream closed
     [java] 	at java.base/java.io.BufferedInputStream.getBufIfOpen(BufferedInputStream.java:188)
     [java] 	at java.base/java.io.BufferedInputStream.getBufIfOpen(BufferedInputStream.java:198)
     [java] 	at java.base/java.io.BufferedInputStream.implRead(BufferedInputStream.java:329)
     [java] 	at java.base/java.io.BufferedInputStream.read(BufferedInputStream.java:318)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:62)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.runtime.VMInputStream.read(VMInputStream.java:65)
     [java] 	at org.eclipse.jdt.core.tests.util.TestVerifier.transferTo(TestVerifier.java:487)
     [java] 	at org.eclipse.jdt.core.tests.util.TestVerifier.lambda$2(TestVerifier.java:462)
     [java] 	at java.base/java.lang.Thread.run(Thread.java:1575)

https://download.eclipse.org/eclipse/downloads/drops4/I20241111-1800/testresults/consolelogs/ep434I-unit-linux-x86_64-java23_linux.gtk.x86_64_23_consolelog.txt

@jukzi jukzi added test junit test related things good first issue Good for newcomers labels Nov 12, 2024
@nettozahler
Copy link

The trivial solution would be to remove the circular method call to read() in line 65. But this would also remove the workaround mentioned in the class comment:

Workaround problem with input stream from a <code>java.lang.Process</code> that throws an <code>IOException</code> even if there is something to read.

This workaround was introduced 22 years ago and maybe it is no longer necessary today. Perhaps we could simply remove the whole class org.eclipse.jdt.core.tests.runtime.VMInputStream.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers test junit test related things
Projects
None yet
Development

No branches or pull requests

2 participants