blob: 4cb7066753a8ff9577a38a86c5d91bcc99428a9a [file] [log] [blame]
/*
* Copyright (c) 2001, 2018, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
package nsk.jdi.TypeComponent.declaringType;
import nsk.share.*;
import nsk.share.jpda.*;
import nsk.share.jdi.*;
public class decltype006a {
public static void main (String argv[]) {
ArgumentHandler argHandler = new ArgumentHandler(argv);
Log log = new Log(System.err, argHandler);
IOPipe pipe = argHandler.createDebugeeIOPipe(log);
decltype006aOverridenClass overridenClass = new decltype006aOverridenClass();
decltype006aImplClass implClass = new decltype006aImplClass();
log.display("DEBUGEE> debugee started.");
pipe.println("ready");
String instruction = pipe.readln();
if (instruction.equals("quit")) {
log.display("DEBUGEE> \"quit\" signal recieved.");
log.display("DEBUGEE> completed succesfully.");
System.exit(95);
}
log.complain("DEBUGEE FAILURE> unexpected signal "
+ "(no \"quit\") - " + instruction);
log.complain("DEBUGEE FAILURE> TEST FAILED");
System.exit(97);
}
}
// User class and interface
class decltype006aClass {}
interface decltype006aInter {}
class decltype006aOverridenClass extends decltype006aMainClass {
// All methods are overriden from decltype006aMainClass
void Mv() {};
boolean Mz(boolean z) { return z; };
boolean[] Mz1(boolean z[]) { return z; };
boolean[][] Mz2(boolean z[][]) { return z; };
byte Mb(byte b) { return b; };
byte[] Mb1(byte b[]) { return b; };
byte[][] Mb2(byte b[][]) { return b; };
char Mc(char c) { return c; };
char[] Mc1(char c[]) { return c; };
char[][] Mc2(char c[][]) { return c; };
double Md(double d) { return d; };
double[] Md1(double d[]) { return d; };
double[][] Md2(double d[][]) { return d; };
float Mf(float f) { return f; };
float[] Mf1(float f[]) { return f; };
float[][] Mf2(float f[][]) { return f; };
int Mi(int i) { return i; };
int[] Mi1(int i[]) { return i; };
int[][] Mi2(int i[][]) { return i; };
long Ml(long l) { return l; };
long[] Ml1(long l[]) { return l; };
long[][] Ml2(long l[][]) { return l; };
short Mr(short r) { return r; };
short[] Mr1(short r[]) { return r; };
short[][] Mr2(short r[][]) { return r; };
native void MvN();
native long MlN(long l);
native long[] MlN1(long l[]);
native long[][] MlN2(long l[][]);
static void MvS() {};
static long MlS(long l) { return l; };
static long[] MlS1(long l[]) { return l; };
static long[][] MlS2(long l[][]) { return l; };
strictfp void MvI() {};
strictfp long MlI(long l) { return l; };
strictfp long[] MlI1(long l[]) { return l; };
strictfp long[][] MlI2(long l[][]) { return l; };
synchronized void MvY() {};
synchronized long MlY(long l) { return l; };
synchronized long[] MlY1(long l[]) { return l; };
synchronized long[][] MlY2(long l[][]) { return l; };
public void MvU() {};
public long MlU(long l) { return l; };
public long[] MlU1(long l[]) { return l; };
public long[][] MlU2(long l[][]) { return l; };
protected void MvR() {};
protected long MlR(long l) { return l; };
protected long[] MlR1(long l[]) { return l; };
protected long[][] MlR2(long l[][]) { return l; };
private void MvP() {};
private long MlP(long l) { return l; };
private long[] MlP1(long l[]) { return l; };
private long[][] MlP2(long l[][]) { return l; };
decltype006aClass MX(decltype006aClass X) { return X; };
decltype006aClass[] MX1(decltype006aClass X[]) { return X; };
decltype006aClass[][] MX2(decltype006aClass X[][]) { return X; };
Object MO(Object O) { return O; };
Object[] MO1(Object[] O) { return O; };
Object[][] MO2(Object[][] O) { return O; };
native Long MLN(Long L);
native Long[] MLN1(Long L[]);
native Long[][] MLN2(Long L[][]);
static Long MLS(Long L) { return L; };
static Long[] MLS1(Long L[]) { return L; };
static Long[][] MLS2(Long L[][]) { return L; };
strictfp Long MLI(Long L) { return L; };
strictfp Long[] MLI1(Long L[]) { return L; };
strictfp Long[][] MLI2(Long L[][]) { return L; };
synchronized Long MLY(Long L) { return L; };
synchronized Long[] MLY1(Long[] L) { return L; };
synchronized Long[][] MLY2(Long[][] L) { return L; };
public Long MLU(Long L) { return L; };
public Long[] MLU1(Long[] L) { return L; };
public Long[][] MLU2(Long[][] L) { return L; };
protected Long MLR(Long L) { return L; };
protected Long[] MLR1(Long[] L) { return L; };
protected Long[][] MLR2(Long[][] L) { return L; };
private Long MLP(Long L) { return L; };
private Long[] MLP1(Long[] L) { return L; };
private Long[][] MLP2(Long[][] L) { return L; };
decltype006aInter ME(decltype006aInter E) { return E; };
decltype006aInter[] ME1(decltype006aInter[] E) { return E; };
decltype006aInter[][] ME2(decltype006aInter[][] E) { return E; };
native decltype006aInter MEN(decltype006aInter E);
native decltype006aInter[] MEN1(decltype006aInter[] E);
native decltype006aInter[][] MEN2(decltype006aInter[][] E);
static decltype006aInter MES(decltype006aInter E) { return E; };
static decltype006aInter[] ME1S(decltype006aInter[] E) { return E; };
static decltype006aInter[][] ME2S(decltype006aInter[][] E) { return E; };
strictfp decltype006aInter MEI(decltype006aInter E) { return E; };
strictfp decltype006aInter[] MEI1(decltype006aInter[] E) { return E; };
strictfp decltype006aInter[][] MEI2(decltype006aInter[][] E) { return E; };
synchronized decltype006aInter MEY(decltype006aInter E) { return E; };
synchronized decltype006aInter[] MEY1(decltype006aInter[] E) { return E; };
synchronized decltype006aInter[][] MEY2(decltype006aInter[][] E) { return E; };
public decltype006aInter MEU(decltype006aInter E) { return E; };
public decltype006aInter[] MEU1(decltype006aInter[] E) { return E; };
public decltype006aInter[][] MEU2(decltype006aInter[][] E) { return E; };
protected decltype006aInter MER(decltype006aInter E) { return E; };
protected decltype006aInter[] MER1(decltype006aInter[] E) { return E; };
protected decltype006aInter[][] MER2(decltype006aInter[][] E) { return E; };
private decltype006aInter MEP(decltype006aInter E) { return E; };
private decltype006aInter[] MEP1(decltype006aInter[] E) { return E; };
private decltype006aInter[][] MEP2(decltype006aInter[][] E) { return E; };
}
class decltype006aMainClass {
void Mv() {};
boolean Mz(boolean z) { return z; };
boolean[] Mz1(boolean z[]) { return z; };
boolean[][] Mz2(boolean z[][]) { return z; };
byte Mb(byte b) { return b; };
byte[] Mb1(byte b[]) { return b; };
byte[][] Mb2(byte b[][]) { return b; };
char Mc(char c) { return c; };
char[] Mc1(char c[]) { return c; };
char[][] Mc2(char c[][]) { return c; };
double Md(double d) { return d; };
double[] Md1(double d[]) { return d; };
double[][] Md2(double d[][]) { return d; };
float Mf(float f) { return f; };
float[] Mf1(float f[]) { return f; };
float[][] Mf2(float f[][]) { return f; };
int Mi(int i) { return i; };
int[] Mi1(int i[]) { return i; };
int[][] Mi2(int i[][]) { return i; };
long Ml(long l) { return l; };
long[] Ml1(long l[]) { return l; };
long[][] Ml2(long l[][]) { return l; };
short Mr(short r) { return r; };
short[] Mr1(short r[]) { return r; };
short[][] Mr2(short r[][]) { return r; };
native void MvN();
native long MlN(long l);
native long[] MlN1(long l[]);
native long[][] MlN2(long l[][]);
static void MvS() {};
static long MlS(long l) { return l; };
static long[] MlS1(long l[]) { return l; };
static long[][] MlS2(long l[][]) { return l; };
strictfp void MvI() {};
strictfp long MlI(long l) { return l; };
strictfp long[] MlI1(long l[]) { return l; };
strictfp long[][] MlI2(long l[][]) { return l; };
synchronized void MvY() {};
synchronized long MlY(long l) { return l; };
synchronized long[] MlY1(long l[]) { return l; };
synchronized long[][] MlY2(long l[][]) { return l; };
public void MvU() {};
public long MlU(long l) { return l; };
public long[] MlU1(long l[]) { return l; };
public long[][] MlU2(long l[][]) { return l; };
protected void MvR() {};
protected long MlR(long l) { return l; };
protected long[] MlR1(long l[]) { return l; };
protected long[][] MlR2(long l[][]) { return l; };
private void MvP() {};
private long MlP(long l) { return l; };
private long[] MlP1(long l[]) { return l; };
private long[][] MlP2(long l[][]) { return l; };
decltype006aClass MX(decltype006aClass X) { return X; };
decltype006aClass[] MX1(decltype006aClass X[]) { return X; };
decltype006aClass[][] MX2(decltype006aClass X[][]) { return X; };
Object MO(Object O) { return O; };
Object[] MO1(Object[] O) { return O; };
Object[][] MO2(Object[][] O) { return O; };
native Long MLN(Long L);
native Long[] MLN1(Long L[]);
native Long[][] MLN2(Long L[][]);
static Long MLS(Long L) { return L; };
static Long[] MLS1(Long L[]) { return L; };
static Long[][] MLS2(Long L[][]) { return L; };
strictfp Long MLI(Long L) { return L; };
strictfp Long[] MLI1(Long L[]) { return L; };
strictfp Long[][] MLI2(Long L[][]) { return L; };
synchronized Long MLY(Long L) { return L; };
synchronized Long[] MLY1(Long[] L) { return L; };
synchronized Long[][] MLY2(Long[][] L) { return L; };
public Long MLU(Long L) { return L; };
public Long[] MLU1(Long[] L) { return L; };
public Long[][] MLU2(Long[][] L) { return L; };
protected Long MLR(Long L) { return L; };
protected Long[] MLR1(Long[] L) { return L; };
protected Long[][] MLR2(Long[][] L) { return L; };
private Long MLP(Long L) { return L; };
private Long[] MLP1(Long[] L) { return L; };
private Long[][] MLP2(Long[][] L) { return L; };
decltype006aInter ME(decltype006aInter E) { return E; };
decltype006aInter[] ME1(decltype006aInter[] E) { return E; };
decltype006aInter[][] ME2(decltype006aInter[][] E) { return E; };
native decltype006aInter MEN(decltype006aInter E);
native decltype006aInter[] MEN1(decltype006aInter[] E);
native decltype006aInter[][] MEN2(decltype006aInter[][] E);
static decltype006aInter MES(decltype006aInter E) { return E; };
static decltype006aInter[] ME1S(decltype006aInter[] E) { return E; };
static decltype006aInter[][] ME2S(decltype006aInter[][] E) { return E; };
strictfp decltype006aInter MEI(decltype006aInter E) { return E; };
strictfp decltype006aInter[] MEI1(decltype006aInter[] E) { return E; };
strictfp decltype006aInter[][] MEI2(decltype006aInter[][] E) { return E; };
synchronized decltype006aInter MEY(decltype006aInter E) { return E; };
synchronized decltype006aInter[] MEY1(decltype006aInter[] E) { return E; };
synchronized decltype006aInter[][] MEY2(decltype006aInter[][] E) { return E; };
public decltype006aInter MEU(decltype006aInter E) { return E; };
public decltype006aInter[] MEU1(decltype006aInter[] E) { return E; };
public decltype006aInter[][] MEU2(decltype006aInter[][] E) { return E; };
protected decltype006aInter MER(decltype006aInter E) { return E; };
protected decltype006aInter[] MER1(decltype006aInter[] E) { return E; };
protected decltype006aInter[][] MER2(decltype006aInter[][] E) { return E; };
private decltype006aInter MEP(decltype006aInter E) { return E; };
private decltype006aInter[] MEP1(decltype006aInter[] E) { return E; };
private decltype006aInter[][] MEP2(decltype006aInter[][] E) { return E; };
}
class decltype006aImplClass implements decltype006aOverridenInter {
public void Mv() {};
public boolean Mz(boolean z) { return !z; };
public boolean[] Mz1(boolean z[]) { return z; };
public boolean[][] Mz2(boolean z[][]) { return z; };
public byte Mb(byte b) { return b; };
public byte[] Mb1(byte b[]) { return b; };
public byte[][] Mb2(byte b[][]) { return b; };
public char Mc(char c) { return c; };
public char[] Mc1(char c[]) { return c; };
public char[][] Mc2(char c[][]) { return c; };
public double Md(double d) { return d; };
public double[] Md1(double d[]) { return d; };
public double[][] Md2(double d[][]) { return d; };
public float Mf(float f) { return f; };
public float[] Mf1(float f[]) { return f; };
public float[][] Mf2(float f[][]) { return f; };
public int Mi(int i) { return i; };
public int[] Mi1(int i[]) { return i; };
public int[][] Mi2(int i[][]) { return i; };
public long Ml(long l) { return l; };
public long[] Ml1(long l[]) { return l; };
public long[][] Ml2(long l[][]) { return l; };
public short Mr(short r) { return r; };
public short[] Mr1(short r[]) { return r; };
public short[][] Mr2(short r[][]) { return r; };
public void MvU() {};
public long MlU(long l) { return l; };
public long[] MlU1(long l[]) { return l; };
public long[][] MlU2(long l[][]) { return l; };
public decltype006aClass MX(decltype006aClass X) { return X; };
public decltype006aClass[] MX1(decltype006aClass X[]) { return X; };
public decltype006aClass[][] MX2(decltype006aClass X[][]) { return X; };
public Object MO(Object O) { return O; };
public Object[] MO1(Object[] O) { return O; };
public Object[][] MO2(Object[][] O) { return O; };
public Long MLU(Long L) { return L; };
public Long[] MLU1(Long[] L) { return L; };
public Long[][] MLU2(Long[][] L) { return L; };
public decltype006aInter ME(decltype006aInter E) { return E; };
public decltype006aInter[] ME1(decltype006aInter[] E) { return E; };
public decltype006aInter[][] ME2(decltype006aInter[][] E) { return E; };
public decltype006aInter MEU(decltype006aInter E) { return E; };
public decltype006aInter[] MEU1(decltype006aInter[] E) { return E; };
public decltype006aInter[][] MEU2(decltype006aInter[][] E) { return E; };
}
interface decltype006aOverridenInter extends decltype006aMainInter {
// All methods are overriden from decltype006aMainInter
void Mv();
boolean Mz(boolean z);
boolean[] Mz1(boolean z[]);
boolean[][] Mz2(boolean z[][]);
byte Mb(byte b);
byte[] Mb1(byte b[]);
byte[][] Mb2(byte b[][]);
char Mc(char c);
char[] Mc1(char c[]);
char[][] Mc2(char c[][]);
double Md(double d);
double[] Md1(double d[]);
double[][] Md2(double d[][]);
float Mf(float f);
float[] Mf1(float f[]);
float[][] Mf2(float f[][]);
int Mi(int i);
int[] Mi1(int i[]);
int[][] Mi2(int i[][]);
long Ml(long l);
long[] Ml1(long l[]);
long[][] Ml2(long l[][]);
short Mr(short r);
short[] Mr1(short r[]);
short[][] Mr2(short r[][]);
public void MvU();
public long MlU(long l);
public long[] MlU1(long l[]);
public long[][] MlU2(long l[][]);
decltype006aClass MX(decltype006aClass X);
decltype006aClass[] MX1(decltype006aClass X[]);
decltype006aClass[][] MX2(decltype006aClass X[][]);
Object MO(Object O);
Object[] MO1(Object[] O);
Object[][] MO2(Object[][] O);
public Long MLU(Long L);
public Long[] MLU1(Long[] L);
public Long[][] MLU2(Long[][] L);
decltype006aInter ME(decltype006aInter E);
decltype006aInter[] ME1(decltype006aInter[] E);
decltype006aInter[][] ME2(decltype006aInter[][] E);
public decltype006aInter MEU(decltype006aInter E);
public decltype006aInter[] MEU1(decltype006aInter[] E);
public decltype006aInter[][] MEU2(decltype006aInter[][] E);
}
interface decltype006aMainInter {
void Mv();
boolean Mz(boolean z);
boolean[] Mz1(boolean z[]);
boolean[][] Mz2(boolean z[][]);
byte Mb(byte b);
byte[] Mb1(byte b[]);
byte[][] Mb2(byte b[][]);
char Mc(char c);
char[] Mc1(char c[]);
char[][] Mc2(char c[][]);
double Md(double d);
double[] Md1(double d[]);
double[][] Md2(double d[][]);
float Mf(float f);
float[] Mf1(float f[]);
float[][] Mf2(float f[][]);
int Mi(int i);
int[] Mi1(int i[]);
int[][] Mi2(int i[][]);
long Ml(long l);
long[] Ml1(long l[]);
long[][] Ml2(long l[][]);
short Mr(short r);
short[] Mr1(short r[]);
short[][] Mr2(short r[][]);
public void MvU();
public long MlU(long l);
public long[] MlU1(long l[]);
public long[][] MlU2(long l[][]);
decltype006aClass MX(decltype006aClass X);
decltype006aClass[] MX1(decltype006aClass X[]);
decltype006aClass[][] MX2(decltype006aClass X[][]);
Object MO(Object O);
Object[] MO1(Object[] O);
Object[][] MO2(Object[][] O);
public Long MLU(Long L);
public Long[] MLU1(Long[] L);
public Long[][] MLU2(Long[][] L);
decltype006aInter ME(decltype006aInter E);
decltype006aInter[] ME1(decltype006aInter[] E);
decltype006aInter[][] ME2(decltype006aInter[][] E);
public decltype006aInter MEU(decltype006aInter E);
public decltype006aInter[] MEU1(decltype006aInter[] E);
public decltype006aInter[][] MEU2(decltype006aInter[][] E);
}