dev@glassfish.java.net

ModuleRegistry.makeModuleFor(name, version) behavior changes

From: Vivek Pandey <Vivek.Pandey_at_Sun.COM>
Date: Wed, 25 Feb 2009 17:42:03 -0800

JRubySniffer loads grizzly-module by using makeModuleFor(String name,
String version). Apparently this API behaviour was changed resulting in to

registry.makeModuleFor("org.glassfish.scripting.grizzly-jruby-module",
null); returning null

There was no way for me to find out about such change, nor
ModuleRegistry.makeModuleFor(String name, String version) javadoc was
updated to mention "use getModules() method instead".

A note to dev alias or atleast update to javadocs for such core
abstraction changes would have saved mine and other people's time to do
avoid unnecessary digging as to what was going on.

Byron, I am going to checkin new jruby container to trunk. This should
fix https://embedded-glassfish.dev.java.net/issues/show_bug.cgi?id=83.

-vivek.