Skip to content

On branch edburns/11556-duplicate-closing-punctuation-in-compiler-mes… #11557

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

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

edburns
Copy link

@edburns edburns commented Jul 4, 2025

…sages

modified: substratevm/src/com.oracle.svm.core.genscavenge/src/com/oracle/svm/core/genscavenge/SerialGCOptions.java
modified: substratevm/src/com.oracle.svm.core/src/com/oracle/svm/core/SubstrateOptions.java
modified: substratevm/src/com.oracle.svm.core/src/com/oracle/svm/core/configure/ConfigurationFiles.java
modified: substratevm/src/com.oracle.svm.core/src/com/oracle/svm/core/option/RuntimeOptionParser.java
modified: substratevm/src/com.oracle.svm.hosted/src/com/oracle/svm/hosted/NativeImageOptions.java
modified: substratevm/src/com.oracle.svm.hosted/src/com/oracle/svm/hosted/jdk/localization/LocalizationFeature.java
modified: truffle/src/com.oracle.truffle.api.test/src/com/oracle/truffle/api/test/option/OptionProcessorTest.java
modified: truffle/src/com.oracle.truffle.polyglot/src/com/oracle/truffle/polyglot/PolyglotEngineOptions.java
modified: wasm/src/org.graalvm.wasm/src/org/graalvm/wasm/WasmOptions.java

  • The party doing the interpolation is responsible for the closing punctuation, not the source of the interpolated text.

…sages

modified:   substratevm/src/com.oracle.svm.core.genscavenge/src/com/oracle/svm/core/genscavenge/SerialGCOptions.java
modified:   substratevm/src/com.oracle.svm.core/src/com/oracle/svm/core/SubstrateOptions.java
modified:   substratevm/src/com.oracle.svm.core/src/com/oracle/svm/core/configure/ConfigurationFiles.java
modified:   substratevm/src/com.oracle.svm.core/src/com/oracle/svm/core/option/RuntimeOptionParser.java
modified:   substratevm/src/com.oracle.svm.hosted/src/com/oracle/svm/hosted/NativeImageOptions.java
modified:   substratevm/src/com.oracle.svm.hosted/src/com/oracle/svm/hosted/jdk/localization/LocalizationFeature.java
modified:   truffle/src/com.oracle.truffle.api.test/src/com/oracle/truffle/api/test/option/OptionProcessorTest.java
modified:   truffle/src/com.oracle.truffle.polyglot/src/com/oracle/truffle/polyglot/PolyglotEngineOptions.java
modified:   wasm/src/org.graalvm.wasm/src/org/graalvm/wasm/WasmOptions.java

- The party doing the interpolation is responsible for the closing punctuation, not the source of the interpolated text.

Signed-off-by: Ed Burns <[email protected]>
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Jul 4, 2025
@edburns edburns marked this pull request as ready for review July 4, 2025 00:17
@fniephaus
Copy link
Member

Thanks for the PR! Any way you could add a test to avoid these problems in the future?

edburns added 2 commits July 10, 2025 14:55
…sages

modified:   truffle/src/com.oracle.truffle.api/src/com/oracle/truffle/api/Option.java

Document that authors of `deprecationMessage` values must not include closing punctuation.

Signed-off-by: Ed Burns <[email protected]>
…sages

modified:   truffle/src/com.oracle.truffle.api.test/src/com/oracle/truffle/api/test/option/OptionProcessorTest.java

@fniephaus wrote:

> Any way you could add a test to avoid these problems in the future?

Signed-off-by: Ed Burns <[email protected]>
@edburns edburns marked this pull request as draft July 10, 2025 22:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCA Verified All contributors have signed the Oracle Contributor Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants