RFR: 8257733: Move module-specific data from make to respective module

Erik Joelsson erikj at openjdk.java.net
Fri Dec 4 14:08:13 UTC 2020


On Fri, 4 Dec 2020 14:03:08 GMT, Erik Joelsson <erikj at openjdk.org> wrote:

>>> And I can certainly move jdwp.spec to java.base instead. 
>> 
>> If jdwp.spec has to move to the src tree then src/java.se is probably the most suitable home because Java SE specifies JDWP as an optional interface. So nothing to do with java.base and the build will need to continue to generate the sources for the front-end (jdk.jdi) and back-end (jdk.jdwp.agent) as they implement the protocol.
>
> My understanding of JEPs is that they should be viewed as living documents. In this case, I think it's perfectly valid to update JEP 201 with additional source code layout. Both for this and for the other missing dirs.

Regarding the chosen layout. Did you consider following the existing pattern of src/<module>/{share,<OS>}/data?

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

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


More information about the serviceability-dev mailing list