Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/java/354.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
关于java中无法访问的代码,我遇到了一些错误,如何修复它。我使用eclipse霓虹灯_Java - Fatal编程技术网

关于java中无法访问的代码,我遇到了一些错误,如何修复它。我使用eclipse霓虹灯

关于java中无法访问的代码,我遇到了一些错误,如何修复它。我使用eclipse霓虹灯,java,Java,我有来自github的代码,当我重新编译时,我在这里得到了关于不可访问代码的错误。这里是我的源代码。这里不可访问的代码是什么意思?如何修复它 class z implements Runnable { w a; final OrderClient b; private static final String[] c; public z(final OrderClient b, final w a) { this.b = b;

我有来自github的代码,当我重新编译时,我在这里得到了关于不可访问代码的错误。这里是我的源代码。这里不可访问的代码是什么意思?如何修复它

class z implements Runnable
{
    w a;
    final OrderClient b;
    private static final String[] c;
    
    public z(final OrderClient b, final w a) {
        this.b = b;
        this.a = a;
    }
    
    @Override
    public void run() {
        try {
            this.executeTransaction();
        }
        catch (Exception exception) {
            this.b.onProgress(null, ProgressType.Exception, this.a.e, exception);
        }
    }
    
    public Order executeTransaction() throws TimeoutException, ConnectException, InterruptedException {
        final boolean b = Order.b;
        int i = 0;
        final boolean b2 = b;
        while (i < this.b.TradeTimeout) {
            if (this.a.b != null) {
                throw this.a.b;
            }
            if (this.a.d != null) {
                return E.b(this.a.d, 0);
            }
            if (!this.b.QuoteClient.Connected()) {
                throw new ConnectException(new Exception(z.c[1]), this.b.Log);
            }
            try {
                Thread.sleep(1L);
            }
            catch (InterruptedException ex4) {}
            ++i;
            if (b2) {
                break;
            }
        }
        final StringBuilder sb = new StringBuilder();
        final String[] c = z.c;
        throw new TimeoutException(sb.append(c[2]).append(this.b.TradeTimeout).append(c[0]).toString(), this.b.Log);
    }
    
    static {
        final String[] c2 = new String[3];
        int n = 0;
        final String s;
        final int length = (s = "7{`&Ty}\u001dt\u000bZ~y}S}\u0007]c6w\u0006c\u0001@p6|\u0001u\r\\7sk\u0016r\u001dZ~y}\u0018Yy3\u0001t\u0018Bn6u\u0001~\u0005\u000edsa\u0005t\u001a\u000e~x3").length();
        int char1 = 3;
        int index = -1;
        Label_0021: {
            break Label_0021;
            do {
                char1 = s.charAt(index);
                ++index;
                final String s2 = s;
                final int beginIndex = index;
                final char[] charArray = s2.substring(beginIndex, beginIndex + char1).toCharArray();
                int length2;
                int n3;
                final int n2 = n3 = (length2 = charArray.length);
                int n4 = 0;
                while (true) {
                    Label_0184: {
                        if (n2 > 1) {
                            break Label_0184;
                        }
                        length2 = (n3 = n4);
                        do {
                            final char c3 = charArray[n3];
                            char c4 = '\0';
                            switch (n4 % 7) {
                                case 0: {
                                    c4 = '\u0017';
                                    break;
                                }
                                case 1: {
                                    c4 = '\u0016';
                                    break;
                                }
                                case 2: {
                                    c4 = '\u0013';
                                    break;
                                }
                                case 3: {
                                    c4 = 's';
                                    break;
                                }
                                case 4: {
                                    c4 = '\u0011';
                                    break;
                                }
                                case 5: {
                                    c4 = 'h';
                                    break;
                                }
                                default: {
                                    c4 = '.';
                                    break;
                                }
                            }
                            charArray[length2] = (char)(c3 ^ c4);
                            ++n4;
                        } while (n2 == 0);
                    }
                    if (n2 > n4) {
                        continue;
                    }
                    break;
                }
                c2[n++] = new String(charArray).intern();
            } while ((index += char1) < length);
        }
        c = c2;
    }
}
z类实现可运行
{
w a;
最终订单客户b;
私有静态最终字符串[]c;
公共z(最终订单客户b,最终w a){
这个.b=b;
这个a=a;
}
@凌驾
公开募捐{
试一试{
this.executeTransaction();
}
捕获(异常){
this.b.onProgress(null,ProgressType.Exception,this.a.e,Exception);
}
}
public Order executeTransaction()引发TimeoutException、ConnectException、InterruptedException{
最终布尔值b=顺序.b;
int i=0;
最终布尔b2=b;
而(i1){
打破标签_0184;
}
长度2=(n3=n4);
做{
最终字符c3=字符[n3];
字符c4='\0';
交换机(n4%7){
案例0:{
c4='\u0017';
打破
}
案例1:{
c4='\u0016';
打破
}
案例2:{
c4='\u0013';
打破
}
案例3:{
c4=‘s’;
打破
}
案例4:{
c4='\u0011';
打破
}
案例5:{
c4=‘h’;
打破
}
默认值:{
c4=';
打破
}
}
charArray[length2]=(char)(c3^c4);
++n4;
}而(n2==0);
}
如果(n2>n4){
持续
}
打破
}
c2[n++]=新字符串(charArray).intern();
}而((索引+=字符1)<长度);
}
c=c2;
}
}
当我试图编译时,段中有一个错误。因为无法访问代码而出错为什么这样

 do {
                char1 = s.charAt(index);
                ++index;
                final String s2 = s;
                final int beginIndex = index;
                final char[] charArray = s2.substring(beginIndex, beginIndex + char1).toCharArray();
                int length2;
                int n3;
                final int n2 = n3 = (length2 = charArray.length);
                int n4 = 0;
                while (true) {
                    Label_0184: {
                        if (n2 > 1) {
                            break Label_0184;
                        }
                        length2 = (n3 = n4);
                        do {
                            final char c3 = charArray[n3];
                            char c4 = '\0';
                            switch (n4 % 7) {
                                case 0: {
                                    c4 = '\u0017';
                                    break;
                                }
                                case 1: {
                                    c4 = '\u0016';
                                    break;
                                }
                                case 2: {
                                    c4 = '\u0013';
                                    break;
                                }
                                case 3: {
                                    c4 = 's';
                                    break;
                                }
                                case 4: {
                                    c4 = '\u0011';
                                    break;
                                }
                                case 5: {
                                    c4 = 'h';
                                    break;
                                }
                                default: {
                                    c4 = '.';
                                    break;
                                }
                            }
                            charArray[length2] = (char)(c3 ^ c4);
                            ++n4;
                        } while (n2 == 0);
                    }
                    if (n2 > n4) {
                        continue;
                    }
                    break;
                }
                c2[n++] = new String(charArray).intern();
            } while ((index += char1) < length);
        }
        c = c2;
    }
do{
char1=s.charAt(索引);
++指数;
最终字符串s2=s;
最终int beginIndex=索引;
final char[]charArray=s2.子字符串(beginIndex,beginIndex+char1).toCharray();
int长度2;
int n3;
最终整数n2=n3=(长度2=字符长度);
int n4=0;
while(true){
标签_0184:{
如果(n2>1){
打破标签_0184;
}
长度2=(n3=n4);
做{
最终字符c3=字符[n3];
字符c4='\0';
交换机(n4%7){
案例0:{
c4='\u0017';
打破
}
案例1:{
c4='\u0016';
打破
}
案例2:{
c4='\u0013';
打破
}
案例3
Label_0021: {
            break Label_0021;