changes to org.openjdk.jigsaw.Library
Mark Reinhold
mr at sun.com
Wed Apr 28 10:12:11 PDT 2010
> Date: Mon, 26 Apr 2010 18:17:14 +0100
> From: jonathan.gibbons at oracle.com
> Are there notes anywhere on the changes to org.openjdk.jigsaw.Library ?
Nope.
> There used to be a method called listClasses; that no longer seems to exist,
> and the replacement seems to be listLocalClasses. However, this method seems to
> have different semantics -- it returns null, where the old method did not, and
> some of the javac regression tests are now having trouble locating java.lang,
> so it would seem the behavior is different as well.
Yes, the behavior is different: listLocalClasses doesn't look for the
requested module in any parent libraries, which is probably why you can't
find java.lang.
I removed the listClasses method while cleaning up the parent-delegation
logic in changeset 9172f93a9b1d. Sorry about that -- I wasn't aware you
were using it, and based upon our past discussions about javac internals
I assumed that you wouldn't need it.
It's easy enough to add back in -- shall I do that?
- Mark
More information about the jigsaw-dev
mailing list