[patch] events output fixed.

Andreas Tobler toa@pop.agri.ch
Tue Jan 30 21:42:00 GMT 2007


Hello,

the attached patch fixes the events output fail on darwin ppc and ppc 
linux. I guess it happens elsewhere too. (note, (my) the linux-ppc tc 
still fails.)

ok for trunk ?

Thanks,
Andreas

2007-01-30  Andreas Tobler  <a.tobler@schweiz.org>

	* testsuite/libjava.jvmti/natevents.cc (FieldModificationCB): Use a
	cast to print it right.

Index: natevents.cc
===================================================================
--- natevents.cc        (revision 121359)
+++ natevents.cc        (working copy)
@@ -200,7 +200,7 @@
    printf (" field_klass=%#llx object=%#llx field=%#llx signature_type=%c",
           (unsigned long long) field_klass, (unsigned long long) object,
           (unsigned long long) field, signature_type);
-  printf (" new_value=%#llx\n", new_value.l);
+  printf (" new_value=%#llx\n", (unsigned long long) new_value.l);
  }

  static void



More information about the Java-patches mailing list