RFR: 7902823: RepGen fails with IllegalFormatArgumentIndexException if started by JDK 16 and above

Leonid Kuskov lkuskov at openjdk.java.net
Thu Jan 28 23:21:55 UTC 2021


This is the fix for https://bugs.openjdk.java.net/browse/CODETOOLS-7902823
The fix corrects the improper usage of the Formatter that only allows argument indexes starting from 1 (not 0)  
Also the fix updates  a percentage rounding - the floor operation is used insted of the round.

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

Commit messages:
 - 7902823: RepGen fails with IllegalFormatArgumentIndexException if started by JDK 16 and above
 - Merge remote-tracking branch 'upstream/master'
 - 7902796: Provide a "release" file for JCov builds
 - 7902783: Static instrumentation fails with Java 9 and above if multiple inputs are used
 - Merge remote-tracking branch 'upstream/master'
 - 7902724: jcov ignores covariant method overriding while gathering a methods' coverages
 - 7902642: Make JCov runtime to only depend on java.base
 - Merge branch 'CODETOOLS-7902697'
 - 7902697: Switch jcov to the latest asm lib to support latest classfile
 - Merge branch 'master' of https://github.com/lkuskov/jcov
 - ... and 1 more: https://git.openjdk.java.net/jcov/compare/e4bb6779...78b65b3b

Changes: https://git.openjdk.java.net/jcov/pull/7/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jcov&pr=7&range=00
  Issue: https://bugs.openjdk.java.net/browse/CODETOOLS-7902823
  Stats: 47 lines in 3 files changed: 31 ins; 0 del; 16 mod
  Patch: https://git.openjdk.java.net/jcov/pull/7.diff
  Fetch: git fetch https://git.openjdk.java.net/jcov pull/7/head:pull/7

PR: https://git.openjdk.java.net/jcov/pull/7


More information about the jcov-dev mailing list