Repository navigation
Commit 1dd2938
committed
Issue #178: share normalizeIndex through JsonPathHelpers
Moves the slice index normalization into the helpers shared by both engines
so the interpreted and compiled engines normalize slice bounds identically;
the interpreter now delegates. All 100 existing JsonPath tests pass on both
JDK 21 and JDK 25.
To verify: mvn -pl json-java21-jsonpath test
-Djava.util.logging.ConsoleHandler.level=INFO (100 tests green).1 parent 826f437 commit 1dd2938
2 files changed
Lines changed: 12 additions & 11 deletions
File tree
- json-java21-jsonpath/src/main/java/json/java21/jsonpath
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
121 | 129 | | |
122 | 130 | | |
123 | 131 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
145 | | - | |
146 | | - | |
| 145 | + | |
| 146 | + | |
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
| |||
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
155 | | - | |
156 | | - | |
| 155 | + | |
| 156 | + | |
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
| |||
164 | 164 | | |
165 | 165 | | |
166 | 166 | | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | 167 | | |
175 | 168 | | |
176 | 169 | | |
| |||
0 commit comments