Skip to content

[Console] JDK 11 runtime readiness for StreamPark Console#4412

Open
shangeyao wants to merge 1 commit into
apache:devfrom
shangeyao:fix/console-jdk11-runtime
Open

[Console] JDK 11 runtime readiness for StreamPark Console#4412
shangeyao wants to merge 1 commit into
apache:devfrom
shangeyao:fix/console-jdk11-runtime

Conversation

@shangeyao

Copy link
Copy Markdown
Contributor

Summary

  • Enable --add-opens in jvm_opts.sh for dynamic classpath on JDK 11+
  • Enforce JDK 11+ at startup via setclasspath.sh
  • Fix classpath layout ($JAVA_HOME/lib, no jre/lib) and GC logging in streampark.sh
  • Add explicit javax.annotation-api dependency (JSR-250 removed from JDK 11)
  • Add JDK_UPGRADE_GUIDE.md documenting Console vs Flink/Spark job JDK

Test plan

  • Start Console on JDK 11 and verify login
  • Confirm startup fails with clear message on JDK 8

Merge order

2/3 — merge after #4411 (ClassLoaderUtils). Part of JDK 11 migration (#4409, #4410).


AI Disclosure

  • Model: Claude (Cursor Agent)
  • Platform/Tool: Cursor
  • Human Oversight: partially reviewed
  • Prompt Summary: Split JDK 11 migration into reviewable PRs; Console runtime readiness

Made with Cursor

Enable add-opens JVM opts, enforce JDK 11+ at startup, fix classpath layout,
add javax.annotation-api, and document Console vs job JDK requirements.

Closes apache#4409 (part 2/3). Ref apache#4410.

Generated-by: Cursor
Co-authored-by: Cursor <cursoragent@cursor.com>
@sonarqubecloud

sonarqubecloud Bot commented Jul 1, 2026

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant