classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

First Try Debug.


From: Alex Lau
Subject: First Try Debug.
Date: Mon, 24 Jun 2002 15:13:41 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; zh-TW; rv:1.0.0) Gecko/20020615 Debian/1.0.0-3

OK this is my first try... let me know what's right and what's wrong.

I ran my little script to test the java-bean test cases in mauve with
kissme, here is the debug.

<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
gnu.testlet.java.beans.Introspector.jdk11
----
PASS: gnu.testlet.java.beans.Introspector.jdk11: decapitalize (number 1)
PASS: gnu.testlet.java.beans.Introspector.jdk11: decapitalize (number 2)
PASS: gnu.testlet.java.beans.Introspector.jdk11: decapitalize (number 3)
PASS: gnu.testlet.java.beans.Introspector.jdk11: decapitalize (number 4)

error initialising class gnu/java/beans/info/ComponentBeanInfo,
exception object 0x40b96ac0, type java/lang/UnknownError
error initialising class gnu/java/beans/info/ComponentBeanInfo,
exception object 0x40b96ac0, type java/lang/UnknownError, wrapped
exception 0x40b96cb8
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

Look into the classpath code, I find out the
gnu.java.beans.info.ComponentBeanInfo
extends the java.beans.SimpleBeanInfo which implemented the interface
java.beans.BeanInfo. However, java.beans.SimpleBeanInfo is missing the
constructer
and gnu.java.beans.info.ComponentBeanInfo is calling super(). And real
question is
why would jikes pass that? is that Correct? that a class implement an
interface doesn't
need a constructer?

Alex




reply via email to

[Prev in Thread] Current Thread [Next in Thread]