Skip to content

Commit

Permalink
8337102: JITTester: Fix breaks in static initialization blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
lepestock committed Jul 24, 2024
1 parent 05d88de commit ad8b42b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -63,7 +63,7 @@ public StaticConstructorDefinition produce() throws ProductionFailedException {
.setOperatorLimit(operatorLimit)
.setLevel(level)
.setSubBlock(true)
.setCanHaveBreaks(true)
.setCanHaveBreaks(false)
.setCanHaveContinues(false)
.setCanHaveReturn(false)
.getBlockFactory()
Expand Down

0 comments on commit ad8b42b

Please sign in to comment.