Apache JDO Project - [jira] Resolved: (JDO-544) NullPointerException in JDOImplHelper if

This is Interesting: Free IT Magazines  
Home > Archive > Apache JDO Project > October 2007 > [jira] Resolved: (JDO-544) NullPointerException in JDOImplHelper if





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author [jira] Resolved: (JDO-544) NullPointerException in JDOImplHelper if
Craig Russell (JIRA)

2007-10-19, 7:11 pm


[ https://issues.apache.org/jira/brow...ls:all-tabpanel ]

Craig Russell resolved JDO-544.
-------------------------------

Resolution: Fixed
Fix Version/s: JDO 2 maintenance release 1

svn commit -m "JDO-544 NullPointerException running with SecurityManager" api2/test/java/javax/jdo/identity/ObjectIdentityTest.java api2-legacy/test/java/javax/jdo/identity/ObjectIdentityTest.java api2/src/java/javax/jdo/spi/JDOImplHelper.java api2-legacy
/src/java/javax/jdo/spi/JDOImplHelper.java
Sending api2/src/java/javax/jdo/spi/JDOImplHelper.java
Sending api2/test/java/javax/jdo/identity/ObjectIdentityTest.java
Sending api2-legacy/src/java/javax/jdo/spi/JDOImplHelper.java
Sending api2-legacy/test/java/javax/jdo/identity/ObjectIdentityTest.java
Transmitting file data ....
Committed revision 586609.

[vbcol=seagreen]
> NullPointerException in JDOImplHelper if running with security manager enabled
> ------------------------------------------------------------------------------
>
> Key: JDO-544
> URL: https://issues.apache.org/jira/browse/JDO-544
> Project: JDO
> Issue Type: Bug
> Components: api2
> Reporter: Erik Bengtson
> Assignee: Craig Russell
> Priority: Minor
> Fix For: JDO 2 maintenance release 1
>
> Attachments: jdo-544.patch
>
>
> --- Craig says:
> Hi Erik,
> Actually, this is a bug in JDOImplHelper. It is missing a
> doPrivileged around calling getDateTimeInstance.
> The permissions you mention should be assigned to the JDO jar, if
> needed at all. We need to look at the implementation here and decide
> if getDateTimeInstance is really needed or if there is some other way
> to get this functionality.
> Can you please file a JIRA?
> Thanks,
> Craig
> On Oct 8, 2007, at 1:25 PM, Erik Bengtson wrote:

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com