RFR: 8262329: Fix JFR parser exception messages [v3]

Roman Kennke rkennke at openjdk.java.net
Thu Feb 25 20:29:57 UTC 2021


> I've been irritated by unreasonable large constant pool offsets in ChunkParser excepion messages. It turns out that lastCP + size concatenates the two numbers as strings instead of adding them.
> 
> Testing:
>  - [x] manually inspecting the exception messages

Roman Kennke has updated the pull request incrementally with one additional commit since the last revision:

  Remove check for CHUNKHEADER

-------------

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/2714/files
  - new: https://git.openjdk.java.net/jdk/pull/2714/files/a0ba7f7f..9d1caa11

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=2714&range=02
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=2714&range=01-02

  Stats: 4 lines in 1 file changed: 0 ins; 4 del; 0 mod
  Patch: https://git.openjdk.java.net/jdk/pull/2714.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/2714/head:pull/2714

PR: https://git.openjdk.java.net/jdk/pull/2714


More information about the hotspot-jfr-dev mailing list