Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-releng-inbox] [Bug 192215] New: CDT 4.0RC3 is built against Java 5

https://bugs.eclipse.org/bugs/show_bug.cgi?id=192215 
Product/Component: CDT / cdt-releng

           Summary: CDT 4.0RC3 is built against Java 5
           Product: CDT
           Version: 4.0
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P3
         Component: cdt-releng
        AssignedTo: cdt-releng-inbox@xxxxxxxxxxx
        ReportedBy: anton.leherbauer@xxxxxxxxxxxxx


The following exception happens, when pasting inside a string literal and
"Escape text when pasting inside a string literal" is enabled.
This indicates that CDT is built against Java 5 API. In Java 1.4
StringBuffer.append(CharSequence) does not exist.

java.lang.NoSuchMethodError:
java.lang.StringBuffer.append(Ljava/lang/CharSequence;)Ljava/lang/StringBuffer;
        at
org.eclipse.cdt.internal.ui.text.CStringAutoIndentStrategy.displayString(CStringAutoIndentStrategy.java:72)
        at
org.eclipse.cdt.internal.ui.text.CStringAutoIndentStrategy.getModifiedText(CStringAutoIndentStrategy.java:134)
        at
org.eclipse.cdt.internal.ui.text.CStringAutoIndentStrategy.indentStringAfterNewLine(CStringAutoIndentStrategy.java:156)
        at
org.eclipse.cdt.internal.ui.text.CStringAutoIndentStrategy.customizeDocumentCommand(CStringAutoIndentStrategy.java:182)
        at
org.eclipse.jface.text.TextViewer.customizeDocumentCommand(TextViewer.java:3543)



-- 
Configure bugzilla e-mail: https://bugs.eclipse.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


Back to the top