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.
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.
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