JDK-8137158 : $USER_HOME variable not evaluated in deployment.properties file on system level
  • Type: Bug
  • Component: deploy
  • Affected Version: 8u60
  • Priority: P3
  • Status: Closed
  • Resolution: Cannot Reproduce
  • OS: windows_7
  • CPU: x86_64
  • Submitted: 2015-08-19
  • Updated: 2015-09-25
  • Resolved: 2015-09-25
Related Reports
Relates :  
Description
FULL PRODUCT VERSION :


ADDITIONAL OS VERSION INFORMATION :
Windows 7 x64 SP1 updated or Windows 2012 R2 updated

EXTRA RELEVANT SYSTEM CONFIGURATION :
trying to configure alternative paths for deployment.user.cachedir or deployment.user.security.trusted.certs using variable $USER_HOME

A DESCRIPTION OF THE PROBLEM :
trying to configure alternative paths for deployment.user.cachedir or deployment.user.security.trusted.certs using variable $USER_HOME

in Java 6U45 this variable was evaluated and returned valid path. In all current Version, this variable seems to not be evaluated any more - remains as given string as $USER_HOME in control Panel (cache Settings).

REGRESSION.  Last worked in version 6u45

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
configure deployment at System Level for users in current Java Runtime Environments, will not be evaluated correctly.

EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Expansion/Evaluation to full path e.g. C:\Users\<username>\AppData\LocalLow\Sun\Java\Deployment
ACTUAL -
$USER_HOME + FileSeperator + "<subdir>"

REPRODUCIBILITY :
This bug can be reproduced always.


Comments
This issue is not reproducible with current JDK version 8u60 and 9 ea b78. Further, we haven't received any response/confirmation from the submitter. Therefore, closing this as cannot reproduce.
25-09-2015