Path: blob/master/test/hotspot/jtreg/vmTestbase/nsk/jdi/ConstantField/values001/TestDescription.java
41161 views
/*1* Copyright (c) 2018, 2020, Oracle and/or its affiliates. All rights reserved.2* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.3*4* This code is free software; you can redistribute it and/or modify it5* under the terms of the GNU General Public License version 2 only, as6* published by the Free Software Foundation.7*8* This code is distributed in the hope that it will be useful, but WITHOUT9* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or10* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License11* version 2 for more details (a copy is included in the LICENSE file that12* accompanied this code).13*14* You should have received a copy of the GNU General Public License version15* 2 along with this work; if not, write to the Free Software Foundation,16* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.17*18* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA19* or visit www.oracle.com if you need additional information or have any20* questions.21*/222324/*25* @test26*27* @summary converted from VM Testbase nsk/jdi/ConstantField/values001.28* VM Testbase keywords: [quick, jpda, jdi]29* VM Testbase readme:30* DESCRIPTION:31* Test checks up static fields of JDI interfaces according to32* specification of them:33* com.sun.jdi.ClassType34* INVOKE_SINGLE_THREADED = 135* com.sun.jdi.ObjectReference36* INVOKE_NONVIRTUAL = 237* INVOKE_SINGLE_THREADED = 138* com.sun.jdi.ThreadReference39* THREAD_STATUS_MONITOR = 340* THREAD_STATUS_NOT_STARTED = 541* THREAD_STATUS_RUNNING = 142* THREAD_STATUS_SLEEPING = 243* THREAD_STATUS_UNKNOWN = -144* THREAD_STATUS_WAIT = 445* THREAD_STATUS_ZOMBIE = 046* com.sun.jdi.VirtualMachine47* TRACE_ALL = 1677721548* TRACE_EVENTS = 449* TRACE_NONE = 050* TRACE_OBJREFS = 1651* TRACE_RECEIVES = 252* TRACE_REFTYPES = 853* TRACE_SENDS = 154* com.sun.jdi.request.EventRequest55* SUSPEND_ALL = 256* SUSPEND_EVENT_THREAD = 157* SUSPEND_NONE = 058* com.sun.jdi.request.StepRequest59* STEP_INTO = 160* STEP_LINE = -261* STEP_MIN = -162* STEP_OUT = 363* STEP_OVER = 264* COMMENTS:65* This test is valid for jdk 1.4.1 or higher because of that66* there was no specifications for earlier versions.67*68* @library /vmTestbase69* /test/lib70* @run main/othervm nsk.jdi.ConstantField.values00171*/72737475