Skip to content

fix: initialize JavaLoader with full null support - #32

Open
elpete wants to merge 1 commit into
developmentfrom
fix/full-null-loader-init
Open

fix: initialize JavaLoader with full null support#32
elpete wants to merge 1 commit into
developmentfrom
fix/full-null-loader-init

Conversation

@elpete

@elpete elpete commented Aug 23, 2026

Copy link
Copy Markdown

Summary

  • declare initUseJavaProxyCFC as void because it intentionally returns no value
  • avoid arrayLen on a null optional sourceDirectories argument
  • add direct Adobe full-null CI coverage that uses the public JavaLoader constructor without ColdBox or TestBox dependencies

Regression coverage

  • adds a public-constructor TestBox spec that verifies the default loader state and class loader
  • adds a nested full-null test application and public loader endpoint
  • the Adobe 2023 CI job calls that endpoint directly, so the regression cannot be masked by framework dependency failures

Red/green evidence

Before the source fix, the public Adobe 2023 full-null request failed with: The value returned from the initUseJavaProxyCFC function is not of type string.

After changing the return type, the same request exposed arrayLen on the null optional sourceDirectories argument. With both fixes applied, the request returns PASS.

Validation

  • Adobe 2023 full-null public endpoint: PASS
  • Lucee 6 complete TestBox suite: 5 passed, 0 failed, 0 errored
  • cfformat check passed
  • workflow YAML parsed successfully
  • git diff --check passed

Supports coldbox-modules/quick#312.

@github-actions

github-actions Bot commented Aug 23, 2026

Copy link
Copy Markdown

lucee@5 ColdBox ^7.0.0 Test Results

5 tests  +1   5 ✅ +1   0s ⏱️ ±0s
1 suites ±0   0 💤 ±0 
1 files   ±0   0 ❌ ±0 

Results for commit c69ebfc. ± Comparison against base commit dc380b1.

♻️ This comment has been updated with latest results.

@github-actions

github-actions Bot commented Aug 23, 2026

Copy link
Copy Markdown

lucee@6 ColdBox ^7.0.0 Test Results

5 tests  +1   5 ✅ +1   0s ⏱️ ±0s
1 suites ±0   0 💤 ±0 
1 files   ±0   0 ❌ ±0 

Results for commit c69ebfc. ± Comparison against base commit dc380b1.

♻️ This comment has been updated with latest results.

@github-actions

github-actions Bot commented Aug 23, 2026

Copy link
Copy Markdown

lucee@6 ColdBox be Test Results

5 tests  +1   5 ✅ +1   0s ⏱️ ±0s
1 suites ±0   0 💤 ±0 
1 files   ±0   0 ❌ ±0 

Results for commit c69ebfc. ± Comparison against base commit dc380b1.

♻️ This comment has been updated with latest results.

@github-actions

github-actions Bot commented Aug 23, 2026

Copy link
Copy Markdown

lucee@5 ColdBox be Test Results

5 tests  +1   5 ✅ +1   0s ⏱️ ±0s
1 suites ±0   0 💤 ±0 
1 files   ±0   0 ❌ ±0 

Results for commit c69ebfc. ± Comparison against base commit dc380b1.

♻️ This comment has been updated with latest results.

@github-actions

github-actions Bot commented Aug 23, 2026

Copy link
Copy Markdown

boxlang-cfml@1 ColdBox ^7.0.0 Test Results

5 tests  +1   5 ✅ +1   0s ⏱️ ±0s
1 suites ±0   0 💤 ±0 
1 files   ±0   0 ❌ ±0 

Results for commit c69ebfc. ± Comparison against base commit dc380b1.

♻️ This comment has been updated with latest results.

@github-actions

github-actions Bot commented Aug 23, 2026

Copy link
Copy Markdown

boxlang@1 ColdBox be Test Results

5 tests  +1   5 ✅ +1   1s ⏱️ -1s
1 suites ±0   0 💤 ±0 
1 files   ±0   0 ❌ ±0 

Results for commit c69ebfc. ± Comparison against base commit dc380b1.

♻️ This comment has been updated with latest results.

@github-actions

github-actions Bot commented Aug 23, 2026

Copy link
Copy Markdown

boxlang-cfml@1 ColdBox be Test Results

5 tests  +1   5 ✅ +1   0s ⏱️ ±0s
1 suites ±0   0 💤 ±0 
1 files   ±0   0 ❌ ±0 

Results for commit c69ebfc. ± Comparison against base commit dc380b1.

♻️ This comment has been updated with latest results.

@github-actions

github-actions Bot commented Aug 23, 2026

Copy link
Copy Markdown

adobe@2025 ColdBox be Test Results

5 tests  +1   5 ✅ +1   0s ⏱️ ±0s
1 suites ±0   0 💤 ±0 
1 files   ±0   0 ❌ ±0 

Results for commit c69ebfc. ± Comparison against base commit dc380b1.

♻️ This comment has been updated with latest results.

@github-actions

github-actions Bot commented Aug 23, 2026

Copy link
Copy Markdown

adobe@2025 ColdBox ^7.0.0 Test Results

5 tests  +1   5 ✅ +1   0s ⏱️ ±0s
1 suites ±0   0 💤 ±0 
1 files   ±0   0 ❌ ±0 

Results for commit c69ebfc. ± Comparison against base commit dc380b1.

♻️ This comment has been updated with latest results.

@github-actions

github-actions Bot commented Aug 23, 2026

Copy link
Copy Markdown

adobe@2023 ColdBox ^7.0.0 Test Results

5 tests  +1   5 ✅ +1   0s ⏱️ ±0s
1 suites ±0   0 💤 ±0 
1 files   ±0   0 ❌ ±0 

Results for commit c69ebfc. ± Comparison against base commit dc380b1.

♻️ This comment has been updated with latest results.

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