diff src/share/vm/prims/whitebox.hpp @ 8051:12e01444ca2d

8006683: Add WhiteBox API to testing of compiler Reviewed-by: kvn, vlivanov
author iignatyev
date Wed, 13 Feb 2013 08:29:04 -0800
parents 51612f0c0a79
children de6a9e811145
line wrap: on
line diff
--- a/src/share/vm/prims/whitebox.hpp	Tue Feb 12 14:33:19 2013 -0800
+++ b/src/share/vm/prims/whitebox.hpp	Wed Feb 13 08:29:04 2013 -0800
@@ -34,7 +34,7 @@
 
 #define WB_ENTRY(result_type, header) JNI_ENTRY(result_type, header)
 #define WB_END JNI_END
-#define WB_METHOD_DECLARE extern "C" jobjectArray JNICALL
+#define WB_METHOD_DECLARE(result_type) extern "C" result_type JNICALL
 
 class WhiteBox : public AllStatic {
  private: