You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@river.apache.org by "Peter Firmstone (JIRA)" <ji...@apache.org> on 2010/11/17 21:47:14 UTC

[jira] Created: (RIVER-377) Regression of ServiceStarterCreateBadTransientServiceTest.td

Regression of ServiceStarterCreateBadTransientServiceTest.td
------------------------------------------------------------

                 Key: RIVER-377
                 URL: https://issues.apache.org/jira/browse/RIVER-377
             Project: River
          Issue Type: Bug
      Security Level: Security risk, visible to anyone (Issues identified as security risk but for which a patch is available)
          Components: com_sun_jini_start
    Affects Versions: River_2.1.3
         Environment: JDK 1.6.0_07 Solaris 10
            Reporter: Peter Firmstone


Test failure, needs further investigation.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (RIVER-377) Regression of ServiceStarterCreateBadTransientServiceTest.td

Posted by "Peter Firmstone (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/RIVER-377?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Peter Firmstone updated RIVER-377:
----------------------------------

    Attachment: jdk1.5-out.txt
                jdk1.6-out.txt

Passing JDK1.5 output.
Failing JDK1.6 output

> Regression of ServiceStarterCreateBadTransientServiceTest.td
> ------------------------------------------------------------
>
>                 Key: RIVER-377
>                 URL: https://issues.apache.org/jira/browse/RIVER-377
>             Project: River
>          Issue Type: Bug
>      Security Level: Security risk, visible to anyone(Issues identified as security risk but for which a patch is available) 
>          Components: com_sun_jini_start
>    Affects Versions: River_2.1.3
>         Environment: JDK 1.6.0_07 Solaris 10
>            Reporter: Peter Firmstone
>         Attachments: jdb-breakpoint-addPermissionsForURLs.pdf, jdk1.5-out.txt, jdk1.6-out.txt, working1.6.txt
>
>
> Test failure, needs further investigation.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (RIVER-377) Regression of ServiceStarterCreateBadTransientServiceTest.td

Posted by "Patricia Shanahan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/RIVER-377?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Patricia Shanahan updated RIVER-377:
------------------------------------

    Attachment: working1.6.txt

This is the output from a java version 1.6.0_22 run that passed. It appears, at least superficially, to be taking the correct path. Each step that is expected to fail does so with the expected exception.

> Regression of ServiceStarterCreateBadTransientServiceTest.td
> ------------------------------------------------------------
>
>                 Key: RIVER-377
>                 URL: https://issues.apache.org/jira/browse/RIVER-377
>             Project: River
>          Issue Type: Bug
>      Security Level: Security risk, visible to anyone(Issues identified as security risk but for which a patch is available) 
>          Components: com_sun_jini_start
>    Affects Versions: River_2.1.3
>         Environment: JDK 1.6.0_07 Solaris 10
>            Reporter: Peter Firmstone
>         Attachments: jdb-breakpoint-addPermissionsForURLs.pdf, working1.6.txt
>
>
> Test failure, needs further investigation.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (RIVER-377) Regression of ServiceStarterCreateBadTransientServiceTest.td

Posted by "Patricia Shanahan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/RIVER-377?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Patricia Shanahan updated RIVER-377:
------------------------------------

    Attachment: verifydesktop_1.6_urls.txt

These are the contents of the urls array at the start of each call to addPermissionsForURLs during a passing run on java 1.6

> Regression of ServiceStarterCreateBadTransientServiceTest.td
> ------------------------------------------------------------
>
>                 Key: RIVER-377
>                 URL: https://issues.apache.org/jira/browse/RIVER-377
>             Project: River
>          Issue Type: Bug
>      Security Level: Security risk, visible to anyone(Issues identified as security risk but for which a patch is available) 
>          Components: com_sun_jini_start
>    Affects Versions: River_2.1.3
>         Environment: JDK 1.6.0_07 Solaris 10
>            Reporter: Peter Firmstone
>         Attachments: jdb-breakpoint-addPermissionsForURLs.pdf, jdk1.5-out.txt, jdk1.6-out.txt, verifydesktop_1.6_urls.txt, working1.6.txt
>
>
> Test failure, needs further investigation.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (RIVER-377) Regression of ServiceStarterCreateBadTransientServiceTest.td

Posted by "Peter Firmstone (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/RIVER-377?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Peter Firmstone updated RIVER-377:
----------------------------------

    Attachment: jdb-breakpoint-addPermissionsForURLs.pdf

ServiceStarterCreateBadTransientServiceTest.td

The conditions under which the test passes is just as interesting as when it fails.

When the test passes:

  1. A PreferredClassLoader is created for the bogus codebase,
     mercury-dl_bogus.jar
  2. It is unable to load the bogus codebase, because it doesn't exist.
  3. Then it's unable to load the configuration file because it didn't
     get the bogus config file url right.

When the test fails in JDK 1.6, it fails but it get's the configuration url right.


It's possible this test might actually be passing when it should technically be failing, because no permission prevents reading the url.

Breakpoints set at:

stop in net.jini.loader.pref.PreferredClassLoader.addPermissionsForURLs

Parameter URL [] urls 

> Regression of ServiceStarterCreateBadTransientServiceTest.td
> ------------------------------------------------------------
>
>                 Key: RIVER-377
>                 URL: https://issues.apache.org/jira/browse/RIVER-377
>             Project: River
>          Issue Type: Bug
>      Security Level: Security risk, visible to anyone(Issues identified as security risk but for which a patch is available) 
>          Components: com_sun_jini_start
>    Affects Versions: River_2.1.3
>         Environment: JDK 1.6.0_07 Solaris 10
>            Reporter: Peter Firmstone
>         Attachments: jdb-breakpoint-addPermissionsForURLs.pdf
>
>
> Test failure, needs further investigation.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.