Hmm. Finding mistakes in a beta edition of a draft specification is relatively easy to do. Why are you using the draft spec? The ListResourceBundle example in the proper released specs are fine. [ August 22, 2006: Message edited by: Paul Sturrock ]
What version of Java are you compiling with? The documentation for ListResourceBundle in 1.4 and 1.5 are different from that for 1.6 (which is what you used).
Joined: Sep 07, 2004
I am mostly using Java 5 and the Java 6 beta and okay, the beta is just a beta but this is the ListResourceBundle class that is old and that should not have changed very much or maybe not at all. But you are right, they have actually changed a little in the documentation since Java 5 and Java 1.4. I did not check that because it is this old class.
So you could see the error? : ) I got blind on it first. [ August 22, 2006: Message edited by: Jonny Andersson ]
I'm too tired to think about what the error could be, but if you find an error in the documentation or elsewhere in JDK 6 Beta then please help Sun to improve Java by filling in a bug report in Sun's bug database - this is your chance to contribute to JDK 6!