Skip to content

Commit

Permalink
8321519: Typo in exception message
Browse files Browse the repository at this point in the history
Reviewed-by: jpai
  • Loading branch information
djelinski committed Dec 7, 2023
1 parent b5933b1 commit ead4fb1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/hotspot/share/runtime/flags/jvmFlagAccess.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/java.base/share/classes/sun/nio/ch/Poller.java
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ private static int pollerCount(String propName, int defaultCount) {

// 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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

1 comment on commit ead4fb1

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.