You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please pay attention on issues you submitted, because we maybe need more details.
If no response anymore and we cannot reproduce it on current information, we will close it.
Please answer these questions before submitting your issue. Thanks!
Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?
ShardingSphere-JDBC
Expected behavior
ShardingSphere build succeeds on OpenJDK 22.
Actual behavior
ShardingSphere build fails on OpenJDK 22.
[ERROR] Failures:
[ERROR] AgentBuilderFactoryTest.assertAdviceConstructor:79
Expected: is <[on constructor, foo constructor, bar constructor]>
but: was <[on constructor]>
[ERROR] AgentBuilderFactoryTest.assertAdviceInstanceMethod:86
Expected: is <[foo before instance method, bar before instance method, on instance method, foo after instance method, bar after instance method]>
but: was <[on instance method]>
[ERROR] AgentBuilderFactoryTest.assertAdviceInstanceMethodWhenExceptionThrown:96
Expected: is <[foo before instance method, bar before instance method, foo throw instance method exception, bar throw instance method exception, foo after instance method, bar after instance method]>
but: was <[]>
[ERROR] AgentBuilderFactoryTest.assertAdviceStaticMethod:104
Expected: is <[foo before static method, bar before static method, on static method, foo after static method, bar after static method]>
but: was <[on static method]>
[ERROR] AgentBuilderFactoryTest.assertAdviceStaticMethodWhenExceptionThrown:114
Expected: is <[foo before static method, bar before static method, foo throw static method exception, bar throw static method exception, foo after static method, bar after static method]>
but: was <[]>
[ERROR] Errors:
[ERROR] PluginLifecycleServiceManagerTest.assertInitPluginLifecycleServiceWithMockHandler:53 Mockito
Mockito cannot mock this class: interface java.net.URLStreamHandlerFactory.
If you're not sure why you're getting this error, please open an issue on GitHub.
Java : 22
JVM vendor name : Oracle Corporation
JVM vendor version : 22+36-2370
JVM name : OpenJDK 64-Bit Server VM
JVM version : 22+36-2370
JVM info : mixed mode, sharing
OS name : Linux
OS version : 5.15.146.1-microsoft-standard-WSL2
You are seeing this disclaimer because Mockito is configured to create inlined mocks.
You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc.
Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface java.net.URLStreamHandlerFactory]
[INFO]
[ERROR] Tests run: 26, Failures: 5, Errors: 1, Skipped: 0
[INFO]
Reason analyze (If you can)
Null.
Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc.
sdk install java 22-open
sdk use java 22-open
git clone git@github.com:apache/shardingsphere.git
cd ./shardingsphere/
./mvnw clean install -T1C -Dmaven.javadoc.skip -Dmaven.jacoco.skip -e
Example codes for reproduce this issue (such as a github link).
Null.
The text was updated successfully, but these errors were encountered:
Bug Report
For English only, other languages will not accept.
Before report a bug, make sure you have:
Please pay attention on issues you submitted, because we maybe need more details.
If no response anymore and we cannot reproduce it on current information, we will close it.
Please answer these questions before submitting your issue. Thanks!
Which version of ShardingSphere did you use?
Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?
ShardingSphere-JDBC
Expected behavior
Actual behavior
Reason analyze (If you can)
Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc.
sdk install java 22-open sdk use java 22-open git clone git@github.com:apache/shardingsphere.git cd ./shardingsphere/ ./mvnw clean install -T1C -Dmaven.javadoc.skip -Dmaven.jacoco.skip -e
Example codes for reproduce this issue (such as a github link).
The text was updated successfully, but these errors were encountered: