From owner-freebsd-java@FreeBSD.ORG Sat Apr 19 18:47:54 2014 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 51F999F for ; Sat, 19 Apr 2014 18:47:54 +0000 (UTC) Received: from mail-wi0-x234.google.com (mail-wi0-x234.google.com [IPv6:2a00:1450:400c:c05::234]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E1E1912BD for ; Sat, 19 Apr 2014 18:47:53 +0000 (UTC) Received: by mail-wi0-f180.google.com with SMTP id q5so592464wiv.7 for ; Sat, 19 Apr 2014 11:47:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=ykNjVEwHH+ayFOR9VNeGPKXgT0I9XNfdraCS8qZvZCI=; b=s4N8RpIANPK4aCwycmOeYmbZicHlUtnpnrJfCcE4KTMtNQ8EUFTbIHr6kQZhaXMqhp ZxtgagrZgOlv3rChQ9a7rfQQPnr3bSbNPNnni+wGbosHwPuVaykFKcIpvP3gxdfzMwvB EX9XkVWWUuauW3gJQ3OXBRGk3+sFp/knsp655isGHTDRgX0u+RooiApictpFQQbeVoze h4GdiQkqq5aAXhkBJ+Kj/NESmcae9uVGmN8BFBl5IKUEmJ7DUO4bWzNGcRRABk6mBn9d pgJuF6w9DB7qiMgeIDBD6w6p29sSvs9z7WJJDSc3CGpILBYPA8LnuTcWRN+j+c16eIkJ b4Hw== MIME-Version: 1.0 X-Received: by 10.194.103.36 with SMTP id ft4mr300168wjb.66.1397933272169; Sat, 19 Apr 2014 11:47:52 -0700 (PDT) Received: by 10.194.80.225 with HTTP; Sat, 19 Apr 2014 11:47:52 -0700 (PDT) Date: Sat, 19 Apr 2014 21:47:52 +0300 Message-ID: Subject: Difference between openjdk and linux-sun-java From: Juris Kaminskis To: freebsd-java@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Apr 2014 18:47:54 -0000 Hello, I have $ java -version openjdk version "1.6.0_32" OpenJDK Runtime Environment (build 1.6.0_32-b30) OpenJDK 64-Bit Server VM (build 23.25-b01, mixed mode) and $ /usr/local/linux-sun-jdk1.7.0/bin/java -version java version "1.7.0_51" Java(TM) SE Runtime Environment (build 1.7.0_51-b13) Java HotSpot(TM) Server VM (build 24.51-b03, mixed mode) When I run my compiled class with openjdk I get: 21:43:47,348 ERROR [I] java.lang.NullPointerException at org.jcp.xml.dsig.internal.dom.Utils.getBoolean(Utils.java:114) at org.jcp.xml.dsig.internal.dom.Utils.secureValidation(Utils.java:110) but when I run with linux-sun-java version no error is generated. I understood that it is related to Interface XMLCryptoContext, but how can I pinpoint the difference to trace why openjdk is not working for me on freebsd? thanks for any hints Juris