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
MessageFormat treats ' as a special character #3203
Conversation
https://docs.oracle.com/javase/8/docs/api/java/text/MessageFormat.html Test case is jenkins/computer/node/configure Help for "Launch method" Without this fix, you will see: Launch agent via Java Web Start ... By default, the JNLP agent will launch a GUI, but its also possible to run a JNLP agent without a GUI, e.g. as a Window service. You should see: ... By default, the JNLP agent will launch a GUI, but it's also possible to run a JNLP agent without a GUI, e.g. as a Window service.
I think @jglick had somewhat strong feelings that these should just be typographic quotes instead. |
From my perspective, there are potentially two bugs here:
At the expense of repo churn, I'd rather get my change in and have someone else consider a more global typographic quotes commit. |
You definitely need to double up |
My guess is that there's only one path, it's designed for localization and is consistent and agnostic. |
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.
seems reasonable, assuming it was tested.
Indeed this code shows that Stapler applies |
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.
Generally prefer use of ’
(or, for matched pairs, ‘
…’
or “
…”
or even in some cases `
…`
), or spelling out contractions (s/doesn't
/does not
/), but this is fine for now.
Thanks @jsoref ! |
@jsoref I found a regression JENKINS-49634 |
https://docs.oracle.com/javase/8/docs/api/java/text/MessageFormat.html
Test case is jenkins/computer/node/configure
Help for "Launch method"
Without this fix, you will see:
Launch agent via Java Web Start
... By default, the JNLP agent will launch a GUI, but its also possible to run a JNLP agent without a GUI, e.g. as a Window service.
You should see:
... By default, the JNLP agent will launch a GUI, but it's also possible to run a JNLP agent without a GUI, e.g. as a Window service.
Submitter checklist
* Use the
Internal:
prefix if the change has no user-visible impact (API, test frameworks, etc.)Desired reviewers