Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

8321519: Typo in exception message #17016

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/hotspot/share/runtime/flags/jvmFlagAccess.cpp
Original file line number Diff line number Diff line change
@@ -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.
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
@@ -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;
Original file line number Diff line number Diff line change
@@ -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