Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001228 [Quercus] major always 07-04-06 05:57 07-18-06 11:25
Reporter akdeivanaathan View Status public  
Assigned To ferg
Priority normal Resolution fixed  
Status closed   Product Version 3.0.19
Summary 0001228: Accessing the HashMap return value from java module in PHP
Description Hi,

I tried the java module example and tried to return the HashMap object from Java to the calling php file. I get the return value, but it has been forwarded as resource, and when i tried to access with either as a Object or as an Array i am not able to get values from the return value. But when i have the var_dump, the values are displayed properly.

Can you guide me, how this can be handled.

Thx,
Deiva
Additional Information
Attached Files

- Relationships

- Notes
(0001399)
koreth
07-13-06 22:29

See also bug 1109. Quercus currently treats a HashMap like any other Java object; you can call its methods. So to get the value for a key, call "get" just like you would in Java:

$value = $map->get("key");
 
(0001413)
ferg
07-18-06 11:25

php/0cc0, basic support
 

- Issue History
Date Modified Username Field Change
07-04-06 05:57 akdeivanaathan New Issue
07-13-06 22:29 koreth Note Added: 0001399
07-18-06 11:25 ferg Note Added: 0001413
07-18-06 11:25 ferg Assigned To  => ferg
07-18-06 11:25 ferg Status new => closed
07-18-06 11:25 ferg Resolution open => fixed
07-18-06 11:25 ferg Fixed in Version  => 3.0.20


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
32 total queries executed.
28 unique queries executed.
Powered by Mantis Bugtracker