-
Bug
-
Resolution: Not an Issue
-
P3
-
7u17, 8, 9
-
os_x
FULL PRODUCT VERSION :
Java 1.7.0 Update 17 (build 1.7.0_17-b02)
Java Plug-in 10.17.2.02
Using JRE version 1.7.0_17-b02 Java HotSpot(TM) 64-Bit Server VM
ADDITIONAL OS VERSION INFORMATION :
This problem is platform specific MAC OS X running Java 1.7.
Mac OS X 10.7.5
A DESCRIPTION OF THE PROBLEM :
Applet can not show a browser window using getAppletContext().showDocument(url, " _blank " );
Program and html are below.
I get no error. This works on
Mac OS X 10.6.8
Java 1.6.0_43-b01-447
Also works on Windows all os version and Java levels.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Simple class
------------------
import java.applet.*;
import java.net.*;
public class SimpleBrowser extends Applet
{
public void start()
{
try
{
URL url=new URL( " http://www.yahoo.com " );
getAppletContext().showDocument(url, " _blank " );
}
catch(Exception e)
{
System.out.println( " error= " +e.getMessage());
System.out.println( " error string= " +e.toString());
}
}
} // end of class
-----------------------------
Html
<html>
<head>
<title>IBM Global Expense Reporting Solutions</title>
</head>
<body>
<APPLET mayscript code= " SimpleBrowser.class " align= " baseline " width= " 0 " height= " 0 " >
<param name= " archive " value= " Browser.jar " >
</APPLET>
</body>
</html>
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Browser should launch and display content in a browser window.
ACTUAL -
No browser window displayed.
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
See above -- 1 class, 1 html - very simple
---------- END SOURCE ----------
SUPPORT :
YES
Java 1.7.0 Update 17 (build 1.7.0_17-b02)
Java Plug-in 10.17.2.02
Using JRE version 1.7.0_17-b02 Java HotSpot(TM) 64-Bit Server VM
ADDITIONAL OS VERSION INFORMATION :
This problem is platform specific MAC OS X running Java 1.7.
Mac OS X 10.7.5
A DESCRIPTION OF THE PROBLEM :
Applet can not show a browser window using getAppletContext().showDocument(url, " _blank " );
Program and html are below.
I get no error. This works on
Mac OS X 10.6.8
Java 1.6.0_43-b01-447
Also works on Windows all os version and Java levels.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Simple class
------------------
import java.applet.*;
import java.net.*;
public class SimpleBrowser extends Applet
{
public void start()
{
try
{
URL url=new URL( " http://www.yahoo.com " );
getAppletContext().showDocument(url, " _blank " );
}
catch(Exception e)
{
System.out.println( " error= " +e.getMessage());
System.out.println( " error string= " +e.toString());
}
}
} // end of class
-----------------------------
Html
<html>
<head>
<title>IBM Global Expense Reporting Solutions</title>
</head>
<body>
<APPLET mayscript code= " SimpleBrowser.class " align= " baseline " width= " 0 " height= " 0 " >
<param name= " archive " value= " Browser.jar " >
</APPLET>
</body>
</html>
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Browser should launch and display content in a browser window.
ACTUAL -
No browser window displayed.
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
See above -- 1 class, 1 html - very simple
---------- END SOURCE ----------
SUPPORT :
YES