For the following code... public class b { public static final int FOOBAR = 555; }
..I would expect to see FOOBAR in .rodata. However gcj currently places this in .data. If you poke through the .jar.so files we have in Fedora Core you'll see big chunks of .data that should actually .rodata. -- Summary: initialized final static data should go in .rodata, not .data Product: gcc Version: 4.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: java AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: green at redhat dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26007