Bug 243022

Summary: www/glassfish: please change the default to jdk8+
Product: Ports & Packages Reporter: Pedro F. Giffuni <pfg>
Component: Individual Port(s)Assignee: Johannes M Dieterich <jmd>
Status: Closed FIXED    
Severity: Affects Only Me Flags: bugzilla: maintainer-feedback? (jmd)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch: portlint, change java version none

Description Pedro F. Giffuni freebsd_committer freebsd_triage 2020-01-01 19:03:54 UTC
JAVA_VERSION in the glassfish port is set to 11+ but it should be 8+.

The upstream repository at
https://github.com/eclipse-ee4j/glassfish

explicitly mentions JDK8+ as the prerequisite and the tests also run un jdk8.

While openjdk is fine, on commercial environments there may be some resistance towards jdk11 due to the license change from Oracle.
Comment 1 Pedro F. Giffuni freebsd_committer freebsd_triage 2020-01-01 23:52:12 UTC
Created attachment 210379 [details]
patch: portlint, change java version

- portlint: extra space on first line.
- Drop java version: all supported versions should work fine.
- the portsuffix and conflicts seem redundant now.
Comment 2 commit-hook freebsd_committer freebsd_triage 2020-01-04 20:48:17 UTC
A commit references this bug:

Author: jmd
Date: Sat Jan  4 20:47:57 UTC 2020
New revision: 522061
URL: https://svnweb.freebsd.org/changeset/ports/522061

Log:
  www/glassfish: downgrade Java requirement to Java8

  While there, pet portlint and update conflicts.

  PR:		243022
  Submitted by:	pfg (with changes)

Changes:
  head/www/glassfish/Makefile