test/hotspot/jtreg/vmTestbase/nsk/jvmti/unit/GetLocalVariable/getlocal003.java
changeset 59223 f16e4154dd7b
parent 50260 46c67f5e27c2
equal deleted inserted replaced
59222:f4f60bb75ee4 59223:f16e4154dd7b
     1 /*
     1 /*
     2  * Copyright (c) 2003, 2018, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2003, 2019, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     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
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
   201     }
   201     }
   202 
   202 
   203     public double meth01() {
   203     public double meth01() {
   204         float f = 6.0f;
   204         float f = 6.0f;
   205         double d = 7.0;
   205         double d = 7.0;
       
   206         instMeth();
   206         return d + f;
   207         return d + f;
   207     }
   208     }
   208 
   209 
       
   210     native void instMeth();
   209     native static void getMeth();
   211     native static void getMeth();
   210     native static void checkLoc(Thread thr);
   212     native static void checkLoc(Thread thr);
   211     native static int getRes();
   213     native static int getRes();
   212 
   214 
   213     static {
   215     static {