Initial revision
From-SVN: r102074
This commit is contained in:
parent
6f4434b39b
commit
f911ba985a
4557 changed files with 1000262 additions and 0 deletions
|
@ -0,0 +1,20 @@
|
|||
import java.util.*;
|
||||
|
||||
public class ResourceBundleTest
|
||||
{
|
||||
public static void main(String args[])
|
||||
{
|
||||
try {
|
||||
ResourceBundle messageRB =
|
||||
ResourceBundle.getBundle("sun.tools.javac.resources.javac");
|
||||
|
||||
String bundle = (String)messageRB.getObject("main.usage");
|
||||
if (null == bundle)
|
||||
throw new Exception("javac.main.usage resource is null");
|
||||
|
||||
System.out.println("PASSED: Resource javac.main.usage existed");
|
||||
} catch (Exception e) {
|
||||
System.out.println("FAILED: " + e);
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue