Mary Ellen Foster wrote: > [ oops, just replied to Andrew the first time ... ] > > 2008/7/1 Andrew Haley <aph@xxxxxxxxxx>: >> Daniel Veillard wrote: >>> the java class compilations break for example with java-1.5.0-gcj [-devel] >>> on Fedora-8 (didn't tried icedtea yet, though I guess that would work) >>> this looks related to dependancies when compiling a bunch of .java >>> together in one command as >>> >>> /usr/bin/javac -classpath "org/libvirt" org/libvirt/*.java >>> 2. ERROR in org/libvirt/VirConnectAuthDefault.java (at line 14) >>> credType= new VirConnectCredential.VirConnectCredentialType[] { >>> ^^^^^^^^ >>> credType cannot be resolved >>> >>> though VirConnectCredential.java is there and defines the type. >> Hmm. I think we need to find out if this is a real bug in ecj, and >> fix it if so. I can't remember seeing anything like this before. >> >> Can you create a stand-alone test case that shows this failure? I can't >> figure out how to do so. > > I think the problem might actually be a lack of "-source 1.5" on the > javac line, actually. Without that, it doesn't seem to like the "enum" > declarations and doesn't create any of the enum classes, resulting in > the above error (and, if you scroll down, errors about the enum > declarations too). > > This is testing with java-1.5.0-gcj-devel-1.5.0.0-17.fc8 on Fedora 8, FWIW. Okay, thanks. That should be easy to fix then. Daniel, please try that and report. I could have sworn that we changed the default for ecj to 1.5. We surely should have done. Andrew. -- fedora-devel-java-list mailing list fedora-devel-java-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-devel-java-list