equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2015, 2016, 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. |
29 * @bug 4784641 |
29 * @bug 4784641 |
30 * @summary -Xcheck:jni overly strict in JNI method IsSameObject |
30 * @summary -Xcheck:jni overly strict in JNI method IsSameObject |
31 * Fixed in JDK1.3.1_10 |
31 * Fixed in JDK1.3.1_10 |
32 * Fixed in JDK1.4.1_07 |
32 * Fixed in JDK1.4.1_07 |
33 * @modules java.base/jdk.internal.misc |
33 * @modules java.base/jdk.internal.misc |
34 * @library /testlibrary |
34 * @library /test/lib |
35 * @run main/othervm/native -Xcheck:jni SameObject |
35 * @run main/othervm/native -Xcheck:jni SameObject |
36 */ |
36 */ |
37 public class SameObject { |
37 public class SameObject { |
38 |
38 |
39 public Object obj = new Object(); |
39 public Object obj = new Object(); |