Mercurial > hg > truffle
annotate mxtool/ClasspathDump.java @ 21408:32ca2353accf
Truffle/Instrumentation: fix NPE hazard
author | Michael Van De Vanter <michael.van.de.vanter@oracle.com> |
---|---|
date | Sun, 17 May 2015 20:47:04 -0700 |
parents | a6bd486b1b44 |
children |
rev | line source |
---|---|
14914
a6bd486b1b44
Extend JavaConfig bootclasspath detection to detect extdirs and endorseddirs
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
1 public class ClasspathDump { |
a6bd486b1b44
Extend JavaConfig bootclasspath detection to detect extdirs and endorseddirs
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
2 public static void main(String[] args) { |
a6bd486b1b44
Extend JavaConfig bootclasspath detection to detect extdirs and endorseddirs
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
3 System.out.print(System.getProperty("sun.boot.class.path")); |
a6bd486b1b44
Extend JavaConfig bootclasspath detection to detect extdirs and endorseddirs
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
4 System.out.print("|"); |
a6bd486b1b44
Extend JavaConfig bootclasspath detection to detect extdirs and endorseddirs
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
5 System.out.print(System.getProperty("java.ext.dirs")); |
a6bd486b1b44
Extend JavaConfig bootclasspath detection to detect extdirs and endorseddirs
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
6 System.out.print("|"); |
a6bd486b1b44
Extend JavaConfig bootclasspath detection to detect extdirs and endorseddirs
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
7 System.out.print(System.getProperty("java.endorsed.dirs")); |
a6bd486b1b44
Extend JavaConfig bootclasspath detection to detect extdirs and endorseddirs
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
8 } |
a6bd486b1b44
Extend JavaConfig bootclasspath detection to detect extdirs and endorseddirs
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
9 } |