bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug classpath/40630] java.util.Scanner fails when used for charset gene


From: gnu_andrew at member dot fsf dot org
Subject: [Bug classpath/40630] java.util.Scanner fails when used for charset generation by the OpenJDK build
Date: 7 Jul 2009 09:22:49 -0000


------- Comment #1 from gnu_andrew at member dot fsf dot org  2009-07-07 09:22 
-------
Tracked this down to a failure in java.util.Scanner.  The NPE in MatchResult is
masking the real problem (the NPE itself is easily solved by only cloning match
if it is non-null).
The method hasNextLine returns false if it receives a null return value, but
myCoreNext never returns null. Instead, it keeps hitting the end of the input
and returning an empty string.


-- 

gnu_andrew at member dot fsf dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |gnu_andrew at member dot fsf
                   |dot org                     |dot org
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2009-07-07 09:22:49
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40630





reply via email to

[Prev in Thread] Current Thread [Next in Thread]