Skip to content

This class file breaks the parser #1

Description

@koutheir

The attached class file, which have been compiled with javac 8, breaks the parser.
The file is at https://drive.google.com/open?id=1NweR64o7bBWHj-09elA-b25zINWb5dqG.

The issue is:

thread '<unnamed>' panicked at 'index out of bounds: the len is 73 but the index is 73', /checkout/src/libcore/slice/mod.rs:865:10
stack backtrace:
   0:     0x5555559abc2b - std::sys::unix::backtrace::tracing::imp::unwind_backtrace::hfcd41b6fc9324cf3
                               at libstd/sys/unix/backtrace/tracing/gcc_s.rs:49
   1:     0x5555559b19e0 - std::sys_common::backtrace::print::hb4eb3d23c202b80f
                               at libstd/sys_common/backtrace.rs:71
                               at libstd/sys_common/backtrace.rs:59
   2:     0x5555559a80dd - std::panicking::default_hook::{{closure}}::hd9ef75f013b48298
                               at libstd/panicking.rs:207
   3:     0x5555559a7e3b - std::panicking::default_hook::hdd685a32a821d0d7
                               at libstd/panicking.rs:223
   4:     0x5555559a852f - std::panicking::rust_panic_with_hook::hed3a578f3d672948
                               at libstd/panicking.rs:402
   5:     0x5555559a8352 - std::panicking::begin_panic_fmt::h3e8fdd00db89fef8
                               at libstd/panicking.rs:349
   6:     0x5555559a8282 - rust_begin_unwind
                               at libstd/panicking.rs:325
   7:     0x5555559f38a0 - core::panicking::panic_fmt::h16b501044b4579f2
                               at libcore/panicking.rs:72
   8:     0x5555559f3843 - core::panicking::panic_bounds_check::h57f0ac04c5c50a7f
                               at libcore/panicking.rs:58
   9:     0x555555748f45 - <usize as core::slice::SliceIndex<[T]>>::index::h60e993ea12931749
                               at /checkout/src/libcore/slice/mod.rs:865
  10:     0x55555574ef74 - core::slice::<impl core::ops::index::Index<I> for [T]>::index::h98f9c5a5ae88145f
                               at /checkout/src/libcore/slice/mod.rs:767
  11:     0x55555570f15a - <alloc::vec::Vec<T> as core::ops::index::Index<I>>::index::h43c4c70074b22d59
                               at /checkout/src/liballoc/vec.rs:1648
  12:     0x555555719b5a - jbcrs::basic::constpool::Pool::get::h168dc69f06cfc96a
                               at /home/koutheir/.cargo/registry/src/github.com-1ecc6299db9ec823/jbcrs-0.1.3/src/basic/constpool.rs:353
  13:     0x555555719c4d - jbcrs::basic::constpool::Pool::get_utf8::h326f88ed02101920
                               at /home/koutheir/.cargo/registry/src/github.com-1ecc6299db9ec823/jbcrs-0.1.3/src/basic/constpool.rs:363
  14:     0x5555556ee664 - jbcrs::basic::parser::parse_attributes::hece0ba3085b3e88e
                               at /home/koutheir/.cargo/registry/src/github.com-1ecc6299db9ec823/jbcrs-0.1.3/src/basic/parser/mod.rs:214
  15:     0x5555556e9fe5 - jbcrs::basic::parser::parse::hb1a1a49e625d4a12
                               at /home/koutheir/.cargo/registry/src/github.com-1ecc6299db9ec823/jbcrs-0.1.3/src/basic/parser/mod.rs:51
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions