RFR for JDK-8027973. javax/xml/jaxp/transform/jdk8004476/XSLTExFuncTest.java hangs (win)
huizhe wang
huizhe.wang at oracle.com
Fri Nov 22 17:37:15 UTC 2013
The reason it's three slashes is that empty string is legal in place of
localhost, file://host/path therefore becomes file:///path.
And the reason the test was failing was that JAXP unit tests use:
getClass().getResource("filename").getPath() or getFile() that returns
it in a format, on Windows: /C:/path, which was why two slashes were
added when the test was converted to Jtreg. But then the filepath part
of code was changed too, causing a mismatch.
Joe
On 11/21/2013 2:48 AM, Patrick Zhang wrote:
> Hi Alan,
>
> I have renamed "jdk8004476" to "8004476". And as Daniel's suggestion,
> add some comments to XSLTExFuncTest.java.
>
> I have updated the webrev for review.
> http://cr.openjdk.java.net/~pzhang/8027973/webrev/
>
> Regards
> Patrick
>
> On 11/21/13 5:33 PM, Alan Bateman wrote:
>> On 21/11/2013 05:20, huizhe wang wrote:
>>> Thanks for working on the issue. The fix looks good.
>> Looks good to me too (very subtle).
>>
>> (A side point but should "jdk" be dropped from the directory name so
>> that it is a bit more consistent with the tests in the test/javax/xml
>> tree).
>>
>> -Alan
More information about the core-libs-dev
mailing list