Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Jan 2013 18:29:10 +0400
From:      awarecons <awarecons@gmail.com>
To:        ports@freebsd.org, bugbusters@FreeBSD.org
Subject:   java/openjdk7 ISSUE error: bad operand type int for unary operator '!'
Message-ID:  <CACGq7x30K-mgFdPdbXA%2B1nN8DDXUD1dXGrAhxUPrG9pO7cdvWA@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
# $FreeBSD: ports/java/openjdk7/Makefile,v 1.51 2012/12/25 21:04:33 svnexp Exp $

# Running javac:
/usr/local/openjdk6/bin/java -XX:-PrintVMOptions
-XX:+UnlockDiagnosticVMOptions -XX:-LogVMOutput -client -Xmx512m
-Xms512m -XX:PermSize=32m -XX:MaxPermSize=160m
-Xbootclasspath/p:/usr/ports/java/openjdk7/work/openjdk/build/bsd-i586/langtools/dist/bootstrap/lib/javac.jar
-jar /usr/ports/java/openjdk7/work/openjdk/build/bsd-i586/langtools/dist/bootstrap/lib/javac.jar
-source 7 -target 7 -encoding ascii
-Xbootclasspath:/usr/ports/java/openjdk7/work/openjdk/build/bsd-i586/classes
-sourcepath /usr/ports/java/openjdk7/work/openjdk/build/bsd-i586/gensrc:::/usr/ports/java/openjdk7/work/openjdk/jdk/src/macosx/classes:/usr/ports/java/openjdk7/work/openjdk/jdk/src/solaris/classes:/usr/ports/java/openjdk7/work/openjdk/jdk/src/share/classes
-d /usr/ports/java/openjdk7/work/openjdk/build/bsd-i586/classes
@/usr/ports/java/openjdk7/work/openjdk/build/bsd-i586/tmp/com/javax.swing.plaf/.classes.list.filtered
../../../../src/share/classes/javax/swing/plaf/metal/MetalSliderUI.java:162:
error: bad operand type int for unary operator '!'
            getVertThumbIcon().paintIcon( slider, g, 0,!0 );
                                                       ^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error
gmake[5]: *** [.compile.classlist] Error 1
gmake[5]: Leaving directory
`/usr/ports/java/openjdk7/work/openjdk/jdk/make/javax/swing/plaf'
gmake[4]: *** [build] Error 1
gmake[4]: Leaving directory
`/usr/ports/java/openjdk7/work/openjdk/jdk/make/javax/swing'
gmake[3]: *** [all] Error 1
gmake[3]: Leaving directory
`/usr/ports/java/openjdk7/work/openjdk/jdk/make/javax'
gmake[2]: *** [all] Error 1
gmake[2]: Leaving directory `/usr/ports/java/openjdk7/work/openjdk/jdk/make'
gmake[1]: *** [jdk-build] Error 2
gmake[1]: Leaving directory `/usr/ports/java/openjdk7/work/openjdk'
gmake: *** [build_product_image] Error 2
*** Error code 1

Stop in /usr/ports/java/openjdk7.
*** Error code 1

Stop in /usr/ports/java/openjdk7.

Moreover:
- despite of openjdk6, 7th uses hard configured gcc of 4.2 version,
which disables make.conf USE_GCC=4.6 for e.g.
- both 6th and 7th use hard configured -march=586, which disables
make.conf CPUTYPE=prescott architecture -march/-mtune optimizations
for e.g.

It would be nice if you could fix it.

Thank you in advance.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACGq7x30K-mgFdPdbXA%2B1nN8DDXUD1dXGrAhxUPrG9pO7cdvWA>