Commit d613d81
Simplify fix for array index out of bounds
Use simpler approach suggested by @trask:
- Change loop initialization from frames.size() - 1 to frames.size() - 2
- Keep original access pattern frames.get(i + 1)
This is cleaner and maintains the original code intent better.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent 2321a9b commit d613d81
File tree
1 file changed
+2
-2
lines changed- benchmark-jfr-analyzer/src/main/java/io/opentelemetry/javaagent/benchmark/jfr
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
| 68 | + | |
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
| 72 | + | |
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| |||
0 commit comments