[Bug 234674] java/openjdk8: cannot connect to JVM to debug
    bugzilla-noreply at freebsd.org 
    bugzilla-noreply at freebsd.org
       
    Mon Jan  7 00:26:58 UTC 2019
    
    
  
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234674
--- Comment #5 from Jonathan Chen <jonc at chen.org.nz> ---
Looking at Eclipse's source code at this point in time from
https://github.com/eclipse/eclipse.jdt.debug/blob/2ae2bfa90bb468fd74c09090aaa134e2a71fbfdd/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/jdwp/JdwpString.java
...
23 public class JdwpString {
24      /**
25       * Reads String from Jdwp stream. Read a UTF where length has 4 bytes,
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 = in.readInt();
30              byte utfBytes[] = new byte[utfSize];
-- 
You are receiving this mail because:
You are the assignee for the bug.
    
    
More information about the freebsd-java
mailing list