IBM Support

PM70352: LINES READ IN BY JAVA.UTIL.SCANNER.NEXTLINE() ARE INCOMPLETE AFTER APPLYING APAR IZ80097

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When using java.util.Scanner.nextLine() to read in lines from a
    dataset, the lines read in may appear to be truncated and / or
    split into multiples lines when displayed.
    
    EXTERNAL SYMPTOMS:
    
    Lines read in by java.util.Scanner.nextLine() are incomplete.
    The lines may appear to be truncated or incomplete.
    
    IMPACT:
    
    Users may be unable to correctly display (or use) lines
    read in from a dataset using java.util.Scanner.nextLine.  The
    lines may appear to be truncated and / or split into multiple
    lines.
    
    VERIFICATION STEPS:
    
    Typically the truncation and / or splitting of the lines will
    start to appear after reading in 20K bytes.  It will reappear
    again at different intervals while reading the lines from the
    dataset.
    
    KEYWORDS:
    
    JAVA HASNEXTLINE SCANNER NEXTLINE SPLIT TRUNCATE
    

Local fix

  • Contact Level 2 for interim fix.
    

Problem summary

  • java.util.Scanner.nextLine() will occasionally break a single
    line into 2 or more pieces without seeing a line termination.
    

Problem conclusion

  • This defect will be fixed in:
    6.0.0 SR13
    6.0.1 SR5
    .
    IBM JVM has been modified to correctly handle line breaks.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM70352

  • Reported component name

    JAVA Z/OS 31

  • Reported component ID

    620700105

  • Reported release

    601

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-08-06

  • Closed date

    2012-10-31

  • Last modified date

    2013-02-13

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    JAVA Z/OS 31

  • Fixed component ID

    620700105

Applicable component levels

  • R600 PSY

       UP

[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG19M","label":"APARs - z\/OS environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"601","Edition":"","Line of Business":{"code":"LOB16","label":"Mainframe HW"}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG19M","label":"APARs - z\/OS environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"601","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
09 August 2022