RFR [9] 8080502: Changing accessing module resources
Miroslav Kos
miroslav.kos at oracle.com
Tue May 26 12:24:45 UTC 2015
On 21/05/15 14:34, Alan Bateman wrote:
> On 19/05/2015 10:38, Miroslav Kos wrote:
>> :
>>
>> JBS: https://bugs.openjdk.java.net/browse/JDK-8080502
>> webrev: http://cr.openjdk.java.net/~mkos/8080502/jaxws.01/index.html
>> testing: JAX-WS unit test; basically it is fix for existing tests
>> (JCK, ...)
> One thing that isn't obvious in this code is where the input streams
> are closed? Are they closed by whoever is consuming the input stream?
> Otherwise I don't see any issues.
>
> -Alan
Thanks, you are correct. Changed to try-catch with resources, the some
code moved to SchemaCache. Refernced resources found by
com.sun.tools.internal.xjc.SchemaCache.ResourceResolver added to
collection and closed after parsing.
updated webrev: http://cr.openjdk.java.net/~mkos/8080502/jaxws.02/
tests: rerun standalone tests for bot standalone build and for JDK.
Thanks
Miran
More information about the core-libs-dev
mailing list