BUG: JLCA incorrectly matches the automatic variable of type Byte (819601)
The information in this article applies to:
- Microsoft Visual C# .NET (2003)
- Microsoft Visual J++ 6.0
SYMPTOMSYou have a Microsoft Visual J++ project that contains a
variable of type byte as an argument for a method. When you use the Java Language
Conversion Assistant (JLCA) tool to convert you Visual J++ project to Microsoft
Visual C# .NET, JLCA converts variables of type byte to type sbyte (signed byte). When Automatic variables of type byte are assigned to other variables of type byte, JLCA converts the assignment in Visual C# .NET as follows:
- JLCA uses the ToSByteArray method of SupportClass to convert Automatic variables of type byte to type sbyte.
- JLCA uses the ToByteArray method of SupportClass to convert variables of type sbyte to variables of type byte.
Note JLCA creates the SupportClass class. This class is available in the converted Visual C# .NET
project.
STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are
listed at the beginning of this article.
REFERENCESFor more information about the Java Language Conversion
Assistant (JLCA) tool, visit the following Microsoft Web site:
Modification Type: | Minor | Last Reviewed: | 1/13/2006 |
---|
Keywords: | kbpending kbJava kbconvert kbbug KB819601 kbAudDeveloper |
---|
|