From owner-freebsd-java@FreeBSD.ORG Tue Nov 15 16:03:54 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 296AE16A41F for ; Tue, 15 Nov 2005 16:03:54 +0000 (GMT) (envelope-from akrebs@chronolabs.de) Received: from mail.conject.com (mail.conject.com [194.246.123.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id AC5D543D53 for ; Tue, 15 Nov 2005 16:03:53 +0000 (GMT) (envelope-from akrebs@chronolabs.de) Received: by mail.conject.com (Postfix, from userid 65534) id 03FFFB31984; Tue, 15 Nov 2005 17:03:52 +0100 (CET) Received: from mail.conject.com (localhost [127.0.0.1]) by mail.conject.com (Postfix) with SMTP id A3959B31988 for ; Tue, 15 Nov 2005 17:03:52 +0100 (CET) Received: from [192.168.20.75] (port-83-236-183-130.static.qsc.de [83.236.183.130]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (Client did not present a certificate) by mail.conject.com (Postfix) with ESMTP id 207BBB31984 for ; Tue, 15 Nov 2005 17:03:52 +0100 (CET) Message-ID: <437A06EB.5010002@chronolabs.de> Date: Tue, 15 Nov 2005 17:03:55 +0100 From: Andreas Krebs User-Agent: Thunderbird 1.5 (Windows/20051025) MIME-Version: 1.0 To: freebsd-java@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.conject.com X-Spam-Level: X-Spam-Status: No, score=0.0 required=6.5 tests=BAYES_50 autolearn=no version=3.0.4 Subject: JDK1.5 and JBOSS 4.0.3 problem X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Nov 2005 16:03:54 -0000 Hi List, when trying to build a webapp that uses JBOSS 4.0.3 with the selfcompiled JDK1.5 on FreeBSD I get the following error: [javac] /data/trunk/ng.sources/ng.kernel/com/ng/common/security/integration/jboss/NGLoginModule.java:118: abstract method initialize(javax.security.auth.Subject,javax.security.auth.callback.CallbackHandler,java.util.Map,java.util.Map) in javax.security.auth.spi.LoginModule cannot be accessed directly [javac] super.initialize(subject, callbackHandler, sharedState, options); this seems to relate to a bug in the JDK (http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6178365) which was solved a while ago. The same build works fine on Linux with Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_05-b05) and on Windows, so the problem obviously is with the JDK. My guess is that the JDK1.5 SCSL sources are missing this (and maybe other) fixes, since there hasn't been any changes in the SCSL sources in months. Unfortunately I can't find any information on what version the SCSL sources are based. Any feedback is highly appreciated, if I can't find a solution I have to use Linux which I'd like to avoid. Cheers, Andreas Krebs Chronolabs GmbH akrebs@chronolabs.de