1.1 --- a/rt/emul/compact/src/main/java/java/util/Properties.java Thu Oct 03 15:40:35 2013 +0200
1.2 +++ b/rt/emul/compact/src/main/java/java/util/Properties.java Thu Oct 03 17:36:44 2013 +0200
1.3 @@ -861,12 +861,11 @@
1.4 * @since 1.5
1.5 */
1.6 public synchronized void loadFromXML(InputStream in)
1.7 - throws IOException, InvalidPropertiesFormatException
1.8 + throws IOException
1.9 {
1.10 if (in == null)
1.11 throw new NullPointerException();
1.12 - XMLUtils.load(this, in);
1.13 - in.close();
1.14 + throw new IOException();
1.15 }
1.16
1.17 /**
1.18 @@ -933,7 +932,7 @@
1.19 {
1.20 if (os == null)
1.21 throw new NullPointerException();
1.22 - XMLUtils.save(this, os, comment, encoding);
1.23 + throw new IOException();
1.24 }
1.25
1.26 /**