/usr/share/doc/libffi-platypus-perl/examples/java/Example.java is in libffi-platypus-perl 0.45-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | // On Linux build .so with
// % gcj -fPIC -shared -o libexample.so Example.java
public class Example
{
public static void print_hello()
{
System.out.println("hello world");
}
public static int add(int a, int b)
{
return a + b;
}
}
|