This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 62337 - JVM Parameters (-javaagent) is ignored by JUnit
Summary: JVM Parameters (-javaagent) is ignored by JUnit
Status: RESOLVED DUPLICATE of bug 46298
Alias: None
Product: java
Classification: Unclassified
Component: JUnit (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker (vote)
Assignee: junit-issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-16 00:54 UTC by matthiasmann
Modified: 2005-10-19 16:25 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description matthiasmann 2005-08-16 00:54:29 UTC
I'm writing an application that uses a java.lang.instrument agent (using the JVM
parameter "-javaagent:....." in the project properties). The application depends
the byte code modifications that are done by this agent.

I can run and debug the application without problems.
But when I try to run a JUnit test the javaagent is not loaded.
Comment 1 Marian Petras 2005-10-19 16:25:52 UTC
This is not currently possible. A request for making it possible is already
recorded - see issue #46298.

*** This issue has been marked as a duplicate of 46298 ***