Mantis Bugtracker

Einfache Problemansicht anzeigen Zu Notizen wechseln ] erweiterte Anzeige ] Problem-Historie ] Drucken ]
ID Kategorie Auswirkung Reproduzierbar Meldungsdatum Letzte Aktualisierung
0000029 [Barista] general Absturz immer 2009-03-09 12:01 2009-03-22 16:25
Reporter samuelhym Anzeigestatus öffentlich  
Bearbeitung durch xclerc
Priorität normal Lösung erledigt  
Status erledigt   Produktversion 1.1
Zusammenfassung 0000029: barista is unable to load java.lang.Throwable and java.awt.Container
Beschreibung The decoding of the ClassFile into ClassDefinition fails because some bytecodes are not recognized, when using array types in the constant pool where barista expects only class_or_interface.

I've patched barista for this problem (see email for a darcs generated patch).
Zusätzliche Information Applying the small program:
open BaristaLibrary

let _ =
    let cf = ClassFile.read (InputStream.make_of_channel (open_in Sys.argv.(1))) in
    let cd = ClassDefinition.decode cf in
    let cf' = ClassDefinition.encode cd in
    ClassFile.write cf' (OutputStream.make_of_channel (open_out Sys.argv.(2)))

to the whole classpath standard library reveals some other issues when comparing input and output files. I didn't investigate anything else yet.
Tags Keine Tags zugeordnet.
Angehängte Dateien

- Problem-Beziehungen

-  Notiz
(0000173)
xclerc (Administrator)
2009-03-22 16:25

This is indeed a very unfortunate bug; the "LDC", "LDC_W", and
"INVOKEVIRTUAL" instructions can take an array type as their
(first) parameter.

This as been fixed for the various parts of Barista: API (both
OCaml and Java), assembler, and disassembler. As a result, all
the classes of the JDK 1.6 can be loaded by Barista.

- Problem-Historie
Änderungsdatum Benutzername Feld Änderung
2009-03-09 12:01 samuelhym Neues Problem
2009-03-09 12:01 samuelhym Problem beobachten: samuelhym
2009-03-22 16:25 xclerc Problemnotiz hinzugefügt: 0000173
2009-03-22 16:25 xclerc Status neu => erledigt
2009-03-22 16:25 xclerc Behoben in Version => 1.2
2009-03-22 16:25 xclerc Lösung offen => erledigt
2009-03-22 16:25 xclerc Bearbeitung durch => xclerc


Mantis 1.1.7[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker