JDK-8227632 : Incorrect PrintCompilation message: made not compilable on levels 0 1 2 3 4
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 8,11,13
  • Priority: P5
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2019-07-12
  • Updated: 2020-06-16
  • Resolved: 2019-07-16
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 11 JDK 13 JDK 14
11.0.8-oracleFixed 13.0.4Fixed 14 b06Fixed
Description
We have "made not compilable on levels 0 1 2 3 4" PrintCompilation log messages when C2 (not C1) is disabled by compiler command.

### Excluding compile: java.io.OutputStreamWriter::write
made not compilable on levels 0 1 2 3 4  java.io.OutputStreamWriter::write (11 bytes)   excluded by CompileCommand

I believe the correct message would be "made not compilable on level 4".
Comments
Fix request (13u): I would like to backport this fix to 13u for parity with 11u. The original change applies cleanly.
08-06-2020

jdk11 backport request I would like to have the patch in OpenJDK11 as well, because the issue is present there too. The patch applies cleanly.
13-05-2020

URL: https://hg.openjdk.java.net/jdk/jdk/rev/b8152c273f76 User: bulasevich Date: 2019-07-16 15:07:30 +0000
16-07-2019

Patch: http://cr.openjdk.java.net/~avoitylov/8227632/webrev.00/
12-07-2019