-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Absolute classpath gets recorded in ClassPathSystemPropBuildStep #39387
Comments
/cc @Sanne (core), @aloubyansky (core), @gsmet (core), @radcortez (core), @stuartwdouglas (core) |
I have no idea, sorry. |
Can this be used as is with Quarkus 3.8? I am asking because of the Truffle dependencies. Nothing should change from our perspective? |
I gave it a go (by updating the POM file to use Quarkus 3.8.0 and graal-sdk 23.1.2) and I am getting:
So not sure... |
Yeah... |
Hello @geoand, could you please provide some updates, when can we expect fixes for that and may be there is workaround this Thanks! |
@rodion-lezhnyuk-tealium do you have a sample application I can try? There is a super simple fix that I can make to get over the basic problem, but as I know there are other problems after that one is solved, I would like to be able to test things out on a sample. |
Hi @geoand, thanks for the response. Sorry, I can't share the application as it's a private company repository. Could you please provide commit example on another repository so I can do same things but in my project? |
Hi, I don't need the actual application, just something that contains the proper dependencies and some sample code that causes the problem. |
Hi @geoand, here is a repository with sample code which reproduces a bug. I put some descrption to |
Thanks, I'll have a look tomorrow |
This is better than the current state, but it is not yet the absolutely correct Relates: quarkusio#39387
#40549 is the fix to the immediate issue but I still need a reproducer that uses Quarkus and Truffle in order to come up with a final / complete fix |
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 (cherry picked from commit 56bbb39)
Hi @geoand, thanks a lot for the fix, appreciate it a lot. Got few questions regarding the fix:
|
Hi,
Yes, that's what the
Unfortunately I cannot.
If you have truffle on the classpath, there is no way around it |
This is better than the current state, but it is not yet the absolutely correct Relates: quarkusio#39387 (cherry picked from commit 56bbb39)
This is better than the current state, but it is not yet the absolutely correct Relates: quarkusio#39387 (cherry picked from commit 56bbb39)
This is better than the current state, but it is not yet the absolutely correct Relates: quarkusio#39387 (cherry picked from commit 56bbb39)
This is better than the current state, but it is not yet the absolutely correct Relates: quarkusio#39387 (cherry picked from commit 56bbb39)
This is better than the current state, but it is not yet the absolutely correct Relates: quarkusio#39387 (cherry picked from commit 56bbb39)
@geoand thanks for the response, in case it would be helpful for someone, here is an example PR which fixes this issue on project side (not the framework side) it simply replaces the classes with the fix that you provided above |
This is better than the current state, but it is not yet the absolutely correct Relates: quarkusio#39387
Describe the bug
Absolute classpath gets recorded in ClassPathSystemPropBuildStep, used for
"Make Truffle from GraalVM 23.1 work in all Quarkus modes" fix
This was noticed by @geoand as part of #39350 discussions
https://github.com/quarkusio/quarkus/blob/main/core/deployment/src/main/java/io/quarkus/deployment/steps/ClassPathSystemPropBuildStep.java#L49
When graal-sdk 23.1 is on the classpath, one can see error like this (please check
Caused by
part):Expected behavior
According to #39350 (comment) absolute paths should not be recorded
Actual behavior
Absolute CP is passed
How to Reproduce?
graal-sdk
dependency to your app, use Quarkus 999-SNAPSHOTmvn clean verify
on the sample appAlternatively you can use reproducer from #39350 but make sure to use Quarkus main revision before merging the fix, but with graal-sdk version set to 23.1.
Output of
uname -a
orver
macOS
Output of
java -version
Java 21
Quarkus version or git rev
Quarkus main 4ca065f
Build tool (ie. output of
mvnw --version
orgradlew --version
)No response
Additional information
No response
The text was updated successfully, but these errors were encountered: