Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6356436

javax.management.PropertyNames example has wrong constructor name

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 6
    • 6
    • core-svc
    • 6
    • b65
    • generic
    • generic
    • Verified

      From ###@###.###:

      > - The javadoc of javax.management.PropertyNames says:
      >
      > public class Point {
      > @PropertyNames("x", "y")
      > public NamedNumber(int x, int y) {
      > this.x = x;
      > this.y = y;
      > }
      >
      > ...
      >
      > Should NamedNumber be replaced by Point?

      Obviously it should.

            jferaud Joel Feraud (Inactive)
            emcmanus Eamonn McManus
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: