aboutsummaryrefslogtreecommitdiff
path: root/libjava/mauve-libgcj
AgeCommit message (Collapse)AuthorFilesLines
2006-01-03PR libgcj/9715, PR libgcj/19132:David Daney1-1/+0
* java/nio/charset/Charset.java (charsetForName): Try default provider first. (availableCharsets): Re-merged. (providers2): Likewise. (defaultCharset): Likewise. * sources.am, Makefile.in: Rebuilt. * gnu/java/nio/charset/Provider.java: Removed. * java/io/OutputStreamWriter.java (OutputStreamWriter(OutputStream,Charset)): New constructor. (OutputStreamWriter(OutputStream,CharsetEncoder)): Likewise. * java/io/InputStreamReader.java (InputStreamReader(InputStream,CharsetDecoder)): New constructor. (InputStreamReader(InputStream,Charset)): Likewise. * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Try a BytesToCharsetAdaptor. * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Try a CharsetToBytesAdaptor. * gnu/gcj/convert/CharsetToBytesAdaptor.java: New file. * gnu/gcj/convert/BytesToCharsetAdaptor.java: New file. * mauve-libgcj: Remove getEncoding exclusion. Co-Authored-By: Tom Tromey <tromey@redhat.com> From-SVN: r109294
2005-11-07mauve-libgcj: Disable javax.rmi.* and java.io.InputStreamReader.getEncoding.David Daney1-0/+2
* mauve-libgcj: Disable javax.rmi.* and java.io.InputStreamReader.getEncoding. From-SVN: r106614
2005-06-02mauve-libgcj: Remove implemented classes from the fail section.Andreas Tobler1-6/+2
2005-06-02 Andreas Tobler <a.tobler@schweiz.ch> * mauve-libgcj: Remove implemented classes from the fail section. Add two new not implemented to it. From-SVN: r100471
2005-01-10* mauve-libgcj: Exclude some swing tests.Tom Tromey1-0/+3
From-SVN: r93157
2004-11-28mauve-libgcj: Disable SpinnerListModel...Mark Wielaard1-0/+5
* mauve-libgcj: Disable SpinnerListModel, SwingUtilities and XMLDecoder tests which currently don't compile. From-SVN: r91430
2004-09-23re PR libgcj/6182 (Mauve Character.unicode test gives bogus test results)Tom Tromey1-4/+0
PR libgcj/6182: * mauve-libgcj: Enable java.lang.Character tests. From-SVN: r87901
2003-12-18mauve-libgcj: Removed the disabling of java.text.ACIAttribute and...Michael Koch1-6/+0
2003-12-18 Michael Koch <konqueror@gmx.de> * mauve-libgcj: Removed the disabling of java.text.ACIAttribute and java.text.CollationElementIterator tests as they compile again. * testsuite/libjava.mauve/xfails: Added failing java.text.CollationElementIterator tests. From-SVN: r74796
2003-07-19* mauve-libgcj: Don't run CollationElementIterator tests.Tom Tromey1-0/+3
From-SVN: r69596
2003-02-28Makefile.am (nat_source_files): Remove java/io/natObjectOutputStream.cc.Mark Wielaard1-1/+0
* Makefile.am (nat_source_files): Remove java/io/natObjectOutputStream.cc. * Makefile.in: Regenerated. * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests. * java/io/ObjectStreamField.java (typename): New field. (ObjectStreamField(String, Class)): Initialize new field. (ObjectStreamField(String, String)): New Constructor. (getTypeCode): Use new field. (getTypeString): Use new field. * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal ObjectStreamExceptions. Remember and reset old BlockDataMode. Handle reading of Proxy classes. Never drain(), just write TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions. (drain): Check writeDataAsBlocks before calling writeBlockDataHeader. (flush): Call flush(), not just drain(). (writeBoolean): Always use blockDataOutput. (writeByte): Likewise. (writeShort): Likewise. (writeChar): Likewise. (writeInt): Likewise. (writeLong): Likewise. (writeFloat): Likewise. (writeDouble): Likewise. (writeBytes): Likewise. (putfield (put(String,Object))): Throw IllegalArgumentException if field cannot be found. (putfield (write(ObjectOutput))): Remember old BlockDataMode. (writeArraySizeAndElements): Write byte[] in one go. (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise set BlockDataMode to false. (annotateProxyClass): New method. (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2 (getField): No longer native. (getMethod): Likewise. (setBlockDataMode): Always drain() on switch, return old mode. (static): New static code block. * java/io/natObjectOutputStream.cc: Removed. * java/io/ObjectInputStream.java (getField): No longer native. (getMethod): Likewise. (readObject): Remember and reset old BlockDataMode. Track whether object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and TC_LONGSTRING. (defaultReadObject): Set BlockDataMode to false during readFields. (resolveClass): Create new SecurityManager if necessary. Use Class.forName() if null ClassLoader found. (read(byte[],int,int): Copy remaining bytes to data before calling readNextBlock(). (readFields): Set and reset BlockDataMode on call_read_method. Catch NoSuchFieldErrors. (setBlockDataMode): Return old mode. (static): New static code block. * java/io/natObjectInputStream.cc (getField): Removed. (getMethod): Likewise. From-SVN: r63556
2002-10-13* mauve-libgcj: Enable Mauve tests that compile now.Mark Wielaard1-16/+5
From-SVN: r58100
2002-07-10reverted bogus checkinTom Tromey1-2/+0
From-SVN: r55367
2002-07-10configure: Rebuilt.Tom Tromey1-0/+2
* configure: Rebuilt. * configure.in: Use `test' after `&&'. From Chris Faylor. From-SVN: r55366
2002-07-08mauve-libgcj: Don't compile java.sql.Blob.BlobTest...Mark Wielaard1-0/+6
* mauve-libgcj: Don't compile java.sql.Blob.BlobTest, java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20, java.sql.DatabaseMetaData.TestJdbc20 From-SVN: r55333
2002-04-21re PR java/6391 (Constant float to int conversions don't use ↵Mark Wielaard1-0/+4
ieee_real_to_integer when compiled to byte-code) * mauve-libgcj: Don't run java.lang.ref tests since they are buggy. * libjava.mauve/xfail: Expect failures for PR java/6391 and libgcj/6389. From-SVN: r52577
2002-04-05mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode test.Mark Wielaard1-0/+6
* mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode test. * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest, FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests that depend on awt code and BufferedByteOutputStream.interrupt. From-SVN: r51893
2002-04-02mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to list of ↵Mark Wielaard1-0/+1
testsuite crashers. * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to list of testsuite crashers. From-SVN: r51753
2002-04-01mauve-libgcj: Add JDK1.3...Mark Wielaard1-26/+13
* mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests that can be compiled now and add testsuite crashers to ignore list. From-SVN: r51693
2001-08-24Field.java (toString): Use Method.appendClassName.Tom Tromey1-0/+1
* java/lang/reflect/Field.java (toString): Use Method.appendClassName. * java/lang/reflect/Constructor.java (toString): Use Method.appendClassName. * java/lang/reflect/Method.java: Reindented. (appendClassName): New method. (toString): Use it. * defineclass.cc (handleMethod ): Initialize `throws' field of method. (read_one_method_attribute): Handle Exceptions attribute. * java/lang/reflect/natMethod.cc (ClassClass): Removed. (ObjectClass): Removed. (getType): Compute `exception_types'. * java/lang/Class.h (struct _Jv_Method): Added `throws' field. From-SVN: r45153
2000-12-01mauve-libgcj: Turned on JDK1.2 and turned off tests for classes that aren't ↵Warren Levy1-4/+13
quite 1.2... * mauve-libgcj: Turned on JDK1.2 and turned off tests for classes that aren't quite 1.2 compatible yet. From-SVN: r37913
2000-07-27mauve-libgcj: Activated serialization tests.Warren Levy1-3/+3
* mauve-libgcj: Activated serialization tests. * gcj/field.h (getModifiers): Mask off unknown flags. * gnu/java/security/provider/SHA.java (munch): Reset buffer to 0 so spurious bits don't cause discrepancies. * java/io/ObjectOutputStream.java: Fixed typo in comment. * java/io/ObjectStreamClass.java: Fixed typos in comments. (lookup): Applied patch from Brian Jones <cbj@gnu.org> to optimize. (hasClassInitializer): Call getDeclaredMethod instead of getMethod. * java/lang/Throwable.java (serialVersionUID): New field. * java/lang/reflect/Modifier.java (ALL_FLAGS): Preserve STRICT if used. * java/lang/reflect/natConstructor.cc (getModifiers): Mask off unknown flags. * java/lang/reflect/natMethod.cc: Ditto. * java/security/Key.java (serialVersionUID): Removed field for now. * java/security/interfaces/DSAPrivateKey.java (serialVersionUID): Ditto. * java/security/interfaces/DSAPublicKey.java (serialVersionUID): Ditto. Serialization mods. From-SVN: r35302
2000-05-19Jumbo patch:Tom Tromey1-4/+4
* Imported beans and serialization * Updated IA-64 port * Miscellaneous bug fixes From-SVN: r34028
2000-04-11ObjectStreamException.java: New file.Warren Levy1-3/+3
* java/io/ObjectStreamException.java: New file. * java/io/OptionalDataException.java: New file. * java/io/StreamCorruptedException.java: New file. * java/math/BigDecimal.java: New file. * java/sql/CallableStatement.java: New file. * java/sql/Connection.java: New file. * java/sql/DataTruncation.java: New file. * java/sql/DatabaseMetaData.java: New file. * java/sql/Date.java: New file. * java/sql/Driver.java: New file. * java/sql/DriverManager.java: New file. * java/sql/DriverPropertyInfo.java: New file. * java/sql/PreparedStatement.java: New file. * java/sql/ResultSet.java: New file. * java/sql/ResultSetMetaData.java: New file. * java/sql/SQLException.java: New file. * java/sql/SQLWarning.java: New file. * java/sql/Statement.java: New file. * java/sql/Time.java: New file. * java/sql/Timestamp.java: New file. * java/sql/Types.java: New file. * Makefile.am: Added above new files. * Makefile.in: Rebuilt. * mauve-libgcj: Turned on java.math, java.sql and java.security tests. * java/net/MulticastSocket.java (MulticastSocket): Pass values a la DatagramSocket constructor instead of null. java.sql is JDK 1.1 Compliant From-SVN: r33077
2000-01-07* mauve-libgcj: Don't disable ClassTest.Tom Tromey1-2/+0
From-SVN: r31278
1999-12-21* mauve-libgcj: Added java.lang.reflect.Modifier.toString12.Tom Tromey1-0/+2
From-SVN: r31061
1999-07-25* mauve-libgcj: Disable Object Serialization tests.Anthony Green1-0/+3
From-SVN: r28235
1999-07-07mauve-libgcj: Explicitly enable formerly disabled java.text tests.Tom Tromey1-0/+3
* mauve-libgcj: Explicitly enable formerly disabled java.text tests. From-SVN: r27992
1999-07-07mauve-libgcj: Turn off ClassTest test.Tom Tromey1-6/+2
* mauve-libgcj: Turn off ClassTest test. Enable java.text tests again. From-SVN: r27990
1999-06-11* mauve-libgcj: Activated java.net Mauve tests.Warren Levy1-1/+0
From-SVN: r27487
1999-05-19* mauve-libgcj: Enable java.util.zip.Tom Tromey1-1/+0
From-SVN: r27025
1999-05-07mauve-libgcj: Don't omit Utf8Encoding or StringTest.Tom Tromey1-7/+6
* mauve-libgcj: Don't omit Utf8Encoding or StringTest. Comment out FieldPosition, ParsePosition, and SimpleDateFormat again (oops). From-SVN: r26827
1999-05-07mauve-libgcj: Test more from java.text.Tom Tromey1-6/+3
* mauve-libgcj: Test more from java.text. Don't mention 1.1 tests (we pick those up already). From-SVN: r26826
1999-04-30StringBuffer.java (ensureCapacity): Don't resize vector when shared.Tom Tromey1-2/+2
* java/lang/StringBuffer.java (ensureCapacity): Don't resize vector when shared. * java/util/Locale.java (Locale(String,String)): Implement in terms of 3-argument version; variant now defaults to empty string. (toString): Assume variant is not null. (equals): Assume all strings are not null. (Locale): Throw NullPointerException if any argument is null. * java/util/ResourceBundle.java (getBundle): Don't try the base name; now implicit in partialGetBundle call. (trySomeGetBundle): Search for parent bundles and call setParent as required. (partialGetBundle): Added `langStop' argument. Use `Locale.toString' to compute bundleName. (resource_cache): New static field. (partialGetBundle): Cache the returned resource bundle. Now synchronized. * gnu/gcj/text/LocaleData_en.java (contents): [collatorRule] Added missing `<'. * mauve-libgcj: Enable Collator and RuleBasedCollator. * java/text/natCollator.cc (decomposeCharacter): `base' now `const'. * Makefile.in: Rebuilt. * Makefile.am (ordinary_java_source_files): Added CollationElementIterator, CollationKey, Collator, RuleBasedCollator. (nat_source_files): Added natCollator.cc. * java/text/RuleBasedCollator.java (ceiNext): No longer static. (compare): Pass `this' to CollationElementIterator constructor. (getCollationElementIterator): Likewise. (ceiNext): Fix off-by-one error when finding initial substring. (next): Correctly mask off bits when computing return value. Fixed return values when one string is shorter than the other. * java/text/CollationElementIterator.java (collator): New field. (CollationElementIterator): Added collator argument. (next): Call ceiNext on collator object. From-SVN: r26707
1999-04-07mauve-libgcj: Omit java.text.Collator, java.text.RuleBasedCollator.Tom Tromey1-0/+2
* mauve-libgcj: Omit java.text.Collator, java.text.RuleBasedCollator. From-SVN: r26265
1999-04-07Initial revisionTom Tromey1-0/+27
From-SVN: r26264