/usr/lib/perl5/Inline/Java/JNI.pm is in libinline-java-perl 0.53-1build1.
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 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 | package Inline::Java::JNI ;
@Inline::Java::JNI::ISA = qw(DynaLoader) ;
use strict ;
$Inline::Java::JNI::VERSION = '0.53' ;
use DynaLoader ;
use Carp ;
use File::Basename ;
if ($^O eq 'solaris'){
load_lib('-lthread') ;
}
sub load_lib {
my $l = shift ;
my $lib = (DynaLoader::dl_findfile($l))[0] ;
if ((! $lib)||(! defined(DynaLoader::dl_load_file($lib, 0x01)))){
carp("Couldn't find or load $l.") ;
}
}
# A place to attach the Inline object that is currently in Java land
$Inline::Java::JNI::INLINE_HOOK = undef ;
eval {
Inline::Java::JNI->bootstrap($Inline::Java::JNI::VERSION) ;
} ;
if ($@){
croak "Can't load JNI module. Did you build it at install time?\nError: $@" ;
}
1 ;
|