Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 495018 - dev-java/invokebinder-1.2 does not compile
Summary: dev-java/invokebinder-1.2 does not compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 442230
  Show dependency tree
 
Reported: 2013-12-22 16:18 UTC by Hans de Graaff
Modified: 2013-12-24 16:14 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,38.99 KB, text/x-log)
2013-12-22 16:18 UTC, Hans de Graaff
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hans de Graaff gentoo-dev Security 2013-12-22 16:18:08 UTC
Created attachment 365888 [details]
build.log

Trying to install dev-java/invokebinder fails with compilation errors.

 * Using: icedtea-bin-6

compile:
    [mkdir] Created dir: /var/tmp/portage/dev-java/invokebinder-1.2/work/invokebinder-invokebinder-1.2/target/classes
    [javac] Compiling 19 source files to /var/tmp/portage/dev-java/invokebinder-1.2/work/invokebinder-invokebinder-1.2/target/classes
    [javac] /var/tmp/portage/dev-java/invokebinder-1.2/work/invokebinder-invokebinder-1.2/src/main/java/com/headius/invokebinder/Binder.java:18: package java.lang.invoke does not exist
    [javac] import java.lang.invoke.MethodHandle;
    [javac]                        ^
    [javac] /var/tmp/portage/dev-java/invokebinder-1.2/work/invokebinder-invokebinder-1.2/src/main/java/com/headius/invokebinder/Binder.java:19: package java.lang.invoke does not exist
    [javac] import java.lang.invoke.MethodHandles;
    [javac]                        ^
Comment 1 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-12-24 16:14:07 UTC
http://docs.oracle.com/javase/7/docs/api/java/lang/invoke/package-summary.html

At the bottom: Since: 1.7

+  24 Dec 2013; Tom Wijsman <TomWij@gentoo.org> invokebinder-1.2.ebuild:
+  java.lang.invoke is available since Java 1.7 according to
+  http://docs.oracle.com/javase/7/docs/api/java/lang/invoke/package-summary.html
+  and thus the JDK/JRE dependencies have been restricted; fixes bug #495018,
+  reported by Hans de Graaff (graaff). Also fixed an unquoted variable.

Thank you for your report.