forked from quarkusio/quarkus
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Overcome 'String too large to record' issue with Truffle
This is better than the current state, but it is not yet the absolutely correct Relates: quarkusio#39387
- Loading branch information
Showing
2 changed files
with
7 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 4 additions & 2 deletions
6
core/runtime/src/main/java/io/quarkus/runtime/ClassPathSystemPropertyRecorder.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,13 @@ | ||
package io.quarkus.runtime; | ||
|
||
import java.util.List; | ||
|
||
import io.quarkus.runtime.annotations.Recorder; | ||
|
||
@Recorder | ||
public class ClassPathSystemPropertyRecorder { | ||
|
||
public void set(String value) { | ||
System.setProperty("java.class.path", value); | ||
public void set(List<String> allJarPaths) { | ||
System.setProperty("java.class.path", String.join(":", allJarPaths)); | ||
} | ||
} |