RFR: 7172176 java/jconsole test/sun/tools/jconsole/ImmutableResourceTest.sh failing

Michael Fang michael.fang at oracle.com
Wed May 30 17:09:41 PDT 2012


Hi Erik,

No problem, I will manually remove the unused messages for now. In the 
future message update, they will automatically not be present either.

thanks,

-michael

On 12年05月30日 04:40 上午, Erik Gahlin wrote:
> Hi,
>
> Could you please review 7172176, which is a test fix for 7017818 -
> JConsoleResources.java cannot be handled by translation team.
>
> Webrev:
> http://cr.openjdk.java.net/~egahlin/7172176_01/
>
> Changes:
>
> - Removed the ImmutableRequest.java and ImmutableRequest.sh since the
> JConsoleResources class was refactored away with 7017818.
>
> - Removed hard-wired resource bundle keys in ResourceCheckTest.java, 
> the keys
> are now looked up by reflection on the Messages class. The test also
> checks there is one-to-one mapping between reource bundle keys and
> the constants available in the Message class.
>
> Michael,
>
> I removed sun/tools/jconsole/ResourceCheckTest.sh from the jdk/test/
> ProblemList.txt. This means the test will break once the translated files
> will be checked in. Unused messages were sent for translation and they
> need to be removed.
>
> Are you ok with that?
>
> Thanks!
> Erik



More information about the serviceability-dev mailing list