Skip to content

Conversation

trivikr
Copy link
Member

@trivikr trivikr commented Sep 11, 2025

Issue

N/A

Description

Bumps spotbugs to 6.0.26

Testing

CI

The following warning no longer appears

WARNING: A terminally deprecated method in java.lang.System has been called
WARNING: System::setSecurityManager has been called by edu.umd.cs.findbugs.ba.jsr305.TypeQualifierValue (file:/home/runner/.gradle/caches/modules-2/files-2.1/com.github.spotbugs/spotbugs/4.2.2/fef7e4208082fc1c6a1b7dfd84eb382add52dead/spotbugs-4.2.2.jar)
WARNING: Please consider reporting this to the maintainers of edu.umd.cs.findbugs.ba.jsr305.TypeQualifierValue
WARNING: System::setSecurityManager will be removed in a future release

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@trivikr
Copy link
Member Author

trivikr commented Sep 11, 2025

CI failure

> Task :smithy-aws-typescript-codegen:spotbugsMain
M V EI2: new software.amazon.smithy.aws.typescript.codegen.visitor.MemberDeserVisitor(ProtocolGenerator$GenerationContext, String, TimestampFormatTrait$Format) may expose internal representation by storing an externally mutable object into MemberDeserVisitor.context  At MemberDeserVisitor.java:[line 66]
M B FS: Format string should use %n rather than \n in software.amazon.smithy.aws.typescript.codegen.AddDefaultAwsEndpointRuleSet.getDefaultRegionalEndpointRuleSet(String)  At AddDefaultAwsEndpointRuleSet.java:[line 437]
M B FS: Format string should use %n rather than \n in software.amazon.smithy.aws.typescript.codegen.DocumentClientCommandGenerator.run()  At DocumentClientCommandGenerator.java:[line 113]
M B FS: Format string should use %n rather than \n in software.amazon.smithy.aws.typescript.codegen.DocumentClientCommandGenerator.lambda$run$5(String, Map)  At DocumentClientCommandGenerator.java:[line 184]
M B FS: Format string should use %n rather than \n in software.amazon.smithy.aws.typescript.codegen.DocumentClientCommandGenerator.lambda$run$3(String, String)  At DocumentClientCommandGenerator.java:[line 191]
M B FS: Format string should use %n rather than \n in software.amazon.smithy.aws.typescript.codegen.AwsEc2.lambda$static$0(Trait)  At AwsEc2.java:[line 60]

@trivikr
Copy link
Member Author

trivikr commented Sep 12, 2025

Replaced by #7340

@trivikr trivikr closed this Sep 12, 2025
@trivikr trivikr deleted the bump-spotbugs branch September 12, 2025 01:05
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 27, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant