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

Build fails when API from higher version Java (7 and above) is introduced in the source code. #236

Open
pradeipk opened this issue May 13, 2024 · 3 comments

Comments

@pradeipk
Copy link
Contributor

Animal Sniffer plugin is used to report API-related incompatibilities at build time. This prevents the buid to succeed when the APIs from higher version (7and above) of Java is introduced in the source code. Is there any particular reason for this constraint other than JRE 6 compatibility?

If the requirement is to use API from higher version java in the sdk source code, will the PR be accepted? If not, should it be fork and maintain separately? Please help us understand the process of updating and maintaining source code under this requirement.

@jouniaro
Copy link
Contributor

Yes, the code base is targeting Java 6+. This repository is not actively developed any more by the OPC Foundation, so there is no intention to make any changes regarding the target platform.

@pradeipk
Copy link
Contributor Author

Thanks @jouniaro, I got it that such PR will not be accepted where API from higher version of Java is used. In this situation can the repo be forked and changes persisted separately. Is there a legal requirement to use the forked repo and not contribute changes back to master?

@jouniaro
Copy link
Contributor

Please check https://opcfoundation.github.io/UA-Java-Legacy/.

It says: “Note: Dual license applies to this repository only; GPL 2.0 applies to all other repositories”, which means that you can make changes to a fork which you don't have to return but that must be provided as GPL 2.0.

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