Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 529108

Summary: dev-java/netty-common-4.0.21 with dev-java/sun-jdk - .../work/netty-netty-4.0.21.Final/common/src/main/java/io/netty/util/internal/chmv8/CountedCompleter.java:25: cannot find symbol: class RecursiveAction
Product: Gentoo Linux Reporter: Austin English (RETIRED) <wizardedit>
Component: [OLD] JavaAssignee: Java team <java>
Status: RESOLVED FIXED    
Severity: normal CC: zmedico
Priority: Normal Keywords: InVCS
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build log
patch

Description Austin English (RETIRED) gentoo-dev 2014-11-13 04:05:10 UTC
Works with oracle-jdk-bin-1.7.

    [javac] /var/tmp/portage/dev-java/netty-common-4.0.21/work/netty-netty-4.0.21.Final/common/src/main/java/io/netty/util/internal/chmv8/CountedCompleter.java:25: cannot find symbol
    [javac] symbol  : class RecursiveAction
    [javac] location: package java.util.concurrent
    [javac] import java.util.concurrent.RecursiveAction;
    [javac]                            ^

likely affects other netty packages, but I didn't check explicitly.

Reproducible: Always
Comment 1 Austin English (RETIRED) gentoo-dev 2014-11-13 04:05:23 UTC
Created attachment 389214 [details]
build log
Comment 2 Austin English (RETIRED) gentoo-dev 2014-11-13 05:21:51 UTC
dev-java/netty-transport-4.0.21 is also affected:
    [javac] /var/tmp/portage/dev-java/netty-transport-4.0.21/work/netty-netty-4.0.21.Final/transport/src/main/java/io/netty/channel/socket/SocketChannelConfig.java:27: cannot find symbol
    [javac] symbol  : class StandardSocketOptions
    [javac] location: package java.net
    [javac] import java.net.StandardSocketOptions;
    [javac]                ^
Comment 3 Austin English (RETIRED) gentoo-dev 2014-12-03 03:25:22 UTC
Created attachment 390814 [details, diff]
patch

Here's a patch.
Comment 4 Zac Medico gentoo-dev 2015-02-23 20:37:06 UTC
This is fixed in cvs.
Comment 5 Paul McDermott 2015-09-05 17:00:32 UTC
I am also experiencing this bug, with JVM set to icedtea-bin-6.

The last update is "fixed in cvs". I'm not clear what this means: there is still only 1 version of netty-common in the tree, 4.0.21, so there is nothing to upgrade to. Is there a work-around?
Comment 6 Zac Medico gentoo-dev 2015-09-05 18:19:02 UTC
(In reply to Paul from comment #5)
> I am also experiencing this bug, with JVM set to icedtea-bin-6.
> 
> The last update is "fixed in cvs". I'm not clear what this means: there is
> still only 1 version of netty-common in the tree, 4.0.21, so there is
> nothing to upgrade to. Is there a work-around?

Strange, I thought I committed the fix. Anyway, now it's in git:

https://gitweb.gentoo.org/repo/gentoo.git/commit/dev-java/netty-common?id=3c6ab3a773c4c0cf3af6167b267d5f1ccf99d3e0