• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

CyclopsMC / IntegratedScripting
46%
master-26-lts: 50%

Build:
Build:
LAST BUILD BRANCH: master-1.21-lts
DEFAULT BRANCH: master-26-lts
Repo Added 19 Dec 2024 03:30PM UTC
Token oo7I4QZQKSmzrtNamF38TPDxpd1g5YTEL regen
Build 212 Last
Files 81
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH fix/68-tregex-preload
branch: fix/68-tregex-preload
CHANGE BRANCH
x
Reset
Sync Branches
  • fix/68-tregex-preload
  • 1.21.1-1.0.10
  • 1.21.1-1.0.11
  • 1.21.1-1.0.12
  • 1.21.1-1.0.13
  • 1.21.1-1.0.14
  • 1.21.1-1.0.15
  • 1.21.1-1.0.16
  • 1.21.1-1.0.17
  • 1.21.1-1.0.18
  • 1.21.1-1.0.19
  • 1.21.1-1.0.20
  • 1.21.1-1.0.21
  • 1.21.1-1.0.22
  • 1.21.1-1.0.23
  • 1.21.1-1.0.24
  • 1.21.1-1.0.25
  • 1.21.1-1.0.26
  • 26.1.1-1.0.21
  • 26.1.2-1.0.21
  • 26.1.2-1.0.24
  • 26.1.2-1.0.25
  • 26.1.2-1.0.27
  • claude/integrated-scripting-issue-67-fxfrra
  • claude/issue-67-error-listener-leak
  • claude/issue-67-nbt-operator-arguments
  • claude/js-script-eval-perf-s6dy59
  • copilot/add-game-tests-for-advancements
  • copilot/add-negative-game-tests-for-advancements
  • feature/customclassloader
  • feature/customclassloader-1-21
  • feature/fix-63
  • feature/jarjar
  • feature/production-gametests
  • feature/test-ci-java
  • fix/graal-shadow
  • fix/graal-shadow2
  • i18n
  • l10n_crowdin_translations
  • master-1.21
  • master-1.21-lts
  • master-1.21.10
  • master-1.21.4
  • master-1.21.8
  • master-26
  • master-26-lts
  • patch-1

02 Sep 2026 06:09PM UTC coverage: 46.158% (+0.2%) from 45.923%
33665833901

Pull #72

github

claude
Pre-initialize TRegex in the Graal fallback classloader

TRegex resolves its static loggers the first time a regex is compiled.
That lookup validates the "regex" language id against the languages
visible from the thread context classloader, which on a server thread is
NeoForge's classloader that does not see the packaged Graal jars:

  java.lang.IllegalArgumentException: Unknown language or instrument id
  regex, known ids: debugger, engine, graal, sandbox
    at TruffleLogger$LoggerCache.getOrCreateLogger
    at com.oracle.truffle.regex.tregex.util.Loggers.<clinit>
    at com.oracle.truffle.regex.tregex.TRegexCompiler.compile

Because it happens inside a static initializer, the failure is permanent
for the JVM session, and every later script using a regex only reports
"NoClassDefFoundError: Could not initialize class
com.oracle.truffle.regex.tregex.util.Loggers".

Graal 25.0 cached this id set on the logger cache, so it was resolved once
during startup. Since 25.1 it is resolved per call, which is why this only
appeared after the Graal bump.

Compiling a regex during the startup pre-load initializes TRegex while the
context classloader still points to the Graal fallback classloader, where
all other Graal initialization already happens.

Closes #68

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DwXjG9jWXimuecAeHk5oby
Pull Request #72: Pre-initialize TRegex in the Graal fallback classloader

276 of 860 branches covered (32.09%)

Branch coverage included in aggregate %.

1316 of 2589 relevant lines covered (50.83%)

22.92 hits per line

Relevant lines Covered
Build:
Build:
2589 RELEVANT LINES 1316 COVERED LINES
22.92 HITS PER LINE
Source Files on fix/68-tregex-preload
  • Tree
  • List 81
  • Changed 7
  • Source Changed 0
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
33665833901 fix/68-tregex-preload Pre-initialize TRegex in the Graal fallback classloader TRegex resolves its static loggers the first time a regex is compiled. That lookup validates the "regex" language id against the languages visible from the thread context classloader, which ... Pull #72 02 Sep 2026 06:18PM UTC claude github
46.16
See All Builds (180)

Badge your Repo: IntegratedScripting

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

Refresh
  • Settings
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc