Skip to content

Conversation

@psxjoy
Copy link
Member

@psxjoy psxjoy commented Jul 23, 2025

Purpose of the pull request

#414

What's changed?

support jdk8 and jdk8+ mvn install.

Checklist

  • I have written the necessary doc or comment.
  • I have added the necessary unit tests and all cases have passed.

@psxjoy psxjoy marked this pull request as draft July 23, 2025 09:00
pom.xml Outdated
<jdk>[9,)</jdk>
</activation>
<properties>
<jdk.module.addopens>
Copy link
Member

Choose a reason for hiding this comment

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

Interesting. I don't find reference to this property. Is it documented somewhere? I wonder its semantic and how it works.

Copy link
Member Author

Choose a reason for hiding this comment

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

Interesting. I don't find reference to this property. Is it documented somewhere? I wonder its semantic and how it works.

Check this url:https://maven.apache.org/guides/introduction/introduction-to-profiles.html#JDK

Copy link
Member

Choose a reason for hiding this comment

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

I refer jdk.module.addopens.

Copy link
Member Author

Choose a reason for hiding this comment

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

I refer jdk.module.addopens.

I didn't correct that part when I submitted it. It wasn't a feature of any kind, just a placeholder string, which has now been corrected.

Copy link
Member

@tisonkun tisonkun left a comment

Choose a reason for hiding this comment

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

@psxjoy
Copy link
Member Author

psxjoy commented Jul 23, 2025

To verify this change works and prevent regression, we'd better merge

https://github.com/fast-excel/fastexcel/blob/c82e99998d9811b0c727a4d4ce3e46370f6efd9f/.github/workflows/ci.yml#L57-L62

.

done

@psxjoy
Copy link
Member Author

psxjoy commented Jul 23, 2025

While it may seem inelegant, it does solve the problem of developers using jdk8 to compile directly in their local computer.

cc @tisonkun @alaahong

@psxjoy psxjoy marked this pull request as ready for review July 23, 2025 18:31
@psxjoy psxjoy requested review from alaahong and tisonkun July 23, 2025 18:31
Copy link
Member

@alaahong alaahong left a comment

Choose a reason for hiding this comment

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

please verify with test execution then check below report
fastexcel-test/target/site/jacoco-aggregate/index.html

psxjoy and others added 2 commits July 25, 2025 21:38
Co-authored-by: tison <wander4096@gmail.com>
Co-authored-by: tison <wander4096@gmail.com>
@psxjoy
Copy link
Member Author

psxjoy commented Jul 25, 2025

Thanks to @tisonkun 's help and @alaahong 's verification.
I think we have finished this task.
If no one votes -1 bonding, or something I should correct, I will merge this PR in 24hours.

Copy link
Member

@tisonkun tisonkun left a comment

Choose a reason for hiding this comment

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

LGTM. Great!

@delei delei mentioned this pull request Jul 25, 2025
2 tasks
@delei
Copy link
Member

delei commented Jul 28, 2025

Hi, @psxjoy
I suggest that the spotless plugin should be bound to maven phase.

<executions>
    <execution>
        <id>spotless-check</id>
        <goals>
            <goal>check</goal>
        </goals>
        <phase>compile</phase>
    </execution>
</executions>

Just for reference, would it be helpful to us as well?

https://github.com/apache/iotdb/blob/master/pom.xml#L1542-L1569

@psxjoy psxjoy merged commit 76fb834 into apache:main Jul 28, 2025
5 checks passed
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.

4 participants