From: Jost B. <jos...@ya...> - 2005-11-27 20:13:51
|
Hi Marc, [please excuse the delay] > How can I compile the php-java-bridge? Please follow the INSTALL instructions as close as possible. If you're stuck please open a ticket, please use: http://sourceforge.net/tracker/?func=add&group_id=117793&atid=679233 Please attach the output of the config.status, config.log to that ticket. If there are compilation or configuration issues on IA86 or AMD64 Linux, Windows >= Win95, FreeBSD or Sparc/Solaris with Sun or IBM JDK please first check the INSTALL document again and follow the steps as close as possible before submitting a problem report. We know that the bridge compiles and runs without problems on these platforms. For other platforms please go ahead and open a problem report right away: There are known issues with the Macintosh JVM and with GNU JVM[1]. We're currently trying to find a workaround for these problems. Regards, Jost Boekemeier [1]The GNU jvm generates incorrect bytecode for our PhpMap.java, here's a test case: public abstract class bug { protected void kill() { System.out.println("okay"); } protected abstract void init(); public static bug getBug() { return new bug(){ protected void init() { kill(); /* generated: */ // 0 0:aload_0 // 1 1:getfield #12 <Field bug this$0> // 2 4:invokevirtual #19 <Method void bug.kill()> /* should be: */ // 0 0:aload_0 // 1 1:invokevirtual #2 <Method void kill()> } }; } public static void main(String s[]) { bug.getBug().init(); System.exit(0); } } /* The getfield is wrong: there's no bug.this: getBug() is static */ ___________________________________________________________ Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de |