8321519: Typo in exception message
Reviewed-by: jpai
This commit is contained in:
parent
b5933b186f
commit
ead4fb1464
src
hotspot/share/runtime/flags
java.base/share/classes/sun/nio/ch
java.desktop/share/classes/com/sun/media/sound
@ -321,7 +321,7 @@ JVMFlag::Error JVMFlagAccess::set_ccstr(JVMFlag* flag, ccstr* value, JVMFlagOrig
|
||||
// Old value is heap allocated so free it.
|
||||
FREE_C_HEAP_ARRAY(char, old_value);
|
||||
}
|
||||
// Unlike the other APIs, the old vale is NOT returned, so the caller won't need to free it.
|
||||
// Unlike the other APIs, the old value is NOT returned, so the caller won't need to free it.
|
||||
// The callers typically don't care what the old value is.
|
||||
// If the caller really wants to know the old value, read it (and make a copy if necessary)
|
||||
// before calling this API.
|
||||
|
@ -368,7 +368,7 @@ abstract class Poller {
|
||||
|
||||
// check power of 2
|
||||
if (count != Integer.highestOneBit(count)) {
|
||||
String msg = propName + " is set to a vale that is not a power of 2";
|
||||
String msg = propName + " is set to a value that is not a power of 2";
|
||||
throw new IllegalArgumentException(msg);
|
||||
}
|
||||
return count;
|
||||
|
@ -39,7 +39,7 @@ public final class ModelIdentifier {
|
||||
*
|
||||
* // INPUT parameters
|
||||
* noteon keynumber 7 bit midi value
|
||||
* velocity 7 bit midi vale
|
||||
* velocity 7 bit midi value
|
||||
* on 1 or 0
|
||||
*
|
||||
* midi pitch 14 bit midi value
|
||||
|
Loading…
x
Reference in New Issue
Block a user