JDK-6513560 : Remove suggestion to mail jvmpi_eol from fatal error message
  • Type: Bug
  • Component: vm-legacy
  • Sub-Component: jvmpi
  • Affected Version: 6
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2007-01-16
  • Updated: 2010-04-02
  • Resolved: 2007-06-26
Related Reports
Duplicate :  
Description
JVMPI has been deprecated since J2SE 5.0. In 6.0 the interface was disabled and an attempt to start a JVMPI agent results in this fatal error:

"FATAL ERROR: JVMPI, an experimental interface, is no longer supported.
Please use the supported interface: the JVM Tool Interface (JVM TI).
For information on temporary workarounds contact: ###@###.### " 

Developers using old JVMPI based tools have started to mail this alias seeking advice on how to "re-enable" JVMPI. The intent of the alias was to track down tools that haven't been updated to use the JVM Tool Interface rather than to help track down newer versions of the tools.

This bug is submitted to remove the "For information on temporary workarounds contact: ###@###.###" line from the fatal error message.

Comments
EVALUATION The suggestion to mail jvmpi_eol was removed from the fatal error message as part of the work on 4914266: src/share/vm/prims/jni.cpp: D 1.428.1.3 07/03/16 15:06:30 dcubed 881 880 00004/00035/03551 MRs: COMMENTS: 4914266 phase 3 - remove JVMPI_SUPPORT. D 1.428.1.2 07/03/16 14:28:06 dcubed 880 878 00017/00002/03569 MRs: COMMENTS: 4914266 code review - Keep part of the printed diagnostic when JVM/PI support is not enabled. This will tell users of old agents what went wrong instead of just an EVERSION return. D 1.428.1.1 07/03/02 10:29:35 dcubed 878 877 00008/00000/03563 MRs: COMMENTS: 4914266 - Bracket JVM/PI code with #ifdef JVMPI_SUPPORT ... #endif. Here is the relevant code as of Dolphin-B14: 3525 } else if (version == JVMPI_VERSION_1 || 3526 version == JVMPI_VERSION_1_1 || 3527 version == JVMPI_VERSION_1_2) { 3528 tty->print_cr("ERROR: JVMPI, an experimental interface, is no longer supported."); 3529 tty->print_cr("Please use the supported interface: the JVM Tool Interface (JVM TI)."); 3530 ret = JNI_EVERSION; 3531 return ret; 3532 } I'm closing this bug as a duplicate of 4914266.
26-06-2007