IDEA on my phone

Using icedtea6 build of OpenJDK.

This experiment led me to the discovery that linux doesnt check architecture when loading binaries!
IDEA tried to execute its (x86) fsnotifier on my phone (arm-el), and instead of throwing an exception it
terminated IDEA with SIGILL (signal 4, bad instruction), this means it must’ve blindly tried to run a binary
built for the wrong architecture.

Isn’t that the fault of the java code trying to load the wrong binary? I know in my java code that loads binary code, I have to check the operating system and the architecture to figure out the correct binary to load, and still catch the exception myself if something goes wrong. Sounds like IDEA should have been more careful.

shouldnt the binary loader in the kernel check for architecture?

AIDE on my phone, yes it’s thin on features at the moment but at least it’s optimised for mobile devices (because it was written for them!) unlike IDEA which much be a pain in the ass to use unless on a big screen tablet.

I really don’t know who’s responsibility that should be. Probably OpenJDK’s.

interesting, but who in the hell would dev on a phone?

I was also wondering this.

[quote=“Ollie, post:7, topic:439005”][quote author=t4 link=topic=541706.msg3970025#msg3970025 date=1334064977]
interesting, but who in the hell would dev on a phone?
[/quote]

I was also wondering this.[/quote]
a douchebag !