[libinline-java-perl] 224/398: ok
Jonas Smedegaard
dr at jones.dk
Thu Feb 26 11:43:06 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 803810a8ab7608eef0926e8f36df37fbf9e4100b
Author: patrick_leb <>
Date: Fri Apr 11 19:48:42 2003 +0000
ok
---
CHANGES | 20 ++++++++++++++------
Java.pm | 3 +++
Java/Portable.pm | 3 ++-
README | 21 +++++++++++++++++++++
t/no_const.class | Bin 231 -> 231 bytes
t/types.class | Bin 489 -> 15 bytes
6 files changed, 40 insertions(+), 7 deletions(-)
diff --git a/CHANGES b/CHANGES
index 1311383..c016d6b 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,20 +1,28 @@
Revision history for Perl extension Inline::Java
------------------------------------------------
-0.34
- - Patch by Doug MacEachern to allow running under servlet engines
- - Patch by John Kinsley for handling empty arrays
+0.40 Fri Apr 11 11:00:00 EST 2003
+ - Patch by Doug MacEachern to allow running under servlet engines.
+ - Patch by John Kinsley for handling empty arrays.
- Custom ClassLoader allows for better isolation of user code and
dynamic 'CLASSPATH' (multiple sections/clients are now totally
- independant)
+ independant).
+ - Core Java code is now compiled separately (at install time) instead
+ of with the user code (for each script). This dramatically improves
+ build time.
- Default port number changed to 0 (next available port number).
This allows many multiple users to run concurrently without
clashes.
Note: The default port on systems where this feature is not
available has remained 7890.
Note: The default port for SHARED_JVM mode it has remained 7890.
- - User code can now be a public class and (optionally) inside a package
- - Many bug fixes and documentation corrections
+ - User code can now be a public class and (optionally) inside a package.
+ - Callback classes have changed.
+ Note: These classes are now in the org.perl.inline.java package.
+ Note: PerlException has been renamed InlineJavaPerlException.
+ Note: If you presently use callbacks, your code may now no longer compile.
+ You will need to apply the changes listed above to fix it.
+ - Many bug fixes and documentation corrections.
0.33 Mon Jun 17 13:50:14 EDT 2002
- Improved and more flexible debug output
diff --git a/Java.pm b/Java.pm
index 8bcf454..2089375 100644
--- a/Java.pm
+++ b/Java.pm
@@ -452,6 +452,9 @@ sub _study {
if ($o->get_config('UNTAINT')){
($cwd) = $cwd =~ /(.*)/ ;
}
+
+ # We chdir to the install dir, that makes it easier to figure out
+ # the packages for the classes.
chdir($install_dir) ;
my @fl = Inline::Java::Portable::find_classes_in_dir('.') ;
chdir $cwd ;
diff --git a/Java/Portable.pm b/Java/Portable.pm
index e7fe654..322090d 100644
--- a/Java/Portable.pm
+++ b/Java/Portable.pm
@@ -107,7 +107,8 @@ sub find_classes_in_dir {
my $fdir = $File::Find::dir ;
my @dirs = File::Spec->splitdir($fdir) ;
# Remove '.'
- shift @dirs ;
+ shift @dirs ;
+ # Add an empty dir to get the last '.' (for '.class')
if ((! scalar(@dirs))||($dirs[-1] ne '')){
push @dirs, '' ;
}
diff --git a/README b/README
index 722d54f..88b9e6d 100644
--- a/README
+++ b/README
@@ -71,6 +71,27 @@ WARNING: THIS IS ALPHA SOFTWARE. It is incomplete and possibly unreliable.
change in future releases.
Inline::Java version 0.40 is a major upgrade that includes:
++ Patch by Doug MacEachern to allow running under servlet engines.
++ Patch by John Kinsley for handling empty arrays.
++ Custom ClassLoader allows for better isolation of user code and
+ dynamic 'CLASSPATH' (multiple sections/clients are now totally
+ independant).
++ Core Java code is now compiled separately (at install time) instead
+ of with the user code (for each script). This dramatically improves
+ build time.
++ Default port number changed to 0 (next available port number).
+ This allows many multiple users to run concurrently without
+ clashes.
+ Note: The default port on systems where this feature is not
+ available has remained 7890.
+ Note: The default port for SHARED_JVM mode it has remained 7890.
++ User code can now be a public class and (optionally) inside a package.
++ Callback classes have changed.
+ Note: These classes are now in the org.perl.inline.java package.
+ Note: PerlException has been renamed InlineJavaPerlException.
+ Note: If you presently use callbacks, your code may now no longer compile.
+ You will need to apply the changes listed above to fix it.
++ Many bug fixes and documentation corrections.
Inline::Java version 0.33 is a minor upgrade that includes:
+ Improved and more flexible debug output
diff --git a/t/no_const.class b/t/no_const.class
index 98ea5ef..79d98bc 100644
Binary files a/t/no_const.class and b/t/no_const.class differ
diff --git a/t/types.class b/t/types.class
index 918c408..fc9e393 100644
Binary files a/t/types.class and b/t/types.class differ
--
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