Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
PojavLauncherTeam
GitHub Repository: PojavLauncherTeam/mobile
Path: blob/master/test/hotspot/jtreg/vmTestbase/nsk/jdi/ConstantField/values001/TestDescription.java
41161 views
1
/*
2
* Copyright (c) 2018, 2020, 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
25
/*
26
* @test
27
*
28
* @summary converted from VM Testbase nsk/jdi/ConstantField/values001.
29
* VM Testbase keywords: [quick, jpda, jdi]
30
* VM Testbase readme:
31
* DESCRIPTION:
32
* Test checks up static fields of JDI interfaces according to
33
* specification of them:
34
* com.sun.jdi.ClassType
35
* INVOKE_SINGLE_THREADED = 1
36
* com.sun.jdi.ObjectReference
37
* INVOKE_NONVIRTUAL = 2
38
* INVOKE_SINGLE_THREADED = 1
39
* com.sun.jdi.ThreadReference
40
* THREAD_STATUS_MONITOR = 3
41
* THREAD_STATUS_NOT_STARTED = 5
42
* THREAD_STATUS_RUNNING = 1
43
* THREAD_STATUS_SLEEPING = 2
44
* THREAD_STATUS_UNKNOWN = -1
45
* THREAD_STATUS_WAIT = 4
46
* THREAD_STATUS_ZOMBIE = 0
47
* com.sun.jdi.VirtualMachine
48
* TRACE_ALL = 16777215
49
* TRACE_EVENTS = 4
50
* TRACE_NONE = 0
51
* TRACE_OBJREFS = 16
52
* TRACE_RECEIVES = 2
53
* TRACE_REFTYPES = 8
54
* TRACE_SENDS = 1
55
* com.sun.jdi.request.EventRequest
56
* SUSPEND_ALL = 2
57
* SUSPEND_EVENT_THREAD = 1
58
* SUSPEND_NONE = 0
59
* com.sun.jdi.request.StepRequest
60
* STEP_INTO = 1
61
* STEP_LINE = -2
62
* STEP_MIN = -1
63
* STEP_OUT = 3
64
* STEP_OVER = 2
65
* COMMENTS:
66
* This test is valid for jdk 1.4.1 or higher because of that
67
* there was no specifications for earlier versions.
68
*
69
* @library /vmTestbase
70
* /test/lib
71
* @run main/othervm nsk.jdi.ConstantField.values001
72
*/
73
74
75