IBM Support

PI89577: Lambda expressions might fail to compile when using Java SDK 8 to compile JavaServer Pages (JSP).

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

APAR status

  • Closed as program error.

Error description

  • [11.10.17 20:26:51:425 MSK] 00000239 webapp        E
    com.ibm.ws.webcontainer.webapp.WebApp logServletError SRVE0293E:
    [Servlet Error]-[/test.jsp]: java.io.IOException: unexpected
    tag: 18
        at
    com.ibm.ws.jsp.translator.utils.SDEInstaller.copyConstantPool(SD
    EInstall
    er.java:278)
    

Local fix

  • N/A
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  IBM WebSphere Application Server            *
    *                  traditional versions 8.5.5 and 9.0 users    *
    *                  of JSP and on Liberty users of JSP 2.2 and  *
    *                  JSP 2.3.                                    *
    ****************************************************************
    * PROBLEM DESCRIPTION: JSP pages compiled using the JSP        *
    *                      attribute jdkSourceLevel with value     *
    *                      18 might fail to compile if using       *
    *                      lambda expressions.                     *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Certain lambda expressions might cause the following exception
    when using the JSP attribute jdkSourceLevel with value 18:
    SRVE0293E: [Servlet Error]-[/test.jsp]: java.io.IOException:
    unexpected tag: 18
    at
    com.ibm.ws.jsp.translator.utils.SDEInstaller.copyConstantPool(SD
    EInstaller.java:278)
    at
    com.ibm.ws.jsp.translator.utils.SDEInstaller.addSDE(SDEInstaller
    .java:81)
    at
    com.ibm.ws.jsp.translator.utils.SDEInstaller.<init>(SDEInstaller
    .java:51)
    at
    com.ibm.ws.jsp.translator.utils.SDEInstaller.install(SDEInstalle
    r.java:31)
    ...
    

Problem conclusion

  • The JSP container code was modified to handle JSP pages with
    scriptlets containing lambda expressions.
    
    The fix for this APAR is currently targeted for inclusion in
    fix packs 8.5.5.14, 9.0.0.8, and 18.0.0.2. Please refer to the
    Recommended Updates
    page for delivery information:
    http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI89577

  • Reported component name

    WEBSPHERE APP S

  • Reported component ID

    5724J0800

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-10-30

  • Closed date

    2018-03-05

  • Last modified date

    2018-03-05

  • 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

    WEBSPHERE APP S

  • Fixed component ID

    5724J0800

Applicable component levels



Document information

More support for: WebSphere Application Server
General

Software version: 850

Reference #: PI89577

Modified date: 05 March 2018


Translate this page: