[
https://issues.apache.org/jira/browse/SHINDIG-707?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vincent Siveton updated SHINDIG-707:
------------------------------------
Attachment: SHINDIG-707.diff
I did some tests with the associated patch.
{noformat}
java version "1.5.0_12"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_12-b04)
Java HotSpot(TM) Client VM (build 1.5.0_12-b04, mixed mode)
Tests in error:
rewrite(org.apache.shindig.gadgets.rewrite.PipelineDataContentRewriterTest)
rewriteWithTwoBatches(org.apache.shindig.gadgets.rewrite.PipelineDataContentRewriterTest)
preloadSingleService(org.apache.shindig.gadgets.preload.ConcurrentPreloaderServiceTest)
preloadMultipleServices(org.apache.shindig.gadgets.preload.ConcurrentPreloaderServiceTest)
testSimpleRequest(org.apache.shindig.gadgets.servlet.JsonRpcHandlerTest)
testMultipleGadgets(org.apache.shindig.gadgets.servlet.JsonRpcHandlerTest)
testMultipleGadgetsWithAnError(org.apache.shindig.gadgets.servlet.JsonRpcHandlerTest)
{noformat}
{noformat}
java version "1.6.0_06"
Java(TM) SE Runtime Environment (build 1.6.0_06-b02)
Java HotSpot(TM) Client VM (build 10.0-b22, mixed mode, sharing)
Tests in error:
preloadSingleService(org.apache.shindig.gadgets.preload.ConcurrentPreloaderServiceTest)
preloadMultipleServices(org.apache.shindig.gadgets.preload.ConcurrentPreloaderServiceTest)
{noformat}
Running mvn test -Dtest=ConcurrentPreloaderServiceTest works
> ApiServlet clears interrupted flag
> ----------------------------------
>
> Key: SHINDIG-707
> URL: https://issues.apache.org/jira/browse/SHINDIG-707
> Project: Shindig
> Issue Type: Improvement
> Components: Java
> Reporter: Mathias Bogaert
> Attachments: SHINDIG-707.diff
>
>
> } catch (InterruptedException ie) {
> response = responseItemFromException(ie);
> Should be
> } catch (InterruptedException ie) {
> response = responseItemFromException(ie);
> // Restore the interrupted status
> Thread.currentThread().interrupt();
> Reference:
> http://www-128.ibm.com/developerworks/java/library/j-jtp05236.html
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.