Skip to content

build!: require JDK 25 and move to RSyntaxTextArea 4.0.1 / AutoComplete 4.0.0 - #117

Merged
bobbylight merged 1 commit into
masterfrom
feature/jdk25-rsta4
Oct 15, 2026
Merged

bobbylight merged 1 commit into
masterfrom
feature/jdk25-rsta4

Conversation

@bobbylight

@bobbylight bobbylight commented Oct 15, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Bumps the minimum build JDK to 25, and updates CI (gradle + CodeQL) to build against 25/26 instead of 17/21/23
  • Bumps the Gradle wrapper to 9.8.1 (latest), needed to build on JDK 26
  • Updates com.fifesoft:rsyntaxtextarea to 4.0.1 and com.fifesoft:autocomplete to 4.0.0
  • Ports to the APIs that changed in those releases:
    • DocumentRange moved from org.fife.ui.rsyntaxtextarea to org.fife.ui.rtextarea
    • AutoCompletion#setShowDescWindow(boolean) replaced by setDescWindowVisibility(DescWindowVisibility) (the public LanguageSupport boolean API is unchanged and maps to ALWAYS/NEVER)
    • CompletionProvider#isAutoActivateOkay(JTextComponent) is now isAutoActivateOkay(JTextComponent, int); the HTML, CSS and PHP providers use the inserted-char offset instead of the caret position. HtmlCompletionProvider#isAutoActivateOkayOutsideOfMarkup gained the same int parameter (protected API change)
  • Fixes a stale Token#VARIABLE javadoc link
  • README documents the build/runtime requirements

The Swing/AWT deprecations addressed in AutoComplete's PR (modelToView, *_MASK, getMenuShortcutKeyMask, Class#newInstance) were already migrated in this repo; compileJava with -Xlint:deprecation reports no warnings.

Test plan

  • ./gradlew clean build -xsign passes (compile, checkstyle, tests) on JDK 25
  • CI green on JDK 25 and 26
  • Manually verify auto-activation in HTML/CSS/PHP and the description window in the demo app

🤖 Generated with Claude Code

@bobbylight bobbylight added this to the 4.0.0 milestone Oct 15, 2026
@bobbylight bobbylight added ci/cd dependencies Pull requests that update a dependency file labels Oct 15, 2026
…te 4.0.0

- Require JDK 25 to build; CI now builds with JDK 25 and 26
- Depend on RSyntaxTextArea 4.0.1 and AutoComplete 4.0.0
- Port to the new APIs: DocumentRange moved to org.fife.ui.rtextarea,
  setShowDescWindow(boolean) replaced by setDescWindowVisibility(), and
  CompletionProvider#isAutoActivateOkay now takes the inserted offset
- Bump Gradle wrapper to 9.8.1 (needed to build on JDK 26)
- Fix a stale Token#VARIABLE javadoc link
- Document build/runtime requirements in the README

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@bobbylight bobbylight self-assigned this Oct 15, 2026
@bobbylight
bobbylight marked this pull request as ready for review October 15, 2026 23:04
@bobbylight
bobbylight merged commit b6a79b5 into master Oct 15, 2026
2 checks passed
@bobbylight
bobbylight deleted the feature/jdk25-rsta4 branch October 15, 2026 23:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci/cd dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant