Imported GNU Classpath 0.90
Imported GNU Classpath 0.90
* scripts/makemake.tcl: Set gnu/java/awt/peer/swing to ignore.
* gnu/classpath/jdwp/VMFrame.java (SIZE): New constant.
* java/lang/VMCompiler.java: Use gnu.java.security.hash.MD5.
* java/lang/Math.java: New override file.
* java/lang/Character.java: Merged from Classpath.
(start, end): Now 'int's.
(canonicalName): New field.
(CANONICAL_NAME, NO_SPACES_NAME, CONSTANT_NAME): New constants.
(UnicodeBlock): Added argument.
(of): New overload.
(forName): New method.
Updated unicode blocks.
(sets): Updated.
* sources.am: Regenerated.
* Makefile.in: Likewise.
From-SVN: r111942
This commit is contained in:
@@ -42,6 +42,8 @@ package java.nio;
|
||||
*/
|
||||
public class BufferOverflowException extends RuntimeException
|
||||
{
|
||||
private static final long serialVersionUID = - 5484897634319144535L;
|
||||
|
||||
/**
|
||||
* Creates the exception
|
||||
*/
|
||||
|
||||
@@ -42,6 +42,8 @@ package java.nio;
|
||||
*/
|
||||
public class BufferUnderflowException extends RuntimeException
|
||||
{
|
||||
private static final long serialVersionUID = - 1713313658691622206L;
|
||||
|
||||
/**
|
||||
* Creates the exception
|
||||
*/
|
||||
|
||||
@@ -43,6 +43,8 @@ package java.nio;
|
||||
*/
|
||||
public class InvalidMarkException extends IllegalStateException
|
||||
{
|
||||
private static final long serialVersionUID = 1698329710438510774L;
|
||||
|
||||
/**
|
||||
* Creates the exception
|
||||
*/
|
||||
|
||||
@@ -43,6 +43,8 @@ package java.nio;
|
||||
*/
|
||||
public class ReadOnlyBufferException extends UnsupportedOperationException
|
||||
{
|
||||
private static final long serialVersionUID = - 1210063976496234090L;
|
||||
|
||||
/**
|
||||
* Creates the exception
|
||||
*/
|
||||
|
||||
@@ -39,6 +39,8 @@ package java.nio.channels;
|
||||
|
||||
public class AlreadyConnectedException extends IllegalStateException
|
||||
{
|
||||
private static final long serialVersionUID = - 7331895245053773357L;
|
||||
|
||||
/**
|
||||
* Creates the exception
|
||||
*/
|
||||
|
||||
@@ -44,6 +44,8 @@ package java.nio.channels;
|
||||
*/
|
||||
public class AsynchronousCloseException extends ClosedChannelException
|
||||
{
|
||||
private static final long serialVersionUID = 6891178312432313966L;
|
||||
|
||||
/**
|
||||
* Creates the exception
|
||||
*/
|
||||
|
||||
@@ -44,6 +44,8 @@ package java.nio.channels;
|
||||
*/
|
||||
public class CancelledKeyException extends IllegalStateException
|
||||
{
|
||||
private static final long serialVersionUID = - 8438032138028814268L;
|
||||
|
||||
/**
|
||||
* Creates the exception
|
||||
*/
|
||||
|
||||
@@ -49,6 +49,7 @@ import java.io.Writer;
|
||||
import java.nio.charset.Charset;
|
||||
import java.nio.charset.CharsetDecoder;
|
||||
import java.nio.charset.CharsetEncoder;
|
||||
import java.nio.charset.UnsupportedCharsetException;
|
||||
|
||||
|
||||
/**
|
||||
|
||||
@@ -44,6 +44,8 @@ package java.nio.channels;
|
||||
*/
|
||||
public class ClosedByInterruptException extends AsynchronousCloseException
|
||||
{
|
||||
private static final long serialVersionUID = - 4488191543534286750L;
|
||||
|
||||
/**
|
||||
* Creates the exception
|
||||
*/
|
||||
|
||||
@@ -46,6 +46,8 @@ import java.io.IOException;
|
||||
*/
|
||||
public class ClosedChannelException extends IOException
|
||||
{
|
||||
private static final long serialVersionUID = 882777185433553857L;
|
||||
|
||||
/**
|
||||
* Creates the exception
|
||||
*/
|
||||
|
||||
@@ -44,6 +44,8 @@ package java.nio.channels;
|
||||
*/
|
||||
public class ClosedSelectorException extends IllegalStateException
|
||||
{
|
||||
private static final long serialVersionUID = 6466297122317847835L;
|
||||
|
||||
/**
|
||||
* Creates the exception
|
||||
*/
|
||||
|
||||
@@ -44,6 +44,8 @@ package java.nio.channels;
|
||||
*/
|
||||
public class ConnectionPendingException extends IllegalStateException
|
||||
{
|
||||
private static final long serialVersionUID = 2008393366501760879L;
|
||||
|
||||
/**
|
||||
* Creates the exception
|
||||
*/
|
||||
|
||||
@@ -124,7 +124,6 @@ public abstract class DatagramChannel extends AbstractSelectableChannel
|
||||
/**
|
||||
* Tells whether or not this channel's socket is connected.
|
||||
*
|
||||
* @exception IOException If an error occurs.
|
||||
* @exception NotYetConnectedException The channel's socket is not connected.
|
||||
*/
|
||||
public abstract boolean isConnected();
|
||||
@@ -200,7 +199,6 @@ public abstract class DatagramChannel extends AbstractSelectableChannel
|
||||
/**
|
||||
* Retrieves the valid operations for this channel.
|
||||
*
|
||||
* @exception IOException If an error occurs.
|
||||
* @exception NotYetConnectedException The channel's socket is not connected.
|
||||
*/
|
||||
public final int validOps()
|
||||
|
||||
@@ -219,7 +219,7 @@ public abstract class FileChannel extends AbstractInterruptibleChannel
|
||||
public abstract void force(boolean metaData) throws IOException;
|
||||
|
||||
/**
|
||||
* Creates a file lock for the whole assoziated file.
|
||||
* Creates a file lock for the whole associated file.
|
||||
*
|
||||
* @exception AsynchronousCloseException If another thread closes this channel
|
||||
* while the transfer is in progress.
|
||||
@@ -242,7 +242,7 @@ public abstract class FileChannel extends AbstractInterruptibleChannel
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a file lock for a region of the assoziated file.
|
||||
* Creates a file lock for a region of the associated file.
|
||||
*
|
||||
* @exception AsynchronousCloseException If another thread closes this channel
|
||||
* while the transfer is in progress.
|
||||
@@ -265,7 +265,7 @@ public abstract class FileChannel extends AbstractInterruptibleChannel
|
||||
throws IOException;
|
||||
|
||||
/**
|
||||
* Tries to aqquire alock on the whole assoziated file.
|
||||
* Tries to aqquire alock on the whole associated file.
|
||||
*
|
||||
* @exception ClosedChannelException If this channel is closed.
|
||||
* @exception IOException If an I/O error occurs.
|
||||
@@ -280,7 +280,7 @@ public abstract class FileChannel extends AbstractInterruptibleChannel
|
||||
}
|
||||
|
||||
/**
|
||||
* Tries to aqquire a lock on a region of the assoziated file.
|
||||
* Tries to aqquire a lock on a region of the associated file.
|
||||
*
|
||||
* @exception ClosedChannelException If this channel is closed.
|
||||
* @exception IllegalArgumentException If the preconditions on the parameters
|
||||
|
||||
@@ -46,6 +46,8 @@ import java.io.IOException;
|
||||
*/
|
||||
public class FileLockInterruptionException extends IOException
|
||||
{
|
||||
private static final long serialVersionUID = 7104080643653532383L;
|
||||
|
||||
/**
|
||||
* Creates the exception
|
||||
*/
|
||||
|
||||
@@ -47,6 +47,8 @@ package java.nio.channels;
|
||||
*/
|
||||
public class IllegalBlockingModeException extends IllegalStateException
|
||||
{
|
||||
private static final long serialVersionUID = - 3335774961855590474L;
|
||||
|
||||
/**
|
||||
* Creates the exception
|
||||
*/
|
||||
|
||||
@@ -44,6 +44,8 @@ package java.nio.channels;
|
||||
*/
|
||||
public class IllegalSelectorException extends IllegalArgumentException
|
||||
{
|
||||
private static final long serialVersionUID = - 8406323347253320987L;
|
||||
|
||||
/**
|
||||
* Creates the exception
|
||||
*/
|
||||
|
||||
@@ -44,6 +44,8 @@ package java.nio.channels;
|
||||
*/
|
||||
public class NoConnectionPendingException extends IllegalStateException
|
||||
{
|
||||
private static final long serialVersionUID = - 8296561183633134743L;
|
||||
|
||||
/**
|
||||
* Creates the exception
|
||||
*/
|
||||
|
||||
@@ -44,6 +44,8 @@ package java.nio.channels;
|
||||
*/
|
||||
public class NonReadableChannelException extends IllegalStateException
|
||||
{
|
||||
private static final long serialVersionUID = - 3200915679294993514L;
|
||||
|
||||
/**
|
||||
* Creates the exception
|
||||
*/
|
||||
|
||||
@@ -44,6 +44,8 @@ package java.nio.channels;
|
||||
*/
|
||||
public class NonWritableChannelException extends IllegalStateException
|
||||
{
|
||||
private static final long serialVersionUID = - 7071230488279011621L;
|
||||
|
||||
/**
|
||||
* Creates the exception
|
||||
*/
|
||||
|
||||
@@ -44,6 +44,8 @@ package java.nio.channels;
|
||||
*/
|
||||
public class NotYetBoundException extends IllegalStateException
|
||||
{
|
||||
private static final long serialVersionUID = 4640999303950202242L;
|
||||
|
||||
/**
|
||||
* Creates the exception
|
||||
*/
|
||||
|
||||
@@ -44,6 +44,8 @@ package java.nio.channels;
|
||||
*/
|
||||
public class NotYetConnectedException extends IllegalStateException
|
||||
{
|
||||
private static final long serialVersionUID = 4697316551909513464L;
|
||||
|
||||
/**
|
||||
* Creates the exception
|
||||
*/
|
||||
|
||||
@@ -44,6 +44,8 @@ package java.nio.channels;
|
||||
*/
|
||||
public class OverlappingFileLockException extends IllegalStateException
|
||||
{
|
||||
private static final long serialVersionUID = 2047812138163068433L;
|
||||
|
||||
/**
|
||||
* Creates the exception
|
||||
*/
|
||||
|
||||
@@ -44,6 +44,8 @@ package java.nio.channels;
|
||||
*/
|
||||
public class UnresolvedAddressException extends IllegalArgumentException
|
||||
{
|
||||
private static final long serialVersionUID = 6136959093620794148L;
|
||||
|
||||
/**
|
||||
* Creates the exception
|
||||
*/
|
||||
|
||||
@@ -44,6 +44,8 @@ package java.nio.channels;
|
||||
*/
|
||||
public class UnsupportedAddressTypeException extends IllegalArgumentException
|
||||
{
|
||||
private static final long serialVersionUID = - 2964323842829700493L;
|
||||
|
||||
/**
|
||||
* Creates the exception
|
||||
*/
|
||||
|
||||
@@ -40,6 +40,7 @@ package java.nio.channels.spi;
|
||||
import java.io.IOException;
|
||||
import java.nio.channels.AsynchronousCloseException;
|
||||
import java.nio.channels.Channel;
|
||||
import java.nio.channels.ClosedByInterruptException;
|
||||
import java.nio.channels.InterruptibleChannel;
|
||||
|
||||
|
||||
@@ -86,7 +87,6 @@ public abstract class AbstractInterruptibleChannel
|
||||
* @param completed true if the task completed successfully,
|
||||
* false otherwise
|
||||
*
|
||||
* @exception IOException if an error occurs
|
||||
* @exception AsynchronousCloseException If the channel was asynchronously
|
||||
* closed.
|
||||
* @exception ClosedByInterruptException If the thread blocked in the
|
||||
|
||||
@@ -44,6 +44,8 @@ import java.io.IOException;
|
||||
*/
|
||||
public class CharacterCodingException extends IOException
|
||||
{
|
||||
private static final long serialVersionUID = 8421532232154627783L;
|
||||
|
||||
/**
|
||||
* Creates the exception
|
||||
*/
|
||||
|
||||
@@ -42,6 +42,8 @@ package java.nio.charset;
|
||||
*/
|
||||
public class CoderMalfunctionError extends Error
|
||||
{
|
||||
private static final long serialVersionUID = - 1151412348057794301L;
|
||||
|
||||
/**
|
||||
* Creates the error
|
||||
*/
|
||||
|
||||
@@ -42,6 +42,8 @@ package java.nio.charset;
|
||||
*/
|
||||
public class MalformedInputException extends CharacterCodingException
|
||||
{
|
||||
private static final long serialVersionUID = - 3438823399834806194L;
|
||||
|
||||
private int inputLength;
|
||||
|
||||
/**
|
||||
|
||||
@@ -42,6 +42,8 @@ package java.nio.charset;
|
||||
*/
|
||||
public class UnmappableCharacterException extends CharacterCodingException
|
||||
{
|
||||
private static final long serialVersionUID = - 7026962371537706123L;
|
||||
|
||||
private int inputLength;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user