RFR (JAXP) 8169827: javax/xml/jaxp/isolatedjdk/catalog/PropertiesTest.sh copied JDK failed
Langer, Christoph
christoph.langer at sap.com
Mon Jan 23 10:03:46 UTC 2017
Hi,
while working on jaxp changes and running jtreg tests I found that test javax/xml/jaxp/isolatedjdk/catalog/PropertiesTest.sh does not work. I then saw that this was already reported with bug 8169827. But, as I had already spent some time to fix this test I'd like to contribute my fix:
Bug: https://bugs.openjdk.java.net/browse/JDK-8169827
Webrev: http://cr.openjdk.java.net/~clanger/webrevs/8169827.0/
I converted the test to Java and removed the shell script PropertiesTest.sh. This resolves the compilation issue.
However, the test needs to copy an isolated jdk as it modifies files in the JDK. So I'm still using the copy script to first copy the jdk and afterwards remove the copy. These are separate 'shell' test steps. And in the actual test I'm running a child process with the isolated JDK.
I also don't know if the test should be kept in the problem list and/or also be tagged as 'intermittent' as the whole jdk copying procedure by means of a shell script seems error prone. In case we keep the entry in the problem list, I can also open a separate bug for my change.
@Frank: I don't know if you have some larger change in mind which improves the isolated jdk type testing greatly, otherwise I think this fix could at least make things better than they are at the moment.
Thanks & Best regards
Christoph
More information about the core-libs-dev
mailing list