aboutsummaryrefslogtreecommitdiff
path: root/lib/compilers/java.ts
diff options
context:
space:
mode:
authorJeremy <51220084+jeremy-rifkin@users.noreply.github.com>2023-06-21 10:32:57 -0400
committerJeremy <51220084+jeremy-rifkin@users.noreply.github.com>2023-06-21 10:32:57 -0400
commit2c60696d3de006d79545c4d57e7fd3d833cd9e74 (patch)
tree175d9702fbee58faf645ecbbd269675f3295253b /lib/compilers/java.ts
parentcf89c52f3aee8def3f523144598b3e920b8616fc (diff)
downloadcompiler-explorer-2c60696d3de006d79545c4d57e7fd3d833cd9e74.tar.gz
compiler-explorer-2c60696d3de006d79545c4d57e7fd3d833cd9e74.zip
Add temporary triage for #2986gh-7919
Diffstat (limited to 'lib/compilers/java.ts')
-rw-r--r--lib/compilers/java.ts6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/compilers/java.ts b/lib/compilers/java.ts
index c01940c57..429e2f513 100644
--- a/lib/compilers/java.ts
+++ b/lib/compilers/java.ts
@@ -351,7 +351,11 @@ export class JavaCompiler extends BaseCompiler {
method.instructions[currentInstr].instrOffset !== instrOffset
) {
if (currentSourceLine === -1) {
- logger.error('Skipping over instruction even though currentSourceLine == -1');
+ // TODO: Triage for #2986
+ logger.error(
+ 'Skipping over instruction even though currentSourceLine == -1',
+ JSON.stringify(method.instructions.slice(0, currentInstr + 10)),
+ );
} else {
// instructions without explicit line number get assigned the last explicit/same line number
method.instructions[currentInstr].sourceLine = currentSourceLine;