You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jdo-dev@db.apache.org by Craig Russell <Cr...@Sun.COM> on 2005/09/13 17:48:04 UTC
JDO-135
Hi Karan,
I just filed a bug that you might take a look at, JDO-135.
This is the only issue that I know of compiling JDO under JDK 5.
Craig
Craig Russell
Architect, Sun Java Enterprise System http://java.sun.com/products/jdo
408 276-5638 mailto:Craig.Russell@sun.com
P.S. A good JDO? O, Gasp!
Re: JDO-135
Posted by Michelle Caisse <Mi...@Sun.COM>.
Doh! Thank you! The weird thing is that I saw the first no-component
issue yesterday without doing anything special, but couldn't find it
today. I think that BrowseProject may behave differently when I'm
logged in than when I'm not. Anyway, I've cleaned up the duplicates.
-- Michelle
Andy Jefferson wrote:
>>Umm, I think I can explain that, sort of... Yesterday there were three
>>bugs against "unknown" component. One was logged by Olav Sandstaa, two
>>by me. Today they are gone. I guess JIRA must throw out bugs that have
>>no component??? It doesn't seem right, but I don't know what else to think
>>
>>
>
>Michelle,
>why re-enter them ? (I see you already have, but thought i'd mention it
>anyway)
>
>The (original) issues are there still, you just need to set your JIRA filter.
>Go to http://issues.apache.org/jira/secure/BrowseProject.jspa?id=10630
>and you'll see some items under "No Component". These should be moved into the
>Components you want them in (or deleted, now that you have dups!)
>
>
>
Re: JDO-135
Posted by Andy Jefferson <an...@jpox.org>.
> Umm, I think I can explain that, sort of... Yesterday there were three
> bugs against "unknown" component. One was logged by Olav Sandstaa, two
> by me. Today they are gone. I guess JIRA must throw out bugs that have
> no component??? It doesn't seem right, but I don't know what else to think
Michelle,
why re-enter them ? (I see you already have, but thought i'd mention it
anyway)
The (original) issues are there still, you just need to set your JIRA filter.
Go to http://issues.apache.org/jira/secure/BrowseProject.jspa?id=10630
and you'll see some items under "No Component". These should be moved into the
Components you want them in (or deleted, now that you have dups!)
--
Andy
Re: JDO-135
Posted by Michelle Caisse <Mi...@Sun.COM>.
Umm, I think I can explain that, sort of... Yesterday there were three
bugs against "unknown" component. One was logged by Olav Sandstaa, two
by me. Today they are gone. I guess JIRA must throw out bugs that have
no component??? It doesn't seem right, but I don't know what else to think
I have just added a new component called "site and infrastructure"
against which to log bugs that do not apply to any of the code
components. I will re-enter my two bugs against that component. Olav,
please re-enter yours if you get a chance.
-- Michelle
Michael Bouschen wrote:
> Hi Craig,
>
> how did you create JDO-135 without creating JDO-132,133,134?
>
> Regards Michael
>
>> Hi Karan,
>>
>> I just filed a bug that you might take a look at, JDO-135.
>>
>> This is the only issue that I know of compiling JDO under JDK 5.
>>
>> Craig
>>
>> Craig Russell
>>
>> Architect, Sun Java Enterprise System http://java.sun.com/products/jdo
>>
>> 408 276-5638 mailto:Craig.Russell@sun.com
>>
>> P.S. A good JDO? O, Gasp!
>>
>>
>
>
Re: JDO-135
Posted by Michael Bouschen <mb...@spree.de>.
Hi Craig,
how did you create JDO-135 without creating JDO-132,133,134?
Regards Michael
> Hi Karan,
>
> I just filed a bug that you might take a look at, JDO-135.
>
> This is the only issue that I know of compiling JDO under JDK 5.
>
> Craig
>
> Craig Russell
>
> Architect, Sun Java Enterprise System http://java.sun.com/products/jdo
>
> 408 276-5638 mailto:Craig.Russell@sun.com
>
> P.S. A good JDO? O, Gasp!
>
>
--
Michael Bouschen Tech@Spree Engineering GmbH
mailto:mbo.tech@spree.de http://www.tech.spree.de/
Tel.:++49/30/235 520-33 Buelowstr. 66
Fax.:++49/30/2175 2012 D-10783 Berlin
Re: JDO-135
Posted by Craig Russell <Cr...@Sun.COM>.
Hi Karan,
Patch looks good. I've checked it in.
Thanks!
Craig
On Sep 13, 2005, at 5:22 PM, karan malhi wrote:
> Hi Craig,
>
> I have attached the patches for this issue
>
> Craig Russell wrote:
>
>
>> Hi Karan,
>>
>> I just filed a bug that you might take a look at, JDO-135.
>>
>> This is the only issue that I know of compiling JDO under JDK 5.
>>
>> Craig
>>
>> Craig Russell
>>
>> Architect, Sun Java Enterprise System http://java.sun.com/products/
>> jdo
>>
>> 408 276-5638 mailto:Craig.Russell@sun.com
>>
>> P.S. A good JDO? O, Gasp!
>>
>>
>>
>
> --
> Karan Singh
>
> Index: src/java/org/apache/jdo/impl/pm/PersistenceManagerImpl.java
> ===================================================================
> --- src/java/org/apache/jdo/impl/pm/PersistenceManagerImpl.java
> (revision 280719)
> +++ src/java/org/apache/jdo/impl/pm/PersistenceManagerImpl.java
> (working copy)
> @@ -1576,10 +1576,10 @@
> Object obj = null;
>
> try {
> - Constructor constr = newType.getConstructor(null);
> + Constructor constr = newType.getConstructor((Class[])
> null);
>
> if (constr != null) {
> - obj = constr.newInstance(null);
> + obj = constr.newInstance((Object[])null);
> }
> } catch (Exception e) {
> throw new JDOUserException(msg.msg(
> Index: test/java/org/apache/jdo/tck/enhancement/EnhancerTest.java
> ===================================================================
> --- test/java/org/apache/jdo/tck/enhancement/EnhancerTest.java
> (revision 280719)
> +++ test/java/org/apache/jdo/tck/enhancement/EnhancerTest.java
> (working copy)
> @@ -71,14 +71,14 @@
> */
> Properties classesToTest = getProperties("enhancement-
> test.properties"); //NOI18N
>
> - Enumeration enum = classesToTest.propertyNames();
> + Enumeration enumeration = classesToTest.propertyNames();
> int numberOfPackages = 0;
>
> /** Each key is a package name; the value is a list of
> class names to test.
> */
> - while (enum.hasMoreElements()) {
> + while (enumeration.hasMoreElements()) {
> ++numberOfPackages;
> - String packageName = (String) enum.nextElement();
> + String packageName = (String) enumeration.nextElement();
> if (debug) logger.debug("EnhancerTest Package: " +
> packageName);
> String classNames = (String) classesToTest.get
> (packageName);
> if (debug) logger.debug("EnhancerTest Classes: " +
> classNames);
>
Craig Russell
Architect, Sun Java Enterprise System http://java.sun.com/products/jdo
408 276-5638 mailto:Craig.Russell@sun.com
P.S. A good JDO? O, Gasp!
Re: JDO-135
Posted by karan malhi <ka...@gmail.com>.
Hi Craig,
I have attached the patches for this issue
Craig Russell wrote:
> Hi Karan,
>
> I just filed a bug that you might take a look at, JDO-135.
>
> This is the only issue that I know of compiling JDO under JDK 5.
>
> Craig
>
> Craig Russell
>
> Architect, Sun Java Enterprise System http://java.sun.com/products/jdo
>
> 408 276-5638 mailto:Craig.Russell@sun.com
>
> P.S. A good JDO? O, Gasp!
>
>
--
Karan Singh
Re: JDO-135
Posted by karan malhi <ka...@gmail.com>.
I added the other warning i was getting under jdk5
Craig Russell wrote:
> Hi Karan,
>
> I just filed a bug that you might take a look at, JDO-135.
>
> This is the only issue that I know of compiling JDO under JDK 5.
>
> Craig
>
> Craig Russell
>
> Architect, Sun Java Enterprise System http://java.sun.com/products/jdo
>
> 408 276-5638 mailto:Craig.Russell@sun.com
>
> P.S. A good JDO? O, Gasp!
>
>
--
Karan Singh