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

draft: Update/java 17 #45

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

draft: Update/java 17 #45

wants to merge 2 commits into from

Conversation

allemas
Copy link

@allemas allemas commented Oct 31, 2022

Update in progress...

Update maven-compiler-plugin version and jdk version.
The tests have not yet been carried out

@allemas allemas changed the title draft Update/java 17 draft: Update/java 17 Oct 31, 2022
@wido
Copy link
Member

wido commented Oct 31, 2022

Were you able to compile with this version?

@allemas
Copy link
Author

allemas commented Nov 3, 2022

yes with some depreciation warnings.

[WARNING] /rados-java/src/main/java/com/ceph/rados/jna/Rados.java:[33,36] <T>loadLibrary(java.lang.String,java.lang.Class<T>) in com.sun.jna.Native has been deprecated

[WARNING] /rados-java/src/main/java/com/ceph/rados/jna/RadosClusterInfo.java:[31,20] getFieldOrder() in com.ceph.rados.jna.RadosClusterInfo overrides getFieldOrder() in com.sun.jna.Structure return type requires unchecked conversion from java.util.List to java.util.List<java.lang.String>

[WARNING] /rados-java/src/main/java/com/ceph/rados/jna/RadosPoolInfo.java:[39,20] getFieldOrder() in com.ceph.rados.jna.RadosPoolInfo overrides getFieldOrder() in com.sun.jna.Structure return type requires unchecked conversion from java.util.List to java.util.List<java.lang.String>

[WARNING] /rados-java/src/main/java/com/ceph/rbd/jna/Rbd.java:[30,32] <T>loadLibrary(java.lang.String,java.lang.Class<T>) in com.sun.jna.Native has been deprecated

[WARNING] /rados-java/src/main/java/com/ceph/rbd/jna/RbdImageInfo.java:[40,20] getFieldOrder() in com.ceph.rbd.jna.RbdImageInfo overrides getFieldOrder() in com.sun.jna.Structure return type requires unchecked conversion from java.util.List to java.util.List<java.lang.String>

[WARNING] /rados-java/src/main/java/com/ceph/rbd/jna/RbdSnapInfo.java:[39,20] getFieldOrder() in com.ceph.rbd.jna.RbdSnapInfo overrides getFieldOrder() in com.sun.jna.Structure return type requires unchecked conversion from java.util.List to java.util.List<java.lang.String>

[WARNING] /rados-java/src/main/java/com/ceph/radosstriper/jna/RadosStriper.java:[27,50] <T>loadLibrary(java.lang.String,java.lang.Class<T>) in com.sun.jna.Native has been deprecated

[WARNING] /rados-java/src/main/java/com/ceph/rados/Rados.java:[283,20] finalize() in java.lang.Object has been deprecated [WARNING] /rados-java/src/main/java/com/ceph/rados/Rados.java:[289,14] finalize() in java.lang.Object has been deprecated

I don't know if you want to fix this in this PR

@wido
Copy link
Member

wido commented Nov 21, 2022

No, we don't need to fix those in this PR.

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

Successfully merging this pull request may close these issues.

2 participants