Skip to content

6.2.0: Unexpected output "Unknown constant: 11" #18360

@joeljeske

Description

@joeljeske

Description of the bug:

After upgrading to 6.2.0, I am seeing many messages in build log that do not seem possible when reading the source code:

(02:31:14) INFO: From Extracting interface //my_target:my_target_with_header:
--
  | Unknown constant: 11. Passing class through.
  | Unknown constant: 11. Passing class through.
  | Unknown constant: 11. Passing class through.
  | Unknown constant: 11. Passing class through.
  | Unknown constant: 11. Passing class through.
  | Unknown constant: 11. Passing class through.
  | Unknown constant: 11. Passing class through.

This is the default case for https://github.com/bazelbuild/bazel/blob/release-6.2.0/third_party/ijar/classfile.cc#L1660-L1662
however the switch should have a case for constant 11 https://github.com/bazelbuild/bazel/blob/release-6.2.0/third_party/ijar/classfile.cc#L1593.

I am wanting to understand this error to see if there is anything I need to change on my end, or if its a bug here.

What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.

https://github.com/joeljeske/bazel-repo-iss18360

Which operating system are you running Bazel on?

Linux, and darwin

What is the output of bazel info release?

release 6.2.0

If bazel info release returns development version or (@non-git), tell us how you built Bazel.

No response

What's the output of git remote get-url origin; git rev-parse master; git rev-parse HEAD ?

No response

Have you found anything relevant by searching the web?

No response

Any other information, logs, or outputs that you want to share?

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions