kz
11/14/2017, 6:09 PMint
bitmask can store. I like that the compiler just adds more `int`s instead of using something heavier weight (like arrays or BitSet
).
But as I kept playing around I noticed that the compiler will generate bytecode that the JVM will not load. The easiest example is a function with more than 255 parameters (illegal by https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-4.html#jvms-4.11).
Is there a valid reason for generating illegal bytecode. Or is the bytecode itself not illegal, it's just invalid?dalexander
11/14/2017, 6:42 PMkz
11/14/2017, 6:47 PM