[Bug 2367] New: 7 no longer builds with 6 - Util is not public in sun.management; cannot be accessed from outside package

bugzilla-daemon at icedtea.classpath.org bugzilla-daemon at icedtea.classpath.org
Sun May 17 21:30:08 UTC 2015


http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=2367

            Bug ID: 2367
           Summary: 7 no longer builds with 6 - Util is not public in
                    sun.management; cannot be accessed from outside
                    package
           Product: IcedTea
           Version: 2.5.5
          Hardware: ppc64
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: IcedTea
          Assignee: gnu.andrew at redhat.com
          Reporter: chewi at gentoo.org
                CC: unassigned at icedtea.classpath.org

Created attachment 1320
  --> http://icedtea.classpath.org/bugzilla/attachment.cgi?id=1320&action=edit
gzipped Portage log

When attempting to build 2.5.5 on ppc64 Gentoo with 6-1.13.7, the build fails
at stage 2 with the error below. See the full build log attached. This has been
encountered by other users:

https://forums.gentoo.org/viewtopic-t-1004478.html
http://www.linuxquestions.org/questions/programming-9/compiling-java-icedtea-for-openjdk-7-with-openjdk-6-a-4175538056/

----

# Running javac:
/var/tmp/notmpfs/portage/dev-java/icedtea-7.2.5.5/work/icedtea-2.5.5/bootstrap/jdk1.6.0/bin/java
-XX:-PrintVMOptions -XX:+UnlockDiagnosticVMOptions -XX:-LogVMOutput -Xmx1792m
-Xms1792m -XX:PermSize=32m -XX:MaxPermSize=160m -Xboo
tclasspath/p:/var/tmp/notmpfs/portage/dev-java/icedtea-7.2.5.5/work/icedtea-2.5.5/openjdk.build-boot/langtools/dist/bootstrap/lib/javac.jar
-jar
/var/tmp/notmpfs/portage/dev-java/icedtea-7.2.5.5/work/icedtea-2.5.5/openjdk.build-
boot/langtools/dist/bootstrap/lib/javac.jar -g -source 6 -target 6 -encoding
ascii
-Xbootclasspath:/var/tmp/notmpfs/portage/dev-java/icedtea-7.2.5.5/work/icedtea-2.5.5/openjdk.build-boot/classes
-sourcepath /var/tmp/notmpfs/port
age/dev-java/icedtea-7.2.5.5/work/icedtea-2.5.5/generated.build:../../../src/solaris/classes:../../../src/share/classes
-bootclasspath
/var/tmp/notmpfs/portage/dev-java/icedtea-7.2.5.5/work/icedtea-2.5.5/openjdk.build-boot/class
es:/var/tmp/notmpfs/portage/dev-java/icedtea-7.2.5.5/work/icedtea-2.5.5/bootstrap/jdk1.6.0/jre/lib/rt.jar
-d
/var/tmp/notmpfs/portage/dev-java/icedtea-7.2.5.5/work/icedtea-2.5.5/openjdk.build-boot/classes
@/var/tmp/notmpfs/porta
ge/dev-java/icedtea-7.2.5.5/work/icedtea-2.5.5/openjdk.build-boot/tmp/java/java.lang/java/.classes.list
Unknown -XX option: -XX:-PrintVMOptions
Unknown -XX option: -XX:+UnlockDiagnosticVMOptions
Unknown -XX option: -XX:-LogVMOutput
../../../src/share/classes/java/lang/management/PlatformComponent.java:42:
error: Util is not public in sun.management; cannot be accessed from outside
package
import sun.management.Util;

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20150517/da2711df/attachment.html>


More information about the distro-pkg-dev mailing list