Return-Path: X-Original-To: apmail-incubator-deltaspike-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-deltaspike-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1E2E89DF9 for ; Wed, 1 Feb 2012 14:10:09 +0000 (UTC) Received: (qmail 53518 invoked by uid 500); 1 Feb 2012 14:10:09 -0000 Delivered-To: apmail-incubator-deltaspike-dev-archive@incubator.apache.org Received: (qmail 53491 invoked by uid 500); 1 Feb 2012 14:10:08 -0000 Mailing-List: contact deltaspike-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: deltaspike-dev@incubator.apache.org Delivered-To: mailing list deltaspike-dev@incubator.apache.org Received: (qmail 53483 invoked by uid 99); 1 Feb 2012 14:10:08 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Feb 2012 14:10:08 +0000 X-ASF-Spam-Status: No, hits=2.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_REPLY,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of heidarzadeh2@gmail.com designates 74.125.82.43 as permitted sender) Received: from [74.125.82.43] (HELO mail-ww0-f43.google.com) (74.125.82.43) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Feb 2012 14:10:01 +0000 Received: by wgbdr13 with SMTP id dr13so2160249wgb.0 for ; Wed, 01 Feb 2012 06:09:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=UKIwQRtpA2U01Qln2ZOpoSsLeN3nvKRwLsMAe5YIgek=; b=dZ1OID88lnjvbdj9wnmqZ9vac1hXJThRlmnlvN7ekMf9t3u8zrwoGvRh3+n0lKHy3j IWRAHk/KSBgvQLjOsMjy1piX18+oGvfzuz8ySkDcZqXaqDykphReBqLv5amJ7OdFuEdD mp2xBQ5QhrxzZB5FNdul7Xr0gSGoBUGF3sEg0= Received: by 10.180.92.71 with SMTP id ck7mr53253396wib.3.1328105381229; Wed, 01 Feb 2012 06:09:41 -0800 (PST) MIME-Version: 1.0 Received: by 10.180.79.5 with HTTP; Wed, 1 Feb 2012 06:09:20 -0800 (PST) In-Reply-To: References: From: Mehdi Heidarzadeh Date: Wed, 1 Feb 2012 17:39:20 +0330 Message-ID: Subject: Re: Error when building DeltaSpike To: deltaspike-dev@incubator.apache.org Content-Type: multipart/alternative; boundary=f46d043c807078f3f004b7e7a125 X-Virus-Checked: Checked by ClamAV on apache.org --f46d043c807078f3f004b7e7a125 Content-Type: text/plain; charset=UTF-8 Thanks Gerhard, I will update it right now! On Wed, Feb 1, 2012 at 5:32 PM, Gerhard Petracek wrote: > hi mehdi, > > yesterday we saw that also with our sonar build. jason said that they saw > it also at seam3 (it is a jdk bug and you just have to upgrade to a newer > jdk version). > > imo we should also apply your fix. > > thx & regards, > gerhard > > > > 2012/2/1 Mehdi Heidarzadeh > > > Hi @All > > > > when I want to build Apache DeltaSpike Core-API, I get this error > > > > org/apache/deltaspike/core/util/Reflections.java:[710,35] type parameters > > of T cannot be determined; no unique maximal instance exists for type > > variable T with upper bounds T,java.lang.Object > > > > This is the source if error : > > return Reflections.cast(field.get(instance)); > > > > And when I change the above code to this : > > return Reflections.cast(field.get(instance)); > > > > It builds successfully! > > > > By the way, I use NetBeans 7.1 to build the project. > > > > What's the problem? > > > > -- > > Mehdi Heidarzadeh Ardalani > > Independent JEE Counselor, Developer and Trainer. > > http://www.TheBigJavaBlog.com > > > -- Mehdi Heidarzadeh Ardalani Independent JEE Counselor, Developer and Trainer. http://www.TheBigJavaBlog.com --f46d043c807078f3f004b7e7a125--