RFR: Further support for JSON-based module-info descriptors
Shi Jun Zhang
zhangshj at linux.vnet.ibm.com
Tue May 15 00:48:22 PDT 2012
On 5/14/2012 4:09 PM, David Bosschaert wrote:
> Hi all,
>
> I've expanded the JSON-based module descriptor support. I think it now
> supports all the features that module-info.java supports.
> I also added encoding detection to the JSON parser code. According to
> http://www.ietf.org/rfc/rfc4627.txt section 3 a JSON file should
> always be in unicode. The JSON parser can now deal with UTF-8, UTF-16
> and UTF-32 (there are test files included to test this functionality
> too).
> Also added, more tests, including a test that shows how a
> module-info.json file can be expanded with custom metadata, very much
> like what it could look for OSGi.
>
> You can find the webrev here:
> http://cr.openjdk.java.net/~davidb/mijson2/webrev.01
>
> Best regards,
>
> David
>
Hi David,
The patch looks good to me.
One question: Is there any API to get the custom metadata?
--
Regards,
Shi Jun Zhang
More information about the penrose-dev
mailing list