[OS-JIRA] Created: (CAY-334) Compile error with JDK1.5

From: jira-norepl..bjectstyle.org
Date: Sat Jun 25 2005 - 15:43:40 EDT

  • Next message: Andrus Adamchik: "Re: Confluence"

    Message:

      A new issue has been created in JIRA.

    ---------------------------------------------------------------------
    View the issue:

      http://objectstyle.org/jira/secure/ViewIssue.jspa?key=CAY-334

    Here is an overview of the issue:
    ---------------------------------------------------------------------
            Key: CAY-334
        Summary: Compile error with JDK1.5
           Type: Bug

         Status: Assigned
       Priority: Trivial

        Project: Cayenne
     Components:
                 Cayenne Core Library
       Versions:
                 1.1
                 1.2 [DEV]

       Assignee: Andrus Adamchik
       Reporter: Cris Daniluk

        Created: Sat, 25 Jun 2005 3:42 PM
        Updated: Sat, 25 Jun 2005 3:42 PM

    Description:
    With JDK5, java.util.Queue now exposes a public peek() method (incidentally, with the exact opposite behavior of the ASTStack peek()...) causing a compile time error because of the reduced visibility.

    This patch renames peek() to peekObject() and updates peekInt() and peekBoolean() accordingly. peek() is not used elsewhere.

    ---------------------------------------------------------------------
    JIRA INFORMATION:
    This message is automatically generated by JIRA.

    If you think it was sent incorrectly contact one of the administrators:
       http://objectstyle.org/jira/secure/Administrators.jspa

    If you want more information on JIRA, or have a bug to report see:
       http://www.atlassian.com/software/jira



    This archive was generated by hypermail 2.0.0 : Sat Jun 25 2005 - 15:43:41 EDT