Skip to content
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

java.lang.NoSuchMethodError #220

Closed
ranjsa opened this issue Mar 11, 2020 · 2 comments
Closed

java.lang.NoSuchMethodError #220

ranjsa opened this issue Mar 11, 2020 · 2 comments

Comments

@ranjsa
Copy link

ranjsa commented Mar 11, 2020

@cyrille-artho
When i run gradle verification task it is failing in 6 testsCases One of which was in
ClassLoaderTest. testGetResourceAsStream

new issue#1

I checked it is because of loding of this class DiningPhil.class (at line 187) which is no longer available in the project

new issue#2

There are also similar errors like this
Can i work on a patch of removing this kind of test cases ...which are causing build errors ?

@cyrille-artho
Copy link
Member

Hi,
Please check first if there are older revisions where these tests pass. You can use git bisect for that. The file still exists but perhaps it was moved, and this test is not included in ./gradlew check which is run in our Travis CI setup.
It is possible that we can fix this test and also fix the issue that prevents it from being run as part of the CI check, in which case we can strengthen to CI test suite.

@ranjsa
Copy link
Author

ranjsa commented Mar 14, 2020

@cyrille-artho
Hi,
Thanks for helping
I fixed those test cases which were failing in my system it was causing because i was using jdk version 11 for building this projects ...But after using jdk version 8 i got all test cases passed in ./gradlew check script and in travis ci.

it was realy great i got to know a lot about GRADLE, TRAVIS CI and jpf-core in this 3 days.
I think there is no need to keep this issue open So i am closing this issue now.

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

No branches or pull requests

2 participants