--- a/hotspot/src/share/vm/classfile/javaClasses.inline.hpp Tue Mar 15 13:48:21 2016 -0700
+++ b/hotspot/src/share/vm/classfile/javaClasses.inline.hpp Thu Mar 17 19:04:01 2016 +0000
@@ -171,6 +171,10 @@
+inline bool java_lang_reflect_Module::is_instance(oop obj) {
+ return obj != NULL && is_subclass(obj->klass());
+}
+
inline int Backtrace::merge_bci_and_version(int bci, int version) {
// only store u2 for version, checking for overflow.
if (version > USHRT_MAX || version < 0) version = USHRT_MAX;