BUG: VJ 6.0 Crashes When Selecting Inherited Members Folder

ID: Q200517


The information in this article applies to:


SYMPTOMS

When you select an inherited members folder in the Class Outline window for a class that extends itself directly or indirectly, the integrated development environment (IDE) crashes.


RESOLUTION

Fix the following compiler error:

Class '<classname>' has a circular dependency" (J0106).
To do this, change the class definition so that it does not extend itself directly or indirectly.


STATUS

Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article.


MORE INFORMATION

Steps to Reproduce Behavior

  1. Create a new Visual J++ project (any project type).


  2. Add a class.


  3. Define the class so it extends itself.


  4. Go to the Class Outline window and open the inherited members folder.


RESULT: The IDE crashes with the following error:
Devenv.exe: Exception: stack overflow (0xc00000fd) Address: 0x77f1c759).
The following class illustrates the problem in this scenario:

  public class Class1 extends Class1
  {
    public static void main (String[] args)
    {
    }
  } 


REFERENCES

For the latest Knowledge Base articles and other support information on Visual J++ and the SDK for Java, please see the following pages on the Microsoft Technical Support site:

http://support.microsoft.com/support/visualj/

http://support.microsoft.com/support/java/

Additional query words:


Keywords          : kbide kbInternet kbVJ600bug kbGrpJava 
Version           : WINDOWS:6.0
Platform          : WINDOWS 
Issue type        : kbbug 

Last Reviewed: February 22, 1999