When getting the origin of a VMOption through the mbean, the ATTACH_ON_DEMAND origin is missing.
This required changes both to hotspot and libs. I will push the hotspot changes first (to hs-rt) and later the libs+test changes (to dev). webrev: http://cr.openjdk.java.net/~sla/8028994/webrev.00/ bug: https://bugs.openjdk.java.net/browse/JDK-8028994 Thanks, /Staffan
