JDK-7028922 : Extraneous log message in console when closing browser window containing applet
  • Type: Bug
  • Component: deploy
  • Sub-Component: plugin
  • Affected Version: 7
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: linux
  • CPU: x86
  • Submitted: 2011-03-18
  • Updated: 2013-11-25
  • Resolved: 2012-04-04
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
7u6Fixed 8 b33Fixed
Description
FULL PRODUCT VERSION :
java version "1.7.0-ea"
Java(TM) SE Runtime Environment (build 1.7.0-ea-b134)
Java HotSpot(TM) Server VM (build 21.0-b04, mixed mode)


ADDITIONAL OS VERSION INFORMATION :
Linux 2.6.18-194.32.1.el5PAE #1 SMP Wed Jan 5 18:43:13 EST 2011 i686 i686 i386 GNU/Linux


EXTRA RELEVANT SYSTEM CONFIGURATION :
Firefox 3.6.15, using libnpjp2.so

A DESCRIPTION OF THE PROBLEM :
Closing a browser window containing an applet logs an unnecessary message to the Java console.

REGRESSION.  Last worked in version 6u24

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1) Open Java Control Panel and make sure that in Advanced, Java console is set to "Show console"
2) Using Firefox and libnpjp2.so, open a web page containing an applet, e.g. http://games.yahoo.com/console/wm
3) Shut the window containing the applet
4) Look at the messages in the Java console window, you will see the message "plugin2manager.parentwindowDispose", apparently emitted by the plugin since it happens whatever the applet loaded

EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
The console should only contain messages logged by the applet
ACTUAL -
Internal plugin debugging message "plugin2manager.parentwindowDispose" is logged to the Java console

REPRODUCIBILITY :
This bug can be reproduced always.

Comments
Verified with jdk8 nightly Nov.11.2013.
2013-11-25