Bug 827

Summary: ShaderProgam helper class reports errors incorrectly
Product: [JogAmp] Jogl Reporter: John Gibson <nojspam>
Component: utilAssignee: Sven Gothel <sgothel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: ---    
Version: 2   
Hardware: All   
OS: all   
Type: --- SCM Refs:
fed660a69241a38535d26b54f8c81ec81edc3eff
Workaround: ---

Description John Gibson 2013-09-06 23:18:57 CEST
Version: 2.0.2

The helper class com.jogamp.opengl.util.glsl.ShaderProgram sometimes ignores the specified PrintStream and dumps errors to System.err.  The methods in particular that exhibit this behavior are: ShaderProgram.replaceShader() and ShaderProgram.link() when they call ShaderUtil.isProgramLinkStatusValid().
Comment 1 Sven Gothel 2013-09-29 21:17:59 CEST
Thank you John.

Can you provide a patch (git pull request or git patch)
which I can merge ?

Since you seem to have analyzed this issue thoroughly .. you may also fix it?
Comment 2 Sven Gothel 2013-10-19 03:11:22 CEST
thank you