Skip to content

Commit

Permalink
8261306: ServiceLoader documentation has malformed Unicode escape
Browse files Browse the repository at this point in the history
Reviewed-by: lancea, iris, naoto
  • Loading branch information
Brian Burkhalter committed Feb 9, 2021
1 parent 8f4c15f commit f395ee0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/java.base/share/classes/java/util/ServiceLoader.java
Original file line number Original file line Diff line number Diff line change
@@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2005, 2020, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2005, 2021, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
Expand Down Expand Up @@ -280,7 +280,7 @@
* <p><a id="format">The provider-configuration file must be encoded in UTF-8. </a> * <p><a id="format">The provider-configuration file must be encoded in UTF-8. </a>
* Space and tab characters surrounding each service provider's name, as well as * Space and tab characters surrounding each service provider's name, as well as
* blank lines, are ignored. The comment character is {@code '#'} * blank lines, are ignored. The comment character is {@code '#'}
* ({@code '&#92;u0023'} <span style="font-size:smaller;">NUMBER SIGN</span>); * ({@code U+0023} <span style="font-size:smaller;">NUMBER SIGN</span>);
* on each line all characters following the first comment character are ignored. * on each line all characters following the first comment character are ignored.
* If a service provider class name is listed more than once in a * If a service provider class name is listed more than once in a
* provider-configuration file then the duplicate is ignored. If a service * provider-configuration file then the duplicate is ignored. If a service
Expand Down

1 comment on commit f395ee0

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.