JDK-6693440 : JNLP_TCK test jnlp_file/resources/j2se/index.html#misc fails
  • Type: Bug
  • Component: deploy
  • Sub-Component: webstart
  • Affected Version: 6u10
  • Priority: P1
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2008-04-24
  • Updated: 2010-04-04
  • Resolved: 2008-05-22
Related Reports
Duplicate :  
Description
TCK test failure testing requested j2se args of :
initial-heap-size="10000000" max-heap-size="30000k"
with max heap so low, JVMParameters.java assumes default is larger (64M) so dosn't set the max parameter.

Comments
SUGGESTED FIX webrev: http://web-east.east/www/webrevs/ah22606/1.6.0_10/6702697/deploy/
15-05-2008

EVALUATION It seems a spec bug that in the specification of these args nowhere is it indicated what the JNLP client must do with them. The TCK interprets this to mean that the exact min and max heap sizes must be used, and this breaks now since the implementation allows larger max heap then the specified to be used (due to sharing with plug-in, which is sharing jre with multiple applets) We will need to add an "exact" flag passed only in by webstart to ensure that JVMParameters.java handles the need for exact matches of specified heap min and max.
24-04-2008