Details
-
Bug
-
Resolution: Fixed
-
P2
-
8
-
win7/x86/jre8-b114 and latest nightly build#728
-
b120
-
Verified
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8030258 | 8u5 | Dmitry Cherepanov | P2 | Resolved | Fixed | b01 |
JDK-8041038 | 7u80 | Dmitry Cherepanov | P2 | Resolved | Fixed | b01 |
JDK-8034479 | 7u65 | Dmitry Cherepanov | P2 | Resolved | Fixed | b01 |
JDK-8029915 | 7u60 | Dmitry Cherepanov | P2 | Resolved | Fixed | b02 |
JDK-8029426 | 7u55 | Dmitry Cherepanov | P2 | Resolved | Fixed | b01 |
JDK-8029118 | 7u51 | Dmitry Cherepanov | P2 | Closed | Fixed | b10 |
Description
When run tests to cover https://bugs.openjdk.java.net/browse/JDK-8014061, we found application code fails to open .pack.gz files again.
It works fine with jre8-b113 and start to fail from jre8-b114
Steps to reproduce this bug:
0 Install jre8-b114
1 Set security level to medium since unsigned app will only allowed on medium
2 Launch unsinged app: javaws http://sqeweb.us.oracle.com/net/sqenfs-1/export1/comp/jsn/users/crystal/DO_NOT_REMOVE_ME/jrebug/packTests/jnlp/testOpenPackGz.jnlp
Application code that tries to execute
try {
URL url = new URL("jar:http://sqeweb.us.oracle.com/net/sqenfs-1/export1/comp/jsn/users/crystal/DO_NOT_REMOVE_ME/jrebug/packTests/classes/Data__V2.0.jar.pack.gz!/Data.txt");
InputStream is = url.openStream();
System.out.println("openStream succeeded");
out("PASS!!!");
setResult(true);
} catch (Exception e) {
System.err.println("openStream failed");
System.err.println(e.toString());
out("Fail!!!");
setResult(false);
}
3 An unsigned dialog will show up. Click "Run"
4 If app fails to open stream (openStream failed java.util.zip.ZipException: error in opening zip file), then this bug is reproduced.
More details in
http://aurora-ds.us.oracle.com:9500/runs/317123.ManualSubmit-1/html/testOpenPackGz.trace
It works fine with jre8-b113 and start to fail from jre8-b114
Steps to reproduce this bug:
0 Install jre8-b114
1 Set security level to medium since unsigned app will only allowed on medium
2 Launch unsinged app: javaws http://sqeweb.us.oracle.com/net/sqenfs-1/export1/comp/jsn/users/crystal/DO_NOT_REMOVE_ME/jrebug/packTests/jnlp/testOpenPackGz.jnlp
Application code that tries to execute
try {
URL url = new URL("jar:http://sqeweb.us.oracle.com/net/sqenfs-1/export1/comp/jsn/users/crystal/DO_NOT_REMOVE_ME/jrebug/packTests/classes/Data__V2.0.jar.pack.gz!/Data.txt");
InputStream is = url.openStream();
System.out.println("openStream succeeded");
out("PASS!!!");
setResult(true);
} catch (Exception e) {
System.err.println("openStream failed");
System.err.println(e.toString());
out("Fail!!!");
setResult(false);
}
3 An unsigned dialog will show up. Click "Run"
4 If app fails to open stream (openStream failed java.util.zip.ZipException: error in opening zip file), then this bug is reproduced.
More details in
http://aurora-ds.us.oracle.com:9500/runs/317123.ManualSubmit-1/html/testOpenPackGz.trace
Attachments
Issue Links
- backported by
-
JDK-8029426 Regression - Application code fails to open .pack.gz files
-
- Resolved
-
-
JDK-8029915 Regression - Application code fails to open .pack.gz files
-
- Resolved
-
-
JDK-8030258 Regression - Application code fails to open .pack.gz files
-
- Resolved
-
-
JDK-8034479 Regression - Application code fails to open .pack.gz files
-
- Resolved
-
-
JDK-8041038 Regression - Application code fails to open .pack.gz files
-
- Resolved
-
-
JDK-8029118 Regression - Application code fails to open .pack.gz files
-
- Closed
-
(1 backported by)