Topic: 这段代码 怎么看?

  Print this page

1.这段代码 怎么看? Copy to clipboard
Posted by: terry39
Posted on: 2003-04-10 09:14


void setFirewallPort(int i)
throws IPWorksException
{
Object obj = syncObj;
obj;
JVM INSTR monitorenter ;
if(connectionState == 0 || connectionState == 3)
firewallPort = i;
else
throw new IPWorksException(503);
obj;
JVM INSTR monitorexit ;
break MISSING_BLOCK_LABEL_51;
Exception exception;
exception;
obj;
JVM INSTR monitorexit ;
throw exception;
}

2.Re:这段代码 怎么看? [Re: terry39] Copy to clipboard
Posted by: terry39
Posted on: 2003-04-10 09:17

不太理解

 JVM INSTR monitorenter ; 


Exception exception;

还有

Exception exception;
exception;
obj;
JVM INSTR monitorexit ;
throw exception;

3.Re:这段代码 怎么看? [Re: terry39] Copy to clipboard
Posted by: diystar
Posted on: 2003-04-10 09:31

呵呵,这是你反编译的吧,所以会显示java汇编

4.Re:这段代码 怎么看? [Re: terry39] Copy to clipboard
Posted by: terry39
Posted on: 2003-04-10 14:14

是呀 ... 我反汇编 出来的 ... 看不懂

5.Re:这段代码 怎么看? [Re: terry39] Copy to clipboard
Posted by: snowbug
Posted on: 2003-04-12 00:38

源代码大致如下:

void setFirewallPort(int i) throws IPWorksException {
Object obj = syncObj;
synchronized(obj){
if(connectionState == 0 || connectionState == 3)
firewallPort = i;
else
throw new IPWorksException(503);
}
}

6.Re:这段代码 怎么看? [Re: terry39] Copy to clipboard
Posted by: sportscar
Posted on: 2003-04-17 09:24

snowbug 高手!


   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923