[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-i18n-dev
Subject:    <i18n dev> Integrated: 8260406: Do not copy pure java source code to gensrc
From:       Magnus Ihse Bursie <ihse () openjdk ! java ! net>
Date:       2021-01-26 14:11:41
Message-ID: rPRO86ud7e4KzdBXYH1cLz56ykiWRJfsgeWgLoJLESw=.4cc87f17-ea8a-4a09-b9cb-c80516d05ab4 () github ! com
[Download RAW message or body]

On Tue, 26 Jan 2021 10:35:03 GMT, Magnus Ihse Bursie <ihse@openjdk.org> wrote:

> For java.base gensrc we do the following:
> 
> # Copy two Java files that need no preprocessing.
> $(SUPPORT_OUTPUTDIR)/gensrc/java.base/java/lang/%.java: \
> $(CHARACTERDATA_TEMPLATES)/%.java.template $(call LogInfo, Generating $(@F))
> $(call install-file)
> 
> GENSRC_CHARACTERDATA += \
> $(SUPPORT_OUTPUTDIR)/gensrc/java.base/java/lang/CharacterDataUndefined.java \ \
> $(SUPPORT_OUTPUTDIR)/gensrc/java.base/java/lang/CharacterDataPrivateUse.java 
> What this means is that we have two "template" files that are just compiled as java \
> files, but only after being copied to gensrc. :-) 
> We should just rename these files to java and move them to the normal source \
> directory.

This pull request has now been integrated.

Changeset: 8d2f77fd
Author:    Magnus Ihse Bursie <ihse@openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/8d2f77fd
Stats:     9 lines in 3 files changed: 0 ins; 8 del; 1 mod

8260406: Do not copy pure java source code to gensrc

Reviewed-by: alanb, erikj

-------------

PR: https://git.openjdk.java.net/jdk/pull/2233


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic