2668N/A * Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved. 2668N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 2668N/A * This code is free software; you can redistribute it and/or modify it 2668N/A * under the terms of the GNU General Public License version 2 only, as 2668N/A * published by the Free Software Foundation. Oracle designates this 2668N/A * particular file as subject to the "Classpath" exception as provided 2668N/A * by Oracle in the LICENSE file that accompanied this code. 2668N/A * This code is distributed in the hope that it will be useful, but WITHOUT 2668N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 2668N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 2668N/A * version 2 for more details (a copy is included in the LICENSE file that 2668N/A * You should have received a copy of the GNU General Public License version 2668N/A * 2 along with this work; if not, write to the Free Software Foundation, 2668N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 2668N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 2668N/A * or visit www.oracle.com if you need additional information or have any 2668N/Apackage xmlkit;
// -*- mode: java; indent-tabs-mode: nil -*- 2668N/A +
"-jcov $ \n -nojcov !-jcov \n" 2668N/A +
"-verbose $ \n -noverbose !-verbose \n" 2668N/A +
"-pretty $ \n -nopretty !-pretty \n" 2668N/A +
"-keepPath $ \n -nokeepPath !-keepPath \n" 2668N/A +
"-keepCP $ \n -nokeepCP !-keepCP \n" 2668N/A +
"-keepBytes $ \n -nokeepBytes !-keepBytes \n" 2668N/A +
"-parseBytes $ \n -noparseBytes !-parseBytes \n" 2668N/A +
"-resolveRefs $ \n -noresolveRefs !-resolveRefs \n" 2668N/A +
"-keepOrder $ \n -nokeepOrder !-keepOrder \n" 2668N/A +
"-keepSizes $ \n -nokeepSizes !-keepSizes \n" 2668N/A +
"-continue $ \n -nocontinue !-continue \n" 2668N/A //System.out.println(props+" ++ "+av); 2668N/A if (dest == null && av.size() > 1) { 2668N/A dest = File.createTempFile("TestOut", ".dir", new File(".")); 2668N/A throw new RuntimeException("Cannot create "+dest); 2668N/A System.out.println("Writing results to "+dest); 2668N/A //System.out.println(e.prettyString()); 2668N/A // encoding in DEFAULT, '', UTF8, 8BIT, , or any valid encoding name 2668N/A // encoding in DEFAULT, '', UTF8, 8BIT, , or any valid encoding name 2668N/A // Superset of Modifier.toString. 2668N/A //System.out.println("Warning: No attribute type description: "+qname); 2668N/A // ignore this attribute... 2668N/A // parse according to type desc. 2668N/A // delve into Code attribute 2668N/A // delve into StackMap attribute 2668N/A // delve into StackMap attribute 2668N/A //System.out.println("attachTo 1 "+y+" <- "+aval); 2668N/A //System.out.println("attachTo 2 "+x+" <- "+y); 2668N/A //System.out.println("attachTo "+x+" : "+aval0); 2668N/A //System.out.println("attachAttrTo "+x+" : "+aname+"="+aval); 2668N/A //System.out.println("readAttribute "+type); 2668N/A // elem_placement = '<' elemname '>' 2668N/A // attr_placement = '<' attrname '=' (value)? '>' 2668N/A // ...else subsequent type parsing will find the attr value 2668N/A // and add it as "nextAttrName". 2668N/A case 'N':
// replication = 'N' int '[' type ... ']' 2668N/A case 'T':
// union = 'T' any_int union_case* '(' ')' '[' body ']' 2668N/A ++i;
// skip the int type char 2668N/A // union_case = '(' uc_tag (',' uc_tag)* ')' '[' body ']' 2668N/A case 'I':
// int = oneof "BHI" 2668N/A case 'S':
// signed_int = 'S' int 2668N/A //System.out.println("readAttribute => "+aval); 2668N/A // Yuck: Arb. string cannot be an XML attribute. 2668N/A // Scan local and stack types in this frame: 2668N/A // do fieldref et al after nameandtype are all resolved 2668N/A return ((
long)
u4() <<
32) + (((
long)
u4() <<
32) >>>
32);
2668N/A return 0;
// error recovery