| [#778] | project: distribution | priority: high | category: bug | |
|---|---|---|---|---|
| submitter | assigned to | status | date submitted | |
| Stephane | Sean | fixed | 2006-10-13 20:43:15.0 | |
| subject | scalap crashes on jar files | |||
| code | ||||
| what happened | |
|||
| what expected | package scala.tools.nsc;
final class Main extends scala.AnyRef {
}
object Main {
def $tag(): scala.Int;
def loop(scala.Function1): scala.Unit;
def compiler$1(scala.tools.nsc.CompilerCommand, scala.runtime.ObjectRef): scala.tools.nsc.Main$compiler$2$;
def main(scala.Array[java.lang.String]): scala.Unit;
def process(scala.Array[java.lang.String]): scala.Unit;
def resident(scala.tools.nsc.Global): scala.Unit;
def errors(): scala.Int;
def error(java.lang.String): scala.Unit;
def reporter_=(scala.tools.nsc.reporters.ConsoleReporter): scala.Unit;
def reporter(): scala.tools.nsc.reporters.ConsoleReporter;
def prompt(): java.lang.String;
def versionMsg(): java.lang.String;
def COPYRIGHT(): java.lang.String;
def VERSION(): java.lang.String;
def PRODUCT(): java.lang.String;
} |
|||
| [back to overview] | ||||
| Stephane edited on 2006-10-13 20:45:27.0 |
| nsc.util.ClassPath returns the following file name: /home/linuxsoft/apps/scala/share/scala/lib/scala-compiler.jar(scala/tools/nsc/Main.class) Is that correct ?! My current hack checks for that pattern and creates a corresponding input stream. |
| Stephane edited on 2006-10-13 21:29:33.0 |
| "cfile.file" should not be null in method process. |
| Stephane edited on 2006-10-18 12:45:14.0 |
| Now uses symtab.classfile.AbstractFileReader. Fixed. |