JDK-4030374 - Java Issue Tracker
Feb 5, 1997 ... ... code generation error in JDK 1.1.7B compiler. It appears that non ... For example, the following program would fail at runtime: <pre> ...
Feb 5, 1997 ... ... code generation error in JDK 1.1.7B compiler. It appears that non ... For example, the following program would fail at runtime: <pre> ...
Oracle Java is the #1 programming language and development platform. It reduces costs, shortens development timeframes, drives innovation, and improves application services.
GenericTest.java:6: error: array required, but CAP#1 found return foo.call()[0]Relevant spec text from 15.10.3 in JLS 8: "The type of the array reference expression must be an array type (call it T[], an array whose components are of type T), or a compile-time error occurs."
A DESCRIPTION OF THE PROBLEM : The Java language knows the language construct "array initializer", which makes specifying arrays with predetermined content in source code quite efficient.
An applet does not load, and the "Java Plug-in Control Panel" shows the following error: java.net.UnknownHostException: www.xxxxx.com at java.net.PlainSocketImpl.connect(Unknown Source). Or, you see an image that looks like a small white box with a Red X in it.