RFR: 7902686: Jasm incorrectly sets up the SourceFile attribute on Windows platform

Leonid Kuskov lkuskov at openjdk.java.net
Wed Jun 3 03:00:18 UTC 2020


The simple fix for https://bugs.openjdk.java.net/browse/CODETOOLS-7902686 that
uses the NIO2 API to calculate a file name for the SourceFile attribute.

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

Commit messages:
 - 7902686: Jasm incorrectly sets up the SourceFile attribute on Windows platform
 - 7902681: Asmtools build fails if Default Java File Encoding is set to ASCII
 - Merge branch 'CODETOOLS-7902659'
 - Merge branch 'CODETOOLS-7902660'
 - 7902659: Correct unconditional call of System.exit in printVersion (Main.java)
 - 7902660: jdis includes unnecessary Field references in MethodHandle parameters while printing static params of a bsm and skips the method tag in ldc# instructions

Changes: https://git.openjdk.java.net/asmtools/pull/5/files
 Webrev: https://webrevs.openjdk.java.net/asmtools/5/webrev.00
  Issue: https://bugs.openjdk.java.net/browse/CODETOOLS-7902686
  Stats: 13 lines in 3 files changed: 5 ins; 2 del; 6 mod
  Patch: https://git.openjdk.java.net/asmtools/pull/5.diff
  Fetch: git fetch https://git.openjdk.java.net/asmtools pull/5/head:pull/5

PR: https://git.openjdk.java.net/asmtools/pull/5


More information about the asmtools-dev mailing list