Skip to content

Commit ead4fb1

Browse files
committed
8321519: Typo in exception message
Reviewed-by: jpai
1 parent b5933b1 commit ead4fb1

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/hotspot/share/runtime/flags/jvmFlagAccess.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ JVMFlag::Error JVMFlagAccess::set_ccstr(JVMFlag* flag, ccstr* value, JVMFlagOrig
321321
// Old value is heap allocated so free it.
322322
FREE_C_HEAP_ARRAY(char, old_value);
323323
}
324-
// Unlike the other APIs, the old vale is NOT returned, so the caller won't need to free it.
324+
// Unlike the other APIs, the old value is NOT returned, so the caller won't need to free it.
325325
// The callers typically don't care what the old value is.
326326
// If the caller really wants to know the old value, read it (and make a copy if necessary)
327327
// before calling this API.

src/java.base/share/classes/sun/nio/ch/Poller.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ private static int pollerCount(String propName, int defaultCount) {
368368

369369
// check power of 2
370370
if (count != Integer.highestOneBit(count)) {
371-
String msg = propName + " is set to a vale that is not a power of 2";
371+
String msg = propName + " is set to a value that is not a power of 2";
372372
throw new IllegalArgumentException(msg);
373373
}
374374
return count;

src/java.desktop/share/classes/com/sun/media/sound/ModelIdentifier.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public final class ModelIdentifier {
3939
*
4040
* // INPUT parameters
4141
* noteon keynumber 7 bit midi value
42-
* velocity 7 bit midi vale
42+
* velocity 7 bit midi value
4343
* on 1 or 0
4444
*
4545
* midi pitch 14 bit midi value

0 commit comments

Comments
 (0)