-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4b288e5
commit 7166d75
Showing
11 changed files
with
602 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Unclear what is happening. | ||
Both diff are bad for a known equivalent bytecode. |
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file added
BIN
+1.67 KB
src/test/resources/EQ/DiffComp/82138/ecj-3.28.0_openjdk-11.0.19/DumpArchiveUtil.class
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
[=== | ||
insert-node | ||
--- | ||
IRETURN [0,0] | ||
to | ||
java.lang.classfile.CodeModel: CodeModel [0,0] | ||
at 18, === | ||
move-tree | ||
--- | ||
ILOAD_2: IntType [0,0] | ||
to | ||
java.lang.classfile.CodeModel: CodeModel [0,0] | ||
at 11, === | ||
move-tree | ||
--- | ||
SIPUSH [0,0] | ||
ShortType: 256 [0,0] | ||
to | ||
java.lang.classfile.CodeModel: CodeModel [0,0] | ||
at 11, === | ||
move-tree | ||
--- | ||
ICONST_0 [0,0] | ||
IntType: 0 [0,0] | ||
to | ||
java.lang.classfile.CodeModel: CodeModel [0,0] | ||
at 17] |
Binary file added
BIN
+1.74 KB
src/test/resources/EQ/DiffComp/82138/openjdk-17.0.1/DumpArchiveUtil.class
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Unclear what is happening here. | ||
Diffoscope shows some spurious diff but gumtree is also failing in this case. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
--- openjdk-17.0.1/TapeInputStream.class | ||
+++ ecj-3.28.0_openjdk-11.0.19/TapeInputStream.class | ||
├── procyon -ec {} | ||
│ @@ -123,36 +123,37 @@ | ||
│ int length = h >> 4 & 0xFFFFFFF; | ||
│ final byte[] compBuffer = this.readRange(length); | ||
│ this.bytesRead += length; | ||
│ if (!decompress) { | ||
│ Arrays.fill(this.blockBuffer, (byte)0); | ||
│ } | ||
│ else { | ||
│ - switch (TapeInputStream.TapeInputStream$1.$SwitchMap$org$apache$commons$compress$archivers$dump$DumpArchiveConstants$COMPRESSION_TYPE[DumpArchiveConstants.COMPRESSION_TYPE.find(flags & 0x3).ordinal()]) { | ||
│ - case 1: { | ||
│ + switch (DumpArchiveConstants.COMPRESSION_TYPE.find(flags & 0x3)) { | ||
│ + case ZLIB: { | ||
│ final Inflater inflator = new Inflater(); | ||
│ try { | ||
│ inflator.setInput(compBuffer, 0, compBuffer.length); | ||
│ length = inflator.inflate(this.blockBuffer); | ||
│ if (length != this.blockSize) { | ||
│ throw new ShortFileException(); | ||
│ } | ||
│ } | ||
│ catch (final DataFormatException e) { | ||
│ throw new DumpArchiveException("Bad data", (Throwable)e); | ||
│ } | ||
│ finally { | ||
│ inflator.end(); | ||
│ } | ||
│ + inflator.end(); | ||
│ break; | ||
│ } | ||
│ - case 2: { | ||
│ + case BZLIB: { | ||
│ throw new UnsupportedCompressionAlgorithmException("BZLIB2"); | ||
│ } | ||
│ - case 3: { | ||
│ + case LZO: { | ||
│ throw new UnsupportedCompressionAlgorithmException("LZO"); | ||
│ } | ||
│ default: { | ||
│ throw new UnsupportedCompressionAlgorithmException(); | ||
│ } | ||
│ } | ||
│ } |
Binary file added
BIN
+6.25 KB
src/test/resources/EQ/DiffComp/82141/ecj-3.28.0_openjdk-11.0.19/TapeInputStream.class
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,88 @@ | ||
[=== | ||
update-node | ||
--- | ||
METHOD_INVOKED_RETURN_TYPE: ()V [0,0] | ||
replace ()V by (Ljava/lang/String;)V, === | ||
delete-node | ||
--- | ||
GETSTATIC [0,0] | ||
===, === | ||
delete-node | ||
--- | ||
INVOKEVIRTUAL [0,0] | ||
===, === | ||
insert-node | ||
--- | ||
java.lang.classfile.FieldModel [0,0] | ||
to | ||
root [0,5945] | ||
at 9, === | ||
insert-node | ||
--- | ||
java.lang.classfile.MethodModel [0,0] | ||
to | ||
root [0,5945] | ||
at 23, === | ||
insert-node | ||
--- | ||
INVOKESTATIC [0,0] | ||
to | ||
java.lang.classfile.CodeModel: CodeModel [0,0] | ||
at 82, === | ||
move-tree | ||
--- | ||
ILOAD_3: IntType [0,0] | ||
to | ||
java.lang.classfile.CodeModel: CodeModel [0,0] | ||
at 58, === | ||
move-tree | ||
--- | ||
ILOAD: IntType [0,0] | ||
to | ||
java.lang.classfile.CodeModel: CodeModel [0,0] | ||
at 58, === | ||
move-tree | ||
--- | ||
INVOKEVIRTUAL [0,0] | ||
METHOD_OWNER: java/util/zip/Inflater [0,0] | ||
METHOD_INVOKED_NAME: end [0,0] | ||
METHOD_INVOKED_RETURN_TYPE: ()V [0,0] | ||
to | ||
java.lang.classfile.CodeModel: CodeModel [0,0] | ||
at 116, === | ||
move-tree | ||
--- | ||
ALOAD: ReferenceType [0,0] | ||
to | ||
java.lang.classfile.CodeModel: CodeModel [0,0] | ||
at 118, === | ||
move-tree | ||
--- | ||
INVOKEVIRTUAL [0,0] | ||
METHOD_OWNER: java/util/zip/Inflater [0,0] | ||
METHOD_INVOKED_NAME: end [0,0] | ||
METHOD_INVOKED_RETURN_TYPE: ()V [0,0] | ||
to | ||
java.lang.classfile.CodeModel: CodeModel [0,0] | ||
at 118, === | ||
move-tree | ||
--- | ||
INVOKESPECIAL [0,0] | ||
METHOD_OWNER: java/lang/StringBuilder [0,0] | ||
METHOD_INVOKED_NAME: <init> [0,0] | ||
METHOD_INVOKED_RETURN_TYPE: ()V [0,0] | ||
to | ||
java.lang.classfile.CodeModel: CodeModel [0,0] | ||
at 10, === | ||
move-tree | ||
--- | ||
LLOAD_1: LongType [0,0] | ||
to | ||
java.lang.classfile.CodeModel: CodeModel [0,0] | ||
at 51, === | ||
move-tree | ||
--- | ||
LLOAD_3: LongType [0,0] | ||
to | ||
java.lang.classfile.CodeModel: CodeModel [0,0] | ||
at 51] |
Binary file added
BIN
+5.81 KB
src/test/resources/EQ/DiffComp/82141/openjdk-17.0.1/TapeInputStream.class
Binary file not shown.