Fix test 046.

Looks like a recent change put us on an untested code path, and we need
to start distinguishing callers' intentions. We can also remove some
unnecessary duplication.

Change-Id: I950139e6fdc8656b89d8e1520e8b50f681c7f7b2
diff --git a/test/046-reflect/expected.txt b/test/046-reflect/expected.txt
index b2bb176..240be94 100644
--- a/test/046-reflect/expected.txt
+++ b/test/046-reflect/expected.txt
@@ -93,6 +93,8 @@
 ReflectTest done!
 checkType invoking null
 checkType got expected exception
+calling const-class NoisyInitUser.class
+called const-class NoisyInitUser.class
 got methods
 NoisyInitUser is initializing
 NoisyInit is initializing
diff --git a/test/046-reflect/src/Main.java b/test/046-reflect/src/Main.java
index 7b6036b..9269e11 100644
--- a/test/046-reflect/src/Main.java
+++ b/test/046-reflect/src/Main.java
@@ -341,8 +341,10 @@
     }
 
     public static void checkInit() {
-        Class niuClass = NoisyInitUser.class;
-        Method[] methods;
+      System.out.println("calling const-class NoisyInitUser.class");
+      Class niuClass = NoisyInitUser.class;
+      System.out.println("called const-class NoisyInitUser.class");
+      Method[] methods;
 
         methods = niuClass.getDeclaredMethods();
         System.out.println("got methods");