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 gms failed in jdk1.8 #9586

Closed
LittleBird0616 opened this issue Jan 8, 2024 · 4 comments · Fixed by #9807
Closed

build gms failed in jdk1.8 #9586

LittleBird0616 opened this issue Jan 8, 2024 · 4 comments · Fixed by #9807

Comments

@LittleBird0616
Copy link

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.

Copy link

github-actions bot commented Feb 8, 2024

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

@github-actions github-actions bot added the stale label Feb 8, 2024
@hsheth2
Copy link
Collaborator

hsheth2 commented Feb 9, 2024

@LittleBird0616 looks like those docs are outdated. We require Java 17.

I'll fix the docs shortly.

hsheth2 added a commit that referenced this issue Feb 9, 2024
@github-actions github-actions bot removed the stale label Feb 10, 2024
@LittleBird0616
Copy link
Author

@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?

@hsheth2
Copy link
Collaborator

hsheth2 commented Feb 18, 2024

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.

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 a pull request may close this issue.

2 participants