diff options
| author | 2018-01-29 13:26:45 -0800 | |
|---|---|---|
| committer | 2018-01-30 09:11:16 -0800 | |
| commit | b06bd683aab50a80ef98f0ffbec9880dad068d15 (patch) | |
| tree | d9787a74a4b57fcdffd74fe98cf0f6ae74e21f85 /cmdline/cmdline_parser_test.cc | |
| parent | 0406e1e59970399393f53923704e1b9a828b2173 (diff) | |
Make the runtime default to not allowing JDWP again.
This was unintentionally changed a while ago and is causing a CTS test
to fail. Changed to make the runtime default to disabling jdwp if a
provider isn't given. Note this does not stop one from starting a
debugger with -agentpath. If jdwp options are given with jdwp disabled
the runtime will print a warning.
Test: atest CtsJdwpSecurityHostTestCases
Test: ./test/run-test --host --debug 001-HelloWorld
Bug: 72400560
Change-Id: I6561f269d9279eba0c1ac0b0f593ece867dab49e
Diffstat (limited to 'cmdline/cmdline_parser_test.cc')
| -rw-r--r-- | cmdline/cmdline_parser_test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmdline/cmdline_parser_test.cc b/cmdline/cmdline_parser_test.cc index 1e79fdff1b..3cb9731a17 100644 --- a/cmdline/cmdline_parser_test.cc +++ b/cmdline/cmdline_parser_test.cc @@ -369,7 +369,7 @@ TEST_F(CmdlineParserTest, DISABLED_TestXGcOption) { */ TEST_F(CmdlineParserTest, TestJdwpProviderEmpty) { { - EXPECT_SINGLE_PARSE_DEFAULT_VALUE(JdwpProvider::kInternal, "", M::JdwpProvider); + EXPECT_SINGLE_PARSE_DEFAULT_VALUE(JdwpProvider::kNone, "", M::JdwpProvider); } } // TEST_F |