Are non-SJLJ exceptions busted on linux/x86?

Bryce McKinlay mckinlay@redhat.com
Thu Nov 17 22:12:00 GMT 2005


Andrew Pinski wrote:

>>F) Because someday gcj might work for no-filesystem environments, but only
>>if it can make a static binary
>>    
>>
>
>That is a hard thing to do as java is a class/file based system.
>  
>

Not necessarily. The J2ME CLDC, for example, has no "File" class.

>One more thing, Objective-C really has the same issues as gcj and static
>linking as both are very dynamic languages and can load classes at runtime
>via a string which is why static linking will never work correctly with
>java and Objective-C.
>
It is definitely problematic to mix the dynamic aspects of Java with 
static compilation. However, this does not mean that static linking 
isn't useful. It is often quite possible, and desirable, to create an 
application that is safe to use with static linking for deployment in 
closed/controlled/embedded environments.

Bryce



More information about the Java mailing list