Re: [Sablevm-developer] Code indenter / Uncompilable classes
Brought to you by:
egagnon
From: Ian R. <ir...@cs...> - 2001-08-31 17:19:16
|
Hi, Here's a summary of where I'm up to. I'm trying my best to build the sablepath-classes with a standard SuSE 7.2 set up. To build the .class files I'm running "find src -name '*.java'|xargs jikes +E -classpath /home/ian/sable/sablepath-classes/src:/home/ian/old-classpath". Jikes version 1.2. The story so far: > src/java/util/jar/JarEntry.java > src/java/util/jar/JarFile.java > src/java/util/jar/JarInputStream.java > src/java/util/jar/JarOutputStream.java > src/java/net/JarURLConnection.java The jar stuff relies on java/util/zip which for some reason isn't in the classpath repository. If it were I'm confident this would build. > src/java/net/URLClassLoader.java Built fine for me. Possible issues with the Jar stuff tho'. > src/java/util/IdentityHashMap.java The clone method needs to have "throws java/lang/CloneNotSupportedException" appended. I guess Object.clone was updated and this file was missed during the update. > src/javax/swing/plaf/BorderUIResource.java Wouldn't compile so moved out of the build tree. Issues mainly with a border package. > src/javax/swing/GrayFilter.java Compiled fine when the body of createDisabledImage was altered to return null; and filterRGB's result was cast to an int. > src/javax/accessibility/AccessibleText.java > src/javax/accessibility/Accessible.java > src/javax/accessibility/AccessibleHypertext.java There's clearly issues with javax/accessibility. I moved these files. > src/javax/accessibility/AccessibleComponent.java > src/javax/accessibility/AccessibleSelection.java Compiled fine for me, but failed when the other files were moved. > src/gnu/javax/swing/plaf/gtk/GtkIconFactory.java Failed most notably because java/swing/plaf/gtk/Icon was misssing, therefore moved. > src/gnu/javax/swing/plaf/gtk/GtkSliderUI.java > src/gnu/javax/swing/plaf/gtk/GtkLookAndFeel.java > src/gnu/javax/swing/plaf/gtk/GtkRadioButtonUI.java > src/gnu/javax/swing/plaf/gtk/GtkBorders.java > src/gnu/javax/swing/plaf/gtk/GtkCheckBoxUI.java Failed for lots of reasons, javax/swing/plaf/basic and javax/swing/border not being present being one of them, files moved. > I have not looked for the reason why these are broken. More annoying is the > fact that many classes, including "core" library classes (I think java.io.File > is part of them) are broken under Jikes. Jikes seems to die with something > like a "signal 11". I'm running a slightly older version of Jikes and things appear to be fine. I'm keen to keep using this older version of Jikes too, until someone points out a really good reason to upgrade. In summary, everything is there and building except Swing and the Jar related stuff. As some of the core stuff relies on the Jar stuff I'm keen we get that working. I'll e-mail the maintainer and hopefully find out when the stuff will appear in the classpath CVS repository. The Swing stuff isn't critical to me, and it appears very incomplete. I suggest we move it out of the code tree for the time being. Finally, the way I'm building the code at the moment puts all the pressure on jikes. Should we build a set of makefiles, configure, etc.. ? All the best, Ian Rogers |