Skip to content

Java modernization with Claude#128

Open
dunedodo wants to merge 16 commits into
masterfrom
feature-java-modernization-claude
Open

Java modernization with Claude#128
dunedodo wants to merge 16 commits into
masterfrom
feature-java-modernization-claude

Conversation

@dunedodo

@dunedodo dunedodo commented May 6, 2026

Copy link
Copy Markdown
Contributor

No description provided.

dunedodo and others added 14 commits February 25, 2026 19:12
Added deleteObjectTolerateRetention retry logic in AbstractS3ClientTest to handle ECS "under retention" errors during test cleanup. Moved D@RE license probe to top of testCopyRangeAPI to prevent cleanup failures when test is skipped due to missing D@RE license.

Generated with [Devin](https://cli.devin.ai/docs)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Comment thread src/main/java/com/emc/object/s3/jersey/S3JerseyClient.java
dunedodo added 2 commits May 8, 2026 10:35
…ents

Changes:
- S3JerseyClient: new constructor accepting ConnectorProvider; sets
  sun.net.http.allowRestrictedHeaders=true when HttpUrlConnectorProvider
  is used (required for V4 Host header pass-through); added response.close()
  in executeRequest() finally block to prevent connection reuse corruption.
- S3EncryptionClient: new constructor accepting ConnectorProvider, delegating
  to S3JerseyClient for connector-aware client creation.
- S3SignerV4: whitelist signed headers (host, content-type, content-md5,
  x-amz-*, x-emc-*) instead of signing all headers except authorization.
  HTTP connectors may modify standard headers after signing.
- CodecFilter: removed premature x-amz-meta-* header addition that caused
  V2/V4 signature mismatch with HttpUrlConnector's lazy commit; added
  FilterOutputStream wrapper to strip Content-Length before commit to
  prevent invalid chunked+content-length header combination.
- Test classes updated to use HttpUrlConnectorProvider via new constructor.
- log4j2.xml: enable debug logging for S3Signer and ErrorFilter.
@dunedodo dunedodo requested a review from xiaoxin-ren June 12, 2026 14:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants