Commit 4452e318 authored by Eric Bruneton's avatar Eric Bruneton

Address the merge request comments.

parent 66933e31
Pipeline #1274 passed with stage
in 6 minutes and 16 seconds
......@@ -127,9 +127,10 @@ public final class ModuleHashesAttribute extends Attribute {
int numModules = modules.size();
byteVector.putShort(numModules);
for (int i = 0; i < numModules; ++i) {
String module = modules.get(i);
byte[] hash = hashes.get(i);
byteVector
.putShort(classWriter.newModule(modules.get(i)))
.putShort(classWriter.newModule(module))
.putShort(hash.length)
.putByteArray(hash, 0, hash.length);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment