Skip to content

Commit

Permalink
[MJAVADOC-614] - "No source files for package" in a directory with ac…
Browse files Browse the repository at this point in the history
…cent characters (#30)
  • Loading branch information
AlexisJehan committed Mar 28, 2020
1 parent 3725fcf commit e7b6114
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -4655,7 +4655,7 @@ private void addCommandLineOptions( Commandline cmd, List<String> arguments, Fil

/* default to platform encoding */
String outputFileEncoding = null;
if ( JAVA_VERSION.isAtLeast( "9" ) )
if ( JAVA_VERSION.isAtLeast( "9" ) && JAVA_VERSION.isBefore( "12" ) )
{
outputFileEncoding = StandardCharsets.UTF_8.name();
}
Expand Down
Expand Up @@ -572,7 +572,7 @@ public void testOptionsUmlautEncoding()
// check for a part of the window title
String content;
String expected;
if ( JavaVersion.JAVA_VERSION.isAtLeast( "9" ) )
if ( JavaVersion.JAVA_VERSION.isAtLeast( "9" ) && JavaVersion.JAVA_VERSION.isBefore( "12" ) )
{
content = readFile( optionsFile, StandardCharsets.UTF_8 );
expected = OPTIONS_UMLAUT_ENCODING;
Expand Down

0 comments on commit e7b6114

Please sign in to comment.