<Swing Dev> [15] RFR JDK-8235744: PIT: test/jdk/javax/swing/text/html/TestJLabelWithHTMLText.java times out in linux-x64
Phil Race
philip.race at oracle.com
Wed Dec 11 18:43:25 UTC 2019
The bug is still in "new" state and has no evaluation. Please add what
you added here.
Also I think it best to push this test fix to 14, not 15, once approved,
so it does not interfere with JDK 14 final testing.
Can't this be tested with a file: URL ? What are other similar tests using ?
-phil.
On 12/11/19 2:45 AM, Pankaj Bansal wrote:
>
> Hi All,
>
> Please review the following test only fix for jdk15.
>
>
> Bug:
>
> https://bugs.openjdk.java.net/browse/JDK-8235744
>
> webrev:
>
> http://cr.openjdk.java.net/~pbansal/8235744/webrev00/
>
> Issue:
>
> The test test/jdk/javax/swing/text/html/TestJLabelWithHTMLText.java on
> linux-64.
>
> The test was added under
> https://bugs.openjdk.java.net/browse/JDK-8230235. The test has a
> JLabel and a html text with empty image tag. The client property
> “DocumentBaseKey” is set on the JLabel with value
> “https://www.google.com/”. If the test is run on a linux machine on a
> network which requires proxy settings to access internet, the test is
> timed out if no proxy is set for java. The test just keeps trying to
> access the url set in “DocumentBaseKey” and as it is set to
> “https://www.google.com/”, it requires a proxy. I think the test
> passes on mach5 system as no system proxy is required there to access
> internet there.
>
> Fix:
>
> The fix is to change the “DocumentBaseKey” value to a URL where proxy
> is not required even if the network needs a proxy to access internet.
> This can be localhost, some local directory url etc. In the fix,
> localhost is used. I have verified that after making this change, the
> test passes with the fix done in
> https://bugs.openjdk.java.net/browse/JDK-8230235 and fails without the
> fix.
>
> Testing:
>
> I have run this on local machines on network which required proxy to
> access internet. I have also ran a mach5 job and it is working fine.
>
>
> Regards,
> Pankaj Bansal
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/swing-dev/attachments/20191211/f5a8ed65/attachment.htm>
More information about the swing-dev
mailing list