JDK-8235456 : Minimal VM is broken after JDK-8212160
  • Type: Bug
  • Component: hotspot
  • Sub-Component: jvmti
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2019-12-06
  • Updated: 2024-02-25
  • Resolved: 2019-12-06
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 11 JDK 13 JDK 14 JDK 8
11.0.10Fixed 13.0.6Fixed 14 b27Fixed 8u411Fixed
Related Reports
Duplicate :  
Relates :  
Description
* For target hotspot_variant-minimal_libjvm_objs_instanceKlass.o:
In file included from /home/fool/workspace/jdk/src/hotspot/share/utilities/compilerWarnings.hpp:30:0,
                 from /home/fool/workspace/jdk/src/hotspot/share/utilities/globalDefinitions.hpp:28,
                 from /home/fool/workspace/jdk/src/hotspot/share/memory/allocation.hpp:28,
                 from /home/fool/workspace/jdk/src/hotspot/share/classfile/classLoaderData.hpp:28,
                 from /home/fool/workspace/jdk/src/hotspot/share/precompiled/precompiled.hpp:34,
                 from /home/fool/workspace/jdk/src/hotspot/share/oops/instanceKlass.cpp:25:
/home/fool/workspace/jdk/src/hotspot/share/prims/jvmtiImpl.hpp: In member function 'void JvmtiDeferredEventQueue::post(JvmtiEnv*)':
/home/fool/workspace/jdk/src/hotspot/share/prims/jvmtiImpl.hpp:523:46: error: return-statement with a value, in function returning 'void' [-fpermissive]
   void post(JvmtiEnv* env) NOT_JVMTI_RETURN_(false);
                                              ^
/home/fool/workspace/jdk/src/hotspot/share/utilities/macros.hpp:65:42: note: in definition of macro 'NOT_JVMTI_RETURN_'
 #define NOT_JVMTI_RETURN_(code) { return code; }
                                          ^~~~

Comments
Fix request (13u) Requesting backport to 13u as follow-up fix for JDK-8212160 that is already included to 13u. The patch applies cleanly. Minimal VM is built successfully after applying the patch.
29-01-2021

Fix request (11u) I would like to downport this as follow up of JDK-8212160. Applies clean. No risk as it is a trivial build fix.
17-11-2020

URL: https://hg.openjdk.java.net/jdk/jdk/rev/2b8719a4793f User: jiefu Date: 2019-12-06 02:58:25 +0000
06-12-2019

RFR: https://mail.openjdk.java.net/pipermail/hotspot-dev/2019-December/040224.html
06-12-2019