commit | ec3c03c56ef345b4dc379d6d6f8913cfd1d78e3d | [log] [tgz] |
---|---|---|
author | Sasha Smundak <asmundak@google.com> | Tue Aug 16 20:25:10 2022 -0700 |
committer | Sasha Smundak <asmundak@google.com> | Tue Aug 16 20:25:10 2022 -0700 |
tree | e00ec0860e7283d074f74757dcb3f631196c753d | |
parent | 8a2bb4d4c8d9d122fe6e2e3373bca43f8a9a45a7 [diff] |
Accommodate JDK17 The signatures of com.sun.tools.javac.main.CommandLine.parse and com.sun.tools.javac.main.Arguments.init methods changed between JDK14 and JDK17, call these methods via reflection to accomodadte both. Bug: 240421813 Test: build java extractor and use it Change-Id: I5db0a22bf9f837826f234e228f9652d422d94f20