Skip to content
Permalink
Browse files
8261306: ServiceLoader documentation has malformed Unicode escape
Reviewed-by: lancea, iris, naoto
  • Loading branch information
Brian Burkhalter committed Feb 9, 2021
1 parent 8f4c15f commit f395ee0c76c9f1d2cce70e541c56a6101f57687b
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/java.base/share/classes/java/util/ServiceLoader.java
@@ -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.
*
* This code is free software; you can redistribute it and/or modify it
@@ -280,7 +280,7 @@
* <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
* 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.
* If a service provider class name is listed more than once in a
* provider-configuration file then the duplicate is ignored. If a service

1 comment on commit f395ee0

@openjdk-notifier

This comment has been minimized.

Copy link

@openjdk-notifier openjdk-notifier bot commented on f395ee0 Feb 9, 2021

Please sign in to comment.