Opened 2 months ago

Last modified 2 months ago

#465 new defect

Java 12 error maybe? "Source option 6 is nolonger supported"

Reported by: charmon Owned by:
Priority: major Milestone:
Component: java Version:
Keywords: Cc:
Parent Tickets:

Description

When I try to compile the bear on my Mac, I'm apparently running java 12.0.2 and compiling files with an error about "Source option 6 is no longer supported" and another about "Target option 6".

Subtickets

Attachments (1)

jdk12.patch (772 bytes) - added by Evenson Not Org 2 months ago.
Patch to compile for Java 12

Download all attachments as: .zip

Change History (2)

Changed 2 months ago by Evenson Not Org

Attachment: jdk12.patch added

Patch to compile for Java 12

comment:1 Changed 2 months ago by Evenson Not Org

To run on Java 12, one needs to compile things with Java 7 as a target which the attached patch does.

My current plan is to splitting between ABCL 1 (openjdk{4,6,7,8,11}) and ABCL 2 (openjdk{8,11,12} and beyond) so this is more explicit to the user, but if someone wants to go through the current build system to more easily export this configuration to the knowledgeable developer maybe by using abcl.properties to configure things, we could also do that.

Last edited 2 months ago by Evenson Not Org (previous) (diff)
Note: See TracTickets for help on using tickets.