You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "johann renck (JIRA)" <de...@myfaces.apache.org> on 2007/06/08 23:02:26 UTC

[jira] Created: (MYFACES-1661) java.lang.StringBuffer: method insert(ILjava/lang/CharSequence;)Ljava/lang/StringBuffer; not found

java.lang.StringBuffer: method insert(ILjava/lang/CharSequence;)Ljava/lang/StringBuffer; not found
--------------------------------------------------------------------------------------------------

                 Key: MYFACES-1661
                 URL: https://issues.apache.org/jira/browse/MYFACES-1661
             Project: MyFaces Core
          Issue Type: Bug
          Components: General
    Affects Versions: 1.1.4, 1.1.5
         Environment: windows xp sp1, weblogic 8.1, SUN jdk 1.4.2.05
            Reporter: johann renck


javax.faces.webapp.UIComponentTag includes a method call that is not jdk 1.4 compatible inside the method

private static void getPathToComponent(UIComponent component, StringBuffer buf)
...
buf.insert(0, intBuf);
...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Issue Comment Edited: (MYFACES-1661) java.lang.StringBuffer: method insert(ILjava/lang/CharSequence;)Ljava/lang/StringBuffer; not found

Posted by "johann renck (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/MYFACES-1661?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12502941 ] 

johann renck edited comment on MYFACES-1661 at 6/8/07 3:26 PM:
---------------------------------------------------------------

Replaced line 1168 of javax.faces.webapp.UIComponentTag

buf.insert(0,intBuf);

for

buf.insert(0,(Object)intBuf);

to prevent the exception

java.lang.StringBuffer: method insert(ILjava/lang/CharSequence;)Ljava/lang/StringBuffer;

(When is compiled using JAVA 1.5 with 1.4 compatibility)



 was:
Replaced line 1168 of javax.faces.webapp.UIComponentTag

buf.insert(0,intBuf);

for

buf.insert(0,(Object)intBuf);

to prevent the exception

java.lang.StringBuffer: method insert(ILjava/lang/CharSequence;)Ljava/lang/StringBuffer;




> java.lang.StringBuffer: method insert(ILjava/lang/CharSequence;)Ljava/lang/StringBuffer; not found
> --------------------------------------------------------------------------------------------------
>
>                 Key: MYFACES-1661
>                 URL: https://issues.apache.org/jira/browse/MYFACES-1661
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: General
>    Affects Versions: 1.1.4, 1.1.5
>         Environment: windows xp sp1, weblogic 8.1, SUN jdk 1.4.2.05
>            Reporter: johann renck
>            Assignee: Dennis Byrne
>         Attachments: MyPatch.patch
>
>
> javax.faces.webapp.UIComponentTag includes a method call that is not jdk 1.4 compatible inside the method
> private static void getPathToComponent(UIComponent component, StringBuffer buf)
> ...
> StringBuffer intBuf = new StringBuffer();
> ...
> buf.insert(0, intBuf);
> ...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (MYFACES-1661) java.lang.StringBuffer: method insert(ILjava/lang/CharSequence;)Ljava/lang/StringBuffer; not found

Posted by "johann renck (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/MYFACES-1661?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

johann renck updated MYFACES-1661:
----------------------------------

    Status: Patch Available  (was: Open)

> java.lang.StringBuffer: method insert(ILjava/lang/CharSequence;)Ljava/lang/StringBuffer; not found
> --------------------------------------------------------------------------------------------------
>
>                 Key: MYFACES-1661
>                 URL: https://issues.apache.org/jira/browse/MYFACES-1661
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: General
>    Affects Versions: 1.1.4, 1.1.5
>         Environment: windows xp sp1, weblogic 8.1, SUN jdk 1.4.2.05
>            Reporter: johann renck
>
> javax.faces.webapp.UIComponentTag includes a method call that is not jdk 1.4 compatible inside the method
> private static void getPathToComponent(UIComponent component, StringBuffer buf)
> ...
> StringBuffer intBuf = new StringBuffer();
> ...
> buf.insert(0, intBuf);
> ...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.