aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--BUGS77
-rw-r--r--Changelog24
-rw-r--r--Makefile9
-rw-r--r--java.mk50
4 files changed, 130 insertions, 30 deletions
diff --git a/BUGS b/BUGS
index ad63254..1c0fcdd 100644
--- a/BUGS
+++ b/BUGS
@@ -12,6 +12,21 @@ TODO List:
-------------------------------------------------------------------------------------
Known bugs:
+réf: [KAFFCLOSE05] yann
+ make nl
+ compiled with gcj, ran with Kaffe, hangs on app.close() in Ivy.java... at
+ bus.stop() . Kernel 2.6.10, sid glibc bleeding edge... I should investigate
+ further for compatibility's sake
+
+ it's not possible to run Bus.stop() on a SMP machine ?
+
+réf: [WFC01] yann
+
+ for (int i=0;i<NBCOMP;i++) new Computer(domain);
+ for (int i=0;i<NBCOMP;i++) bus.waitForClient("Computer"+i,0);
+ ça peut rester hung pendant un moment ( sid, gcj, kaffe )
+ dans le répertoire test, WFC.java pour reproduire le bug
+
réf: [BUGYANN]
perte des arguments ...
@@ -25,10 +40,6 @@ réf: [BUGYANN]
c'est le cas en async sur le test Async uniquement, depuis les jakarta
regexp...
-réf: [BUGMATT]
-
- concurrent connexion leading to noone or double connexion ...
- pour reproduire: Kaffe sur un pécé quadriproc
réf: [BUGXZ]
@@ -36,28 +47,6 @@ réf: [BUGXZ]
manifest ? ) beware, when building java for woody, to use the regexp.jar and getopt.jar
built for your version of java ( Major/Minor version mismatch ... )
- on the following kaffe version, tests sometimes fail
- Kaffe Virtual Machine
- Copyright (c) 1996-1999
- Transvirtual Technologies, Inc. All rights reserved
- Engine: Just-in-time v3 Version: 1.0.5 Java Version: 1.1
-
- make test2:
- kaffe -DIVYBUS=224.5.6.7:8910 -classpath .:../lib/ivy-java.jar:/usr/share/kaffe/Klasses.jar BenchLocal -t 2 -d 0
- [...]
- * [9:21:53 AM] BUS2 left
- * [9:21:53 AM] BUS1 left
- * [9:21:53 AM] BUS2 left
- Dumping live threads:
- `Thread-8' tid 0x837b010, status SUSPENDED flags
- blocked@0x8353510 (0x837b010->|)
- `gc' tid 0x81e0010, status SUSPENDED flags
- blocked@0x81abdc0 (0x81e0010->|)
- `finaliser' tid 0x81d7010, status SUSPENDED flags
- blocked@0x81abd90 (0x81d7010->|)
- Deadlock: all threads blocked on internal events
- make: *** [test2] Abandon
-
make async, stack overflow in jakarta regexp
réf: [BUGXX]
@@ -100,10 +89,44 @@ réf: [BUGXY]
-------------------------------------------------------------------------------------
Fixed:
+1.2.8
+
+ réf: [bugFJ], start(), stop(), start() failed, added a new test StopStart in
+
+ réf: [none]
+ on the following kaffe version, tests sometimes fail
+ Kaffe Virtual Machine
+ Copyright (c) 1996-1999
+ Transvirtual Technologies, Inc. All rights reserved
+ Engine: Just-in-time v3 Version: 1.0.5 Java Version: 1.1
+
+ make test2:
+ kaffe -DIVYBUS=224.5.6.7:8910 -classpath .:../lib/ivy-java.jar:/usr/share/kaffe/Klasses.jar BenchLocal -t 2 -d 0
+ [...]
+ * [9:21:53 AM] BUS2 left
+ * [9:21:53 AM] BUS1 left
+ * [9:21:53 AM] BUS2 left
+ Dumping live threads:
+ `Thread-8' tid 0x837b010, status SUSPENDED flags
+ blocked@0x8353510 (0x837b010->|)
+ `gc' tid 0x81e0010, status SUSPENDED flags
+ blocked@0x81abdc0 (0x81e0010->|)
+ `finaliser' tid 0x81d7010, status SUSPENDED flags
+ blocked@0x81abd90 (0x81d7010->|)
+ Deadlock: all threads blocked on internal events
+ make: *** [test2] Abandon
+ the tests directory
+
+ fixed: it was a sleep(0) hanging in Kaffe ...
+ http://lists.gnu.org/archive/html/classpath-patches/2004-12/msg00223.html
+
1.2.7
réf: none, unbind déconnait (Mathieu Raynal)
- réf: none, bug perl implementation (Jean Paul)
+ réf: [BUGMATT?], bug perl implementation (Jean Paul)
+ concurrent connexion leading to noone or double connexion ...
+ to reproduce: with Kaffe on a SMP machine, do the tests,
+ it should be the same bug as FJ's Ipaq bug
1.2.4
diff --git a/Changelog b/Changelog
index 02db532..fac0a5b 100644
--- a/Changelog
+++ b/Changelog
@@ -1,4 +1,27 @@
--------------------------------------------------------------------
+1.2.8
+
+ bug remaining
+ - Kaffe + Gcj -> app.close() hangs. I've got to investigate further
+
+ documentation
+ - typos
+ - added description of new functions
+
+ bugfixes
+ - fixed the "start stop start stop" bug reported by Francis Jambon
+
+ test suite
+ - added the test directory, in addition to the examples
+ - now runs with kaffe
+ - it compiles and runs fine with gcj on Mandrake 10.1, but the tests fails
+
+ new features
+ - Ivy.getDomainArgs(String,String[]) is a cheap and handy way of finding out
+ the domain, based on the DEFAULT_DOMAIN, then on the IVYBUS property, then on
+ the -b domain command line argument. Be sure to use it !
+
+--------------------------------------------------------------------
1.2.7
bugfixes
@@ -13,6 +36,7 @@
code cleanup
- minor fixes for acecssing static final values
+
--------------------------------------------------------------------
1.2.6
diff --git a/Makefile b/Makefile
index a85d8ed..0396973 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
# Be sure to set this before compiling ...
- VER = 1.2.7
+ VER = 1.2.8
DIST = lib/ivy-java-$(VER).jar
DOCS = doc/html/api
#JAR = fastjar # jar fails with kaffe on woody
@@ -20,19 +20,22 @@ docs:
( cd doc; make; )
( cd src; make docs ; )
+tests:
+ ( cd tests; ant )
+
#dist: class docs
dist: class
ln -sf src/fr .
ln -sf bundle/${dist}gnu .
ln -sf bundle/${dist}org .
- $(JAR) cvfm $(DIST) manifest fr/dgac/ivy/*.class gnu org src/Makefile src/*.java examples/*txt examples/*xml examples/*java examples/Makefile doc/html/api/fr/dgac/ivy/*html doc/html/api/*html doc/html/api/*css README COPYING.LIB doc/ivy-java.pdf doc/ivy-java
+ $(JAR) cvfm $(DIST) manifest fr/dgac/ivy/*.class gnu org src/Makefile src/*.java examples/*txt examples/*xml examples/*java examples/Makefile tests/*java tests/Makefile doc/html/api/fr/dgac/ivy/*html doc/html/api/*html doc/html/api/*css README COPYING.LIB doc/ivy-java.pdf doc/ivy-java
rm -f fr gnu org
jar: class
ln -sf src/fr .
ln -sf bundle/${dist}gnu .
ln -sf bundle/${dist}org .
- $(JAR) cvfm lib/ivy-java.jar manifest fr/dgac/ivy/*.class src/Makefile src/*.java README COPYING.LIB Changelog BUGS gnu org examples/*.java
+ $(JAR) cfm lib/ivy-java.jar manifest fr/dgac/ivy/*.class src/Makefile src/*.java README COPYING.LIB Changelog BUGS gnu org examples/*.java
rm -f fr gnu org
clean:
diff --git a/java.mk b/java.mk
new file mode 100644
index 0000000..718b64e
--- /dev/null
+++ b/java.mk
@@ -0,0 +1,50 @@
+#
+# (c) CENA
+# Author Yannick Jestin <jestin@cena.fr>
+#
+# a simple way to use the same java/javac/classpath declaration across the
+# subdirectories ( ivy source, tests, examples )
+# Changelog:
+# 1.2.8 first
+#
+
+#######################################
+# generic setup
+#######################################
+# JAVAC = javac
+#JAVACOPTS = -deprecation
+
+#######################################
+# gcj setup
+#######################################
+ JAVA = kaffe
+ JAVA = java
+ JAVAC = gcj -C
+ JAVACOPTS = --encoding=8859_1 -Wall
+
+#######################################
+# jikes setup on my box
+#######################################
+# RTPATH = /usr/local/jdk1.5.0/jre/lib/rt.jar
+#JAVACOPTS = -deprecation
+# JAVAC = jikes
+
+#######################################
+# blackdown jdk118 setup
+#######################################
+# JAVAC = /usr/local/jdk118_v3/bin/javac
+#JAVACOPTS =
+
+######################################
+# local Blackdown linux 1.2.2
+######################################
+# JAVAC = /usr/local/jdk1.2.2/bin/javac
+#JAVACOPTS = -deprecation
+
+######################################
+# local Blackdown linux 1.3.1
+######################################
+# JAVAC = /usr/local/j2sdk1.3.1/bin/javac
+#JAVACOPTS = -deprecation
+
+