FreeBSD Bugzilla – Attachment 161091 Details for
Bug 203143
www/helma: fix build with OpenJDK8
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
helma patch
helma.diff (text/plain), 4.39 KB, created by
Steve Wills
on 2015-09-16 00:43:34 UTC
(
hide
)
Description:
helma patch
Filename:
MIME Type:
Creator:
Steve Wills
Created:
2015-09-16 00:43:34 UTC
Size:
4.39 KB
patch
obsolete
>Index: files/patch-src_helma_framework_RequestTrans.java >=================================================================== >--- files/patch-src_helma_framework_RequestTrans.java (revision 0) >+++ files/patch-src_helma_framework_RequestTrans.java (working copy) >@@ -0,0 +1,15 @@ >+--- src/helma/framework/RequestTrans.java.orig 2015-09-16 00:39:16 UTC >++++ src/helma/framework/RequestTrans.java >+@@ -602,10 +602,10 @@ public class RequestTrans implements Ser >+ StringTokenizer tok; >+ >+ if (auth.startsWith("Basic ")) { >+- tok = new StringTokenizer(new String(Base64.decode((auth.substring(6)).toCharArray())), >++ tok = new StringTokenizer(new String(helma.util.Base64.decode((auth.substring(6)).toCharArray())), >+ ":"); >+ } else { >+- tok = new StringTokenizer(new String(Base64.decode(auth.toCharArray())), ":"); >++ tok = new StringTokenizer(new String(helma.util.Base64.decode(auth.toCharArray())), ":"); >+ } >+ >+ try { > >Property changes on: files/patch-src_helma_framework_RequestTrans.java >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: files/patch-src_helma_framework_ResponseTrans.java >=================================================================== >--- files/patch-src_helma_framework_ResponseTrans.java (revision 0) >+++ files/patch-src_helma_framework_ResponseTrans.java (working copy) >@@ -0,0 +1,27 @@ >+--- src/helma/framework/ResponseTrans.java.orig 2015-09-16 00:39:16 UTC >++++ src/helma/framework/ResponseTrans.java >+@@ -714,7 +714,7 @@ public final class ResponseTrans extends >+ // if (contentType != null) >+ // digest.update (contentType.getBytes()); >+ byte[] b = digest.digest(response); >+- etag = "\"" + new String(Base64.encode(b)) + "\""; >++ etag = "\"" + new String(helma.util.Base64.encode(b)) + "\""; >+ // only set response to 304 not modified if no cookies were set >+ if (reqtrans.hasETag(etag) && countCookies() == 0) { >+ response = new byte[0]; >+@@ -891,7 +891,7 @@ public final class ResponseTrans extends >+ // generation sensitive to changes in the app >+ byte[] b = digest.digest(MD5Encoder.toBytes(app.getChecksum())); >+ >+- setETag(new String(Base64.encode(b))); >++ setETag(new String(helma.util.Base64.encode(b))); >+ } >+ >+ /** >+@@ -1164,4 +1164,4 @@ public final class ResponseTrans extends >+ public void setRealm(String realm) { >+ this.realm = realm; >+ } >+-} >+\ No newline at end of file >++} > >Property changes on: files/patch-src_helma_framework_ResponseTrans.java >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: files/patch-src_helma_servlet_AbstractServletClient.java >=================================================================== >--- files/patch-src_helma_servlet_AbstractServletClient.java (revision 0) >+++ files/patch-src_helma_servlet_AbstractServletClient.java (working copy) >@@ -0,0 +1,11 @@ >+--- src/helma/servlet/AbstractServletClient.java.orig 2015-09-16 00:39:16 UTC >++++ src/helma/servlet/AbstractServletClient.java >+@@ -510,7 +510,7 @@ public abstract class AbstractServletCli >+ checksum[i] = (byte) (n); >+ n >>>= 8; >+ } >+- String etag = "\"" + new String(Base64.encode(checksum)) + "\""; >++ String etag = "\"" + new String(helma.util.Base64.encode(checksum)) + "\""; >+ res.setHeader("ETag", etag); >+ String etagHeader = req.getHeader("If-None-Match"); >+ if (etagHeader != null) { > >Property changes on: files/patch-src_helma_servlet_AbstractServletClient.java >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
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 203143
: 161091