Skip to content

ORC-1443: Enforce Java version - #1535

Closed
williamhyun wants to merge 2 commits into
apache:mainfrom
williamhyun:javaenforce
Closed

williamhyun wants to merge 2 commits into
apache:mainfrom
williamhyun:javaenforce

Conversation

@williamhyun

Copy link
Copy Markdown
Member

What changes were proposed in this pull request?

This PR aims to add enforce java version feature.
At this moment it is enforced to 1.8, however, we will be able to move it up later.

Why are the changes needed?

This feature helps enforce the minimum java version.

How was this patch tested?

Pass the CIs.

@williamhyun williamhyun added this to the 1.9.0 milestone Jun 15, 2023
@williamhyun

Copy link
Copy Markdown
Member Author

@dongjoon-hyun

@dongjoon-hyun dongjoon-hyun left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for pinging me. This looks good for v1.9.0.

Comment thread java/pom.xml Outdated
</modules>

<properties>
<java.version>1.8</java.version>

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, could you put this new property in a sorted order? CI seems to complain at the order.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let me fix this~

@williamhyun

Copy link
Copy Markdown
Member Author

Thank you for the review @dongjoon-hyun !

dongjoon-hyun added a commit that referenced this pull request Jun 15, 2023
This PR aims to add enforce java version feature.
At this moment it is enforced to 1.8, however, we will be able to move it up later.

This feature helps enforce the minimum java version.

Pass the CIs.

Closes #1535 from williamhyun/javaenforce.

Lead-authored-by: William Hyun <william@apache.org>
Co-authored-by: Dongjoon Hyun <dongjoon@apache.org>
Signed-off-by: William Hyun <william@apache.org>
@dongjoon-hyun

Copy link
Copy Markdown
Member

Thank you! I cherry-picked this to branch-1.9, too.

cxzl25 pushed a commit to cxzl25/orc that referenced this pull request Jan 11, 2024
### What changes were proposed in this pull request?
This PR aims to add enforce java version feature.
At this moment it is enforced to 1.8, however, we will be able to move it up later.

### Why are the changes needed?
This feature helps enforce the minimum java version.

### How was this patch tested?
Pass the CIs.

Closes apache#1535 from williamhyun/javaenforce.

Lead-authored-by: William Hyun <william@apache.org>
Co-authored-by: Dongjoon Hyun <dongjoon@apache.org>
Signed-off-by: William Hyun <william@apache.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants