The information in this article applies to:
SYMPTOMSWhen the simple name of the package that you are creating is the same name as the package prefix that contains the class you are importing, the following compile time error occurs: Where "XXX" is the package name that the user imported. WORKAROUNDYou can work around this error by using a different name for the package that you import, or you can change the name for the package that you are creating. 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 the updated Java Language Compiler (jvc) from the SDK for Java 2.01 and Service Patch 3 for Visual Studio. Both the compiler from the SDK for Java and the Service Patch 3 are needed to resolve the problem. MORE INFORMATIONSteps to Reproduce Behavior
REFERENCESFor more information on where to obtain Service Patch 3, see the following article in the Microsoft Knowledge Base: Q170365 INFO: Visual Studio 97 Service Packs - What, Where, and WhyThe SDK for Java can be found at http://www.microsoft.com/java/. For more information on Updating the Visual J++ 1.x compiler, please see the SDK for Java documentation and the following article in the Microsoft Knowledge Base: Q177165 INFO: Use New Java 1.1 Language Features with Visual J++ 1.1For 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/ Additional query words:
Keywords : kbtool kbGenInfo kbVJ |
Last Reviewed: November 8, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |