Print this page


Split Close
Expand all
Collapse all
          --- old/src/share/vm/prims/methodHandleWalk.cpp
          +++ new/src/share/vm/prims/methodHandleWalk.cpp
   1    1  /*
   2      - * Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
        2 + * Copyright (c) 2008, 2011, Oracle and/or its affiliates. All rights reserved.
   3    3   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4    4   *
   5    5   * This code is free software; you can redistribute it and/or modify it
   6    6   * under the terms of the GNU General Public License version 2 only, as
   7    7   * published by the Free Software Foundation.
   8    8   *
   9    9   * This code is distributed in the hope that it will be useful, but WITHOUT
  10   10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11   11   * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12   12   * version 2 for more details (a copy is included in the LICENSE file that
↓ open down ↓ 117 lines elided ↑ open up ↑
 130  130        }
 131  131      }
 132  132    }
 133  133    if (arg_type == T_ARRAY)
 134  134      arg_type = T_OBJECT;
 135  135    return arg_type;
 136  136  }
 137  137  
 138  138  
 139  139  void MethodHandleChain::lose(const char* msg, TRAPS) {
 140      -  assert(false, "lose");
 141  140    _lose_message = msg;
 142  141    if (!THREAD->is_Java_thread() || ((JavaThread*)THREAD)->thread_state() != _thread_in_vm) {
 143  142      // throw a preallocated exception
 144  143      THROW_OOP(Universe::virtual_machine_error_instance());
 145  144    }
 146  145    THROW_MSG(vmSymbols::java_lang_InternalError(), msg);
 147  146  }
 148  147  
 149  148  
 150  149  // -----------------------------------------------------------------------------
↓ open down ↓ 1257 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX