JDK-8186259 : IOExceptionIfEncodedURLTest.sh versus IOExceptionIfEncodedURLTest.java
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 10
  • Priority: P1
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2017-08-15
  • Updated: 2024-07-09
  • Resolved: 2017-08-16
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 10
10 b20Fixed
Related Reports
Relates :  
Description
Error: Test clashes with another test with a similar name:
    jdk/test/java/awt/appletviewer/IOExceptionIfEncodedURLTest/IOExceptionIfEncodedURLTest.sh
    jdk/test/java/awt/appletviewer/IOExceptionIfEncodedURLTest/IOExceptionIfEncodedURLTest.java
Report written to testoutput/jtreg/JTreport/html/report.html
Results written to testoutput/jtreg/JTwork
Summary: 
TEST STATS: name=  run=126  pass=126  fail=0
EXIT CODE: 5
EXIT CODE: 5
../../test/TestCommon.gmk:398: recipe for target 'jtreg_tests' failed
make[1]: *** [jtreg_tests] Error 5
Makefile:115: recipe for target 'jtreg_tests' failed
make: *** [jtreg_tests] Error 2
Error: make exit code: 2

Comments
A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk8u-dev/pull/464 Date: 2024-03-04 02:36:32 +0000
09-07-2024

[jdk8u-fix-request] Approval Request from yaqsun IOExceptionIfEncodedURLTest.sh and IOExceptionIfEncodedURLTest.java have similar names, fixed according to JDK-8186259.
04-07-2024

URL: http://hg.openjdk.java.net/jdk10/jdk10/jdk/rev/f81344689826 User: prr Date: 2017-08-16 18:32:36 +0000
16-08-2017

Putting the .sh and .java files on the ProblemList.txt does not seem to be effective. The problem exists in the JDK 10 repo and the fix should go there.
16-08-2017

This is a shell script test. We need to remove the jtreg tags from the java file. It is confusing that there were any there at all.
16-08-2017

Raised priority to P1 as this affects jdk10/hs integration to jdk10/jdk10, which in turn is a requirement for the repo consolidation.
16-08-2017

In IOExceptionIfEncodedURLTest.java, change b762aafa34e3 modified the plain word 'test' by prepending an at-sign: % hg diff --change b762aafa34e3 IOExceptionIfEncodedURLTest.java diff --git a/test/java/awt/appletviewer/IOExceptionIfEncodedURLTest/IOExceptionIfEncodedURLTest.java b/test/java/awt/appletviewer/IOExceptionIfEncodedURLTest/IOExceptionIfEncodedURLTest.java --- a/test/java/awt/appletviewer/IOExceptionIfEncodedURLTest/IOExceptionIfEncodedURLTest.java +++ b/test/java/awt/appletviewer/IOExceptionIfEncodedURLTest/IOExceptionIfEncodedURLTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2008, 2017, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -21,15 +21,16 @@ * questions. */ -/* - test - @bug 6193279 - @summary REGRESSION: AppletViewer throws IOException when path is encoded URL - @author Dmitry Cherepanov: area=appletviewer - @run compile IOExceptionIfEncodedURLTest.java - @run main IOExceptionIfEncodedURLTest - @run shell IOExceptionIfEncodedURLTest.sh -*/ +/** + * @test + * @key headful + * @bug 6193279 + * @summary REGRESSION: AppletViewer throws IOException when path is encoded URL + * @author Dmitry Cherepanov: area=appletviewer + * @run compile IOExceptionIfEncodedURLTest.java + * @run main IOExceptionIfEncodedURLTest + * @run shell IOExceptionIfEncodedURLTest.sh + */ import java.applet.Applet; import sun.net.www.ParseUtil;
15-08-2017

Tier 1,2,3 test runs recorded as UNABLE TO RUN after jtreg returned ERROR status 5: http://jpg-infra-mesos.us.oracle.com:31009/mdash/jobs/mach5-j-jdk10-20170815-2129-1604?search=UNABLE_TO_RUN&searchFields=result
15-08-2017