Repository navigation
Commit 560bdbf
committed
Expect the modifier order of the pinned Valhalla build
The first run of the Valhalla leg sorted `value final public` to
`public value final`: the JEP 401 early-access builds declare VALUE
between NON_SEALED and FINAL in javax.lang.model.element.Modifier,
whose order ModifierOrderer follows. Upstream expects `final value`,
the order of Valhalla's lworld branch, where VALUE comes last. The
tests now expect what the pinned build does; re-check them when CI
moves to a newer build.1 parent ead0aee commit 560bdbf
2 files changed
Lines changed: 7 additions & 2 deletions
File tree
- open-java-format/src/test/java/com/palantir/javaformat/java
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
592 | 592 | | |
593 | 593 | | |
594 | 594 | | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
595 | 598 | | |
596 | | - | |
| 599 | + | |
597 | 600 | | |
598 | 601 | | |
599 | 602 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
| 124 | + | |
| 125 | + | |
124 | 126 | | |
125 | | - | |
| 127 | + | |
126 | 128 | | |
127 | 129 | | |
128 | 130 | | |
| |||
0 commit comments