<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel rdf:about="http://permalink.gmane.org/gmane.comp.java.jmock.devel">
    <title>gmane.comp.java.jmock.devel</title>
    <link>http://permalink.gmane.org/gmane.comp.java.jmock.devel</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.jmock.devel/532"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.jmock.devel/531"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.jmock.devel/530"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.jmock.devel/529"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.jmock.devel/528"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.jmock.devel/527"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.jmock.devel/526"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.jmock.devel/525"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.jmock.devel/524"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.jmock.devel/523"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.jmock.devel/522"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.jmock.devel/521"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.jmock.devel/520"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.jmock.devel/519"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.jmock.devel/518"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.jmock.devel/517"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.jmock.devel/516"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.jmock.devel/515"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.jmock.devel/514"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.jmock.devel/513"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.jmock.devel/532">
    <title>Re: Unexpected behaviour with package private classes - IllegalAccessError</title>
    <link>http://permalink.gmane.org/gmane.comp.java.jmock.devel/532</link>
    <description>&lt;pre&gt;Another interesting observation - if I change all my classes to be in
the default package, the problem goes away.

On 21 February 2013 13:06, Duncan Jones &amp;lt;duncan-VgTxFcESRta8IPqWsmCfhg&amp;lt; at &amp;gt;public.gmane.org&amp;gt; wrote:

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



&lt;/pre&gt;</description>
    <dc:creator>Duncan Jones</dc:creator>
    <dc:date>2013-02-21T15:38:22</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.jmock.devel/531">
    <title>Unexpected behaviour with package private classes - IllegalAccessError</title>
    <link>http://permalink.gmane.org/gmane.comp.java.jmock.devel/531</link>
    <description>&lt;pre&gt;Hi,

I've encountered some strange behaviour when using package private
classes within expectations. The proxy class gets an
IllegalAccessError when referring to a package private class instance
in a return value.

I've attached a minimal working Maven project ("example-project.zip"),
which demonstrates the behaviour. I'm unclear whether this is expected
or not.

Some notes:

 - The issue does not occur if the method in question returns null
(see testSuccess() in my example test file).

 - If I convert ExampleInterface to be package private, the error does
not occur.

Kind regards,

Duncan

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email
&lt;/pre&gt;</description>
    <dc:creator>Duncan Jones</dc:creator>
    <dc:date>2013-02-21T13:06:00</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.jmock.devel/530">
    <title>Re: jmock maven distribution?</title>
    <link>http://permalink.gmane.org/gmane.comp.java.jmock.devel/530</link>
    <description>&lt;pre&gt;Well, not much further since no final decision had been made IIRC. IMHO
we've the following options:

a) switch from ant to ivy; the difference should be minimal but with ivy
we've a useful resource management at hand and can push to maven central
b) add maven poms in parallel to the ant scripts; well, not quite sure
about the usefulness of this (except that we can push to m2 central)
c) Simply upload the artifact to m2 central manually after the release
d) Switch to maven
e) switch to Gradle (from there we can also push to m2 central)
f) switch to Buildr (from there we can also push to m2 central).
g) switch to any other build system which can push to m2 central of which I
don't know by now

Since I'm pretty new to the community I would not dare to influence any
decision but I could help with whatever option had been chosen to see the
artifacts reaching m2 central (as this would be kind of valuable for me :-))

Kind regards,
Andreas


On Mon, Jan 7, 2013 at 3:33 PM, Steve Freeman &amp;lt;steve-/6t1Ty3A97Vaa/9Udqfw&lt;/pre&gt;</description>
    <dc:creator>Andreas Pieber</dc:creator>
    <dc:date>2013-01-08T17:15:43</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.jmock.devel/529">
    <title>jmock maven distribution?</title>
    <link>http://permalink.gmane.org/gmane.comp.java.jmock.devel/529</link>
    <description>&lt;pre&gt;Where are we with this?

S.


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



&lt;/pre&gt;</description>
    <dc:creator>Steve Freeman</dc:creator>
    <dc:date>2013-01-07T14:33:18</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.jmock.devel/528">
    <title>Re: [jmock-user] doesn't compile with Java 7. Breaking change?</title>
    <link>http://permalink.gmane.org/gmane.comp.java.jmock.devel/528</link>
    <description>&lt;pre&gt;Thanks for offering, but I don't think that'll do much good. The same rules apply for Java 8 and beyond. We've been pushing the boundaries of what can be done with generics and it looks like we found an edge case. In the end, the underlying problem is the brokenness of the language, in this case: type erasure and primitive types.

S.

On 30 Dec 2012, at 22:42, James Abley wrote:


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



&lt;/pre&gt;</description>
    <dc:creator>Steve Freeman</dc:creator>
    <dc:date>2012-12-31T13:18:12</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.jmock.devel/527">
    <title>doesn't compile with Java 7. Breaking change?</title>
    <link>http://permalink.gmane.org/gmane.comp.java.jmock.devel/527</link>
    <description>&lt;pre&gt;It turns out that JMock doesn't compile with Java7. They've changed the type system so that it doesn't know what to do with all the overloads of the with() method in ArgumentConstraintPhrases. If we delete the overloads for the primitive types to make the code compile, then it fails at runtime because we cannot return null as a primitive type and we don't have a runtime way to find out what type we're supposed to be returning. 

The best we can think of is to do something based on Expectations.WithClause where we specify the return type in the method name for primitives, for example:

  oneOf(foo).blah(with.intIs(lessThan(2)));

Unfortunately, this is a breaking change.

Unless someone has a better idea, we'll do this in the next release (2.7). This new API should still compile and work with Java 6, even if it's more clunky.

Thoughts?

S.



---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



&lt;/pre&gt;</description>
    <dc:creator>Steve Freeman</dc:creator>
    <dc:date>2012-12-30T22:23:10</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.jmock.devel/526">
    <title>[jira] (JMOCK-256) Mocks being finalized report "the Mockery is not thread-safe: use a Synchroniser to ensure thread safety"</title>
    <link>http://permalink.gmane.org/gmane.comp.java.jmock.devel/526</link>
    <description>&lt;pre&gt;&lt;/pre&gt;</description>
    <dc:creator>Steve Freeman (JIRA</dc:creator>
    <dc:date>2012-12-21T10:56:13</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.jmock.devel/525">
    <title>[jira] (JMOCK-249) ClassImposteriser generates spurious "unexpected invocation" failures.</title>
    <link>http://permalink.gmane.org/gmane.comp.java.jmock.devel/525</link>
    <description>&lt;pre&gt;&lt;/pre&gt;</description>
    <dc:creator>Steve Freeman (JIRA</dc:creator>
    <dc:date>2012-12-21T10:52:13</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.jmock.devel/524">
    <title>[jira] (JMOCK-228) Report further detail in unexpected invocation</title>
    <link>http://permalink.gmane.org/gmane.comp.java.jmock.devel/524</link>
    <description>&lt;pre&gt;&lt;/pre&gt;</description>
    <dc:creator>Steve Freeman (JIRA</dc:creator>
    <dc:date>2012-12-21T10:48:13</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.jmock.devel/523">
    <title>[jira] (JMOCK-228) Report further detail in unexpected invocation</title>
    <link>http://permalink.gmane.org/gmane.comp.java.jmock.devel/523</link>
    <description>&lt;pre&gt;&lt;/pre&gt;</description>
    <dc:creator>Steve Freeman (JIRA</dc:creator>
    <dc:date>2012-12-21T10:48:13</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.jmock.devel/522">
    <title>[jira] (JMOCK-227) Allow ReturnDefaultValueAction to be replaced/extended</title>
    <link>http://permalink.gmane.org/gmane.comp.java.jmock.devel/522</link>
    <description>&lt;pre&gt;&lt;/pre&gt;</description>
    <dc:creator>Steve Freeman (JIRA</dc:creator>
    <dc:date>2012-12-21T10:46:13</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.jmock.devel/521">
    <title>[jira] (JMOCK-225) Imposteriser produces ClassCastException when JUnit tests are run with Ant.</title>
    <link>http://permalink.gmane.org/gmane.comp.java.jmock.devel/521</link>
    <description>&lt;pre&gt;&lt;/pre&gt;</description>
    <dc:creator>Steve Freeman (JIRA</dc:creator>
    <dc:date>2012-12-21T10:43:13</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.jmock.devel/520">
    <title>[jira] (JMOCK-236) docs say Expectations has allOf() and anyOf() methods - but it doesn't</title>
    <link>http://permalink.gmane.org/gmane.comp.java.jmock.devel/520</link>
    <description>&lt;pre&gt;&lt;/pre&gt;</description>
    <dc:creator>Steve Freeman (JIRA</dc:creator>
    <dc:date>2012-12-21T10:38:13</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.jmock.devel/519">
    <title>[jira] (JMOCK-206) Lost test Exception in org.jmock.core.VerifyingTestCase.runBare()</title>
    <link>http://permalink.gmane.org/gmane.comp.java.jmock.devel/519</link>
    <description>&lt;pre&gt;&lt;/pre&gt;</description>
    <dc:creator>Steve Freeman (JIRA</dc:creator>
    <dc:date>2012-12-21T10:31:13</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.jmock.devel/518">
    <title>[jira] (JMOCK-206) Lost test Exception in org.jmock.core.VerifyingTestCase.runBare()</title>
    <link>http://permalink.gmane.org/gmane.comp.java.jmock.devel/518</link>
    <description>&lt;pre&gt;&lt;/pre&gt;</description>
    <dc:creator>Steve Freeman (JIRA</dc:creator>
    <dc:date>2012-12-21T10:29:13</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.jmock.devel/517">
    <title>[jira] (JMOCK-259) Synchronization Issue with assertIsSatisfied() using ThreadingPolicy = Synchronizer</title>
    <link>http://permalink.gmane.org/gmane.comp.java.jmock.devel/517</link>
    <description>&lt;pre&gt;&lt;/pre&gt;</description>
    <dc:creator>Steve Freeman (JIRA</dc:creator>
    <dc:date>2012-12-21T10:27:13</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.jmock.devel/516">
    <title>[jira] (JMOCK-266) jmock-junit4 2.6.0-RC2 POM refers to wrong junit:junit-dep version</title>
    <link>http://permalink.gmane.org/gmane.comp.java.jmock.devel/516</link>
    <description>&lt;pre&gt;&lt;/pre&gt;</description>
    <dc:creator>Steve Freeman (JIRA</dc:creator>
    <dc:date>2012-12-21T10:24:13</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.jmock.devel/515">
    <title>[jira] (JMOCK-246) Expectations "a" and "an" are deprecated, but there is no adequate substitute</title>
    <link>http://permalink.gmane.org/gmane.comp.java.jmock.devel/515</link>
    <description>&lt;pre&gt;&lt;/pre&gt;</description>
    <dc:creator>Steve Freeman (JIRA</dc:creator>
    <dc:date>2012-12-20T10:57:13</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.jmock.devel/514">
    <title>[jira] (JMOCK-267) jMock fails to build from source with openjdk-7</title>
    <link>http://permalink.gmane.org/gmane.comp.java.jmock.devel/514</link>
    <description>&lt;pre&gt;&lt;/pre&gt;</description>
    <dc:creator>Steve Freeman (JIRA</dc:creator>
    <dc:date>2012-12-20T10:51:13</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.jmock.devel/513">
    <title>[jira] (JMOCK-261) Behaviour of Expectations.any Matcher has drastically changed</title>
    <link>http://permalink.gmane.org/gmane.comp.java.jmock.devel/513</link>
    <description>&lt;pre&gt;&lt;/pre&gt;</description>
    <dc:creator>Steve Freeman (JIRA</dc:creator>
    <dc:date>2012-12-20T10:44:13</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.jmock.devel/512">
    <title>[jira] (JMOCK-261) Behaviour of Expectations.any Matcher has drastically changed</title>
    <link>http://permalink.gmane.org/gmane.comp.java.jmock.devel/512</link>
    <description>&lt;pre&gt;&lt;/pre&gt;</description>
    <dc:creator>Steve Freeman (JIRA</dc:creator>
    <dc:date>2012-12-20T10:42:13</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.comp.java.jmock.devel">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.comp.java.jmock.devel</link>
  </textinput>
</rdf:RDF>
