Name: bsC130419 Date: 06/21/2001
java version "1.4.0-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta-b65)
Java HotSpot(TM) Client VM (build 1.4.0-beta-b65, mixed mode)
Compiler does not accept single-type-import declaration using a simple name
A very simple example as follows:
import java.lang.Object; // acccepted no-problem
import Other; // rejected by 1.4 compiler
public class Fred
{
}
(Review ID: 127076)
======================================================================
- duplicates
-
JDK-4361575 Correct scoping and diagnostics for import declarations
-
- Closed
-