diff --git a/src/share/vm/runtime/arguments.cpp b/src/share/vm/runtime/arguments.cpp index b5704d32f3c0b9e8c21107267720a916d424534c..091db03caa3f99994d678647617a511f3d1613be 100644 --- a/src/share/vm/runtime/arguments.cpp +++ b/src/share/vm/runtime/arguments.cpp @@ -978,17 +978,6 @@ void Arguments::check_compressed_oops_compat() { } } - // XXX JSR 292 currently does not support compressed oops - if (EnableMethodHandles) { - if (is_on_by_default) { - FLAG_SET_DEFAULT(UseCompressedOops, false); - return; - } else { - vm_exit_during_initialization( - "JSR292 is not supported with compressed oops yet", NULL); - } - } - // If dumping an archive or forcing its use, disable compressed oops if possible if (DumpSharedSpaces || RequireSharedSpaces) { if (is_on_by_default) {