Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 104649 Details for
Bug 236814
[jsr199] EclipseCompiler#getTask does not respect its contract when its first argument is null
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Suggested fix + test case
patch.txt (text/plain), 1.81 KB, created by
Maxime Daniel
on 2008-06-12 06:45:14 EDT
(
hide
)
Description:
Suggested fix + test case
Filename:
MIME Type:
Creator:
Maxime Daniel
Created:
2008-06-12 06:45:14 EDT
Size:
1.81 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.jdt.compiler.tool >Index: src/org/eclipse/jdt/internal/compiler/tool/EclipseCompiler.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.compiler.tool/src/org/eclipse/jdt/internal/compiler/tool/EclipseCompiler.java,v >retrieving revision 1.22 >diff -u -r1.22 EclipseCompiler.java >--- src/org/eclipse/jdt/internal/compiler/tool/EclipseCompiler.java 14 Apr 2008 11:28:27 -0000 1.22 >+++ src/org/eclipse/jdt/internal/compiler/tool/EclipseCompiler.java 12 Jun 2008 10:44:18 -0000 >@@ -98,7 +98,7 @@ > PrintWriter writerOut = null; > PrintWriter writerErr = null; > if (out == null) { >- writerOut = new PrintWriter(System.out); >+ writerOut = new PrintWriter(System.err); > writerErr = new PrintWriter(System.err); > } else { > writerOut = new PrintWriter(out); >#P org.eclipse.jdt.compiler.tool.tests >Index: src/org/eclipse/jdt/compiler/tool/tests/CompilerInvocationTests.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.compiler.tool.tests/src/org/eclipse/jdt/compiler/tool/tests/CompilerInvocationTests.java,v >retrieving revision 1.8 >diff -u -r1.8 CompilerInvocationTests.java >--- src/org/eclipse/jdt/compiler/tool/tests/CompilerInvocationTests.java 12 Jun 2008 09:21:36 -0000 1.8 >+++ src/org/eclipse/jdt/compiler/tool/tests/CompilerInvocationTests.java 12 Jun 2008 10:44:19 -0000 >@@ -930,7 +930,7 @@ > assertTrue(errBuffer.toString().isEmpty()); > } > // https://bugs.eclipse.org/bugs/show_bug.cgi?id=236814 >-public void _test022_output_streams() throws IOException { >+public void test022_output_streams() throws IOException { > ByteArrayOutputStream > outBuffer = new ByteArrayOutputStream(), > errBuffer = new ByteArrayOutputStream();
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 236814
: 104649