Restrictions of KaffePC

KaffePC now have following restrictions.



1. java.net package

1.1 Abstract

1.2 creation of an instance

Only non-abstract classes listed below can create the instance. Non-abstract classes listed below issue an exception at the creation of the instance.

1.3 Each class

InetAddress class
public String getHostName()
return "<unknown>" in the case of that specify IP address as hostname.
Socket class
public int getSoLinger()
public boolean getTcpNoDelay()
public void setSoLinger(boolean on, int timeout)
public void setTcpNoDelay(boolean on)
issue SocketException.
ServerSocket class
public ServerSocket(int port, int backlog)
public ServerSocket(int port, int backlog, InetAddress bindAddr)
backlog is always set to 1.
HttpURLConnection class
only support GET about request for HTTP protocol.
don't support a proxy.
URL class
support only http protocol and file protocol.

2. javax.comm package

2.1 Abstract

2.2 Each class

javax.comm.CommPort class
public void enableReceiveThreshold(int thresh)
public void enableReceiveFraming(int framingByte)
public void enableReceiveTimeout(int rcvTimeout)
issue UnsupportedCommOperationException.
public void setInputBufferSize(int size)
public void setOutputBufferSize(int size)
ignore the specification about the size of input and output buffer.
javax.comm.SerialPort class
public void setFlowControlMode(int flowcontrol)
issue UnsupportedCommOperationException.
javax.comm.CommPortIdentifier class
public synchronized CommPort open(String appname, int timeout)
the value of timeout argument is ignored.
public void addPortOwnershipListener(CommPortOwnershipListener listener)
public void removePortOwnershipListener(CommPortOwnershipListener listener)
issue kaffe.util.NotImplemented.
javax.comm.SerialPort class
public abstract void sendBreak(int millis)
public void setRcvFifoTrigger(int trigger)
public void setDTR(boolean dtr)
public boolean isDTR()
public void setRTS(boolean rts)
public boolean isRTS()
public boolean isCTS()
public boolean isDSR()
public boolean isRI()
public boolean isCD()
public void notifyOnOutputEmpty(boolean enable)
public void notifyOnCTS(boolean enable)
public void notifyOnDSR(boolean enable)
public void notifyOnRingIndicator(boolean enable)
public void notifyOnCarrierDetect(boolean enable)
public void notifyOnOverrunError(boolean enable)
public void notifyOnParityError(boolean enable)
public void notifyOnFramingError(boolean enable)
public void notifyOnBreakInterrupt(boolean enable)
issue kaffe.util.NotImplemented.

3. Others

java.lang.Process class
can't invoke child process.
java.lang.System class
Since System.out, System.err is opened in textmode, then it have following problems.
java.lang.Class class
allow to create the instance for the class that have private constructer due to call newInstance().
java.lang.Double, java.lang.Float class
toString() return fixed length string.
java.net.ServerSocket class
can create multiple ServerSocket for same port.
don't issue BindException.
java.io.ObjectInputStream class
issue kaffe.util.Notimpleted due to call following methods.
java.io.ObjectStreamClass class
don't have following method.
java.util.GregorianCalenar class
issue kaffe.util.Notimpleted due to call following methods.
java.text.BreakIterator class
can't ensure correctly behaviour.
java.text.ChoiceFormat class
can't ensure correctly behaviour about following method.
java.text.Collator class
can't create instance since the locale information not exist.
java.text.MessageFormat class
Following methods issue kaffe.util.Notimpleted.