https://bz.apache.org/bugzilla/show_bug.cgi?id=62355

--- Comment #9 from Mark Murphy <jmarkmur...@apache.org> ---
Andreas, I think we are on the same page WRT automatic modules. I think that
the best way forward is a repackaging by document type (WP, SS, PP) with a core
module and one or more support modules for things like charts, drawings, and
equations. If I understand things correctly, the module-info piece works as a
dependency manager for jigsaw modules. But if we go all in on that, would it
interfere with Java 8 compatibility?

Automatic modules provide an intriguing attempt at a workaround to real
modules, but it appears only half baked for us and other open source projects
[1]. I suggest that we should not make the move to modules yet because none of
our dependencies have made the switch. And we should only move POI to modules
when all of our dependencies are modularized, or the issues discussed in the
afore mentioned blog are addressed. I think that any other strategy, or attempt
to push forward regardless of dependencies will cause much more grief down the
road than the few who want modules now.

I do believe that modules are the way to go, but we must be intentional about
it if we are to avoid unintended consequences. I have seen this in Javascript
applications where some open source libraries (jQuery) shift suddenly to
Require.js, and now I can't properly upgrade a site because there are too many
dependencies on libraries that don't support Require.js. There may be a way to
do it, but I am not sufficiently skilled, and I don't have time to go through
all the dependencies to correct all the necessary libraries. So I am stuck with
an old unsupported version of jQuery, and an unsupported version of jqGrid, and
any questions are met with "you are on a very old version of jqGrid, try
upgrading first".

Unless we want to leave folks in the lurch, or we want to support very old
version of POI, we need to be cautious and intentional about how we approach
modularization. Maybe wait for v5.0 or even v6.0 to do that.

[1] http://blog.joda.org/2017/05/java-se-9-jpms-automatic-modules.html

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org

Reply via email to