RFR: Revert 33 revert 32 stdin

Leonid Kuskov lkuskov at openjdk.org
Tue Aug 23 22:44:15 UTC 2022


After merging and testing I've found the following issue that I've missed before. 
If I call jasm -version I will stuck with 
>asm -version
 Java Assembler Tools, version 8.0 ea 02 (August 23, 2022). 

I.e. there is no sign that the tool is waiting for stdin. 

>From my point of view there is the good vim solution: 
Usage: vim [arguments] [file ..]       edit specified file(s)
              or: vim [arguments] -          read text from stdin

-------------

Commit messages:
 - Revert "Revert "Added one more abstraction layer providing highly reusable byte[] based input""
 - Revert "Revert "Changed requireNonNull message in getDataInputStream""
 - Revert "Revert "Removed duplicated declaration of ArrayList<ToolInput> fileList""
 - Revert "Revert "Tool output moved where it belongs to commons""
 - Revert "Revert "Removed jdis specific missleading provide method""
 - Revert "Revert "stdin is now read also by jasm,jcod,jdec""
 - Revert "Revert "Added support for stdin in jdis""

Changes: https://git.openjdk.org/asmtools/pull/34/files
 Webrev: https://webrevs.openjdk.org/?repo=asmtools&pr=34&range=00
  Stats: 316 lines in 19 files changed: 242 ins; 37 del; 37 mod
  Patch: https://git.openjdk.org/asmtools/pull/34.diff
  Fetch: git fetch https://git.openjdk.org/asmtools pull/34/head:pull/34

PR: https://git.openjdk.org/asmtools/pull/34


More information about the asmtools-dev mailing list