summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog12
-rw-r--r--javax/tools/FileObject.java6
2 files changed, 16 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 962955ded..163c856b1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,15 @@
+2008-09-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
+
+ * javax/tools/FileObject.java:
+ (openReader(boolean)): Document new parameter.
+
+2008-03-27 Michael Franz <mvfranz@gmail.com>
+
+ PR classpath/35690:
+ * javax/tools/FileObject.java:
+ (toUri()): Fix case from toURI.
+ (openReader(boolean)): Add missing boolean argument.
+
2008-08-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
PR classpath/35487:
diff --git a/javax/tools/FileObject.java b/javax/tools/FileObject.java
index 56ecaba6d..a1d65c642 100644
--- a/javax/tools/FileObject.java
+++ b/javax/tools/FileObject.java
@@ -60,7 +60,7 @@ public interface FileObject
*
* @return a URI that represents this file object
*/
- URI toURI();
+ URI toUri();
/**
* Returns a name for this file object. The exact name is implementation
@@ -99,6 +99,8 @@ public interface FileObject
/**
* Opens this file for reading and returns a reader.
*
+ * @param ignoreEncodingErrors <code>true</code> when encoding errors should be ignored
+ * <code>false</code> otherwise
* @return a reader for reading this file object
*
* @throws IOException if an I/O error occurs
@@ -107,7 +109,7 @@ public interface FileObject
* @throws UnsupportedOperationException if this kind of file does not allow
* character reading
*/
- Reader openReader() throws IOException;
+ Reader openReader(boolean ignoreEncodingErrors) throws IOException;
/**
* Returns the character content of the file, if available. Any byte