[cp-patches] Fwd: java.util.scanner

Andrew John Hughes gnu_andrew at member.fsf.org
Mon Apr 21 22:17:46 UTC 2008


Resending as I think the disruptions with developer killed this last time...

---------- Forwarded message ----------
From: Andrew John Hughes <gnu_andrew at member.fsf.org>
Date: 20 Apr 2008 20:13
Subject: Re: [cp-patches] java.util.scanner
To: Hernadi Laszlo Andras <e0327023 at student.tuwien.ac.at>
Cc: classpath-patches at gnu.org


On 26/03/2008, Hernadi Laszlo Andras <e0327023 at student.tuwien.ac.at> wrote:
 > Hello,
 >
 >  in this archive there is all I have about the Scanner... in the
 > gnu/testlet/java/util/Scanner is the "MyScanner.java" (which is going to be
 > renamed to Scanner) and its testcases..
 >
 >  Laszlo
 >
 >
 >


This has clearly never been run against GNU Classpath.  I moved it to
 its correct position in java.util.Scanner, and cleaned up the
 formatting (see attached version).  On building, I get:

 2557. ERROR in /home/andrew/projects/classpath/classpath/java/util/Scanner.java
 (at line 1222)
        matcher.region (this.actPos - 1, this.actBuffer.length ());
                ^^^^^^
 The method region(int, int) is undefined for the type Matcher
 ----------
 2558. ERROR in /home/andrew/projects/classpath/classpath/java/util/Scanner.java
 (at line 1550)
        if (this.last_RegionEnd != this.myMatcher.regionEnd ())
                                                  ^^^^^^^^^
 The method regionEnd() is undefined for the type Matcher
 ----------
 2559. ERROR in /home/andrew/projects/classpath/classpath/java/util/Scanner.java
 (at line 1553)
        this.myMatcher.regionEnd () + " (" +
                       ^^^^^^^^^
 The method regionEnd() is undefined for the type Matcher
 ----------
 2560. ERROR in /home/andrew/projects/classpath/classpath/java/util/Scanner.java
 (at line 1555)
        this.myMatcher.regionEnd ()) + ")");
                       ^^^^^^^^^
 The method regionEnd() is undefined for the type Matcher
 ----------
 2561. ERROR in /home/andrew/projects/classpath/classpath/java/util/Scanner.java
 (at line 1619)
        this.last_RegionStart = this.myMatcher.regionStart ();
                                               ^^^^^^^^^^^
 The method regionStart() is undefined for the type Matcher
 ----------
 2562. ERROR in /home/andrew/projects/classpath/classpath/java/util/Scanner.java
 (at line 1620)
        this.last_RegionEnd = this.myMatcher.regionEnd ();
                                             ^^^^^^^^^
 The method regionEnd() is undefined for the type Matcher
 ----------
 2563. ERROR in /home/andrew/projects/classpath/classpath/java/util/Scanner.java
 (at line 1621)
        this.last_anchor = this.myMatcher.hasAnchoringBounds ();
                                          ^^^^^^^^^^^^^^^^^^
 The method hasAnchoringBounds() is undefined for the type Matcher
 ----------
 2564. ERROR in /home/andrew/projects/classpath/classpath/java/util/Scanner.java
 (at line 1622)
        this.last_transparent = this.myMatcher.hasTransparentBounds ();
                                               ^^^^^^^^^^^^^^^^^^^^
 The method hasTransparentBounds() is undefined for the type Matcher
 ----------
 2565. ERROR in /home/andrew/projects/classpath/classpath/java/util/Scanner.java
 (at line 1639)
        this.last_RegionStart = this.myMatcher.regionStart ();
                                               ^^^^^^^^^^^
 The method regionStart() is undefined for the type Matcher
 ----------
 2566. ERROR in /home/andrew/projects/classpath/classpath/java/util/Scanner.java
 (at line 1640)
        this.last_RegionEnd = this.myMatcher.regionEnd ();
                                             ^^^^^^^^^
 The method regionEnd() is undefined for the type Matcher
 ----------
 2567. ERROR in /home/andrew/projects/classpath/classpath/java/util/Scanner.java
 (at line 1641)
        this.last_anchor = this.myMatcher.hasAnchoringBounds ();
                                          ^^^^^^^^^^^^^^^^^^
 The method hasAnchoringBounds() is undefined for the type Matcher
 ----------
 2568. ERROR in /home/andrew/projects/classpath/classpath/java/util/Scanner.java
 (at line 1642)
        this.last_transparent = this.myMatcher.hasTransparentBounds ();
                                               ^^^^^^^^^^^^^^^^^^^^
 The method hasTransparentBounds() is undefined for the type Matcher
 ----------
 2569. ERROR in /home/andrew/projects/classpath/classpath/java/util/Scanner.java
 (at line 1657)
        this.actResult = this.myMatcher.toMatchResult ();
                                        ^^^^^^^^^^^^^
 The method toMatchResult() is undefined for the type Matcher
 ----------
 2570. ERROR in /home/andrew/projects/classpath/classpath/java/util/Scanner.java
 (at line 1663)
        this.lastResult = this.myMatcher.toMatchResult ();
                                         ^^^^^^^^^^^^^
 The method toMatchResult() is undefined for the type Matcher
 ----------
 2571. ERROR in /home/andrew/projects/classpath/classpath/java/util/Scanner.java
 (at line 1816)
        this.myMatcher.useAnchoringBounds (true);
                       ^^^^^^^^^^^^^^^^^^
 The method useAnchoringBounds(boolean) is undefined for the type Matcher
 ----------
 2572. ERROR in /home/andrew/projects/classpath/classpath/java/util/Scanner.java
 (at line 1817)
        this.myMatcher.useTransparentBounds (true);
                       ^^^^^^^^^^^^^^^^^^^^
 The method useTransparentBounds(boolean) is undefined for the type Matcher
 ----------
 2573. ERROR in /home/andrew/projects/classpath/classpath/java/util/Scanner.java
 (at line 1818)
        this.myMatcher.region (this.actPos, this.actPos + horizon);
                       ^^^^^^
 The method region(int, int) is undefined for the type Matcher
 ----------
 2574. ERROR in /home/andrew/projects/classpath/classpath/java/util/Scanner.java
 (at line 2160)
        this.last_RegionStart == this.myMatcher.regionStart () &&
                                                ^^^^^^^^^^^
 The method regionStart() is undefined for the type Matcher
 ----------
 2575. ERROR in /home/andrew/projects/classpath/classpath/java/util/Scanner.java
 (at line 2161)
        this.last_anchor == this.myMatcher.hasAnchoringBounds () &&
                                           ^^^^^^^^^^^^^^^^^^
 The method hasAnchoringBounds() is undefined for the type Matcher
 ----------
 2576. ERROR in /home/andrew/projects/classpath/classpath/java/util/Scanner.java
 (at line 2162)
        this.last_transparent == this.myMatcher.hasTransparentBounds ())
                                                ^^^^^^^^^^^^^^^^^^^^
 The method hasTransparentBounds() is undefined for the type Matcher
 ----------
 2577. ERROR in /home/andrew/projects/classpath/classpath/java/util/Scanner.java
 (at line 2164)
        if (this.last_RegionEnd != this.myMatcher.regionEnd ())
                                                  ^^^^^^^^^
 The method regionEnd() is undefined for the type Matcher
 ----------
 2578. ERROR in /home/andrew/projects/classpath/classpath/java/util/Scanner.java
 (at line 2167)
        this.myMatcher.regionEnd () -
                       ^^^^^^^^^
 The method regionEnd() is undefined for the type Matcher
 ----------
 2579. ERROR in /home/andrew/projects/classpath/classpath/java/util/Scanner.java
 (at line 2172)
        this.myMatcher.regionEnd ();
                       ^^^^^^^^^
 The method regionEnd() is undefined for the type Matcher

 These are due to:

 http://builder.classpath.org/japi/openjdk-classpath.html#err_missing_java_util_regex

 and are similar to the problems we get with compiling the OpenJDK version.
 --
 Andrew :-)

 Support Free Java!
 Contribute to GNU Classpath and the OpenJDK
 http://www.gnu.org/software/classpath
 http://openjdk.java.net

 PGP Key: 94EFD9D8 (http://subkeys.pgp.net)
 Fingerprint: F8EF F1EA 401E 2E60 15FA  7927 142C 2591 94EF D9D8



-- 
Andrew :-)

Support Free Java!
Contribute to GNU Classpath and the OpenJDK
http://www.gnu.org/software/classpath
http://openjdk.java.net

PGP Key: 94EFD9D8 (http://subkeys.pgp.net)
Fingerprint: F8EF F1EA 401E 2E60 15FA  7927 142C 2591 94EF D9D8
-------------- next part --------------
A non-text attachment was scrubbed...
Name: scanner.patch
Type: text/x-patch
Size: 67479 bytes
Desc: not available
Url : http://developer.classpath.org/pipermail/classpath-patches/attachments/20080421/2b001145/attachment-0001.bin 


More information about the Classpath-patches mailing list