You can subscribe to this list here.
| 2004 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(6) |
Oct
(6) |
Nov
(8) |
Dec
(2) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2005 |
Jan
(19) |
Feb
(15) |
Mar
(10) |
Apr
(8) |
May
(7) |
Jun
(9) |
Jul
(13) |
Aug
(31) |
Sep
(111) |
Oct
(52) |
Nov
(72) |
Dec
(42) |
| 2006 |
Jan
(21) |
Feb
(32) |
Mar
(33) |
Apr
(24) |
May
(15) |
Jun
(40) |
Jul
(32) |
Aug
(19) |
Sep
(38) |
Oct
(37) |
Nov
(63) |
Dec
(37) |
| 2007 |
Jan
(18) |
Feb
(39) |
Mar
(69) |
Apr
(49) |
May
(71) |
Jun
(59) |
Jul
(71) |
Aug
(85) |
Sep
(46) |
Oct
(14) |
Nov
(25) |
Dec
(56) |
| 2008 |
Jan
(24) |
Feb
(77) |
Mar
(104) |
Apr
(44) |
May
(41) |
Jun
(11) |
Jul
(31) |
Aug
(59) |
Sep
(44) |
Oct
(86) |
Nov
(66) |
Dec
(93) |
| 2009 |
Jan
(88) |
Feb
(41) |
Mar
(49) |
Apr
(135) |
May
(22) |
Jun
(31) |
Jul
(60) |
Aug
(71) |
Sep
(76) |
Oct
(18) |
Nov
(52) |
Dec
(20) |
| 2010 |
Jan
(8) |
Feb
(50) |
Mar
(35) |
Apr
(48) |
May
(46) |
Jun
(84) |
Jul
(38) |
Aug
(61) |
Sep
(51) |
Oct
(31) |
Nov
(17) |
Dec
(18) |
| 2011 |
Jan
(51) |
Feb
(14) |
Mar
(17) |
Apr
(23) |
May
(15) |
Jun
(11) |
Jul
(5) |
Aug
(5) |
Sep
(15) |
Oct
(8) |
Nov
(5) |
Dec
(25) |
| 2012 |
Jan
(2) |
Feb
(4) |
Mar
(6) |
Apr
(9) |
May
(27) |
Jun
(32) |
Jul
(36) |
Aug
(10) |
Sep
(16) |
Oct
(3) |
Nov
(13) |
Dec
(7) |
| 2013 |
Jan
(1) |
Feb
(4) |
Mar
|
Apr
(1) |
May
|
Jun
(2) |
Jul
|
Aug
(1) |
Sep
(4) |
Oct
(2) |
Nov
(1) |
Dec
|
| 2014 |
Jan
|
Feb
|
Mar
(2) |
Apr
(1) |
May
(2) |
Jun
(9) |
Jul
(5) |
Aug
(2) |
Sep
(4) |
Oct
|
Nov
|
Dec
|
| 2015 |
Jan
(3) |
Feb
(2) |
Mar
(4) |
Apr
(3) |
May
(1) |
Jun
(2) |
Jul
|
Aug
(2) |
Sep
(5) |
Oct
(1) |
Nov
|
Dec
|
| 2016 |
Jan
|
Feb
(5) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(5) |
Sep
(3) |
Oct
|
Nov
|
Dec
|
| 2017 |
Jan
(6) |
Feb
|
Mar
|
Apr
(10) |
May
(2) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
(1) |
Dec
|
| 2018 |
Jan
(2) |
Feb
(5) |
Mar
|
Apr
|
May
(1) |
Jun
(3) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2019 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
| 2020 |
Jan
|
Feb
(2) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(2) |
Oct
|
Nov
|
Dec
|
| 2021 |
Jan
(5) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2023 |
Jan
|
Feb
(2) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
|
|
|
|
1
(3) |
2
|
3
(2) |
|
4
|
5
|
6
|
7
(2) |
8
(6) |
9
|
10
|
|
11
|
12
|
13
|
14
|
15
|
16
(2) |
17
|
|
18
|
19
|
20
|
21
|
22
|
23
(7) |
24
|
|
25
|
26
|
27
(1) |
28
(1) |
29
|
30
(1) |
|
|
From: <php...@li...> - 2007-11-01 21:12:31
|
php...@li... wrote: > Hi, > > this sounds like a bug to me. > > Presumably java_instanceof() has never been tested with the DynamicClassLoader. Please see > ticket#1824173 > (=>http://sourceforge.net/tracker/index.php?func=detail&aid=1824173&group_id=117793&atid=679233) > for details. > > I haven't received your attachment, but I think we are able to reproduce this problem. > > > Regards, > Jost Boekemeier > > > > __________________________________ Ihr erstes Baby? Holen Sie sich Tipps von anderen Eltern. www.yahoo.de/clever > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > php-java-bridge-users mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users > > Ok, I will monitor bug #1824173 then. In the meantime, here's the small patch I wrote: --- DynamicJavaBridgeClassLoader.java 2007-09-26 09:51:30.000000000 +0200 +++ php-java-bridge-4.1.8/server/php/java/bridge/DynamicJavaBridgeClassLoader.java 2007-09-26 09:52:26.000000000 +0200 @@ -36,7 +36,6 @@ import java.util.Set; import java.util.jar.JarFile; import java.util.jar.Manifest; - /** * The bridge class loader which uses the DynamicClassLoader when possible. * @author jostb @@ -217,12 +216,14 @@ if (c != null) return (Class) c; try { - result = doLoadClass(name); + result = findLoadedClass(name); + if (result == null) + result = doLoadClass(name); cache.put(name, result); return result; } catch (ClassNotFoundException cnfe) { cache.put(name, nf); - } + } } throw new ClassNotFoundException(name); } ~ Thanks a lot, P-a Bäckström |
|
From: <php...@li...> - 2007-11-01 17:02:17
|
Hi, this sounds like a bug to me. Presumably java_instanceof() has never been tested with the DynamicClassLoader. Please see ticket#1824173 (=>http://sourceforge.net/tracker/index.php?func=detail&aid=1824173&group_id=117793&atid=679233) for details. I haven't received your attachment, but I think we are able to reproduce this problem. Regards, Jost Boekemeier __________________________________ Ihr erstes Baby? Holen Sie sich Tipps von anderen Eltern. www.yahoo.de/clever |
|
From: <php...@li...> - 2007-11-01 15:33:38
|
Hi there!
Running (the otherwise excellent) php-java-bridge-4.1.8 I encountered a bug=
.
I had the following java-class structure
Class A
Class B extends A
>From php I referenced a remote EJB and called a method with the
following signature:
public A getA();
Where the method in fact returns an instance of class B.
In php I then tried to figure out whether it was an instance of Class
A or B by using
java_instance_of:
$obj =3D $bean->getA();
$clazz =3D new JavaClass("org.test.B");
if ($clazz instanceof Java && java_instanceof($address, $clazz)){
//...
} else {
//...
}
However, this raised a LinkageException on the JVM, claiming that
Class B already was loaded by the classloader.
If "$clazz =3D new JavaClass("org.test.B");" was performed before
"$bean->getA();" everything worked out fine, so I figured that
something was buggy in the dynamic classloading scheme.
I've attached a patch to the DynamicJavaBridgeClassLoader which
addresses this, by checking findLoadedClass(name) before
doLoadClass(name) but after verifying that it isn't in the cache.
/Sincerely
P-a B=E4ckstr=F6m
Sweden
|