- Copyright (c) 2002-2013
EPFL,
+ Copyright (c) 2002-2013
EPFL,
Lausanne, unless specified otherwise.
All rights reserved.
diff --git a/src/reflect/scala/reflect/api/Annotations.scala b/src/reflect/scala/reflect/api/Annotations.scala
index a685353db063..a38f9964790a 100644
--- a/src/reflect/scala/reflect/api/Annotations.scala
+++ b/src/reflect/scala/reflect/api/Annotations.scala
@@ -41,7 +41,7 @@ import scala.collection.immutable.ListMap
* has to analyze trees representing annotation arguments to manually extract corresponding values. Towards that end,
* arguments of an annotation can be obtained via `annotation.tree.children.tail`.
*
- * For more information about `Annotation`s, see the [[http://docs.scala-lang.org/overviews/reflection/annotations-names-scopes.html Reflection Guide: Annotations, Names, Scopes, and More]]
+ * For more information about `Annotation`s, see the [[https://docs.scala-lang.org/overviews/reflection/annotations-names-scopes.html Reflection Guide: Annotations, Names, Scopes, and More]]
*
* @contentDiagram hideNodes "*Api"
* @group ReflectionAPI
diff --git a/src/reflect/scala/reflect/api/FlagSets.scala b/src/reflect/scala/reflect/api/FlagSets.scala
index d5f933832bc7..8b9955d83aa6 100644
--- a/src/reflect/scala/reflect/api/FlagSets.scala
+++ b/src/reflect/scala/reflect/api/FlagSets.scala
@@ -61,7 +61,7 @@ import scala.language.implicitConversions
* quite possible that in future releases of the reflection API, flag sets could be replaced with something else.
*
* For more details about `FlagSet`s and other aspects of Scala reflection, see the
- * [[http://docs.scala-lang.org/overviews/reflection/overview.html Reflection Guide]]
+ * [[https://docs.scala-lang.org/overviews/reflection/overview.html Reflection Guide]]
*
* @group ReflectionAPI
*
diff --git a/src/reflect/scala/reflect/api/JavaUniverse.scala b/src/reflect/scala/reflect/api/JavaUniverse.scala
index 5f41d9d5ab3f..3c1752c7c934 100644
--- a/src/reflect/scala/reflect/api/JavaUniverse.scala
+++ b/src/reflect/scala/reflect/api/JavaUniverse.scala
@@ -24,7 +24,7 @@ package api
* and vice versa. It can also perform reflective invocations (getting/setting field values,
* calling methods, etc).
*
- * See the [[http://docs.scala-lang.org/overviews/reflection/overview.html Reflection Guide]] for details on how to use runtime reflection.
+ * See the [[https://docs.scala-lang.org/overviews/reflection/overview.html Reflection Guide]] for details on how to use runtime reflection.
*
* @groupname JavaUniverse Java Mirrors
* @group ReflectionAPI
@@ -51,7 +51,7 @@ trait JavaUniverse extends Universe { self =>
* become capable of performing reflective invocations (getting/setting field values, calling methods, etc).
*
* For more information about `Mirrors`s, see [[scala.reflect.api.Mirrors]] or the
- * [[http://docs.scala-lang.org/overviews/reflection/environment-universes-mirrors.html Reflection Guide: Mirrors]]
+ * [[https://docs.scala-lang.org/overviews/reflection/environment-universes-mirrors.html Reflection Guide: Mirrors]]
*
* @group JavaMirrors
*/
@@ -63,7 +63,7 @@ trait JavaUniverse extends Universe { self =>
/** Creates a runtime reflection mirror from a JVM classloader.
*
* For more information about `Mirrors`s, see [[scala.reflect.api.Mirrors]] or the
- * [[http://docs.scala-lang.org/overviews/reflection/environment-universes-mirrors.html Reflection Guide: Mirrors]]
+ * [[https://docs.scala-lang.org/overviews/reflection/environment-universes-mirrors.html Reflection Guide: Mirrors]]
*
* @group JavaMirrors
*/
diff --git a/src/reflect/scala/reflect/api/Liftables.scala b/src/reflect/scala/reflect/api/Liftables.scala
index 14b4acffc868..86770004c533 100644
--- a/src/reflect/scala/reflect/api/Liftables.scala
+++ b/src/reflect/scala/reflect/api/Liftables.scala
@@ -18,7 +18,7 @@ trait Liftables { self: Universe =>
/** A type class that defines a representation of `T` as a `Tree`.
*
- * @see [[http://docs.scala-lang.org/overviews/quasiquotes/lifting.html]]
+ * @see [[https://docs.scala-lang.org/overviews/quasiquotes/lifting.html]]
*/
trait Liftable[T] {
def apply(value: T): Tree
@@ -44,7 +44,7 @@ trait Liftables { self: Universe =>
* lifted: universe.Tree = O
* }}}
*
- * @see [[http://docs.scala-lang.org/overviews/quasiquotes/lifting.html]]
+ * @see [[https://docs.scala-lang.org/overviews/quasiquotes/lifting.html]]
*/
def apply[T](f: T => Tree): Liftable[T] =
new Liftable[T] { def apply(value: T): Tree = f(value) }
@@ -52,7 +52,7 @@ trait Liftables { self: Universe =>
/** A type class that defines a way to extract instance of `T` from a `Tree`.
*
- * @see [[http://docs.scala-lang.org/overviews/quasiquotes/unlifting.html]]
+ * @see [[https://docs.scala-lang.org/overviews/quasiquotes/unlifting.html]]
*/
trait Unliftable[T] {
def unapply(tree: Tree): Option[T]
@@ -78,7 +78,7 @@ trait Liftables { self: Universe =>
* scala> val q"\${_: O.type}" = q"\$Oref"
* }}}
*
- * @see [[http://docs.scala-lang.org/overviews/quasiquotes/unlifting.html]]
+ * @see [[https://docs.scala-lang.org/overviews/quasiquotes/unlifting.html]]
*/
def apply[T](pf: PartialFunction[Tree, T]): Unliftable[T] = new Unliftable[T] {
def unapply(value: Tree): Option[T] = pf.lift(value)
diff --git a/src/reflect/scala/reflect/api/Mirrors.scala b/src/reflect/scala/reflect/api/Mirrors.scala
index 8c6e527708b1..e955f1a07a65 100644
--- a/src/reflect/scala/reflect/api/Mirrors.scala
+++ b/src/reflect/scala/reflect/api/Mirrors.scala
@@ -213,7 +213,7 @@ package api
* }}}
*
* For more information about `Mirrors`s, see the
- * [[http://docs.scala-lang.org/overviews/reflection/environment-universes-mirrors.html Reflection Guide: Mirrors]]
+ * [[https://docs.scala-lang.org/overviews/reflection/environment-universes-mirrors.html Reflection Guide: Mirrors]]
*
* @contentDiagram hideNodes "*Api"
* @group ReflectionAPI
diff --git a/src/reflect/scala/reflect/api/Names.scala b/src/reflect/scala/reflect/api/Names.scala
index 8cddc5d6f062..a9082b8b6cb3 100644
--- a/src/reflect/scala/reflect/api/Names.scala
+++ b/src/reflect/scala/reflect/api/Names.scala
@@ -33,7 +33,7 @@ package api
*
* To search for a type member, one can follow the same procedure, using `TypeName` instead.
*
- * For more information about creating and using `Name`s, see the [[http://docs.scala-lang.org/overviews/reflection/annotations-names-scopes.html Reflection Guide: Annotations, Names, Scopes, and More]]
+ * For more information about creating and using `Name`s, see the [[https://docs.scala-lang.org/overviews/reflection/annotations-names-scopes.html Reflection Guide: Annotations, Names, Scopes, and More]]
*
* @contentDiagram hideNodes "*Api"
* @group ReflectionAPI
diff --git a/src/reflect/scala/reflect/api/Position.scala b/src/reflect/scala/reflect/api/Position.scala
index b6cc08146fcb..63778624226e 100644
--- a/src/reflect/scala/reflect/api/Position.scala
+++ b/src/reflect/scala/reflect/api/Position.scala
@@ -58,7 +58,7 @@ import scala.reflect.macros.Attachments
* pos.focus Converts a range position to an offset position focused on the point
* pos.makeTransparent Convert an opaque range into a transparent range
*
- * For more information about `Position`s, see the [[http://docs.scala-lang.org/overviews/reflection/annotations-names-scopes.html Reflection Guide: Annotations, Names, Scopes, and More]]
+ * For more information about `Position`s, see the [[https://docs.scala-lang.org/overviews/reflection/annotations-names-scopes.html Reflection Guide: Annotations, Names, Scopes, and More]]
*
* @groupname Common Commonly used methods
* @group ReflectionAPI
diff --git a/src/reflect/scala/reflect/api/Printers.scala b/src/reflect/scala/reflect/api/Printers.scala
index dc56b98e5167..28ad8e05718d 100644
--- a/src/reflect/scala/reflect/api/Printers.scala
+++ b/src/reflect/scala/reflect/api/Printers.scala
@@ -143,7 +143,7 @@ import java.io.{ PrintWriter, StringWriter }
* }}}
*
* For more details about `Printer`s and other aspects of Scala reflection, see the
- * [[http://docs.scala-lang.org/overviews/reflection/overview.html Reflection Guide]]
+ * [[https://docs.scala-lang.org/overviews/reflection/overview.html Reflection Guide]]
*
* @group ReflectionAPI
*/
diff --git a/src/reflect/scala/reflect/api/Quasiquotes.scala b/src/reflect/scala/reflect/api/Quasiquotes.scala
index ac09b441b8f5..9a31a80032ce 100644
--- a/src/reflect/scala/reflect/api/Quasiquotes.scala
+++ b/src/reflect/scala/reflect/api/Quasiquotes.scala
@@ -19,7 +19,7 @@ trait Quasiquotes { self: Universe =>
* that are also known as quasiquotes. With their help you can easily manipulate
* Scala reflection ASTs.
*
- * @see [[http://docs.scala-lang.org/overviews/quasiquotes/intro.html]]
+ * @see [[https://docs.scala-lang.org/overviews/quasiquotes/intro.html]]
*/
implicit class Quasiquote(ctx: StringContext) {
protected trait api {
diff --git a/src/reflect/scala/reflect/api/Symbols.scala b/src/reflect/scala/reflect/api/Symbols.scala
index 7d51948b0e4d..a4adf47d71bb 100644
--- a/src/reflect/scala/reflect/api/Symbols.scala
+++ b/src/reflect/scala/reflect/api/Symbols.scala
@@ -55,7 +55,7 @@ package api
* to obtain the symbol that represents their declaration. During the typechecking phase, the compiler looks up the
* symbol based on the name and scope and sets the [[Trees.SymTreeApi.symbol `symbol` field]] of tree nodes.
*
- * For more information about `Symbol` usage and attached intricacies, see the [[http://docs.scala-lang.org/overviews/reflection/symbols-trees-types.html Reflection Guide: Symbols]]
+ * For more information about `Symbol` usage and attached intricacies, see the [[https://docs.scala-lang.org/overviews/reflection/symbols-trees-types.html Reflection Guide: Symbols]]
*
* @group ReflectionAPI
*
@@ -458,7 +458,7 @@ trait Symbols { self: Universe =>
/** Is this symbol static (i.e. with no outer instance)?
* Q: When exactly is a sym marked as STATIC?
* A: If it's a member of a toplevel object, or of an object contained in a toplevel object, or any number of levels deep.
- * http://groups.google.com/group/scala-internals/browse_thread/thread/d385bcd60b08faf6
+ * https://groups.google.com/group/scala-internals/browse_thread/thread/d385bcd60b08faf6
*
* @group Tests
*/
diff --git a/src/reflect/scala/reflect/api/Trees.scala b/src/reflect/scala/reflect/api/Trees.scala
index bfc51a439719..c0db92981235 100644
--- a/src/reflect/scala/reflect/api/Trees.scala
+++ b/src/reflect/scala/reflect/api/Trees.scala
@@ -52,7 +52,7 @@ import scala.annotation.{nowarn, tailrec}
* print( showRaw( reify{5}.tree ) )` // prints Literal(Constant(5))
* }}}
*
- * For more information about `Tree`s, see the [[http://docs.scala-lang.org/overviews/reflection/symbols-trees-types.html Reflection Guide: Symbols, Trees, Types]].
+ * For more information about `Tree`s, see the [[https://docs.scala-lang.org/overviews/reflection/symbols-trees-types.html Reflection Guide: Symbols, Trees, Types]].
*
* @groupname Traversal Tree Traversal and Transformation
* @groupprio Traversal 1
diff --git a/src/reflect/scala/reflect/api/TypeTags.scala b/src/reflect/scala/reflect/api/TypeTags.scala
index 2f70010590f8..382577ce3cf4 100644
--- a/src/reflect/scala/reflect/api/TypeTags.scala
+++ b/src/reflect/scala/reflect/api/TypeTags.scala
@@ -150,7 +150,7 @@ import java.io.ObjectStreamException
* APIs to use `Tag`s.
*
* For more information about `TypeTag`s, see the
- * [[http://docs.scala-lang.org/overviews/reflection/typetags-manifests.html Reflection Guide: TypeTags]]
+ * [[https://docs.scala-lang.org/overviews/reflection/typetags-manifests.html Reflection Guide: TypeTags]]
*
* @see [[scala.reflect.ClassTag]], [[scala.reflect.api.TypeTags#TypeTag]], [[scala.reflect.api.TypeTags#WeakTypeTag]]
* @group ReflectionAPI
@@ -170,7 +170,7 @@ trait TypeTags { self: Universe =>
* [[scala.reflect.api.TypeTags#TypeTag]] instead, which statically guarantees this property.
*
* For more information about `TypeTag`s, see the
- * [[http://docs.scala-lang.org/overviews/reflection/typetags-manifests.html Reflection Guide: TypeTags]]
+ * [[https://docs.scala-lang.org/overviews/reflection/typetags-manifests.html Reflection Guide: TypeTags]]
*
* @see [[scala.reflect.api.TypeTags]]
* @group TypeTags
diff --git a/src/reflect/scala/reflect/api/Types.scala b/src/reflect/scala/reflect/api/Types.scala
index 6df3fc4a53fa..654008c82713 100644
--- a/src/reflect/scala/reflect/api/Types.scala
+++ b/src/reflect/scala/reflect/api/Types.scala
@@ -51,7 +51,7 @@ package api
* ''Note:'' Method `typeOf` does not work for types with type parameters, such as `typeOf[List[A]]` where `A` is
* a type parameter. In this case, use [[scala.reflect.api.TypeTags#weakTypeOf]] instead.
*
- * For other ways to instantiate types, see the [[http://docs.scala-lang.org/overviews/reflection/symbols-trees-types.html corresponding section of the Reflection Guide]].
+ * For other ways to instantiate types, see the [[https://docs.scala-lang.org/overviews/reflection/symbols-trees-types.html corresponding section of the Reflection Guide]].
*
* === Common Operations on Types ===
*
@@ -69,7 +69,7 @@ package api
* res1: reflect.runtime.universe.Symbol = method map
* }}}
*
- * For more information about `Type`s, see the [[http://docs.scala-lang.org/overviews/reflection/symbols-trees-types.html Reflection Guide: Symbols, Trees, and Types]]
+ * For more information about `Type`s, see the [[https://docs.scala-lang.org/overviews/reflection/symbols-trees-types.html Reflection Guide: Symbols, Trees, and Types]]
*
* @groupname TypeCreators Types - Creation
* @groupname TypeOps Types - Operations
diff --git a/src/reflect/scala/reflect/api/Universe.scala b/src/reflect/scala/reflect/api/Universe.scala
index 1ac9815cff9e..072f01185d0c 100644
--- a/src/reflect/scala/reflect/api/Universe.scala
+++ b/src/reflect/scala/reflect/api/Universe.scala
@@ -63,7 +63,7 @@ package api
* }
* }}}
*
- * For more information about `Universe`s, see the [[http://docs.scala-lang.org/overviews/reflection/environment-universes-mirrors.html Reflection Guide: Universes]]
+ * For more information about `Universe`s, see the [[https://docs.scala-lang.org/overviews/reflection/environment-universes-mirrors.html Reflection Guide: Universes]]
*
* @groupprio Universe -1
* @group ReflectionAPI
diff --git a/src/reflect/scala/reflect/api/package.scala b/src/reflect/scala/reflect/api/package.scala
index 85d3128b8e3c..ee0040100809 100644
--- a/src/reflect/scala/reflect/api/package.scala
+++ b/src/reflect/scala/reflect/api/package.scala
@@ -33,7 +33,7 @@ import scala.reflect.api.{Universe => ApiUniverse}
* - [[scala.reflect.api.Universe]]
*
* For more information about Scala Reflection, see the
- * [[http://docs.scala-lang.org/overviews/reflection/overview.html Reflection Guide]]
+ * [[https://docs.scala-lang.org/overviews/reflection/overview.html Reflection Guide]]
*
* @groupname ReflectionAPI Scala Reflection API
* @groupprio API 9
diff --git a/src/reflect/scala/reflect/internal/ClassfileConstants.scala b/src/reflect/scala/reflect/internal/ClassfileConstants.scala
index 70edeac967b3..32f87e35eef5 100644
--- a/src/reflect/scala/reflect/internal/ClassfileConstants.scala
+++ b/src/reflect/scala/reflect/internal/ClassfileConstants.scala
@@ -21,7 +21,7 @@ object ClassfileConstants {
final val JAVA_MAJOR_VERSION = 45
final val JAVA_MINOR_VERSION = 3
- /** (see http://docs.oracle.com/javase/specs/jvms/se8/html/jvms-4.html#jvms-4.1)
+ /** (see https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-4.html#jvms-4.1)
*
* If the `ACC_INTERFACE` flag is set, the `ACC_ABSTRACT` flag must also
* be set (ch. 2.13.1).
diff --git a/src/reflect/scala/reflect/internal/Kinds.scala b/src/reflect/scala/reflect/internal/Kinds.scala
index e23544fc8ac6..1463c8ef7631 100644
--- a/src/reflect/scala/reflect/internal/Kinds.scala
+++ b/src/reflect/scala/reflect/internal/Kinds.scala
@@ -261,7 +261,7 @@ trait Kinds {
*/
def scalaNotation: String
- /** Kind notation used in http://adriaanm.github.com/files/higher.pdf.
+ /** Kind notation used in https://adriaanm.github.com/files/higher.pdf.
* Proper types are expressed as *.
* Type constructors are expressed * -> *(lo, hi) -(+)-> *.
*/
diff --git a/src/reflect/scala/reflect/internal/Symbols.scala b/src/reflect/scala/reflect/internal/Symbols.scala
index ae234a13f29a..627a08fa7807 100644
--- a/src/reflect/scala/reflect/internal/Symbols.scala
+++ b/src/reflect/scala/reflect/internal/Symbols.scala
@@ -975,7 +975,7 @@ trait Symbols extends api.Symbols { self: SymbolTable =>
* Q: When exactly is a sym marked as STATIC?
* A: If it's a member of a toplevel object, or of an object contained in a toplevel object, or
* any number of levels deep.
- * http://groups.google.com/group/scala-internals/browse_thread/thread/d385bcd60b08faf6
+ * https://groups.google.com/group/scala-internals/browse_thread/thread/d385bcd60b08faf6
*
* TODO: should this only be invoked on class / module symbols? because there's also `isStaticMember`.
*
diff --git a/src/reflect/scala/reflect/internal/Types.scala b/src/reflect/scala/reflect/internal/Types.scala
index a7399e805b09..b3a92e70c92c 100644
--- a/src/reflect/scala/reflect/internal/Types.scala
+++ b/src/reflect/scala/reflect/internal/Types.scala
@@ -239,7 +239,7 @@ trait Types
}
// erasure screws up all ThisTypes for modules into PackageTypeRefs
// we need to unscrew them, or certain typechecks will fail mysteriously
- // http://groups.google.com/group/scala-internals/browse_thread/thread/6d3277ae21b6d581
+ // https://groups.google.com/group/scala-internals/browse_thread/thread/6d3277ae21b6d581
result = result.map(tpe => tpe match {
case tpe: PackageTypeRef => ThisType(tpe.sym)
case _ => tpe
@@ -1565,7 +1565,7 @@ trait Types
(if (emptyLowerBound) "" else " >: " + typeString(lo)) +
(if (emptyUpperBound) "" else " <: " + typeString(hi))
}
- /** Bounds notation used in http://adriaanm.github.com/files/higher.pdf.
+ /** Bounds notation used in https://adriaanm.github.com/files/higher.pdf.
* For example *(scala.collection.generic.Sorted[K,This]).
*/
private[internal] def starNotation(typeString: Type => String): String = {
diff --git a/src/reflect/scala/reflect/internal/pickling/UnPickler.scala b/src/reflect/scala/reflect/internal/pickling/UnPickler.scala
index 18394c75d449..d8abf5b30c13 100644
--- a/src/reflect/scala/reflect/internal/pickling/UnPickler.scala
+++ b/src/reflect/scala/reflect/internal/pickling/UnPickler.scala
@@ -232,7 +232,7 @@ abstract class UnPickler {
(module map { case (group, art) =>
s"""\n(NOTE: It looks like the $art module is missing; try adding a dependency on "$group" : "$art".
- | See http://docs.scala-lang.org/overviews/ for more information.)""".stripMargin
+ | See https://docs.scala-lang.org/overviews/ for more information.)""".stripMargin
} getOrElse "")
}
diff --git a/src/reflect/scala/reflect/macros/Typers.scala b/src/reflect/scala/reflect/macros/Typers.scala
index cbbd8417f5b2..9a0904a1a47e 100644
--- a/src/reflect/scala/reflect/macros/Typers.scala
+++ b/src/reflect/scala/reflect/macros/Typers.scala
@@ -128,7 +128,7 @@ trait Typers {
* which makes it sometimes corrupt trees so that they don't make sense anymore. Unfortunately, there's no workaround for that.
* We plan to fix this issue soon, but for now please keep it in mind.
*
- * @see [[http://stackoverflow.com/questions/20936509/scala-macros-what-is-the-difference-between-typed-aka-typechecked-an-untyped]]
+ * @see [[https://stackoverflow.com/questions/20936509/scala-macros-what-is-the-difference-between-typed-aka-typechecked-an-untyped]]
*/
def untypecheck(tree: Tree): Tree
}
diff --git a/src/reflect/scala/reflect/macros/blackbox/Context.scala b/src/reflect/scala/reflect/macros/blackbox/Context.scala
index 3a5d10cd9bde..319bd2ad1ddc 100644
--- a/src/reflect/scala/reflect/macros/blackbox/Context.scala
+++ b/src/reflect/scala/reflect/macros/blackbox/Context.scala
@@ -41,7 +41,7 @@ package blackbox
* which means that its expansion will be upcast to its return type, enforcing faithfulness of that macro to its
* type signature. Whitebox macros, i.e. the ones defined with `whitebox.Context`, aren't bound by this restriction,
* which enables a number of important use cases, but they are also going to enjoy less support than blackbox macros,
- * so choose wisely. See the [[http://docs.scala-lang.org/overviews/macros/overview.html Macros Guide]] for more information.
+ * so choose wisely. See the [[https://docs.scala-lang.org/overviews/macros/overview.html Macros Guide]] for more information.
*
* @see `scala.reflect.macros.whitebox.Context`
*/
diff --git a/src/reflect/scala/reflect/macros/package.scala b/src/reflect/scala/reflect/macros/package.scala
index 7118643dd641..3a48c76a4ddd 100644
--- a/src/reflect/scala/reflect/macros/package.scala
+++ b/src/reflect/scala/reflect/macros/package.scala
@@ -22,14 +22,14 @@ package reflect
* Within these functions the programmer has access to compiler APIs.
* For example, it is possible to generate, analyze and typecheck code.
*
- * See the [[http://docs.scala-lang.org/overviews/macros/overview.html Macros Guide]] on how to get started with Scala macros.
+ * See the [[https://docs.scala-lang.org/overviews/macros/overview.html Macros Guide]] on how to get started with Scala macros.
*/
package object macros {
/** The Scala macros context.
*
* In Scala 2.11, macros that were once the one are split into blackbox and whitebox macros,
* with the former being better supported and the latter being more powerful. You can read about
- * the details of the split and the associated trade-offs in the [[http://docs.scala-lang.org/overviews/macros/overview.html Macros Guide]].
+ * the details of the split and the associated trade-offs in the [[https://docs.scala-lang.org/overviews/macros/overview.html Macros Guide]].
*
* `scala.reflect.macros.Context` follows this tendency and turns into `scala.reflect.macros.blackbox.Context`
* and `scala.reflect.macros.whitebox.Context`. The original `Context` is left in place for compatibility reasons,
diff --git a/src/reflect/scala/reflect/macros/whitebox/Context.scala b/src/reflect/scala/reflect/macros/whitebox/Context.scala
index 4c3a70a06918..35accd470b73 100644
--- a/src/reflect/scala/reflect/macros/whitebox/Context.scala
+++ b/src/reflect/scala/reflect/macros/whitebox/Context.scala
@@ -41,7 +41,7 @@ package whitebox
* gaining the ability to refine the type of its expansion beyond its official return type, which enables a number of important use cases.
* Blackbox macros, i.e. the ones defined with `blackbox.Context`, can't do that, so they are less powerful.
* However blackbox macros are also going to enjoy better support than whitebox macros, so choose wisely.
- * See the [[http://docs.scala-lang.org/overviews/macros/overview.html Macros Guide]] for more information.
+ * See the [[https://docs.scala-lang.org/overviews/macros/overview.html Macros Guide]] for more information.
*
* @see `scala.reflect.macros.blackbox.Context`
*/
diff --git a/src/reflect/scala/reflect/runtime/JavaMirrors.scala b/src/reflect/scala/reflect/runtime/JavaMirrors.scala
index 4d919ee4b335..48e1f0a2c3e5 100644
--- a/src/reflect/scala/reflect/runtime/JavaMirrors.scala
+++ b/src/reflect/scala/reflect/runtime/JavaMirrors.scala
@@ -897,7 +897,7 @@ private[scala] trait JavaMirrors extends internal.SymbolTable with api.JavaUnive
* The Scala owner of the Scala class corresponding to the Java class `jclazz`
*/
// @eb: a weird classloader might return a null package for something with a non-empty package name
- // for example, http://groups.google.com/group/scala-internals/browse_thread/thread/7be09ff8f67a1e5c
+ // for example, https://groups.google.com/group/scala-internals/browse_thread/thread/7be09ff8f67a1e5c
// in that case we could invoke packageNameToScala(jPackageName) and, probably, be okay
// however, I think, it's better to blow up, since weirdness of the class loader might bite us elsewhere
// [martin] I think it's better to be forgiving here. Restoring packageNameToScala.
@@ -1068,7 +1068,7 @@ private[scala] trait JavaMirrors extends internal.SymbolTable with api.JavaUnive
// otherwise we may mistake mangled symbolic names for mangled nested names
//
// in case when a Java binary name can be treated both as a top-level class and as a nested class
- // (as described in http://groups.google.com/group/scala-internals/browse_thread/thread/10855403bbf04298)
+ // (as described in https://groups.google.com/group/scala-internals/browse_thread/thread/10855403bbf04298)
// we check for a top-level class first
// this is totally correct, because a top-level class and a nested class with the same name cannot coexist
// so it's either one or another, but not both - therefore we always load $-bearing classes correctly
@@ -1152,7 +1152,7 @@ private[scala] trait JavaMirrors extends internal.SymbolTable with api.JavaUnive
}
}
case japplied: ParameterizedType =>
- // http://stackoverflow.com/questions/5767122/parameterizedtype-getrawtype-returns-j-l-r-type-not-class
+ // https://stackoverflow.com/questions/5767122/parameterizedtype-getrawtype-returns-j-l-r-type-not-class
val sym = classToScala(japplied.getRawType.asInstanceOf[jClass[_]])
val pre = if (japplied.getOwnerType ne null) typeToScala(japplied.getOwnerType) else sym.owner.thisType
val args0 = japplied.getActualTypeArguments
diff --git a/src/reflect/scala/reflect/runtime/JavaUniverse.scala b/src/reflect/scala/reflect/runtime/JavaUniverse.scala
index 76bd64e253c5..6d17d6be3fdb 100644
--- a/src/reflect/scala/reflect/runtime/JavaUniverse.scala
+++ b/src/reflect/scala/reflect/runtime/JavaUniverse.scala
@@ -154,7 +154,7 @@ class JavaUniverse extends InternalSymbolTable with JavaUniverseForce with Refle
def init(): Unit = {
definitions.init()
- // workaround for http://groups.google.com/group/scala-internals/browse_thread/thread/97840ba4fd37b52e
+ // workaround for https://groups.google.com/group/scala-internals/browse_thread/thread/97840ba4fd37b52e
// constructors are by definition single-threaded, so we initialize all lazy vals (and local object) in advance
// in order to avoid deadlocks later (e.g. one thread holds a global reflection lock and waits for definitions.Something to initialize,
// whereas another thread holds a definitions.Something initialization lock and needs a global reflection lock to complete the initialization)
diff --git a/src/reflect/scala/reflect/runtime/ReflectionUtils.scala b/src/reflect/scala/reflect/runtime/ReflectionUtils.scala
index f18bb8fc203f..671376c2a3a0 100644
--- a/src/reflect/scala/reflect/runtime/ReflectionUtils.scala
+++ b/src/reflect/scala/reflect/runtime/ReflectionUtils.scala
@@ -106,7 +106,7 @@ object ReflectionUtils {
// I think we can keep the source code though, because it can be useful to the others
//
// def inferAssociatedFile(clazz: Class[_]): AbstractFile = {
- // // http://stackoverflow.com/questions/227486/find-where-java-class-is-loaded-from
+ // // https://stackoverflow.com/questions/227486/find-where-java-class-is-loaded-from
// try {
// var cl = clazz.getClassLoader()
// if (cl == null) {
diff --git a/src/reflect/scala/reflect/runtime/SymbolTable.scala b/src/reflect/scala/reflect/runtime/SymbolTable.scala
index 0d8a0bfd1a9b..3bb674953521 100644
--- a/src/reflect/scala/reflect/runtime/SymbolTable.scala
+++ b/src/reflect/scala/reflect/runtime/SymbolTable.scala
@@ -35,7 +35,7 @@ private[scala] trait SymbolTable extends internal.SymbolTable with JavaMirrors w
*
* On the other hand, this also means that usage scenarios of the universe
* will differ from the conventional ones. For example, we have to do additional cleanup
- * in order to prevent memory leaks: http://groups.google.com/group/scala-internals/browse_thread/thread/eabcf3d406dab8b2.
+ * in order to prevent memory leaks: https://groups.google.com/group/scala-internals/browse_thread/thread/eabcf3d406dab8b2.
*/
override def isCompilerUniverse = false
}
diff --git a/src/reflect/scala/reflect/runtime/ThreadLocalStorage.scala b/src/reflect/scala/reflect/runtime/ThreadLocalStorage.scala
index ca16932d48ea..8665b7cccffe 100644
--- a/src/reflect/scala/reflect/runtime/ThreadLocalStorage.scala
+++ b/src/reflect/scala/reflect/runtime/ThreadLocalStorage.scala
@@ -19,7 +19,7 @@ private[reflect] trait ThreadLocalStorage {
self: SymbolTable =>
// see a discussion at scala-internals for more information:
- // http://groups.google.com/group/scala-internals/browse_thread/thread/337ce68aa5e51f79
+ // https://groups.google.com/group/scala-internals/browse_thread/thread/337ce68aa5e51f79
trait ThreadLocalStorage[T] { def get: T; def set(newValue: T): Unit }
private class MyThreadLocalStorage[T](initialValue: => T) extends ThreadLocalStorage[T] {
// TODO: how do we use org.cliffc.high_scale_lib.NonBlockingHashMap here?
diff --git a/src/reflect/scala/reflect/runtime/package.scala b/src/reflect/scala/reflect/runtime/package.scala
index b4c8149d9d11..1b3fc8bc0768 100644
--- a/src/reflect/scala/reflect/runtime/package.scala
+++ b/src/reflect/scala/reflect/runtime/package.scala
@@ -23,7 +23,7 @@ package object runtime {
* To use Scala runtime reflection, simply use or import `scala.reflect.runtime.universe._`
*
* See [[scala.reflect.api.Universe]] or the
- * [[http://docs.scala-lang.org/overviews/reflection/environment-universes-mirrors.html Reflection Guide: Universes]]
+ * [[https://docs.scala-lang.org/overviews/reflection/environment-universes-mirrors.html Reflection Guide: Universes]]
* for more details.
*/
lazy val universe: api.JavaUniverse = new runtime.JavaUniverse
diff --git a/src/scaladoc/scala/tools/nsc/doc/html/page/Entity.scala b/src/scaladoc/scala/tools/nsc/doc/html/page/Entity.scala
index 17b43045062f..3c82654fb515 100644
--- a/src/scaladoc/scala/tools/nsc/doc/html/page/Entity.scala
+++ b/src/scaladoc/scala/tools/nsc/doc/html/page/Entity.scala
@@ -341,7 +341,7 @@ trait EntityPage extends HtmlPage {
val postamble =
List(Div(id = "tooltip"),
if (Set("epfl", "EPFL").contains(tpl.universe.settings.docfooter.value))
- Div(id = "footer", elems = Txt("Scala programming documentation. Copyright (c) 2002-2020 ") :: A(href = "http://www.epfl.ch", target = "_top", elems = Txt("EPFL")) :: Txt(" and ") :: A(href = "http://www.lightbend.com", target = "_top", elems = Txt("Lightbend")) :: Txt("."))
+ Div(id = "footer", elems = Txt("Scala programming documentation. Copyright (c) 2002-2020 ") :: A(href = "https://www.epfl.ch", target = "_top", elems = Txt("EPFL")) :: Txt(" and ") :: A(href = "https://www.lightbend.com", target = "_top", elems = Txt("Lightbend")) :: Txt("."))
else
Div(id = "footer", elems = Txt(tpl.universe.settings.docfooter.value)))
@@ -528,7 +528,7 @@ trait EntityPage extends HtmlPage {
case _ => "" // no parameters
}
Br ++ Txt("To access this member you can use a ") ++
- A(href="http://stackoverflow.com/questions/2087250/what-is-the-purpose-of-type-ascription-in-scala",
+ A(href="https://stackoverflow.com/questions/2087250/what-is-the-purpose-of-type-ascription-in-scala",
target="_blank", elems= Txt("type ascription")) ++ Txt(":") ++
Br ++ Div(`class`="cmt", elems=Pre(Txt(s"(${EntityPage.lowerFirstLetter(tpl.name)}: ${conv.targetType.name}).${mbr.name}$params")))
}
@@ -1008,7 +1008,7 @@ trait EntityPage extends HtmlPage {
templateToHtml(ktcc.typeClassEntity) ++ Txt(")")
case tcc: TypeClassConstraint =>
Txt(tcc.typeParamName + " is ") ++
- A(href="http://stackoverflow.com/questions/2982276/what-is-a-context-bound-in-scala", target="_blank", elems=
+ A(href="https://stackoverflow.com/questions/2982276/what-is-a-context-bound-in-scala", target="_blank", elems=
Txt("context-bounded")) ++ Txt(" by " + tcc.typeClassEntity.qualifiedName + " (" + tcc.typeParamName + ": ") ++
templateToHtml(tcc.typeClassEntity) ++ Txt(")")
case impl: ImplicitInScopeConstraint =>
diff --git a/test/async/jvm/concurrent_fetch.check b/test/async/jvm/concurrent_fetch.check
index 991fe4e4827b..dc76e7b27050 100644
--- a/test/async/jvm/concurrent_fetch.check
+++ b/test/async/jvm/concurrent_fetch.check
@@ -1,3 +1,3 @@
fetching
fetching
-63
+65
diff --git a/test/async/jvm/concurrent_fetch.scala b/test/async/jvm/concurrent_fetch.scala
index af6e2a9b7aa4..126dd9204438 100644
--- a/test/async/jvm/concurrent_fetch.scala
+++ b/test/async/jvm/concurrent_fetch.scala
@@ -10,8 +10,8 @@ object Test extends App {
val sumLengths: Future[Int] = {
async {
- val body1 = fetchURL("http://scala-lang.org")
- val body2 = fetchURL("http://docs.scala-lang.org")
+ val body1 = fetchURL("https://scala-lang.org")
+ val body2 = fetchURL("https://docs.scala-lang.org")
await(body1).length + await(body2).length
}
}
diff --git a/test/benchmarks/README.md b/test/benchmarks/README.md
index 94c5a6f3cacf..45f8e142be9e 100644
--- a/test/benchmarks/README.md
+++ b/test/benchmarks/README.md
@@ -1,7 +1,7 @@
# Scala library benchmarks
This directory is used by the `bench` subproject of the Scala sbt build.
-It makes use of the [sbt plugin](https://github.com/ktoso/sbt-jmh) for [JMH](http://openjdk.java.net/projects/code-tools/jmh/).
+It makes use of the [sbt plugin](https://github.com/ktoso/sbt-jmh) for [JMH](https://openjdk.java.net/projects/code-tools/jmh/).
## Running a benchmark
@@ -44,7 +44,7 @@ derived from the fully-qualified package name of the `Runner` class.
## Some useful HotSpot options
Adding these to the `jmh:run` or `jmh:runMain` command line may help if you're using the HotSpot (Oracle, OpenJDK) compiler.
They require prefixing with `-jvmArgs`.
-See [the Java documentation](http://docs.oracle.com/javase/8/docs/technotes/tools/unix/java.html) for more options.
+See [the Java documentation](https://docs.oracle.com/javase/8/docs/technotes/tools/unix/java.html) for more options.
### Viewing JIT compilation events
Adding `-XX:+PrintCompilation` shows when Java methods are being compiled or deoptimized.
@@ -130,7 +130,7 @@ Follow instructions in the output above and start gleaning insights!
## Useful reading
* [OpenJDK advice on microbenchmarks](https://wiki.openjdk.java.net/display/HotSpot/MicroBenchmarks)
* Brian Goetz's "Java theory and practice" articles:
- * "[Dynamic compilation and performance measurement](http://www.ibm.com/developerworks/java/library/j-jtp12214/)"
- * "[Anatomy of a flawed benchmark](http://www.ibm.com/developerworks/java/library/j-jtp02225/)"
+ * "[Dynamic compilation and performance measurement](https://www.ibm.com/developerworks/java/library/j-jtp12214/)"
+ * "[Anatomy of a flawed benchmark](https://www.ibm.com/developerworks/java/library/j-jtp02225/)"
* [Doug Lea's JSR 166 benchmarks](http://gee.cs.oswego.edu/cgi-bin/viewcvs.cgi/jsr166/src/test/loops/)
-* "[Measuring performance](http://docs.scala-lang.org/overviews/parallel-collections/performance.html)" of Scala parallel collections
+* "[Measuring performance](https://docs.scala-lang.org/overviews/parallel-collections/performance.html)" of Scala parallel collections
diff --git a/test/benchmarks/src/main/scala/scala/collection/immutable/OldVector.scala b/test/benchmarks/src/main/scala/scala/collection/immutable/OldVector.scala
index 6478decefa0d..577f93ff34ce 100644
--- a/test/benchmarks/src/main/scala/scala/collection/immutable/OldVector.scala
+++ b/test/benchmarks/src/main/scala/scala/collection/immutable/OldVector.scala
@@ -106,7 +106,7 @@ object OldVector extends StrictOptimizedSeqFactory[OldVector] {
* endian bit-mapped vector trie with a branching factor of 32. Locality is very good, but not
* contiguous, which is good for very large sequences.
*
- * @see [[http://docs.scala-lang.org/overviews/collections/concrete-immutable-collection-classes.html#vectors "Scala's Collection Library overview"]]
+ * @see [[https://docs.scala-lang.org/overviews/collections/concrete-immutable-collection-classes.html#vectors "Scala's Collection Library overview"]]
* section on `Vectors` for more information.
*
* @tparam A the element type
diff --git a/test/files/filters b/test/files/filters
index e91ca0eb3665..a49e9213be95 100644
--- a/test/files/filters
+++ b/test/files/filters
@@ -5,5 +5,5 @@ OpenJDK .* warning:
# Hotspot receiving VM options through the $_JAVA_OPTIONS
# env variable outputs them on stderr
Picked up _JAVA_OPTIONS:
-# Filter out a message caused by this bug: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=8021205
+# Filter out a message caused by this bug: https://bugs.java.com/bugdatabase/view_bug.do?bug_id=8021205
objc\[\d+\]: Class JavaLaunchHelper is implemented in both .* and .*\. One of the two will be used\. Which one is undefined\.
diff --git a/test/files/jvm/annotations.check b/test/files/jvm/annotations.check
index a45ef4fdf421..d615224c040b 100644
--- a/test/files/jvm/annotations.check
+++ b/test/files/jvm/annotations.check
@@ -1,7 +1,7 @@
#partest java8
class java.io.IOException
@java.lang.Deprecated()
-@test.SourceAnnotation_1(mails={scala@lists.epfl.ch,scala-lounge@lists.epfl.ch}, value=http://scala-lang.org)
+@test.SourceAnnotation_1(mails={scala@lists.epfl.ch,scala-lounge@lists.epfl.ch}, value=https://scala-lang.org)
class Test4$Foo1
@test.SourceAnnotation_1(mails={you@bloodsuckers.com}, value=http://bloodsuckers.com)
@@ -43,7 +43,7 @@ public int Test4$Foo9.getZ2()
@test.SourceAnnotation_1(mails={bill.gates@bloodsuckers.com}, value=http://eppli.com)
public int Test4$Foo9.getZ3()
-@test.SourceAnnotation_1(mails={bill.gates@bloodsuckers.com}, value=http://apple.com)
+@test.SourceAnnotation_1(mails={bill.gates@bloodsuckers.com}, value=https://apple.com)
public int Test4$Foo9.x()
@test.SourceAnnotation_1(mails={bill.gates@bloodsuckers.com}, value=http://uppla.com)
@@ -65,7 +65,7 @@ dylan
#partest !java8
class java.io.IOException
@java.lang.Deprecated(forRemoval=false, since="")
-@test.SourceAnnotation_1(mails={scala@lists.epfl.ch,scala-lounge@lists.epfl.ch}, value=http://scala-lang.org)
+@test.SourceAnnotation_1(mails={scala@lists.epfl.ch,scala-lounge@lists.epfl.ch}, value=https://scala-lang.org)
class Test4$Foo1
@test.SourceAnnotation_1(mails={you@bloodsuckers.com}, value=http://bloodsuckers.com)
@@ -107,7 +107,7 @@ public int Test4$Foo9.getZ2()
@test.SourceAnnotation_1(mails={bill.gates@bloodsuckers.com}, value=http://eppli.com)
public int Test4$Foo9.getZ3()
-@test.SourceAnnotation_1(mails={bill.gates@bloodsuckers.com}, value=http://apple.com)
+@test.SourceAnnotation_1(mails={bill.gates@bloodsuckers.com}, value=https://apple.com)
public int Test4$Foo9.x()
@test.SourceAnnotation_1(mails={bill.gates@bloodsuckers.com}, value=http://uppla.com)
diff --git a/test/files/jvm/annotations/Test_2.scala b/test/files/jvm/annotations/Test_2.scala
index ecac824b11e0..83fdeb3f808a 100644
--- a/test/files/jvm/annotations/Test_2.scala
+++ b/test/files/jvm/annotations/Test_2.scala
@@ -47,7 +47,7 @@ object Test3 {
public String url();
public String mail();
}
-@Source(url="http://scala.epfl.ch", mail="scala@lists.epfl.ch")
+@Source(url="https://scala.epfl.ch", mail="scala@lists.epfl.ch")
class Foo {}
public class Main {
public static void main(String[] args) throws Exception {
@@ -55,13 +55,13 @@ public class Main {
Annotation[] annotations = clazz.getAnnotations();
for (int i = 0; i < annotations.length; i++)
System.out.println(annotations[i]);
- // @test.Main$Source(url=http://scala-lang.org, mail=scala@lists.epfl.ch)
+ // @test.Main$Source(url=https://scala-lang.org, mail=scala@lists.epfl.ch)
}
}
*/
object Test4 {
import test.SourceAnnotation_1
- @SourceAnnotation_1(value = "http://scala-lang.org",
+ @SourceAnnotation_1(value = "https://scala-lang.org",
mails = Array("scala@lists.epfl.ch", "scala-lounge@lists.epfl.ch"))
class Foo1
@SourceAnnotation_1(value = "http://bloodsuckers.com",
@@ -90,7 +90,7 @@ object Test4 {
class Foo9 {
import scala.annotation.meta._
import scala.beans.BeanProperty
- @(SourceAnnotation_1 @getter)("http://apple.com") val x = 0
+ @(SourceAnnotation_1 @getter)("https://apple.com") val x = 0
@BeanProperty @(SourceAnnotation_1 @beanSetter)("http://uppla.com") var y = 0
type myAnn = SourceAnnotation_1 @beanGetter @field
diff --git a/test/files/jvm/innerClassEnclMethodJavaReflection.scala b/test/files/jvm/innerClassEnclMethodJavaReflection.scala
index 33c2722c22e0..644d9362d834 100644
--- a/test/files/jvm/innerClassEnclMethodJavaReflection.scala
+++ b/test/files/jvm/innerClassEnclMethodJavaReflection.scala
@@ -34,7 +34,7 @@ object Test extends App {
val classFullNames = flatten(classPath, "").filter(_._1.hasExtension("class")).map(_._2.replace("/", ".").replaceAll(".class$", ""))
// it seems that Class objects can only be GC'd together with their class loader
- // (http://stackoverflow.com/questions/2433261/when-and-how-are-classes-garbage-collected-in-java)
+ // (https://stackoverflow.com/questions/2433261/when-and-how-are-classes-garbage-collected-in-java)
// if we just use the same class loader for the entire test (Class.forName), we run out of PermGen
// even with that, we still neeed a PermGen of 90M or so, the default 64 is not enough. I tried
// using one class loader per 100 classes, but that didn't help, the classes didn't get GC'd.
diff --git a/test/files/jvm/javaReflection/Test.scala b/test/files/jvm/javaReflection/Test.scala
index f74ef6aa1275..3fb67536ecaa 100644
--- a/test/files/jvm/javaReflection/Test.scala
+++ b/test/files/jvm/javaReflection/Test.scala
@@ -7,7 +7,7 @@ getSimpleName / getCanonicalName / isAnonymousClass / isLocalClass / isSynthetic
therefore give surprising answers or may even throw an exception.
In particular, the method "getSimpleName" assumes that classes are named after the Java spec
- http://docs.oracle.com/javase/specs/jls/se8/html/jls-13.html#jls-13.1
+ https://docs.oracle.com/javase/specs/jls/se8/html/jls-13.html#jls-13.1
Consider the following Scala example:
class A { object B { class C } }
diff --git a/test/files/neg/byname-implicits-18.scala b/test/files/neg/byname-implicits-18.scala
index d6f41dda2044..581274b882d9 100644
--- a/test/files/neg/byname-implicits-18.scala
+++ b/test/files/neg/byname-implicits-18.scala
@@ -2,7 +2,7 @@
* Demo of using by name implicits to resolve (hidden) divergence issues when
* traversing recursive generic structures.
*
- * See http://stackoverflow.com/questions/25923974
+ * See https://stackoverflow.com/questions/25923974
*/
sealed trait HList
object HList {
diff --git a/test/files/neg/t8146-non-finitary-2.scala b/test/files/neg/t8146-non-finitary-2.scala
index c12f5f8f497e..d8fe3495456f 100644
--- a/test/files/neg/t8146-non-finitary-2.scala
+++ b/test/files/neg/t8146-non-finitary-2.scala
@@ -1,5 +1,5 @@
// Example 3 from "On Decidability of Nominal Subtyping with Variance" (Pierce, Kennedy)
-// http://research.microsoft.com/pubs/64041/fool2007.pdf
+// https://research.microsoft.com/pubs/64041/fool2007.pdf
trait N[-Z]
trait D[Y]
trait C[X] extends N[N[C[D[X]]]]
diff --git a/test/files/neg/t8146-non-finitary.scala b/test/files/neg/t8146-non-finitary.scala
index 3d8a3074c76a..b8ab1724c74d 100644
--- a/test/files/neg/t8146-non-finitary.scala
+++ b/test/files/neg/t8146-non-finitary.scala
@@ -1,5 +1,5 @@
// Example 3 from "On Decidability of Nominal Subtyping with Variance" (Pierce, Kennedy)
-// http://research.microsoft.com/pubs/64041/fool2007.pdf
+// https://research.microsoft.com/pubs/64041/fool2007.pdf
trait N[-A]
trait C[A] extends N[N[C[C[A]]]]
object Test {
diff --git a/test/files/pos/alladin763.scala b/test/files/pos/alladin763.scala
index 29c9b2531877..90d0c7cb8d08 100644
--- a/test/files/pos/alladin763.scala
+++ b/test/files/pos/alladin763.scala
@@ -1,4 +1,4 @@
-// Test from http://lrytz.github.io/scala-aladdin-bugtracker/displayItem.do%3Fid=763.html
+// Test from https://lrytz.github.io/scala-aladdin-bugtracker/displayItem.do%3Fid=763.html
// and expanded with package object variants
diff --git a/test/files/run/byname-implicits-6.scala b/test/files/run/byname-implicits-6.scala
index 22d40a3f8353..9ee2594abcd8 100644
--- a/test/files/run/byname-implicits-6.scala
+++ b/test/files/run/byname-implicits-6.scala
@@ -2,7 +2,7 @@
* Demo of using by name implicits to resolve (hidden) divergence issues when
* traversing recursive generic structures.
*
- * See http://stackoverflow.com/questions/25923974
+ * See https://stackoverflow.com/questions/25923974
*/
sealed trait HList
object HList {
diff --git a/test/files/run/literals.scala b/test/files/run/literals.scala
index c569436231f0..fed911c3aa02 100644
--- a/test/files/run/literals.scala
+++ b/test/files/run/literals.scala
@@ -72,7 +72,7 @@ object Test {
0xffffffffffffffffL, -1L)
// see JLS at address:
- // http://java.sun.com/docs/books/jls/second_edition/html/lexical.doc.html#230798
+ // https://java.sun.com/docs/books/jls/second_edition/html/lexical.doc.html#230798
// float
check_success("1e1f == 10.0f", 1e1f, 10.0f)
diff --git a/test/files/run/macro-vampire-false-warning/Macros_1.scala b/test/files/run/macro-vampire-false-warning/Macros_1.scala
index 48230f9e476e..a2e31ba61b37 100644
--- a/test/files/run/macro-vampire-false-warning/Macros_1.scala
+++ b/test/files/run/macro-vampire-false-warning/Macros_1.scala
@@ -1,4 +1,4 @@
-// As per http://meta.plasm.us/posts/2013/08/31/feeding-our-vampires/
+// As per https://meta.plasm.us/posts/2013/08/31/feeding-our-vampires/
// scalac: -Werror
import scala.annotation.StaticAnnotation
diff --git a/test/files/run/sip23-singleton-isas.scala b/test/files/run/sip23-singleton-isas.scala
index 995f6be2b5c7..dc99241b4df9 100644
--- a/test/files/run/sip23-singleton-isas.scala
+++ b/test/files/run/sip23-singleton-isas.scala
@@ -2,7 +2,7 @@ object Test extends App {
// expr.isInstanceOf[Singleton] is true iff the expression has a singleton type
// However, expr.asInstanceOf[Singleton] is erased to expr.asInstanceOf[Any] so it never throws
- // as discussed in http://docs.scala-lang.org/sips/minutes/2017-12-06-sip-minutes.html
+ // as discussed in https://docs.scala-lang.org/sips/minutes/2017-12-06-sip-minutes.html
val foo: String = "foo"
assert(foo.isInstanceOf[Singleton])
diff --git a/test/files/run/t7741a/Test.scala b/test/files/run/t7741a/Test.scala
index cdba1cccf816..6758ecbf82a2 100644
--- a/test/files/run/t7741a/Test.scala
+++ b/test/files/run/t7741a/Test.scala
@@ -27,7 +27,7 @@ object Test extends DirectTest {
// // This is the line that causes scalac to choke.
// // It results in a GroovyInterface$1 class, which is a non-static inner class but its constructor does not
// // include the implicit parameter that is the immediate enclosing instance.
- // // See http://jira.codehaus.org/browse/GROOVY-7312
+ // // See https://issues.apache.org/jira/browse/GROOVY-7312
// //
// // Scalac error:
// // [scalac] error: error while loading 1, class file '..../scala_groovy_interop/classes/com/example/groovy/GroovyInterface$1.class' is broken
diff --git a/test/files/run/t8048b/Macros_1.scala b/test/files/run/t8048b/Macros_1.scala
index e98e042a6502..12e54b1f9d3c 100644
--- a/test/files/run/t8048b/Macros_1.scala
+++ b/test/files/run/t8048b/Macros_1.scala
@@ -1,8 +1,8 @@
// see the following discussions to understand what's being tested here:
// * https://github.com/scala/bug/issues/6992
// * https://github.com/scala/bug/issues/8048
-// * http://stackoverflow.com/questions/14370842/getting-a-structural-type-with-an-anonymous-classs-methods-from-a-macro
-// * http://stackoverflow.com/questions/18480707/method-cannot-be-accessed-in-macro-generated-class/18485004#18485004
+// * https://stackoverflow.com/questions/14370842/getting-a-structural-type-with-an-anonymous-classs-methods-from-a-macro
+// * https://stackoverflow.com/questions/18480707/method-cannot-be-accessed-in-macro-generated-class/18485004#18485004
// * https://groups.google.com/forum/#!topic/scala-internals/eXQt-BPm4i8
import scala.language.experimental.macros
diff --git a/test/files/run/tcpoly_monads.scala b/test/files/run/tcpoly_monads.scala
index 896adfa46bbb..ec63ee18ba9b 100644
--- a/test/files/run/tcpoly_monads.scala
+++ b/test/files/run/tcpoly_monads.scala
@@ -9,7 +9,7 @@ trait Monads {
*
* MonadTC encodes the above Haskell type class,
* an instance of MonadTC corresponds to a method dictionary.
- * (see http://lampwww.epfl.ch/~odersky/talks/wg2.8-boston06.pdf)
+ * (see https://lampwww.epfl.ch/~odersky/talks/wg2.8-boston06.pdf)
*
* Note that the identity (`this`) of the method dictionary does not really correspond
* to the instance of m[x] (`self`) that is `wrapped`: e.g., unit does not use `self` (which
diff --git a/test/files/run/typetags_without_scala_reflect_manifest_lookup.scala b/test/files/run/typetags_without_scala_reflect_manifest_lookup.scala
index 6886de853793..6488c78d164b 100644
--- a/test/files/run/typetags_without_scala_reflect_manifest_lookup.scala
+++ b/test/files/run/typetags_without_scala_reflect_manifest_lookup.scala
@@ -19,7 +19,7 @@ object Test extends DirectTest {
// and then force scalac to perform implicit search for a manifest
// if type tag lookup is not disabled, the compiler will crash
// if it is disabled, then the compilation will succeed
- // http://groups.google.com/group/scala-internals/browse_thread/thread/166ce4b71b7c46bb
+ // https://groups.google.com/group/scala-internals/browse_thread/thread/166ce4b71b7c46bb
def foo[T: Manifest] = ()
foo[List[Int]]
}
diff --git a/test/junit/scala/lang/traits/BytecodeTest.scala b/test/junit/scala/lang/traits/BytecodeTest.scala
index a20b62d7861c..3a838b8eedfb 100644
--- a/test/junit/scala/lang/traits/BytecodeTest.scala
+++ b/test/junit/scala/lang/traits/BytecodeTest.scala
@@ -184,7 +184,7 @@ class BytecodeTest extends BytecodeTesting {
@Test
def invocationReceiversProtected(): Unit = {
- // http://lrytz.github.io/scala-aladdin-bugtracker/displayItem.do%3Fid=455.html / 9954eaf
+ // https://lrytz.github.io/scala-aladdin-bugtracker/displayItem.do%3Fid=455.html / 9954eaf
// also https://github.com/scala/bug/issues/1430 / 0bea2ab (same but with interfaces)
val aC =
"""package a;
diff --git a/test/macro-annot/run/repl/repl_1.scala b/test/macro-annot/run/repl/repl_1.scala
index 72645f6ea931..a8698416f547 100644
--- a/test/macro-annot/run/repl/repl_1.scala
+++ b/test/macro-annot/run/repl/repl_1.scala
@@ -1,4 +1,4 @@
-// http://stackoverflow.com/questions/22549647/whats-the-right-way-to-generate-a-companion-class-de-novo-using-quasiquotes
+// https://stackoverflow.com/questions/22549647/whats-the-right-way-to-generate-a-companion-class-de-novo-using-quasiquotes
import scala.annotation.StaticAnnotation
import scala.language.experimental.macros
import scala.reflect.macros.whitebox.Context
diff --git a/test/scalacheck/treemap.scala b/test/scalacheck/treemap.scala
index b0d53fb6503a..f21dacaef7fa 100644
--- a/test/scalacheck/treemap.scala
+++ b/test/scalacheck/treemap.scala
@@ -25,7 +25,7 @@ object TreeMapTest extends Properties("TreeMap") {
property("worst-case tree height is iterable") = forAll(choose(0, 10), arbitrary[Boolean]) { (n: Int, even: Boolean) =>
/*
- * According to "Ralf Hinze. Constructing red-black trees" [http://www.cs.ox.ac.uk/ralf.hinze/publications/#P5]
+ * According to "Ralf Hinze. Constructing red-black trees" [https://www.cs.ox.ac.uk/ralf.hinze/publications/#P5]
* you can construct a skinny tree of height 2n by inserting the elements [1 .. 2^(n+1) - 2] and a tree of height
* 2n+1 by inserting the elements [1 .. 3 * 2^n - 2], both in reverse order.
*
diff --git a/test/scalacheck/treeset.scala b/test/scalacheck/treeset.scala
index 4f27bc3cde50..286fb1bc6919 100644
--- a/test/scalacheck/treeset.scala
+++ b/test/scalacheck/treeset.scala
@@ -23,7 +23,7 @@ object TreeSetTest extends Properties("TreeSet") {
property("worst-case tree height is iterable") = forAll(choose(0, 10), arbitrary[Boolean]) { (n: Int, even: Boolean) =>
/*
- * According to "Ralf Hinze. Constructing red-black trees" [http://www.cs.ox.ac.uk/ralf.hinze/publications/#P5]
+ * According to "Ralf Hinze. Constructing red-black trees" [https://www.cs.ox.ac.uk/ralf.hinze/publications/#P5]
* you can construct a skinny tree of height 2n by inserting the elements [1 .. 2^(n+1) - 2] and a tree of height
* 2n+1 by inserting the elements [1 .. 3 * 2^n - 2], both in reverse order.
*
diff --git a/test/scaladoc/filters b/test/scaladoc/filters
index e91ca0eb3665..a49e9213be95 100644
--- a/test/scaladoc/filters
+++ b/test/scaladoc/filters
@@ -5,5 +5,5 @@ OpenJDK .* warning:
# Hotspot receiving VM options through the $_JAVA_OPTIONS
# env variable outputs them on stderr
Picked up _JAVA_OPTIONS:
-# Filter out a message caused by this bug: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=8021205
+# Filter out a message caused by this bug: https://bugs.java.com/bugdatabase/view_bug.do?bug_id=8021205
objc\[\d+\]: Class JavaLaunchHelper is implemented in both .* and .*\. One of the two will be used\. Which one is undefined\.
diff --git a/test/scaladoc/resources/doc-root/Any.scala b/test/scaladoc/resources/doc-root/Any.scala
index f0d55190a669..b00a744c36a9 100644
--- a/test/scaladoc/resources/doc-root/Any.scala
+++ b/test/scaladoc/resources/doc-root/Any.scala
@@ -31,13 +31,13 @@ package scala
* w.print()
* }}}
*
- * See the [[http://docs.scala-lang.org/overviews/core/value-classes.html Value Classes and Universal Traits]] for more
+ * See the [[https://docs.scala-lang.org/overviews/core/value-classes.html Value Classes and Universal Traits]] for more
* details on the interplay of universal traits and value classes.
*/
abstract class Any {
/** Compares the receiver object (`this`) with the argument object (`that`) for equivalence.
*
- * Any implementation of this method should be an [[http://en.wikipedia.org/wiki/Equivalence_relation equivalence relation]]:
+ * Any implementation of this method should be an [[https://en.wikipedia.org/wiki/Equivalence_relation equivalence relation]]:
*
* - It is reflexive: for any instance `x` of type `Any`, `x.equals(x)` should return `true`.
* - It is symmetric: for any instances `x` and `y` of type `Any`, `x.equals(y)` should return `true` if and
diff --git a/test/scaladoc/resources/doc-root/AnyRef.scala b/test/scaladoc/resources/doc-root/AnyRef.scala
index 8a8eb21d1d74..e671fba741a0 100644
--- a/test/scaladoc/resources/doc-root/AnyRef.scala
+++ b/test/scaladoc/resources/doc-root/AnyRef.scala
@@ -51,7 +51,7 @@ trait AnyRef extends Any {
/** Tests whether the argument (`that`) is a reference to the receiver object (`this`).
*
- * The `eq` method implements an [[http://en.wikipedia.org/wiki/Equivalence_relation equivalence relation]] on
+ * The `eq` method implements an [[https://en.wikipedia.org/wiki/Equivalence_relation equivalence relation]] on
* non-null instances of `AnyRef`, and has three additional properties:
*
* - It is consistent: for any non-null instances `x` and `y` of type `AnyRef`, multiple invocations of
diff --git a/test/scaladoc/run/t8113.scala b/test/scaladoc/run/t8113.scala
index f006213ef299..9dbe3f23e96f 100644
--- a/test/scaladoc/run/t8113.scala
+++ b/test/scaladoc/run/t8113.scala
@@ -7,7 +7,7 @@ object Test extends ScaladocModelTest {
override def code = """
/**
- * Check out [[http://www.scala-lang.org
+ * Check out [[https://www.scala-lang.org
* this great website]]!
*/
class Test
@@ -30,7 +30,7 @@ object Test extends ScaladocModelTest {
val link = find(test.comment.get.body).collect { case Link(ta, Text(ti)) => (ta, ti) }
assert(link.isDefined)
- val expected = ("http://www.scala-lang.org", "this great website")
+ val expected = ("https://www.scala-lang.org", "this great website")
link.foreach {l => assert(l == expected, s"$l != $expected")}
}
}
diff --git a/test/scaladoc/run/t8557.scala b/test/scaladoc/run/t8557.scala
index c96fc736a133..d58a276f5727 100644
--- a/test/scaladoc/run/t8557.scala
+++ b/test/scaladoc/run/t8557.scala
@@ -17,7 +17,7 @@ object Test extends ScaladocModelTest {
class A
"""
- def scalaURL = "http://www.scala-lang.org/api/current/"
+ def scalaURL = "https://www.scala-lang.org/api/current/"
// a non-canonical path to scala-library.jar should still work
override def scaladocSettings = {