Skip to content

Commit

Permalink
Merge pull request ibmruntimes#150 from Danja-Papajani/patch-base-file
Browse files Browse the repository at this point in the history
Port BaseFileManager.java from Java 11 z/OS
  • Loading branch information
PUSHKAR KULKARNI authored and GitHub Enterprise committed Aug 22, 2022
2 parents b50c389 + 3f8c566 commit 4acd548
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* ===========================================================================
* (c) Copyright IBM Corp. 2019, 2019 All Rights Reserved
* ===========================================================================
*/

package com.sun.tools.javac.file;

Expand Down Expand Up @@ -309,6 +314,10 @@ private String getDefaultEncodingName() {
return defaultEncodingName;
}

public String getRawEncodingName() {
return encodingName;
}

public String getEncodingName() {
return (encodingName != null) ? encodingName : getDefaultEncodingName();
}
Expand Down

0 comments on commit 4acd548

Please sign in to comment.