[
https://issues.apache.org/jira/browse/AVRO-3126?focusedWorklogId=774394&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-774394
]
ASF GitHub Bot logged work on AVRO-3126:
----------------------------------------
Author: ASF GitHub Bot
Created on: 25/May/22 07:56
Start Date: 25/May/22 07:56
Worklog Time Spent: 10m
Work Description: ashley-taylor commented on PR #1680:
URL: https://github.com/apache/avro/pull/1680#issuecomment-1136914683
@martin-g I noticed a bug in how I had conditionally included the java17
module with a profile.
The version of the java17 module would not increment automatically when
performing a release, causing a manual headache.
I changed it always to be included but have the compile and test plugins
disabled so that it won't complain about the version of java.
Annoyingly I can't put any logic in the maven properties, so the property to
enable it has to be named backwards `disableJava17`.
This way, the module will be included for lining and release purposes but
not actually run the code unless configured to set the flag.
Changed the build.sh script to have a new option to run in java17 mode and
add an expression to execute one of the two test steps conditionally.
Issue Time Tracking
-------------------
Worklog Id: (was: 774394)
Time Spent: 1h 10m (was: 1h)
> Create a module to integrate Java 17 specific features (like Java Records)
> with Avro
> ------------------------------------------------------------------------------------
>
> Key: AVRO-3126
> URL: https://issues.apache.org/jira/browse/AVRO-3126
> Project: Apache Avro
> Issue Type: Improvement
> Components: java
> Reporter: Ismaël Mejía
> Priority: Major
> Labels: pull-request-available
> Time Spent: 1h 10m
> Remaining Estimate: 0h
>
> Java introduced [records|https://openjdk.java.net/jeps/359] on Java 14. It is
> a good idea to explore how we can make users life easier using modern Java
> APIs for example when mapping Java Records from/to Avro Records.
>
--
This message was sent by Atlassian Jira
(v8.20.7#820007)