DO NOT REPLY [Bug 10269] - Pass3b Verifier is corrupted

[email protected]
Newsgroups gmane.comp.jakarta.bcel.devel
Message-ID <[email protected]>
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10269>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10269

Pass3b Verifier is corrupted

[email protected] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|DUPLICATE                   |



------- Additional Comments From [email protected]  2002-07-05 00:29 -------
That's not the complete truth. The reason for this bug can be easily located.
Repository#getInterfaces
replace:
      if(clazz.isInterface())
	vec.addElement(clazz);
      else if(!s.equals("java.lang.Object"))
	queue.enqueue(lookupClass(s));
with:
      if(clazz.isInterface())
	vec.addElement(clazz);
      if(!s.equals("java.lang.Object"))
	queue.enqueue(lookupClass(s));

and everything will work fine.
The reason is simple if an interface extends another interface this interface 
is forgotten. As in the given example B extends C so C will not occure in the 
interface[] simply because B.superClass will not be added.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.