java反编译源代码处理技巧(2)-break
大恐龙 发表于 2007年11月20日 16:01
| if(fReentrant) { aoKey = SimpleEnumerator.toArray(iterator(), ao != null ? ao : OverflowMap.EMPTY_ARRAY); break MISSING_BLOCK_LABEL_238; } gate.close(-1L); int cKeys = mapOverflow.size(); if(ao == null) { aoKey = new Object[cKeys]; } else { int cElements = ao.length; if(cKeys > cElements) { aoKey = (Object[])Array.newInstance(((Object) (ao)).getClass().getComponentType(), cKeys); } else { aoKey = ao; if(cKeys < cElements) aoKey[cKeys] = null; } } int iKey = 0; Iterator iter = mapOverflow.getStatusMap().entrySet().iterator(); do { if(!iter.hasNext()) break; java.util.Map.Entry entry = (java.util.Map.Entry)iter.next(); Status status = (Status)entry.getValue(); if(status.isEntryExistent()) aoKey[iKey++] = entry.getKey(); } while(true); if(!$assertionsDisabled && iKey != cKeys) throw new AssertionError(); gate.open(); break MISSING_BLOCK_LABEL_238; |
if(fReentrant) { aoKey = SimpleEnumerator.toArray(iterator(), ao != null ? ao : OverflowMap.EMPTY_ARRAY); }else{ gate.close(-1L); int cKeys = mapOverflow.size(); if(ao == null) { aoKey = new Object[cKeys]; } else { int cElements = ao.length; if(cKeys > cElements) { aoKey = (Object[])Array.newInstance(((Object) (ao)).getClass().getComponentType(), cKeys); } else { aoKey = ao; if(cKeys < cElements) aoKey[cKeys] = null; } } int iKey = 0; Iterator iter = mapOverflow.getStatusMap().entrySet().iterator(); do { if(!iter.hasNext()) break; java.util.Map.Entry entry = (java.util.Map.Entry)iter.next(); Status status = (Status)entry.getValue(); if(status.isEntryExistent()) aoKey[iKey++] = entry.getKey(); } while(true); if(!$assertionsDisabled && iKey != cKeys) throw new AssertionError(); gate.open(); } |
发表评论

原创作品,转载请













![[Valid RSS]](http://www.w3cool.com//images/valid-rss.png)
![Validate my Atom 1.0 feed [Valid Atom 1.0]](http://www.w3cool.com//images/valid-atom.png)





