Bug 54673 - StringBuffer.append don't throws IOException!
Summary: StringBuffer.append don't throws IOException!
Status: RESOLVED DUPLICATE of bug 51353
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 blocker (vote)
Target Milestone: 3.0 M8   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-12 12:01 EST by Patrick Crepeault CLA
Modified: 2004-03-15 12:23 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Crepeault CLA 2004-03-12 12:01:41 EST
I have JDK1.5.0 on some computer as well as other version of the JDK.  In 1.5.0,
I receive a strange Unhandled exception type IOException even if the the javadoc
said that append don't throw. And yes, before you ask, I need my code to compile
in 1.5.0 as well as in 1.4.2.
Comment 1 Philipe Mulet CLA 2004-03-12 17:12:41 EST
Then I suggest you compile it against 1.4.2, then it will run against 1.5.0 
which has to be backward compatible.

Which build of Eclipse are you using ?
Comment 2 Patrick Crepeault CLA 2004-03-14 10:43:00 EST
I could use 1.4.2, but I would rather use 1.5.0 (as I have just reinstall my
computer and don't want to have a to mess with 2 JDK).

As for the build of Eclipse, I am using Build id: 200402122000.
Comment 3 Philipe Mulet CLA 2004-03-15 12:23:58 EST
Take a more recent build, we have addressed such issues.
Now remember that we don't encourage to compile against 1.5 until we provide a 
1.5 compiler. Javac 1.5 refuses to compile against 1.5 libraries, we tolerate 
them as a courtesy, but there are subtleties in them which will be tricky to 
handle. Furthermore, numerous new types got added, so there is no assumption 
that code compiled against 1.5 will run happily against 1.4. But this is your 
problem afterall...

*** This bug has been marked as a duplicate of 51353 ***