Commit b5256d4
committed
build: pin file.encoding so the Maven build generates the parser on Windows
JJTree reads the .jjt under GRAMMAR_ENCODING but writes the intermediate .jj
with the JVM default charset. On a platform whose default is a legacy code
page the grammar's Unicode character classes are written lossily, and JavaCC
then rejects the mangled ranges:
Error: Line 2331, Column 294: Right end of character range '?' has a
lower ordinal value than the left end of character range '?'.
The Gradle build has pinned -Dfile.encoding=UTF-8 in gradle.properties since
2021, which is why only the Maven build is affected. Give it the same pin via
.mvn/jvm.config and put windows-latest back in the maven_verify matrix.1 parent 6c726d8 commit b5256d4
3 files changed
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
68 | | - | |
| 67 | + | |
69 | 68 | | |
70 | 69 | | |
71 | 70 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
426 | 426 | | |
427 | 427 | | |
428 | 428 | | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
429 | 434 | | |
430 | 435 | | |
431 | 436 | | |
| |||
0 commit comments