summaryrefslogtreecommitdiff
path: root/test/141-class-unload/src/Main.java
diff options
context:
space:
mode:
author Roland Levillain <rpl@google.com> 2016-01-19 15:59:16 +0000
committer Roland Levillain <rpl@google.com> 2016-01-19 15:59:16 +0000
commit91d65e024846717fce3572106cffe9b957b8902c (patch)
tree22ea1a91afdd552a31bb2365a9eae034ae0a1c9b /test/141-class-unload/src/Main.java
parent1bcbcf8e848d18b19d248c3d15f77c888f2b5f04 (diff)
Fix various typos in ART's comments and string literals.
Change-Id: I85d628055b1a61647a77fef730c9631c234e22a2
Diffstat (limited to 'test/141-class-unload/src/Main.java')
-rw-r--r--test/141-class-unload/src/Main.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/141-class-unload/src/Main.java b/test/141-class-unload/src/Main.java
index 0640b364c9..bcb697a396 100644
--- a/test/141-class-unload/src/Main.java
+++ b/test/141-class-unload/src/Main.java
@@ -79,7 +79,7 @@ public class Main {
private static void testUnloadClass(Constructor constructor) throws Exception {
WeakReference<Class> klass = setUpUnloadClass(constructor);
- // No strong refernces to class loader, should get unloaded.
+ // No strong references to class loader, should get unloaded.
Runtime.getRuntime().gc();
WeakReference<Class> klass2 = setUpUnloadClass(constructor);
Runtime.getRuntime().gc();
@@ -91,7 +91,7 @@ public class Main {
private static void testUnloadLoader(Constructor constructor)
throws Exception {
WeakReference<ClassLoader> loader = setUpUnloadLoader(constructor, true);
- // No strong refernces to class loader, should get unloaded.
+ // No strong references to class loader, should get unloaded.
Runtime.getRuntime().gc();
// If the weak reference is cleared, then it was unloaded.
System.out.println(loader.get());
@@ -109,7 +109,7 @@ public class Main {
private static void testLoadAndUnloadLibrary(Constructor constructor) throws Exception {
WeakReference<ClassLoader> loader = setUpLoadLibrary(constructor);
- // No strong refernces to class loader, should get unloaded.
+ // No strong references to class loader, should get unloaded.
Runtime.getRuntime().gc();
// If the weak reference is cleared, then it was unloaded.
System.out.println(loader.get());