jdk/src/java.base/share/classes/java/lang/StackStreamFactory.java
changeset 43712 5dfd0950317c
parent 41117 57810b6b669e
child 43713 2a4f42ec3ceb
equal deleted inserted replaced
43619:dc9102c475f3 43712:5dfd0950317c
   682                 if (isMethodHandleFrame(caller)) { continue; }
   682                 if (isMethodHandleFrame(caller)) { continue; }
   683                 if (isReflectionFrame(caller)) { continue; }
   683                 if (isReflectionFrame(caller)) { continue; }
   684                 frames[n++] = caller;
   684                 frames[n++] = caller;
   685             }
   685             }
   686             if (frames[1] == null) {
   686             if (frames[1] == null) {
   687                 throw new IllegalStateException("no caller frame");
   687                 throw new IllegalCallerException("no caller frame");
   688             }
   688             }
   689             return n;
   689             return n;
   690         }
   690         }
   691 
   691 
   692         @Override
   692         @Override