/openjdk9/nashorn/test/script/basic/ |
H A D | NASHORN-235.js | 25 * NASHORN-235 : Cannot set stack property of an Error object 32 e.stack = []; 34 if (! (e.stack instanceof Array)) { 35 fail("e.stack is not an Array"); 38 if (e.stack.length !== 0) { 39 fail("e.stack.length !== 0"); 42 e.stack = "no stack"; 43 if (e.stack !== "no stack") { [all...] |
H A D | JDK-8156896.js | 25 * JDK-8156896: Script stack trace should display function names 31 function checkNamedFunction(stack) { 32 Assert.assertTrue(stack.indexOf("Error\n\tat bar (") === 0); 35 function checkAnonymousFunction(stack) { 36 Assert.assertTrue(stack.indexOf("Error\n\tat <anonymous> (") === 0); 40 function bar() { try { throw new Error(); } catch(e) { return e.stack; } } 43 bar = function() { try { throw new Error(); } catch(e) { return e.stack; } }; 46 f = (function() {return function bar() { try { throw new Error(); } catch(e) { return e.stack; } } })(); 49 f = new Function("return function bar() { try { throw new Error(); } catch(e) { return e.stack; } }")(); 53 checkAnonymousFunction((function() { try { throw new Error(); } catch(e) { return e.stack; } })()); [all...] |
H A D | JDK-8032068.js | 35 print(e.stack.replace(/\\/g, '/')); 41 print(e.stack.replace(/\\/g, '/')); 48 print(e.stack.replace(/\\/g, '/')); 54 print(e.stack.replace(/\\/g, '/'));
|
H A D | JDK-8012164.js | 26 * JDK-8012164: Error.stack needs trimming 51 function printFrame(stack) { 52 var fileName = stack.fileName.replace(/\\/g, '/'); 53 var className = stack.className.replace(/\\/g, '/'); 54 print(className + '.' + stack.methodName + '(' + 55 fileName + ':' + stack.lineNumber + ')');
|
H A D | JDK-8030809.js | 25 * JDK-8030809: Anonymous functions should not be shown with internal names in script stack trace 40 print(e.stack.replace(/\\/g, '/'));
|
H A D | JDK-8025515.js | 33 function getFirstScriptFrame(stack) { 34 for (frameNum in stack) { 35 var frame = stack[frameNum]; 47 var stack = e.nashornException.getStackTrace(); 48 var name = getFirstScriptFrame(stack).methodName;
|
H A D | JDK-8031983.js | 25 * JDK-8031983: Error objects should capture stack at the constructor 38 print(e.stack.replace(/\\/g, '/')); 46 print(e.stack.replace(/\\/g, '/')); 54 print(e.stack.replace(/\\/g, '/'));
|
/openjdk9/langtools/test/tools/javac/generics/wildcards/neg/ |
H A D | Unbounded.java | 13 Stack<?> stack = null; 14 String o = stack.pop();
|
/openjdk9/corba/src/jdk.rmic/share/classes/sun/rmi/rmic/iiop/ |
H A D | NCClassType.java | 63 ContextStack stack) { 65 if (stack.anyErrors()) return null; 72 Type existing = getType(theType,stack); 84 NCClassType it = new NCClassType(stack, classDef); 85 putType(theType,it,stack); 86 stack.push(it); 89 if (it.initialize(stack)) { 90 stack.pop(true); 93 removeType(theType,stack); 94 stack 62 forNCClass(ClassDefinition classDef, ContextStack stack) argument 118 NCClassType(ContextStack stack, ClassDefinition classDef) argument 129 initialize(ContextStack stack) argument [all...] |
H A D | RemoteType.java | 62 ContextStack stack, 65 if (stack.anyErrors()) return null; 74 Type existing = getType(theType,stack); 87 if (couldBeRemote(quiet,stack,classDef)) { 91 RemoteType it = new RemoteType(stack,classDef); 92 putType(theType,it,stack); 93 stack.push(it); 96 if (it.initialize(quiet,stack)) { 97 stack.pop(true); 100 removeType(theType,stack); 61 forRemote(ClassDefinition classDef, ContextStack stack, boolean quiet) argument 126 RemoteType(ContextStack stack, ClassDefinition classDef) argument 134 RemoteType(ContextStack stack, ClassDefinition classDef, int typeCode) argument 143 couldBeRemote(boolean quiet, ContextStack stack, ClassDefinition classDef) argument 167 initialize(boolean quiet,ContextStack stack) argument 204 isConformingRemoteInterface( Vector directInterfaces, Vector directMethods, Vector directConstants, boolean quiet, ContextStack stack) argument [all...] |
H A D | NCInterfaceType.java | 60 ContextStack stack) { 61 if (stack.anyErrors()) return null; 68 Type existing = getType(theType,stack); 79 NCInterfaceType it = new NCInterfaceType(stack, classDef); 80 putType(theType,it,stack); 81 stack.push(it); 84 if (it.initialize(stack)) { 85 stack.pop(true); 88 removeType(theType,stack); 89 stack 59 forNCInterface( ClassDefinition classDef, ContextStack stack) argument 113 NCInterfaceType(ContextStack stack, ClassDefinition classDef) argument 124 initialize(ContextStack stack) argument [all...] |
H A D | AbstractType.java | 62 ContextStack stack, 73 Type existing = getType(theType,stack); 87 if (couldBeAbstract(stack,classDef,quiet)) { 91 AbstractType it = new AbstractType(stack, classDef); 92 putType(theType,it,stack); 93 stack.push(it); 96 if (it.initialize(quiet,stack)) { 97 stack.pop(true); 100 removeType(theType,stack); 101 stack 61 forAbstract(ClassDefinition classDef, ContextStack stack, boolean quiet) argument 126 AbstractType(ContextStack stack, ClassDefinition classDef) argument 135 couldBeAbstract(ContextStack stack, ClassDefinition classDef, boolean quiet) argument 163 initialize(boolean quiet,ContextStack stack) argument [all...] |
H A D | SpecialClassType.java | 67 ContextStack stack) { 68 if (stack.anyErrors()) return null; 74 String typeKey = type.toString() + stack.getContextCodeString(); 76 Type existing = getType(typeKey,stack); 89 int typeCode = getTypeCode(type,theClass,stack); 95 SpecialClassType result = new SpecialClassType(stack,typeCode,theClass); 96 putType(typeKey,result,stack); 97 stack.push(result); 98 stack.pop(true); 121 private SpecialClassType(ContextStack stack, in argument 66 forSpecial(ClassDefinition theClass, ContextStack stack) argument 163 getTypeCode(sun.tools.java.Type type, ClassDefinition theClass, ContextStack stack) argument [all...] |
H A D | ImplementationType.java | 64 ContextStack stack, 66 if (stack.anyErrors()) return null; 75 Type existing = getType(theType,stack); 89 if (couldBeImplementation(quiet,stack,classDef)) { 93 ImplementationType it = new ImplementationType(stack, classDef); 94 putType(theType,it,stack); 95 stack.push(it); 98 if (it.initialize(stack,quiet)) { 99 stack.pop(true); 102 removeType(theType,stack); 63 forImplementation(ClassDefinition classDef, ContextStack stack, boolean quiet) argument 129 ImplementationType(ContextStack stack, ClassDefinition classDef) argument 134 couldBeImplementation(boolean quiet, ContextStack stack, ClassDefinition classDef) argument 157 initialize(ContextStack stack, boolean quiet) argument 242 checkMethods(ClassDefinition theClass, Vector list, ContextStack stack, boolean quiet) argument 267 updateExceptions(MemberDefinition implMethod, Method[] list, ContextStack stack, boolean quiet) argument [all...] |
/openjdk9/hotspot/test/serviceability/tmtools/jstack/utils/ |
H A D | Format.java | 32 public JStack parse(String stack); argument
|
/openjdk9/jaxws/src/jdk.xml.bind/share/classes/com/sun/xml/internal/rngom/xml/sax/ |
H A D | XmlBaseHandler.java | 54 private Entry stack = null; field in class:XmlBaseHandler 72 if (stack != null && stack.depth == depth) 73 stack = stack.parent; 79 entry.parent = stack; 80 stack = entry; 91 return getBaseUri1(getSystemId(), stack); 94 private static String getBaseUri1(String baseUri, Entry stack) { argument 95 if (stack [all...] |
/openjdk9/jaxp/src/java.xml/share/classes/com/sun/org/apache/bcel/internal/classfile/ |
H A D | DescendingVisitor.java | 37 private Stack stack = new Stack(); field in class:DescendingVisitor 50 int size = stack.size(); 55 return stack.elementAt(size - (level + 2)); // size - 1 == current 61 return stack.peek(); 79 stack.push(clazz); 95 stack.pop(); 99 stack.push(field); 105 stack.pop(); 109 stack.push(cv); 111 stack [all...] |
/openjdk9/hotspot/src/share/vm/services/ |
H A D | allocationSite.hpp | 38 AllocationSite(const NativeCallStack& stack) : _call_stack(stack) { } argument 40 bool equals(const NativeCallStack& stack) const { 41 return _call_stack.equals(stack);
|
/openjdk9/nashorn/samples/ |
H A D | stack.js | 32 // nashorn supports 'stack' property on ECMAScript 34 // that shows script stack trace. 47 // at g (stack.js:37) 48 // at f (stack.js:41) 49 // at <program> (stack.js:52) 54 print(e.stack);
|
/openjdk9/jaxp/src/java.xml/share/classes/com/sun/org/apache/bcel/internal/util/ |
H A D | ClassStack.java | 28 * Utility class implementing a (typesafe) stack of JavaClass objects. 34 private Stack stack = new Stack(); field in class:ClassStack 36 public void push(JavaClass clazz) { stack.push(clazz); } 37 public JavaClass pop() { return (JavaClass)stack.pop(); } 38 public JavaClass top() { return (JavaClass)stack.peek(); } 39 public boolean empty() { return stack.empty(); }
|
/openjdk9/hotspot/src/share/vm/shark/ |
H A D | sharkStateScanner.cpp | 35 // Expression stack 42 stack()->stack_slots_offset() + 52 stack()->monitor_offset(i), 53 stack()->monitor_object_offset(i)); 60 state->oop_tmp_addr(), stack()->oop_tmp_slot_offset()); 61 process_method_slot(state->method_addr(), stack()->method_slot_offset()); 62 process_pc_slot(stack()->pc_slot_offset()); 72 stack()->locals_slots_offset() + max_locals() - 1 - i); 82 if (state->stack(i)) { 83 if (state->stack( [all...] |
/openjdk9/hotspot/test/compiler/compilercontrol/share/ |
H A D | JSONFile.java | 35 private final Stack<Element> stack; field in class:JSONFile 64 this.stack = new Stack<>(); 91 if (stack.empty()) { 94 return stack.peek(); 111 if (!stack.empty()) { 112 if (stack.peek() == Element.VALUE) { 114 stack.pop(); 121 stack.push(Element.VALUE); 125 stack.push(Element.VALUE); 139 stack [all...] |
/openjdk9/hotspot/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/utilities/ |
H A D | LivenessPath.java | 41 stack = new Stack(); 46 return stack.size(); 51 return (LivenessPathElement) stack.get(index); 81 return (LivenessPathElement) stack.peek(); 86 stack.push(el); 91 stack.pop(); 98 for (int i = 0; i < stack.size(); i++) { 99 dup.stack.push(stack.get(i)); 107 private Stack stack; field in class:LivenessPath [all...] |
/openjdk9/hotspot/src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.code/src/jdk/vm/ci/code/stack/ |
H A D | InspectedFrameVisitor.java | 23 package jdk.vm.ci.code.stack;
|
/openjdk9/jdk/test/java/lang/Thread/ |
H A D | GenerifyStackTraces.java | 72 // Then dump stack trace and notify ThreadOne to continue. 110 // Get stack trace of current thread 111 StackTraceElement[] stack = getStackTrace(); 113 checkStack(this, stack, DONE_DEPTH); 144 // Get stack trace of another thread 145 StackTraceElement[] stack = one.getStackTrace(); 146 checkStack(one, stack, depth); 149 // Get stack traces of all Threads 153 stack = entry.getValue(); 154 if (t == null || stack 163 checkStack(Thread t, StackTraceElement[] stack, int depth) argument 179 printStack(Thread t, StackTraceElement[] stack) argument [all...] |