-
-
Notifications
You must be signed in to change notification settings - Fork 67
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
Build the tests with release=8 whenever it is possible #489
base: master
Are you sure you want to change the base?
Conversation
eeca573
to
99327e9
Compare
@fridrich Are you able to sign the Eclipse CLA? |
Thanks @fridrich for providing the fix. Could you try to sign ECA? https://github.com/adoptium/aqa-tests/blob/master/Contributing.md#eclipse-contributor-agreement The process should be simple, but unfortunately, we cannot proceed with the change without a signed ECA. |
@annaibm Please help to test this PR. Thanks |
FYI the comment which I'll copy here. fridrich commented Sep 23, 2024 So, that pull request basically fixes the build of the mauve.jar, so that it works with the java 8. It is hanging in eclipsefdn/eca. I am not sure whether we (SUSE) have ever signed something like this. I also don't care to be credited, so anybody who has the right paperwork on file can submit that patch. I transfer automatically the copyright to anybody brave enough to get it integrated. |
At the end, I signed it in my personal capacity. So it should be good I think. |
Quick update: We encountered other issues while upgrading to JDK 17 for compilation for all dependent jars (though |
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.
Given the comment that it can't be merged, putting a request changes 'hold' on this one so that it is not accidentally merged ahead of the other issues are resolved (more details on the other issues referenced would be good to link to this @llxia )
Fixes eclipse-openj9/openj9#19888
The tests have to be built with release=8 in order to avoid calling the new overridden methods with covariant return types in java.nio.ByteBuffer/CharBuffer/LongBuffer, like position(int), rewind, flip...
The only source file that has to be built with source=1.8 and target=1.8 is the gnu/testlet/java/lang/Class/classInfo/getDeclaredMethod.java, because it requires sun.reflect.annotation.AnnotationType that is not visible using release=8 from jdk9+
The specifying of release="8", source="1.8" and target="1.8" allows ant 1.10.x to use either release if supported or the source/target if release is not supported.