Skip to content
This repository was archived by the owner on Jul 13, 2025. It is now read-only.
This repository was archived by the owner on Jul 13, 2025. It is now read-only.

Enum imports are wrong [Java] #2431

@andreamlin

Description

@andreamlin

For example, in java_library.baseline, there's an import for

import com.google.example.library.v1.TestOptionalRequiredFlatteningParamsRequest.InnerEnum

but it is referenced as

TestOptionalRequiredFlatteningParamsRequest.InnerEnum

This is a compile error, because the containing class TestOptionalRequiredFlatteningParamsRequest had not yet been imported.

Metadata

Metadata

Assignees

Labels

lang: javaIssues specific to Java.priority: p2Moderately-important priority. Fix may not be included in next release.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions