summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVlastimil Babka <caster@gentoo.org>2010-04-05 10:27:28 +0000
committerVlastimil Babka <caster@gentoo.org>2010-04-05 10:27:28 +0000
commit3aeb001ca65ae8a34626c30ce717ee3840971d75 (patch)
tree43f7e7de1b719b59ec702b22cf866b5674bf632d
parentFix slot handling. (diff)
downloadjava-testcases-3aeb001ca65ae8a34626c30ce717ee3840971d75.tar.gz
java-testcases-3aeb001ca65ae8a34626c30ce717ee3840971d75.tar.bz2
java-testcases-3aeb001ca65ae8a34626c30ce717ee3840971d75.zip
Add generic pathtest.
svn path=/testcases/; revision=8153
-rw-r--r--generic/pathtest/README4
-rw-r--r--generic/pathtest/pathtest.java8
2 files changed, 12 insertions, 0 deletions
diff --git a/generic/pathtest/README b/generic/pathtest/README
new file mode 100644
index 0000000..7628c4e
--- /dev/null
+++ b/generic/pathtest/README
@@ -0,0 +1,4 @@
+Usage:
+javac pathtest.java
+java pathtest
+
diff --git a/generic/pathtest/pathtest.java b/generic/pathtest/pathtest.java
new file mode 100644
index 0000000..6cafe24
--- /dev/null
+++ b/generic/pathtest/pathtest.java
@@ -0,0 +1,8 @@
+class pathtest {
+
+ public static void main (String[] args) {
+ System.out.println("CLASSPATH: " + System.getProperty("java.class.path"));
+ System.out.println("BOOTCLASSPATH: " + System.getProperty("sun.boot.class.path"));
+ System.out.println("LIBRARY_PATH: " + System.getProperty("java.library.path"));
+ }
+}