BUG: Java Compiler Does Not Report Case Labels Out of Range
Article ID: 162108
Article Last Modified on 5/12/2007
APPLIES TO
- Microsoft Visual J++ 1.0 Standard Edition
- Microsoft Visual J++ 1.1 Standard Edition
This article was previously published under Q162108
SYMPTOMS
When using an integral type for a switch statement, the Microsoft Java
Compiler, Jvc.exe, does not report if a case label is out of range.
RESOLUTION
To work around this problem, you need to manually check that all integral
types are within range.
STATUS
Microsoft has confirmed this to be a problem in the Microsoft products
listed at the beginning of this article. We are researching this problem
and will post new information here in the Microsoft Knowledge Base as it
becomes available.
REFERENCES
For the support information on
Visual J++ and the SDK for Java, see the following pages on the Microsoft
Technical Support site:
Keywords: kbarttypeinf kbbug kbcommandline KB162108