public void run()
    {
        Object msg = null;
_L1:
        msg = queue.pop();
        if(null != msg)
            onMessage(msg);
        else
            Thread.sleep(slp_millis);
        msg = null;
          goto _L1
        InterruptedException iex;
        iex;
        msg = null;
          goto _L1
        Exception ex;
        ex;
        msg = null;
          goto _L1
        Exception exception;
        exception;
        msg = null;
        throw exception;
    }

解决方案 »

  1.   

    学习……是不是用循环,然后用break label; & continue label;跳转的那
    Exception ex;
            ex;
    源代码应该是怎么写的。
      

  2.   

    这断代码就是隔一段时间就从队列中取消息,然后处理一下
    public void run{
      Object msg = null;
      while(1==1){
        msg=queue.pop();
        if(null!=msg)
          onMessage(msg);
        else
          Thread.sleep(slp_millis);
      }
    try{
    }catch(InterruptedException iex)
    }cathc(Exception ex){
    }
    }
      

  3.   

    哈哈,不好意思,那个
    try{
    应该移动到
    public void run{
    后面