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
(9) |
3
(1) |
4
(3) |
|
5
|
6
(3) |
7
(2) |
8
(3) |
9
(2) |
10
(1) |
11
|
|
12
(1) |
13
(9) |
14
(6) |
15
(7) |
16
(8) |
17
|
18
|
|
19
|
20
(2) |
21
(2) |
22
(5) |
23
|
24
(6) |
25
(2) |
|
26
|
27
(3) |
28
|
29
(1) |
30
(4) |
31
(2) |
|
|
From: <php...@li...> - 2007-08-27 18:57:43
|
Hi Jonathan,
> Last night, I discovered that I needed to use java_values() on the byte array
Yes. java_values() converts a Java object to the appropriate PHP value(s), a PHP binary string in
this case.
However, people shouldn't need to write unnatural code; whenever PHP needs to convert a proxy into
a String, it calls $proxy->__toString(). On the server side the method is called
"ObjectToString(value)".
What about adding the following code to JavaBridge.java:
public String ObjectToString(byte[] value) {
// FIXME: use the StringCache
try {
return new String( (byte[])castToString(value), getOptions().getFileEncoding());
} catch (IllegalEncodingException ex) {
// shouldn't happen
Util.printStackTrace(ex);
return new String( (byte[])castToString(value) );
}
}
Regards,
Jost Boekemeier
Machen Sie Yahoo! zu Ihrer Startseite. Los geht's:
http://de.yahoo.com/set
|
|
From: <php...@li...> - 2007-08-27 13:05:43
|
Last night, I discovered that I needed to use java_values() on the byte =
array before it was comparable to the original data, i.e.
$file =3D file_get_contents('foo.pdf');
$javaObject->setData($file);
$output =3D $javaObject->getData();
strcmp($file, java_values($output)); // wrapped $output in =
java_values()
Otherwise, it would try to compare $file to =
[[o:array_of_B]:"[B@1c3ee45"].
Thanks for prodding me in the right direction.
Best,
Jonathan
> -----Original Message-----
> From: php...@li...=20
> [mailto:php...@li...]=20
> On Behalf Of php...@li...
> Sent: Saturday, August 25, 2007 7:17 AM
> To: php...@li...
> Subject: Re: [Php-java-bridge-users] Bytes are getting=20
> mistranslated somewhere
>=20
> Hi Jonathan,
>=20
> > $javaObject->setData($file);
> > $output =3D $javaObject->getData();
> > strcmp($file, $output);
> > =09
> > And the bytes coming out of the getData() method are=20
> different from the
> > bytes going into the setData() method. =20
>=20
> there's a test case (tests.php5/binaryData.php) which checks this.=20
>=20
> Can you please check if $file and $output have the same type=20
> and, if that's the case, please set
> the log level to 4 or above, open a new ticket (please use
> http://sourceforge.net/tracker/?func=3Dadd&group_id=3D117793&atid=3D
> 679233) and attach the log at the
> end of that ticket. We'll look at this issue asap.
>=20
>=20
> Regards,
> Jost Boekemeier
>=20
>=20
>=20
>=20
>=20
> Wissenswertes f=FCr Bastler und Hobby Handwerker. BE A=20
> BETTER HEIMWERKER! www.yahoo.de/clever
>=20
> --------------------------------------------------------------
> -----------
> 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=20
> 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
>=20
>=20
|
|
From: <php...@li...> - 2007-08-27 10:45:59
|
Hi,
> Could you please clarify whether the php_java.so and dll continue to be
> supported in 4.x, or are they deprecated?
the old C code doesn't exist anymore (exception: PHP4). The new C code is just a thin wrapper
around Java.inc and exists only for backward compatibility.
> If deprecated what do you
> suggest about the performance difference when using Java.inc?
Compared with version 3.0.8 I'd expect it to be a little bit faster -- or slower, depending on the
application.
Regards,
Jost Boekemeier
__________________________________
Yahoo! Clever: Sie haben Fragen? Yahoo! Nutzer antworten Ihnen. www.yahoo.de/clever
|