hg: jigsaw/jigsaw/langtools: javac: Modules -- provide default platform requires if none specified

Dalibor Topic Dalibor.Topic at Sun.COM
Sun May 24 03:06:47 PDT 2009


Jonathan.Gibbons at Sun.COM wrote:
> Changeset: 9359f5d70528
> Author:    jjg
> Date:      2009-05-20 16:14 -0700
> URL:       http://hg.openjdk.java.net/jigsaw/jigsaw/langtools/rev/9359f5d70528
> 
> javac: Modules -- provide default platform requires if none specified
> javac: Modules -- use "synthetic" flag on default requires
> javac: ZeroMod -- ignore platform requires for now
> 
> ! src/share/classes/com/sun/tools/javac/comp/Modules.java
> ! src/share/classes/com/sun/tools/javac/util/Names.java
> ! src/share/classes/javax/lang/model/util/ModuleResolver.java
> ! test/tools/javac/modules/ModuleRequiresAttributeTest01.java
> 

Good morning,

this changeset breaks the build as ModuleInfoReader tries to resolve
Dependence.Modifier.SYNTHETIC on loading the generated synthetic
dependency information, but fails with a illegal argument exception
due to Enum.valueOf(Dependency.Modifier.class, "SYNTHETIC") not 
being an actually defined enum in the class. 

If you have some time, please have a go at a fix - I'll be on a 
plane crossing the Atlantic for the next couple of hours without 
battery power. ;) Otherwise, I'd be happy to push in a fix myself,
if Mark & Jon can outline what it should be like.

cheers,
dalibor topic
-- 
*******************************************************************
Dalibor Topic                   Tel: (+49 40) 23 646 738
Java F/OSS Ambassador           AIM: robiladonaim
Sun Microsystems GmbH           Mobile: (+49 177) 2664 192
Nagelsweg 55                    http://openjdk.java.net
D-20097 Hamburg                 mailto:Dalibor.Topic at sun.com
Sitz der Gesellschaft: Sonnenallee 1, D-85551 Kirchheim-Heimstetten
Amtsgericht München: HRB 161028
Geschäftsführer: Thomas Schröder, Wolfgang Engels, Wolf Frenkel
Vorsitzender des Aufsichtsrates: Martin Häring





More information about the jigsaw-dev mailing list