Date: Wed, 01 Sep 2010 15:32:15 +0200 From: "Ronald Klop" <ronald-freebsd8@klop.yi.org> To: freebsd-java@freebsd.org, "Rob Farmer" <rfarmer@predatorlabs.net> Subject: Re: java/jdk16 missing javax.xml.bind.annotation.XmlSeeAlso Message-ID: <op.vicvv1ti8527sy@212-123-145-58.ip.telfort.nl> In-Reply-To: <AANLkTimMw9K5NVR9i3OB-Whx%2BU0G%2BqjV-NooibX3ms1T@mail.gmail.com> References: <AANLkTimMw9K5NVR9i3OB-Whx%2BU0G%2BqjV-NooibX3ms1T@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 01 Sep 2010 13:09:49 +0200, Rob Farmer <rfarmer@predatorlabs.net>= =20 wrote: > With java/jdk16: > > Animal.java: > import javax.xml.bind.annotation.XmlSeeAlso; > > @XmlSeeAlso ({Dog.class,Cat.class}) > class Animal {} > class Dog extends Animal {} > class Cat extends Animal {} > > javac Animal.java > > Animal.java:1: cannot find symbol > symbol : class XmlSeeAlso > location: package javax.xml.bind.annotation > import javax.xml.bind.annotation.XmlSeeAlso; > ^ > Animal.java:3: cannot find symbol > symbol: class XmlSeeAlso > @XmlSeeAlso ({Dog.class,Cat.class}) > ^ > 2 errors > > This class seems to be missing, yet it is listed in the JDK 6 docs: > > http://download.oracle.com/javase/6/docs/api/javax/xml/bind/annotation/= XmlSeeAlso.html > There are differences in the API's between minor versions of java 6. =20 Especially the XML packages have bitten me more than once. That is why it= =20 is nice, that java/openjdk6 is up to date. Ronald.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?op.vicvv1ti8527sy>