|
| 1 | + Compiling vm v0.1.0 (/home/brian/Code/rust-jvm/vm) |
| 2 | + Compiling rt v0.1.0 (/home/brian/Code/rust-jvm/rt) |
| 3 | +warning: unused variable: `fd` |
| 4 | + --> rt/src/native/java_io_fileoutputstream.rs:27:9 |
| 5 | + | |
| 6 | +27 | let fd = { |
| 7 | + | ^^ help: if this is intentional, prefix it with an underscore: `_fd` |
| 8 | + | |
| 9 | + = note: `#[warn(unused_variables)]` on by default |
| 10 | + |
| 11 | +warning: `rt` (lib) generated 1 warning |
| 12 | + Compiling cli v0.1.0 (/home/brian/Code/rust-jvm/cli) |
| 13 | + Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.65s |
| 14 | + Running `target/debug/cli execute HelloWorld /home/brian/Downloads/helloworld.jar rt/jmods/java.base/classes` |
| 15 | +[2024-09-10T18:34:33Z DEBUG loader::classfile_loader] Parsing classfile /home/brian/Code/rust-jvm/rt/jmods/java.base/classes/java/lang/System.class... |
| 16 | +[2024-09-10T18:34:33Z DEBUG vm::vm_thread] Class java/lang/System not initialized and contains <clinit> -> executing now |
| 17 | +[2024-09-10T18:34:33Z TRACE vm::vm_thread] Executing java/lang/System.<clinit>()V in thread vm-init now... |
| 18 | +[2024-09-10T18:34:33Z TRACE vm::eval] java/lang/System.<clinit>()V#0 = 184 |
| 19 | +[2024-09-10T18:34:33Z DEBUG vm::eval::invokestatic] invokestatic: java/lang/System.registerNatives()V |
| 20 | +[2024-09-10T18:34:33Z TRACE vm::eval] java/lang/System.<clinit>()V#3 = 1 |
| 21 | +[2024-09-10T18:34:33Z TRACE vm::eval::aconst_null] aconst_null: Pushing Null to stack |
| 22 | +[2024-09-10T18:34:33Z TRACE vm::eval] java/lang/System.<clinit>()V#4 = 179 |
| 23 | +[2024-09-10T18:34:33Z TRACE vm::eval::putstatic] putstatic: Popped value from stack and store it in java/lang/System.in |
| 24 | +[2024-09-10T18:34:33Z TRACE vm::eval] java/lang/System.<clinit>()V#7 = 1 |
| 25 | +[2024-09-10T18:34:33Z TRACE vm::eval::aconst_null] aconst_null: Pushing Null to stack |
| 26 | +[2024-09-10T18:34:33Z TRACE vm::eval] java/lang/System.<clinit>()V#8 = 179 |
| 27 | +[2024-09-10T18:34:33Z TRACE vm::eval::putstatic] putstatic: Popped value from stack and store it in java/lang/System.out |
| 28 | +[2024-09-10T18:34:33Z TRACE vm::eval] java/lang/System.<clinit>()V#11 = 1 |
| 29 | +[2024-09-10T18:34:33Z TRACE vm::eval::aconst_null] aconst_null: Pushing Null to stack |
| 30 | +[2024-09-10T18:34:33Z TRACE vm::eval] java/lang/System.<clinit>()V#12 = 179 |
| 31 | +[2024-09-10T18:34:33Z TRACE vm::eval::putstatic] putstatic: Popped value from stack and store it in java/lang/System.err |
| 32 | +[2024-09-10T18:34:33Z TRACE vm::eval] java/lang/System.<clinit>()V#15 = 177 |
| 33 | +[2024-09-10T18:34:33Z TRACE vm::eval::return_] return |
| 34 | +[2024-09-10T18:34:33Z DEBUG vm::vm_thread] java/lang/System.<clinit> done |
| 35 | +[2024-09-10T18:34:33Z TRACE vm::vm_thread] Executing java/lang/System.initPhase1()V in thread vm-init now... |
| 36 | +[2024-09-10T18:34:33Z TRACE vm::eval] java/lang/System.initPhase1()V#0 = 187 |
| 37 | +[2024-09-10T18:34:33Z DEBUG loader::classfile_loader] Parsing classfile /home/brian/Code/rust-jvm/rt/jmods/java.base/classes/java/util/Properties.class... |
| 38 | +[2024-09-10T18:34:33Z DEBUG vm::vm_thread] Class java/util/Properties not initialized and contains <clinit> -> executing now |
| 39 | +[2024-09-10T18:34:33Z TRACE vm::vm_thread] Executing java/util/Properties.<clinit>()V in thread vm-init now... |
| 40 | +[2024-09-10T18:34:33Z TRACE vm::eval] java/util/Properties.<clinit>()V#0 = 184 |
| 41 | +[2024-09-10T18:34:33Z DEBUG vm::eval::invokestatic] invokestatic: jdk/internal/misc/Unsafe.getUnsafe()Ljdk/internal/misc/Unsafe; |
| 42 | +[2024-09-10T18:34:33Z DEBUG loader::classfile_loader] Parsing classfile /home/brian/Code/rust-jvm/rt/jmods/java.base/classes/jdk/internal/misc/Unsafe.class... |
| 43 | +[2024-09-10T18:34:33Z DEBUG vm::vm_thread] Class jdk/internal/misc/Unsafe not initialized and contains <clinit> -> executing now |
| 44 | +[2024-09-10T18:34:33Z TRACE vm::vm_thread] Executing jdk/internal/misc/Unsafe.<clinit>()V in thread vm-init now... |
| 45 | +[2024-09-10T18:34:33Z TRACE vm::eval] jdk/internal/misc/Unsafe.<clinit>()V#0 = 184 |
| 46 | +[2024-09-10T18:34:33Z DEBUG vm::eval::invokestatic] invokestatic: jdk/internal/misc/Unsafe.registerNatives()V |
| 47 | +[2024-09-10T18:34:33Z TRACE vm::eval] jdk/internal/misc/Unsafe.<clinit>()V#3 = 187 |
| 48 | +[2024-09-10T18:34:33Z DEBUG loader::classfile_loader] Parsing classfile /home/brian/Code/rust-jvm/rt/jmods/java.base/classes/java/lang/Object.class... |
| 49 | +[2024-09-10T18:34:33Z DEBUG vm::vm_thread] Class java/lang/Object not initialized and contains <clinit> -> executing now |
| 50 | +[2024-09-10T18:34:33Z TRACE vm::vm_thread] Executing java/lang/Object.<clinit>()V in thread vm-init now... |
| 51 | +[2024-09-10T18:34:33Z TRACE vm::eval] java/lang/Object.<clinit>()V#0 = 184 |
| 52 | +[2024-09-10T18:34:33Z DEBUG vm::eval::invokestatic] invokestatic: java/lang/Object.registerNatives()V |
| 53 | +[2024-09-10T18:34:33Z TRACE vm::eval] java/lang/Object.<clinit>()V#3 = 177 |
| 54 | +[2024-09-10T18:34:33Z TRACE vm::eval::return_] return |
| 55 | +[2024-09-10T18:34:33Z DEBUG vm::vm_thread] java/lang/Object.<clinit> done |
| 56 | +[2024-09-10T18:34:33Z TRACE vm::eval::new] new: jdk/internal/misc/Unsafe -> Pushing reference to stack |
| 57 | +[2024-09-10T18:34:33Z TRACE vm::eval] jdk/internal/misc/Unsafe.<clinit>()V#6 = 89 |
| 58 | +[2024-09-10T18:34:33Z TRACE vm::eval::dup] dup: Duplicating last stack element |
| 59 | +[2024-09-10T18:34:33Z TRACE vm::eval] jdk/internal/misc/Unsafe.<clinit>()V#7 = 183 |
| 60 | +[2024-09-10T18:34:33Z DEBUG vm::eval::invokespecial] invokespecial: jdk/internal/misc/Unsafe.<init>()V |
| 61 | +[2024-09-10T18:34:33Z TRACE vm::vm_thread] Executing jdk/internal/misc/Unsafe.<init>()V in thread vm-init now... |
| 62 | +[2024-09-10T18:34:33Z TRACE vm::eval] jdk/internal/misc/Unsafe.<init>()V#0 = 42 |
| 63 | +[2024-09-10T18:34:33Z TRACE vm::eval::aload_x] aload_0: Pushed Reference to stack |
| 64 | +[2024-09-10T18:34:33Z TRACE vm::eval] jdk/internal/misc/Unsafe.<init>()V#1 = 183 |
| 65 | +[2024-09-10T18:34:33Z DEBUG vm::eval::invokespecial] invokespecial: java/lang/Object.<init>()V |
| 66 | +[2024-09-10T18:34:33Z TRACE vm::vm_thread] Executing java/lang/Object.<init>()V in thread vm-init now... |
| 67 | +[2024-09-10T18:34:33Z TRACE vm::eval] java/lang/Object.<init>()V#0 = 177 |
| 68 | +[2024-09-10T18:34:33Z TRACE vm::eval::return_] return |
| 69 | +[2024-09-10T18:34:33Z TRACE vm::eval] jdk/internal/misc/Unsafe.<init>()V#4 = 177 |
| 70 | +[2024-09-10T18:34:33Z TRACE vm::eval::return_] return |
| 71 | +[2024-09-10T18:34:33Z TRACE vm::eval] jdk/internal/misc/Unsafe.<clinit>()V#10 = 179 |
| 72 | +[2024-09-10T18:34:33Z TRACE vm::eval::putstatic] putstatic: Popped value from stack and store it in jdk/internal/misc/Unsafe.theUnsafe |
| 73 | +[2024-09-10T18:34:33Z TRACE vm::eval] jdk/internal/misc/Unsafe.<clinit>()V#13 = 178 |
| 74 | +[2024-09-10T18:34:33Z TRACE vm::eval::getstatic] getstatic: jdk/internal/misc/Unsafe.theUnsafeLjdk/internal/misc/Unsafe; -> push value to stack |
| 75 | +[2024-09-10T18:34:33Z TRACE vm::eval] jdk/internal/misc/Unsafe.<clinit>()V#16 = 19 |
| 76 | +[2024-09-10T18:34:33Z TRACE vm::eval::ldc_x] ldc_w: Found Class [Z |
| 77 | +[2024-09-10T18:34:33Z DEBUG loader::classfile_loader] Parsing classfile /home/brian/Code/rust-jvm/rt/jmods/java.base/classes/java/lang/Class.class... |
| 78 | +[2024-09-10T18:34:33Z DEBUG vm::vm_thread] Class java/lang/Class not initialized and contains <clinit> -> executing now |
| 79 | +[2024-09-10T18:34:33Z TRACE vm::vm_thread] Executing java/lang/Class.<clinit>()V in thread vm-init now... |
| 80 | +[2024-09-10T18:34:33Z TRACE vm::eval] java/lang/Class.<clinit>()V#0 = 184 |
| 81 | +[2024-09-10T18:34:33Z DEBUG vm::eval::invokestatic] invokestatic: java/lang/Class.registerNatives()V |
| 82 | +[2024-09-10T18:34:33Z TRACE rt::native::java_lang_class] Execute native java/lang/Class.registerNatives()V |
| 83 | +[2024-09-10T18:34:33Z TRACE vm::eval] java/lang/Class.<clinit>()V#3 = 3 |
| 84 | +[2024-09-10T18:34:33Z TRACE vm::eval::iconst_x] iconst_0: Pushing constant Int 0 to stack |
| 85 | +[2024-09-10T18:34:33Z TRACE vm::eval] java/lang/Class.<clinit>()V#4 = 189 |
| 86 | +[2024-09-10T18:34:33Z TRACE vm::eval::anewarray] anewarray: Create new VmArray of length 0 and push Arrayref to stack |
| 87 | +[2024-09-10T18:34:33Z TRACE vm::eval] java/lang/Class.<clinit>()V#7 = 179 |
| 88 | +[2024-09-10T18:34:33Z TRACE vm::eval::putstatic] putstatic: Popped value from stack and store it in java/lang/Class.EMPTY_CLASS_ARRAY |
| 89 | +[2024-09-10T18:34:33Z TRACE vm::eval] java/lang/Class.<clinit>()V#10 = 3 |
| 90 | +[2024-09-10T18:34:33Z TRACE vm::eval::iconst_x] iconst_0: Pushing constant Int 0 to stack |
| 91 | +[2024-09-10T18:34:33Z TRACE vm::eval] java/lang/Class.<clinit>()V#11 = 189 |
| 92 | +[2024-09-10T18:34:33Z TRACE vm::eval::anewarray] anewarray: Create new VmArray of length 0 and push Arrayref to stack |
| 93 | +[2024-09-10T18:34:33Z TRACE vm::eval] java/lang/Class.<clinit>()V#14 = 179 |
| 94 | +[2024-09-10T18:34:33Z TRACE vm::eval::putstatic] putstatic: Popped value from stack and store it in java/lang/Class.serialPersistentFields |
| 95 | +[2024-09-10T18:34:33Z TRACE vm::eval] java/lang/Class.<clinit>()V#17 = 177 |
| 96 | +[2024-09-10T18:34:33Z TRACE vm::eval::return_] return |
| 97 | +[2024-09-10T18:34:33Z DEBUG vm::vm_thread] java/lang/Class.<clinit> done |
| 98 | +[2024-09-10T18:34:33Z DEBUG loader::classfile_loader] Parsing classfile /home/brian/Code/rust-jvm/rt/jmods/java.base/classes/java/nio/charset/StandardCharsets.class... |
| 99 | +[2024-09-10T18:34:33Z DEBUG vm::vm_thread] Class java/nio/charset/StandardCharsets not initialized and contains <clinit> -> executing now |
| 100 | +[2024-09-10T18:34:33Z TRACE vm::vm_thread] Executing java/nio/charset/StandardCharsets.<clinit>()V in thread vm-init now... |
| 101 | +[2024-09-10T18:34:33Z TRACE vm::eval] java/nio/charset/StandardCharsets.<clinit>()V#0 = 178 |
| 102 | +[2024-09-10T18:34:33Z DEBUG loader::classfile_loader] Parsing classfile /home/brian/Code/rust-jvm/rt/jmods/java.base/classes/sun/nio/cs/US_ASCII.class... |
| 103 | +[2024-09-10T18:34:33Z DEBUG vm::vm_thread] Class sun/nio/cs/US_ASCII not initialized and contains <clinit> -> executing now |
| 104 | +[2024-09-10T18:34:33Z TRACE vm::vm_thread] Executing sun/nio/cs/US_ASCII.<clinit>()V in thread vm-init now... |
| 105 | +[2024-09-10T18:34:33Z TRACE vm::eval] sun/nio/cs/US_ASCII.<clinit>()V#0 = 187 |
| 106 | +[2024-09-10T18:34:33Z DEBUG loader::classfile_loader] Parsing classfile /home/brian/Code/rust-jvm/rt/jmods/java.base/classes/java/nio/charset/Charset.class... |
| 107 | +[2024-09-10T18:34:33Z DEBUG vm::vm_thread] Class java/nio/charset/Charset not initialized and contains <clinit> -> executing now |
| 108 | +[2024-09-10T18:34:33Z TRACE vm::vm_thread] Executing java/nio/charset/Charset.<clinit>()V in thread vm-init now... |
| 109 | +[2024-09-10T18:34:33Z TRACE vm::eval] java/nio/charset/Charset.<clinit>()V#0 = 187 |
| 110 | +[2024-09-10T18:34:33Z DEBUG loader::classfile_loader] Parsing classfile /home/brian/Code/rust-jvm/rt/jmods/java.base/classes/sun/nio/cs/StandardCharsets.class... |
0 commit comments