8337102: JITTester: Fix breaks in static initialization blocks
Reviewed-by: kvn, iveresov
This commit is contained in:
parent
e3a5e265a7
commit
4669e7b7b0
@ -8,6 +8,6 @@ classes-file=conf/classes.lst
|
||||
exclude-methods-file=conf/exclude.methods.lst
|
||||
print-complexity=true
|
||||
print-hierarchy=true
|
||||
disable-static=true
|
||||
disable-static=false
|
||||
generatorsFactories=jdk.test.lib.jittester.TestGeneratorsFactory
|
||||
generators=JavaCode,ByteCode
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2015, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -63,7 +63,7 @@ class StaticConstructorDefinitionFactory extends Factory<StaticConstructorDefini
|
||||
.setOperatorLimit(operatorLimit)
|
||||
.setLevel(level)
|
||||
.setSubBlock(true)
|
||||
.setCanHaveBreaks(true)
|
||||
.setCanHaveBreaks(false)
|
||||
.setCanHaveContinues(false)
|
||||
.setCanHaveReturn(false)
|
||||
.getBlockFactory()
|
||||
|
Loading…
Reference in New Issue
Block a user