-
Bug
-
Resolution: Fixed
-
P4
-
1.4.0, 1.4.2, 5.0
-
b26
-
generic, sparc
-
generic, solaris_7
-
Verified
This is duplicated from 4500773
The Logging APIs specification for all the Logger.logrb(...) methods says:
"...
Throws:
java.util.MissingResourceException - if no suitable ResourceBundle can be found.
..."
However, the NSK logrbTest shows that
Logger.logrb(Level level,
String sourceClass,
String sourceMethod,
String source bundleName,
String msg)
method does not throw expected MissingResourceException while execution under
the engineering JDK build with the logging API changes according
to RFE's
The NULL case has been corrected in javadoc but empty and non-resource bundle strings are still accepted without throwing MissingResourceException as per the spec
The Logging APIs specification for all the Logger.logrb(...) methods says:
"...
Throws:
java.util.MissingResourceException - if no suitable ResourceBundle can be found.
..."
However, the NSK logrbTest shows that
Logger.logrb(Level level,
String sourceClass,
String sourceMethod,
String source bundleName,
String msg)
method does not throw expected MissingResourceException while execution under
the engineering JDK build with the logging API changes according
to RFE's
The NULL case has been corrected in javadoc but empty and non-resource bundle strings are still accepted without throwing MissingResourceException as per the spec
- relates to
-
JDK-4500733 LOGGING APIs: Logger.logrb() methods don't throw MissingResourceException
-
- Closed
-