Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions library/src/scala/compat/Platform.scala
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ object Platform {
*
* The caller must cast the returned value to the correct type.
*
* @example ```
* @example ```scala sc:compile
* val a = scala.compat.Platform.createArray(classOf[Int], 4).asInstanceOf[Array[Int]] // returns Array[Int](0, 0, 0, 0)
* ```
*
Expand Down Expand Up @@ -105,7 +105,7 @@ object Platform {
* @throws java.lang.LinkageError if the linkage fails
* @throws java.lang.ExceptionInInitializerError if the initialization provoked by this method fails
* @throws java.lang.ClassNotFoundException if the class cannot be located
* @example ```
* @example ```scala sc:compile
* val a = scala.compat.Platform.getClassForName("java.lang.Integer") // returns the Class[_] for java.lang.Integer
* ```
*/
Expand Down
Loading