OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [testsuite/] [libjava.jni/] [pr18278.java] - Blame information for rev 790

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 765 jeremybenn
public class pr18278 {
2
    public pr18278() {}
3
 
4
    public static void main(String[] args) {
5
        System.loadLibrary("pr18278");
6
        String bob = "Bob";
7
        Object o = weakRef("Bob");
8
        System.out.println(o);
9
        System.out.println(bob == o);
10
    }
11
 
12
    static native Object weakRef(Object o);
13
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.