Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: Scala 2.10.0-RC1, Scala 2.11.0-M1
    • Fix Version/s: Backlog
    • Component/s: Reflection
    • Labels:
      None

      Description

      scala> import scala.reflect.runtime.universe._
      import scala.reflect.runtime.universe._
       
      scala> rootMirror.staticPackage("java.lang").typeSignature.members.size
      res0: Int = 16
       
      scala> rootMirror.staticPackage("java.lang").typeSignature.members.flatMap(_.typeSignature.members)
      res1: Iterable[reflect.runtime.universe.Symbol] = List(value serialVersionUID, constructor StringBuilder, ....)
       
      scala> rootMirror.staticPackage("java.lang").typeSignature.members.size
      res2: Int = 31
      

        Attachments

          Activity

          extempore Paul Phillips created issue -
          extempore Paul Phillips made changes -
          Field Original Value New Value
          Description {noformat}
          scala> import scala.reflect.runtime.universe._
          import scala.reflect.runtime.universe._

          scala> rootMirror.staticPackage("java.lang").typeSignature.members.size
          res0: Int = 16

          scala> rootMirror.staticPackage("java.lang").typeSignature.members.flatMap(_.typeSignature.members)
          res1: Iterable[reflect.runtime.universe.Symbol] = List(value serialVersionUID, constructor StringBuilder, constructor StringBuilder, constructor StringBuilder, constructor StringBuilder, method reverse, method reverse, method insert, method insert, method insert, method insert, method insert, method insert, method insert, method insert, method insert, method insert, method insert, method insert, method insert, method insert, method insert, method insert, method insert, method insert, method insert, method insert, method insert, method insert, method insert, method insert, method deleteCharAt, method deleteCharAt, method delete, method delete, method appendCodePoint, method appendCodePoint, method setCharAt, method setLength, method trimToSize, method ensureCapacity, method capacity, met...
          scala> rootMirror.staticPackage("java.lang").typeSignature.members.size
          res2: Int = 31
          {noformat}
          {noformat}
          scala> import scala.reflect.runtime.universe._
          import scala.reflect.runtime.universe._

          scala> rootMirror.staticPackage("java.lang").typeSignature.members.size
          res0: Int = 16

          scala> rootMirror.staticPackage("java.lang").typeSignature.members.flatMap(_.typeSignature.members)
          res1: Iterable[reflect.runtime.universe.Symbol] = List(value serialVersionUID, constructor StringBuilder, ....)

          scala> rootMirror.staticPackage("java.lang").typeSignature.members.size
          res2: Int = 31
          {noformat}
          moors Adriaan Moors made changes -
          Affects Version/s Scala 2.11.0-M1 [ 11305 ]
          Affects Version/s Unreleased-2.11.x [ 11201 ]
          moors Adriaan Moors made changes -
          Fix Version/s Ping [ 12105 ]
          moors Adriaan Moors made changes -
          Workflow Open-Closed Workflow v3 [ 36626 ] Copy of Open-Closed Workflow v3 [ 40667 ]
          sethtisue Seth Tisue made changes -
          Fix Version/s Backlog [ 11701 ]
          Fix Version/s Ping [ 12105 ]

            People

            • Assignee:
              Unassigned
              Reporter:
              extempore Paul Phillips
            • Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated: