Community
Participate
Working Groups
I20050324 Message from John Arthorne on eclipse-dev: Eclipse 3.1 M5 has introduced a new resource bundle mechanism that is significantly more efficient than the standard Java property resource bundle mechanism. This new mechanism stores each messages as a static field whose value is bound at runtime based on the current locale. The result is that message keys are no longer stored in memory as strings, and the overhead of the Hashtable used by property resource bundle is eliminated. More details on the new API, along with analysis of its performance and a conversion tool for those using property resource bundles, is found here: http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/platform-core-home/documents/3.1/message_bundles.html
*** Bug 45486 has been marked as a duplicate of this bug. ***
Remember to not introduce any dependency on Eclipse layer from within batch compiler.
Converted messages from the Model. All tests passed. I reuse the java.text.MessageFormat instead of the bind method from the NLS class. So I can get rid of the dependency on bug 90803.
Fixed and released in HEAD. org.eclipse.jdt.internal.compiler.util.messages.properties and org.eclipse.jdt.internal.core.util.messages.properties have been converted.
Verified for 3.1 M7 using build I20050509-2010 + jdt.core HEAD-20050512.