Skip to content

Remove the Java test finder registration from the AI debugger Kotlin module - #65

Merged
Tsyklop merged 1 commit into
mainfrom
bug/ai-debugger-kotlin-java-test-finder
Nov 6, 2026
Merged

Tsyklop merged 1 commit into
mainfrom
bug/ai-debugger-kotlin-java-test-finder

Conversation

@Tsyklop

@Tsyklop Tsyklop commented Nov 2, 2026

Copy link
Copy Markdown
Collaborator

ai-debugger-kotlin.xml registered org.hyperskill.academy.ai.debugger.java.impl.JTestFinder as the testFinder for JAVA. That class lives in the ai-debugger-java content module. It's an optional module with its own classloader, and ai-debugger-kotlin doesn't depend on it, so the Kotlin module's classloader can't load the class. The platform would fail to create that extension when the AI debugger looks up a test finder for a Java test file (TestFinder.findTestByName).

ai-debugger-java.xml already registers the same finder for JAVA, so this removes the duplicate line from the Kotlin module. Java test lookup is unchanged.

Found while investigating EDU-9198 (#64). This error hasn't been reported, and I didn't reproduce it at runtime.

Testing

  • No code or test uses that registration.
  • The descriptor is still valid XML.

…module

JTestFinder lives in the ai-debugger-java content module, which ai-debugger-kotlin
does not depend on, so its classloader cannot load the class. ai-debugger-java
already registers the same test finder for JAVA.
@Tsyklop
Tsyklop merged commit 92b617d into main Nov 6, 2026
1 of 2 checks passed
@Tsyklop
Tsyklop deleted the bug/ai-debugger-kotlin-java-test-finder branch November 6, 2026 15:50
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.

1 participant