Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
PojavLauncherTeam
GitHub Repository: PojavLauncherTeam/mobile
Path: blob/master/test/hotspot/jtreg/vmTestbase/nsk/jdb/fields/fields001/fields001a.java
40955 views
1
/*
2
* Copyright (c) 2002, 2018, Oracle and/or its affiliates. All rights reserved.
3
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4
*
5
* This code is free software; you can redistribute it and/or modify it
6
* under the terms of the GNU General Public License version 2 only, as
7
* published by the Free Software Foundation.
8
*
9
* This code is distributed in the hope that it will be useful, but WITHOUT
10
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12
* version 2 for more details (a copy is included in the LICENSE file that
13
* accompanied this code).
14
*
15
* You should have received a copy of the GNU General Public License version
16
* 2 along with this work; if not, write to the Free Software Foundation,
17
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18
*
19
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20
* or visit www.oracle.com if you need additional information or have any
21
* questions.
22
*/
23
24
package nsk.jdb.fields.fields001;
25
26
import nsk.share.*;
27
import nsk.share.jpda.*;
28
import nsk.share.jdb.*;
29
30
import java.io.*;
31
32
/* This is debuggee aplication */
33
public class fields001a {
34
35
/* TEST DEPENDANT VARIABLES AND CONSTANTS */
36
static final String PACKAGE_NAME = "nsk.jdb.fields.fields001";
37
38
public static void main(String args[]) {
39
fields001a _fields001a = new fields001a();
40
System.exit(fields001.JCK_STATUS_BASE + _fields001a.runIt(args, System.out));
41
}
42
43
44
static void lastBreak () {}
45
46
public int runIt(String args[], PrintStream out) {
47
JdbArgumentHandler argumentHandler = new JdbArgumentHandler(args);
48
Log log = new Log(out, argumentHandler);
49
50
lastBreak();
51
52
log.display("Debuggee PASSED");
53
return fields001.PASSED;
54
}
55
56
static int i_st;
57
private int i_pv;
58
protected int i_pt;
59
public int i_pb;
60
final int i_fn = 0;;
61
transient int i_tr;
62
volatile int i_vl;
63
int [] i_a;
64
int [][] i_aa;
65
int [][][] i_aaa;
66
67
static Object o_st;
68
private Object o_pv;
69
protected Object o_pt;
70
public Object o_pb;
71
final Object o_fn = new Object();
72
transient Object o_tr;
73
volatile Object o_vl;
74
Object [] o_a;
75
Object [][] o_aa;
76
Object [][][] o_aaa;
77
78
class Inner {
79
private int ii_pv;
80
protected int ii_pt;
81
public int ii_pb;
82
final int ii_fn = 0;;
83
transient int ii_tr;
84
volatile int ii_vl;
85
int [] ii_a;
86
int [][] ii_aa;
87
int [][][] ii_aaa;
88
89
private Object oi_pv;
90
protected Object oi_pt;
91
public Object oi_pb;
92
final Object oi_fn = new Object();
93
transient Object oi_tr;
94
volatile Object oi_vl;
95
Object [] oi_a;
96
Object [][] oi_aa;
97
Object [][][] oi_aaa;
98
}
99
100
class Extender extends Inner {};
101
102
Inner inner;
103
Extender extender;
104
105
public fields001a() {
106
inner = new Inner();
107
extender = new Extender();
108
}
109
}
110
111