From Pavel.Porvatov at Sun.COM Mon Jun 1 03:37:08 2009 From: Pavel.Porvatov at Sun.COM (Pavel Porvatov) Date: Mon, 01 Jun 2009 14:37:08 +0400 Subject: [PATCH] 6179357: Generics: JList In-Reply-To: <200905171816.37657.fbrunnerlist@gmx.ch> References: <200903222003.05081.fbrunnerlist@gmx.ch> <49FF066D.6000200@gmx.ch> <4A0C1F14.6070307@sun.com> <200905171816.37657.fbrunnerlist@gmx.ch> Message-ID: <4A23AF54.1030000@sun.com> Hi Florian, I've filed request about changing API according to your fix. A couple comments: 1. Because of J1 approve of changing API can be delayed 2. We should generify all subclasses of generified classes and interfaces in the JDK 3. One of our developers Alexander Potochkin suggests the next generification step: --------------- I'd like to suggest the next generification step - ComponentUI and descendants the fix should be quite simple: class ComponentUI { public void installUI(C c) { } public void paint(Graphics g, C c) { } // and so on } and then: class ButtonUI extends ComponentUI it's okay if RadioButtonUI, CheckBoxUI etc... will inherit AbstractButton as the generic type, because they cast JComponent to AbstractButton anyway class TableUI extends ComponentUI etc... note that the JComponent subclasses will not be modified ------------- Regards, Pavel > Hi Pavel, > > as far as I remember, the problem with > E[] getSelectedValues() > > was, that it is not possible to create a generic array. > > As for: > public E[] getSelectedValues(E[] a) > > you can get this array already with > getSelectedValuesList().toArray(array) > > Of course, the other way around would work, too, but since lists should generally be preferred to > arrays for various reasons (see item 25 of Joshua Bloch's book "Effective Java", 2nd edition, for > some of them), I think we should prefer > > List getSelectedValuesList() > > over > > E[] getSelectedValues(E[] a) > > As for deprecating the original getSelectedValues() method: > It's not absolutly needed, but then we would have 2 methods, which would do pretty much the same. > This could confuse users, which one to use. By deprecating the old one, we tell users that for new > code, lists and generics are preferred. They still can get an array when needed without getting a > deprecated warning, by calling one of the toArray-methods. > > And since people are complaining, that the Swing API is already bloated (eg. see the Swing 2.0 > discussions at http://kenai.com/projects/swing2/lists ), I think it's a good thing to reduce the API > by deprecating methods, if there are other methods which should be preferred. > > -Florian > >> Hi Florian, >> >> Some time ago we discussed two different ways to add the new method >> "getSelectedValuesList()". The first one is the current implementation >> in your fix: >> >> 1. public List getSelectedValuesList() >> Benefits: >> a. easy to use >> b. Collection framework is very flexible >> >> The second way is: >> >> 2. public E[] getSelectedValues(E[] a) >> Benefits: >> a. The same pattern used in the java.util.Collection#toArray(T[] a) >> method >> b. a little bit easer to port an old code >> >> Also a lot of people noticed that there is no need to deprecate the >> javax.swing.JList#getSelectedValues method because it still can be useful. >> >> Any ideas? >> >> Regards, Pavel >> >>> Hi Pavel, hi Alexander, >>> >>> I'm back from holiday. >>> >>> What is the status of this patch? Any news? >>> >>> -Florian >>> >>> Alexander Potochkin schrieb: >>>> Hello Florian >>>> >>>>> Great! :-) >>>>> >>>>> In the case of other issues please note that I'm on holiday until the >>>>> end of next week. >>>> Have a nice holiday! >>>> >>>> (I am reviewing the fix right now) >>>> >>>> Thanks >>>> alexp >>>> >>>>> -Florian >>>>> >>>>> Pavel Porvatov schrieb: >>>>>> Hi Florian, >>>>>> >>>>>>> Hi Pavel, >>>>>>> >>>>>>> I agree that we should avoid to mix several different fixes in one >>>>>>> fix, but since in this fix we change >>>>>>> >>>>>>> AbstractListModel to AbstractListModel >>>>>>> and >>>>>>> JList(ListModel dataModel) to JList(ListModel dataModel) >>>>>>> >>>>>>> I think we should also change usages of AbstractListModel such as >>>>>>> "this (new AbstractListModel()...)" to "this (new >>>>>>> AbstractListModel()...)" to avoid warnings. >>>>>> Ok, then it will not be a problem. Let's include this change in your >>>>>> fix. Therefore all my comments are gone and I'm going to start our >>>>>> internal process to commit your fix. >>>>>> >>>>>> Thanks, Pavel. >>>>>> >>>>>>> If you don't agree: >>>>>>> There are several places where I changed the usage of now >>>>>>> generified classes to the generic variant. Which ones should I >>>>>>> change back? Only this case? > > From enh at jessies.org Tue Jun 2 20:52:21 2009 From: enh at jessies.org (Elliott Hughes) Date: Tue, 2 Jun 2009 20:52:21 -0700 (PDT) Subject: JColorChooser on GTK (GTKColorChooserPanel) In-Reply-To: <4A1D660D.8030702@sun.com> References: <43951.76.193.119.39.1243292665.squirrel@webmail.jessies.org> <4A1D660D.8030702@sun.com> Message-ID: <34264.76.193.119.39.1244001141.squirrel@webmail.jessies.org> On Wed, May 27, 2009 09:10, Dalibor Topic wrote: > Elliott Hughes wrote: >> Oh, and do I need to sort out the SCA before I show patches, or just >> before they can be submitted? (I've deliberately not attached anything >> here in case you don't want to see code not covered by an SCA. I >> haven't filled out the SCA yet because, not living in the 1980s, I don't >> have easy access to either a fax machine or a scanner.) > > Regular mail is fine, too - the address is on http://sca.dev.java.net done. on its way... -- Elliott Hughes, http://www.jessies.org/~enh/ From enh at jessies.org Tue Jun 2 21:02:48 2009 From: enh at jessies.org (Elliott Hughes) Date: Tue, 2 Jun 2009 21:02:48 -0700 (PDT) Subject: JColorChooser on GTK (GTKColorChooserPanel) In-Reply-To: <4A1D46DB.3040401@sun.com> References: <43951.76.193.119.39.1243292665.squirrel@webmail.jessies.org> <4A1D46DB.3040401@sun.com> Message-ID: <54980.76.193.119.39.1244001768.squirrel@webmail.jessies.org> On Wed, May 27, 2009 06:57, ap153225 wrote: > Hello Elliott > >> Anyway, I have fixes for the first four (marked "[*]" rather than "*"), >> and wondered if there's any interest. > We certainly interested in fixing all that problems > >> Should I raise one bug for the stuff >> I've? Lots of extra bugs for the problems that don't already have bugs? >> One big bug for the stuff I've fixed and lots of little bugs for the >> stuff I've yet to look at? >> >> > One bug for all that stuff is okay, > I can file it for you if you send the description from my earlier mail, slightly reworded in places, plus a few new ones on the end: * Transferring focus out of the "Color name:" field should update the color. * The "Color name:" field should accept X11 color names. * "Color Name:" should be "Color name:". * "R_ed:" should be "_Red:" (mnemonic index). * The absence of a preview panel should imply no horizontal JSeparator "separating" the normal content from the missing preview panel. * Labels and fields should be aligned on their baselines, not against the tops of their GridBagLayout cells. * Spinner labels should be left-aligned. (Sun bug 4943902.) * Spacing between columns of spinners is wrong. (Sun bug 4943902; actually an optical illusion caused by the wrong alignment.) * Spacing above and below the separator between the spinners and the "Color name:" field is wrong. * Focus cycle is H,R,S,G,V,B but should be H,S,V,R,G,B. * The swatch is missing a border. * "Dropper" button is missing (Sun bug 4869100). * H,S,V seem to be percentages in the native dialog, not 0-360, 0-255, 0-255. * The focus indicator on the circle/triangle component is wrong (should be a dotted square border; is a solid circle). * The rendering of the circle/triangle component is horribly aliased; should be smooth. * Use an empty preview panel with GTK+. (Sun bug 6417110.) * Not have a "Reset" button with GTK+. (Sun bug 6417110, 4943902.) * Order the other buttons "Cancel", "OK" (instead of the wrong way round). (Sun bug 6417110.) * Have the "Cancel" and "OK" buttons the same size. (Sun bugs 6417110, 5012459.) * Use standard GTK+ "Cancel" and "OK" icons. (Sun bug 6417110.) * Use standard GTK+ "_Cancel" and "_OK" mnemonics. (Sun bug 6417110, 4943902.) * In the native GTK+ dialog, all (non-label) components have tool tips. * The left-hand swatch should be a drag source (only). * The right-hand swatch should be both a drag source and a drop target. >> Or is the GTK JColorChooser going to be replaced with native code? >> > We might add native dialog support in JDK 7, cool. it would be nice to see more attention to the AWT dialogs, plus a few obviously missing ones (color and font choosers, for example). > but JColorChooser is not gonna be replaced anyway > >> Oh, and do I need to sort out the SCA before I show patches, or just >> before they can be submitted? (I've deliberately not attached anything >> here in case you don't want to see code not covered by an SCA. > That's right, we don't want to see code not covered by a SCA > :-) okay. let me know when you get it (posted today from San Jose) and i'll show you the fixes i have so far. >> I haven't >> filled out the SCA yet because, not living in the 1980s, I don't have >> easy access to either a fax machine or a scanner.) >> > I do hope it won't be a big problem for you to find a scanner, > please find all the information about the SCA here: > https://sca.dev.java.net/ > > > Keep in touch > > > Thanks > alexp > -- Elliott Hughes, http://www.jessies.org/~enh/ From Alexander.Potochkin at Sun.COM Wed Jun 3 11:47:54 2009 From: Alexander.Potochkin at Sun.COM (Alexander Potochkin) Date: Wed, 03 Jun 2009 11:47:54 -0700 Subject: JColorChooser on GTK (GTKColorChooserPanel) In-Reply-To: <54980.76.193.119.39.1244001768.squirrel@webmail.jessies.org> References: <43951.76.193.119.39.1243292665.squirrel@webmail.jessies.org> <4A1D46DB.3040401@sun.com> <54980.76.193.119.39.1244001768.squirrel@webmail.jessies.org> Message-ID: <4A26C55A.70303@sun.com> Hello Elliott Thanks for signing SCA! Lots of Swing team members very busy with the JavaOne conference, so please allow some delays in communication I personally taking couple of weeks for vacation after the conference, will be back with you after that Thanks again alexp > On Wed, May 27, 2009 06:57, ap153225 wrote: > >> Hello Elliott >> >> >>> Anyway, I have fixes for the first four (marked "[*]" rather than "*"), >>> and wondered if there's any interest. >>> >> We certainly interested in fixing all that problems >> >> >>> Should I raise one bug for the stuff >>> I've? Lots of extra bugs for the problems that don't already have bugs? >>> One big bug for the stuff I've fixed and lots of little bugs for the >>> stuff I've yet to look at? >>> >>> >>> >> One bug for all that stuff is okay, >> I can file it for you if you send the description >> > > from my earlier mail, slightly reworded in places, plus a few new ones on > the end: > > * Transferring focus out of the "Color name:" field should update the > color. > > * The "Color name:" field should accept X11 color names. > > * "Color Name:" should be "Color name:". > > * "R_ed:" should be "_Red:" (mnemonic index). > > * The absence of a preview panel should imply no horizontal JSeparator > "separating" the normal content from the missing preview panel. > > * Labels and fields should be aligned on their baselines, not against > the tops of their GridBagLayout cells. > > * Spinner labels should be left-aligned. (Sun bug 4943902.) > > * Spacing between columns of spinners is wrong. (Sun bug 4943902; > actually an optical illusion caused by the wrong alignment.) > > * Spacing above and below the separator between the spinners and the > "Color name:" field is wrong. > > * Focus cycle is H,R,S,G,V,B but should be H,S,V,R,G,B. > > * The swatch is missing a border. > > * "Dropper" button is missing (Sun bug 4869100). > > * H,S,V seem to be percentages in the native dialog, not 0-360, 0-255, 0-255. > > * The focus indicator on the circle/triangle component is wrong (should be > a dotted square border; is a solid circle). > > * The rendering of the circle/triangle component is horribly aliased; > should be smooth. > > * Use an empty preview panel with GTK+. (Sun bug 6417110.) > > * Not have a "Reset" button with GTK+. (Sun bug 6417110, 4943902.) > > * Order the other buttons "Cancel", "OK" (instead of the wrong way round). > (Sun bug 6417110.) > > * Have the "Cancel" and "OK" buttons the same size. (Sun bugs 6417110, > 5012459.) > > * Use standard GTK+ "Cancel" and "OK" icons. (Sun bug 6417110.) > > * Use standard GTK+ "_Cancel" and "_OK" mnemonics. (Sun bug 6417110, > 4943902.) > > * In the native GTK+ dialog, all (non-label) components have tool tips. > > * The left-hand swatch should be a drag source (only). > > * The right-hand swatch should be both a drag source and a drop target. > > >>> Or is the GTK JColorChooser going to be replaced with native code? >>> >>> >> We might add native dialog support in JDK 7, >> > > cool. it would be nice to see more attention to the AWT dialogs, plus a > few obviously missing ones (color and font choosers, for example). > > >> but JColorChooser is not gonna be replaced anyway >> >> >>> Oh, and do I need to sort out the SCA before I show patches, or just >>> before they can be submitted? (I've deliberately not attached anything >>> here in case you don't want to see code not covered by an SCA. >>> >> That's right, we don't want to see code not covered by a SCA >> :-) >> > > okay. let me know when you get it (posted today from San Jose) and i'll > show you the fixes i have so far. > > >>> I haven't >>> filled out the SCA yet because, not living in the 1980s, I don't have >>> easy access to either a fax machine or a scanner.) >>> >>> >> I do hope it won't be a big problem for you to find a scanner, >> please find all the information about the SCA here: >> https://sca.dev.java.net/ >> >> >> Keep in touch >> >> >> Thanks >> alexp >> >> > > > From stijn.debruyckere at luciad.com Wed Jun 10 08:23:21 2009 From: stijn.debruyckere at luciad.com (Stijn Debruyckere) Date: Wed, 10 Jun 2009 17:23:21 +0200 Subject: Background/Foreground colors and Gtk Look and Feel Message-ID: <4A2FCFE9.3000401@luciad.com> Hi, Continuing the discussion of Jan 22, 2009, people seem to think there is no need to adapt the foreground/background colors of say a text field. But how about validation? For example, the background of the 'find' text field of Firefox colors red when the text can't be found. As far as I know, this simple yet powerful feature can't be implemented in Swing if one wants to support multiple look&feels, such as GTK or Nimbus (as setBackground is ignored). Stijn -- Stijn Debruyckere - Project Leader T +32 16 23 95 91 F +32 16 29 34 22 E stijn.debruyckere at luciad.com *LUCIAD* - high performance visualization Wetenschapspark Arenberg | Gaston Geenslaan 9 3001 Leuven | Belgium | www.luciad.com Click to check for upcoming events -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/swing-dev/attachments/20090610/97581b79/attachment.html -------------- next part -------------- A non-text attachment was scrubbed... Name: Signature.gif Type: image/gif Size: 10162 bytes Desc: not available Url : http://mail.openjdk.java.net/pipermail/swing-dev/attachments/20090610/97581b79/attachment.gif From uckelman at nomic.net Wed Jun 10 08:56:37 2009 From: uckelman at nomic.net (Joel Uckelman) Date: Wed, 10 Jun 2009 17:56:37 +0200 Subject: Background/Foreground colors and Gtk Look and Feel In-Reply-To: <4A2FCFE9.3000401@luciad.com> References: <4A2FCFE9.3000401@luciad.com> Message-ID: <20090610155637.4C4DB10095@charybdis.ellipsis.cx> Thus spake Stijn Debruyckere: > > Hi, > > Continuing the discussion of Jan 22, 2009, people seem to think there is > no need to adapt the foreground/background colors of say a text field. > But how about validation? For example, the background of the 'find' > text field of Firefox colors red when the text can't be found. As far > as I know, this simple yet powerful feature can't be implemented in > Swing if one wants to support multiple look&feels, such as GTK or Nimbus > (as setBackground is ignored). > The discussion to which you refer is one I started. At that point, no one was able to say how it's possible to build complex Swing widgets and get the right colors simultaneously, when using LAFs (like GTK) where setBackground is ignored. If someone can provide an answer now, I'd be grateful for it. -- J. From enh at jessies.org Wed Jun 10 12:16:04 2009 From: enh at jessies.org (Elliott Hughes) Date: Wed, 10 Jun 2009 12:16:04 -0700 (PDT) Subject: Background/Foreground colors and Gtk Look and Feel In-Reply-To: References: Message-ID: <48012.216.239.45.4.1244661364.squirrel@webmail.jessies.org> Stijn Debruyckere wrote: > Continuing the discussion of Jan 22, 2009, people seem to think there is > no need to adapt the foreground/background colors of say a text field. But > how about validation? For example, the background of the 'find' text > field of Firefox colors red when the text can't be found. As far as I > know, this simple yet powerful feature can't be implemented in Swing if > one wants to support multiple look&feels, such as GTK or Nimbus (as > setBackground is ignored). yeah, in similar "invalid find" situations, i change the text field's foreground instead. (which does work.) somewhat relatedly, i have several application where i'd like a "selectable label". with the other LAFs, i can use JTextField, but with the GTK LAF, i can't stop it painting its white background and focus ring. (i can get rid of the border, but arguably that looks worse.) real GTK+ applications allow selectable labels (choose "Properties" on any file in Nautilus, for example, and see that you can select the non-bold text in that dialog), though i think it's done by making a label selectable rather than fiddling with a text field to make it look like a label. but in the absence of JLabel.setSelectable, it would be nice to at least be able to make JTextField behave on all platforms. here's my current best effort: public class UneditableTextField extends JTextField { public UneditableTextField() { this(""); } public UneditableTextField(String initialValue) { super(initialValue); // Text fields with setEditable(false) don't look very different on any platform but Win32. // Win32 is the only platform that clearly distinguishes between all the combinations of editable and enabled. // It's sadly unclear that those responsible for the other platforms even understand the distinction. // Although Cocoa makes a overly-subtle visual distinction, Apple's Java doesn't reproduce it. // As a work-around, we use a trick various Mac OS programs use: make the uneditable text fields look like labels. // You lose the visual clue that you can select and copy the text, but that's less important than obscuring the visual clue on editable fields that they're editable. // FIXME: at the moment, we're far too wide when there are lots of processes with access to the terminal. // FIXME: a PTextArea would retain the selection behavior but add wrapping, but we need to change FormPanel first because GridBagLayout won't let us do the right thing when (say) the "dimensions" and "processes" need one line-height each, but "log filename" needs two line-heights. // FIXME: because of the way the GTK+ LAF renders text fields, this looks awful. setOpaque has no effect. See getName for a partial work-around. setBorder(new EmptyBorder(getBorder().getBorderInsets(this))); setOpaque(false); setEditable(false); } public String getName() { // The GTK+ LAF insists on rendering a border unless we're a tree cell editor. So pretend to be a tree cell editor. // This still doesn't look quite right, but it's the best I know how to do, and it's significantly better than doing nothing. return GuiUtilities.isGtk() ? "Tree.cellEditor" : super.getName(); } } -- Elliott Hughes, http://www.jessies.org/~enh/ From fbrunnerlist at gmx.ch Thu Jun 11 06:44:28 2009 From: fbrunnerlist at gmx.ch (Florian Brunner) Date: Thu, 11 Jun 2009 15:44:28 +0200 Subject: [PATCH] 6179357: Generics: JList In-Reply-To: <4A23AF54.1030000@sun.com> References: <200903222003.05081.fbrunnerlist@gmx.ch> <200905171816.37657.fbrunnerlist@gmx.ch> <4A23AF54.1030000@sun.com> Message-ID: <200906111544.29309.fbrunnerlist@gmx.ch> Hi Pavel, no problem, I presumably don't have much time in June anyway. Just tell me when there are some news about the patch. -Florian Am Montag, 1. Juni 2009 schrieb Pavel Porvatov: > Hi Florian, > > I've filed request about changing API according to your fix. > > A couple comments: > 1. Because of J1 approve of changing API can be delayed > > 2. We should generify all subclasses of generified classes and > interfaces in the JDK > > 3. One of our developers Alexander Potochkin suggests the next > generification step: > > --------------- > I'd like to suggest the next generification step > - ComponentUI and descendants > > the fix should be quite simple: > > class ComponentUI { > > public void installUI(C c) { > } > > public void paint(Graphics g, C c) { > } > > // and so on > } > > and then: > > class ButtonUI extends ComponentUI > > it's okay if RadioButtonUI, CheckBoxUI etc... > will inherit AbstractButton as the generic type, > because they cast JComponent to AbstractButton anyway > > class TableUI extends ComponentUI etc... > > note that the JComponent subclasses will not be modified > ------------- > > Regards, Pavel > > > Hi Pavel, > > > > as far as I remember, the problem with > > E[] getSelectedValues() > > > > was, that it is not possible to create a generic array. > > > > As for: > > public E[] getSelectedValues(E[] a) > > > > you can get this array already with > > getSelectedValuesList().toArray(array) > > > > Of course, the other way around would work, too, but since lists should > > generally be preferred to arrays for various reasons (see item 25 of > > Joshua Bloch's book "Effective Java", 2nd edition, for some of them), I > > think we should prefer > > > > List getSelectedValuesList() > > > > over > > > > E[] getSelectedValues(E[] a) > > > > As for deprecating the original getSelectedValues() method: > > It's not absolutly needed, but then we would have 2 methods, which would > > do pretty much the same. This could confuse users, which one to use. By > > deprecating the old one, we tell users that for new code, lists and > > generics are preferred. They still can get an array when needed without > > getting a deprecated warning, by calling one of the toArray-methods. > > > > And since people are complaining, that the Swing API is already bloated > > (eg. see the Swing 2.0 discussions at > > http://kenai.com/projects/swing2/lists ), I think it's a good thing to > > reduce the API by deprecating methods, if there are other methods which > > should be preferred. > > > > -Florian > > > >> Hi Florian, > >> > >> Some time ago we discussed two different ways to add the new method > >> "getSelectedValuesList()". The first one is the current implementation > >> in your fix: > >> > >> 1. public List getSelectedValuesList() > >> Benefits: > >> a. easy to use > >> b. Collection framework is very flexible > >> > >> The second way is: > >> > >> 2. public E[] getSelectedValues(E[] a) > >> Benefits: > >> a. The same pattern used in the java.util.Collection#toArray(T[] a) > >> method > >> b. a little bit easer to port an old code > >> > >> Also a lot of people noticed that there is no need to deprecate the > >> javax.swing.JList#getSelectedValues method because it still can be > >> useful. > >> > >> Any ideas? > >> > >> Regards, Pavel > >> > >>> Hi Pavel, hi Alexander, > >>> > >>> I'm back from holiday. > >>> > >>> What is the status of this patch? Any news? > >>> > >>> -Florian > >>> > >>> Alexander Potochkin schrieb: > >>>> Hello Florian > >>>> > >>>>> Great! :-) > >>>>> > >>>>> In the case of other issues please note that I'm on holiday until the > >>>>> end of next week. > >>>> > >>>> Have a nice holiday! > >>>> > >>>> (I am reviewing the fix right now) > >>>> > >>>> Thanks > >>>> alexp > >>>> > >>>>> -Florian > >>>>> > >>>>> Pavel Porvatov schrieb: > >>>>>> Hi Florian, > >>>>>> > >>>>>>> Hi Pavel, > >>>>>>> > >>>>>>> I agree that we should avoid to mix several different fixes in one > >>>>>>> fix, but since in this fix we change > >>>>>>> > >>>>>>> AbstractListModel to AbstractListModel > >>>>>>> and > >>>>>>> JList(ListModel dataModel) to JList(ListModel dataModel) > >>>>>>> > >>>>>>> I think we should also change usages of AbstractListModel such as > >>>>>>> "this (new AbstractListModel()...)" to "this (new > >>>>>>> AbstractListModel()...)" to avoid warnings. > >>>>>> > >>>>>> Ok, then it will not be a problem. Let's include this change in your > >>>>>> fix. Therefore all my comments are gone and I'm going to start our > >>>>>> internal process to commit your fix. > >>>>>> > >>>>>> Thanks, Pavel. > >>>>>> > >>>>>>> If you don't agree: > >>>>>>> There are several places where I changed the usage of now > >>>>>>> generified classes to the generic variant. Which ones should I > >>>>>>> change back? Only this case? From Pavel.Porvatov at Sun.COM Thu Jun 11 09:26:03 2009 From: Pavel.Porvatov at Sun.COM (Pavel Porvatov) Date: Thu, 11 Jun 2009 20:26:03 +0400 Subject: [PATCH] 6179357: Generics: JList In-Reply-To: <200906111544.29309.fbrunnerlist@gmx.ch> References: <200903222003.05081.fbrunnerlist@gmx.ch> <200905171816.37657.fbrunnerlist@gmx.ch> <4A23AF54.1030000@sun.com> <200906111544.29309.fbrunnerlist@gmx.ch> Message-ID: <4A31301B.3020904@sun.com> Hi Florian, > Hi Pavel, > > no problem, I presumably don't have much time in June anyway. Just tell me when there are some news > about the patch. Sure. Regards, Pavel P.S. Note that I have vacation from 15th till 30th June. > > -Florian > > Am Montag, 1. Juni 2009 schrieb Pavel Porvatov: >> Hi Florian, >> >> I've filed request about changing API according to your fix. >> >> A couple comments: >> 1. Because of J1 approve of changing API can be delayed >> >> 2. We should generify all subclasses of generified classes and >> interfaces in the JDK >> >> 3. One of our developers Alexander Potochkin suggests the next >> generification step: >> >> --------------- >> I'd like to suggest the next generification step >> - ComponentUI and descendants >> >> the fix should be quite simple: >> >> class ComponentUI { >> >> public void installUI(C c) { >> } >> >> public void paint(Graphics g, C c) { >> } >> >> // and so on >> } >> >> and then: >> >> class ButtonUI extends ComponentUI >> >> it's okay if RadioButtonUI, CheckBoxUI etc... >> will inherit AbstractButton as the generic type, >> because they cast JComponent to AbstractButton anyway >> >> class TableUI extends ComponentUI etc... >> >> note that the JComponent subclasses will not be modified >> ------------- >> >> Regards, Pavel >> >>> Hi Pavel, >>> >>> as far as I remember, the problem with >>> E[] getSelectedValues() >>> >>> was, that it is not possible to create a generic array. >>> >>> As for: >>> public E[] getSelectedValues(E[] a) >>> >>> you can get this array already with >>> getSelectedValuesList().toArray(array) >>> >>> Of course, the other way around would work, too, but since lists should >>> generally be preferred to arrays for various reasons (see item 25 of >>> Joshua Bloch's book "Effective Java", 2nd edition, for some of them), I >>> think we should prefer >>> >>> List getSelectedValuesList() >>> >>> over >>> >>> E[] getSelectedValues(E[] a) >>> >>> As for deprecating the original getSelectedValues() method: >>> It's not absolutly needed, but then we would have 2 methods, which would >>> do pretty much the same. This could confuse users, which one to use. By >>> deprecating the old one, we tell users that for new code, lists and >>> generics are preferred. They still can get an array when needed without >>> getting a deprecated warning, by calling one of the toArray-methods. >>> >>> And since people are complaining, that the Swing API is already bloated >>> (eg. see the Swing 2.0 discussions at >>> http://kenai.com/projects/swing2/lists ), I think it's a good thing to >>> reduce the API by deprecating methods, if there are other methods which >>> should be preferred. >>> >>> -Florian >>> >>>> Hi Florian, >>>> >>>> Some time ago we discussed two different ways to add the new method >>>> "getSelectedValuesList()". The first one is the current implementation >>>> in your fix: >>>> >>>> 1. public List getSelectedValuesList() >>>> Benefits: >>>> a. easy to use >>>> b. Collection framework is very flexible >>>> >>>> The second way is: >>>> >>>> 2. public E[] getSelectedValues(E[] a) >>>> Benefits: >>>> a. The same pattern used in the java.util.Collection#toArray(T[] a) >>>> method >>>> b. a little bit easer to port an old code >>>> >>>> Also a lot of people noticed that there is no need to deprecate the >>>> javax.swing.JList#getSelectedValues method because it still can be >>>> useful. >>>> >>>> Any ideas? >>>> >>>> Regards, Pavel >>>> >>>>> Hi Pavel, hi Alexander, >>>>> >>>>> I'm back from holiday. >>>>> >>>>> What is the status of this patch? Any news? >>>>> >>>>> -Florian >>>>> >>>>> Alexander Potochkin schrieb: >>>>>> Hello Florian >>>>>> >>>>>>> Great! :-) >>>>>>> >>>>>>> In the case of other issues please note that I'm on holiday until the >>>>>>> end of next week. >>>>>> Have a nice holiday! >>>>>> >>>>>> (I am reviewing the fix right now) >>>>>> >>>>>> Thanks >>>>>> alexp >>>>>> >>>>>>> -Florian >>>>>>> >>>>>>> Pavel Porvatov schrieb: >>>>>>>> Hi Florian, >>>>>>>> >>>>>>>>> Hi Pavel, >>>>>>>>> >>>>>>>>> I agree that we should avoid to mix several different fixes in one >>>>>>>>> fix, but since in this fix we change >>>>>>>>> >>>>>>>>> AbstractListModel to AbstractListModel >>>>>>>>> and >>>>>>>>> JList(ListModel dataModel) to JList(ListModel dataModel) >>>>>>>>> >>>>>>>>> I think we should also change usages of AbstractListModel such as >>>>>>>>> "this (new AbstractListModel()...)" to "this (new >>>>>>>>> AbstractListModel()...)" to avoid warnings. >>>>>>>> Ok, then it will not be a problem. Let's include this change in your >>>>>>>> fix. Therefore all my comments are gone and I'm going to start our >>>>>>>> internal process to commit your fix. >>>>>>>> >>>>>>>> Thanks, Pavel. >>>>>>>> >>>>>>>>> If you don't agree: >>>>>>>>> There are several places where I changed the usage of now >>>>>>>>> generified classes to the generic variant. Which ones should I >>>>>>>>> change back? Only this case? > > From yuka.kamiya at sun.com Fri Jun 12 15:15:18 2009 From: yuka.kamiya at sun.com (yuka.kamiya at sun.com) Date: Fri, 12 Jun 2009 22:15:18 +0000 Subject: hg: jdk7/swing/jdk: 6850113: Bidi class needs to be updated to support Unicode 5.1 Message-ID: <20090612221534.77148E577@hg.openjdk.java.net> Changeset: 1bbbd0ef5d04 Author: peytoia Date: 2009-06-13 06:43 +0900 URL: http://hg.openjdk.java.net/jdk7/swing/jdk/rev/1bbbd0ef5d04 6850113: Bidi class needs to be updated to support Unicode 5.1 Reviewed-by: okutsu ! make/java/text/FILES_java.gmk ! make/sun/font/FILES_c.gmk ! make/sun/font/Makefile ! make/sun/font/mapfile-vers ! make/sun/font/mapfile-vers.openjdk ! src/share/classes/java/text/Bidi.java + src/share/classes/sun/text/bidi/BidiBase.java + src/share/classes/sun/text/bidi/BidiLine.java + src/share/classes/sun/text/bidi/BidiRun.java ! src/share/classes/sun/text/normalizer/UCharacter.java - src/share/native/sun/font/bidi/cmemory.h - src/share/native/sun/font/bidi/jbidi.c - src/share/native/sun/font/bidi/jbidi.h - src/share/native/sun/font/bidi/ubidi.c - src/share/native/sun/font/bidi/ubidi.h - src/share/native/sun/font/bidi/ubidiimp.h - src/share/native/sun/font/bidi/ubidiln.c - src/share/native/sun/font/bidi/uchardir.c - src/share/native/sun/font/bidi/uchardir.h - src/share/native/sun/font/bidi/utypes.h ! src/share/native/sun/font/layout/LETypes.h ! test/java/text/Bidi/BidiBug.java + test/java/text/Bidi/BidiConformance.java ! test/java/text/Bidi/BidiEmbeddingTest.java + test/java/text/Bidi/Bug6850113.java From langel at redhat.com Tue Jun 16 08:45:35 2009 From: langel at redhat.com (Lillian Angel) Date: Tue, 16 Jun 2009 11:45:35 -0400 Subject: Word wrap broken in JTextArea Message-ID: <4A37BE1F.4030300@redhat.com> Hi, I posted a bug report, including a testcase and webrev here for review: https://bugs.openjdk.java.net/show_bug.cgi?id=100073 Cheers, Lillian From gnu_andrew at member.fsf.org Wed Jun 17 08:39:40 2009 From: gnu_andrew at member.fsf.org (Andrew John Hughes) Date: Wed, 17 Jun 2009 16:39:40 +0100 Subject: Word wrap broken in JTextArea In-Reply-To: <4A37BE1F.4030300@redhat.com> References: <4A37BE1F.4030300@redhat.com> Message-ID: <17c6771e0906170839k3ca998a3tcbc93eaebd882f96@mail.gmail.com> 2009/6/16 Lillian Angel : > Hi, > > I posted a bug report, including a testcase and webrev here for review: > > https://bugs.openjdk.java.net/show_bug.cgi?id=100073 > > > Cheers, > Lillian > I can confirm we still apply this fix to OpenJDK7 too, so it's needed for both repos. Any comments? Can we push this fix? -- Andrew :-) Free Java Software Engineer Red Hat, Inc. (http://www.redhat.com) Support Free Java! Contribute to GNU Classpath and the OpenJDK http://www.gnu.org/software/classpath http://openjdk.java.net PGP Key: 94EFD9D8 (http://subkeys.pgp.net) Fingerprint: F8EF F1EA 401E 2E60 15FA 7927 142C 2591 94EF D9D8 From fbrunnerlist at gmx.ch Fri Jun 19 03:28:54 2009 From: fbrunnerlist at gmx.ch (Florian Brunner) Date: Fri, 19 Jun 2009 12:28:54 +0200 Subject: [PATCH] 6179357: Generics: JList In-Reply-To: <4A31301B.3020904@sun.com> References: <200903222003.05081.fbrunnerlist@gmx.ch> <200906111544.29309.fbrunnerlist@gmx.ch> <4A31301B.3020904@sun.com> Message-ID: <200906191228.55101.fbrunnerlist@gmx.ch> Hi Pavel, enjoy your holidays! My holidays start from 27th June till 8th July, so we can continue the work on generics afterwards again. -Florian Am Donnerstag, 11. Juni 2009 schrieb Pavel Porvatov: > Hi Florian, > > > Hi Pavel, > > > > no problem, I presumably don't have much time in June anyway. Just tell > > me when there are some news about the patch. > > Sure. > > Regards, Pavel > > P.S. Note that I have vacation from 15th till 30th June. > > > -Florian > > > > Am Montag, 1. Juni 2009 schrieb Pavel Porvatov: > >> Hi Florian, > >> > >> I've filed request about changing API according to your fix. > >> > >> A couple comments: > >> 1. Because of J1 approve of changing API can be delayed > >> > >> 2. We should generify all subclasses of generified classes and > >> interfaces in the JDK > >> > >> 3. One of our developers Alexander Potochkin suggests the next > >> generification step: > >> > >> --------------- > >> I'd like to suggest the next generification step > >> - ComponentUI and descendants > >> > >> the fix should be quite simple: > >> > >> class ComponentUI { > >> > >> public void installUI(C c) { > >> } > >> > >> public void paint(Graphics g, C c) { > >> } > >> > >> // and so on > >> } > >> > >> and then: > >> > >> class ButtonUI extends ComponentUI > >> > >> it's okay if RadioButtonUI, CheckBoxUI etc... > >> will inherit AbstractButton as the generic type, > >> because they cast JComponent to AbstractButton anyway > >> > >> class TableUI extends ComponentUI etc... > >> > >> note that the JComponent subclasses will not be modified > >> ------------- > >> > >> Regards, Pavel > >> > >>> Hi Pavel, > >>> > >>> as far as I remember, the problem with > >>> E[] getSelectedValues() > >>> > >>> was, that it is not possible to create a generic array. > >>> > >>> As for: > >>> public E[] getSelectedValues(E[] a) > >>> > >>> you can get this array already with > >>> getSelectedValuesList().toArray(array) > >>> > >>> Of course, the other way around would work, too, but since lists should > >>> generally be preferred to arrays for various reasons (see item 25 of > >>> Joshua Bloch's book "Effective Java", 2nd edition, for some of them), I > >>> think we should prefer > >>> > >>> List getSelectedValuesList() > >>> > >>> over > >>> > >>> E[] getSelectedValues(E[] a) > >>> > >>> As for deprecating the original getSelectedValues() method: > >>> It's not absolutly needed, but then we would have 2 methods, which > >>> would do pretty much the same. This could confuse users, which one to > >>> use. By deprecating the old one, we tell users that for new code, lists > >>> and generics are preferred. They still can get an array when needed > >>> without getting a deprecated warning, by calling one of the > >>> toArray-methods. > >>> > >>> And since people are complaining, that the Swing API is already bloated > >>> (eg. see the Swing 2.0 discussions at > >>> http://kenai.com/projects/swing2/lists ), I think it's a good thing to > >>> reduce the API by deprecating methods, if there are other methods which > >>> should be preferred. > >>> > >>> -Florian > >>> > >>>> Hi Florian, > >>>> > >>>> Some time ago we discussed two different ways to add the new method > >>>> "getSelectedValuesList()". The first one is the current implementation > >>>> in your fix: > >>>> > >>>> 1. public List getSelectedValuesList() > >>>> Benefits: > >>>> a. easy to use > >>>> b. Collection framework is very flexible > >>>> > >>>> The second way is: > >>>> > >>>> 2. public E[] getSelectedValues(E[] a) > >>>> Benefits: > >>>> a. The same pattern used in the java.util.Collection#toArray(T[] a) > >>>> method > >>>> b. a little bit easer to port an old code > >>>> > >>>> Also a lot of people noticed that there is no need to deprecate the > >>>> javax.swing.JList#getSelectedValues method because it still can be > >>>> useful. > >>>> > >>>> Any ideas? > >>>> > >>>> Regards, Pavel > >>>> > >>>>> Hi Pavel, hi Alexander, > >>>>> > >>>>> I'm back from holiday. > >>>>> > >>>>> What is the status of this patch? Any news? > >>>>> > >>>>> -Florian > >>>>> > >>>>> Alexander Potochkin schrieb: > >>>>>> Hello Florian > >>>>>> > >>>>>>> Great! :-) > >>>>>>> > >>>>>>> In the case of other issues please note that I'm on holiday until > >>>>>>> the end of next week. > >>>>>> > >>>>>> Have a nice holiday! > >>>>>> > >>>>>> (I am reviewing the fix right now) > >>>>>> > >>>>>> Thanks > >>>>>> alexp > >>>>>> > >>>>>>> -Florian > >>>>>>> > >>>>>>> Pavel Porvatov schrieb: > >>>>>>>> Hi Florian, > >>>>>>>> > >>>>>>>>> Hi Pavel, > >>>>>>>>> > >>>>>>>>> I agree that we should avoid to mix several different fixes in > >>>>>>>>> one fix, but since in this fix we change > >>>>>>>>> > >>>>>>>>> AbstractListModel to AbstractListModel > >>>>>>>>> and > >>>>>>>>> JList(ListModel dataModel) to JList(ListModel dataModel) > >>>>>>>>> > >>>>>>>>> I think we should also change usages of AbstractListModel such > >>>>>>>>> as "this (new AbstractListModel()...)" to "this (new > >>>>>>>>> AbstractListModel()...)" to avoid warnings. > >>>>>>>> > >>>>>>>> Ok, then it will not be a problem. Let's include this change in > >>>>>>>> your fix. Therefore all my comments are gone and I'm going to > >>>>>>>> start our internal process to commit your fix. > >>>>>>>> > >>>>>>>> Thanks, Pavel. > >>>>>>>> > >>>>>>>>> If you don't agree: > >>>>>>>>> There are several places where I changed the usage of now > >>>>>>>>> generified classes to the generic variant. Which ones should I > >>>>>>>>> change back? Only this case? From langel at redhat.com Fri Jun 19 12:22:55 2009 From: langel at redhat.com (Lillian Angel) Date: Fri, 19 Jun 2009 15:22:55 -0400 Subject: Word wrap broken in JTextArea In-Reply-To: <17c6771e0906170839k3ca998a3tcbc93eaebd882f96@mail.gmail.com> References: <4A37BE1F.4030300@redhat.com> <17c6771e0906170839k3ca998a3tcbc93eaebd882f96@mail.gmail.com> Message-ID: <4A3BE58F.70608@redhat.com> Andrew John Hughes wrote: > 2009/6/16 Lillian Angel : > >> Hi, >> >> I posted a bug report, including a testcase and webrev here for review: >> >> https://bugs.openjdk.java.net/show_bug.cgi?id=100073 >> >> >> Cheers, >> Lillian >> >> > > > I can confirm we still apply this fix to OpenJDK7 too, so it's needed > for both repos. > > Any comments? Can we push this fix? Ping... From chrriis at gmail.com Sat Jun 20 06:52:08 2009 From: chrriis at gmail.com (Christopher Deckers) Date: Sat, 20 Jun 2009 15:52:08 +0200 Subject: Lw/Hw mixing vs revalidate()/validate()/invalidate() Message-ID: <4f9903f0906200652w1cb1111bvd11121a3f0fad10c@mail.gmail.com> Hi all, I was trying out the new Lw/Hw mixing capabilities and I found a big issue with it: for performance reasons, it does not calculate the shapes of native components when the hierarchy is not valid. The solution is not as simple as ensuring that the hierarchy is valid. Let me explain. I have a JFrame, with a JSplitPane, which contains a panel, to which I dynamically remove and add some content to basically change one side of the split pane. That panel may contain a native component. The way I do it is: panel.removeAll(); panel.add(someNewContent); panel.revalidate(); panel.repaint(); The invalidation will bubble up to the window ancestor but the validation will only be done from the split pane, because it is a validate root. This means that if someNewContent has a native component in its hierarchy, its Lw/Hw clip will not be set. In this example, the hierarchy does not obey the contract to be valid, but it does not need to: nothing has changed in the parent hierarchy of the split pane (no layout to recompute), and nothing was added or removed. For me, it is unclear whether the fix should be in AWT or Swing code. Originally after some discussions, we ended up with: http://bugs.sun.com/view_bug.do?bug_id=6852592 but I am not convinced it is the right approach now. This issue is very important when integrating native components. A lot of applications have this type of behavior (like a selection in a tree shows various panels on the right side) and these dynamic additions do not necessarily know whether a native component is present (using component factories, 3rd party libraries, etc). This means the Lw/Hw mixing won't work in many Swing applications and developers will have a hard time understanding the reason. I can think of several fixes, though there may be other ways: 1. Have an invalid flag and an invalidForHwMixing flag. A call to invalidate() would set both up the hierarchy until a validate root is reach, then only the invalid flag would be set up until the root window. A call to validate would of course clear both. The clip algorithm would consider this invalidForHwMixing flag instead of the invalid flag. 2. Make it so that revalidate does not mark the ancestors of the validate root invalid. I wonder if this is a sensible approach though. 3. Do not take the invalid flag into consideration for the Lw/Hw clip, but defer and aggregate (coalesce) shape calculations requests. This may not seem as nice, but this is the approach I took in my native integration project [1] as I am outside the JRE. Note that I CC the AWT list. Cheers, -Christopher [1] DJ Native Swing: http://djproject.sourceforge.net/ns/ - 0.9.9 preview on SourceForge works with 6u14 by deactivating Sun's mixing. From Artem.Ananiev at Sun.COM Sun Jun 21 19:38:08 2009 From: Artem.Ananiev at Sun.COM (Artem Ananiev) Date: Mon, 22 Jun 2009 06:38:08 +0400 Subject: Lw/Hw mixing vs revalidate()/validate()/invalidate() In-Reply-To: <4f9903f0906200652w1cb1111bvd11121a3f0fad10c@mail.gmail.com> References: <4f9903f0906200652w1cb1111bvd11121a3f0fad10c@mail.gmail.com> Message-ID: <4A3EEE90.5090802@sun.com> Hi, Christopher, thanks for raising this issue again. AWT and Swing teams had a numerous disputes about (in)validation of lightweight/heavyweight components, and the result is the RFE you're referring to: 6852592. I'd be personally fine with another approach: don't traverse up all the parents of the components and check if they all are valid as it's done now. Instead, we can find the top-most valid container and perform the mixing for all its children only. See some more comments below. Christopher Deckers wrote: > Hi all, > > I was trying out the new Lw/Hw mixing capabilities and I found a big > issue with it: for performance reasons, it does not calculate the > shapes of native components when the hierarchy is not valid. > > The solution is not as simple as ensuring that the hierarchy is valid. > Let me explain. > I have a JFrame, with a JSplitPane, which contains a panel, to which I > dynamically remove and add some content to basically change one side > of the split pane. That panel may contain a native component. The way > I do it is: > panel.removeAll(); > panel.add(someNewContent); > panel.revalidate(); > panel.repaint(); > > The invalidation will bubble up to the window ancestor but the > validation will only be done from the split pane, because it is a > validate root. This means that if someNewContent has a native > component in its hierarchy, its Lw/Hw clip will not be set. > In this example, the hierarchy does not obey the contract to be valid, > but it does not need to: nothing has changed in the parent hierarchy > of the split pane (no layout to recompute), and nothing was added or > removed. > > For me, it is unclear whether the fix should be in AWT or Swing code. > Originally after some discussions, we ended up with: > http://bugs.sun.com/view_bug.do?bug_id=6852592 > but I am not convinced it is the right approach now. > > This issue is very important when integrating native components. A lot > of applications have this type of behavior (like a selection in a tree > shows various panels on the right side) and these dynamic additions do > not necessarily know whether a native component is present (using > component factories, 3rd party libraries, etc). This means the Lw/Hw > mixing won't work in many Swing applications and developers will have > a hard time understanding the reason. > > I can think of several fixes, though there may be other ways: > 1. Have an invalid flag and an invalidForHwMixing flag. A call to > invalidate() would set both up the hierarchy until a validate root is > reach, then only the invalid flag would be set up until the root > window. A call to validate would of course clear both. The clip > algorithm would consider this invalidForHwMixing flag instead of the > invalid flag. HW/LW components mixing is considered to be completely transparent for the developers. That's why I think we shouldn't introduce any new (public) API to support it. And introducing a new flag would make our code even harder to understand. > 2. Make it so that revalidate does not mark the ancestors of the > validate root invalid. I wonder if this is a sensible approach though. This is roughly what is described in 6852592. > 3. Do not take the invalid flag into consideration for the Lw/Hw clip, > but defer and aggregate (coalesce) shape calculations requests. This > may not seem as nice, but this is the approach I took in my native > integration project [1] as I am outside the JRE. This would be a fine approach for Swing code, but currently hw/lw mixing is implemented at AWT side... Thanks, Artem > Note that I CC the AWT list. > > Cheers, > -Christopher > > [1] DJ Native Swing: http://djproject.sourceforge.net/ns/ - 0.9.9 > preview on SourceForge works with 6u14 by deactivating Sun's mixing. From Alexander.Potochkin at Sun.COM Mon Jun 22 06:46:32 2009 From: Alexander.Potochkin at Sun.COM (Alexander Potochkin) Date: Mon, 22 Jun 2009 17:46:32 +0400 Subject: Background/Foreground colors and Gtk Look and Feel In-Reply-To: <20090610155637.4C4DB10095@charybdis.ellipsis.cx> References: <4A2FCFE9.3000401@luciad.com> <20090610155637.4C4DB10095@charybdis.ellipsis.cx> Message-ID: <4A3F8B38.6080006@sun.com> Hello Gentlemen The truth is that L&F can completely ignore the background and foreground properties see JComponent.setBackground() javadoc: * It is up to the look and feel to honor this property, some may * choose to ignore it. So for reliable implementation I'd recommend to choose another technique You may be interested in this blog http://polygoncell.blogspot.com/2008/07/validation-module-for-swing-application.html Thanks alexp > Thus spake Stijn Debruyckere: >> Hi, >> >> Continuing the discussion of Jan 22, 2009, people seem to think there is >> no need to adapt the foreground/background colors of say a text field. >> But how about validation? For example, the background of the 'find' >> text field of Firefox colors red when the text can't be found. As far >> as I know, this simple yet powerful feature can't be implemented in >> Swing if one wants to support multiple look&feels, such as GTK or Nimbus >> (as setBackground is ignored). >> > > The discussion to which you refer is one I started. At that point, no one > was able to say how it's possible to build complex Swing widgets and get > the right colors simultaneously, when using LAFs (like GTK) where > setBackground is ignored. If someone can provide an answer now, I'd be > grateful for it. > From peter.zhelezniakov at sun.com Mon Jun 22 07:14:20 2009 From: peter.zhelezniakov at sun.com (peter.zhelezniakov at sun.com) Date: Mon, 22 Jun 2009 14:14:20 +0000 Subject: hg: jdk7/swing/jdk: 6849277: Nimbus L&F: lots of painter classes were added to JDK7 as public Message-ID: <20090622141450.EC89FEE2C@hg.openjdk.java.net> Changeset: 743021a4938c Author: peterz Date: 2009-06-22 18:08 +0400 URL: http://hg.openjdk.java.net/jdk7/swing/jdk/rev/743021a4938c 6849277: Nimbus L&F: lots of painter classes were added to JDK7 as public Reviewed-by: malenkov ! src/share/classes/javax/swing/plaf/nimbus/Defaults.template ! src/share/classes/javax/swing/plaf/nimbus/PainterImpl.template From peter.zhelezniakov at sun.com Tue Jun 23 01:34:38 2009 From: peter.zhelezniakov at sun.com (peter.zhelezniakov at sun.com) Date: Tue, 23 Jun 2009 08:34:38 +0000 Subject: hg: jdk7/swing/jdk: 6844273: jdk/make/docs/CORE_PKGS.gmk does not list Nimbus Message-ID: <20090623083450.30715EEDA@hg.openjdk.java.net> Changeset: ce347002bbd9 Author: peterz Date: 2009-06-23 12:24 +0400 URL: http://hg.openjdk.java.net/jdk7/swing/jdk/rev/ce347002bbd9 6844273: jdk/make/docs/CORE_PKGS.gmk does not list Nimbus Reviewed-by: prr ! make/docs/CORE_PKGS.gmk ! src/share/classes/javax/swing/plaf/nimbus/package.html From peter.zhelezniakov at sun.com Tue Jun 23 01:44:50 2009 From: peter.zhelezniakov at sun.com (peter.zhelezniakov at sun.com) Date: Tue, 23 Jun 2009 08:44:50 +0000 Subject: hg: jdk7/swing/langtools: 6844273: jdk/make/docs/CORE_PKGS.gmk does not list Nimbus Message-ID: <20090623084452.5AB97EEDF@hg.openjdk.java.net> Changeset: e4a1c76c1abb Author: peterz Date: 2009-06-23 12:24 +0400 URL: http://hg.openjdk.java.net/jdk7/swing/langtools/rev/e4a1c76c1abb 6844273: jdk/make/docs/CORE_PKGS.gmk does not list Nimbus Reviewed-by: prr ! src/share/classes/com/sun/tools/javac/resources/legacy.properties From Anthony.Petrov at Sun.COM Tue Jun 23 05:56:40 2009 From: Anthony.Petrov at Sun.COM (Anthony Petrov) Date: Tue, 23 Jun 2009 16:56:40 +0400 Subject: Lw/Hw mixing vs revalidate()/validate()/invalidate() In-Reply-To: <4A3EEE90.5090802@sun.com> References: <4f9903f0906200652w1cb1111bvd11121a3f0fad10c@mail.gmail.com> <4A3EEE90.5090802@sun.com> Message-ID: <4A40D108.5080702@sun.com> On 06/22/2009 06:38 AM, Artem Ananiev wrote: > I'd be personally fine with another approach: don't traverse up all the > parents of the components and check if they all are valid as it's done > now. Instead, we can find the top-most valid container and perform the > mixing for all its children only. Could you elaborate on this proposal? >> 1. Have an invalid flag and an invalidForHwMixing flag. A call to >> invalidate() would set both up the hierarchy until a validate root is >> reach, then only the invalid flag would be set up until the root >> window. A call to validate would of course clear both. The clip >> algorithm would consider this invalidForHwMixing flag instead of the >> invalid flag. > > HW/LW components mixing is considered to be completely transparent for > the developers. That's why I think we shouldn't introduce any new > (public) API to support it. And introducing a new flag would make our > code even harder to understand. Whilst I agree that adding a new flag is a bad idea from the code readability point of view, I want to mention that the flag must not be public at all. If we choose to implement this solution, the flag might be private/AWTAccessor-accessible. >> 2. Make it so that revalidate does not mark the ancestors of the >> validate root invalid. I wonder if this is a sensible approach though. > > This is roughly what is described in 6852592. This solution seems to be compatible with how Swing developers used to write their code: calling revalidate() after layout-related information changes is a known requirement. So modifying the method as suggested in the RFE description would make all existing Swing applications mixing-friendly - should they ever embed a hw component. But if they do not embed anything hw, their behavior and performance should not be greatly affected. >> 3. Do not take the invalid flag into consideration for the Lw/Hw clip, >> but defer and aggregate (coalesce) shape calculations requests. This Well, actually watching the 'valid' flag is a kind of deferring implemented right now. But obviously it needs a better trigger. .validate() works, but is not convenient. Hence the discussion. -- best regards, Anthony From sergey.malenkov at sun.com Wed Jun 24 02:58:46 2009 From: sergey.malenkov at sun.com (sergey.malenkov at sun.com) Date: Wed, 24 Jun 2009 09:58:46 +0000 Subject: hg: jdk7/swing/jdk: 6852574: EnumPersistenceDelegate fails to persist instances with blocks Message-ID: <20090624095858.37E8BEF39@hg.openjdk.java.net> Changeset: b75fc6019d5f Author: malenkov Date: 2009-06-24 13:59 +0400 URL: http://hg.openjdk.java.net/jdk7/swing/jdk/rev/b75fc6019d5f 6852574: EnumPersistenceDelegate fails to persist instances with blocks Reviewed-by: peterz ! src/share/classes/java/beans/MetaData.java + test/java/beans/XMLEncoder/Test6852574.java From sergey.malenkov at sun.com Wed Jun 24 06:43:55 2009 From: sergey.malenkov at sun.com (sergey.malenkov at sun.com) Date: Wed, 24 Jun 2009 13:43:55 +0000 Subject: hg: jdk7/swing/jdk: 6737700: api/javax_swing/table/DefaultTableCellRenderer/index.html#getset:DefaultTableCellRenderer Message-ID: <20090624134407.EADB3EF83@hg.openjdk.java.net> Changeset: 404a13b063f9 Author: malenkov Date: 2009-06-24 17:45 +0400 URL: http://hg.openjdk.java.net/jdk7/swing/jdk/rev/404a13b063f9 6737700: api/javax_swing/table/DefaultTableCellRenderer/index.html#getset:DefaultTableCellRenderer Reviewed-by: alexp ! src/share/classes/javax/swing/table/DefaultTableCellRenderer.java From langel at redhat.com Wed Jun 24 07:53:36 2009 From: langel at redhat.com (Lillian Angel) Date: Wed, 24 Jun 2009 10:53:36 -0400 Subject: Word wrap broken in JTextArea In-Reply-To: <4A3BE58F.70608@redhat.com> References: <4A37BE1F.4030300@redhat.com> <17c6771e0906170839k3ca998a3tcbc93eaebd882f96@mail.gmail.com> <4A3BE58F.70608@redhat.com> Message-ID: <4A423DF0.8050401@redhat.com> Lillian Angel wrote: > Andrew John Hughes wrote: >> 2009/6/16 Lillian Angel : >> >>> Hi, >>> >>> I posted a bug report, including a testcase and webrev here for review: >>> >>> https://bugs.openjdk.java.net/show_bug.cgi?id=100073 >>> >>> >>> Cheers, >>> Lillian >>> >>> >> >> >> I can confirm we still apply this fix to OpenJDK7 too, so it's needed >> for both repos. >> >> Any comments? Can we push this fix? > > > > Ping... > > Can someone please review this? Cheers, Lillian From Alexander.Potochkin at Sun.COM Wed Jun 24 07:50:38 2009 From: Alexander.Potochkin at Sun.COM (Alexander Potochkin) Date: Wed, 24 Jun 2009 18:50:38 +0400 Subject: Word wrap broken in JTextArea In-Reply-To: <4A423DF0.8050401@redhat.com> References: <4A37BE1F.4030300@redhat.com> <17c6771e0906170839k3ca998a3tcbc93eaebd882f96@mail.gmail.com> <4A3BE58F.70608@redhat.com> <4A423DF0.8050401@redhat.com> Message-ID: <4A423D3E.1010003@sun.com> Hello Lillian I am sorry for delay, most of the people just returned from vacations the fix will be reviewed shortly! Thanks for your support alexp > Lillian Angel wrote: >> Andrew John Hughes wrote: >>> 2009/6/16 Lillian Angel : >>> >>>> Hi, >>>> >>>> I posted a bug report, including a testcase and webrev here for review: >>>> >>>> https://bugs.openjdk.java.net/show_bug.cgi?id=100073 >>>> >>>> >>>> Cheers, >>>> Lillian >>>> >>>> >>> >>> >>> I can confirm we still apply this fix to OpenJDK7 too, so it's needed >>> for both repos. >>> >>> Any comments? Can we push this fix? >> >> >> >> Ping... >> >> > > > Can someone please review this? > > > Cheers, > Lillian From yuka.kamiya at sun.com Wed Jun 24 15:55:53 2009 From: yuka.kamiya at sun.com (yuka.kamiya at sun.com) Date: Wed, 24 Jun 2009 22:55:53 +0000 Subject: hg: jdk7/swing/jdk: 6853792: test/java/text/Bidi/Bug6850113.java compilation error Message-ID: <20090624225605.708F2EFF2@hg.openjdk.java.net> Changeset: e006119341de Author: peytoia Date: 2009-06-25 07:38 +0900 URL: http://hg.openjdk.java.net/jdk7/swing/jdk/rev/e006119341de 6853792: test/java/text/Bidi/Bug6850113.java compilation error Reviewed-by: okutsu ! test/java/text/Bidi/Bug6850113.java From yuri.nesterenko at sun.com Thu Jun 25 01:47:19 2009 From: yuri.nesterenko at sun.com (yuri.nesterenko at sun.com) Date: Thu, 25 Jun 2009 08:47:19 +0000 Subject: hg: jdk7/swing: 13 new changesets Message-ID: <20090625084719.E2F70E06C@hg.openjdk.java.net> Changeset: 0d76c4da605f Author: vasya Date: 2009-05-14 10:57 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/rev/0d76c4da605f Added tag jdk7-b59 for changeset 030142474602 ! .hgtags Changeset: a942ea653d97 Author: aph Date: 2009-04-17 15:37 +0100 URL: http://hg.openjdk.java.net/jdk7/swing/rev/a942ea653d97 6829575: 100028: Debug information is incomplete or missing Summary: Enable debugging in many places Reviewed-by: ohair Contributed-by: Andrew Haley ! make/sanity-rules.gmk Changeset: f5ab6d6ae4b1 Author: xdono Date: 2009-05-07 10:30 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/rev/f5ab6d6ae4b1 Merge - make/jprt.config Changeset: 37fad8722d92 Author: ohair Date: 2009-03-26 16:46 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/rev/37fad8722d92 6822913: Consolidate make/jprt.config files, let JPRT manage this file make it optional in repos Reviewed-by: tbell - make/jprt.config Changeset: b284e021293c Author: ohair Date: 2009-05-08 16:40 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/rev/b284e021293c Merge Changeset: 39565502682c Author: ohair Date: 2009-05-15 13:27 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/rev/39565502682c Merge Changeset: 472c21584cfd Author: xdono Date: 2009-06-11 10:54 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/rev/472c21584cfd Added tag jdk7-b60 for changeset 39565502682c ! .hgtags Changeset: 68836ec8bcc7 Author: xdono Date: 2009-06-18 13:05 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/rev/68836ec8bcc7 Added tag jdk7-b61 for changeset 472c21584cfd ! .hgtags Changeset: 54d14906940b Author: jjg Date: 2009-05-20 14:02 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/rev/54d14906940b 6827026: Change javac source and target default to 7 Reviewed-by: darcy, ohair ! make/Defs-internal.gmk Changeset: 2734c0deab69 Author: tbell Date: 2009-06-11 21:09 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/rev/2734c0deab69 Merge Changeset: e84b527d8be8 Author: tbell Date: 2009-06-21 23:49 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/rev/e84b527d8be8 Merge Changeset: 60b818e5e4f9 Author: andrew Date: 2009-06-17 20:53 +0100 URL: http://hg.openjdk.java.net/jdk7/swing/rev/60b818e5e4f9 6851515: awt_p.h incorporates a chunk of the XRender header Summary: Use XRender header directly rather than copying chunks locally Reviewed-by: anthony, ohair ! README-builds.html Changeset: c7ed15ab92ce Author: yan Date: 2009-06-23 23:08 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/rev/c7ed15ab92ce Merge From yuri.nesterenko at sun.com Thu Jun 25 01:52:49 2009 From: yuri.nesterenko at sun.com (yuri.nesterenko at sun.com) Date: Thu, 25 Jun 2009 08:52:49 +0000 Subject: hg: jdk7/swing/corba: 11 new changesets Message-ID: <20090625085258.E377DE075@hg.openjdk.java.net> Changeset: e9ba2b962ddf Author: vasya Date: 2009-05-14 10:57 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/corba/rev/e9ba2b962ddf Added tag jdk7-b59 for changeset 7e6b2b55c00c ! .hgtags Changeset: 7b47536c234e Author: ohair Date: 2009-03-26 16:47 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/corba/rev/7b47536c234e 6822374: Windows: detect X64 when PROCESSOR_IDENTIFIER contains EM64T or Intel64 6822913: Consolidate make/jprt.config files, let JPRT manage this file make it optional in repos Reviewed-by: tbell ! make/common/shared/Platform.gmk - make/jprt.config Changeset: 39aa6ae82075 Author: ohair Date: 2009-05-08 16:42 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/corba/rev/39aa6ae82075 Merge Changeset: da27d54e06bd Author: ohair Date: 2009-05-15 13:18 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/corba/rev/da27d54e06bd Merge Changeset: 5dcbe748e580 Author: ohair Date: 2009-05-19 17:38 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/corba/rev/5dcbe748e580 6843041: Remove duplicate README files in repositories (make/README) Reviewed-by: robilad - make/README Changeset: f1e1cccbd13a Author: ohair Date: 2009-05-19 18:09 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/corba/rev/f1e1cccbd13a 6733313: corba build warnings: /bin/sh: gcc: not found Reviewed-by: tbell ! make/common/shared/Compiler-gcc.gmk ! make/common/shared/Compiler-sun.gmk Changeset: e906b16a12a9 Author: xdono Date: 2009-06-11 10:54 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/corba/rev/e906b16a12a9 Added tag jdk7-b60 for changeset f1e1cccbd13a ! .hgtags Changeset: c73934e09f00 Author: xdono Date: 2009-06-18 13:05 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/corba/rev/c73934e09f00 Added tag jdk7-b61 for changeset e906b16a12a9 ! .hgtags Changeset: 2752d8bd4142 Author: jjg Date: 2009-05-20 13:41 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/corba/rev/2752d8bd4142 6827026: Change javac source and target default to 7 Reviewed-by: darcy, ohair ! make/Makefile Changeset: 23f2c435056b Author: tbell Date: 2009-06-11 21:11 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/corba/rev/23f2c435056b Merge Changeset: 65b66117dbd7 Author: tbell Date: 2009-06-21 23:50 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/corba/rev/65b66117dbd7 Merge From yuka.kamiya at sun.com Thu Jun 25 01:53:32 2009 From: yuka.kamiya at sun.com (yuka.kamiya at sun.com) Date: Thu, 25 Jun 2009 08:53:32 +0000 Subject: hg: jdk7/swing/jdk: 6609750: [Fmt-De] SimpleDateFormat.format() doesn't handle pattern "y" correctly Message-ID: <20090625085354.B33F1E076@hg.openjdk.java.net> Changeset: d6f2dd2bd8d0 Author: peytoia Date: 2009-06-25 17:37 +0900 URL: http://hg.openjdk.java.net/jdk7/swing/jdk/rev/d6f2dd2bd8d0 6609750: [Fmt-De] SimpleDateFormat.format() doesn't handle pattern "y" correctly Reviewed-by: okutsu ! src/share/classes/java/text/SimpleDateFormat.java + test/java/text/Format/DateFormat/Bug6609750.java From yuri.nesterenko at sun.com Thu Jun 25 02:00:39 2009 From: yuri.nesterenko at sun.com (yuri.nesterenko at sun.com) Date: Thu, 25 Jun 2009 09:00:39 +0000 Subject: hg: jdk7/swing/hotspot: 39 new changesets Message-ID: <20090625090153.5A91EE07D@hg.openjdk.java.net> Changeset: aa0c48844632 Author: vasya Date: 2009-05-14 10:57 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/hotspot/rev/aa0c48844632 Added tag jdk7-b59 for changeset c55be0c7bd32 ! .hgtags Changeset: 5d4dd2f5f6a1 Author: aph Date: 2009-04-17 15:50 +0100 URL: http://hg.openjdk.java.net/jdk7/swing/hotspot/rev/5d4dd2f5f6a1 6829575: 100028: Debug information is incomplete or missing Summary: Enable debugging in many places Reviewed-by: ohair Contributed-by: Andrew Haley ! make/linux/makefiles/gcc.make ! make/linux/makefiles/jsig.make ! make/linux/makefiles/saproc.make Changeset: 7a485bc4da16 Author: xdono Date: 2009-05-07 10:30 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/hotspot/rev/7a485bc4da16 Merge Changeset: 116b019a3961 Author: ohair Date: 2009-05-08 14:33 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/hotspot/rev/116b019a3961 6839126: Type error found by newer windows compiler Reviewed-by: never, kvn ! src/share/vm/adlc/filebuff.hpp Changeset: f5ee65f94d9a Author: ohair Date: 2009-05-15 13:41 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/hotspot/rev/f5ee65f94d9a Merge - make/jprt.config ! make/linux/makefiles/gcc.make ! make/linux/makefiles/jsig.make ! make/linux/makefiles/saproc.make Changeset: a77eddcd510c Author: ohair Date: 2009-05-19 17:40 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/hotspot/rev/a77eddcd510c 6843041: Remove duplicate README files in repositories (make/README) Reviewed-by: robilad - make/README Changeset: 86092459c54d Author: xdono Date: 2009-06-11 10:54 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/hotspot/rev/86092459c54d Added tag jdk7-b60 for changeset a77eddcd510c ! .hgtags Changeset: 47ffceb239d0 Author: thurka Date: 2009-05-20 09:36 +0200 URL: http://hg.openjdk.java.net/jdk7/swing/hotspot/rev/47ffceb239d0 6839599: JVM crash while profiling Tomcat and Liferay Summary: constantPoolOopDesc::copy_cpool_bytes() - do the brute-force search search through 'tbl' when SymbolTable::lookup_only() returns NULL Reviewed-by: kamg ! src/share/vm/oops/constantPoolOop.cpp Changeset: f1f3a2719a55 Author: xlu Date: 2009-05-22 16:40 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/hotspot/rev/f1f3a2719a55 6843580: JavaThread.getStackBase throws sun.jvm.hotspot.WrongTypeException invoked by jstack Reviewed-by: phh, dice, never, swamyv ! agent/src/share/classes/sun/jvm/hotspot/runtime/JavaThread.java Changeset: 93c14e5562c4 Author: twisti Date: 2009-05-06 00:27 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/hotspot/rev/93c14e5562c4 6823354: Add intrinsics for {Integer,Long}.{numberOfLeadingZeros,numberOfTrailingZeros}() Summary: These methods can be instrinsified by using bit scan, bit test, and population count instructions. Reviewed-by: kvn, never ! src/cpu/sparc/vm/sparc.ad ! src/cpu/x86/vm/assembler_x86.cpp ! src/cpu/x86/vm/assembler_x86.hpp ! src/cpu/x86/vm/vm_version_x86.cpp ! src/cpu/x86/vm/vm_version_x86.hpp ! src/cpu/x86/vm/x86_32.ad ! src/cpu/x86/vm/x86_64.ad ! src/share/vm/classfile/vmSymbols.hpp ! src/share/vm/opto/classes.hpp ! src/share/vm/opto/connode.cpp ! src/share/vm/opto/connode.hpp ! src/share/vm/opto/library_call.cpp ! src/share/vm/opto/matcher.hpp ! src/share/vm/runtime/globals.hpp + test/compiler/6823354/Test6823354.java Changeset: e85af0c0c94b Author: twisti Date: 2009-05-07 00:28 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/hotspot/rev/e85af0c0c94b Merge Changeset: f53b154d959d Author: twisti Date: 2009-05-06 08:57 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/hotspot/rev/f53b154d959d 6837906: compiler tests of 6636138 fail with IllegalAccessException Summary: The compiler tests of 6636138 fail with an IllegalAccessException. Reviewed-by: kvn ! test/compiler/6636138/Test1.java ! test/compiler/6636138/Test2.java Changeset: f2954231d190 Author: twisti Date: 2009-05-07 04:16 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/hotspot/rev/f2954231d190 Merge Changeset: d0e0d6d824d8 Author: kvn Date: 2009-05-08 10:34 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/hotspot/rev/d0e0d6d824d8 Merge ! src/share/vm/runtime/globals.hpp Changeset: c96bf21b756f Author: kvn Date: 2009-05-08 10:44 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/hotspot/rev/c96bf21b756f 6788527: Server vm intermittently fails with assertion "live value must not be garbage" with fastdebug bits Summary: Cache Jvmti and DTrace flags used by Compiler. Reviewed-by: never ! src/cpu/sparc/vm/c1_LIRAssembler_sparc.cpp ! src/cpu/sparc/vm/c1_MacroAssembler_sparc.cpp ! src/cpu/x86/vm/c1_LIRAssembler_x86.cpp ! src/cpu/x86/vm/c1_MacroAssembler_x86.cpp ! src/share/vm/c1/c1_Compilation.cpp ! src/share/vm/c1/c1_GraphBuilder.cpp ! src/share/vm/c1/c1_LIRGenerator.cpp ! src/share/vm/ci/ciEnv.cpp ! src/share/vm/ci/ciEnv.hpp ! src/share/vm/ci/ciMethod.cpp ! src/share/vm/compiler/compileBroker.cpp ! src/share/vm/opto/doCall.cpp ! src/share/vm/opto/graphKit.cpp ! src/share/vm/opto/macro.cpp ! src/share/vm/opto/parse1.cpp ! src/share/vm/opto/parse2.cpp Changeset: 44ccd7a9065c Author: ohair Date: 2009-05-08 15:16 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/hotspot/rev/44ccd7a9065c 6839151: Add a JPRT default test of -Xshare:dump when new hotspot is built Reviewed-by: never, kvn ! make/jprt.properties ! test/Makefile Changeset: 900e4df4b0c3 Author: ohair Date: 2009-05-08 23:00 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/hotspot/rev/900e4df4b0c3 Merge Changeset: a9e116455022 Author: kvn Date: 2009-05-11 17:59 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/hotspot/rev/a9e116455022 6832293: JIT compiler got wrong result in type checking with -server Summary: Check for an object array of interface in CmpPNode::sub(). Reviewed-by: never ! src/share/vm/opto/subnode.cpp + test/compiler/6832293/Test.java Changeset: b2934faac289 Author: kvn Date: 2009-05-11 18:30 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/hotspot/rev/b2934faac289 6836054: java/util/Arrays/CopyMethods.java fails on solaris-sparc with IllegalArgumentException Summary: Do not mark an allocation as scalar replaceable if its actual type in unknown statically. Reviewed-by: never ! src/share/vm/opto/escape.cpp Changeset: 2056494941db Author: twisti Date: 2009-05-13 00:45 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/hotspot/rev/2056494941db 6814842: Load shortening optimizations Summary: 6797305 handles load widening but no shortening which should be covered here. Reviewed-by: never, kvn ! src/cpu/sparc/vm/sparc.ad ! src/cpu/x86/vm/x86_32.ad ! src/cpu/x86/vm/x86_64.ad ! src/share/vm/adlc/output_c.cpp + test/compiler/6814842/Test6814842.java Changeset: 27d660246893 Author: ohair Date: 2009-05-15 18:14 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/hotspot/rev/27d660246893 Merge ! make/linux/makefiles/gcc.make ! make/linux/makefiles/jsig.make ! make/linux/makefiles/saproc.make Changeset: aabd393cf1ee Author: kvn Date: 2009-05-21 10:05 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/hotspot/rev/aabd393cf1ee 6772683: Thread.isInterrupted() fails to return true on multiprocessor PC Summary: Set the control edge for the field _interrupted load in inline_native_isInterrupted(). Reviewed-by: never ! src/share/vm/opto/library_call.cpp + test/compiler/6772683/InterruptedTest.java Changeset: 1851e1fb420e Author: kvn Date: 2009-05-27 12:35 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/hotspot/rev/1851e1fb420e 6843752: missing code for an anti-dependent Phi in GCM Summary: Don't place a load below anti-dependent PHI. Reviewed-by: never, twisti ! src/share/vm/opto/gcm.cpp + test/compiler/6843752/Test.java Changeset: 273b2358ef1a Author: cfang Date: 2009-05-28 09:37 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/hotspot/rev/273b2358ef1a 6837146: Should perform unswitch before maximally unroll in loop transformation Summary: Move loop unswitch before maximally unroll Reviewed-by: never ! src/share/vm/opto/loopTransform.cpp Changeset: 435f0808b826 Author: never Date: 2009-06-03 15:02 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/hotspot/rev/435f0808b826 6847305: solaris reorder mapfiles generate too many warnings Reviewed-by: kvn ! make/solaris/makefiles/reorder_COMPILER1_i486 ! make/solaris/makefiles/reorder_COMPILER1_sparc ! make/solaris/makefiles/reorder_COMPILER2_amd64 ! make/solaris/makefiles/reorder_COMPILER2_sparcv9 ! make/solaris/makefiles/reorder_TIERED_i486 ! make/solaris/makefiles/reorder_TIERED_sparc Changeset: 8b0b8998e1c3 Author: never Date: 2009-06-03 15:16 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/hotspot/rev/8b0b8998e1c3 Merge Changeset: 085dd9ee61aa Author: never Date: 2009-06-03 18:15 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/hotspot/rev/085dd9ee61aa Merge Changeset: eacd97c88873 Author: cfang Date: 2009-06-05 10:25 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/hotspot/rev/eacd97c88873 6848466: frame::frame_size() assertion failure with -XX:+DebugDeoptimization Summary: add a RegisterMap* argument to frame::frame_size() to correctly compute the sender frame Reviewed-by: never ! src/cpu/sparc/vm/frame_sparc.inline.hpp ! src/cpu/x86/vm/frame_x86.cpp ! src/share/vm/runtime/frame.hpp ! src/share/vm/runtime/vframe.cpp Changeset: 315a5d70b295 Author: iveresov Date: 2009-05-11 16:30 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/hotspot/rev/315a5d70b295 6484957: G1: parallel concurrent refinement 6826318: G1: remove traversal-based refinement code Summary: Removed traversal-based refinement code as it's no longer used. Made the concurrent refinement (queue-based) parallel. Reviewed-by: tonyp ! src/cpu/sparc/vm/assembler_sparc.cpp ! src/share/vm/gc_implementation/g1/concurrentG1Refine.cpp ! src/share/vm/gc_implementation/g1/concurrentG1Refine.hpp ! src/share/vm/gc_implementation/g1/concurrentG1RefineThread.cpp ! src/share/vm/gc_implementation/g1/concurrentG1RefineThread.hpp ! src/share/vm/gc_implementation/g1/concurrentMarkThread.hpp ! src/share/vm/gc_implementation/g1/concurrentZFThread.hpp ! src/share/vm/gc_implementation/g1/dirtyCardQueue.cpp ! src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp ! src/share/vm/gc_implementation/g1/g1CollectorPolicy.cpp ! src/share/vm/gc_implementation/g1/g1CollectorPolicy.hpp ! src/share/vm/gc_implementation/g1/g1RemSet.cpp ! src/share/vm/gc_implementation/g1/g1RemSet.hpp ! src/share/vm/gc_implementation/g1/g1_globals.hpp ! src/share/vm/gc_implementation/g1/heapRegionRemSet.cpp ! src/share/vm/gc_implementation/g1/heapRegionRemSet.hpp ! src/share/vm/gc_implementation/g1/ptrQueue.cpp ! src/share/vm/gc_implementation/includeDB_gc_g1 ! src/share/vm/gc_implementation/shared/concurrentGCThread.cpp ! src/share/vm/gc_implementation/shared/concurrentGCThread.hpp ! src/share/vm/memory/cardTableRS.cpp ! src/share/vm/runtime/mutexLocker.cpp ! src/share/vm/runtime/mutexLocker.hpp Changeset: 215f81b4d9b3 Author: iveresov Date: 2009-05-18 11:52 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/hotspot/rev/215f81b4d9b3 6841831: G1: assert(contains_reference(from),"We just added it!") fires Summary: During parallel rset updating we have to make sure that the worker ids of the refinement threads do not intersect with the worker ids that can be claimed by the mutator threads. Reviewed-by: tonyp ! src/share/vm/gc_implementation/g1/concurrentG1Refine.cpp ! src/share/vm/gc_implementation/g1/concurrentG1Refine.hpp ! src/share/vm/gc_implementation/g1/concurrentG1RefineThread.cpp ! src/share/vm/gc_implementation/g1/concurrentG1RefineThread.hpp ! src/share/vm/gc_implementation/g1/dirtyCardQueue.cpp ! src/share/vm/gc_implementation/g1/heapRegionRemSet.cpp ! src/share/vm/gc_implementation/includeDB_gc_g1 Changeset: 29e7d79232b9 Author: apetrusenko Date: 2009-05-19 04:05 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/hotspot/rev/29e7d79232b9 6819065: G1: eliminate high serial card table clearing time Reviewed-by: iveresov, tonyp ! src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp ! src/share/vm/gc_implementation/g1/g1CollectedHeap.hpp ! src/share/vm/gc_implementation/g1/g1RemSet.cpp ! src/share/vm/gc_implementation/g1/heapRegion.cpp ! src/share/vm/gc_implementation/g1/heapRegion.hpp Changeset: 7fd05714f579 Author: jcoomes Date: 2009-05-26 16:43 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/hotspot/rev/7fd05714f579 Merge Changeset: fe1574da39fc Author: ysr Date: 2009-06-07 00:27 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/hotspot/rev/fe1574da39fc 6848641: CMSCollector::_roots_scanning_options should be initialized Summary: The field is now initialized in the constructor. Reviewed-by: iveresov, jmasa, johnc ! src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.cpp ! src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.hpp Changeset: f89cf529c3c7 Author: iveresov Date: 2009-06-08 16:14 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/hotspot/rev/f89cf529c3c7 6849122: G1: Typo introduced during implementation of the parallel refinement Summary: Typo fix Reviewed-by: jcoomes ! src/share/vm/gc_implementation/g1/concurrentG1Refine.cpp Changeset: 7295839252de Author: jmasa Date: 2009-06-10 14:57 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/hotspot/rev/7295839252de Merge Changeset: cf4f487696ba Author: trims Date: 2009-06-11 17:46 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/hotspot/rev/cf4f487696ba Merge Changeset: 08f86fa55a31 Author: trims Date: 2009-06-11 17:56 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/hotspot/rev/08f86fa55a31 6850551: Bump the HS16 build number to 04 Summary: Update the HS16 build number to 04 Reviewed-by: jcoomes ! make/hotspot_version Changeset: 27b728fd1281 Author: trims Date: 2009-06-11 21:01 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/hotspot/rev/27b728fd1281 Merge Changeset: a88386380bda Author: xdono Date: 2009-06-18 13:05 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/hotspot/rev/a88386380bda Added tag jdk7-b61 for changeset 27b728fd1281 ! .hgtags From yuri.nesterenko at sun.com Thu Jun 25 02:12:48 2009 From: yuri.nesterenko at sun.com (yuri.nesterenko at sun.com) Date: Thu, 25 Jun 2009 09:12:48 +0000 Subject: hg: jdk7/swing/jaxp: 13 new changesets Message-ID: <20090625091308.3466DE082@hg.openjdk.java.net> Changeset: 748976d69503 Author: vasya Date: 2009-05-14 10:58 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/jaxp/rev/748976d69503 Added tag jdk7-b59 for changeset 75113d7ce083 ! .hgtags Changeset: 19c316392d9e Author: aph Date: 2009-04-17 15:55 +0100 URL: http://hg.openjdk.java.net/jdk7/swing/jaxp/rev/19c316392d9e 6829575: 100028: Debug information is incomplete or missing Summary: Enable debugging in many places Reviewed-by: ohair Contributed-by: Andrew Haley ! make/Makefile ! make/build.xml Changeset: 7967d26b229c Author: aph Date: 2009-04-20 19:00 +0100 URL: http://hg.openjdk.java.net/jdk7/swing/jaxp/rev/7967d26b229c 6832141: Bug 100045 - Fix for 100028 breaks debug info for class files Summary: Correct fallout from 100028 patch Reviewed-by: ohair Contributed-by: Andrew Haley ! make/Makefile Changeset: 04af70c1189c Author: ohair Date: 2009-05-06 11:27 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/jaxp/rev/04af70c1189c 6837665: Deal with windows ant problem where commas in -D options do not work Reviewed-by: xdono ! make/Makefile ! make/build.properties Changeset: 44e5ca2a846c Author: xdono Date: 2009-05-07 10:30 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/jaxp/rev/44e5ca2a846c Merge Changeset: 0ea9bb9c6ddc Author: xdono Date: 2009-05-07 12:26 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/jaxp/rev/0ea9bb9c6ddc Merge - src/share/classes/com/sun/org/apache/xalan/internal/client/XSLTProcessorApplet.java - src/share/classes/com/sun/org/apache/xalan/internal/client/package.html Changeset: cdc8761f136a Author: ohair Date: 2009-05-15 13:24 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/jaxp/rev/cdc8761f136a Merge Changeset: 259aef5045a1 Author: ohair Date: 2009-05-19 17:38 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/jaxp/rev/259aef5045a1 6843041: Remove duplicate README files in repositories (make/README) Reviewed-by: robilad - make/README Changeset: f1ac756616ea Author: xdono Date: 2009-06-11 10:54 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/jaxp/rev/f1ac756616ea Added tag jdk7-b60 for changeset 259aef5045a1 ! .hgtags Changeset: db1d07f881a1 Author: xdono Date: 2009-06-18 13:05 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/jaxp/rev/db1d07f881a1 Added tag jdk7-b61 for changeset f1ac756616ea ! .hgtags Changeset: bdaf6acaf6e3 Author: jjg Date: 2009-05-20 13:45 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/jaxp/rev/bdaf6acaf6e3 6827026: Change javac source and target default to 7 Reviewed-by: darcy, ohair ! make/Makefile ! make/build.properties ! make/build.xml Changeset: 97344798aaf7 Author: tbell Date: 2009-06-11 21:26 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/jaxp/rev/97344798aaf7 Merge ! make/Makefile ! make/build.properties ! make/build.xml Changeset: a97dd57a6260 Author: tbell Date: 2009-06-21 23:51 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/jaxp/rev/a97dd57a6260 Merge From yuri.nesterenko at sun.com Thu Jun 25 02:18:08 2009 From: yuri.nesterenko at sun.com (yuri.nesterenko at sun.com) Date: Thu, 25 Jun 2009 09:18:08 +0000 Subject: hg: jdk7/swing/jaxws: 13 new changesets Message-ID: <20090625091825.5F29CE087@hg.openjdk.java.net> Changeset: 4fa7398559d0 Author: vasya Date: 2009-05-14 10:58 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/jaxws/rev/4fa7398559d0 Added tag jdk7-b59 for changeset f64566bf4c2b ! .hgtags Changeset: a92183572d99 Author: aph Date: 2009-04-17 15:56 +0100 URL: http://hg.openjdk.java.net/jdk7/swing/jaxws/rev/a92183572d99 6829575: 100028: Debug information is incomplete or missing Summary: Enable debugging in many places Reviewed-by: ohair Contributed-by: Andrew Haley ! make/Makefile ! make/build.xml Changeset: ab30d5761947 Author: aph Date: 2009-04-20 19:01 +0100 URL: http://hg.openjdk.java.net/jdk7/swing/jaxws/rev/ab30d5761947 6832141: Bug 100045 - Fix for 100028 breaks debug info for class files Summary: Correct fallout from 100028 patch Reviewed-by: ohair Contributed-by: Andrew Haley ! make/Makefile Changeset: 35c29ff8d904 Author: ohair Date: 2009-05-06 11:29 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/jaxws/rev/35c29ff8d904 6837665: Deal with windows ant problem where commas in -D options do not work Reviewed-by: xdono ! make/Makefile ! make/build.properties Changeset: d95fec0fa489 Author: xdono Date: 2009-05-07 10:30 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/jaxws/rev/d95fec0fa489 Merge ! make/Makefile ! make/build.xml - src/share/classes/com/sun/tools/internal/txw2/AntErrorListener.java - src/share/classes/com/sun/tools/internal/txw2/ConsoleErrorReporter.java - src/share/classes/com/sun/tools/internal/txw2/ErrorListener.java - src/share/classes/com/sun/tools/internal/txw2/Main.java - src/share/classes/com/sun/tools/internal/txw2/NameUtil.java - src/share/classes/com/sun/tools/internal/txw2/RELAXNGLoader.java - src/share/classes/com/sun/tools/internal/txw2/SchemaBuilder.java - src/share/classes/com/sun/tools/internal/txw2/TxwOptions.java - src/share/classes/com/sun/tools/internal/txw2/TxwTask.java - src/share/classes/com/sun/tools/internal/txw2/XmlSchemaLoader.java - src/share/classes/com/sun/tools/internal/txw2/builder/relaxng/AnnotationsImpl.java - src/share/classes/com/sun/tools/internal/txw2/builder/relaxng/CommentListImpl.java - src/share/classes/com/sun/tools/internal/txw2/builder/relaxng/DataPatternBuilderImpl.java - src/share/classes/com/sun/tools/internal/txw2/builder/relaxng/DatatypeFactory.java - src/share/classes/com/sun/tools/internal/txw2/builder/relaxng/DivImpl.java - src/share/classes/com/sun/tools/internal/txw2/builder/relaxng/ElementAnnotationBuilderImpl.java - src/share/classes/com/sun/tools/internal/txw2/builder/relaxng/GrammarImpl.java - src/share/classes/com/sun/tools/internal/txw2/builder/relaxng/GrammarSectionImpl.java - src/share/classes/com/sun/tools/internal/txw2/builder/relaxng/SchemaBuilderImpl.java - src/share/classes/com/sun/tools/internal/txw2/builder/relaxng/package.html - src/share/classes/com/sun/tools/internal/txw2/builder/xsd/XmlSchemaBuilder.java - src/share/classes/com/sun/tools/internal/txw2/builder/xsd/package.html - src/share/classes/com/sun/tools/internal/txw2/model/Attribute.java - src/share/classes/com/sun/tools/internal/txw2/model/CycleIterator.java - src/share/classes/com/sun/tools/internal/txw2/model/Data.java - src/share/classes/com/sun/tools/internal/txw2/model/Define.java - src/share/classes/com/sun/tools/internal/txw2/model/Element.java - src/share/classes/com/sun/tools/internal/txw2/model/Empty.java - src/share/classes/com/sun/tools/internal/txw2/model/Grammar.java - src/share/classes/com/sun/tools/internal/txw2/model/Leaf.java - src/share/classes/com/sun/tools/internal/txw2/model/List.java - src/share/classes/com/sun/tools/internal/txw2/model/Node.java - src/share/classes/com/sun/tools/internal/txw2/model/NodeSet.java - src/share/classes/com/sun/tools/internal/txw2/model/Ref.java - src/share/classes/com/sun/tools/internal/txw2/model/Text.java - src/share/classes/com/sun/tools/internal/txw2/model/Value.java - src/share/classes/com/sun/tools/internal/txw2/model/WriterNode.java - src/share/classes/com/sun/tools/internal/txw2/model/XmlNode.java - src/share/classes/com/sun/tools/internal/txw2/model/prop/AttributeProp.java - src/share/classes/com/sun/tools/internal/txw2/model/prop/ElementProp.java - src/share/classes/com/sun/tools/internal/txw2/model/prop/LeafElementProp.java - src/share/classes/com/sun/tools/internal/txw2/model/prop/Prop.java - src/share/classes/com/sun/tools/internal/txw2/model/prop/ValueProp.java - src/share/classes/com/sun/tools/internal/txw2/model/prop/XmlItemProp.java - src/share/classes/com/sun/tools/internal/ws/processor/Processor.java - src/share/classes/com/sun/tools/internal/ws/processor/ProcessorAction.java - src/share/classes/com/sun/tools/internal/ws/processor/ProcessorActionVersion.java - src/share/classes/com/sun/tools/internal/ws/processor/ProcessorConstants.java - src/share/classes/com/sun/tools/internal/ws/processor/ProcessorNotificationListener.java - src/share/classes/com/sun/tools/internal/ws/processor/ProcessorOptions.java - src/share/classes/com/sun/tools/internal/ws/processor/config/ClassModelInfo.java - src/share/classes/com/sun/tools/internal/ws/processor/config/Configuration.java - src/share/classes/com/sun/tools/internal/ws/processor/config/ConfigurationException.java - src/share/classes/com/sun/tools/internal/ws/processor/config/HandlerChainInfo.java - src/share/classes/com/sun/tools/internal/ws/processor/config/HandlerInfo.java - src/share/classes/com/sun/tools/internal/ws/processor/config/ModelInfo.java - src/share/classes/com/sun/tools/internal/ws/processor/config/WSDLModelInfo.java - src/share/classes/com/sun/tools/internal/ws/processor/config/parser/ClassModelParser.java - src/share/classes/com/sun/tools/internal/ws/processor/config/parser/CustomizationParser.java - src/share/classes/com/sun/tools/internal/ws/processor/config/parser/InputParser.java - src/share/classes/com/sun/tools/internal/ws/processor/config/parser/JAXWSBindingInfoParser.java - src/share/classes/com/sun/tools/internal/ws/processor/config/parser/ParserUtil.java - src/share/classes/com/sun/tools/internal/ws/processor/config/parser/Reader.java - src/share/classes/com/sun/tools/internal/ws/processor/generator/JAXBTypeGenerator.java - src/share/classes/com/sun/tools/internal/ws/processor/generator/SimpleToBoxedUtil.java - src/share/classes/com/sun/tools/internal/ws/processor/modeler/ModelerUtils.java - src/share/classes/com/sun/tools/internal/ws/processor/modeler/annotation/WebServiceReferenceCollector.java - src/share/classes/com/sun/tools/internal/ws/processor/util/ClientProcessorEnvironment.java - src/share/classes/com/sun/tools/internal/ws/processor/util/GeneratedFileInfo.java - src/share/classes/com/sun/tools/internal/ws/processor/util/ProcessorEnvironment.java - src/share/classes/com/sun/tools/internal/ws/processor/util/ProcessorEnvironmentBase.java - src/share/classes/com/sun/tools/internal/ws/util/JAXWSClassFactory.java - src/share/classes/com/sun/tools/internal/ws/util/JavaCompilerHelper.java - src/share/classes/com/sun/tools/internal/ws/util/MapBase.java - src/share/classes/com/sun/tools/internal/ws/util/ToolBase.java - src/share/classes/com/sun/tools/internal/ws/util/xml/NodeListIterator.java - src/share/classes/com/sun/tools/internal/ws/util/xml/NullEntityResolver.java - src/share/classes/com/sun/tools/internal/ws/util/xml/PrettyPrintingXmlWriter.java - src/share/classes/com/sun/tools/internal/ws/util/xml/XmlWriter.java - src/share/classes/com/sun/tools/internal/ws/wscompile/ActionConstants.java - src/share/classes/com/sun/tools/internal/ws/wscompile/CompileTool.java - src/share/classes/com/sun/tools/internal/ws/wsdl/document/schema/BuiltInTypes.java - src/share/classes/com/sun/tools/internal/ws/wsdl/document/schema/Schema.java - src/share/classes/com/sun/tools/internal/ws/wsdl/document/schema/SchemaAttribute.java - src/share/classes/com/sun/tools/internal/ws/wsdl/document/schema/SchemaDocument.java - src/share/classes/com/sun/tools/internal/ws/wsdl/document/schema/SchemaElement.java - src/share/classes/com/sun/tools/internal/ws/wsdl/document/schema/SchemaEntity.java - src/share/classes/com/sun/tools/internal/ws/wsdl/framework/Extensible.java - src/share/classes/com/sun/tools/internal/ws/wsdl/framework/Extension.java - src/share/classes/com/sun/tools/internal/ws/wsdl/framework/ParserContext.java - src/share/classes/com/sun/tools/internal/ws/wsdl/framework/WriterContext.java - src/share/classes/com/sun/tools/internal/ws/wsdl/parser/ExtensionHandler.java - src/share/classes/com/sun/tools/internal/ws/wsdl/parser/ExtensionHandlerBase.java - src/share/classes/com/sun/tools/internal/ws/wsdl/parser/SchemaExtensionHandler.java - src/share/classes/com/sun/tools/internal/ws/wsdl/parser/SchemaParser.java - src/share/classes/com/sun/tools/internal/ws/wsdl/parser/SchemaWriter.java - src/share/classes/com/sun/tools/internal/ws/wsdl/parser/WSDLWriter.java - src/share/classes/com/sun/tools/internal/xjc/reader/dtd/bindinfo/DOM4JLocator.java - src/share/classes/com/sun/tools/internal/xjc/util/XMLStreamReaderToContentHandler.java - src/share/classes/com/sun/xml/internal/bind/v2/doc-files/packages.png - src/share/classes/com/sun/xml/internal/bind/v2/doc-files/packages.vsd - src/share/classes/com/sun/xml/internal/bind/v2/doc-files/readme.txt - src/share/classes/com/sun/xml/internal/ws/binding/http/HTTPBindingImpl.java - src/share/classes/com/sun/xml/internal/ws/binding/soap/SOAPBindingImpl.java - src/share/classes/com/sun/xml/internal/ws/client/AsyncHandlerService.java - src/share/classes/com/sun/xml/internal/ws/client/ClientConfigurationException.java - src/share/classes/com/sun/xml/internal/ws/client/ContactInfoBase.java - src/share/classes/com/sun/xml/internal/ws/client/ContactInfoListImpl.java - src/share/classes/com/sun/xml/internal/ws/client/ContactInfoListIteratorBase.java - src/share/classes/com/sun/xml/internal/ws/client/ContextMap.java - src/share/classes/com/sun/xml/internal/ws/client/EndpointIFBase.java - src/share/classes/com/sun/xml/internal/ws/client/EndpointIFContext.java - src/share/classes/com/sun/xml/internal/ws/client/EndpointIFInvocationHandler.java - src/share/classes/com/sun/xml/internal/ws/client/InternalBindingProvider.java - src/share/classes/com/sun/xml/internal/ws/client/PortInfoBase.java - src/share/classes/com/sun/xml/internal/ws/client/ServiceContext.java - src/share/classes/com/sun/xml/internal/ws/client/ServiceContextBuilder.java - src/share/classes/com/sun/xml/internal/ws/client/WSFuture.java - src/share/classes/com/sun/xml/internal/ws/client/dispatch/DispatchBase.java - src/share/classes/com/sun/xml/internal/ws/client/dispatch/DispatchContext.java - src/share/classes/com/sun/xml/internal/ws/client/dispatch/ResponseImpl.java - src/share/classes/com/sun/xml/internal/ws/client/dispatch/impl/DispatchContactInfoList.java - src/share/classes/com/sun/xml/internal/ws/client/dispatch/impl/DispatchDelegate.java - src/share/classes/com/sun/xml/internal/ws/client/dispatch/impl/encoding/DispatchSerializer.java - src/share/classes/com/sun/xml/internal/ws/client/dispatch/impl/encoding/DispatchUtil.java - src/share/classes/com/sun/xml/internal/ws/client/dispatch/impl/protocol/MessageDispatcherHelper.java - src/share/classes/com/sun/xml/internal/ws/encoding/EncoderDecoderBase.java - src/share/classes/com/sun/xml/internal/ws/encoding/JAXWSAttachmentMarshaller.java - src/share/classes/com/sun/xml/internal/ws/encoding/JAXWSAttachmentUnmarshaller.java - src/share/classes/com/sun/xml/internal/ws/encoding/internal/InternalEncoder.java - src/share/classes/com/sun/xml/internal/ws/encoding/jaxb/JAXBBeanInfo.java - src/share/classes/com/sun/xml/internal/ws/encoding/jaxb/JAXBBridgeInfo.java - src/share/classes/com/sun/xml/internal/ws/encoding/jaxb/JAXBTypeSerializer.java - src/share/classes/com/sun/xml/internal/ws/encoding/jaxb/RpcLitPayload.java - src/share/classes/com/sun/xml/internal/ws/encoding/jaxb/RpcLitPayloadSerializer.java - src/share/classes/com/sun/xml/internal/ws/encoding/simpletype/EncoderUtils.java - src/share/classes/com/sun/xml/internal/ws/encoding/simpletype/SimpleTypeConstants.java - src/share/classes/com/sun/xml/internal/ws/encoding/soap/ClientEncoderDecoder.java - src/share/classes/com/sun/xml/internal/ws/encoding/soap/EncoderDecoder.java - src/share/classes/com/sun/xml/internal/ws/encoding/soap/SOAPDecoder.java - src/share/classes/com/sun/xml/internal/ws/encoding/soap/SOAPEPTFactory.java - src/share/classes/com/sun/xml/internal/ws/encoding/soap/SOAPEncoder.java - src/share/classes/com/sun/xml/internal/ws/encoding/soap/SOAPVersion.java - src/share/classes/com/sun/xml/internal/ws/encoding/soap/ServerEncoderDecoder.java - src/share/classes/com/sun/xml/internal/ws/encoding/soap/client/SOAP12XMLDecoder.java - src/share/classes/com/sun/xml/internal/ws/encoding/soap/client/SOAP12XMLEncoder.java - src/share/classes/com/sun/xml/internal/ws/encoding/soap/client/SOAPXMLDecoder.java - src/share/classes/com/sun/xml/internal/ws/encoding/soap/client/SOAPXMLEncoder.java - src/share/classes/com/sun/xml/internal/ws/encoding/soap/internal/AttachmentBlock.java - src/share/classes/com/sun/xml/internal/ws/encoding/soap/internal/BodyBlock.java - src/share/classes/com/sun/xml/internal/ws/encoding/soap/internal/DelegateBase.java - src/share/classes/com/sun/xml/internal/ws/encoding/soap/internal/HeaderBlock.java - src/share/classes/com/sun/xml/internal/ws/encoding/soap/internal/InternalMessage.java - src/share/classes/com/sun/xml/internal/ws/encoding/soap/internal/MessageBlock.java - src/share/classes/com/sun/xml/internal/ws/encoding/soap/internal/MessageInfoBase.java - src/share/classes/com/sun/xml/internal/ws/encoding/soap/internal/SOAP12NotUnderstoodHeaderBlock.java - src/share/classes/com/sun/xml/internal/ws/encoding/soap/message/FaultCode.java - src/share/classes/com/sun/xml/internal/ws/encoding/soap/message/FaultCodeEnum.java - src/share/classes/com/sun/xml/internal/ws/encoding/soap/message/FaultReason.java - src/share/classes/com/sun/xml/internal/ws/encoding/soap/message/FaultReasonText.java - src/share/classes/com/sun/xml/internal/ws/encoding/soap/message/FaultSubcode.java - src/share/classes/com/sun/xml/internal/ws/encoding/soap/message/SOAP12FaultInfo.java - src/share/classes/com/sun/xml/internal/ws/encoding/soap/message/SOAPFaultInfo.java - src/share/classes/com/sun/xml/internal/ws/encoding/soap/message/SOAPMsgCreateException.java - src/share/classes/com/sun/xml/internal/ws/encoding/soap/message/SOAPMsgFactoryCreateException.java - src/share/classes/com/sun/xml/internal/ws/encoding/soap/server/ProviderSED.java - src/share/classes/com/sun/xml/internal/ws/encoding/soap/server/SOAP12XMLDecoder.java - src/share/classes/com/sun/xml/internal/ws/encoding/soap/server/SOAP12XMLEncoder.java - src/share/classes/com/sun/xml/internal/ws/encoding/soap/server/SOAPXMLDecoder.java - src/share/classes/com/sun/xml/internal/ws/encoding/soap/server/SOAPXMLEncoder.java - src/share/classes/com/sun/xml/internal/ws/encoding/xml/XMLDecoder.java - src/share/classes/com/sun/xml/internal/ws/encoding/xml/XMLEPTFactory.java - src/share/classes/com/sun/xml/internal/ws/encoding/xml/XMLEncoder.java - src/share/classes/com/sun/xml/internal/ws/handler/HandlerChainCaller.java - src/share/classes/com/sun/xml/internal/ws/handler/HandlerContext.java - src/share/classes/com/sun/xml/internal/ws/handler/HandlerResolverImpl.java - src/share/classes/com/sun/xml/internal/ws/handler/MessageContextUtil.java - src/share/classes/com/sun/xml/internal/ws/handler/SHDSOAPMessageContext.java - src/share/classes/com/sun/xml/internal/ws/handler/SOAPHandlerContext.java - src/share/classes/com/sun/xml/internal/ws/handler/XMLHandlerContext.java - src/share/classes/com/sun/xml/internal/ws/handler/XMLLogicalMessageContextImpl.java - src/share/classes/com/sun/xml/internal/ws/handler/XMLLogicalMessageImpl.java - src/share/classes/com/sun/xml/internal/ws/handler/package-info.java - src/share/classes/com/sun/xml/internal/ws/model/CheckedException.java - src/share/classes/com/sun/xml/internal/ws/model/ExceptionType.java - src/share/classes/com/sun/xml/internal/ws/model/JavaMethod.java - src/share/classes/com/sun/xml/internal/ws/model/Mode.java - src/share/classes/com/sun/xml/internal/ws/model/Parameter.java - src/share/classes/com/sun/xml/internal/ws/model/ParameterBinding.java - src/share/classes/com/sun/xml/internal/ws/model/RuntimeModel.java - src/share/classes/com/sun/xml/internal/ws/model/soap/SOAPBinding.java - src/share/classes/com/sun/xml/internal/ws/model/soap/SOAPRuntimeModel.java - src/share/classes/com/sun/xml/internal/ws/model/soap/Style.java - src/share/classes/com/sun/xml/internal/ws/model/soap/Use.java - src/share/classes/com/sun/xml/internal/ws/modeler/RuntimeModeler.java - src/share/classes/com/sun/xml/internal/ws/modeler/RuntimeModelerException.java - src/share/classes/com/sun/xml/internal/ws/pept/Delegate.java - src/share/classes/com/sun/xml/internal/ws/pept/encoding/Decoder.java - src/share/classes/com/sun/xml/internal/ws/pept/encoding/Encoder.java - src/share/classes/com/sun/xml/internal/ws/pept/ept/Acceptor.java - src/share/classes/com/sun/xml/internal/ws/pept/ept/ContactInfo.java - src/share/classes/com/sun/xml/internal/ws/pept/ept/ContactInfoList.java - src/share/classes/com/sun/xml/internal/ws/pept/ept/ContactInfoListIterator.java - src/share/classes/com/sun/xml/internal/ws/pept/ept/EPTFactory.java - src/share/classes/com/sun/xml/internal/ws/pept/ept/MessageInfo.java - src/share/classes/com/sun/xml/internal/ws/pept/presentation/MessageStruct.java - src/share/classes/com/sun/xml/internal/ws/pept/presentation/Stub.java - src/share/classes/com/sun/xml/internal/ws/pept/presentation/TargetFinder.java - src/share/classes/com/sun/xml/internal/ws/pept/presentation/Tie.java - src/share/classes/com/sun/xml/internal/ws/pept/protocol/Interceptors.java - src/share/classes/com/sun/xml/internal/ws/pept/protocol/MessageDispatcher.java - src/share/classes/com/sun/xml/internal/ws/protocol/soap/client/SOAPMessageDispatcher.java - src/share/classes/com/sun/xml/internal/ws/protocol/soap/server/ProviderSOAPMD.java - src/share/classes/com/sun/xml/internal/ws/protocol/soap/server/SOAPMessageDispatcher.java - src/share/classes/com/sun/xml/internal/ws/protocol/xml/client/XMLMessageDispatcher.java - src/share/classes/com/sun/xml/internal/ws/protocol/xml/server/ProviderXMLMD.java - src/share/classes/com/sun/xml/internal/ws/protocol/xml/server/XMLMessageDispatcher.java - src/share/classes/com/sun/xml/internal/ws/server/AppMsgContextImpl.java - src/share/classes/com/sun/xml/internal/ws/server/DocInfo.java - src/share/classes/com/sun/xml/internal/ws/server/EPTFactoryBase.java - src/share/classes/com/sun/xml/internal/ws/server/EPTFactoryFactoryBase.java - src/share/classes/com/sun/xml/internal/ws/server/PeptTie.java - src/share/classes/com/sun/xml/internal/ws/server/RuntimeContext.java - src/share/classes/com/sun/xml/internal/ws/server/RuntimeEndpointInfo.java - src/share/classes/com/sun/xml/internal/ws/server/TargetFinderImpl.java - src/share/classes/com/sun/xml/internal/ws/server/Tie.java - src/share/classes/com/sun/xml/internal/ws/server/XMLEPTFactoryImpl.java - src/share/classes/com/sun/xml/internal/ws/server/provider/ProviderModel.java - src/share/classes/com/sun/xml/internal/ws/server/provider/ProviderPeptTie.java - src/share/classes/com/sun/xml/internal/ws/spi/runtime/Binding.java - src/share/classes/com/sun/xml/internal/ws/spi/runtime/ClientTransportFactory.java - src/share/classes/com/sun/xml/internal/ws/spi/runtime/ClientTransportFactoryTypes.java - src/share/classes/com/sun/xml/internal/ws/spi/runtime/InternalSoapEncoder.java - src/share/classes/com/sun/xml/internal/ws/spi/runtime/Invoker.java - src/share/classes/com/sun/xml/internal/ws/spi/runtime/MessageContext.java - src/share/classes/com/sun/xml/internal/ws/spi/runtime/MtomCallback.java - src/share/classes/com/sun/xml/internal/ws/spi/runtime/RuntimeEndpointInfo.java - src/share/classes/com/sun/xml/internal/ws/spi/runtime/SOAPMessageContext.java - src/share/classes/com/sun/xml/internal/ws/spi/runtime/StubBase.java - src/share/classes/com/sun/xml/internal/ws/spi/runtime/SystemHandlerDelegate.java - src/share/classes/com/sun/xml/internal/ws/spi/runtime/SystemHandlerDelegateFactory.java - src/share/classes/com/sun/xml/internal/ws/spi/runtime/Tie.java - src/share/classes/com/sun/xml/internal/ws/spi/runtime/WSConnection.java - src/share/classes/com/sun/xml/internal/ws/spi/runtime/WebServiceContext.java - src/share/classes/com/sun/xml/internal/ws/spi/runtime/package-info.java - src/share/classes/com/sun/xml/internal/ws/streaming/XMLStreamReaderFactory.java - src/share/classes/com/sun/xml/internal/ws/streaming/XMLStreamWriterFactory.java - src/share/classes/com/sun/xml/internal/ws/transport/WSConnectionImpl.java - src/share/classes/com/sun/xml/internal/ws/transport/http/client/HttpClientTransportFactory.java - src/share/classes/com/sun/xml/internal/ws/transport/http/server/EndpointDocInfo.java - src/share/classes/com/sun/xml/internal/ws/transport/http/server/EndpointEntityResolver.java - src/share/classes/com/sun/xml/internal/ws/transport/http/server/WebServiceContextImpl.java - src/share/classes/com/sun/xml/internal/ws/transport/local/LocalMessage.java - src/share/classes/com/sun/xml/internal/ws/transport/local/client/LocalClientTransport.java - src/share/classes/com/sun/xml/internal/ws/transport/local/client/LocalClientTransportFactory.java - src/share/classes/com/sun/xml/internal/ws/transport/local/server/LocalConnectionImpl.java - src/share/classes/com/sun/xml/internal/ws/transport/local/server/LocalWSContextImpl.java - src/share/classes/com/sun/xml/internal/ws/util/Base64Util.java - src/share/classes/com/sun/xml/internal/ws/util/MessageInfoUtil.java - src/share/classes/com/sun/xml/internal/ws/util/NullIterator.java - src/share/classes/com/sun/xml/internal/ws/util/SOAPConnectionUtil.java - src/share/classes/com/sun/xml/internal/ws/util/SOAPUtil.java - src/share/classes/com/sun/xml/internal/ws/util/SunStAXReflection.java - src/share/classes/com/sun/xml/internal/ws/util/XMLConnectionUtil.java - src/share/classes/com/sun/xml/internal/ws/util/xml/XMLStreamReaderToContentHandler.java - src/share/classes/com/sun/xml/internal/ws/wsdl/WSDLContext.java - src/share/classes/com/sun/xml/internal/ws/wsdl/parser/Binding.java - src/share/classes/com/sun/xml/internal/ws/wsdl/parser/BindingOperation.java - src/share/classes/com/sun/xml/internal/ws/wsdl/parser/Message.java - src/share/classes/com/sun/xml/internal/ws/wsdl/parser/Part.java - src/share/classes/com/sun/xml/internal/ws/wsdl/parser/Port.java - src/share/classes/com/sun/xml/internal/ws/wsdl/parser/PortType.java - src/share/classes/com/sun/xml/internal/ws/wsdl/parser/PortTypeOperation.java - src/share/classes/com/sun/xml/internal/ws/wsdl/parser/Service.java - src/share/classes/com/sun/xml/internal/ws/wsdl/parser/WSDLDocument.java - src/share/classes/com/sun/xml/internal/ws/wsdl/writer/WSDLOutputResolver.java - src/share/classes/com/sun/xml/internal/xsom/impl/util/ConcatIterator.java - src/share/classes/com/sun/xml/internal/xsom/impl/util/FilterIterator.java Changeset: 1626ba49a98e Author: xdono Date: 2009-05-07 12:26 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/jaxws/rev/1626ba49a98e Merge Changeset: af4d62e31af8 Author: ohair Date: 2009-05-15 13:25 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/jaxws/rev/af4d62e31af8 Merge Changeset: 3b054db3e277 Author: ohair Date: 2009-05-19 17:39 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/jaxws/rev/3b054db3e277 6843041: Remove duplicate README files in repositories (make/README) Reviewed-by: robilad - make/README Changeset: aeabf802f2a1 Author: xdono Date: 2009-06-11 10:54 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/jaxws/rev/aeabf802f2a1 Added tag jdk7-b60 for changeset 3b054db3e277 ! .hgtags Changeset: 55681156ec1a Author: xdono Date: 2009-06-18 13:05 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/jaxws/rev/55681156ec1a Added tag jdk7-b61 for changeset aeabf802f2a1 ! .hgtags Changeset: 605e1cdeba48 Author: jjg Date: 2009-05-20 13:50 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/jaxws/rev/605e1cdeba48 6827026: Change javac source and target default to 7 Reviewed-by: darcy, ohair ! make/Makefile ! make/build.properties ! make/build.xml Changeset: 2ec98e99e4ea Author: tbell Date: 2009-06-11 21:30 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/jaxws/rev/2ec98e99e4ea Merge ! make/Makefile ! make/build.properties ! make/build.xml Changeset: 75c801c13ea1 Author: tbell Date: 2009-06-21 23:52 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/jaxws/rev/75c801c13ea1 Merge From yuri.nesterenko at sun.com Thu Jun 25 02:33:34 2009 From: yuri.nesterenko at sun.com (yuri.nesterenko at sun.com) Date: Thu, 25 Jun 2009 09:33:34 +0000 Subject: hg: jdk7/swing/langtools: 25 new changesets Message-ID: <20090625093414.37FD9E08E@hg.openjdk.java.net> Changeset: 0f653be1a42f Author: vasya Date: 2009-05-14 10:58 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/langtools/rev/0f653be1a42f Added tag jdk7-b59 for changeset 88bcb6772159 ! .hgtags Changeset: 4b72c2556789 Author: aph Date: 2009-04-17 15:56 +0100 URL: http://hg.openjdk.java.net/jdk7/swing/langtools/rev/4b72c2556789 6829575: 100028: Debug information is incomplete or missing Summary: Enable debugging in many places Reviewed-by: ohair Contributed-by: Andrew Haley ! make/Makefile Changeset: 321854d9ab19 Author: aph Date: 2009-04-20 19:01 +0100 URL: http://hg.openjdk.java.net/jdk7/swing/langtools/rev/321854d9ab19 6832141: Bug 100045 - Fix for 100028 breaks debug info for class files Summary: Correct fallout from 100028 patch Reviewed-by: ohair Contributed-by: Andrew Haley ! make/Makefile Changeset: f3d27f02683c Author: aph Date: 2009-05-06 18:04 +0100 URL: http://hg.openjdk.java.net/jdk7/swing/langtools/rev/f3d27f02683c 6837665: Deal with windows ant problem where commas in -D options do not work Summary: Rewrite to avoid commas in -D options Reviewed-by: ohair ! make/Makefile ! make/build.xml Changeset: 43a781cc6473 Author: xdono Date: 2009-05-07 10:32 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/langtools/rev/43a781cc6473 Merge Changeset: 846944dd48a4 Author: xdono Date: 2009-05-07 12:26 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/langtools/rev/846944dd48a4 Merge Changeset: 65f2ee956fb9 Author: ohair Date: 2009-05-15 13:30 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/langtools/rev/65f2ee956fb9 Merge Changeset: 5cdce469ea2a Author: ohair Date: 2009-05-19 17:39 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/langtools/rev/5cdce469ea2a 6843041: Remove duplicate README files in repositories (make/README) Reviewed-by: robilad ! README - make/README Changeset: 522520757dd3 Author: xdono Date: 2009-06-11 10:54 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/langtools/rev/522520757dd3 Added tag jdk7-b60 for changeset 5cdce469ea2a ! .hgtags Changeset: 950d50e13a9e Author: xdono Date: 2009-06-18 13:05 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/langtools/rev/950d50e13a9e Added tag jdk7-b61 for changeset 522520757dd3 ! .hgtags Changeset: b5872f0790e7 Author: jjg Date: 2009-05-19 11:27 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/langtools/rev/b5872f0790e7 6841422: classfile: add Type visitor Reviewed-by: mcimadamore Contributed-by: kevin.t.looney at sun.com ! src/share/classes/com/sun/tools/classfile/Type.java Changeset: f838537fb1ac Author: jjg Date: 2009-05-19 11:33 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/langtools/rev/f838537fb1ac 6841420: classfile: add new methods to ConstantClassInfo Reviewed-by: mcimadamore Contributed-by: kevin.t.looney at sun.com ! src/share/classes/com/sun/tools/classfile/ConstantPool.java Changeset: fc634a593812 Author: jjg Date: 2009-05-19 11:43 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/langtools/rev/fc634a593812 6841419: classfile: add constant pool iterator Reviewed-by: mcimadamore ! src/share/classes/com/sun/tools/classfile/ClassTranslator.java ! src/share/classes/com/sun/tools/classfile/ClassWriter.java ! src/share/classes/com/sun/tools/classfile/ConstantPool.java Changeset: cd0630109de5 Author: jjg Date: 2009-05-19 11:50 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/langtools/rev/cd0630109de5 6824493: experimental support for additional info for instructions Reviewed-by: mcimadamore ! src/share/classes/com/sun/tools/classfile/StackMapTable_attribute.java ! src/share/classes/com/sun/tools/javap/BasicWriter.java ! src/share/classes/com/sun/tools/javap/ClassWriter.java ! src/share/classes/com/sun/tools/javap/CodeWriter.java + src/share/classes/com/sun/tools/javap/InstructionDetailWriter.java ! src/share/classes/com/sun/tools/javap/JavapTask.java + src/share/classes/com/sun/tools/javap/Messages.java ! src/share/classes/com/sun/tools/javap/Options.java + src/share/classes/com/sun/tools/javap/SourceWriter.java + src/share/classes/com/sun/tools/javap/StackMapWriter.java + src/share/classes/com/sun/tools/javap/TryBlockWriter.java ! src/share/classes/com/sun/tools/javap/resources/javap.properties + test/tools/javap/T6824493.java Changeset: 0c6cd88f72b9 Author: jjg Date: 2009-05-19 13:53 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/langtools/rev/0c6cd88f72b9 6843013: missing files in fix for 6824493 Reviewed-by: darcy + src/share/classes/com/sun/tools/javap/LocalVariableTableWriter.java + src/share/classes/com/sun/tools/javap/LocalVariableTypeTableWriter.java Changeset: 4ce1c1400334 Author: jjg Date: 2009-05-19 15:07 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/langtools/rev/4ce1c1400334 6832154: refactor Paths to be just a utility class for JavacFileManager Reviewed-by: darcy ! src/share/classes/com/sun/tools/apt/main/Main.java ! src/share/classes/com/sun/tools/javac/file/Paths.java ! src/share/classes/com/sun/tools/javac/processing/JavacProcessingEnvironment.java Changeset: 79eb8795a1de Author: jjg Date: 2009-05-20 13:36 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/langtools/rev/79eb8795a1de 6827026: Change javac source and target default to 7 Reviewed-by: darcy, ohair ! make/Makefile ! make/build.properties ! make/build.xml ! src/share/classes/com/sun/tools/javac/code/Source.java ! src/share/classes/com/sun/tools/javac/jvm/Target.java Changeset: 44eaac2b4501 Author: jjg Date: 2009-05-20 19:10 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/langtools/rev/44eaac2b4501 6843648: tools/javac/versions/check.sh is broken Reviewed-by: darcy ! test/tools/javac/6341866/Anno.java ! test/tools/javac/6464451/BigFinally.java ! test/tools/javac/6464451/DeepNestedFinally.java ! test/tools/javac/6464451/ManyExitsInTry.java ! test/tools/javac/ClassLit.java ! test/tools/javac/T6557865.java ! test/tools/javac/foreach/T6682380.java ! test/tools/javac/processing/6348499/A.java ! test/tools/javac/processing/6414633/A.java ! test/tools/javac/processing/6430209/b6341534.java ! test/tools/javac/processing/T6439826.java ! test/tools/javac/stackmap/T4955930.sh ! test/tools/javac/versions/check.sh Changeset: d402db1005ad Author: mcimadamore Date: 2009-05-21 10:56 +0100 URL: http://hg.openjdk.java.net/jdk7/swing/langtools/rev/d402db1005ad 6722234: javac diagnostics need better integration with the type-system Summary: Added RichDiagnosticFormatter which provides better formatting capabilities for javac types/symbols Reviewed-by: jjg ! src/share/classes/com/sun/tools/javac/code/Printer.java ! src/share/classes/com/sun/tools/javac/code/Type.java ! src/share/classes/com/sun/tools/javac/main/JavaCompiler.java ! src/share/classes/com/sun/tools/javac/resources/compiler.properties ! src/share/classes/com/sun/tools/javac/util/AbstractDiagnosticFormatter.java ! src/share/classes/com/sun/tools/javac/util/BasicDiagnosticFormatter.java + src/share/classes/com/sun/tools/javac/util/ForwardingDiagnosticFormatter.java ! src/share/classes/com/sun/tools/javac/util/RawDiagnosticFormatter.java + src/share/classes/com/sun/tools/javac/util/RichDiagnosticFormatter.java ! test/tools/javac/6304921/T6304921.java ! test/tools/javac/6304921/T6304921.out ! test/tools/javac/6491592/T6491592.out + test/tools/javac/Diagnostics/6722234/T6722234a.java + test/tools/javac/Diagnostics/6722234/T6722234a_1.out + test/tools/javac/Diagnostics/6722234/T6722234a_2.out + test/tools/javac/Diagnostics/6722234/T6722234b.java + test/tools/javac/Diagnostics/6722234/T6722234b_1.out + test/tools/javac/Diagnostics/6722234/T6722234b_2.out + test/tools/javac/Diagnostics/6722234/T6722234c.java + test/tools/javac/Diagnostics/6722234/T6722234c.out + test/tools/javac/Diagnostics/6722234/T6722234d.java + test/tools/javac/Diagnostics/6722234/T6722234d_1.out + test/tools/javac/Diagnostics/6722234/T6722234d_2.out ! test/tools/javac/ExtendArray.java ! test/tools/javac/ExtendArray.out ! test/tools/javac/OverridePosition.java ! test/tools/javac/OverridePosition.out ! test/tools/javac/T4093617/T4093617.java ! test/tools/javac/T4093617/T4093617.out ! test/tools/javac/T5003235/T5003235c.java ! test/tools/javac/T5003235/T5003235c.out ! test/tools/javac/miranda/T4666866.java ! test/tools/javac/miranda/T4666866.out ! test/tools/javac/protectedAccess/ProtectedMemberAccess2.java ! test/tools/javac/protectedAccess/ProtectedMemberAccess3.java ! test/tools/javac/protectedAccess/ProtectedMemberAccess4.java Changeset: 84061bd68019 Author: darcy Date: 2009-05-27 22:34 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/langtools/rev/84061bd68019 6843761: Update langtools tests to remove unncessary -source and -target options Reviewed-by: jjg ! test/com/sun/javadoc/testIndex/TestIndex.java ! test/com/sun/javadoc/testInterface/TestInterface.java ! test/com/sun/javadoc/testNavagation/TestNavagation.java ! test/com/sun/javadoc/testTagInheritence/TestTagInheritence.java ! test/tools/javac/5005368.java ! test/tools/javac/Ambig3.java ! test/tools/javac/ArrayCast.java ! test/tools/javac/BadCovar.java ! test/tools/javac/ClassLiterals/InitializeOuter.java ! test/tools/javac/ClassLiterals/InitializeTarget.java ! test/tools/javac/ClassToTypeParm.java ! test/tools/javac/Closure1.java ! test/tools/javac/Closure2.java ! test/tools/javac/Closure3.java ! test/tools/javac/Closure4.java ! test/tools/javac/Closure5.java ! test/tools/javac/CompoundBox.java ! test/tools/javac/ConditionalArgTypes_1.java ! test/tools/javac/ConditionalArgTypes_2.java ! test/tools/javac/DefiniteAssignment/DUAssert.java ! test/tools/javac/EarlyAssert.java ! test/tools/javac/Enum1.java ! test/tools/javac/GoodCovar.java ! test/tools/javac/HexFloatLiterals.java ! test/tools/javac/HexThree.java ! test/tools/javac/InterfaceAssert.java ! test/tools/javac/InvalidIntfCast.java ! test/tools/javac/NewGeneric.java ! test/tools/javac/ObjectMethodRefFromInterface.java ! test/tools/javac/PrivateLocalConstructor.java ! test/tools/javac/RawCrash.java ! test/tools/javac/SynthName2.java ! test/tools/javac/T5090006/compiler.sh ! test/tools/javac/T5092545.java ! test/tools/javac/T5105890.java ! test/tools/javac/annotations/default/A.java ! test/tools/javac/annotations/neg/AnnComma.java ! test/tools/javac/annotations/neg/ArrayLit.java ! test/tools/javac/annotations/neg/Constant.java ! test/tools/javac/annotations/neg/Cycle1.java ! test/tools/javac/annotations/neg/Cycle2.java ! test/tools/javac/annotations/neg/Cycle3.java ! test/tools/javac/annotations/neg/Dep.java ! test/tools/javac/annotations/neg/Dup.java ! test/tools/javac/annotations/neg/DupTarget.java ! test/tools/javac/annotations/neg/MemberOver.java ! test/tools/javac/annotations/neg/ObjectMembers.java ! test/tools/javac/annotations/neg/OverrideNo.java ! test/tools/javac/annotations/neg/Package.java ! test/tools/javac/annotations/neg/Recovery.java ! test/tools/javac/annotations/neg/Recovery1.java ! test/tools/javac/annotations/neg/Scope.java ! test/tools/javac/annotations/neg/Syntax1.java ! test/tools/javac/annotations/neg/WrongTarget.java ! test/tools/javac/annotations/neg/WrongTarget2.java ! test/tools/javac/annotations/neg/WrongValue.java ! test/tools/javac/annotations/neg/Z1.java ! test/tools/javac/annotations/neg/Z10.java ! test/tools/javac/annotations/neg/Z11.java ! test/tools/javac/annotations/neg/Z12.java ! test/tools/javac/annotations/neg/Z13.java ! test/tools/javac/annotations/neg/Z14.java ! test/tools/javac/annotations/neg/Z15.java ! test/tools/javac/annotations/neg/Z16.java ! test/tools/javac/annotations/neg/Z2.java ! test/tools/javac/annotations/neg/Z3.java ! test/tools/javac/annotations/neg/Z4.java ! test/tools/javac/annotations/neg/Z5.java ! test/tools/javac/annotations/neg/Z8.java ! test/tools/javac/annotations/neg/Z9.java ! test/tools/javac/annotations/pos/AnnoteElideBraces.java ! test/tools/javac/annotations/pos/ClassA.java ! test/tools/javac/annotations/pos/Dep.java ! test/tools/javac/annotations/pos/Enum1.java ! test/tools/javac/annotations/pos/Local.java ! test/tools/javac/annotations/pos/Members.java ! test/tools/javac/annotations/pos/NType.java ! test/tools/javac/annotations/pos/OverrideCheck.java ! test/tools/javac/annotations/pos/OverrideOK.java ! test/tools/javac/annotations/pos/Parameter.java ! test/tools/javac/annotations/pos/Primitives.java ! test/tools/javac/annotations/pos/RightTarget.java ! test/tools/javac/annotations/pos/Z1.java ! test/tools/javac/annotations/pos/Z2.java ! test/tools/javac/annotations/pos/Z3.java ! test/tools/javac/annotations/pos/Z4.java ! test/tools/javac/annotations/pos/package-info.java ! test/tools/javac/assert/Attach.java ! test/tools/javac/assert/DU1.java ! test/tools/javac/assert/DU2.java ! test/tools/javac/assert/Position.java ! test/tools/javac/boxing/BoxedForeach.java ! test/tools/javac/boxing/Boxing1.java ! test/tools/javac/boxing/Boxing2.java ! test/tools/javac/boxing/Boxing4.java ! test/tools/javac/boxing/BoxingCaching.java ! test/tools/javac/capture/Capture1.java ! test/tools/javac/capture/Capture2.java ! test/tools/javac/capture/Capture3.java ! test/tools/javac/capture/Capture5.java ! test/tools/javac/cast/BoxedArray.java ! test/tools/javac/enum/AbstractEmptyEnum.java ! test/tools/javac/enum/AbstractEnum1.java ! test/tools/javac/enum/DA1.java ! test/tools/javac/enum/DA2.java ! test/tools/javac/enum/DA3.java ! test/tools/javac/enum/Def.java ! test/tools/javac/enum/Enum1.java ! test/tools/javac/enum/Enum2.java ! test/tools/javac/enum/Enum3.java ! test/tools/javac/enum/EnumImplicitPrivateConstructor.java ! test/tools/javac/enum/EnumInit.java ! test/tools/javac/enum/EnumPrivateConstructor.java ! test/tools/javac/enum/EnumProtectedConstructor.java ! test/tools/javac/enum/EnumPublicConstructor.java ! test/tools/javac/enum/EnumSwitch1.java ! test/tools/javac/enum/EnumSwitch2.java ! test/tools/javac/enum/EnumSwitch3.java ! test/tools/javac/enum/EnumSwitch4.java ! test/tools/javac/enum/ExplicitlyAbstractEnum1.java ! test/tools/javac/enum/ExplicitlyAbstractEnum2.java ! test/tools/javac/enum/ExplicitlyFinalEnum1.java ! test/tools/javac/enum/ExplicitlyFinalEnum2.java ! test/tools/javac/enum/FauxEnum1.java ! test/tools/javac/enum/FauxEnum3.java ! test/tools/javac/enum/FauxSpecialEnum1.java ! test/tools/javac/enum/FauxSpecialEnum2.java ! test/tools/javac/enum/LocalEnum.java ! test/tools/javac/enum/NoFinal.java ! test/tools/javac/enum/NoFinal2.java ! test/tools/javac/enum/NoFinal3.java ! test/tools/javac/enum/NoFinal4.java ! test/tools/javac/enum/NoFinal5.java ! test/tools/javac/enum/OkFinal.java ! test/tools/javac/enum/SynthValues.java ! test/tools/javac/enum/T5075242.java ! test/tools/javac/enum/T5081785.java ! test/tools/javac/enum/TrailingComma.java ! test/tools/javac/enum/UserValue.java ! test/tools/javac/enum/ValueOf.java ! test/tools/javac/enum/enumSwitch/EnumSwitch.java ! test/tools/javac/foreach/Foreach.java ! test/tools/javac/foreach/GenericIterator.java ! test/tools/javac/foreach/IntersectIterator.java ! test/tools/javac/foreach/ListOfListTest.java ! test/tools/javac/foreach/SpecIterable.java ! test/tools/javac/foreach/StaticBlock.java ! test/tools/javac/foreach/SuperfluousAbstract.java ! test/tools/javac/generics/ArrayClone.java ! test/tools/javac/generics/ArrayTypearg.java ! test/tools/javac/generics/BridgeClash.java ! test/tools/javac/generics/BridgeOrder.java ! test/tools/javac/generics/CastCrash.java ! test/tools/javac/generics/Casting.java ! test/tools/javac/generics/Casting2.java ! test/tools/javac/generics/Casting3.java ! test/tools/javac/generics/Casting4.java ! test/tools/javac/generics/Conditional.java ! test/tools/javac/generics/Covar2.java ! test/tools/javac/generics/Covar3.java ! test/tools/javac/generics/Covar4.java ! test/tools/javac/generics/Crash01.java ! test/tools/javac/generics/Crash02.java ! test/tools/javac/generics/CyclicInheritance3.java ! test/tools/javac/generics/CyclicInheritance5.java ! test/tools/javac/generics/ErasureClashCrash.java ! test/tools/javac/generics/ExtendedRaw1.java ! test/tools/javac/generics/ExtendedRaw2.java ! test/tools/javac/generics/ExtendedRaw3.java ! test/tools/javac/generics/ExtendedRaw4.java ! test/tools/javac/generics/FinalBridge.java ! test/tools/javac/generics/GenLit1.java ! test/tools/javac/generics/GenLit2.java ! test/tools/javac/generics/GenericAnonCtor.java ! test/tools/javac/generics/GenericMerge.java ! test/tools/javac/generics/GenericOverride.java ! test/tools/javac/generics/GenericThrowable.java ! test/tools/javac/generics/GetClass.java ! test/tools/javac/generics/GetClass2.java ! test/tools/javac/generics/InheritanceConflict.java ! test/tools/javac/generics/InheritanceConflict2.java ! test/tools/javac/generics/InheritanceConflict3.java ! test/tools/javac/generics/InnerInterface1.java ! test/tools/javac/generics/InnerInterface2.java ! test/tools/javac/generics/InstanceOf1.java ! test/tools/javac/generics/InstanceOf2.java ! test/tools/javac/generics/InstanceOf3.java ! test/tools/javac/generics/InterfaceCast1.java ! test/tools/javac/generics/LoadOrder.java ! test/tools/javac/generics/MissingBridge.java ! test/tools/javac/generics/MissingCast.java ! test/tools/javac/generics/Multibound1.java ! test/tools/javac/generics/MultipleInheritance.java ! test/tools/javac/generics/NameOrder.java ! test/tools/javac/generics/Nonlinear.java ! test/tools/javac/generics/ParametricException.java ! test/tools/javac/generics/ParenVerify.java ! test/tools/javac/generics/PermuteBound.java ! test/tools/javac/generics/PrimitiveClass.java ! test/tools/javac/generics/PrimitiveVariant.java ! test/tools/javac/generics/RawClient.java ! test/tools/javac/generics/RefEqual.java ! test/tools/javac/generics/RelaxedArrays.java ! test/tools/javac/generics/ReverseOrder.java ! test/tools/javac/generics/SelfImplement.java ! test/tools/javac/generics/SilentUnchecked.java ! test/tools/javac/generics/SuperTypeargs.java ! test/tools/javac/generics/T4661029.java ! test/tools/javac/generics/T4683314.java ! test/tools/javac/generics/T4684378.java ! test/tools/javac/generics/T4695348.java ! test/tools/javac/generics/T4695415.java ! test/tools/javac/generics/T4695847.java ! test/tools/javac/generics/T4711570.java ! test/tools/javac/generics/T4711572.java ! test/tools/javac/generics/T4711694.java ! test/tools/javac/generics/T4738171.java ! test/tools/javac/generics/T4739399.java ! test/tools/javac/generics/T4757416.java ! test/tools/javac/generics/T4784207a.java ! test/tools/javac/generics/T4784219.java ! test/tools/javac/generics/T5011073.java ! test/tools/javac/generics/T5094318.java ! test/tools/javac/generics/TyparamLit.java ! test/tools/javac/generics/TyparamStaticScope.java ! test/tools/javac/generics/TyparamStaticScope2.java ! test/tools/javac/generics/UncheckedArray.java ! test/tools/javac/generics/UncheckedConstructor.java ! test/tools/javac/generics/UncheckedCovariance.java ! test/tools/javac/generics/UnsoundInference.java ! test/tools/javac/generics/Varargs.java ! test/tools/javac/generics/Varargs2.java ! test/tools/javac/generics/WrongNew.java ! test/tools/javac/generics/abstract/T4717181c.java ! test/tools/javac/generics/bridge1/D.java ! test/tools/javac/generics/classreader/HArrayMethod.java ! test/tools/javac/generics/compat/CovariantCompat1.java ! test/tools/javac/generics/compat/OverrideBridge1.java ! test/tools/javac/generics/forwardSeparateBound/ForwardSeparateBound2.java ! test/tools/javac/generics/genericAbstract/A.java ! test/tools/javac/generics/odersky/BadTest.java ! test/tools/javac/generics/odersky/BadTest2.java ! test/tools/javac/generics/odersky/BadTest3.java ! test/tools/javac/generics/odersky/BadTest4.java ! test/tools/javac/generics/odersky/Test.java ! test/tools/javac/generics/odersky/Test2.java ! test/tools/javac/generics/odersky/Test3.java ! test/tools/javac/generics/odersky/Test4.java ! test/tools/javac/generics/parametricException/J.java ! test/tools/javac/generics/rare/Rare1.java ! test/tools/javac/generics/rare/Rare10.java ! test/tools/javac/generics/rare/Rare11.java ! test/tools/javac/generics/rare/Rare2.java ! test/tools/javac/generics/rare/Rare3.java ! test/tools/javac/generics/rare/Rare4.java ! test/tools/javac/generics/rare/Rare5.java ! test/tools/javac/generics/rare/Rare6.java ! test/tools/javac/generics/rare/Rare7.java ! test/tools/javac/generics/rare/Rare8.java ! test/tools/javac/generics/rare/Rare9.java ! test/tools/javac/generics/rawSeparate/RetroLexer.java ! test/tools/javac/generics/typeargs/Basic.java ! test/tools/javac/generics/typeargs/Metharg1.java ! test/tools/javac/generics/typeargs/Metharg2.java ! test/tools/javac/generics/typeargs/Newarg1.java ! test/tools/javac/generics/typeargs/Newarg2.java ! test/tools/javac/generics/typeargs/Superarg1.java ! test/tools/javac/generics/typeargs/Superarg2.java ! test/tools/javac/generics/typeargs/ThisArg.java ! test/tools/javac/generics/typevars/4856983/T4856983.java ! test/tools/javac/generics/typevars/4856983/T4856983a.java ! test/tools/javac/generics/typevars/4856983/T4856983b.java ! test/tools/javac/generics/wildcards/AssignmentDifferentTypes1.java ! test/tools/javac/generics/wildcards/AssignmentDifferentTypes2.java ! test/tools/javac/generics/wildcards/AssignmentDifferentTypes3.java ! test/tools/javac/generics/wildcards/AssignmentDifferentTypes4.java ! test/tools/javac/generics/wildcards/AssignmentDifferentTypes5.java ! test/tools/javac/generics/wildcards/AssignmentDifferentTypes6.java ! test/tools/javac/generics/wildcards/AssignmentDifferentTypes7.java ! test/tools/javac/generics/wildcards/AssignmentDifferentTypes8.java ! test/tools/javac/generics/wildcards/AssignmentDifferentTypes9.java ! test/tools/javac/generics/wildcards/AssignmentSameType1.java ! test/tools/javac/generics/wildcards/AssignmentSameType2.java ! test/tools/javac/generics/wildcards/AssignmentSameType3.java ! test/tools/javac/generics/wildcards/AssignmentSameType4.java ! test/tools/javac/generics/wildcards/AssignmentSameType5.java ! test/tools/javac/generics/wildcards/AssignmentSameType6.java ! test/tools/javac/generics/wildcards/AssignmentSameType7.java ! test/tools/javac/generics/wildcards/AssignmentSameType8.java ! test/tools/javac/generics/wildcards/BoundBug.java ! test/tools/javac/generics/wildcards/ContraArg.java ! test/tools/javac/generics/wildcards/T5097548.java ! test/tools/javac/generics/wildcards/T5097548b.java ! test/tools/javac/generics/wildcards/UnboundArray.java ! test/tools/javac/generics/wildcards/neg/AmbiguousCast.java ! test/tools/javac/generics/wildcards/neg/Capture.java ! test/tools/javac/generics/wildcards/neg/CastFail1.java ! test/tools/javac/generics/wildcards/neg/CastFail10.java ! test/tools/javac/generics/wildcards/neg/CastFail11.java ! test/tools/javac/generics/wildcards/neg/CastFail12.java ! test/tools/javac/generics/wildcards/neg/CastFail13.java ! test/tools/javac/generics/wildcards/neg/CastFail14.java ! test/tools/javac/generics/wildcards/neg/CastFail15.java ! test/tools/javac/generics/wildcards/neg/CastFail16.java ! test/tools/javac/generics/wildcards/neg/CastFail17.java ! test/tools/javac/generics/wildcards/neg/CastFail18.java ! test/tools/javac/generics/wildcards/neg/CastFail19.java ! test/tools/javac/generics/wildcards/neg/CastFail2.java ! test/tools/javac/generics/wildcards/neg/CastFail20.java ! test/tools/javac/generics/wildcards/neg/CastFail21.java ! test/tools/javac/generics/wildcards/neg/CastFail3.java ! test/tools/javac/generics/wildcards/neg/CastFail4.java ! test/tools/javac/generics/wildcards/neg/CastFail5.java ! test/tools/javac/generics/wildcards/neg/CastFail6.java ! test/tools/javac/generics/wildcards/neg/CastFail7.java ! test/tools/javac/generics/wildcards/neg/CastFail8.java ! test/tools/javac/generics/wildcards/neg/CastFail9.java ! test/tools/javac/generics/wildcards/neg/CastWarn10.java ! test/tools/javac/generics/wildcards/neg/CastWarn11.java ! test/tools/javac/generics/wildcards/neg/CastWarn12.java ! test/tools/javac/generics/wildcards/neg/CastWarn13.java ! test/tools/javac/generics/wildcards/neg/CastWarn14.java ! test/tools/javac/generics/wildcards/neg/CastWarn2.java ! test/tools/javac/generics/wildcards/neg/CastWarn3.java ! test/tools/javac/generics/wildcards/neg/CastWarn4.java ! test/tools/javac/generics/wildcards/neg/CastWarn5.java ! test/tools/javac/generics/wildcards/neg/CastWarn6.java ! test/tools/javac/generics/wildcards/neg/CastWarn7.java ! test/tools/javac/generics/wildcards/neg/CastWarn8.java ! test/tools/javac/generics/wildcards/neg/CastWarn9.java ! test/tools/javac/generics/wildcards/neg/ParamCast.java ! test/tools/javac/generics/wildcards/neg/Readonly.java ! test/tools/javac/generics/wildcards/neg/Unbounded.java ! test/tools/javac/generics/wildcards/pos/AmbiguousCast2.java ! test/tools/javac/generics/wildcards/pos/BoundsCollision.java ! test/tools/javac/generics/wildcards/pos/Capture.java ! test/tools/javac/generics/wildcards/pos/CastTest.java ! test/tools/javac/generics/wildcards/pos/InstanceOf.java ! test/tools/javac/generics/wildcards/pos/ParamCast.java ! test/tools/javac/generics/wildcards/pos/RvalConversion.java ! test/tools/javac/generics/wildcards/pos/UncheckedCast1.java ! test/tools/javac/importscope/A.java ! test/tools/javac/limits/FinallyNesting.java ! test/tools/javac/lint/Unchecked.java ! test/tools/javac/miranda/T4711325.java ! test/tools/javac/mixedTarget/CompatibleAbstracts1.java ! test/tools/javac/mixedTarget/ExtendCovariant2.java ! test/tools/javac/overload/T5090220.java ! test/tools/javac/processing/environment/TestSourceVersion.java ! test/tools/javac/stackmap/UninitThis.java ! test/tools/javac/staticImport/Ambig1.java ! test/tools/javac/staticImport/ImportInherit.java ! test/tools/javac/staticImport/ImportPrivate.java ! test/tools/javac/staticImport/PrivateStaticImport.java ! test/tools/javac/staticImport/Shadow.java ! test/tools/javac/staticImport/StaticImport.java ! test/tools/javac/staticImport/StaticImport2.java ! test/tools/javac/unicode/Unmappable.java ! test/tools/javac/varargs/Anon.java ! test/tools/javac/varargs/BadSyntax2.java ! test/tools/javac/varargs/Varargs1.java ! test/tools/javac/varargs/VarargsOverride.java ! test/tools/javac/varargs/Warn1.java ! test/tools/javac/varargs/Warn2.java ! test/tools/javac/varargs/warning/Warn2.java ! test/tools/javac/varargs/warning/Warn3.java ! test/tools/javadoc/LangVers.java ! test/tools/javadoc/annotations/annotateMethodsFields/Main.java ! test/tools/javadoc/annotations/annotatePackage/Main.java ! test/tools/javadoc/annotations/annotateParams/Main.java ! test/tools/javadoc/annotations/defaults/Main.java ! test/tools/javadoc/annotations/elementTypes/Main.java ! test/tools/javadoc/annotations/shortcuts/Main.java ! test/tools/javadoc/enum/docComments/Main.java ! test/tools/javadoc/enum/enumType/Main.java ! test/tools/javadoc/generics/genericClass/Main.java ! test/tools/javadoc/generics/genericInnerAndOuter/Main.java ! test/tools/javadoc/generics/genericInterface/Main.java ! test/tools/javadoc/generics/genericMethod/Main.java ! test/tools/javadoc/generics/genericSuper/Main.java ! test/tools/javadoc/generics/supertypes/Main.java ! test/tools/javadoc/generics/throwsGeneric/Main.java ! test/tools/javadoc/generics/tparamCycle/Main.java ! test/tools/javadoc/generics/tparamTagOnMethod/Main.java ! test/tools/javadoc/generics/tparamTagOnType/Main.java ! test/tools/javadoc/generics/wildcards/Main.java ! test/tools/javadoc/lib/Tester.java ! test/tools/javadoc/varArgs/Main.java Changeset: d4828eba4939 Author: jjg Date: 2009-05-28 09:49 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/langtools/rev/d4828eba4939 6802102: unignore @ignored tests where possible Reviewed-by: mcimadamore ! test/tools/javac/T6405099.java ! test/tools/javac/api/6431257/T6431257.java ! test/tools/javac/api/TestJavacTaskScanner.java ! test/tools/javac/code/ArrayClone.java - test/tools/javac/code/ArrayClone.sh ! test/tools/javac/generics/inference/6365166/NewTest.java Changeset: 47cf04bb80c9 Author: jjg Date: 2009-05-29 16:26 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/langtools/rev/47cf04bb80c9 6838199: remove support for old javap Reviewed-by: ohair, mcimadamore ! make/build.xml ! src/share/classes/com/sun/tools/javap/JavapTask.java ! src/share/classes/com/sun/tools/javap/Main.java ! src/share/classes/com/sun/tools/javap/resources/javap.properties - src/share/classes/sun/tools/javap/AttrData.java - src/share/classes/sun/tools/javap/CPX.java - src/share/classes/sun/tools/javap/CPX2.java - src/share/classes/sun/tools/javap/ClassData.java - src/share/classes/sun/tools/javap/Constants.java - src/share/classes/sun/tools/javap/FieldData.java - src/share/classes/sun/tools/javap/InnerClassData.java - src/share/classes/sun/tools/javap/JavapEnvironment.java - src/share/classes/sun/tools/javap/JavapPrinter.java - src/share/classes/sun/tools/javap/LineNumData.java - src/share/classes/sun/tools/javap/LocVarData.java - src/share/classes/sun/tools/javap/Main.java - src/share/classes/sun/tools/javap/MethodData.java - src/share/classes/sun/tools/javap/RuntimeConstants.java - src/share/classes/sun/tools/javap/StackMapData.java - src/share/classes/sun/tools/javap/StackMapTableData.java - src/share/classes/sun/tools/javap/Tables.java - src/share/classes/sun/tools/javap/TrapData.java - src/share/classes/sun/tools/javap/TypeSignature.java ! test/tools/javap/ExtPath.java - test/tools/javap/ListTest.java - test/tools/javap/OptionTest.java Changeset: 163f5d75f77a Author: tbell Date: 2009-06-11 21:35 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/langtools/rev/163f5d75f77a Merge ! make/Makefile ! make/build.xml - src/share/classes/sun/tools/javap/AttrData.java - src/share/classes/sun/tools/javap/CPX.java - src/share/classes/sun/tools/javap/CPX2.java - src/share/classes/sun/tools/javap/ClassData.java - src/share/classes/sun/tools/javap/Constants.java - src/share/classes/sun/tools/javap/FieldData.java - src/share/classes/sun/tools/javap/InnerClassData.java - src/share/classes/sun/tools/javap/JavapEnvironment.java - src/share/classes/sun/tools/javap/JavapPrinter.java - src/share/classes/sun/tools/javap/LineNumData.java - src/share/classes/sun/tools/javap/LocVarData.java - src/share/classes/sun/tools/javap/Main.java - src/share/classes/sun/tools/javap/MethodData.java - src/share/classes/sun/tools/javap/RuntimeConstants.java - src/share/classes/sun/tools/javap/StackMapData.java - src/share/classes/sun/tools/javap/StackMapTableData.java - src/share/classes/sun/tools/javap/Tables.java - src/share/classes/sun/tools/javap/TrapData.java - src/share/classes/sun/tools/javap/TypeSignature.java - test/tools/javac/code/ArrayClone.sh - test/tools/javap/ListTest.java - test/tools/javap/OptionTest.java Changeset: 6855e5aa3348 Author: tbell Date: 2009-06-21 23:55 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/langtools/rev/6855e5aa3348 Merge Changeset: ddef2ef424d8 Author: yan Date: 2009-06-25 00:20 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/langtools/rev/ddef2ef424d8 Merge - make/README - src/share/classes/sun/tools/javap/AttrData.java - src/share/classes/sun/tools/javap/CPX.java - src/share/classes/sun/tools/javap/CPX2.java - src/share/classes/sun/tools/javap/ClassData.java - src/share/classes/sun/tools/javap/Constants.java - src/share/classes/sun/tools/javap/FieldData.java - src/share/classes/sun/tools/javap/InnerClassData.java - src/share/classes/sun/tools/javap/JavapEnvironment.java - src/share/classes/sun/tools/javap/JavapPrinter.java - src/share/classes/sun/tools/javap/LineNumData.java - src/share/classes/sun/tools/javap/LocVarData.java - src/share/classes/sun/tools/javap/Main.java - src/share/classes/sun/tools/javap/MethodData.java - src/share/classes/sun/tools/javap/RuntimeConstants.java - src/share/classes/sun/tools/javap/StackMapData.java - src/share/classes/sun/tools/javap/StackMapTableData.java - src/share/classes/sun/tools/javap/Tables.java - src/share/classes/sun/tools/javap/TrapData.java - src/share/classes/sun/tools/javap/TypeSignature.java - test/tools/javac/code/ArrayClone.sh - test/tools/javap/ListTest.java - test/tools/javap/OptionTest.java From yuri.nesterenko at sun.com Thu Jun 25 02:51:43 2009 From: yuri.nesterenko at sun.com (yuri.nesterenko at sun.com) Date: Thu, 25 Jun 2009 09:51:43 +0000 Subject: hg: jdk7/swing/jdk: 74 new changesets Message-ID: <20090625100927.DED79E095@hg.openjdk.java.net> Changeset: 827a93c4d06a Author: vasya Date: 2009-05-14 10:58 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/jdk/rev/827a93c4d06a Added tag jdk7-b59 for changeset 2a5a1b269e89 ! .hgtags Changeset: 9ad7e6462145 Author: aph Date: 2009-04-17 15:56 +0100 URL: http://hg.openjdk.java.net/jdk7/swing/jdk/rev/9ad7e6462145 6829575: 100028: Debug information is incomplete or missing Summary: Enable debugging in many places Reviewed-by: ohair Contributed-by: Andrew Haley ! make/common/Defs-linux.gmk ! make/sun/awt/mawt.gmk Changeset: 5ceb9eb621d1 Author: chegar Date: 2009-05-07 17:02 +0100 URL: http://hg.openjdk.java.net/jdk7/swing/jdk/rev/5ceb9eb621d1 6837982: SCTP API docs not being generated. Summary: Update docs makefile to build javadoc for the com.sun.nio.sctp package. Reviewed-by: jccollet, alanb, weijun ! make/docs/Makefile Changeset: 86d2541a9ba2 Author: xdono Date: 2009-05-07 10:31 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/jdk/rev/86d2541a9ba2 Merge - src/share/native/java/util/zip/ZipEntry.c - src/share/native/sun/java2d/pipe/RenderBuffer.c - test/com/sun/awt/Translucency/TranslucentJAppletTest/TranslucentJAppletTest.java - test/com/sun/awt/Translucency/TranslucentShapedFrameTest/TSFrame.java - test/com/sun/awt/Translucency/TranslucentShapedFrameTest/TranslucentShapedFrameTest.form - test/com/sun/awt/Translucency/TranslucentShapedFrameTest/TranslucentShapedFrameTest.java Changeset: 39d93fb6926c Author: xdono Date: 2009-05-07 12:26 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/jdk/rev/39d93fb6926c Merge Changeset: 6ca1c622dd6e Author: ohair Date: 2009-05-07 18:19 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/jdk/rev/6ca1c622dd6e 6835803: Type error in src/windows/native/sun/windows/awt_Window.cpp Reviewed-by: prr ! src/windows/native/sun/windows/awt_Window.cpp Changeset: 7ec6857812d2 Author: ohair Date: 2009-05-08 11:24 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/jdk/rev/7ec6857812d2 Merge ! src/windows/native/sun/windows/awt_Window.cpp Changeset: 9eeeeee69368 Author: ohair Date: 2009-05-15 13:14 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/jdk/rev/9eeeeee69368 6841873: Fix windows redist default location for msvc runtime dlls Reviewed-by: tbell ! make/common/shared/Defs-windows.gmk Changeset: 97064d73976f Author: ohair Date: 2009-05-15 13:21 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/jdk/rev/97064d73976f Merge Changeset: fdbc48164a8b Author: ohair Date: 2009-05-18 10:36 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/jdk/rev/fdbc48164a8b 6842023: Improve test reliability, Increase timeout factor on jtreg tests, etc. Reviewed-by: tbell ! make/jprt.properties ! test/Makefile ! test/java/lang/ThreadGroup/NullThreadName.java ! test/java/util/ResourceBundle/RestrictedBundleTest.java ! test/java/util/WeakHashMap/GCDuringIteration.java Changeset: c06d30bd8c69 Author: andrew Date: 2009-05-21 16:29 +0100 URL: http://hg.openjdk.java.net/jdk7/swing/jdk/rev/c06d30bd8c69 6841728: Make building the Nimbus L 'n' F optional (100054) Summary: Add DISABLE_NIMBUS variable to prevent Nimbus subdirs being built Reviewed-by: mr, ohair ! make/common/shared/Sanity.gmk ! make/javax/swing/plaf/Makefile ! make/tools/Makefile Changeset: 238591c80bc5 Author: aph Date: 2009-05-21 18:41 +0100 URL: http://hg.openjdk.java.net/jdk7/swing/jdk/rev/238591c80bc5 6839133: lcms 1.18 update breaks ICC_ProfileRGB Tests Reviewed-by: avu, prr ! src/share/native/sun/java2d/cmm/lcms/LCMS.c Changeset: f62f7fcc9965 Author: art Date: 2009-05-15 15:40 +0400 URL: http://hg.openjdk.java.net/jdk7/swing/jdk/rev/f62f7fcc9965 6678385: Random java.lang.StackOverflowError from various JDKs Reviewed-by: stayer ! make/sun/xawt/mapfile-vers ! src/solaris/classes/sun/awt/X11/MotifDnDConstants.java ! src/solaris/classes/sun/awt/X11/MotifDnDDragSourceProtocol.java ! src/solaris/classes/sun/awt/X11/MotifDnDDropTargetProtocol.java ! src/solaris/classes/sun/awt/X11/WindowPropertyGetter.java ! src/solaris/classes/sun/awt/X11/XAWTXSettings.java ! src/solaris/classes/sun/awt/X11/XDecoratedPeer.java ! src/solaris/classes/sun/awt/X11/XDnDDragSourceProtocol.java ! src/solaris/classes/sun/awt/X11/XDnDDropTargetProtocol.java ! src/solaris/classes/sun/awt/X11/XDragSourceProtocol.java ! src/solaris/classes/sun/awt/X11/XDropTargetRegistry.java ! src/solaris/classes/sun/awt/X11/XEmbedCanvasPeer.java + src/solaris/classes/sun/awt/X11/XErrorHandler.java ! src/solaris/classes/sun/awt/X11/XProtocol.java ! src/solaris/classes/sun/awt/X11/XQueryTree.java ! src/solaris/classes/sun/awt/X11/XToolkit.java ! src/solaris/classes/sun/awt/X11/XTranslateCoordinates.java ! src/solaris/classes/sun/awt/X11/XWM.java ! src/solaris/classes/sun/awt/X11/XlibUtil.java ! src/solaris/classes/sun/awt/X11/XlibWrapper.java ! src/solaris/native/sun/awt/awt_GraphicsEnv.c ! src/solaris/native/sun/awt/awt_InputMethod.c ! src/solaris/native/sun/awt/awt_MToolkit.c ! src/solaris/native/sun/xawt/XToolkit.c ! src/solaris/native/sun/xawt/XlibWrapper.c Changeset: 019fd945ebc5 Author: yan Date: 2009-05-18 12:39 +0400 URL: http://hg.openjdk.java.net/jdk7/swing/jdk/rev/019fd945ebc5 6834525: PIT: RowToleranceTransitivityTest test fail with crash on rhel4 x86 and rhel 5x86 Summary: do not try to use released XKB resources Reviewed-by: art ! src/solaris/classes/sun/awt/X11/XKeysym.java ! src/solaris/classes/sun/awt/X11/XToolkit.java ! src/solaris/classes/sun/awt/X11/keysym2ucs.h Changeset: 875524a2b311 Author: anthony Date: 2009-05-19 12:15 +0400 URL: http://hg.openjdk.java.net/jdk7/swing/jdk/rev/875524a2b311 6811219: Deadlock java AWT in XWarningWindow Summary: The locking scheme has been re-architected, the code slightly refactored. Reviewed-by: art, dcherepanov ! src/solaris/classes/sun/awt/X11/XWarningWindow.java ! src/solaris/classes/sun/awt/X11/XWindowPeer.java Changeset: 5eaa495dc929 Author: anthony Date: 2009-05-19 14:14 +0400 URL: http://hg.openjdk.java.net/jdk7/swing/jdk/rev/5eaa495dc929 6812298: Dynamic GraphicsConfig changes don't work on X11 platforms Summary: The peer gets recreated if the visual of the new GC differs from the previous one Reviewed-by: art, dcherepanov ! src/share/classes/java/awt/Component.java ! src/share/classes/java/awt/Container.java ! src/share/classes/java/awt/peer/ComponentPeer.java ! src/share/classes/sun/awt/NullComponentPeer.java ! src/solaris/classes/sun/awt/X11/XComponentPeer.java ! src/solaris/classes/sun/awt/X11/XEmbedChildProxyPeer.java ! src/solaris/classes/sun/awt/X11/XWindow.java ! src/windows/classes/sun/awt/windows/WComponentPeer.java Changeset: ac08fa3d6c98 Author: anthony Date: 2009-05-19 14:43 +0400 URL: http://hg.openjdk.java.net/jdk7/swing/jdk/rev/ac08fa3d6c98 6833444: _BOOTDIR1/_BOOTDIR2 on MS Windows should be consistent with other platforms Summary: Added optional _BOOTDIR3 that provides the J: path for the BOOTDIR on Windows Reviewed-by: ohair, xdono ! make/common/Sanity.gmk ! make/common/shared/Defs-windows.gmk ! make/common/shared/Defs.gmk ! make/common/shared/Sanity.gmk Changeset: 315f315b8d3c Author: anthony Date: 2009-05-19 17:03 +0400 URL: http://hg.openjdk.java.net/jdk7/swing/jdk/rev/315f315b8d3c 6839999: Cumulative fix for 6762511 and 6838003 Summary: Adds support for ARGB and ABGR X11 surfaces. Reviewed-by: art, yan ! src/solaris/classes/sun/awt/X11/generator/sizes.64-solaris-i386 ! src/solaris/classes/sun/awt/X11/generator/xlibtypes.txt ! src/solaris/classes/sun/awt/X11GraphicsConfig.java ! src/solaris/classes/sun/java2d/x11/X11PMBlitBgLoops.java ! src/solaris/classes/sun/java2d/x11/X11PMBlitLoops.java ! src/solaris/classes/sun/java2d/x11/X11SurfaceData.java ! src/solaris/native/sun/awt/X11Color.c ! src/solaris/native/sun/awt/awt_GraphicsEnv.c ! src/solaris/native/sun/awt/awt_p.h Changeset: b33466bb2fed Author: art Date: 2009-05-21 12:29 +0400 URL: http://hg.openjdk.java.net/jdk7/swing/jdk/rev/b33466bb2fed 6794764: Translucent windows are completely repainted on every paint event, on Windows 6719382: Printing of AWT components on windows is not working 6726866: Repainting artifacts when resizing or dragging JInternalFrames in non-opaque toplevel 6683775: Painting artifacts is seen when panel is made setOpaque(false) for a translucent window Reviewed-by: anthony, tdv, alexp ! src/share/classes/java/awt/GraphicsConfiguration.java ! src/share/classes/java/awt/GraphicsDevice.java ! src/share/classes/java/awt/Window.java ! src/share/classes/java/awt/peer/WindowPeer.java ! src/share/classes/javax/swing/DefaultDesktopManager.java ! src/share/classes/javax/swing/JComponent.java ! src/share/classes/javax/swing/RepaintManager.java ! src/share/classes/sun/awt/AWTAccessor.java ! src/share/classes/sun/awt/EmbeddedFrame.java ! src/solaris/classes/sun/awt/X11/XWindowPeer.java ! src/windows/classes/sun/awt/windows/TranslucentWindowPainter.java ! src/windows/classes/sun/awt/windows/WCanvasPeer.java ! src/windows/classes/sun/awt/windows/WComponentPeer.java ! src/windows/classes/sun/awt/windows/WObjectPeer.java ! src/windows/classes/sun/awt/windows/WWindowPeer.java ! src/windows/native/sun/windows/awt_Component.cpp ! src/windows/native/sun/windows/awt_Component.h ! src/windows/native/sun/windows/awt_Window.cpp ! src/windows/native/sun/windows/awt_Window.h + test/javax/swing/JComponent/6683775/bug6683775.java + test/javax/swing/JInternalFrame/6726866/bug6726866.html + test/javax/swing/JInternalFrame/6726866/bug6726866.java Changeset: 97ece6b3d84f Author: ant Date: 2009-05-21 15:04 +0400 URL: http://hg.openjdk.java.net/jdk7/swing/jdk/rev/97ece6b3d84f 6833019: KeyboardFocusManager.getCurrentKeyboardFocusManager() throws unspecified HeadlessException Reviewed-by: art ! src/share/classes/sun/awt/HeadlessToolkit.java Changeset: cfe73335a065 Author: dav Date: 2009-05-22 16:09 +0400 URL: http://hg.openjdk.java.net/jdk7/swing/jdk/rev/cfe73335a065 6799099: All automatic regression tests that create Robot fail on X11 Reviewed-by: art, ant ! make/sun/xawt/mapfile-vers ! src/share/classes/java/awt/Robot.java ! src/share/classes/java/awt/event/InputEvent.java ! src/share/classes/java/awt/event/MouseEvent.java ! src/share/classes/java/awt/peer/RobotPeer.java ! src/share/classes/sun/awt/SunToolkit.java ! src/solaris/classes/sun/awt/X11/XBaseWindow.java ! src/solaris/classes/sun/awt/X11/XDragSourceContextPeer.java ! src/solaris/classes/sun/awt/X11/XRobotPeer.java ! src/solaris/classes/sun/awt/X11/XToolkit.java ! src/solaris/classes/sun/awt/X11/XWindow.java ! src/solaris/classes/sun/awt/X11/XWindowPeer.java ! src/solaris/classes/sun/awt/motif/MToolkit.java ! src/solaris/native/sun/awt/awt_MToolkit.c ! src/solaris/native/sun/awt/awt_Robot.c ! src/solaris/native/sun/xawt/XToolkit.c ! src/windows/classes/sun/awt/windows/WRobotPeer.java ! src/windows/classes/sun/awt/windows/WToolkit.java ! src/windows/native/sun/windows/awt_Robot.cpp ! src/windows/native/sun/windows/awt_Toolkit.cpp Changeset: 52493efeb137 Author: dav Date: 2009-05-25 18:22 +0400 URL: http://hg.openjdk.java.net/jdk7/swing/jdk/rev/52493efeb137 6844750: Solaris build failed after 6799099 Reviewed-by: yan ! src/solaris/native/sun/xawt/XToolkit.c Changeset: 7da360c3baf6 Author: yan Date: 2009-06-01 01:05 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/jdk/rev/7da360c3baf6 Merge Changeset: 951ecbad4068 Author: yan Date: 2009-06-01 01:06 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/jdk/rev/951ecbad4068 Merge Changeset: 0c3ef2d612a4 Author: yan Date: 2009-06-09 23:47 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/jdk/rev/0c3ef2d612a4 Merge ! make/common/shared/Defs-windows.gmk ! make/common/shared/Sanity.gmk ! src/windows/native/sun/windows/awt_Window.cpp Changeset: f72c0dc047b9 Author: xdono Date: 2009-06-11 10:54 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/jdk/rev/f72c0dc047b9 Added tag jdk7-b60 for changeset 0c3ef2d612a4 ! .hgtags Changeset: 03f2ac812821 Author: xdono Date: 2009-06-18 13:05 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/jdk/rev/03f2ac812821 Added tag jdk7-b61 for changeset f72c0dc047b9 ! .hgtags Changeset: 842fb12a21d7 Author: sherman Date: 2009-05-19 15:25 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/jdk/rev/842fb12a21d7 6831794: charset EUC_TW is 12.6% of the total size of charsets.jar 6229811: Several codepoints in EUC_TW failed in roundtrip conversion Summary: Re-write EUC_TW charset to address the size and roundtrip issue. Reviewed-by: alanb ! make/java/nio/Makefile ! make/sun/Makefile ! make/sun/nio/FILES_java.gmk ! make/sun/nio/Makefile ! make/tools/CharsetMapping/Makefile ! make/tools/src/build/tools/charsetmapping/CharsetMapping.java ! make/tools/src/build/tools/charsetmapping/GenerateMapping.java ! make/tools/src/build/tools/charsetmapping/GenerateSBCS.java ! src/share/classes/sun/io/ByteToCharEUC_TW.java ! src/share/classes/sun/io/CharToByteEUC_TW.java ! src/share/classes/sun/nio/cs/ext/EUC_TW.java ! src/share/classes/sun/nio/cs/ext/ISO2022.java ! src/share/classes/sun/nio/cs/ext/ISO2022_CN.java ! src/solaris/classes/sun/awt/motif/X11CNS11643.java ! test/sun/nio/cs/TestISO2022CNDecoder.java Changeset: 72e4312ea1e0 Author: sherman Date: 2009-05-19 16:03 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/jdk/rev/72e4312ea1e0 6843079: Putback for the new EUC_TW is not complete Summary: Putback the files missed in last putback Reviewed-by: alanb + make/tools/CharsetMapping/euc_tw.map + make/tools/src/build/tools/charsetmapping/GenerateEUC_TW.java + make/tools/src/build/tools/charsetmapping/Main.java + test/sun/nio/cs/EUC_TW_OLD.java + test/sun/nio/cs/TestEUC_TW.java + test/sun/nio/cs/TestX11CNS.java + test/sun/nio/cs/X11CNS11643.java + test/sun/nio/cs/X11CNS11643P1.java + test/sun/nio/cs/X11CNS11643P2.java + test/sun/nio/cs/X11CNS11643P3.java Changeset: 49478a651a28 Author: sherman Date: 2009-05-19 16:21 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/jdk/rev/49478a651a28 6728376: Wrong error handling in Java_java_util_zip_Deflater_deflateBytes leads to size 0 if compress fails 6735255: ZipFile.close() does not close ZipFileInputStreams, contrary to the API document Summary: Throws OOM when malloc failed. Closes all outstanding streams when closing Reviewed-by: alanb ! src/share/classes/java/util/zip/ZipFile.java ! src/share/native/java/util/zip/Deflater.c ! src/share/native/java/util/zip/Inflater.c Changeset: 057cc7d16812 Author: sherman Date: 2009-05-19 16:33 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/jdk/rev/057cc7d16812 Merge Changeset: 02b02a886b9b Author: weijun Date: 2009-05-20 10:11 +0800 URL: http://hg.openjdk.java.net/jdk7/swing/jdk/rev/02b02a886b9b 6832016: {DigestMD5Base,Des3DkCrypto}.setParityBit should use Integer.bitCount Reviewed-by: weijun Contributed-by: Christian Thalinger ! src/share/classes/com/sun/security/sasl/digest/DigestMD5Base.java ! src/share/classes/sun/security/krb5/internal/crypto/dk/Des3DkCrypto.java Changeset: 4d607dc5cb22 Author: weijun Date: 2009-05-20 10:12 +0800 URL: http://hg.openjdk.java.net/jdk7/swing/jdk/rev/4d607dc5cb22 6682516: SPNEGO_HTTP_AUTH/WWW_KRB and SPNEGO_HTTP_AUTH/WWW_SPNEGO failed on all non-windows platforms Reviewed-by: xuelei ! src/share/classes/sun/security/krb5/PrincipalName.java + test/sun/security/krb5/canonicalize/META-INF/services/sun.net.spi.nameservice.NameServiceDescriptor + test/sun/security/krb5/canonicalize/Test.java Changeset: eb46247f6c53 Author: weijun Date: 2009-05-20 10:12 +0800 URL: http://hg.openjdk.java.net/jdk7/swing/jdk/rev/eb46247f6c53 6832353: Krb5LoginModule: use the KRB5CCNAME when searching for Kerberos ticket cache Reviewed-by: xuelei ! src/share/classes/sun/security/krb5/internal/ccache/FileCredentialsCache.java Changeset: 1bc5be8665cc Author: jjg Date: 2009-05-20 13:55 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/jdk/rev/1bc5be8665cc 6827026: Change javac source and target default to 7 Reviewed-by: darcy, ohair ! make/common/shared/Defs-control.gmk ! make/common/shared/Defs-java.gmk ! make/javax/swing/beaninfo/SwingBeans.gmk Changeset: 914c33c7de3e Author: sherman Date: 2009-05-21 23:32 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/jdk/rev/914c33c7de3e 6843578: Re-implement IBM doublebyte charsets 6639450: IBM949C encoder modifies state of IBM949 encoder 6569191: Cp943 io converter returns U+0000 and U+FFFD for unconvertable character 6577466: Character encoder IBM970 throws a BufferOverflowException 5065777: CharsetEncoder canEncode() methods often incorrectly return false Summary: Re-write 11 IBM doublebyte charsets. Thanks Ulf.Zibis for the codereview! Reviewed-by: martin ! make/sun/nio/FILES_java.gmk ! make/sun/nio/Makefile + make/tools/CharsetMapping/DoubleByte-X.java + make/tools/CharsetMapping/IBM1381.c2b + make/tools/CharsetMapping/IBM1381.map + make/tools/CharsetMapping/IBM1383.c2b + make/tools/CharsetMapping/IBM1383.map + make/tools/CharsetMapping/IBM1383.nr + make/tools/CharsetMapping/IBM930.c2b + make/tools/CharsetMapping/IBM930.map + make/tools/CharsetMapping/IBM930.nr + make/tools/CharsetMapping/IBM933.c2b + make/tools/CharsetMapping/IBM933.map + make/tools/CharsetMapping/IBM935.c2b + make/tools/CharsetMapping/IBM935.map + make/tools/CharsetMapping/IBM935.nr + make/tools/CharsetMapping/IBM937.c2b + make/tools/CharsetMapping/IBM937.map + make/tools/CharsetMapping/IBM937.nr + make/tools/CharsetMapping/IBM939.c2b + make/tools/CharsetMapping/IBM939.map + make/tools/CharsetMapping/IBM939.nr + make/tools/CharsetMapping/IBM942.c2b + make/tools/CharsetMapping/IBM942.map + make/tools/CharsetMapping/IBM943.map + make/tools/CharsetMapping/IBM943.nr + make/tools/CharsetMapping/IBM948.c2b + make/tools/CharsetMapping/IBM948.map + make/tools/CharsetMapping/IBM949.map + make/tools/CharsetMapping/IBM950.c2b + make/tools/CharsetMapping/IBM950.map + make/tools/CharsetMapping/IBM970.c2b + make/tools/CharsetMapping/IBM970.map + make/tools/CharsetMapping/dbcs + make/tools/src/build/tools/charsetmapping/GenerateDBCS.java ! make/tools/src/build/tools/charsetmapping/Main.java ! src/share/classes/sun/io/ByteToCharCp1381.java ! src/share/classes/sun/io/ByteToCharCp1383.java ! src/share/classes/sun/io/ByteToCharCp834.java ! src/share/classes/sun/io/ByteToCharCp930.java ! src/share/classes/sun/io/ByteToCharCp933.java ! src/share/classes/sun/io/ByteToCharCp935.java ! src/share/classes/sun/io/ByteToCharCp937.java ! src/share/classes/sun/io/ByteToCharCp939.java ! src/share/classes/sun/io/ByteToCharCp942.java ! src/share/classes/sun/io/ByteToCharCp942C.java ! src/share/classes/sun/io/ByteToCharCp943.java ! src/share/classes/sun/io/ByteToCharCp943C.java ! src/share/classes/sun/io/ByteToCharCp948.java ! src/share/classes/sun/io/ByteToCharCp949.java ! src/share/classes/sun/io/ByteToCharCp949C.java ! src/share/classes/sun/io/ByteToCharCp950.java ! src/share/classes/sun/io/ByteToCharCp970.java ! src/share/classes/sun/io/ByteToCharDBCS_ASCII.java ! src/share/classes/sun/io/ByteToCharDBCS_EBCDIC.java + src/share/classes/sun/io/ByteToCharEUC2.java ! src/share/classes/sun/io/CharToByteCp1381.java ! src/share/classes/sun/io/CharToByteCp1383.java ! src/share/classes/sun/io/CharToByteCp834.java ! src/share/classes/sun/io/CharToByteCp930.java ! src/share/classes/sun/io/CharToByteCp933.java ! src/share/classes/sun/io/CharToByteCp935.java ! src/share/classes/sun/io/CharToByteCp937.java ! src/share/classes/sun/io/CharToByteCp939.java ! src/share/classes/sun/io/CharToByteCp942.java ! src/share/classes/sun/io/CharToByteCp942C.java ! src/share/classes/sun/io/CharToByteCp943.java ! src/share/classes/sun/io/CharToByteCp943C.java ! src/share/classes/sun/io/CharToByteCp948.java ! src/share/classes/sun/io/CharToByteCp949.java ! src/share/classes/sun/io/CharToByteCp949C.java ! src/share/classes/sun/io/CharToByteCp950.java ! src/share/classes/sun/io/CharToByteCp970.java ! src/share/classes/sun/io/CharToByteDBCS_ASCII.java ! src/share/classes/sun/io/CharToByteDBCS_EBCDIC.java - src/share/classes/sun/nio/cs/ext/DBCSDecoderMapping.java - src/share/classes/sun/nio/cs/ext/DBCS_IBM_ASCII_Decoder.java - src/share/classes/sun/nio/cs/ext/DBCS_IBM_ASCII_Encoder.java - src/share/classes/sun/nio/cs/ext/DBCS_IBM_EBCDIC_Decoder.java - src/share/classes/sun/nio/cs/ext/DBCS_IBM_EBCDIC_Encoder.java - src/share/classes/sun/nio/cs/ext/DBCS_ONLY_IBM_EBCDIC_Decoder.java + src/share/classes/sun/nio/cs/ext/DoubleByte.java - src/share/classes/sun/nio/cs/ext/IBM1381.java - src/share/classes/sun/nio/cs/ext/IBM1383.java ! src/share/classes/sun/nio/cs/ext/IBM834.java - src/share/classes/sun/nio/cs/ext/IBM930.java - src/share/classes/sun/nio/cs/ext/IBM933.java - src/share/classes/sun/nio/cs/ext/IBM935.java - src/share/classes/sun/nio/cs/ext/IBM937.java - src/share/classes/sun/nio/cs/ext/IBM939.java - src/share/classes/sun/nio/cs/ext/IBM942.java ! src/share/classes/sun/nio/cs/ext/IBM942C.java - src/share/classes/sun/nio/cs/ext/IBM943.java ! src/share/classes/sun/nio/cs/ext/IBM943C.java - src/share/classes/sun/nio/cs/ext/IBM948.java - src/share/classes/sun/nio/cs/ext/IBM949.java ! src/share/classes/sun/nio/cs/ext/IBM949C.java - src/share/classes/sun/nio/cs/ext/IBM950.java - src/share/classes/sun/nio/cs/ext/IBM970.java - src/share/classes/sun/nio/cs/ext/SimpleEUCDecoder.java ! test/sun/nio/cs/FindCanEncodeBugs.java ! test/sun/nio/cs/FindEncoderBugs.java + test/sun/nio/cs/OLD/DBCSDecoderMapping.java + test/sun/nio/cs/OLD/DBCS_IBM_ASCII_Decoder.java + test/sun/nio/cs/OLD/DBCS_IBM_ASCII_Encoder.java + test/sun/nio/cs/OLD/DBCS_IBM_EBCDIC_Decoder.java + test/sun/nio/cs/OLD/DBCS_IBM_EBCDIC_Encoder.java + test/sun/nio/cs/OLD/DBCS_ONLY_IBM_EBCDIC_Decoder.java + test/sun/nio/cs/OLD/IBM1381_OLD.java + test/sun/nio/cs/OLD/IBM1383_OLD.java + test/sun/nio/cs/OLD/IBM930_OLD.java + test/sun/nio/cs/OLD/IBM933_OLD.java + test/sun/nio/cs/OLD/IBM935_OLD.java + test/sun/nio/cs/OLD/IBM937_OLD.java + test/sun/nio/cs/OLD/IBM939_OLD.java + test/sun/nio/cs/OLD/IBM942C_OLD.java + test/sun/nio/cs/OLD/IBM942_OLD.java + test/sun/nio/cs/OLD/IBM943C_OLD.java + test/sun/nio/cs/OLD/IBM943_OLD.java + test/sun/nio/cs/OLD/IBM948_OLD.java + test/sun/nio/cs/OLD/IBM949C_OLD.java + test/sun/nio/cs/OLD/IBM949_OLD.java + test/sun/nio/cs/OLD/IBM950_OLD.java + test/sun/nio/cs/OLD/IBM970_OLD.java + test/sun/nio/cs/OLD/SimpleEUCDecoder.java + test/sun/nio/cs/OLD/TestIBMDB.java ! test/sun/nio/cs/TestEUC_TW.java ! test/sun/nio/cs/TestIBMBugs.java Changeset: 8d2efec31d78 Author: xlu Date: 2009-05-24 16:29 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/jdk/rev/8d2efec31d78 6622432: RFE: Performance improvements to java.math.BigDecimal Reviewed-by: darcy ! src/share/classes/java/math/BigDecimal.java ! src/share/classes/java/math/BigInteger.java ! src/share/classes/java/math/BitSieve.java ! src/share/classes/java/math/MathContext.java ! src/share/classes/java/math/MutableBigInteger.java ! src/share/classes/java/math/SignedMutableBigInteger.java ! test/java/math/BigDecimal/AddTests.java ! test/java/math/BigDecimal/DivideTests.java Changeset: 3994c5c669cb Author: xlu Date: 2009-05-24 16:35 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/jdk/rev/3994c5c669cb 6806261: BigDecimal.longValueExact() method throws NullPointerException Summary: add various tests to test the change to 6622432 Reviewed-by: darcy + test/java/math/BigDecimal/EqualsTests.java + test/java/math/BigDecimal/LongValueExactTests.java + test/java/math/BigDecimal/MultiplyTests.java + test/java/math/BigDecimal/PrecisionTests.java + test/java/math/BigInteger/CompareToTests.java Changeset: 206d73d299d4 Author: jccollet Date: 2009-05-25 22:27 +0200 URL: http://hg.openjdk.java.net/jdk7/swing/jdk/rev/206d73d299d4 6349566: java.net.CookieManager doesn't set default domain Summary: Enforce default domain in CookieManager Reviewed-by: michaelm ! src/share/classes/java/net/CookieManager.java ! test/java/net/CookieHandler/CookieManagerTest.java Changeset: dc3865883a5a Author: weijun Date: 2009-05-26 10:12 +0800 URL: http://hg.openjdk.java.net/jdk7/swing/jdk/rev/dc3865883a5a 6844887: NPE in TextCallbackHandler Reviewed-by: xuelei ! src/share/classes/com/sun/security/auth/callback/TextCallbackHandler.java + test/com/sun/security/auth/callback/TextCallbackHandler/NPE.java Changeset: d93b7df1e260 Author: xuelei Date: 2009-05-26 16:19 +0800 URL: http://hg.openjdk.java.net/jdk7/swing/jdk/rev/d93b7df1e260 6822460: support self-issued certificate Summary: checking self-issued certificate during certification path building Reviewed-by: mullan, weijun ! src/share/classes/sun/security/validator/PKIXValidator.java ! src/share/classes/sun/security/validator/SimpleValidator.java + test/sun/security/ssl/com/sun/net/ssl/internal/ssl/X509TrustManagerImpl/SelfIssuedCert.java Changeset: c3c5cc0f2a3e Author: xuelei Date: 2009-05-26 16:43 +0800 URL: http://hg.openjdk.java.net/jdk7/swing/jdk/rev/c3c5cc0f2a3e 6720721: CRL check with circular depency support needed Summary: checking AKID of certificates and CRLs Reviewed-by: mullan, weijun ! src/share/classes/sun/security/provider/certpath/DistributionPointFetcher.java + test/java/security/cert/CertPathValidator/indirectCRL/CircularCRLOneLevel.java + test/java/security/cert/CertPathValidator/indirectCRL/CircularCRLOneLevelRevoked.java + test/java/security/cert/CertPathValidator/indirectCRL/CircularCRLTwoLevel.java + test/java/security/cert/CertPathValidator/indirectCRL/CircularCRLTwoLevelRevoked.java + test/java/security/cert/CertPathValidator/indirectCRL/README + test/java/security/cert/CertPathValidator/indirectCRL/generate.sh + test/java/security/cert/CertPathValidator/indirectCRL/openssl.cnf Changeset: 045aeb76b0ff Author: jccollet Date: 2009-05-26 16:03 +0200 URL: http://hg.openjdk.java.net/jdk7/swing/jdk/rev/045aeb76b0ff 6726695: HttpURLConnection shoul support 'Expect: 100-contimue' headers for PUT Summary: Added code triggered when 'Expect: 100-continue' header has been added Reviewed-by: chegar ! src/share/classes/sun/net/www/http/HttpClient.java ! src/share/classes/sun/net/www/http/KeepAliveStreamCleaner.java ! src/share/classes/sun/net/www/protocol/http/HttpURLConnection.java + test/sun/net/www/http/HttpClient/B6726695.java Changeset: 25db260cb810 Author: xuelei Date: 2009-05-27 17:48 +0800 URL: http://hg.openjdk.java.net/jdk7/swing/jdk/rev/25db260cb810 6845286: Add regression test for name constraints Summary: create regression test cases on name constraints Reviewed-by: weijun + test/java/security/cert/CertPathValidator/nameConstraints/NameConstraintsWithRID.java + test/java/security/cert/CertPathValidator/nameConstraints/NameConstraintsWithUnexpectedRID.java + test/java/security/cert/CertPathValidator/nameConstraints/NameConstraintsWithoutRID.java + test/java/security/cert/CertPathValidator/nameConstraints/generate.sh + test/java/security/cert/CertPathValidator/nameConstraints/openssl.cnf Changeset: 7772d77bd7c2 Author: mchung Date: 2009-05-26 17:47 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/jdk/rev/7772d77bd7c2 6829636: test/java/util/logging/LoggingDeadlock2.java is flaky Summary: remove @ignore Reviewed-by: swamyv ! src/share/classes/java/net/URLConnection.java ! test/Makefile ! test/java/util/logging/LoggingDeadlock2.java Changeset: 2aeaffb6c897 Author: mchung Date: 2009-05-26 17:54 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/jdk/rev/2aeaffb6c897 6798842: TEST_BUG: ThreadStackTrace.java fails intermittently with unexpected thread status. Summary: remove @ignore Reviewed-by: swamyv ! test/java/lang/management/ThreadMXBean/ThreadStackTrace.java + test/java/lang/management/ThreadMXBean/Utils.java Changeset: fba2425da9b1 Author: mchung Date: 2009-05-26 18:02 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/jdk/rev/fba2425da9b1 5080203: TEST_BUG: ThreadStateTest fails intermittently. Summary: Retry a few times to check thread status before reporting failure Reviewed-by: swamyv ! test/java/lang/management/ThreadMXBean/ThreadStateTest.java Changeset: a7a38e606a7a Author: mchung Date: 2009-05-26 18:07 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/jdk/rev/a7a38e606a7a 6512493: TEST_BUG: unexpected LockInfo failure in LockedSynchronizers.java Summary: Retry a few times to check thread status before reporting failure Reviewed-by: swamyv ! test/java/lang/management/ThreadMXBean/LockingThread.java ! test/java/lang/management/ThreadMXBean/MonitorDeadlock.java Changeset: fb97068670e6 Author: mchung Date: 2009-05-26 18:09 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/jdk/rev/fb97068670e6 6535104: TEST_BUG: FindDeadlocks.java fails intermittently. Summary: Retry a few times to check thread status before reporting failure Reviewed-by: swamyv ! test/java/lang/management/ThreadMXBean/SynchronizerDeadlock.java ! test/java/lang/management/ThreadMXBean/SynchronizerLockingThread.java Changeset: 742b55c45a70 Author: mchung Date: 2009-05-27 13:02 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/jdk/rev/742b55c45a70 Merge Changeset: 59bbb9f3f430 Author: kamg Date: 2009-05-27 13:20 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/jdk/rev/59bbb9f3f430 6838211: jdk docs creation broken for tracing docs Summary: Fix javadoc makefile macro Reviewed-by: ohair, jjg ! make/docs/Makefile Changeset: 8e77f61508cc Author: kamg Date: 2009-05-27 15:32 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/jdk/rev/8e77f61508cc Merge Changeset: 928e0f1043e6 Author: chegar Date: 2009-05-29 15:51 +0100 URL: http://hg.openjdk.java.net/jdk7/swing/jdk/rev/928e0f1043e6 6807602: Increase MAX_BUFFER_LEN and MAX_HEAP_BUFFER_LEN on 64-bit Solaris and Linux Reviewed-by: alanb ! src/solaris/native/java/net/net_util_md.h Changeset: aece9096d5cd Author: jjg Date: 2009-05-29 16:27 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/jdk/rev/aece9096d5cd 6838199: remove support for old javap Reviewed-by: ohair, mcimadamore ! make/common/Release.gmk ! make/common/internal/Defs-langtools.gmk ! make/launchers/Makefile Changeset: d26c268597ed Author: sherman Date: 2009-05-29 16:34 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/jdk/rev/d26c268597ed 6808625: Incomplete code sample in Deflater javadoc Summary: added compresser.end() into example Reviewed-by: martin ! src/share/classes/java/util/zip/Deflater.java Changeset: 045743e0eb2d Author: xuelei Date: 2009-06-04 11:28 +0800 URL: http://hg.openjdk.java.net/jdk7/swing/jdk/rev/045743e0eb2d 6847459: Allow trust anchor self-issued intermediate version 1 and version 2 certificate Reviewed-by: weijun ! src/share/classes/sun/security/provider/certpath/ConstraintsChecker.java Changeset: 8f405b65ddac Author: weijun Date: 2009-06-09 14:17 +0800 URL: http://hg.openjdk.java.net/jdk7/swing/jdk/rev/8f405b65ddac 6578647: Undefined requesting URL in java.net.Authenticator.getPasswordAuthentication() Reviewed-by: chegar, valeriep ! src/share/classes/sun/net/www/protocol/http/AuthenticationHeader.java + src/share/classes/sun/net/www/protocol/http/HttpCallerInfo.java ! src/share/classes/sun/net/www/protocol/http/HttpURLConnection.java ! src/share/classes/sun/net/www/protocol/http/NegotiateAuthentication.java ! src/share/classes/sun/net/www/protocol/http/NegotiateCallbackHandler.java ! src/share/classes/sun/net/www/protocol/http/NegotiatorImpl.java + src/share/classes/sun/security/jgss/GSSCaller.java ! src/share/classes/sun/security/jgss/GSSManagerImpl.java ! src/share/classes/sun/security/jgss/GSSUtil.java + src/share/classes/sun/security/jgss/HttpCaller.java ! src/share/classes/sun/security/jgss/LoginConfigImpl.java ! src/share/classes/sun/security/jgss/ProviderList.java ! src/share/classes/sun/security/jgss/krb5/InitialToken.java ! src/share/classes/sun/security/jgss/krb5/Krb5AcceptCredential.java ! src/share/classes/sun/security/jgss/krb5/Krb5Context.java ! src/share/classes/sun/security/jgss/krb5/Krb5InitCredential.java ! src/share/classes/sun/security/jgss/krb5/Krb5MechFactory.java ! src/share/classes/sun/security/jgss/krb5/Krb5Util.java ! src/share/classes/sun/security/jgss/spnego/SpNegoMechFactory.java ! src/share/classes/sun/security/jgss/wrapper/NativeGSSFactory.java ! src/share/classes/sun/security/ssl/ClientHandshaker.java ! src/share/classes/sun/security/ssl/KerberosClientKeyExchange.java ! src/share/classes/sun/security/ssl/ServerHandshaker.java ! test/sun/security/jgss/DefaultGssConfig.java ! test/sun/security/jgss/GssNPE.java + test/sun/security/krb5/auto/HttpNegotiateServer.java ! test/sun/security/krb5/auto/KDC.java + test/sun/security/krb5/auto/META-INF/services/sun.net.spi.nameservice.NameServiceDescriptor Changeset: 4da7b972b391 Author: mullan Date: 2009-06-10 09:12 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/jdk/rev/4da7b972b391 6845161: Bottleneck in Configuration.getConfiguration synchronized call Summary: Reduce scope of synchronized block Reviewed-by: weijun ! src/share/classes/javax/security/auth/login/Configuration.java Changeset: ffbcf1d1103c Author: xuelei Date: 2009-06-12 09:00 +0800 URL: http://hg.openjdk.java.net/jdk7/swing/jdk/rev/ffbcf1d1103c 6570344: Invalid RSA OID in sun.security.x509.AlgorithmId Summary: change RSA OID to "2.5.8.1.1" Reviewed-by: mullan ! src/share/classes/sun/security/x509/AlgorithmId.java Changeset: 328148f45b31 Author: tbell Date: 2009-06-11 21:32 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/jdk/rev/328148f45b31 Merge ! make/docs/Makefile - src/share/classes/sun/nio/cs/ext/DBCSDecoderMapping.java - src/share/classes/sun/nio/cs/ext/DBCS_IBM_ASCII_Decoder.java - src/share/classes/sun/nio/cs/ext/DBCS_IBM_ASCII_Encoder.java - src/share/classes/sun/nio/cs/ext/DBCS_IBM_EBCDIC_Decoder.java - src/share/classes/sun/nio/cs/ext/DBCS_IBM_EBCDIC_Encoder.java - src/share/classes/sun/nio/cs/ext/DBCS_ONLY_IBM_EBCDIC_Decoder.java - src/share/classes/sun/nio/cs/ext/IBM1381.java - src/share/classes/sun/nio/cs/ext/IBM1383.java - src/share/classes/sun/nio/cs/ext/IBM930.java - src/share/classes/sun/nio/cs/ext/IBM933.java - src/share/classes/sun/nio/cs/ext/IBM935.java - src/share/classes/sun/nio/cs/ext/IBM937.java - src/share/classes/sun/nio/cs/ext/IBM939.java - src/share/classes/sun/nio/cs/ext/IBM942.java - src/share/classes/sun/nio/cs/ext/IBM943.java - src/share/classes/sun/nio/cs/ext/IBM948.java - src/share/classes/sun/nio/cs/ext/IBM949.java - src/share/classes/sun/nio/cs/ext/IBM950.java - src/share/classes/sun/nio/cs/ext/IBM970.java - src/share/classes/sun/nio/cs/ext/SimpleEUCDecoder.java ! test/Makefile Changeset: 74aefd0ab26d Author: martin Date: 2009-06-14 14:23 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/jdk/rev/74aefd0ab26d 6850720: (process) Use clone(CLONE_VM), not fork, on Linux to avoid swap exhaustion Summary: Use clone(CLONE_VM) on Linux; Reluctantly implement execvpe. Reviewed-by: michaelm ! src/solaris/native/java/lang/UNIXProcess_md.c ! test/java/lang/ProcessBuilder/Basic.java + test/java/lang/ProcessBuilder/BigFork.java Changeset: d0de3e41426b Author: martin Date: 2009-06-14 14:33 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/jdk/rev/d0de3e41426b 6511515: poor performance of LogRecord.inferCaller depending on java.lang.Throwable.getStackTraceElement Summary: Allow random access to stack trace elements; retrieve only needed ones Reviewed-by: swamyv Contributed-by: jeremymanson at google.com ! src/share/classes/java/lang/System.java ! src/share/classes/java/lang/Throwable.java ! src/share/classes/java/util/logging/LogRecord.java ! src/share/classes/sun/misc/JavaLangAccess.java Changeset: 5a5b56904855 Author: tbell Date: 2009-06-21 12:02 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/jdk/rev/5a5b56904855 6853336: (process) disable or remove clone-exec feature (6850720) Summary: clone-exec feature (6850720) needs more work on 32-bit Linux Reviewed-by: alanb, michaelm Contributed-by: Martin Buchholz ! src/solaris/native/java/lang/UNIXProcess_md.c Changeset: 55a584478eac Author: tbell Date: 2009-06-21 23:52 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/jdk/rev/55a584478eac Merge Changeset: 6f1f159aed75 Author: yan Date: 2009-06-03 17:41 +0400 URL: http://hg.openjdk.java.net/jdk7/swing/jdk/rev/6f1f159aed75 6839645: Swing application prints message in Control Panel if language is changed Summary: just remove debug printout from production builds; ignore multicharacter-generating keys Reviewed-by: uta ! src/windows/native/sun/windows/awt_Component.cpp Changeset: a3f970a8600b Author: anthony Date: 2009-06-04 15:18 +0400 URL: http://hg.openjdk.java.net/jdk7/swing/jdk/rev/a3f970a8600b 6832386: Fix JTreg test: java/awt/Graphics/DrawImageBG/SystemBgColorTest.java Summary: Removed unneeded System.exit(0) call. Reviewed-by: art, ohair, anthony Contributed-by: Omair Majid ! test/java/awt/Graphics/DrawImageBG/SystemBgColorTest.java Changeset: 7289003cd1c9 Author: dcherepanov Date: 2009-06-05 17:30 +0400 URL: http://hg.openjdk.java.net/jdk7/swing/jdk/rev/7289003cd1c9 6829180: Removing focused component from a window causes a JVM crash for JDK7b50+ on WinXP/Vista Summary: access pData on the toolkit thread Reviewed-by: art, anthony, naoto ! src/windows/native/sun/windows/awt_Component.cpp ! src/windows/native/sun/windows/awt_InputMethod.cpp ! src/windows/native/sun/windows/awt_Toolkit.cpp ! src/windows/native/sun/windows/awt_Toolkit.h ! src/windows/native/sun/windows/awtmsg.h Changeset: 70654407b626 Author: dcherepanov Date: 2009-06-15 11:15 -0400 URL: http://hg.openjdk.java.net/jdk7/swing/jdk/rev/70654407b626 6847584: closed/java/awt/EventDispatchThread/LoopRobustness/LoopRobustness.html fails Reviewed-by: anthony + test/java/awt/EventDispatchThread/LoopRobustness/LoopRobustness.html ! test/java/awt/EventDispatchThread/LoopRobustness/LoopRobustness.java Changeset: 0e441c781cdc Author: yan Date: 2009-06-16 00:37 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/jdk/rev/0e441c781cdc Merge - src/share/native/sun/java2d/pipe/RenderBuffer.c Changeset: 2a526ccd12e8 Author: andrew Date: 2009-06-17 21:13 +0100 URL: http://hg.openjdk.java.net/jdk7/swing/jdk/rev/2a526ccd12e8 6851515: awt_p.h incorporates a chunk of the XRender header Summary: Use XRender header directly rather than copying chunks locally Reviewed-by: anthony, ohair ! src/solaris/native/sun/awt/awt_GraphicsEnv.c ! src/solaris/native/sun/awt/awt_p.h Changeset: 45316d7cc9dc Author: yan Date: 2009-06-17 23:27 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/jdk/rev/45316d7cc9dc Merge - src/share/native/sun/font/bidi/cmemory.h - src/share/native/sun/font/bidi/jbidi.c - src/share/native/sun/font/bidi/jbidi.h - src/share/native/sun/font/bidi/ubidi.c - src/share/native/sun/font/bidi/ubidi.h - src/share/native/sun/font/bidi/ubidiimp.h - src/share/native/sun/font/bidi/ubidiln.c - src/share/native/sun/font/bidi/uchardir.c - src/share/native/sun/font/bidi/uchardir.h - src/share/native/sun/font/bidi/utypes.h Changeset: 12e11fab9a83 Author: yan Date: 2009-06-23 23:09 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/jdk/rev/12e11fab9a83 Merge - src/share/native/sun/font/bidi/cmemory.h - src/share/native/sun/font/bidi/jbidi.c - src/share/native/sun/font/bidi/jbidi.h - src/share/native/sun/font/bidi/ubidi.c - src/share/native/sun/font/bidi/ubidi.h - src/share/native/sun/font/bidi/ubidiimp.h - src/share/native/sun/font/bidi/ubidiln.c - src/share/native/sun/font/bidi/uchardir.c - src/share/native/sun/font/bidi/uchardir.h - src/share/native/sun/font/bidi/utypes.h Changeset: d086e324775c Author: yan Date: 2009-06-25 00:18 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/jdk/rev/d086e324775c Merge - src/share/classes/sun/nio/cs/ext/DBCSDecoderMapping.java - src/share/classes/sun/nio/cs/ext/DBCS_IBM_ASCII_Decoder.java - src/share/classes/sun/nio/cs/ext/DBCS_IBM_ASCII_Encoder.java - src/share/classes/sun/nio/cs/ext/DBCS_IBM_EBCDIC_Decoder.java - src/share/classes/sun/nio/cs/ext/DBCS_IBM_EBCDIC_Encoder.java - src/share/classes/sun/nio/cs/ext/DBCS_ONLY_IBM_EBCDIC_Decoder.java - src/share/classes/sun/nio/cs/ext/IBM1381.java - src/share/classes/sun/nio/cs/ext/IBM1383.java - src/share/classes/sun/nio/cs/ext/IBM930.java - src/share/classes/sun/nio/cs/ext/IBM933.java - src/share/classes/sun/nio/cs/ext/IBM935.java - src/share/classes/sun/nio/cs/ext/IBM937.java - src/share/classes/sun/nio/cs/ext/IBM939.java - src/share/classes/sun/nio/cs/ext/IBM942.java - src/share/classes/sun/nio/cs/ext/IBM943.java - src/share/classes/sun/nio/cs/ext/IBM948.java - src/share/classes/sun/nio/cs/ext/IBM949.java - src/share/classes/sun/nio/cs/ext/IBM950.java - src/share/classes/sun/nio/cs/ext/IBM970.java - src/share/classes/sun/nio/cs/ext/SimpleEUCDecoder.java Changeset: 4d54d6e7bcef Author: yan Date: 2009-06-25 02:42 -0700 URL: http://hg.openjdk.java.net/jdk7/swing/jdk/rev/4d54d6e7bcef Merge From uckelman at nomic.net Thu Jun 25 04:47:24 2009 From: uckelman at nomic.net (Joel Uckelman) Date: Thu, 25 Jun 2009 13:47:24 +0200 Subject: Background/Foreground colors and Gtk Look and Feel In-Reply-To: <4A3F8B38.6080006@sun.com> References: <4A2FCFE9.3000401@luciad.com> <20090610155637.4C4DB10095@charybdis.ellipsis.cx> <4A3F8B38.6080006@sun.com> Message-ID: <20090625114725.3AC2210176@charybdis.ellipsis.cx> Thus spake Alexander Potochkin: > Hello Gentlemen > > The truth is that L&F can completely ignore the background and > foreground properties > > see JComponent.setBackground() javadoc: > > * It is up to the look and feel to honor this property, some may > * choose to ignore it. > > So for reliable implementation I'd recommend to choose another technique > > You may be interested in this blog > http://polygoncell.blogspot.com/2008/07/validation-module-for-swing-applicati > on.html > > Thanks > alexp Thanks for the reply, but the technique in the blog post seems only to show how you'd decorate a component of type X which is being used as in the role of a component of type X. It doesn't address at all the problem of using a component of type Y in the role of a component of type X. The concrete problem I faced was that I needed a label which would have fully-justified text that would reflow when resized. So far as I was able to tell, there is no way to do this with JLabel. On the other hand, it's not terribly hard to subclass a JTextPane to get the text behavior I want. However, then I have the problem that a JTextPane doesn't look like a JLabel in some LAFs. I thought that I could overcome this by getting the foreground and background colors for JLabel from UIManager, and then setting those on my custom JTextPane. But setBackground() isn't guaranteed to work in all LAFs, and it just happens that the one LAF where I absolutely want it to work (GTK) is one where it doesn't. What I see as the fundamental problem here is that component classes and component roles are treated as identical. It should be possible to tell Swing that component X has the role Label, and therefore paint it like one. This should not depend on component X being a JLabel, as that ties the role to the implementation. Am I making sense here? I still don't see my way through this. -- J. From yuka.kamiya at sun.com Thu Jun 25 06:12:30 2009 From: yuka.kamiya at sun.com (yuka.kamiya at sun.com) Date: Thu, 25 Jun 2009 13:12:30 +0000 Subject: hg: jdk7/swing/jdk: 6792400: Avoid loading of Normalizer resources for simple uses Message-ID: <20090625131254.91A73E0B0@hg.openjdk.java.net> Changeset: e0707baa1593 Author: peytoia Date: 2009-06-25 21:55 +0900 URL: http://hg.openjdk.java.net/jdk7/swing/jdk/rev/e0707baa1593 6792400: Avoid loading of Normalizer resources for simple uses Reviewed-by: okutsu ! src/share/classes/sun/text/normalizer/NormalizerBase.java From Alexander.Potochkin at Sun.COM Thu Jun 25 06:58:15 2009 From: Alexander.Potochkin at Sun.COM (Alexander Potochkin) Date: Thu, 25 Jun 2009 17:58:15 +0400 Subject: Background/Foreground colors and Gtk Look and Feel In-Reply-To: <20090625114725.3AC2210176@charybdis.ellipsis.cx> References: <4A2FCFE9.3000401@luciad.com> <20090610155637.4C4DB10095@charybdis.ellipsis.cx> <4A3F8B38.6080006@sun.com> <20090625114725.3AC2210176@charybdis.ellipsis.cx> Message-ID: <4A438277.5080404@sun.com> Hello Joel If you just need to have a multiple line JLabel, you may be interested in following discussion: http://www.coderanch.com/t/338648/Swing-AWT-SWT-JFace/java/Multiple-lines-JLabel Thanks alexp > Thus spake Alexander Potochkin: >> Hello Gentlemen >> >> The truth is that L&F can completely ignore the background and >> foreground properties >> >> see JComponent.setBackground() javadoc: >> >> * It is up to the look and feel to honor this property, some may >> * choose to ignore it. >> >> So for reliable implementation I'd recommend to choose another technique >> >> You may be interested in this blog >> http://polygoncell.blogspot.com/2008/07/validation-module-for-swing-applicati >> on.html >> >> Thanks >> alexp > > Thanks for the reply, but the technique in the blog post seems only to > show how you'd decorate a component of type X which is being used as > in the role of a component of type X. It doesn't address at all the > problem of using a component of type Y in the role of a component of > type X. > > The concrete problem I faced was that I needed a label which would have > fully-justified text that would reflow when resized. So far as I was > able to tell, there is no way to do this with JLabel. On the other hand, > it's not terribly hard to subclass a JTextPane to get the text behavior > I want. However, then I have the problem that a JTextPane doesn't look > like a JLabel in some LAFs. I thought that I could overcome this by > getting the foreground and background colors for JLabel from UIManager, > and then setting those on my custom JTextPane. But setBackground() isn't > guaranteed to work in all LAFs, and it just happens that the one LAF > where I absolutely want it to work (GTK) is one where it doesn't. > > What I see as the fundamental problem here is that component classes > and component roles are treated as identical. It should be possible > to tell Swing that component X has the role Label, and therefore paint > it like one. This should not depend on component X being a JLabel, as > that ties the role to the implementation. > > Am I making sense here? I still don't see my way through this. > From sergey.malenkov at sun.com Thu Jun 25 07:49:45 2009 From: sergey.malenkov at sun.com (sergey.malenkov at sun.com) Date: Thu, 25 Jun 2009 14:49:45 +0000 Subject: hg: jdk7/swing/jdk: 6848364: javax/swing/border/Test4856008.java regression test fails due to BorderedComponent package not found Message-ID: <20090625145009.AC586E0CC@hg.openjdk.java.net> Changeset: ae9e74a17059 Author: malenkov Date: 2009-06-25 18:50 +0400 URL: http://hg.openjdk.java.net/jdk7/swing/jdk/rev/ae9e74a17059 6848364: javax/swing/border/Test4856008.java regression test fails due to BorderedComponent package not found Reviewed-by: alexp ! test/javax/swing/border/Test4856008.java From uckelman at nomic.net Thu Jun 25 13:04:35 2009 From: uckelman at nomic.net (Joel Uckelman) Date: Thu, 25 Jun 2009 22:04:35 +0200 Subject: Background/Foreground colors and Gtk Look and Feel In-Reply-To: <4A438277.5080404@sun.com> References: <4A2FCFE9.3000401@luciad.com> <20090610155637.4C4DB10095@charybdis.ellipsis.cx> <4A3F8B38.6080006@sun.com> <20090625114725.3AC2210176@charybdis.ellipsis.cx> <4A438277.5080404@sun.com> Message-ID: <20090625200435.70C0610074@charybdis.ellipsis.cx> Thus spake Alexander Potochkin: > Hello Joel > > If you just need to have a multiple line JLabel, > you may be interested in following discussion: > > http://www.coderanch.com/t/338648/Swing-AWT-SWT-JFace/java/Multiple-lines-JLa > bel > > Thanks > alexp > I wrote a brief demo just to test what they suggest: import javax.swing.*; public class Test { public static final String loremIpsum = "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."; public static void main(String[] arg) throws Exception { SwingUtilities.invokeLater(new Runnable() { public void run() { final JTextArea area = new JTextArea(loremIpsum, 20, 20); area.setEditable(false); area.setCursor(null); area.setOpaque(false); area.setFont(UIManager.getFont("Label.font")); area.setWrapStyleWord(true); area.setLineWrap(true); final JScrollPane scroll = new JScrollPane( area, JScrollPane.VERTICAL_SCROLLBAR_NEVER, JScrollPane.HORIZONTAL_SCROLLBAR_NEVER ); scroll.getViewport().setOpaque(false); final JFrame frame = new JFrame(); frame.add(scroll); frame.pack(); frame.setVisible(true); } }); } } My observation is that it is only by chance that this has the desired behavior. The JTextArea ends up with the background color that a JLabel would have because it just happens that in the LAF I'm using, JScrollPane and JLabel have the same background color---but there is no necessary connection between them. There could just as easily be a LAF where JScrollPane and JLabel do not share the same background color, and in that case I'm right back where I started, as there's also no guarantee that setBackground() will work. So, I contend that this is still not a solution. -- J. From peter.zhelezniakov at sun.com Thu Jun 25 21:15:14 2009 From: peter.zhelezniakov at sun.com (peter.zhelezniakov at sun.com) Date: Fri, 26 Jun 2009 04:15:14 +0000 Subject: hg: jdk7/swing/jdk: 6827032: NIMBUS: Drag and drop throws a NPE in SwingSet2 ColorChooser Message-ID: <20090626041527.52940E1F8@hg.openjdk.java.net> Changeset: f1f9d228800e Author: peterz Date: 2009-06-26 08:09 +0400 URL: http://hg.openjdk.java.net/jdk7/swing/jdk/rev/f1f9d228800e 6827032: NIMBUS: Drag and drop throws a NPE in SwingSet2 ColorChooser Reviewed-by: malenkov ! src/share/classes/javax/swing/plaf/synth/SynthColorChooserUI.java From sergey.malenkov at sun.com Fri Jun 26 05:28:57 2009 From: sergey.malenkov at sun.com (sergey.malenkov at sun.com) Date: Fri, 26 Jun 2009 12:28:57 +0000 Subject: hg: jdk7/swing/jdk: 6557223: Resize cursor stays after fast outline-resize of JInternalFrame with JScrollPane Message-ID: <20090626122932.96E28E317@hg.openjdk.java.net> Changeset: e60d3354ab9f Author: malenkov Date: 2009-06-26 16:30 +0400 URL: http://hg.openjdk.java.net/jdk7/swing/jdk/rev/e60d3354ab9f 6557223: Resize cursor stays after fast outline-resize of JInternalFrame with JScrollPane Reviewed-by: peterz ! src/share/classes/javax/swing/plaf/basic/BasicInternalFrameUI.java From sergey.malenkov at sun.com Fri Jun 26 05:57:39 2009 From: sergey.malenkov at sun.com (sergey.malenkov at sun.com) Date: Fri, 26 Jun 2009 12:57:39 +0000 Subject: hg: jdk7/swing/jdk: 6679840: provide a way to choose v-synced BufferStrategy Message-ID: <20090626125752.254DBE31C@hg.openjdk.java.net> Changeset: 1b40ddc3688c Author: malenkov Date: 2009-06-26 16:58 +0400 URL: http://hg.openjdk.java.net/jdk7/swing/jdk/rev/1b40ddc3688c 6679840: provide a way to choose v-synced BufferStrategy Reviewed-by: peterz ! src/share/classes/com/sun/java/swing/SwingUtilities3.java ! src/share/classes/javax/swing/BufferStrategyPaintManager.java From sergey.malenkov at sun.com Fri Jun 26 06:13:58 2009 From: sergey.malenkov at sun.com (sergey.malenkov at sun.com) Date: Fri, 26 Jun 2009 13:13:58 +0000 Subject: hg: jdk7/swing/jdk: 6742850: Antialiasing for GTK L&F should be turned on by default if there is no embedded bitmap. Message-ID: <20090626131410.7475AE321@hg.openjdk.java.net> Changeset: 800082d9b8df Author: malenkov Date: 2009-06-26 17:15 +0400 URL: http://hg.openjdk.java.net/jdk7/swing/jdk/rev/800082d9b8df 6742850: Antialiasing for GTK L&F should be turned on by default if there is no embedded bitmap. Reviewed-by: peterz ! src/share/classes/com/sun/java/swing/plaf/gtk/GTKLookAndFeel.java From peter.zhelezniakov at sun.com Fri Jun 26 10:49:07 2009 From: peter.zhelezniakov at sun.com (peter.zhelezniakov at sun.com) Date: Fri, 26 Jun 2009 17:49:07 +0000 Subject: hg: jdk7/swing/jdk: 6849805: Nimbus L&F: NimbusLookAndFeel.getDerivedColor() not always returns color2 for 1.0 midPoint Message-ID: <20090626174934.103D5E37C@hg.openjdk.java.net> Changeset: 95f3fb73cf60 Author: peterz Date: 2009-06-26 21:43 +0400 URL: http://hg.openjdk.java.net/jdk7/swing/jdk/rev/95f3fb73cf60 6849805: Nimbus L&F: NimbusLookAndFeel.getDerivedColor() not always returns color2 for 1.0 midPoint Summary: Different rounding mode used for float->int conversion Reviewed-by: malenkov ! src/share/classes/javax/swing/plaf/nimbus/AbstractRegionPainter.java ! src/share/classes/javax/swing/plaf/nimbus/NimbusLookAndFeel.java + test/javax/swing/plaf/nimbus/Test6849805.java From yuka.kamiya at sun.com Mon Jun 29 17:56:27 2009 From: yuka.kamiya at sun.com (yuka.kamiya at sun.com) Date: Tue, 30 Jun 2009 00:56:27 +0000 Subject: hg: jdk7/swing/jdk: 6855715: Font2Dtest demo needs to be updated to support Unicode 5.1.0. Message-ID: <20090630005652.61771E5CA@hg.openjdk.java.net> Changeset: 0bc2fa2d1938 Author: peytoia Date: 2009-06-30 09:38 +0900 URL: http://hg.openjdk.java.net/jdk7/swing/jdk/rev/0bc2fa2d1938 6855715: Font2Dtest demo needs to be updated to support Unicode 5.1.0. Reviewed-by: okutsu ! src/share/demo/jfc/Font2DTest/RangeMenu.java