JDK-8056979 : Roaming user profiles by USER_JPI_PROFILE env variables doesn't work anymore
  • Type: Bug
  • Component: deploy
  • Sub-Component: webstart
  • Affected Version: 8u20
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: windows_8
  • CPU: x86
  • Submitted: 2014-08-29
  • Updated: 2015-06-03
  • Resolved: 2014-09-11
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 7 JDK 8 JDK 9
7u75Fixed 8u31 b01Fixed 9Fixed
Description
FULL PRODUCT VERSION :
From 8u11.
Until 8u5, it worked correctry.


ADDITIONAL OS VERSION INFORMATION :
Windows 8.1 x86_64

A DESCRIPTION OF THE PROBLEM :
We used to use USER_JPI_PROFILE environment variable to switch user profile for Java Web Start.

Please see also, bug:6611382
http://bugs.java.com/bugdatabase/view_bug.do?bug_id=6611382

Until 8u5, it worked as expected, but from 8u11 (including 8u20), it doesn't work anymore.

Specifying USER_JPI_PROFILE environment variable seems to have no meaning at all.


REGRESSION.  Last worked in version 8u5

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1. Set USER_JPI_PROFILE to some directory
2. Start some Java Web Start application.



EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
3. Check if directory %USER_JPI_PROFILE%\Sun\Java\Deployment is created and deployment.properties file is created in the directory. (expected behavior)
ACTUAL -
%USER_JPI_PROFILE%\Sun\Java\Deployment directory is not created.


REPRODUCIBILITY :
This bug can be reproduced always.


Comments
crucible: https://java.se.oracle.com/code/cru/CR-JDK9CPU-126
10-09-2014