test/hotspot/jtreg/runtime/clone/invokevirtual/HasLocalClone.jasm
changeset 53853 7ca9e625d6b2
parent 48463 474cec233fb2
child 54607 b6db97903b69
equal deleted inserted replaced
53851:cc4f5bf6b26b 53853:7ca9e625d6b2
     1 /*
     1 /*
     2  * Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2017, 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.
    26  * @test
    26  * @test
    27  * @bug 8154587
    27  * @bug 8154587
    28  * @summary Check that invokevirtual of clone() finds the clone() method that
    28  * @summary Check that invokevirtual of clone() finds the clone() method that
    29  *          is local to the calling class.
    29  *          is local to the calling class.
    30  * @compile DefMethClone.jasm SuperClass.jasm I1.java HasLocalClone.jasm
    30  * @compile DefMethClone.jasm SuperClass.jasm I1.java HasLocalClone.jasm
    31  * @run main/othervm -noverify HasLocalClone
    31  * @run main/othervm -XX:-BytecodeVerificationRemote -XX:-BytecodeVerificationLocal HasLocalClone
    32  */
    32  */
    33 
    33 
    34 // The below .jasm code implements the following java code:
    34 // The below .jasm code implements the following java code:
    35 //
    35 //
    36 // public class HasLocalClone extends SuperClass implements I1 {
    36 // public class HasLocalClone extends SuperClass implements I1 {