mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-25 01:30:10 +00:00
7162385: TEST_BUG: sun/net/www/protocol/jar/B4957695.java failing again
Enable finding "foo1.jar" Reviewed-by: chegar
This commit is contained in:
parent
a7c8728704
commit
4f6ca7513e
@ -62,7 +62,8 @@ public class B4957695 {
|
||||
readOneRequest(s.getInputStream());
|
||||
try (OutputStreamWriter ow =
|
||||
new OutputStreamWriter((s.getOutputStream()))) {
|
||||
FileInputStream fin = new FileInputStream("foo1.jar");
|
||||
FileInputStream fin = new FileInputStream(new File(
|
||||
System.getProperty("test.src", "."), "foo1.jar"));
|
||||
int length = fin.available();
|
||||
byte[] b = new byte[length-10];
|
||||
fin.read(b, 0, length-10);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user