[libinline-java-perl] 277/398: 0.45 release
Jonas Smedegaard
dr at jones.dk
Thu Feb 26 11:43:14 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 e42e7c46339aa58b8a4ddc3bbd47cd5aa7ccd027
Author: patrick_leb <>
Date: Fri Jan 30 22:48:41 2004 +0000
0.45 release
---
CHANGES | 9 +++++----
Java/JVM.pm | 10 ++++++----
Java/Makefile.PL | 6 ++++++
Java/Portable.pm | 2 ++
MANIFEST | 4 ++--
README | 3 ++-
README.JNI | 47 +++++++++++++----------------------------------
7 files changed, 36 insertions(+), 45 deletions(-)
diff --git a/CHANGES b/CHANGES
index 6372803..46664bb 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,17 +1,18 @@
Revision history for Perl extension Inline::Java
------------------------------------------------
-0.45 Mon Jan 19 20:00:00 EST 2004
+0.45 Fri Jan 30 20:00:00 EST 2004
- Fixed Makefile.PL arguments that were getting lost
- Fixed deprecated require call
- - Fixed support for symbolic links in J2SDK directory
- - Added new experimental feature: PerlNatives
+ - Fixed support for symbolic links in J2SDK directory
+ - Basic support for J2SDK 1.5
+ - Added new experimental feature: PerlNatives
0.44 Sun Nov 23 15:47:06 EST 2003
- Callbacks from multiple threads are now supported
- Refactored (again...) studying/.jdat/cache stuff
- Added PRIVATE mode for use with SHARED_JVM
- Added DEBUGGER mode that launches jdb
- - Fixed memory leak in JNI coded (patch submitted by Dave Blob)
+ - Fixed memory leak in JNI code (patch submitted by Dave Blob)
0.43 Tue Oct 14 13:18:25 EDT 2003
- Restored $VERSION in each .pm file
diff --git a/Java/JVM.pm b/Java/JVM.pm
index 8688017..bb23e9b 100644
--- a/Java/JVM.pm
+++ b/Java/JVM.pm
@@ -209,10 +209,12 @@ sub shutdown {
# Here we go ahead and send the signals anyway to be very
# sure it's dead...
# Always be polite first, and then insist.
- Inline::Java::debug(1, "Sending 15 signal to JVM...") ;
- kill(15, $this->{pid}) ;
- Inline::Java::debug(1, "Sending 9 signal to JVM...") ;
- kill(9, $this->{pid}) ;
+ if (Inline::Java::Portable::portable('GOT_SAFE_SIGNALS')){
+ Inline::Java::debug(1, "Sending 15 signal to JVM...") ;
+ kill(15, $this->{pid}) ;
+ Inline::Java::debug(1, "Sending 9 signal to JVM...") ;
+ kill(9, $this->{pid}) ;
+ }
# Reap the child...
waitpid($this->{pid}, 0) ;
diff --git a/Java/Makefile.PL b/Java/Makefile.PL
index 799f9dc..79e83b0 100644
--- a/Java/Makefile.PL
+++ b/Java/Makefile.PL
@@ -194,6 +194,12 @@ sub CleanSoDirs {
elsif ($d =~ /javaws/){
delete $so_dirs{$d} ;
}
+ elsif ($d =~ /headless/){
+ delete $so_dirs{$d} ;
+ }
+ elsif ($d =~ /xawt/){
+ delete $so_dirs{$d} ;
+ }
elsif ($d =~ /_threads/){
if ($d !~ /native_threads/){
delete $so_dirs{$d} ;
diff --git a/Java/Portable.pm b/Java/Portable.pm
index 27e98be..89cf4b9 100644
--- a/Java/Portable.pm
+++ b/Java/Portable.pm
@@ -141,6 +141,7 @@ sub portable {
GOT_FORK => $Config{d_fork} || 0,
GOT_NEXT_FREE_PORT => 1,
GOT_SYMLINK => 1,
+ GOT_SAFE_SIGNALS => 1,
ENV_VAR_PATH_SEP => $Config{path_sep},
SO_EXT => $Config{dlext},
PREFIX => $Config{prefix},
@@ -173,6 +174,7 @@ sub portable {
JVM_SO => 'jvm.dll',
GOT_NEXT_FREE_PORT => 0,
GOT_SYMLINK => 0,
+ GOT_SAFE_SIGNALS => 0,
SUB_FIX_CMD_QUOTES => ($COMMAND_COM ? undef : sub {
my $val = shift ;
$val = qq{"$val"} ;
diff --git a/MANIFEST b/MANIFEST
index d5fe4b5..e456382 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -53,8 +53,8 @@ t/10_4_shared_stop.t
t/10_5_shared_fork.t
t/10_6_shared_sim.t
t/11_exceptions.t
-t/12_callbacks.t
-t/12_1_perl_natives.t
+t/12_1_callbacks.t
+t/12_2_perl_natives.t
t/13_end.t
t/types.java
t/types.class
diff --git a/README b/README
index 7d0c0d5..0dbbc71 100644
--- a/README
+++ b/README
@@ -70,6 +70,7 @@ Inline::Java version 0.45 is a major upgrade that includes:
+ Fixed Makefile.PL arguments that were getting lost
+ Fixed deprecated require call
+ Fixed support for symbolic links in J2SDK directory
++ Basic support for J2SDK 1.5
+ Added new experimental feature: PerlNatives
Inline::Java version 0.44 is a major upgrade that includes:
@@ -77,7 +78,7 @@ Inline::Java version 0.44 is a major upgrade that includes:
+ Refactored (again...) studying/.jdat/cache stuff
+ Added PRIVATE mode for use with SHARED_JVM
+ Added DEBUGGER mode that launches jdb
-+ Fixed memory leak in JNI coded (patch submitted by Dave Blob)
++ Fixed memory leak in JNI code (patch submitted by Dave Blob)
Inline::Java version 0.43 is a minor upgrade that includes:
+ Restored $VERSION in each .pm file
diff --git a/README.JNI b/README.JNI
index fcd2061..cb4e1ea 100644
--- a/README.JNI
+++ b/README.JNI
@@ -30,23 +30,23 @@ objects cannot be located at runtime.
OVERVIEW
--------
- +----------+----------+----------+
- | JDK1.2.2 | JDK1.3.1 | JDK1.4.2 |
-+-------------+----------+----------+----------+
-| Win32 | ok | ok | ok |
-+-------------+----------+----------+----------+
-| Linux RH7.1 | not ok* | ok* | ok* |
-+-------------+----------+----------+----------+
-| Soloris 2.8 | ok* | ok* | ? |
-+-------------+----------+----------+----------+
-*: Read below
+ +----------+------------+------------+
+ | JDK1.3.1 | J2SDK1.4.2 | J2SDK1.5.0 |
++-------------+----------+------------+------------+
+| Win32 | ok | ok | ok |
++-------------+----------+------------+------------+
+| Linux RH7.3 | ok* | ok* | ? |
++-------------+----------+------------+------------+
+| Linux RH9.0 | ok* | ok* | ok |
++-------------+----------+------------+------------+
+| Soloris 2.8 | ok* | ? | ? |
++-------------+----------+------------+------------+
+Note: J2SDK1.5.0 is still beta.
+* : Read below
WIN32
-----
-Java 2 SDK 1.2.2:
- The JNI extension runs without problems.
-
Java 2 SDK 1.3.1:
The JNI extension runs without problems.
@@ -56,11 +56,6 @@ Java 2 SDK 1.4.2:
LINUX
-----
-Java 2 SDK 1.2.2:
- The JNI extension has not been run successfully on Linux with this
-Java 2 SDK. Hanging occurs when the process ends. This issue seems to
-be related to the main thread waiting for other threads to terminate.
-
Java 2 SDK 1.3.1:
The JNI extension runs without problems with this Java 2 SDK, provided
that you use Perl >= 5.8.0 or do one of the following:
@@ -87,22 +82,6 @@ Java 2 SDK 1.4.2:
SOLARIS
-------
-Java 2 SDK 1.2.2:
- The JNI extension runs without problems with this Java 2 SDK, provided
-that you do one of the following:
-
-1- Rebuild perl and add the libthread library in front of all other
- libraries (see the 'BUILDING PERL' section below). You should also
- use gcc and your system's malloc (not perl's).
- This is the recommended solution.
-
-2- Add the proper version of libthread.so to your LD_PRELOAD environment
- variable. On my test system this was /lib/libthread.so.
- This solution seems viable but thread related crashes/hang-ups have
- been reported on some systems. If make crashes while running the test
- suite, try running it like this:
- % for i in `ls t/*.t` ; do perl -Mblib $i; done
-
Java 2 SDK 1.3.1:
The JNI extension runs without problems with this Java 2 SDK, provided
that you use Perl >= 5.8.0 or do one of the following:
--
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