Page MenuHomeFreeBSD

math/apache-commons-math: build empty jar file (without classes) and doesn' build wiht jdk 11+
ClosedPublic

Authored by vvd on Jan 15 2024, 9:52 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Apr 29, 6:18 PM
Unknown Object (File)
Fri, Apr 26, 2:59 AM
Unknown Object (File)
Fri, Apr 26, 2:00 AM
Unknown Object (File)
Wed, Apr 24, 7:15 PM
Unknown Object (File)
Mar 21 2024, 12:19 PM
Unknown Object (File)
Mar 21 2024, 12:19 PM
Unknown Object (File)
Mar 21 2024, 12:19 PM
Unknown Object (File)
Mar 21 2024, 12:19 PM
Subscribers
None

Details

Summary
  1. Without target compile commons-math.jar was ~8KB only without classes - whit patch it's ~2MB.
  2. Doesn't build with OpenJDK 11+: compile.source and compile.target 1.5 deprecated and was removed in newer OpenJDKs.

Tested build in poudriere and on live system 13.2amd64 with OpenJDK 8, 11, 17 and 21.

Diff Detail

Repository
R11 FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

vvd requested review of this revision.Jan 15 2024, 9:52 PM
vvd created this revision.

Looking good, don't forget the PORTREVISION bump.

This revision is now accepted and ready to land.Jan 16 2024, 6:06 AM

Update the patch with the bump please.

vvd edited the summary of this revision. (Show Details)

Increased PORTREVISION.

This revision now requires review to proceed.Jan 16 2024, 6:38 AM
arrowd requested changes to this revision.Jan 16 2024, 6:42 AM
This revision now requires changes to proceed.Jan 16 2024, 6:42 AM
This revision was not accepted when it landed; it landed in state Needs Revision.Jan 16 2024, 7:14 AM
This revision was automatically updated to reflect the committed changes.

arrowd requested changes to this revision.

This revision was not accepted when it landed; it landed in state Needs Revision.

Gleb, remove this request or approve review. If it matters at all.