Re: Maven and Ant dependencies ported to Java 17

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


On Wed, Nov 3, 2021 at 12:54 PM Benjamin Evans <beevans@xxxxxxxxxx> wrote:
> Hi,
> On Wed, Nov 3, 2021 at 10:32 AM Mikolaj Izdebski <mizdebsk@xxxxxxxxxx> wrote:
> >
> > I've ported all my packages to be buildable with OpenJDK 17.
> > I have not pushed the changes to dist-git yet, but I will do it before
> > the end of the week.
> >
> > I wanted to share common problems I encountered and solutions I came up with.
> > I hope that this will help others trying to port their packages.
> >
> > Problem 1: Compiler source/target levels 1.6 are no longer supported
> > Solution: Bump source/target levels to 1.7 or 1.8
> Just a general plea to please use 1.8 not 1.7 as a baseline - Java 7
> was EOL'd 6 and a half years ago, and according to the most recent
> data I have that I regard as trustworthy, its usage is <0.1% and down
> in the statistical noise.
> In my opinion, we really shouldn't be enabling the use of this
> outdated tech, which is very likely to be deployed in all sorts of
> very insecure ways.

IMHO our packages should be as close to upstream as possible. To the
possible extent we should respect upstream decisions to target
ancient, no longer supported Java versions. Therefore in cases
upstream targets Java < 1.7 I made the packages compile with 1.7
compatibility, which is the lowest version still supported by OpenJDK

Mikolaj Izdebski

> Thanks,
> Ben
java-devel mailing list -- java-devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to java-devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct:
List Guidelines:
List Archives:
Do not reply to spam on the list, report it:

[Index of Archives]     [Red Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux