Re: Build failure with Java 11

John Huss <[email protected]>
Newsgroups gmane.comp.java.cayenne.devel
Message-ID <CAOUwSGvHCLM0982XMQwoLPrUTojXKo6jeruozzLeDD98xDw7Hg@mail.gmail.com>
It must have just had a bad cache somewhere. I touched the file and rebuilt
and now it is working.  ¯\_(ツ)_/¯

On Thu, May 2, 2019 at 1:26 PM Lon Varscsak <[email protected]> wrote:

> I've compiled it against OpenJDK 11 (not Corretto) without an issue.
>
> On Thu, May 2, 2019 at 7:38 AM John Huss <[email protected]> wrote:
>
> > This is the corretto version from Amazon, based on OpenJDK.
> >
> > On Thu, May 2, 2019 at 9:23 AM Andrus Adamchik <[email protected]>
> > wrote:
> >
> > > Odd, considering that CI runs a bunch of builds on Java 11 on every
> > commit:
> > >
> > > https://travis-ci.org/apache/cayenne/builds/527314653
> > >
> > > Andrus
> > >
> > > > On May 2, 2019, at 5:10 PM, John Huss <[email protected]> wrote:
> > > >
> > > > I'm seeing a build failure with Java 11 on the master branch (below).
> > It
> > > > would be nice to get this fixed up since Java 11 has been released
> for
> > a
> > > > while now. Thanks!
> > > >
> > > > [ERROR] Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time
> elapsed:
> > > > 0.166 s <<< FAILURE! - in
> > > >
> > >
> >
> org.apache.cayenne.cache.invalidation.CacheInvalidationCacheGroupsHandlerIT
> > > >
> > > > [ERROR]
> > > >
> > >
> >
> invalidateE1(org.apache.cayenne.cache.invalidation.CacheInvalidationCacheGroupsHandlerIT)
> > > > Time elapsed: 0.081 s  <<< ERROR!
> > > >
> > > > java.lang.NoSuchMethodError:
> > > >
> > >
> >
> org.apache.cayenne.cache.invalidation.CacheInvalidationCacheGroupsHandlerIT.access$0(Lorg/apache/cayenne/cache/invalidation/CacheInvalidationCacheGroupsHandlerIT;)Ljava/util/concurrent/atomic/AtomicInteger;
> > > >
> > > > at
> > > >
> > >
> >
> org.apache.cayenne.cache.invalidation.CacheInvalidationCacheGroupsHandlerIT.invalidateE1(CacheInvalidationCacheGroupsHandlerIT.java:98)
> > > >
> > > >
> > > > [ERROR]
> > > >
> > >
> >
> invalidateE2(org.apache.cayenne.cache.invalidation.CacheInvalidationCacheGroupsHandlerIT)
> > > > Time elapsed: 0.079 s  <<< ERROR!
> > > >
> > > > java.lang.NoSuchMethodError:
> > > >
> > >
> >
> org.apache.cayenne.cache.invalidation.CacheInvalidationCacheGroupsHandlerIT.access$1(Lorg/apache/cayenne/cache/invalidation/CacheInvalidationCacheGroupsHandlerIT;)Ljava/util/concurrent/atomic/AtomicInteger;
> > > >
> > > > at
> > > >
> > >
> >
> org.apache.cayenne.cache.invalidation.CacheInvalidationCacheGroupsHandlerIT.invalidateE2(CacheInvalidationCacheGroupsHandlerIT.java:135)
> > >
> > >
> >
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.