Goals was: Re: Supporting OSGi Bundles in the Java Module System

Stanley M. Ho Stanley.Ho at sun.com
Tue Jun 10 17:53:47 PDT 2008


Hi Adrian,

Adrian Brock wrote:
> On Mon, 2008-04-28 at 20:16 -0700, Stanley M. Ho wrote:
>> 2. Requirements
>>      1. It shall be possible for an OSGi container to implement the
>>         Java Module System.
>>      2. It shall be possible for a JAM module to express an import
>>         dependency on any Module Definition in any Java Module System.
> 
> These goals appear to have changed from the ones we agreed?
> I am misreading it or is this document only expressing one side of 
> the equation?

This document only addresses how to use OSGi bundles in the Java Module 
System (i.e. the original goal #1).

The Java Module System already provides reflective API that allows the 
OSGi framework to make use of JAM modules (i.e. the original goal #2) if 
the framework implementation chooses to provide the support. That said, 
defining the semantic and syntax of how an OSGi bundle should import a 
JAM module in the OSGi framework is actually outside the scope of 277, 
thus it is not covered in this document.

I'm going to be offline very soon. I will follow up the remaining issues 
you raised tomorrow.

- Stanley



More information about the jsr277-eg-observer mailing list