Uploaded image for project: 'Code Tools'
  1. Code Tools
  2. CODETOOLS-7901660

ClassLayout.parseInstance(B) and ClassLayout.parseClass(A).toPrintable(B) are confusing

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • None
    • None
    • tools
    • None
    • jol

      We can do:

       Class.parseClass(A.class).toPrintable(new B());

      ...where A and B are incompatible. This is confusing and dangerous, and should be prohibited.

            shade Aleksey Shipilev
            shade Aleksey Shipilev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: