Skip to content

Commit 0b3561a

Browse files
author
Satyen Subramaniam
committed
8355387: [jittester] Disable downcasts by default
Backport-of: b41e0b17490b203b19787a0d0742318fc0d03b33
1 parent 3fa8f01 commit 0b3561a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/hotspot/jtreg/testlibrary/jittester/src/jdk/test/lib/jittester/ProductionParams.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2005, 2024, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2005, 2025, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -121,7 +121,7 @@ public static void register(OptionResolver optionResolver) {
121121
disableExternalSymbols = optionResolver.addBooleanOption("disable-external-symbols", "Don\'t use external symbols");
122122
addExternalSymbols = optionResolver.addStringOption("add-external-symbols", "all", "Add symbols for listed classes (comma-separated list)");
123123
disableInheritance = optionResolver.addBooleanOption("disable-inheritance", "Disable inheritance");
124-
disableDowncasts = optionResolver.addBooleanOption("disable-downcasts", "Disable downcasting of objects");
124+
disableDowncasts = optionResolver.addBooleanOption(null, "disable-downcasts", true, "Disable downcasting of objects");
125125
disableStatic = optionResolver.addBooleanOption("disable-static", "Disable generation of static objects and functions");
126126
disableInterfaces = optionResolver.addBooleanOption("disable-interfaces", "Disable generation of interfaces");
127127
disableClasses = optionResolver.addBooleanOption("disable-classes", "Disable generation of classes");

0 commit comments

Comments
 (0)