http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5508
Derik Barseghian <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #4 from Derik Barseghian <[email protected]> 2011-11-14 23:10:30 PST --- It's probably worth it, but note this means a large jump in the utilized revision of ptolemy (61797 to 62410) and represents a bit of work: * build-area-2.3 needs to be deleted and recreated at release (due to movement of jars) * bug#5540 should be fixed. * Export As=>XML, PNG, etc need to be tested, I've seen work in this area in ptolemy * I'll have to remember the black magic used to create a ptolemy 2.3 that doesn't keep a copy of the ptolemy code on our repository. (And I think I'm forgetting a few other kepler changes that should/will have to be included) (In reply to comment #3) > This is a Java 1.7 problem, I'm able to replicate the problem under Java 1.7 > under Mac OS X. > > I checked in a fix: > bash-3.2$ svn diff -r 62410 ~/ptII/ptolemy/actor/gui/HTMLViewer.java > Index: /Users/cxh/ptII/ptolemy/actor/gui/HTMLViewer.java > =================================================================== > --- /Users/cxh/ptII/ptolemy/actor/gui/HTMLViewer.java (revision 62410) > +++ /Users/cxh/ptII/ptolemy/actor/gui/HTMLViewer.java (working copy) > @@ -53,6 +53,7 @@ > > import ptolemy.gui.Top; > import ptolemy.kernel.util.StringAttribute; > +import ptolemy.util.ClassUtilities; > import ptolemy.util.MessageHandler; > > /////////////////////////////////////////////////////////////////// > @@ -356,6 +357,16 @@ > * @see #getPage() > */ > public void setPage(URL page) throws IOException { > + URL jarURL = ClassUtilities.jarURLEntryResource(page.toString()); > + if (jarURL != null) { > + // Under Java 1.7, JEditorPane.setPage() handles jar urls > + // differently. In Java 1.6, setPage() would correctly open > + // > jar:file:/Users/cxh/ptII/ptolemy/ptsupport.jar!/doc/mainVergilPtiny.htm > + // even though doc/MainVergilPtiny.htm is in doc/docConfig.jar, > + // not ptsupport.jar. So, we look up the jar URL. > + // See http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5508 > + page = jarURL; > + } > pane.setPage(page); > } > > This fix should be folded in to Kepler-2.3, which means creating another > release candidate. -- Configure bugmail: http://bugzilla.ecoinformatics.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug. _______________________________________________ Kepler-dev mailing list [email protected] http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev
