test/langtools/tools/javac/InnerClassesAttribute/Outside.jasm
author darcy
Fri, 02 Feb 2018 10:29:25 -0800
changeset 48723 6cb86bf0b51e
parent 47216 71c04702a3d5
permissions -rw-r--r--
8196623: Update JavaBaseTest.java to be version agnostic Reviewed-by: vromero
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
34754
025d0b180221 8067379: Investigate and replace .class files in langtools/test with equivalent .jasm files
jjg
parents:
diff changeset
     1
/*
025d0b180221 8067379: Investigate and replace .class files in langtools/test with equivalent .jasm files
jjg
parents:
diff changeset
     2
 * Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
025d0b180221 8067379: Investigate and replace .class files in langtools/test with equivalent .jasm files
jjg
parents:
diff changeset
     3
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
025d0b180221 8067379: Investigate and replace .class files in langtools/test with equivalent .jasm files
jjg
parents:
diff changeset
     4
 *
025d0b180221 8067379: Investigate and replace .class files in langtools/test with equivalent .jasm files
jjg
parents:
diff changeset
     5
 * This code is free software; you can redistribute it and/or modify it
025d0b180221 8067379: Investigate and replace .class files in langtools/test with equivalent .jasm files
jjg
parents:
diff changeset
     6
 * under the terms of the GNU General Public License version 2 only, as
025d0b180221 8067379: Investigate and replace .class files in langtools/test with equivalent .jasm files
jjg
parents:
diff changeset
     7
 * published by the Free Software Foundation.
025d0b180221 8067379: Investigate and replace .class files in langtools/test with equivalent .jasm files
jjg
parents:
diff changeset
     8
 *
025d0b180221 8067379: Investigate and replace .class files in langtools/test with equivalent .jasm files
jjg
parents:
diff changeset
     9
 * This code is distributed in the hope that it will be useful, but WITHOUT
025d0b180221 8067379: Investigate and replace .class files in langtools/test with equivalent .jasm files
jjg
parents:
diff changeset
    10
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
025d0b180221 8067379: Investigate and replace .class files in langtools/test with equivalent .jasm files
jjg
parents:
diff changeset
    11
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
025d0b180221 8067379: Investigate and replace .class files in langtools/test with equivalent .jasm files
jjg
parents:
diff changeset
    12
 * version 2 for more details (a copy is included in the LICENSE file that
025d0b180221 8067379: Investigate and replace .class files in langtools/test with equivalent .jasm files
jjg
parents:
diff changeset
    13
 * accompanied this code).
025d0b180221 8067379: Investigate and replace .class files in langtools/test with equivalent .jasm files
jjg
parents:
diff changeset
    14
 *
025d0b180221 8067379: Investigate and replace .class files in langtools/test with equivalent .jasm files
jjg
parents:
diff changeset
    15
 * You should have received a copy of the GNU General Public License version
025d0b180221 8067379: Investigate and replace .class files in langtools/test with equivalent .jasm files
jjg
parents:
diff changeset
    16
 * 2 along with this work; if not, write to the Free Software Foundation,
025d0b180221 8067379: Investigate and replace .class files in langtools/test with equivalent .jasm files
jjg
parents:
diff changeset
    17
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
025d0b180221 8067379: Investigate and replace .class files in langtools/test with equivalent .jasm files
jjg
parents:
diff changeset
    18
 *
025d0b180221 8067379: Investigate and replace .class files in langtools/test with equivalent .jasm files
jjg
parents:
diff changeset
    19
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
025d0b180221 8067379: Investigate and replace .class files in langtools/test with equivalent .jasm files
jjg
parents:
diff changeset
    20
 * or visit www.oracle.com if you need additional information or have any
025d0b180221 8067379: Investigate and replace .class files in langtools/test with equivalent .jasm files
jjg
parents:
diff changeset
    21
 * questions.
025d0b180221 8067379: Investigate and replace .class files in langtools/test with equivalent .jasm files
jjg
parents:
diff changeset
    22
 */
025d0b180221 8067379: Investigate and replace .class files in langtools/test with equivalent .jasm files
jjg
parents:
diff changeset
    23
025d0b180221 8067379: Investigate and replace .class files in langtools/test with equivalent .jasm files
jjg
parents:
diff changeset
    24
super public class Outside
025d0b180221 8067379: Investigate and replace .class files in langtools/test with equivalent .jasm files
jjg
parents:
diff changeset
    25
	version 45:3
025d0b180221 8067379: Investigate and replace .class files in langtools/test with equivalent .jasm files
jjg
parents:
diff changeset
    26
{
025d0b180221 8067379: Investigate and replace .class files in langtools/test with equivalent .jasm files
jjg
parents:
diff changeset
    27
025d0b180221 8067379: Investigate and replace .class files in langtools/test with equivalent .jasm files
jjg
parents:
diff changeset
    28
public Method "<init>":"()V"
025d0b180221 8067379: Investigate and replace .class files in langtools/test with equivalent .jasm files
jjg
parents:
diff changeset
    29
	stack 1 locals 1
025d0b180221 8067379: Investigate and replace .class files in langtools/test with equivalent .jasm files
jjg
parents:
diff changeset
    30
{
025d0b180221 8067379: Investigate and replace .class files in langtools/test with equivalent .jasm files
jjg
parents:
diff changeset
    31
		aload_0;
025d0b180221 8067379: Investigate and replace .class files in langtools/test with equivalent .jasm files
jjg
parents:
diff changeset
    32
		invokespecial	Method java/lang/Object."<init>":"()V";
025d0b180221 8067379: Investigate and replace .class files in langtools/test with equivalent .jasm files
jjg
parents:
diff changeset
    33
		return;
025d0b180221 8067379: Investigate and replace .class files in langtools/test with equivalent .jasm files
jjg
parents:
diff changeset
    34
}
025d0b180221 8067379: Investigate and replace .class files in langtools/test with equivalent .jasm files
jjg
parents:
diff changeset
    35
025d0b180221 8067379: Investigate and replace .class files in langtools/test with equivalent .jasm files
jjg
parents:
diff changeset
    36
Method method:"()V"
025d0b180221 8067379: Investigate and replace .class files in langtools/test with equivalent .jasm files
jjg
parents:
diff changeset
    37
	stack 0 locals 1
025d0b180221 8067379: Investigate and replace .class files in langtools/test with equivalent .jasm files
jjg
parents:
diff changeset
    38
{
025d0b180221 8067379: Investigate and replace .class files in langtools/test with equivalent .jasm files
jjg
parents:
diff changeset
    39
		return;
025d0b180221 8067379: Investigate and replace .class files in langtools/test with equivalent .jasm files
jjg
parents:
diff changeset
    40
}
025d0b180221 8067379: Investigate and replace .class files in langtools/test with equivalent .jasm files
jjg
parents:
diff changeset
    41
025d0b180221 8067379: Investigate and replace .class files in langtools/test with equivalent .jasm files
jjg
parents:
diff changeset
    42
private InnerClass Inside=class Outside$1$Inside;
025d0b180221 8067379: Investigate and replace .class files in langtools/test with equivalent .jasm files
jjg
parents:
diff changeset
    43
025d0b180221 8067379: Investigate and replace .class files in langtools/test with equivalent .jasm files
jjg
parents:
diff changeset
    44
}