Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unskip l2-large-string test #1556

Merged
merged 1 commit into from
Jan 4, 2025
Merged

Unskip l2-large-string test #1556

merged 1 commit into from
Jan 4, 2025

Conversation

justinvp
Copy link
Member

@justinvp justinvp commented Jan 3, 2025

The l2-large-string test emits a resource named String which is imported as com.pulumi.large.String in the generated program, which then conflicts with the String used in the program's public static void main(String[] args). This change avoids the conflict by fully qualifying the built-in Java String type when another type named String has been imported.

@justinvp justinvp added the impact/no-changelog-required This issue doesn't require a CHANGELOG update label Jan 3, 2025
@justinvp justinvp requested a review from a team as a code owner January 3, 2025 20:46
The `l2-large-string` test emits a resource named `String` which is imported as `com.pulumi.large.String` in the generated program, which then conflicts with the `String` used in the program's `public static void main(String[] args)`. This change avoids the conflict by fully qualifying the built-in Java `String` type when another type named `String` has been imported.
@justinvp justinvp force-pushed the justin/l2-large-string branch from 3906f2e to 3ccaa48 Compare January 3, 2025 20:47
@justinvp justinvp merged commit c5190a7 into main Jan 4, 2025
23 checks passed
@justinvp justinvp deleted the justin/l2-large-string branch January 4, 2025 03:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
impact/no-changelog-required This issue doesn't require a CHANGELOG update
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants