JDK-8043887 : Multiple applet jars are reported to Java Usage Tracker incorrectly
  • Type: Bug
  • Component: deploy
  • Affected Version: 8u20
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2014-05-23
  • Updated: 2015-01-21
  • Resolved: 2014-07-08
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.
8u20 b22Fixed 9Fixed
Related Reports
Relates :  
This bug was initially filed as https://javafx-jira.kenai.com/browse/JEM-193, however it looks like a problem in deploy code.

The problem is how applet jars are handled, if they are specified with whitespaces in the original web page. For example:

<applet ... archive="jar1.jar, jar2.jar">

Note the whitespace between ',' and 'j' chars. When such an applet is launched, Java Plugin notifies Java Usage Tracker, which results in the following record:

plugin2|<date>|<host>|http://web.page.url: launchjnlp= code=...  codebase=... width=100 archive=jar1.jar, jar2.jar height=100| ...

It leads to jar2.jar being handled as a separate applet attribute, not as a part of "archive".

This problem was supposed to be fixed by JUT fix JDK-8030103, which introduced quote and innerquote chars support to JUT. Unfortunately, the bug is still there, which makes me believe it's a problem in a way how Java Plugin passes applet params to Java Usage Tracker.

SQE is ok to take the fix in 8u20.

Please add noreg labeling. Stephen, please review for 8u20 inclusion