diff --git a/aQute.libg/src/aQute/lib/json/JSONCodec.java b/aQute.libg/src/aQute/lib/json/JSONCodec.java index 4d1fe852c5..cd76dbf94b 100644 --- a/aQute.libg/src/aQute/lib/json/JSONCodec.java +++ b/aQute.libg/src/aQute/lib/json/JSONCodec.java @@ -390,7 +390,7 @@ protected String parseString(Decoder r) throws Exception { char quote = (char) r.current(); assert r.current() == '"' || (promiscuous && r.current == '\''); - int c = r.next(); // skip first " + int c = r.read(); // skip first " StringBuilder sb = new StringBuilder(); while (c != quote) {