JDK-6782008 : Unwanted console output in MSIE 5
  • Type: Bug
  • Component: deploy
  • Sub-Component: plugin
  • Affected Version: 6u10
  • Priority: P5
  • Status: Closed
  • Resolution: Cannot Reproduce
  • OS: windows_2000
  • CPU: x86
  • Submitted: 2008-12-08
  • Updated: 2011-02-16
  • Resolved: 2010-10-25
Description
FULL PRODUCT VERSION :
java version "1.6.0_10"
Java(TM) SE Runtime Environment (build 1.6.0_10-b33)
Java HotSpot(TM) Client VM (build 11.0-b15, mixed mode, sharing)

ADDITIONAL OS VERSION INFORMATION :
Windows 2000 5.00.2195 SP4

A DESCRIPTION OF THE PROBLEM :
Calling Applet.getImage(...) or Applet.getAudioClip(...) causes the full server path to be output to the java console in MS Internet Explorer 5.

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Run any applet which calls getImage() or getAudioClip() in IE5.

EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
No messages
ACTUAL -
Unwanted messages in the java console eg;
'Loaded image: http://www.ip.com/images/image.png'

REPRODUCIBILITY :
This bug can be reproduced always.

---------- BEGIN SOURCE ----------
import java.applet.*;
import java.awt.*;

public class TestApplet extends Applet {
public void init() {
		Image image = getImage(getDocumentBase(),"image.png");
	}
}

---------- END SOURCE ----------

CUSTOMER SUBMITTED WORKAROUND :
I wish I knew.