RFR 8014791: More ProblemList.txt updates (5/2013) (original) (raw)

Chris Hegarty chris.hegarty at oracle.com
Fri May 17 14:40:44 UTC 2013


On 17/05/2013 12:22, Alan Bateman wrote:

.... For java/net/HttpURLPermission/HttpURLPermissionTest.java then I assume that using try-with-resources around the code that opens the .ser files will sort this out (meaning might be as quick to just fix this one).

For this, I propose to simply replace the use of the file as a holder for the serial byte, with ByteArrayOutputStream.

hg diff HttpURLPermissionTest.java diff -r fab0e4b682e8 test/java/net/HttpURLPermission/HttpURLPermissionTest.java --- a/test/java/net/HttpURLPermission/HttpURLPermissionTest.java Fri May 17 15🔞40 2013 +0100 +++ b/test/java/net/HttpURLPermission/HttpURLPermissionTest.java Fri May 17 15:34:54 2013 +0100 @@ -187,11 +187,12 @@ public class HttpURLPermissionTest { throws Exception {

      HttpURLPermission out = new HttpURLPermission(name, actions);

ByteArrayInputStream(baos.toByteArray());

-Chris.



More information about the core-libs-dev mailing list