Issue Details (XML | Word | Printable)

Key: NUCCORE-1098
Type: Bug Bug
Status: Closed Closed
Resolution: Won't Fix
Priority: Major Major
Assignee: Unassigned
Reporter: Chris Colman
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
DataNucleus Core

DN Core 3.2.10 Manifest.mf file uses PremainClass but agent option is looking for Premain-Class - prevents runtime enhancement

Created: 22/Dec/13 12:19 AM   Updated: 14/Jan/14 11:22 AM   Resolved: 22/Dec/13 06:55 AM
Component/s: Enhancer
Affects Version/s: 3.2.10
Fix Version/s: None

Environment:
Windows XP
IntelliJ

Forum Thread URL: http://www.datanucleus.org/servlet/forum/viewthread_thread,7639_offset,0


 Description  « Hide
With older versions of DN (3.2.9 and earlier) the Manifest.mf file in the core jar contains the

Premain-Class attribute.

3.2.10 and later include:

PremainClass attribute (note: no hyphen)

At start I see the following error:

Error occurred during initialization of VM
Failed to find Premain-Class manifest attribute in D:/libs/datanucleus/3/latest/datanucleus-core-3.2.11-20131221.013122-1.jar
agent library failed to init: instrument

Andy Jefferson added a comment - 22/Dec/13 06:55 AM
Using nightly builds for some reason yet thinking that is released software?

Andy Jefferson made changes - 22/Dec/13 06:55 AM
Field Original Value New Value
Status Open [ 1 ] Resolved [ 5 ]
Resolution Won't Fix [ 2 ]
Chris Colman added a comment - 29/Dec/13 08:56 PM
The 'Won't Fix' could be misleading as this issue is in fact now fixed in github master branch. The 'Won't Fix' status is in reference to the fact that this issue was not an issue with released software, only the nightly builds and so I should never have reported it in JIRA to begin with.

Andy Jefferson made changes - 14/Jan/14 11:22 AM
Status Resolved [ 5 ] Closed [ 6 ]