RFR: jdk11u-dev backport: 8221470: Print methods in exception messages in java-like Syntax.

Lindenmaier, Goetz goetz.lindenmaier at sap.com
Fri May 17 13:59:58 UTC 2019


Hi, 

I'm sorry, I need to request another review. 
While linuxx86_64 opt build works fine, includes are missing
in some dbg builds, also the aix opt build failed.

I needed to add this:
--- a/src/hotspot/share/oops/symbol.cpp	
+++ b/src/hotspot/share/oops/symbol.cpp
@@ -34,6 +34,7 @@
 #include "oops/symbol.hpp"
 #include "runtime/atomic.hpp"
 #include "runtime/os.hpp"
+#include "runtime/signature.hpp"
 
 Symbol::Symbol(const u1* name, int length, int refcount) {
   _refcount = refcount;

New webrev:
http://cr.openjdk.java.net/~goetz/wr19/8221470-exMsg-signature-jdk11/02/

Best regards,
  Goetz.

> -----Original Message-----
> From: jdk-updates-dev <jdk-updates-dev-bounces at openjdk.java.net> On
> Behalf Of Lindenmaier, Goetz
> Sent: Dienstag, 14. Mai 2019 16:42
> To: jdk-updates-dev at openjdk.java.net; hotspot-runtime-
> dev at openjdk.java.net
> Subject: [CAUTION] RFR: jdk11u-dev backport: 8221470: Print methods in
> exception messages in java-like Syntax.
> 
> Hi,
> 
> I would like to backport this change.
> The hunk adding the new function in symbol.cpp
> does not apply because the context changed:
> Method try_increment_refcount() in the context is not
> there in jdk11.
> 
> Original jdk13 webrev & change
> http://cr.openjdk.java.net/~goetz/wr19/8221470-exMsg-signature/03/
> http://hg.openjdk.java.net/jdk/jdk/rev/532e88de77eb
> New jdk11u-dev webrev:
> http://cr.openjdk.java.net/~goetz/wr19/8221470-exMsg-signature-jdk11/01/
> Bug:
> https://bugs.openjdk.java.net/browse/JDK-8221470
> 
> Best regards,
>   Goetz.


More information about the hotspot-runtime-dev mailing list