Microsoft SDK for Java

Microsoft Visual J++ Compiler

This release of the Microsoft compiler for Java (jvc) is compatible with the language enhancements specified in JDK 1.1. It supports new language features specified in JDK 1.1, including inner classes, anonymous classes, instance initializers, anonymous array expressions, class literals, blank finals and final locals, and the @deprecated tag.

It also supports delegates and additional @com tags for Java/COM integration. For more information see the Java/COM Attributes Reference.

To use these new language features with Microsoft® Visual J++®, you must replace three files in Visual J++ with their respective SDK versions:

  1. Back up the current Visual J++ versions of Jvc.exe, Jps.dll, and Msjvc.dll.

  2. Copy Jvc.exe, Jps.dll, and Msjvc.dll from %SDKDIR%\Bin to your Visual J++ directory. Projects will then build using the new compiler.

Due to more strict error and security checking in this release of jvc, some illegal code that compiled without errors using Visual J++ may now (correctly) fail to compile. One common cause is more careful checking of class member access across package boundaries. The Java Language Specification by Gosling, Joy, and Steele, discusses this in "Example: Protected Fields, Methods, and Constructors."

Here is an example of a typical error message for this type of code:

error J0204: Cannot access protected member 'x' in class 
'Point' via a qualifier of type 'Point3d'

This information is subject to change. For the latest information on Visual J++, see http://msdn.microsoft.com/visualj This link takes you to a site on microsoft.com.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.