JDK-8129396 : Class JavaLaunchHelper is implemented twice
  • Type: Bug
  • Component: deploy
  • Sub-Component: deployment_toolkit
  • Affected Version: 8u20
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: os_x
  • CPU: x86
  • Submitted: 2015-05-22
  • Updated: 2019-08-02
  • Resolved: 2015-06-22
Related Reports
Relates :  
Description
FULL PRODUCT VERSION :
java version "1.8.0_20"
Java(TM) SE Runtime Environment (build 1.8.0_20-b26)
Java HotSpot(TM) 64-Bit Server VM (build 25.20-b23, mixed mode)


ADDITIONAL OS VERSION INFORMATION :
OSX 10.10.3 (14D136)
Darwin Kernel Version 14.3.0: Mon Mar 23 11:59:05 PDT 2015; root:xnu-2782.20.48~5/RELEASE_X86_64 x86_64

A DESCRIPTION OF THE PROBLEM :
When I start JUnit from my Eclipse, following message occured:

objc[1066]: Class JavaLaunchHelper is implemented in both /Library/Java/JavaVirtualMachines/jdk1.8.0_20.jdk/Contents/Home/bin/java and /Library/Java/JavaVirtualMachines/jdk1.8.0_20.jdk/Contents/Home/jre/lib/libinstrument.dylib. One of the two will be used. Which one is undefined.

REGRESSION.  Last worked in version 8u11

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Running JUnit from Eclipse
Version: Luna Service Release 1 (4.4.1)
Build id: 20140925-1800

EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
No error message
ACTUAL -
objc[1066]: Class JavaLaunchHelper is implemented in both /Library/Java/JavaVirtualMachines/jdk1.8.0_20.jdk/Contents/Home/bin/java and /Library/Java/JavaVirtualMachines/jdk1.8.0_20.jdk/Contents/Home/jre/lib/libinstrument.dylib. One of the two will be used. Which one is undefined.


REPRODUCIBILITY :
This bug can be reproduced always.

---------- BEGIN SOURCE ----------
objc[1066]: Class JavaLaunchHelper is implemented in both /Library/Java/JavaVirtualMachines/jdk1.8.0_20.jdk/Contents/Home/bin/java and /Library/Java/JavaVirtualMachines/jdk1.8.0_20.jdk/Contents/Home/jre/lib/libinstrument.dylib. One of the two will be used. Which one is undefined.

---------- END SOURCE ----------

CUSTOMER SUBMITTED WORKAROUND :
No workaround, tests are running.


Comments
Closing this as a duplicate of JDK-8022291 with fix slated for JDK 9.
22-06-2015