Opened 3 years ago

Last modified 3 years ago

#23114 closed enhancement

[PATCH] Add module-info to JMapViewer — at Initial Version

Reported by: taylor.smock Owned by: team
Priority: normal Milestone:
Component: JMapViewer Version:
Keywords: Don-vip, stoecker Cc:

Description

I'd like to add a module-info to JMapViewer before we do another release of it.

The patch does the following:

  • Adds a module-info.java class that exports everything and requires java.desktop and java.logging.
  • Modify the build.xml file to build the module-info.class file if built under Java 9. This does require two compile runs, so ant build takes a bit longer (2s). In order to get the second javac to work, I had to delete the compiled files (except for module-info.class). While I could technically just compile module-info by itself, that removes the compile-time sanity checks for modules.

Change History (1)

by taylor.smock, 3 years ago

Attachment: 23114.patch added
Note: See TracTickets for help on using tickets.