JDK-8027832 : Failed to show URL:http://java.oracle.com/
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 8
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: solaris_11
  • CPU: x86
  • Submitted: 2013-10-31
  • Updated: 2017-06-06
  • Resolved: 2013-12-03
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 8
8Resolved
Related Reports
Duplicate :  
Duplicate :  
Relates :  
Description
Testsuite name: Regression
JDK/JRE tested: JDK8b113(64bit)
OS/architecture: solaris11-x64
Reproducible: Always
Reproducible on machine: solaris11-x64
Test run log location:
http://jsqalab.us.oracle.com/results/Evergreen/8/b113/regression/solaris11-x64/results-awt-part2/workDir/closed/java/awt/Desktop/BrowseTest/BrowseTest.jtr

Steps to reproduce:
1.Download regression workspace from http://jre.sfbay.sun.com/java/re/jdk/8/promoted/ea/b113/ws/jdk/test to /regression
2. Install test bundle JDK8b113 (download from
http://jre.us.oracle.com/java/re/jdk/8/promoted/ea/b113/bundles/solaris-x64/jdk-8-ea-bin-b113-solaris-amd64-24_oct_2013.tar.gz ) to /regression/jdk8.0
3.Install stable JDK6u34 to /regression/jdk1.6.0_34
4.download and unzip Jtreg from http://jre.us.oracle.com/java/re/jtreg/4.1/promoted/fcs/b02/bundles/jtreg_bin-4.1.zip locate at /regression/
5.Set the default browser and test JDK plug-in connection
6.Create the script regression.sh as follows and run it
export JT_JAVA= /regression/jdk1.6.0_34
/regression/jtreg/solaris/bin/jtreg -v -m -ignore:quiet -jdk:/regression/jdk1.8.0 -r:/regression/results/reportDir -w:/regression/results/workDir /regression/test/closed/java/awt/Desktop/BrowseTest/BrowseTest.sh

Instruction:
This test could launch default file manager to open user's home directory, and default web browser to show the URL of java vendor. After test execution close the native file manager and web browser windows if they were lunched by test. Also check output for any unexpected EXCEPTIONS, if you see any failure messages the test is FAILED.

Actual behavior:
Try to browse http://java.oracle.com/ ...EXCEPTION: Failed to show URL:http://java.oracle.com/
Comments
please re-evaluate it
28-11-2013

I have set correct proxy settings with System -> Preferences -> Network Proxy If I open browser manually, http://java.oracle.com/ opens successfully. More than that, The test fails only since JDK 8 b84, it passes aginst JDk 8 b83 and before. It is a regression.
28-11-2013

Evergreen team says: Important info is: from our test env, we don't set proxy enviable or system proxy at all to run this test case. Without proxy, we can access the mentioned URL directly from the default browser. Not sure why this bug is closed as not an issue. We think it is nothing related to proxy. I will try to run it with the correct proxy settings.
28-11-2013

As I commented above this is a proxy issue, setting http_proxy env variable does not affect gtk_show_uri() API and you have to set up proxy in system. You can specify proxy in Network Proxy window (System -> Preferences -> Network Proxy).
11-11-2013

This is a GTK proxy handling issue: gtk_show_uri() trying to receive content of URI internally. Somehow on Solaris 11 it does not support proxy and fails to get content with timeout error, URI available without proxy can be opened successfully (http_proxy and https_proxy env vars are set correctly). I can observe this behavior with a simple C program on Solaris 11 as well. It works fine on OEL6.
08-11-2013

Affected solaris only
06-11-2013

regression of JDK-2220226
05-11-2013

please evaluate
05-11-2013

Passes against JDK 8 b55 Passes against JDK 8 b70 Passes against JDK 8 b83 Fails against JDK 8 b84 Fails against JDK 8 b104
05-11-2013

closed/java/awt/Desktop/BrowseTest/BrowseTest.sh
31-10-2013