Menu

[r805]: / trunk / php-java-bridge / tests.php5 / getName.php  Maximize  Restore  History

Download this file

16 lines (12 with data), 240 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
#!/usr/bin/php
<?php
require_once ("java/Java.inc");
$Thread = new JavaClass("java.lang.Thread");
$name=java_values($Thread->getName());
if("$name" != "java.lang.Thread") {
echo "ERROR\n";
exit(1);
}
echo "test okay\n";
exit(0);
?>
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.