I'm committing the attached minor fix by Michael Franz,
which I judge trivial enough to do so without an assignment
and no previous patches, only bug reports.
ChangeLog:
2008-09-01 Andrew John Hughes <[EMAIL PROTECTED]>
* javax/tools/FileObject.java:
(openReader(boolean)): Document new parameter.
2008-03-27 Michael Franz <[EMAIL PROTECTED]>
PR classpath/35690:
* javax/tools/FileObject.java:
(toUri()): Fix case from toURI.
(openReader(boolean)): Add missing boolean argument.
--
Andrew :)
Support Free Java!
Contribute to GNU Classpath and the OpenJDK
http://www.gnu.org/software/classpath
http://openjdk.java.net
PGP Key: 94EFD9D8 (http://subkeys.pgp.net)
Fingerprint = F8EF F1EA 401E 2E60 15FA 7927 142C 2591 94EF D9D8
Index: javax/tools/FileObject.java
===================================================================
RCS file: /sources/classpath/classpath/javax/tools/FileObject.java,v
retrieving revision 1.1
diff -u -r1.1 FileObject.java
--- javax/tools/FileObject.java 14 Jan 2008 11:46:55 -0000 1.1
+++ javax/tools/FileObject.java 27 Mar 2008 23:00:42 -0000
@@ -60,7 +60,7 @@
*
* @return a URI that represents this file object
*/
- URI toURI();
+ URI toUri();
/**
* Returns a name for this file object. The exact name is implementation
@@ -107,7 +107,7 @@
* @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