Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Feb 2014 14:31:00 -0500
From:      Mike Jakubik <mike.jakubik@intertainservices.com>
To:        Craig Rodrigues <rodrigc@FreeBSD.org>, Jung-uk Kim <jkim@freebsd.org>
Cc:        Greg Lewis <glewis@freebsd.org>, freebsd-java@freebsd.org
Subject:   Re: FreeBSD Port: java/icedtea-web
Message-ID:  <52FA7A74.5020900@intertainservices.com>
In-Reply-To: <CAG=rPVdyUi%2BBAJi1-orDBRotm9A4enUWNtnT%2Bs0yD45GoqjHjw@mail.gmail.com>
References:  <52F940E8.6020209@intertainservices.com>	<52F94EED.4080606@FreeBSD.org> <CAG=rPVdyUi%2BBAJi1-orDBRotm9A4enUWNtnT%2Bs0yD45GoqjHjw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 02/10/14 21:34, Craig Rodrigues wrote:
>
>
>
> On Mon, Feb 10, 2014 at 2:13 PM, Jung-uk Kim <jkim@freebsd.org 
> <mailto:jkim@freebsd.org>> wrote:
>
>
>     A patch was suggested by lwhsu@:
>
>     http://people.freebsd.org/~lwhsu/patch/openjdk7-PortConfig.diff
>     <http://people.freebsd.org/%7Elwhsu/patch/openjdk7-PortConfig.diff>;
>
>
> I can confirm, I needed that patch.  Without it, the devel/jenkins 
> port does not even start
> due to a Java failure which is the same one that Mike Jakubik reported 
> for  java/icedweb-tea
>
> --
> Craig


This patch does not work for me, some sort of syntax error in it?

# Running javac:
/usr/local/openjdk7/bin/java -XX:-PrintVMOptions 
-XX:+UnlockDiagnosticVMOptions -XX:-LogVMOutput -Xmx512m -Xms512m 
-XX:PermSize=32m -XX:MaxPermSize=160m 
-Xbootclasspath/p:/usr/ports/java/openjdk7/work/openjdk/build/bsd-amd64/langtools/dist/bootstrap/lib/javac.jar 
-jar 
/usr/ports/java/openjdk7/work/openjdk/build/bsd-amd64/langtools/dist/bootstrap/lib/javac.jar 
-source 7 -target 7 -encoding ascii 
-Xbootclasspath:/usr/ports/java/openjdk7/work/openjdk/build/bsd-amd64/classes 
-sourcepath 
/usr/ports/java/openjdk7/work/openjdk/build/bsd-amd64/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-amd64/classes 
@/usr/ports/java/openjdk7/work/openjdk/build/bsd-amd64/tmp/java/java.lang/java/.classes.list.filtered
/usr/ports/java/openjdk7/work/openjdk/jdk/src/solaris/classes/sun/net/PortConfig.java:52: 
error: illegal start of expression
                     } else if (os.startsWith("SunOS")) || 
os.startsWith("FreeBSD")) {
                                                        ^
/usr/ports/java/openjdk7/work/openjdk/jdk/src/solaris/classes/sun/net/PortConfig.java:52: 
error: ';' expected
                     } else if (os.startsWith("SunOS")) || 
os.startsWith("FreeBSD")) {
^
/usr/ports/java/openjdk7/work/openjdk/jdk/src/solaris/classes/sun/net/PortConfig.java:55: 
error: 'else' without 'if'
                     } else if (os.contains("OS X")) {
                       ^
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.
3 errors
gmake[4]: *** [.compile.classlist] Error 1
gmake[4]: Leaving directory 
`/usr/ports/java/openjdk7/work/openjdk/jdk/make/java/java'




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52FA7A74.5020900>