< prev index next >

src/java.base/share/classes/java/lang/StackTraceElement.java

Print this page
rev 47483 : [mq]: XXXXXXX-double-trouble-2


 276      * <li>
 277      *     "{@code com.foo.loader/foo@9.0/com.foo.Main.run(Main.java)}"
 278      * - The line number is unavailable.
 279      * </li>
 280      * <li>
 281      *     "{@code com.foo.loader/foo@9.0/com.foo.Main.run(Unknown Source)}"
 282      * - Neither the file name nor the line number is available.
 283      * </li>
 284      * <li>
 285      *     "{@code com.foo.loader/foo@9.0/com.foo.Main.run(Native Method)}"
 286      * - The method containing the execution point is a native method.
 287      * </li>
 288      * <li>
 289      *     "{@code com.foo.loader//com.foo.bar.App.run(App.java:12)}"
 290      * - The class of the execution point is defined in the unnamed module of
 291      * the class loader named {@code com.foo.loader}.
 292      * </li>
 293      * <li>
 294      *     "{@code acme@2.1/org.acme.Lib.test(Lib.java:80)}"
 295      * - The class of the execution point is defined in {@code acme} module
 296      * loaded by by a built-in class loader such as the application class loader.
 297      * </li>
 298      * <li>
 299      *     "{@code MyClass.mash(MyClass.java:9)}"
 300      * - {@code MyClass} class is on the application class path.
 301      * </li>
 302      * </ul>
 303      *
 304      * <p> The first example shows a stack trace element consisting of
 305      * three elements, each separated by {@code "/"} followed with
 306      * the source file name and the line number of the source line
 307      * containing the execution point.
 308      *
 309      * The first element "{@code com.foo.loader}" is
 310      * the name of the class loader.  The second element "{@code foo@9.0}"
 311      * is the module name and version.  The third element is the method
 312      * containing the execution point; "{@code com.foo.Main"}" is the
 313      * fully-qualified class name and "{@code run}" is the name of the method.
 314      * "{@code Main.java}" is the source file name and "{@code 101}" is
 315      * the line number.
 316      *




 276      * <li>
 277      *     "{@code com.foo.loader/foo@9.0/com.foo.Main.run(Main.java)}"
 278      * - The line number is unavailable.
 279      * </li>
 280      * <li>
 281      *     "{@code com.foo.loader/foo@9.0/com.foo.Main.run(Unknown Source)}"
 282      * - Neither the file name nor the line number is available.
 283      * </li>
 284      * <li>
 285      *     "{@code com.foo.loader/foo@9.0/com.foo.Main.run(Native Method)}"
 286      * - The method containing the execution point is a native method.
 287      * </li>
 288      * <li>
 289      *     "{@code com.foo.loader//com.foo.bar.App.run(App.java:12)}"
 290      * - The class of the execution point is defined in the unnamed module of
 291      * the class loader named {@code com.foo.loader}.
 292      * </li>
 293      * <li>
 294      *     "{@code acme@2.1/org.acme.Lib.test(Lib.java:80)}"
 295      * - The class of the execution point is defined in {@code acme} module
 296      * loaded by a built-in class loader such as the application class loader.
 297      * </li>
 298      * <li>
 299      *     "{@code MyClass.mash(MyClass.java:9)}"
 300      * - {@code MyClass} class is on the application class path.
 301      * </li>
 302      * </ul>
 303      *
 304      * <p> The first example shows a stack trace element consisting of
 305      * three elements, each separated by {@code "/"} followed with
 306      * the source file name and the line number of the source line
 307      * containing the execution point.
 308      *
 309      * The first element "{@code com.foo.loader}" is
 310      * the name of the class loader.  The second element "{@code foo@9.0}"
 311      * is the module name and version.  The third element is the method
 312      * containing the execution point; "{@code com.foo.Main"}" is the
 313      * fully-qualified class name and "{@code run}" is the name of the method.
 314      * "{@code Main.java}" is the source file name and "{@code 101}" is
 315      * the line number.
 316      *


< prev index next >