Scanner method create deleted from Java 1.5 beta 2

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Won't Fix
    • Priority: P2
    • None
    • Affects Version/s: 5.0
    • Component/s: core-libs
    • x86
    • linux, windows_xp



      Name: js151677 Date: 06/16/2004


      A DESCRIPTION OF THE REQUEST :
      Java 1.5 beta 1 had new Scanner objects produced using create() methods and did not provide constructors in the Scanner API. In Java 1.5 beta 2 Scanner provides only constructors and no create() methods. I IMPLORE you to strongly consider also having the create() methods as convenience methods for the class.



      JUSTIFICATION :
      I am sure that a great deal of code -- including my own -- has already been written to use the create() methods.

      Furthermore, several introductory programming Java 1.5 text books have been written assuming the existence of the create() methods. For example, several thousand students will be using my text book "Java Program Design 1.5" (McGraw-Hill) this fall. Although I am personally affected, the problem will affect most introductory programming books. Introductory programming text book authors needed to commit their text copy months ago in order to allow Java 1.5 books to be available for fall. Think of all the new programmers being confronted by instructors saying for these many texts to ignore that Scanner statement as written and instead write it in the following manner ...

      I am sure you want to encourage and not frustrate these budding members of our profession.

      I thank you for reading and considering this message.

      Jim Cohoon - ###@###.###
      Chairperson of Computer Science
      University of Virginia
      (Incident Review ID: 280114)
      ======================================================================

            Assignee:
            Michael Mccloskey (Inactive)
            Reporter:
            Jitender S (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: