We can exclude Java methods from compilation with compiler directives. Later we 
can remove those directives.
This PR fixes a bug that after removal of those directives Java methods don't 
become compilable.
A regression test is added.

Tested fastdebug build with a new test and tier1 tests.

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

Commit messages:
 - 8333891: Method excluded with directive is not compiled after removal of 
directive

Changes: https://git.openjdk.org/jdk/pull/19637/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=19637&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8333891
  Stats: 122 lines in 2 files changed: 122 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/19637.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/19637/head:pull/19637

PR: https://git.openjdk.org/jdk/pull/19637

Reply via email to