Harold Seigel
b2ab041bf5
8148785: Update class file version to 53 for JDK-9
...
Change max supported class file version to 53
Reviewed-by: alanb, coleenp, shade
2016-02-05 08:14:08 -05:00
Harold Seigel
f42b84bc7e
8042660: vm/mlvm/anonloader/stress/byteMutation failed with: assert(index >=0 && index < _length) failed: symbol index overflow
...
Detect zero length signatures and throw ClassFormatError before bad dereference occurs
Reviewed-by: coleenp, lfoltan, acorn, gtriantafill
2015-12-23 13:02:15 -05:00
Harold Seigel
3756d55ee6
8139164: JVM should throw ClassFormatError for non-void methods named <clinit>
...
If method being parsed is named <clinit>, throw ClassFormatError if it is not void or has arguments, for class file version >= 51.
Reviewed-by: acorn, lfoltan
2015-11-10 08:42:53 -05:00
Harold Seigel
df9b5759f7
8139069: JVM should throw ClassFormatError for <init> methods in interfaces
...
If method being parsed is in an interface, throw ClassFormatError if its name is "<init>"
Reviewed-by: acorn, lfoltan
2015-10-14 13:30:47 -04:00
Harold Seigel
9d7677a83f
8130669: VM prohibits <clinit> methods with return values
...
Ignore <clinit> methods with return values instead of throwing ClassFormatError exceptions
Reviewed-by: acorn, iklam
2015-07-09 15:39:05 -04:00
Harold Seigel
00da567d15
8130183: InnerClasses: VM permits wrong inner_class_info_index value of zero
...
Throw ClassFormatError if InnerClasses attribute's inner_class_info_index is 0
Reviewed-by: acorn, lfoltan
2015-07-09 08:36:37 -04:00
Harold Seigel
058dd16f78
8042041: https://bugs.openjdk.java.net/browse/JDK-8042041
...
Don't assert if class has a bad element_tag in an element_value structure of a RuntimeVisibleAnnotation attribute. Instead, ignore the attribute.
Reviewed-by: acorn, gtriantafill
2015-06-18 08:44:28 -04:00
Alexander Kulyakthin
462f735dac
8067013: Rename the com.oracle.java.testlibary package
...
Reviewed-by: dholmes, gtriantafill, sla
2015-05-04 16:30:07 +02:00
Alexander Kulyakthin
01b9971365
8075586: Add @modules as needed to the open hotspot tests
...
Reviewed-by: sla, ctornqvi, lfoltan, mchung, alanb
2015-03-26 16:36:56 +01:00
Lois Foltan
ca501f6b00
8041918: BootstrapMethods attribute cannot be empty
...
Allow a BootstrapMethods attribute that contains an empty bootstrap_methods table where num_bootstrap_methods is equal to zero.
Reviewed-by: coleenp, hseigel
2014-05-15 09:25:27 -04:00
Harold Seigel
cfa7d828d9
8040018: Remove bad assert in ClassFileParser.cpp
...
Remove assert that prevent throwing valid exception
Reviewed-by: coleenp, lfoltan
2014-04-18 08:51:34 -04:00