test/tools/javac/limits/LongName.java
Print this page
rev 2218 : [mq]: first
*** 25,35 ****
* @test
* @bug 4309152
* @summary Compiler silently generates bytecode that exceeds VM limits
* @author gafter
*
! * @compile/fail LongName.java
*/
class LongName {
int
// note that the identifier on the following line is 65536
--- 25,35 ----
* @test
* @bug 4309152
* @summary Compiler silently generates bytecode that exceeds VM limits
* @author gafter
*
! * @compile/fail/ref=LongName.out -XDrawDiagnostics LongName.java
*/
class LongName {
int
// note that the identifier on the following line is 65536