-
Bug
-
Resolution: Fixed
-
P1
-
8u51, 9
-
b135
-
x86_64
-
windows_7
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8183607 | 8u161 | Alexey Ivanov | P1 | Resolved | Fixed | b01 |
JDK-8167585 | 8u152 | Alexey Ivanov | P3 | Resolved | Fixed | b01 |
JDK-8173431 | 8u151 | Alexey Ivanov | P1 | Resolved | Fixed | b01 |
JDK-8177163 | 8u141 | Unassigned | P1 | Resolved | Fixed | b01 |
JDK-8165638 | 8u131 | Alexey Ivanov | P3 | Resolved | Fixed | b04 |
JDK-8192119 | emb-8u161 | Alexey Ivanov | P1 | Resolved | Fixed | b01 |
JDK-8184478 | emb-8u151 | Unassigned | P1 | Resolved | Fixed | b01 |
JDK-8178554 | emb-8u141 | Unassigned | P1 | Resolved | Fixed | b01 |
JDK-8173500 | emb-8u131 | Alexey Ivanov | P1 | Resolved | Fixed | b04 |
ADDITIONAL OS VERSION INFORMATION :
Windows 7 (64)
A DESCRIPTION OF THE PROBLEM :
Starting from java 8u51 for java JNLP webstart application - the console is showing the following exception:
Exception in thread "Thread-15" java.lang.SecurityException: Failed to extract baseline.versions
at com.sun.deploy.util.SecurityBaseline.extractManifest(Unknown Source)
at com.sun.deploy.util.SecurityBaseline.extractManifests(Unknown Source)
at com.sun.deploy.util.SecurityBaseline.access$300(Unknown Source)
at com.sun.deploy.util.SecurityBaseline$1.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.FileNotFoundException: C:\Users\baums\AppData\LocalLow\Sun\Java\Deployment\security\baseline.versions (Access is denied)
at java.io.FileOutputStream.open0(Native Method)
at java.io.FileOutputStream.open(Unknown Source)
at java.io.FileOutputStream.<init>(Unknown Source)
at java.io.FileOutputStream.<init>(Unknown Source)
... 5 more
This is caused since under the folder C:\Users\baums\AppData\LocalLow\Sun\Java\Deployment\security\, there's already a folder named baseline.versions - hence, a new file with this name cannot be created there.
needless to say the folder was not created manually but rather automatically via the same deployment process of an earlier java version.
deleting the folder manually will resolve the issue and the baseline.versions file will be created successfully with the proper content as written in bug https://bugs.openjdk.java.net/browse/JDK-8077736
Therefore it is requested that the deployment classes will better handle the situation to avoid the error in creating the file.
REGRESSION. Last worked in version 8u45
REPRODUCIBILITY :
This bug can be reproduced always.
CUSTOMER SUBMITTED WORKAROUND :
Delete the "baseline.versions" file from the client machine manually to allow the deploy code to create the "baseline.versions" file at the same location.
not a good workaround as it requires to perform this actions on each client machine.
- backported by
-
JDK-8173431 java.lang.SecurityException: Failed to extract baseline.versions error
-
- Resolved
-
-
JDK-8173500 java.lang.SecurityException: Failed to extract baseline.versions error
-
- Resolved
-
-
JDK-8177163 java.lang.SecurityException: Failed to extract baseline.versions error
-
- Resolved
-
-
JDK-8178554 java.lang.SecurityException: Failed to extract baseline.versions error
-
- Resolved
-
-
JDK-8183607 java.lang.SecurityException: Failed to extract baseline.versions error
-
- Resolved
-
-
JDK-8184478 java.lang.SecurityException: Failed to extract baseline.versions error
-
- Resolved
-
-
JDK-8192119 java.lang.SecurityException: Failed to extract baseline.versions error
-
- Resolved
-
-
JDK-8165638 java.lang.SecurityException: Failed to extract baseline.versions error
-
- Resolved
-
-
JDK-8167585 java.lang.SecurityException: Failed to extract baseline.versions error
-
- Resolved
-