-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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 gms failed in jdk1.8 #9586
Comments
This issue is stale because it has been open for 30 days with no activity. If you believe this is still an issue on the latest DataHub release please leave a comment with the version that you tested it with. If this is a question/discussion please head to https://slack.datahubproject.io. For feature requests please use https://feature-requests.datahubproject.io |
@LittleBird0616 looks like those docs are outdated. We require Java 17. I'll fix the docs shortly. |
It seems that gms cannot be built using jdk17 until version 0.12.1. (The lombok version is earlier and does not adapt to the JDK of a later version.) Will the new version support JDK17? When will the new version be released? |
The next release (0.13.0) will require JDK 17. I can't give a hard timeline, but we'll probably be releasing it in the next few weeks. |
When I try to build the gms service in the jdk1.8 environment, I get the following error message:
D:\0Code\99.openSource\datahub-0.12.0\buildSrc\src\main\java\io\datahubproject\OpenApiEntities.java:281: error: incompatible types: inference variable T has incompatible bounds .collect(Collectors.toSet()); ^ equality constraints: String lower bounds: Object where T is a type-variable: T extends Object declared in method <T>toSet()
This error is not reported in JDK11.
But,according to https://github.com/datahub-project/datahub/tree/master/metadata-service#pre-requisites
JDK 1.8 is supposed to work properly.
The text was updated successfully, but these errors were encountered: