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
|
exclude-methods-file=conf/exclude.methods.lst
|
||||||
print-complexity=true
|
print-complexity=true
|
||||||
print-hierarchy=true
|
print-hierarchy=true
|
||||||
disable-static=true
|
disable-static=false
|
||||||
generatorsFactories=jdk.test.lib.jittester.TestGeneratorsFactory
|
generatorsFactories=jdk.test.lib.jittester.TestGeneratorsFactory
|
||||||
generators=JavaCode,ByteCode
|
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.
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
*
|
*
|
||||||
* This code is free software; you can redistribute it and/or modify it
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
@ -63,7 +63,7 @@ class StaticConstructorDefinitionFactory extends Factory<StaticConstructorDefini
|
|||||||
.setOperatorLimit(operatorLimit)
|
.setOperatorLimit(operatorLimit)
|
||||||
.setLevel(level)
|
.setLevel(level)
|
||||||
.setSubBlock(true)
|
.setSubBlock(true)
|
||||||
.setCanHaveBreaks(true)
|
.setCanHaveBreaks(false)
|
||||||
.setCanHaveContinues(false)
|
.setCanHaveContinues(false)
|
||||||
.setCanHaveReturn(false)
|
.setCanHaveReturn(false)
|
||||||
.getBlockFactory()
|
.getBlockFactory()
|
||||||
|
Loading…
Reference in New Issue
Block a user