-
Notifications
You must be signed in to change notification settings - Fork 126
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
throw an IAE on a missing class alias #721
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Love it
@@ -66,6 +66,8 @@ public class TextWire extends YamlWireOut<TextWire> { | |||
static final Supplier<StopCharsTester> STRICT_END_OF_TEXT_ESCAPING = TextStopCharsTesters.STRICT_END_OF_TEXT::escaping; | |||
static final Supplier<StopCharsTester> END_EVENT_NAME_ESCAPING = TextStopCharsTesters.END_EVENT_NAME::escaping; | |||
static final Bytes<?> META_DATA = Bytes.from("!!meta-data"); | |||
@Deprecated(/* for removal in x.26, make default true in x.25 */) | |||
static final boolean IAE_ON_CNF = Jvm.getBoolean("illegal.argument.for.missing.class.alias", false); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@chroniclekevinpowe given that this will not change behaviour unless someone turns on the system property, I think that this is a candidate for backporting to 23
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It should be possible to backport even breaking changes with this strategy of having it disabled by default.
SonarCloud Quality Gate failed.
|
* throw an IAE on a missing class alias * Change how banned package are handled
Backport throw an IAE on a missing class alias (#721) to 2.23
* throw an IAE on a missing class alias * Change how banned package are handled
* throw an IAE on a missing class alias * Change how banned package are handled
No description provided.