No reviewers
Labels
No labels
bug
build
enhancement
headless
P1-critical
P2-high
P3-medium
P4-low
refactoring
No milestone
No project
No assignees
1 participant
Due date
No due date set.
Dependencies
No dependencies set.
Reference
ai-tools/jdt-mcp-server!92
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/54-rest-projectinfo-http-progress"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Two small remainders from already-merged PRs, module
org.naturzukunft.jdt.mcponly.System.err.printlncalls withMcpLogger, but left one inProjectInfoTools.getJavaProject()open because parallel work touched the file. Routed throughMcpLogger.error(...), same pattern as the sibling tool classes. NoSystem.err.printlnremains in the module outsideMcpLogger.javaitself (verified by grep).McpHttpServer.sendProgress()(SSE transport) had the same JSON-injection issue #50 fixed forMcpStdioServer.sendProgress()— it only escaped", leaving backslashes, newlines and other control characters to produce invalid JSON. Fixed with the same JacksonObjectMapper/ObjectNodepattern already merged for the stdio transport.Verification
mvn -pl org.naturzukunft.jdt.mcp -am compile— cleanmvn clean package— clean,tests/smoke-test.shgreen (9/9, readiness marker intact)McpHttpServer.sendProgress()verified end-to-end standalone: started a realMcpHttpServeron a free port, opened a real SSE connection, sent a message containing\n,\,"and a tab, captured the raw SSEdata:line and validated it withjq— parses correctly and the message round-trips byte-for-byte.🤖 Generated with Claude Code
https://claude.ai/code/session_016tHV1dzUTdTwMLgx6yotVd