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
|
2
|
3
(9) |
4
(1) |
5
(6) |
6
|
|
7
(1) |
8
(2) |
9
(2) |
10
(7) |
11
(12) |
12
(8) |
13
|
|
14
(4) |
15
(3) |
16
(1) |
17
(5) |
18
(4) |
19
|
20
(2) |
|
21
(4) |
22
|
23
(2) |
24
(2) |
25
(2) |
26
(1) |
27
|
|
28
(1) |
29
(3) |
30
(9) |
31
(2) |
|
|
|
|
From: <php...@li...> - 2008-12-14 21:15:40
|
Thanks for your explanation. The Java class loader is a tricky beast. On Sun, Dec 14, 2008 at 11:32 AM, <php...@li...> wrote: > Hi, > >> 1. required jar files for Java classes A and B were >> included in java_require >> 2. PHP script was able to instantiate class B >> 3. class A was not able to instantiate that same class B? > > Class B came from another class loader which has no relationship to the loader for (A,B), most likely the bootstrap loader. Which means that you have violated the module contract. > > >> 4. this behaviour occurred because of supplying relative >> paths to java_require > > Whether or not a library has an absolute or relative path is irrelevant. > > >> Furthermore, doesn't that observation indicate an >> inconsistency in class loading mechanism? > > Yes, definitely. This part of the Java platform is broken by design. > > Compare it with .NET or with SML/NJ. -- There was a proposal for a real module system based on generics, but this needs real generics within the JVM, something that Java doesn't support either (current Java 1.5 generics are syntactic shugar, for the compiler and for marketing). > > However, this doesn't have anything to do with the PHP/Java Bridge. > > > Regards, > Jost Boekemeier > > > > > > > ------------------------------------------------------------------------------ > SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. > The future of the web can't happen without you. Join us at MIX09 to help > pave the way to the Next Web now. Learn more and register at > http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ > _______________________________________________ > php-java-bridge-users mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users > |
|
From: <php...@li...> - 2008-12-14 19:32:49
|
Hi,
> 1. required jar files for Java classes A and B were
> included in java_require
> 2. PHP script was able to instantiate class B
> 3. class A was not able to instantiate that same class B?
Class B came from another class loader which has no relationship to the loader for (A,B), most likely the bootstrap loader. Which means that you have violated the module contract.
> 4. this behaviour occurred because of supplying relative
> paths to java_require
Whether or not a library has an absolute or relative path is irrelevant.
> Furthermore, doesn't that observation indicate an
> inconsistency in class loading mechanism?
Yes, definitely. This part of the Java platform is broken by design.
Compare it with .NET or with SML/NJ. -- There was a proposal for a real module system based on generics, but this needs real generics within the JVM, something that Java doesn't support either (current Java 1.5 generics are syntactic shugar, for the compiler and for marketing).
However, this doesn't have anything to do with the PHP/Java Bridge.
Regards,
Jost Boekemeier
|
|
From: <php...@li...> - 2008-12-14 18:33:41
|
Hi, How does the statement "all classes and their dependencies must be loaded by one, and only one, class loader", relate to the observation that: 1. required jar files for Java classes A and B were included in java_require 2. PHP script was able to instantiate class B 3. class A was not able to instantiate that same class B? 4. this behaviour occurred because of supplying relative paths to java_require Furthermore, doesn't that observation indicate an inconsistency in class loading mechanism? Apologies for my lack of understanding, Karim |
|
From: <php...@li...> - 2008-12-14 14:52:30
|
Hi,
> instantiate a class B located in another jar, it ran the
> risk of not finding the appropriate (class),[...] even though,
> PHP was able to instantiate B)
I think this is pretty obvious, as it follows from the FAQ statement "all classes and their dependencies must be loaded by one, and ony one, class loader"
If you have any suggestions how we could improve our documentation, please let us know.
> fix the bridge such that the VM's class loader behaves java_require.
You seem to think that this is a PHP/Java Bridge issue, but it isn't. Kay's dynamic class loader simply passes on what Java has to offer.
Regards,
Jost Boekemeier
|