< prev index next >

src/jdk.jdi/share/classes/com/sun/tools/jdi/ProcessAttachingConnector.java

Print this page

        

*** 126,136 **** ts = new SocketTransportService(); } else { if (lib.equals("dt_shmem")) { try { Class<?> c = Class.forName("com.sun.tools.jdi.SharedMemoryTransportService"); ! ts = (TransportService)c.newInstance(); } catch (Exception x) { } } } if (ts == null) { throw new IOException("Transport " + lib + " not recognized"); --- 126,138 ---- ts = new SocketTransportService(); } else { if (lib.equals("dt_shmem")) { try { Class<?> c = Class.forName("com.sun.tools.jdi.SharedMemoryTransportService"); ! @SuppressWarnings("deprecation") ! Object tmp = c.newInstance(); ! ts = (TransportService)tmp; } catch (Exception x) { } } } if (ts == null) { throw new IOException("Transport " + lib + " not recognized");
< prev index next >