Microsoft KB Archive/253137

From BetaArchive Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Article ID: 253137

Article Last Modified on 6/14/2006


  • Microsoft Visual J++ 6.0 Standard Edition

This article was previously published under Q253137


IntelliSense may not function within a try-catch block in Visual J++ 6.0.


Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.


Steps to Reproduce Behavior

  1. Create an empty project in Visual J++, and paste the following sample code:

    public class Class1 {
      public static void main (String[] args) {
        try {
          BufferedWriter aStream = new BufferedWriter(new FileWriter("C:\\Temp.txt"));
        } catch(FileNotFoundException err) {
        } catch (Exception err) {
          //err.    //IntelliSense does not show methods/properties of err.
  2. Uncomment the line of code in the second catch block. IntelliSense does not reveal the method or member variable prompts for "err" as expected.


For support information about Visual J++ and the SDK for Java, visit the following Microsoft Web site:

Keywords: kbbug kbnofix kbide KB253137