FIX: Cannot Add Primitive Method or Variable to PackageLast reviewed: January 22, 1998Article ID: Q156917 |
The information in this article applies to:
SYMPTOMSWhen you use the ClassView context menu to add a method or variable to a source file that includes a package statement, it fails if the variable or return type of the method is a primitive type. Visual J++ displays a message box with an error similar to the following:
Invalid token found in "..."Where "..." is the signature of the variable or method that you attempted to add.
RESOLUTIONIn order to add a method or variable in this situation, you have to type it in directly, rather than using ClassView.
STATUSMicrosoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. This problem has been fixed in Visual J++ 1.1.
REFERENCESFor the latest Knowledge Base articles and other support information on Visual J++ and the SDK for Java, see the following page on the Microsoft Technical Support site:
http://support.microsoft.com/support/visualj/ http://support.microsoft.com/support/java/ Keywords : VJGenIss Technology : kbInetDev Version : 1.0 Platform : WINDOWS Issue type : kbbug Solution Type : kbfix |
================================================================================
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |