You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@logging.apache.org by Gary Gregory <ga...@gmail.com> on 2017/05/05 20:09:47 UTC

[OT] Java 9 modules drama

FYI: http://mreinhold.org/blog/to-the-jcp-ec

Gary

Re: [OT] Java 9 modules drama

Posted by Gary Gregory <ga...@gmail.com>.
My take on a higher level is that Java 9 should be released without Jigsaw
and make sure all the toolchains work out of the box, Maven, Gradle, and so
on. Java 9 modules smell of NIH and if I really want modules today there
are solutions out there: OSGi with many implementations, JBoss Modules, and
who knows what else. I'm glad MR pushed back against a meta-module system.

Gary

On Fri, May 5, 2017 at 1:49 PM, Ralph Goers <ra...@dslextreme.com>
wrote:

> Wow. He is basically saying that Java 9 with the module system is going to
> be released whether or not the expert group approves it or not. I also
> noticed that the link to the Maven core developers responses immediately
> followed the response of Stephen Colebourne who flatly said auto modules
> won’t work and Robert Scholte’s (a core Maven developer) was less than
> enthusiastic.
>
> Personally, I think Stephen is correct. The only thing adding the manifest
> does is declare that when the jar is modularized what its name will be. The
> thing is, you can’t add that manifest entry unless it complies with the
> rules with package names. It seems to me that this is the same as having a
> module-info.java that declares the module name but has no exports or
> dependencies declared.  I am not sure what the result of that will be when
> the jar tries to call something it didn’t declare. If you’ve read the spec
> and found something I missed please let me know.
>
> Ralph
>
> > On May 5, 2017, at 1:09 PM, Gary Gregory <ga...@gmail.com> wrote:
> >
> > FYI: http://mreinhold.org/blog/to-the-jcp-ec
> >
> > Gary
>
>
>


-- 
E-Mail: garydgregory@gmail.com | ggregory@apache.org
Java Persistence with Hibernate, Second Edition
<https://www.amazon.com/gp/product/1617290459/ref=as_li_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=1617290459&linkCode=as2&tag=garygregory-20&linkId=cadb800f39946ec62ea2b1af9fe6a2b8>

<http:////ir-na.amazon-adsystem.com/e/ir?t=garygregory-20&l=am2&o=1&a=1617290459>
JUnit in Action, Second Edition
<https://www.amazon.com/gp/product/1935182021/ref=as_li_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=1935182021&linkCode=as2&tag=garygregory-20&linkId=31ecd1f6b6d1eaf8886ac902a24de418%22>

<http:////ir-na.amazon-adsystem.com/e/ir?t=garygregory-20&l=am2&o=1&a=1935182021>
Spring Batch in Action
<https://www.amazon.com/gp/product/1935182951/ref=as_li_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=1935182951&linkCode=%7B%7BlinkCode%7D%7D&tag=garygregory-20&linkId=%7B%7Blink_id%7D%7D%22%3ESpring+Batch+in+Action>
<http:////ir-na.amazon-adsystem.com/e/ir?t=garygregory-20&l=am2&o=1&a=1935182951>
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory

Re: [OT] Java 9 modules drama

Posted by Gary Gregory <ga...@gmail.com>.
On Fri, May 5, 2017 at 1:58 PM, Ralph Goers <ra...@dslextreme.com>
wrote:

> A response from RedHat - http://mail.openjdk.java.net/
> pipermail/jpms-spec-experts/2017-May/000690.html <
> http://mail.openjdk.java.net/pipermail/jpms-spec-experts/
> 2017-May/000690.html>.
>

Quite sensitive it seems.

Gary


>
> Ralph
>
> > On May 5, 2017, at 1:49 PM, Ralph Goers <ra...@dslextreme.com>
> wrote:
> >
> > Wow. He is basically saying that Java 9 with the module system is going
> to be released whether or not the expert group approves it or not. I also
> noticed that the link to the Maven core developers responses immediately
> followed the response of Stephen Colebourne who flatly said auto modules
> won’t work and Robert Scholte’s (a core Maven developer) was less than
> enthusiastic.
> >
> > Personally, I think Stephen is correct. The only thing adding the
> manifest does is declare that when the jar is modularized what its name
> will be. The thing is, you can’t add that manifest entry unless it complies
> with the rules with package names. It seems to me that this is the same as
> having a module-info.java that declares the module name but has no exports
> or dependencies declared.  I am not sure what the result of that will be
> when the jar tries to call something it didn’t declare. If you’ve read the
> spec and found something I missed please let me know.
> >
> > Ralph
> >
> >> On May 5, 2017, at 1:09 PM, Gary Gregory <ga...@gmail.com>
> wrote:
> >>
> >> FYI: http://mreinhold.org/blog/to-the-jcp-ec
> >>
> >> Gary
> >
> >
> >
>
>


-- 
E-Mail: garydgregory@gmail.com | ggregory@apache.org
Java Persistence with Hibernate, Second Edition
<https://www.amazon.com/gp/product/1617290459/ref=as_li_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=1617290459&linkCode=as2&tag=garygregory-20&linkId=cadb800f39946ec62ea2b1af9fe6a2b8>

<http:////ir-na.amazon-adsystem.com/e/ir?t=garygregory-20&l=am2&o=1&a=1617290459>
JUnit in Action, Second Edition
<https://www.amazon.com/gp/product/1935182021/ref=as_li_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=1935182021&linkCode=as2&tag=garygregory-20&linkId=31ecd1f6b6d1eaf8886ac902a24de418%22>

<http:////ir-na.amazon-adsystem.com/e/ir?t=garygregory-20&l=am2&o=1&a=1935182021>
Spring Batch in Action
<https://www.amazon.com/gp/product/1935182951/ref=as_li_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=1935182951&linkCode=%7B%7BlinkCode%7D%7D&tag=garygregory-20&linkId=%7B%7Blink_id%7D%7D%22%3ESpring+Batch+in+Action>
<http:////ir-na.amazon-adsystem.com/e/ir?t=garygregory-20&l=am2&o=1&a=1935182951>
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory

Re: [OT] Java 9 modules drama

Posted by Ralph Goers <ra...@dslextreme.com>.
A response from RedHat - http://mail.openjdk.java.net/pipermail/jpms-spec-experts/2017-May/000690.html <http://mail.openjdk.java.net/pipermail/jpms-spec-experts/2017-May/000690.html>.

Ralph

> On May 5, 2017, at 1:49 PM, Ralph Goers <ra...@dslextreme.com> wrote:
> 
> Wow. He is basically saying that Java 9 with the module system is going to be released whether or not the expert group approves it or not. I also noticed that the link to the Maven core developers responses immediately followed the response of Stephen Colebourne who flatly said auto modules won’t work and Robert Scholte’s (a core Maven developer) was less than enthusiastic. 
> 
> Personally, I think Stephen is correct. The only thing adding the manifest does is declare that when the jar is modularized what its name will be. The thing is, you can’t add that manifest entry unless it complies with the rules with package names. It seems to me that this is the same as having a module-info.java that declares the module name but has no exports or dependencies declared.  I am not sure what the result of that will be when the jar tries to call something it didn’t declare. If you’ve read the spec and found something I missed please let me know.
> 
> Ralph
> 
>> On May 5, 2017, at 1:09 PM, Gary Gregory <ga...@gmail.com> wrote:
>> 
>> FYI: http://mreinhold.org/blog/to-the-jcp-ec
>> 
>> Gary
> 
> 
> 


Re: [OT] Java 9 modules drama

Posted by Ralph Goers <ra...@dslextreme.com>.
Wow. He is basically saying that Java 9 with the module system is going to be released whether or not the expert group approves it or not. I also noticed that the link to the Maven core developers responses immediately followed the response of Stephen Colebourne who flatly said auto modules won’t work and Robert Scholte’s (a core Maven developer) was less than enthusiastic. 

Personally, I think Stephen is correct. The only thing adding the manifest does is declare that when the jar is modularized what its name will be. The thing is, you can’t add that manifest entry unless it complies with the rules with package names. It seems to me that this is the same as having a module-info.java that declares the module name but has no exports or dependencies declared.  I am not sure what the result of that will be when the jar tries to call something it didn’t declare. If you’ve read the spec and found something I missed please let me know.

Ralph

> On May 5, 2017, at 1:09 PM, Gary Gregory <ga...@gmail.com> wrote:
> 
> FYI: http://mreinhold.org/blog/to-the-jcp-ec
> 
> Gary