fix issues with wrong magic number on PBX
JaCoCo Coverage #### Project Overview
No changes detected, that affect the code coverage.
* Line Coverage: 61.37% (17351/28272)
* Branch Coverage: 52.31% (6722/12850)
* Lines of Code: 28272
* Cyclomatic Complexity: 11325
#### Quality Gates Summary
Output truncated.
Test / Build skipped: 15, passed: 601
Intrepid/Prometeu/Studio/pipeline/head This commit looks good
JaCoCo Coverage #### Project Overview
No changes detected, that affect the code coverage.
* Line Coverage: 61.37% (17351/28272)
* Branch Coverage: 52.31% (6722/12850)
* Lines of Code: 28272
* Cyclomatic Complexity: 11325
#### Quality Gates Summary
Output truncated.
Test / Build skipped: 15, passed: 601
Intrepid/Prometeu/Studio/pipeline/head This commit looks good
This commit is contained in:
+1
-2
@@ -73,7 +73,7 @@ public record BytecodeModule(
|
||||
|
||||
final var out = new ByteArrayOutputStream();
|
||||
|
||||
out.writeBytes(new byte[] { 'P', 'B', 'S', 0 });
|
||||
out.writeBytes(new byte[] { 'P', 'B', 'X', 0 });
|
||||
writeU16(out, version & 0xFFFF);
|
||||
out.write(0);
|
||||
out.write(0);
|
||||
@@ -343,4 +343,3 @@ public record BytecodeModule(
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+1
-2
@@ -18,7 +18,7 @@ class BytecodeModuleTest {
|
||||
|
||||
assertEquals('P', bytes[0]);
|
||||
assertEquals('B', bytes[1]);
|
||||
assertEquals('S', bytes[2]);
|
||||
assertEquals('X', bytes[2]);
|
||||
assertEquals(0, bytes[3]);
|
||||
|
||||
final var sectionCount = readU32(bytes, 8);
|
||||
@@ -77,4 +77,3 @@ class BytecodeModuleTest {
|
||||
return ByteBuffer.wrap(bytes, offset, 4).order(ByteOrder.LITTLE_ENDIAN).getInt();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
504253000000000004000000000000000000000000000000000000000000000001000000500000001400000002000000640000000e00000003000000720000004400000005000000b60000001d00000001000000000000000e000000000000000000020071000000000072000020000051000300000000000000010000000000000000000000060000000100000000000000000000000c0000000100000000000000000000000100000000000000040000006d61696e01000000050067667832640a00647261775f706978656c010000000000
|
||||
504258000000000004000000000000000000000000000000000000000000000001000000500000001400000002000000640000000e00000003000000720000004400000005000000b60000001d00000001000000000000000e000000000000000000020071000000000072000020000051000300000000000000010000000000000000000000060000000100000000000000000000000c0000000100000000000000000000000100000000000000040000006d61696e01000000050067667832640a00647261775f706978656c010000000000
|
||||
|
||||
Reference in New Issue
Block a user