Boilerplate to add a new module

Ethan McCue ethan at mccue.dev
Wed Dec 14 03:36:53 UTC 2022


Hey all,

I'm doodling on JEP-198, and I was wondering if anyone had a line on the
boilerplate needed to add a new module to the build.

Just adding

src/
  java.json/
    share/
      classes/
        module-info.java
        java/
          json/
            Json.java
            ...

was enough to get it to show up under the output when I run "make images",
but I can't shake the feeling that I'm missing something.

(jtreg I assume has some extra setup? Anything else?)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/core-libs-dev/attachments/20221213/9090ab0c/attachment-0001.htm>


More information about the core-libs-dev mailing list