Bug 263600 - java/javamail only builds with Java 8
Summary: java/javamail only builds with Java 8
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Alex Dupre
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-04-27 02:17 UTC by wcarson.bugzilla
Modified: 2022-05-04 07:01 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (ale)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description wcarson.bugzilla 2022-04-27 02:17:09 UTC
java/javamail/Makefile currently has JAVA_VERSION=8+, but it in fact will only build with JAVA_VERSION=8. (I tried JAVA_VERSION=11 and JAVA_VERSION=16, and both fail.) Simply removing the + fixed the issue.
Comment 1 commit-hook freebsd_committer freebsd_triage 2022-05-04 07:01:59 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=e81f8397c708934da23d468644a519df73b74adf

commit e81f8397c708934da23d468644a519df73b74adf
Author:     Alex Dupre <ale@FreeBSD.org>
AuthorDate: 2022-05-04 06:57:36 +0000
Commit:     Alex Dupre <ale@FreeBSD.org>
CommitDate: 2022-05-04 06:57:36 +0000

    java/javamail: restrict to java version 8

    The Java Activation Framework (jaf), required to build javamail,
    was included in JRE 1.6, but later removed in JRE 11.

    PR:             263600
    Submitted by:   wcarson.bugzilla@disillusion.net

 java/javamail/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)