GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — An external spec cannot use its superclass spec's states unless the superclass spec is read first · Issue #461 · liquid-java/liquidjava Open Labels bugSomething isn't workingSomething isn't working DescriptionImpact: a subclass's external spec can use the states of a Minimal reproducer (three files in one directory) // FrameRefinements.java @ExternalRefinementsFor("java.awt.Frame") public interface FrameRefinements { @StateRefinement(to = "notDisplayable(this)") void Frame(String title); @StateRefinement(from = "notDisplayable(this)") void setUndecorated(boolean undecorated); } // WindowRefinements.java @StateSet({"displayable", "notDisplayable"}) @ExternalRefinementsFor("java.awt.Window") public interface WindowRefinements { @StateRefinement(to = "notDisplayable(this)") void dispose(); @StateRefinement(to = "displayable(this)") void pack(); } // Use.java public class Use { static void borderless() { Frame host = new Frame("Playfield"); host.pack(); host.setUndecorated(true); } } Actual (main @ 19991d3): If the two interfaces are in one file with Expected: the result does not depend on file order. The state sets of every external spec should be registered before any spec's methods are read. Found while working on #456. ActivityMetadataMetadataAssigneesLabelsbugSomething isn't workingSomething isn't working TypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |