[kaffe] IncompatibleClassChangeError

Ito Kazumitsu kaz@maczuka.gcd.org
Sat Sep 27 17:33:02 2003


Hi,

Some of the regression test cases, SoTimeout, KaffeVerifyBug, Bean,
and MapTest, fail because of IncompatibleClassChangeError.

bash-2.05b$ java SoTimeout
java.lang.IncompatibleClassChangeError: java/net/SocketImpl.setOption
   at java.net.ServerSocket.setSoTimeout (ServerSocket.java:401)
   at SoTimeout.main (SoTimeout.java:51)
Failure:   Time out.
bash-2.05b$ java KaffeVerifyBug
java.lang.IncompatibleClassChangeError: java/net/SocketImpl.getOption
   at java.net.Socket.getLocalAddress (Socket.java:78)
   at java.net.Socket.isBound (Socket.java:1059)
   at java.net.Socket.connect (Socket.java:405)
   at java.net.Socket.connect (Socket.java:375)
   at java.net.Socket.<init> (Socket.java:292)
   at java.net.Socket.<init> (Socket.java:149)
   at KaffeVerifyBug.doit (KaffeVerifyBug.java:21)
   at KaffeVerifyBug.main (KaffeVerifyBug.java:9)
bash-2.05b$ java Bean
  Class: class Bean
  Method: public java.lang.String[] Bean.getArray()
  Method: public void Bean.setArray(int,java.lang.String)
  Method: public final void java.lang.Object.wait() throws java.lang.InterruptedException
  Method: public void Bean.setValue(java.lang.String)
  Method: public java.lang.String Bean.getValue()
  Method: public final void java.lang.Object.wait(long,int) throws java.lang.InterruptedException
  Method: public native int java.lang.Object.hashCode()
  Method: public final native java.lang.Class java.lang.Object.getClass()
  Method: public static void Bean.main(java.lang.String[])
  Method: public final native void java.lang.Object.notifyAll()
  Method: public final void java.lang.Object.wait(long) throws java.lang.InterruptedException
  Method: public java.lang.String Bean.getArray(int)
  Method: public java.lang.String java.lang.Object.toString()
  Method: public void Bean.setArray(java.lang.String[])
  Method: public final native void java.lang.Object.notify()
  Method: public boolean java.lang.Object.equals(java.lang.Object)
  Property: type class java.lang.Class, read public final native java.lang.Class java.lang.Object.getClass(), write <none>
  Editor: <unknown>
  Property: type class java.lang.String, read public java.lang.String Bean.getValue(), write public void Bean.setValue(java.lang.String)
java.lang.IncompatibleClassChangeError: java/beans/PropertyEditor.getClass
   at Bean.main (Bean.java:38)
bash-2.05b$ java MapTest
FAILURE: reproduce with these arguments: 30 1064708517339
java.lang.IncompatibleClassChangeError: java/util/Map.getClass
   at MapTest.checkMap (MapTest.java:51)
   at MapTest.main (MapTest.java:28)