-
Bug
-
Resolution: Fixed
-
P3
-
1.1.2
-
None
-
1.2beta
-
x86
-
windows_nt
-
Not verified
From root@zebadee Thu Jul 10 00:59:36 1997
Date: Thu, 10 Jul 1997 01:00:07 -0700
From: root@zebadee (Super-User)
From: Joachim Trost <###@###.###>
BUG_SUBMIT_FORM
User: (internal)
Category: java
Subcategory: classes_beans
Bug/rfe/eou: bug
Synopsis: java.beans.Inspector is buggy inspecting Interfaces
Severity Impact: (internal)
Severity Functionality: (internal)
Priority: (internal)
Description: If you call the Constructor of java.beans.EventSetDescriptor
EventSetDescriptor(
Class sourceClass
,String eventSetName
,listenerType
,String listenerMethodNames[]
,String addListenerMethodName
,String removeListenerMethodName
)
this method calls the method java.beans.Introspector.findMethod
to get the Methods in listenerMethodNames[] of the interface listenerType.
This method should walks up the subinterface-superinterface tree do find inhereted methods. It only walks up the subcla
ss-superclass-path, which is empty when it inspects an interface.
This problem arises when your implement a tree of EventListener interfaces.
company - Inform Software AG , email - ###@###.###
Work around: Do the work by hand and use a less comfortable Constructor of
EventSetDescriptor.
Only possible if you have the sources.
Comments:
customer_rec: new
Company: other
Employee:Joachim Trost
Release: jdk112
Hardware Version: i586
O/S version: win_nt_4.0
User Role: D
User Type: E
Sun Contact: (internal)
end_customer_rec:
BUG_END
Date: Thu, 10 Jul 1997 01:00:07 -0700
From: root@zebadee (Super-User)
From: Joachim Trost <###@###.###>
BUG_SUBMIT_FORM
User: (internal)
Category: java
Subcategory: classes_beans
Bug/rfe/eou: bug
Synopsis: java.beans.Inspector is buggy inspecting Interfaces
Severity Impact: (internal)
Severity Functionality: (internal)
Priority: (internal)
Description: If you call the Constructor of java.beans.EventSetDescriptor
EventSetDescriptor(
Class sourceClass
,String eventSetName
,listenerType
,String listenerMethodNames[]
,String addListenerMethodName
,String removeListenerMethodName
)
this method calls the method java.beans.Introspector.findMethod
to get the Methods in listenerMethodNames[] of the interface listenerType.
This method should walks up the subinterface-superinterface tree do find inhereted methods. It only walks up the subcla
ss-superclass-path, which is empty when it inspects an interface.
This problem arises when your implement a tree of EventListener interfaces.
company - Inform Software AG , email - ###@###.###
Work around: Do the work by hand and use a less comfortable Constructor of
EventSetDescriptor.
Only possible if you have the sources.
Comments:
customer_rec: new
Company: other
Employee:Joachim Trost
Release: jdk112
Hardware Version: i586
O/S version: win_nt_4.0
User Role: D
User Type: E
Sun Contact: (internal)
end_customer_rec:
BUG_END