public
int
sendRep()
... { int i =0; synchronized(conn) ...{ try ...{ conn.bout.write(headbytes); conn.bout.write(bodybytes); conn.bout.flush(); } catch(IOException e) ...{ System.out.println(e.toString()); i = -5; return i; } catch(NullPointerException npe) ...{ i = -5; return -5; } } return i; } |
public
int
sendRep()
... { int i = 0; cmppSocket cmppsocket = conn; JVM INSTR monitorenter ; conn.bout.write(headbytes); conn.bout.write(bodybytes); conn.bout.flush(); goto _L1 IOException e; e; System.out.println(e.toString()); i = -5; return i; NullPointerException npe; npe; i = -5; -5; cmppsocket; JVM INSTR monitorexit ; return; _L1: cmppsocket; JVM INSTR monitorexit ; goto _L2 Exception exception; exception; cmppsocket; JVM INSTR monitorexit ; throw exception; _L2: return i; } |
反编译:java代码中含有同步和异常的反编译前后代码对照的一个例子(xiongjy)
最新推荐文章于 2021-04-01 23:30:07 发布