Buggy code:
public static int extractVersion ( String version ) { } public void initialize ( ) { } public void resetGLObjects ( ) { } public void cleanup ( ) { } private void checkCap ( Caps cap ) { } public void setDepthRange ( float start , float end ) { } public void clearBuffers ( boolean color , boolean depth , boolean stencil ) { } public void setBackgroundColor ( ColorRGBA color ) { } public void applyRenderState ( RenderState state ) { } public void setViewPort ( int x , int y , int w , int h ) { } public void setClipRect ( int x , int y , int width , int height ) { } public void clearClipRect ( ) { } public void postFrame ( ) { } protected void updateUniformLocation ( Shader shader , Uniform uniform ) { } protected void bindProgram ( Shader shader ) { } protected void updateUniform ( Shader shader , Uniform uniform ) { } protected void updateShaderUniforms ( Shader shader ) { } protected void resetUniformLocations ( Shader shader ) { } public void setLighting ( LightList list ) { } public int convertShaderType ( ShaderType type ) { } public void updateShaderSourceData ( ShaderSource source ) { int id = source . getId ( ) ; if ( id == ( - 1 ) ) { id = GLES20 . glCreateShader ( convertShaderType ( source . getType ( ) ) ) ; RendererUtil . checkGLError ( ) ; if ( id <= 0 ) { throw new RendererException ( "Invalid<seq2seq4repair_space>ID<seq2seq4repair_space>received<seq2seq4repair_space>when<seq2seq4repair_space>trying<seq2seq4repair_space>to<seq2seq4repair_space>create<seq2seq4repair_space>shader." ) ; } source . setId ( id ) ; } if ( ! ( source . getLanguage ( ) . equals ( "GLSL100" ) ) ) { throw new RendererException ( ( "This<seq2seq4repair_space>shader<seq2seq4repair_space>cannot<seq2seq4repair_space>run<seq2seq4repair_space>in<seq2seq4repair_space>OpenGL<seq2seq4repair_space>ES.<seq2seq4repair_space>" + "Only<seq2seq4repair_space>GLSL<seq2seq4repair_space>1.0<seq2seq4repair_space>shaders<seq2seq4repair_space>are<seq2seq4repair_space>supported." ) ) ; } byte [ ] definesCodeData = source . getDefines ( ) . getBytes ( ) ; byte [ ] sourceCodeData = source . getSource ( ) . getBytes ( ) ; ByteBuffer codeBuf = BufferUtils . createByteBuffer ( ( ( definesCodeData . length ) + ( sourceCodeData . length ) ) ) ; codeBuf . put ( definesCodeData ) ; codeBuf . put ( sourceCodeData ) ; codeBuf . flip ( ) ; if ( ( powerVr ) && ( ( source . getType ( ) ) == ( ShaderType . Vertex ) ) ) { GLES20 . glShaderSource ( id , ( ( source . getDefines ( ) ) + ( source . getSource ( ) ) ) ) ; } else { String precision = "" ; if ( ( source . getType ( ) ) == ( ShaderType . Fragment ) ) { precision = "precision<seq2seq4repair_space>mediump<seq2seq4repair_space>float;\n" ; } GLES20 . glShaderSource ( id , ( ( precision + ( source . getDefines ( ) ) ) + ( source . getSource ( ) ) ) ) ; } GLES20 . glCompileShader ( id ) ; RendererUtil . checkGLError ( ) ; GLES20 . glGetShaderiv ( id , GL_COMPILE_STATUS , intBuf1 ) ; RendererUtil . checkGLError ( ) ; boolean compiledOK = ( intBuf1 . get ( 0 ) ) == ( GLES20 . GL_TRUE ) ; String infoLog = null ; if ( ( OGLESShaderRenderer . VALIDATE_SHADER ) || ( ! compiledOK ) ) { GLES20 . glGetShaderiv ( id , GL_INFO_LOG_LENGTH , intBuf1 ) ; RendererUtil . checkGLError ( ) ; infoLog = GLES20 . glGetShaderInfoLog ( id ) ; } if ( compiledOK ) { if ( infoLog != null ) { OGLESShaderRenderer . logger . log ( Level . FINE , "compile<seq2seq4repair_space>success:<seq2seq4repair_space>{0},<seq2seq4repair_space>{1}" , new Object [ ] { source . getName ( ) , infoLog } ) ; } else { OGLESShaderRenderer . logger . log ( Level . FINE , "compile<seq2seq4repair_space>success:<seq2seq4repair_space>{0}" , source . getName ( ) ) ; } source . clearUpdateNeeded ( ) ; } else { <START_BUG> OGLESShaderRenderer . logger . log ( Level . WARNING , "Bad<seq2seq4repair_space>compile<seq2seq4repair_space>of:\n{0}" , new Object [ ] { ShaderDebug . formatShaderSource ( source . getDefines ( ) , source . getSource ( ) , stringBuf . toString ( ) ) } ) ; <END_BUG> if ( infoLog != null ) { throw new RendererException ( ( ( ( "compile<seq2seq4repair_space>error<seq2seq4repair_space>in:<seq2seq4repair_space>" + source ) + "\n" ) + infoLog ) ) ; } else { throw new RendererException ( ( ( "compile<seq2seq4repair_space>error<seq2seq4repair_space>in:<seq2seq4repair_space>" + source ) + "\nerror:<seq2seq4repair_space><not<seq2seq4repair_space>provided>" ) ) ; } } } public void updateShaderData ( Shader shader ) { } public void setShader ( Shader shader ) { } public void deleteShaderSource ( ShaderSource source ) { } public void deleteShader ( Shader shader ) { } private int convertTestFunction ( RenderState . TestFunction testFunc ) { } public void copyFrameBuffer ( FrameBuffer src , FrameBuffer dst , boolean copyDepth ) { } private void checkFrameBufferStatus ( FrameBuffer fb ) { } private void checkFrameBufferError ( ) { } private void printRealRenderBufferInfo ( FrameBuffer fb , RenderBuffer rb , String name ) { } private void printRealFrameBufferInfo ( FrameBuffer fb ) { } private void updateRenderBuffer ( FrameBuffer fb , RenderBuffer rb ) { } private int convertAttachmentSlot ( int attachmentSlot ) { } public void updateRenderTexture ( FrameBuffer fb , RenderBuffer rb ) { } public void updateFrameBufferAttachment ( FrameBuffer fb , RenderBuffer rb ) { } public void updateFrameBuffer ( FrameBuffer fb ) { } public void setMainFrameBufferOverride ( FrameBuffer fb ) { } public void setFrameBuffer ( FrameBuffer fb ) { } public void readFrameBuffer ( FrameBuffer fb , ByteBuffer byteBuf ) { } private void deleteRenderBuffer ( FrameBuffer fb , RenderBuffer rb ) { } public void deleteFrameBuffer ( FrameBuffer fb ) { } private int convertTextureType ( Texture . Type type ) { } private int convertMagFilter ( Texture . MagFilter filter ) { } private int convertMinFilter ( Texture . MinFilter filter ) { } private int convertWrapMode ( Texture . WrapMode mode ) { }

Fix:
OGLESShaderRenderer . logger . log ( Level . WARNING , "Bad<seq2seq4repair_space>compile<seq2seq4repair_space>of:\n{0}" , new Object [ ] { ShaderDebug . formatShaderSource ( ( ( ( stringBuf . toString ( ) ) + ( source . getDefines ( ) ) ) + ( source . getSource ( ) ) ) ) } ) ;