RFR: CODETOOLS-7902973: jcstress: Compiler directives should include binary, not qualified class names

Aleksey Shipilev shade at openjdk.java.net
Sun Jun 13 18:32:14 UTC 2021


This seems to cause issues for nested classes. Annotation processor normally answers the "qualified name", which concatenates the nested class name with ".". Compiler directives expect nested class names to be concatenated with "$", that is, expect the binary class name.

Currently, requested-to-run-in-interpreter nested class methods would mismatch and be compiled.

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

Commit messages:
 - Fixes
 - Tries

Changes: https://git.openjdk.java.net/jcstress/pull/75/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jcstress&pr=75&range=00
  Issue: https://bugs.openjdk.java.net/browse/CODETOOLS-7902973
  Stats: 18 lines in 6 files changed: 12 ins; 0 del; 6 mod
  Patch: https://git.openjdk.java.net/jcstress/pull/75.diff
  Fetch: git fetch https://git.openjdk.java.net/jcstress pull/75/head:pull/75

PR: https://git.openjdk.java.net/jcstress/pull/75


More information about the jcstress-dev mailing list