Anonymous | Login | Signup for a new account | 12-17-2024 10:42 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Advanced Details [ Jump to Notes ] | [ View Simple ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0003026 | [Quercus] | minor | always | 10-28-08 09:49 | 03-30-09 12:13 | ||||
Reporter | ferg | View Status | public | ||||||
Assigned To | nam | ||||||||
Priority | normal | Resolution | fixed | Platform | |||||
Status | closed | OS | |||||||
Projection | none | OS Version | |||||||
ETA | none | Fixed in Version | 4.0.0 | Product Version | 3.1.7 | ||||
Product Build | |||||||||
Summary | 0003026: java_class("System")->currentTimeMillis() | ||||||||
Description |
(rep by rudi_tato) <?php $class = java_class("java.lang.System"); # System.in $in = $class->in; # System.currentTimeInMillis(); $time = $class->currentTimeInMillis(); ?> Error code is: /D:/Java/resin-3.1.7a/webapps/ROOT/MyBean.php:9: Fatal Error: 'java.lang.System::currentTimeInMillis' is an unknown method what am I doing wrong? I used default configuration and never change anything. |
||||||||
Steps To Reproduce | |||||||||
Additional Information | |||||||||
Attached Files | |||||||||
|
Notes | |
(0003942) Electrum 03-27-09 10:24 |
The manual has the function name wrong. The title of your bug report has it correct. Try this: $time = $class->currentTimeMillis(); |
(0003945) markr 03-30-09 04:32 |
You've got a typo there, probably causing your problem: the Java method's name is currentTimeMillis, NOT currentTimeInMillis. see http://java.sun.com/javase/6/docs/api/java/lang/System.html#currentTimeMillis() [^] |
(0003946) nam 03-30-09 12:13 |
Fixed mistake in docs. |
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
35 total queries executed. 30 unique queries executed. |