-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
2021-09 requires Java 11 so the version of ASM has been upgraded to one that supports Java 11 bytecode and EclipseRewriter has been updated to use the matching ASM API version. 2021-09 also contains an updated version of the NLS class that we rewrite to remove a call to System.getProperty. Previously, this call was done in an isolated fashion in the run method of an anonmyous inner-class. It's now been updated [1] to use a lamdba which results in the call to System.getProperty now being part of the class's static initializer. This commit rewrites this <clinit> to retain the existing initialization of EMPTY_ARGS and ASSIGNED fields while updating the initialization of ignoreWarnings to replace the System.getProperty call with a hardcoded true value. Closes gh-277 [1] https://git.eclipse.org/c/equinox/rt.equinox.framework.git/commit/bundles/org.eclipse.osgi/supplement/src/org/eclipse/osgi/util/NLS.java?id=ba6205dab1f857fe87cf5985f03c1b5e88797064
- Loading branch information
1 parent
528bfef
commit f57832d
Showing
2 changed files
with
20 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters