Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
liach committed Sep 16, 2024
1 parent 54379a2 commit 6117a5b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ private void inflate() {
int singleBytes = JLA.countPositives(rawBytes, offset, rawLen);
int hash = ArraysSupport.hashCodeOfUnsigned(rawBytes, offset, singleBytes, 0);
if (singleBytes == rawLen) {
this.contentHash = hashString(hash);
this.contentHash = hash;
charLen = rawLen;
state = State.BYTE;
}
Expand Down Expand Up @@ -300,7 +300,7 @@ private void inflate() {
throw new CpException("malformed input around byte " + px);
}
}
this.contentHash = hashString(hash);
this.contentHash = hash;
charLen = chararr_count;
this.chars = chararr;
state = State.CHAR;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -544,8 +544,9 @@ AbstractPoolEntry.ClassEntryImpl cloneClassEntry(AbstractPoolEntry.ClassEntryImp
return ce;
}

var utf8 = maybeCloneUtf8Entry(e.ref1); // call order matters
return internalAdd(new AbstractPoolEntry.ClassEntryImpl(this, size,
maybeCloneUtf8Entry(e.ref1), e.hashCode(), e.sym));
utf8, e.hashCode(), e.sym));
}

@Override
Expand Down

0 comments on commit 6117a5b

Please sign in to comment.