Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 07 Jan 2019 00:26:56 +0000
From:      bugzilla-noreply@freebsd.org
To:        java@FreeBSD.org
Subject:   [Bug 234674] java/openjdk8: cannot connect to JVM to debug
Message-ID:  <bug-234674-8522-Upl1vzBMYD@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-234674-8522@https.bugs.freebsd.org/bugzilla/>
References:  <bug-234674-8522@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D234674

--- Comment #5 from Jonathan Chen <jonc@chen.org.nz> ---
Looking at Eclipse's source code at this point in time from
https://github.com/eclipse/eclipse.jdt.debug/blob/2ae2bfa90bb468fd74c09090a=
aa134e2a71fbfdd/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/jdwp/Jdw=
pString.java

...
23 public class JdwpString {
24      /**
25       * Reads String from Jdwp stream. Read a UTF where length has 4 byt=
es,
and
26       * not just 2. This code was based on the OTI Retysin source for
readUTF.
27       */
28      public static String read(DataInputStream in) throws IOException {
29              int utfSize =3D in.readInt();
30              byte utfBytes[] =3D new byte[utfSize];

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-234674-8522-Upl1vzBMYD>