summaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.lfs.server/src/org/eclipse
diff options
context:
space:
mode:
authorThomas Wolf <thomas.wolf@paranor.ch>2020-11-19 13:23:05 +0100
committerMatthias Sohn <matthias.sohn@sap.com>2020-11-19 21:07:25 +0100
commite2663a8b85cf92f6a84d72834257243a84066e9d (patch)
tree7325246b2196396be2be10628d0f602f18644d8d /org.eclipse.jgit.lfs.server/src/org/eclipse
parented9992896a9e8b2903f968fbfc007d1154335d18 (diff)
downloadjgit-e2663a8b85cf92f6a84d72834257243a84066e9d.tar.gz
jgit-e2663a8b85cf92f6a84d72834257243a84066e9d.zip
PacketLineIn: ensure that END != DELIM
Just allocate the two string objects directly. The previously used new StringBuilder(0).toString() returns the same object for both END and DELIM when run on Java 15, which breaks the wire protocol since then END and DELIM cannot be distinguished anymore. Bug: 568950 Change-Id: I9d54d7bf484948c24b51a094256bd9d38b085f35 Signed-off-by: Thomas Wolf <thomas.wolf@paranor.ch> (cherry picked from commit 7da0f0a8f37e35e9c3108588f1e6f7a7381d8f77)
Diffstat (limited to 'org.eclipse.jgit.lfs.server/src/org/eclipse')
0 files changed, 0 insertions, 0 deletions