[libinline-java-perl] 346/398: fixed bug in abstract regexp
Jonas Smedegaard
dr at jones.dk
Thu Feb 26 11:43:21 UTC 2015
This is an automated email from the git hooks/post-receive script.
js pushed a commit to tag 0.55
in repository libinline-java-perl.
commit 95be6a4ca5b69136aeb7d830428e9d7ed9784f65
Author: patrick_leb <>
Date: Wed Aug 10 16:50:31 2005 +0000
fixed bug in abstract regexp
---
Java.pm | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/Java.pm b/Java.pm
index 087a5b1..e34f2ca 100644
--- a/Java.pm
+++ b/Java.pm
@@ -31,6 +31,7 @@ use Inline::Java::Portable ;
use Inline::Java::Class ;
use Inline::Java::Object ;
use Inline::Java::Array ;
+use Inline::Java::Handle ;
use Inline::Java::Protocol ;
use Inline::Java::Callback ;
# Must be last.
@@ -341,8 +342,8 @@ sub build {
$pcode =~ s/\"(.*?)\"//g ;
$pcode =~ s/\/\*(.*?)\*\///gs ;
$pcode =~ s/\/\/(.*)$//gm ;
- if ($pcode =~ /public\s+class\s+(\w+)/){
- $source = "$1.java" ;
+ if ($pcode =~ /public\s+(abstract\s+)?class\s+(\w+)/){
+ $source = "$2.java" ;
}
my $install_dir = File::Spec->catdir($o->get_api('install_lib'),
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libinline-java-perl.git
More information about the Pkg-perl-cvs-commits
mailing list