-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
Updates ElasticJob to 3.0.4 to block CVEs for SnakeYAML delivery #28805
Conversation
0da2c82
to
fd0c309
Compare
fd0c309
to
a214628
Compare
不知道修复版本什么时候发布,有大佬知道怎么临时解决吗 |
sdk install java 21.0.2-graalce
sdk use java 21.0.2-graalce
git clone [email protected]:apache/shardingsphere.git
cd ./shardingsphere/
./mvnw clean install -Prelease -T1C -DskipTests -Djacoco.skip=true -Dcheckstyle.skip=true -Drat.skip=true -Dmaven.javadoc.skip=true -B
|
Pay attention. Use It's worked! and how long can we use in new 5.4.2 release version? |
|
Thanks! |
Hello, did you manually compile the version |
I found that even with ShardingSphere 5.4.1 and SnakeYaml 2.1, the startup was successful. Why? |
|
If I manually reference SnakeYaml in the pom.xml file and specify a version above 2.x, the startup is fine; However, if you do not manually reference SnakeYaml, the SnakeYaml version of the project, although it is also 2.0, will still start error. In addition, I did configure ShardingSphere JDBC through the Java API. |
|
You're right, I found out that the framework I was using overwrote the missing parameterless Representer class constructor. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- I've opened https://bitbucket.org/snakeyaml/snakeyaml/issues/1093/yaml-constructor-does-not-respect for follow-up effects of this PR.
Fixes #24636.
Changes proposed in this pull request:
Before committing this PR, I'm sure that I have checked the following options:
./mvnw clean install -B -T1C -Dmaven.javadoc.skip -Dmaven.jacoco.skip -e
.