Quick Optimization Question

Mohan Embar gnustuff@thisiscool.com
Wed Mar 28 16:17:00 GMT 2007


Hi All,

Sorry if the answer to this is obvious, but I figured
someone (Andrew) would know this off the top of his
head.

If I do this:

public static final byte[] FOO = new byte[] {....};

...will gcj know to translate FOO.length into
a constant at compile time?

-- Mohan
http://www.thisiscool.com/
http://www.animalsong.org/





More information about the Java mailing list