aboutsummaryrefslogtreecommitdiff
path: root/libjava/java
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/java')
-rw-r--r--libjava/java/applet/Applet$AccessibleApplet.h46
-rw-r--r--libjava/java/applet/Applet$URLAudioClip.h53
-rw-r--r--libjava/java/applet/Applet.h82
-rw-r--r--libjava/java/applet/AppletContext.h48
-rw-r--r--libjava/java/applet/AppletStub.h39
-rw-r--r--libjava/java/applet/AudioClip.h31
-rw-r--r--libjava/java/awt/AWTError.h32
-rw-r--r--libjava/java/awt/AWTEvent.h75
-rw-r--r--libjava/java/awt/AWTEventMulticaster.h151
-rw-r--r--libjava/java/awt/AWTException.h32
-rw-r--r--libjava/java/awt/AWTKeyStroke$1.h34
-rw-r--r--libjava/java/awt/AWTKeyStroke$2.h31
-rw-r--r--libjava/java/awt/AWTKeyStroke$3.h34
-rw-r--r--libjava/java/awt/AWTKeyStroke.h70
-rw-r--r--libjava/java/awt/AWTPermission.h33
-rw-r--r--libjava/java/awt/ActiveEvent.h29
-rw-r--r--libjava/java/awt/Adjustable.h50
-rw-r--r--libjava/java/awt/AlphaComposite$1.h34
-rw-r--r--libjava/java/awt/AlphaComposite.h73
-rw-r--r--libjava/java/awt/AttributeValue.h39
-rw-r--r--libjava/java/awt/BasicStroke.h92
-rw-r--r--libjava/java/awt/BorderLayout.h85
-rw-r--r--libjava/java/awt/BufferCapabilities$FlipContents.h36
-rw-r--r--libjava/java/awt/BufferCapabilities.h43
-rw-r--r--libjava/java/awt/Button$AccessibleAWTButton.h56
-rw-r--r--libjava/java/awt/Button.h75
-rw-r--r--libjava/java/awt/Canvas$AccessibleAWTCanvas.h44
-rw-r--r--libjava/java/awt/Canvas$CanvasBltBufferStrategy.h32
-rw-r--r--libjava/java/awt/Canvas$CanvasFlipBufferStrategy.h32
-rw-r--r--libjava/java/awt/Canvas.h64
-rw-r--r--libjava/java/awt/CardLayout.h68
-rw-r--r--libjava/java/awt/Checkbox$AccessibleAWTCheckbox.h61
-rw-r--r--libjava/java/awt/Checkbox.h82
-rw-r--r--libjava/java/awt/CheckboxGroup.h39
-rw-r--r--libjava/java/awt/CheckboxMenuItem$AccessibleAWTCheckboxMenuItem.h35
-rw-r--r--libjava/java/awt/CheckboxMenuItem.h71
-rw-r--r--libjava/java/awt/Choice$AccessibleAWTChoice.h48
-rw-r--r--libjava/java/awt/Choice.h84
-rw-r--r--libjava/java/awt/Color.h128
-rw-r--r--libjava/java/awt/ColorPaintContext$ColorRaster.h39
-rw-r--r--libjava/java/awt/ColorPaintContext.h46
-rw-r--r--libjava/java/awt/Component$AccessibleAWTComponent$AccessibleAWTComponentHandler.h42
-rw-r--r--libjava/java/awt/Component$AccessibleAWTComponent$AccessibleAWTFocusHandler.h40
-rw-r--r--libjava/java/awt/Component$AccessibleAWTComponent.h104
-rw-r--r--libjava/java/awt/Component$BltBufferStrategy.h59
-rw-r--r--libjava/java/awt/Component$FlipBufferStrategy.h63
-rw-r--r--libjava/java/awt/Component$HeavyweightInLightweightListener.h42
-rw-r--r--libjava/java/awt/Component.h434
-rw-r--r--libjava/java/awt/ComponentOrientation.h45
-rw-r--r--libjava/java/awt/Composite.h35
-rw-r--r--libjava/java/awt/CompositeContext.h35
-rw-r--r--libjava/java/awt/Container$AccessibleAWTContainer$AccessibleContainerHandler.h40
-rw-r--r--libjava/java/awt/Container$AccessibleAWTContainer.h53
-rw-r--r--libjava/java/awt/Container$GfxPaintAllVisitor.h35
-rw-r--r--libjava/java/awt/Container$GfxPaintVisitor.h35
-rw-r--r--libjava/java/awt/Container$GfxPrintAllVisitor.h35
-rw-r--r--libjava/java/awt/Container$GfxPrintVisitor.h35
-rw-r--r--libjava/java/awt/Container$GfxVisitor.h33
-rw-r--r--libjava/java/awt/Container.h164
-rw-r--r--libjava/java/awt/ContainerOrderFocusTraversalPolicy.h52
-rw-r--r--libjava/java/awt/Cursor.h69
-rw-r--r--libjava/java/awt/DefaultFocusTraversalPolicy.h35
-rw-r--r--libjava/java/awt/DefaultKeyboardFocusManager$EventDelayRequest.h48
-rw-r--r--libjava/java/awt/DefaultKeyboardFocusManager.h60
-rw-r--r--libjava/java/awt/Dialog$AccessibleAWTDialog.h46
-rw-r--r--libjava/java/awt/Dialog.h76
-rw-r--r--libjava/java/awt/Dimension.h45
-rw-r--r--libjava/java/awt/DisplayMode.h43
-rw-r--r--libjava/java/awt/Event.h119
-rw-r--r--libjava/java/awt/EventDispatchThread.h37
-rw-r--r--libjava/java/awt/EventQueue$Queue.h36
-rw-r--r--libjava/java/awt/EventQueue.h69
-rw-r--r--libjava/java/awt/FileDialog.h62
-rw-r--r--libjava/java/awt/FlowLayout.h60
-rw-r--r--libjava/java/awt/FocusTraversalPolicy.h38
-rw-r--r--libjava/java/awt/Font.h153
-rw-r--r--libjava/java/awt/FontFormatException.h32
-rw-r--r--libjava/java/awt/FontMetrics.h83
-rw-r--r--libjava/java/awt/Frame$AccessibleAWTFrame.h46
-rw-r--r--libjava/java/awt/Frame.h117
-rw-r--r--libjava/java/awt/GradientPaint.h62
-rw-r--r--libjava/java/awt/Graphics.h97
-rw-r--r--libjava/java/awt/Graphics2D.h103
-rw-r--r--libjava/java/awt/GraphicsConfigTemplate.h40
-rw-r--r--libjava/java/awt/GraphicsConfiguration.h61
-rw-r--r--libjava/java/awt/GraphicsDevice.h58
-rw-r--r--libjava/java/awt/GraphicsEnvironment.h55
-rw-r--r--libjava/java/awt/GridBagConstraints.h69
-rw-r--r--libjava/java/awt/GridBagLayout.h100
-rw-r--r--libjava/java/awt/GridBagLayoutInfo.h43
-rw-r--r--libjava/java/awt/GridLayout.h58
-rw-r--r--libjava/java/awt/HeadlessException.h33
-rw-r--r--libjava/java/awt/IllegalComponentStateException.h33
-rw-r--r--libjava/java/awt/Image.h53
-rw-r--r--libjava/java/awt/ImageCapabilities.h35
-rw-r--r--libjava/java/awt/Insets.h41
-rw-r--r--libjava/java/awt/ItemSelectable.h37
-rw-r--r--libjava/java/awt/JobAttributes$DefaultSelectionType.h35
-rw-r--r--libjava/java/awt/JobAttributes$DestinationType.h34
-rw-r--r--libjava/java/awt/JobAttributes$DialogType.h35
-rw-r--r--libjava/java/awt/JobAttributes$MultipleDocumentHandlingType.h34
-rw-r--r--libjava/java/awt/JobAttributes$SidesType.h35
-rw-r--r--libjava/java/awt/JobAttributes.h87
-rw-r--r--libjava/java/awt/KeyEventDispatcher.h33
-rw-r--r--libjava/java/awt/KeyEventPostProcessor.h33
-rw-r--r--libjava/java/awt/KeyboardFocusManager.h156
-rw-r--r--libjava/java/awt/Label$AccessibleAWTLabel.h44
-rw-r--r--libjava/java/awt/Label.h61
-rw-r--r--libjava/java/awt/LayoutManager.h36
-rw-r--r--libjava/java/awt/LayoutManager2.h41
-rw-r--r--libjava/java/awt/LightweightDispatcher.h51
-rw-r--r--libjava/java/awt/List$AccessibleAWTList$AccessibleAWTListChild.h51
-rw-r--r--libjava/java/awt/List$AccessibleAWTList.h66
-rw-r--r--libjava/java/awt/List.h121
-rw-r--r--libjava/java/awt/MediaTracker$MediaEntry.h42
-rw-r--r--libjava/java/awt/MediaTracker.h62
-rw-r--r--libjava/java/awt/Menu$AccessibleAWTMenu.h44
-rw-r--r--libjava/java/awt/Menu.h70
-rw-r--r--libjava/java/awt/MenuBar$AccessibleAWTMenuBar.h44
-rw-r--r--libjava/java/awt/MenuBar.h63
-rw-r--r--libjava/java/awt/MenuComponent$AccessibleAWTMenuComponent.h103
-rw-r--r--libjava/java/awt/MenuComponent.h102
-rw-r--r--libjava/java/awt/MenuContainer.h34
-rw-r--r--libjava/java/awt/MenuItem$AccessibleAWTMenuItem.h56
-rw-r--r--libjava/java/awt/MenuItem.h91
-rw-r--r--libjava/java/awt/MenuShortcut.h45
-rw-r--r--libjava/java/awt/MouseInfo.h39
-rw-r--r--libjava/java/awt/PageAttributes$ColorType.h34
-rw-r--r--libjava/java/awt/PageAttributes$MediaType.h179
-rw-r--r--libjava/java/awt/PageAttributes$OrientationRequestedType.h34
-rw-r--r--libjava/java/awt/PageAttributes$OriginType.h34
-rw-r--r--libjava/java/awt/PageAttributes$PrintQualityType.h35
-rw-r--r--libjava/java/awt/PageAttributes.h72
-rw-r--r--libjava/java/awt/Paint.h42
-rw-r--r--libjava/java/awt/PaintContext.h36
-rw-r--r--libjava/java/awt/Panel$AccessibleAWTPanel.h44
-rw-r--r--libjava/java/awt/Panel.h50
-rw-r--r--libjava/java/awt/Point.h46
-rw-r--r--libjava/java/awt/PointerInfo.h38
-rw-r--r--libjava/java/awt/Polygon$1.h49
-rw-r--r--libjava/java/awt/Polygon.h71
-rw-r--r--libjava/java/awt/PopupMenu$AccessibleAWTPopupMenu.h44
-rw-r--r--libjava/java/awt/PopupMenu.h48
-rw-r--r--libjava/java/awt/PrintGraphics.h30
-rw-r--r--libjava/java/awt/PrintJob.h37
-rw-r--r--libjava/java/awt/Rectangle.h85
-rw-r--r--libjava/java/awt/RenderingHints$Key.h39
-rw-r--r--libjava/java/awt/RenderingHints$KeyImpl.h38
-rw-r--r--libjava/java/awt/RenderingHints.h87
-rw-r--r--libjava/java/awt/Robot$1.h35
-rw-r--r--libjava/java/awt/Robot.h61
-rw-r--r--libjava/java/awt/ScrollPane$AccessibleAWTScrollPane.h44
-rw-r--r--libjava/java/awt/ScrollPane.h89
-rw-r--r--libjava/java/awt/ScrollPaneAdjustable.h76
-rw-r--r--libjava/java/awt/Scrollbar$AccessibleAWTScrollBar.h52
-rw-r--r--libjava/java/awt/Scrollbar.h102
-rw-r--r--libjava/java/awt/Shape.h46
-rw-r--r--libjava/java/awt/Stroke.h30
-rw-r--r--libjava/java/awt/SystemColor.h105
-rw-r--r--libjava/java/awt/TextArea$AccessibleAWTTextArea.h44
-rw-r--r--libjava/java/awt/TextArea.h80
-rw-r--r--libjava/java/awt/TextComponent$AccessibleAWTTextComponent.h72
-rw-r--r--libjava/java/awt/TextComponent.h88
-rw-r--r--libjava/java/awt/TextField$AccessibleAWTTextField.h44
-rw-r--r--libjava/java/awt/TextField.h88
-rw-r--r--libjava/java/awt/TexturePaint.h50
-rw-r--r--libjava/java/awt/Toolkit$1.h31
-rw-r--r--libjava/java/awt/Toolkit$2.h31
-rw-r--r--libjava/java/awt/Toolkit.h245
-rw-r--r--libjava/java/awt/Transparency.h32
-rw-r--r--libjava/java/awt/Window$AccessibleAWTWindow.h46
-rw-r--r--libjava/java/awt/Window$WindowBltBufferStrategy.h32
-rw-r--r--libjava/java/awt/Window$WindowFlipBufferStrategy.h32
-rw-r--r--libjava/java/awt/Window.h146
-rw-r--r--libjava/java/awt/color/CMMException.h35
-rw-r--r--libjava/java/awt/color/ColorSpace.h88
-rw-r--r--libjava/java/awt/color/ICC_ColorSpace.h71
-rw-r--r--libjava/java/awt/color/ICC_Profile.h217
-rw-r--r--libjava/java/awt/color/ICC_ProfileGray.h43
-rw-r--r--libjava/java/awt/color/ICC_ProfileRGB.h52
-rw-r--r--libjava/java/awt/color/ProfileDataException.h35
-rw-r--r--libjava/java/awt/datatransfer/Clipboard.h54
-rw-r--r--libjava/java/awt/datatransfer/ClipboardOwner.h34
-rw-r--r--libjava/java/awt/datatransfer/DataFlavor.h100
-rw-r--r--libjava/java/awt/datatransfer/FlavorEvent.h33
-rw-r--r--libjava/java/awt/datatransfer/FlavorListener.h33
-rw-r--r--libjava/java/awt/datatransfer/FlavorMap.h36
-rw-r--r--libjava/java/awt/datatransfer/FlavorTable.h38
-rw-r--r--libjava/java/awt/datatransfer/MimeType.h51
-rw-r--r--libjava/java/awt/datatransfer/MimeTypeParseException.h36
-rw-r--r--libjava/java/awt/datatransfer/StringSelection.h46
-rw-r--r--libjava/java/awt/datatransfer/SystemFlavorMap.h56
-rw-r--r--libjava/java/awt/datatransfer/Transferable.h37
-rw-r--r--libjava/java/awt/datatransfer/UnsupportedFlavorException.h36
-rw-r--r--libjava/java/awt/dnd/Autoscroll.h35
-rw-r--r--libjava/java/awt/dnd/DnDConstants.h38
-rw-r--r--libjava/java/awt/dnd/DnDEventMulticaster.h39
-rw-r--r--libjava/java/awt/dnd/DragGestureEvent.h70
-rw-r--r--libjava/java/awt/dnd/DragGestureListener.h33
-rw-r--r--libjava/java/awt/dnd/DragGestureRecognizer.h69
-rw-r--r--libjava/java/awt/dnd/DragSource.h90
-rw-r--r--libjava/java/awt/dnd/DragSourceAdapter.h41
-rw-r--r--libjava/java/awt/dnd/DragSourceContext.h86
-rw-r--r--libjava/java/awt/dnd/DragSourceDragEvent.h45
-rw-r--r--libjava/java/awt/dnd/DragSourceDropEvent.h42
-rw-r--r--libjava/java/awt/dnd/DragSourceEvent.h45
-rw-r--r--libjava/java/awt/dnd/DragSourceListener.h39
-rw-r--r--libjava/java/awt/dnd/DragSourceMotionListener.h33
-rw-r--r--libjava/java/awt/dnd/DropTarget$DropTargetAutoScroller.h59
-rw-r--r--libjava/java/awt/dnd/DropTarget.h91
-rw-r--r--libjava/java/awt/dnd/DropTargetAdapter.h40
-rw-r--r--libjava/java/awt/dnd/DropTargetContext$TransferableProxy.h50
-rw-r--r--libjava/java/awt/dnd/DropTargetContext.h72
-rw-r--r--libjava/java/awt/dnd/DropTargetDragEvent.h56
-rw-r--r--libjava/java/awt/dnd/DropTargetDropEvent.h60
-rw-r--r--libjava/java/awt/dnd/DropTargetEvent.h39
-rw-r--r--libjava/java/awt/dnd/DropTargetListener.h39
-rw-r--r--libjava/java/awt/dnd/InvalidDnDOperationException.h36
-rw-r--r--libjava/java/awt/dnd/MouseDragGestureRecognizer.h52
-rw-r--r--libjava/java/awt/dnd/peer/DragSourceContextPeer.h42
-rw-r--r--libjava/java/awt/dnd/peer/DropTargetContextPeer.h53
-rw-r--r--libjava/java/awt/dnd/peer/DropTargetPeer.h37
-rw-r--r--libjava/java/awt/event/AWTEventListener.h33
-rw-r--r--libjava/java/awt/event/AWTEventListenerProxy.h39
-rw-r--r--libjava/java/awt/event/ActionEvent.h53
-rw-r--r--libjava/java/awt/event/ActionListener.h33
-rw-r--r--libjava/java/awt/event/AdjustmentEvent.h56
-rw-r--r--libjava/java/awt/event/AdjustmentListener.h33
-rw-r--r--libjava/java/awt/event/ComponentAdapter.h37
-rw-r--r--libjava/java/awt/event/ComponentEvent.h44
-rw-r--r--libjava/java/awt/event/ComponentListener.h36
-rw-r--r--libjava/java/awt/event/ContainerAdapter.h35
-rw-r--r--libjava/java/awt/event/ContainerEvent.h47
-rw-r--r--libjava/java/awt/event/ContainerListener.h34
-rw-r--r--libjava/java/awt/event/FocusAdapter.h35
-rw-r--r--libjava/java/awt/event/FocusEvent.h49
-rw-r--r--libjava/java/awt/event/FocusListener.h34
-rw-r--r--libjava/java/awt/event/HierarchyBoundsAdapter.h35
-rw-r--r--libjava/java/awt/event/HierarchyBoundsListener.h34
-rw-r--r--libjava/java/awt/event/HierarchyEvent.h56
-rw-r--r--libjava/java/awt/event/HierarchyListener.h33
-rw-r--r--libjava/java/awt/event/InputEvent.h72
-rw-r--r--libjava/java/awt/event/InputMethodEvent.h66
-rw-r--r--libjava/java/awt/event/InputMethodListener.h34
-rw-r--r--libjava/java/awt/event/InvocationEvent.h56
-rw-r--r--libjava/java/awt/event/ItemEvent.h49
-rw-r--r--libjava/java/awt/event/ItemListener.h33
-rw-r--r--libjava/java/awt/event/KeyAdapter.h36
-rw-r--r--libjava/java/awt/event/KeyEvent.h255
-rw-r--r--libjava/java/awt/event/KeyListener.h35
-rw-r--r--libjava/java/awt/event/MouseAdapter.h38
-rw-r--r--libjava/java/awt/event/MouseEvent.h69
-rw-r--r--libjava/java/awt/event/MouseListener.h37
-rw-r--r--libjava/java/awt/event/MouseMotionAdapter.h35
-rw-r--r--libjava/java/awt/event/MouseMotionListener.h34
-rw-r--r--libjava/java/awt/event/MouseWheelEvent.h48
-rw-r--r--libjava/java/awt/event/MouseWheelListener.h33
-rw-r--r--libjava/java/awt/event/PaintEvent.h47
-rw-r--r--libjava/java/awt/event/TextEvent.h39
-rw-r--r--libjava/java/awt/event/TextListener.h33
-rw-r--r--libjava/java/awt/event/WindowAdapter.h43
-rw-r--r--libjava/java/awt/event/WindowEvent.h61
-rw-r--r--libjava/java/awt/event/WindowFocusListener.h34
-rw-r--r--libjava/java/awt/event/WindowListener.h39
-rw-r--r--libjava/java/awt/event/WindowStateListener.h33
-rw-r--r--libjava/java/awt/font/FontRenderContext.h49
-rw-r--r--libjava/java/awt/font/GlyphJustificationInfo.h45
-rw-r--r--libjava/java/awt/font/GlyphMetrics.h61
-rw-r--r--libjava/java/awt/font/GlyphVector.h78
-rw-r--r--libjava/java/awt/font/GraphicAttribute.h54
-rw-r--r--libjava/java/awt/font/ImageGraphicAttribute.h52
-rw-r--r--libjava/java/awt/font/LineBreakMeasurer.h55
-rw-r--r--libjava/java/awt/font/LineMetrics.h45
-rw-r--r--libjava/java/awt/font/MultipleMaster.h40
-rw-r--r--libjava/java/awt/font/NumericShaper.h75
-rw-r--r--libjava/java/awt/font/OpenType.h91
-rw-r--r--libjava/java/awt/font/ShapeGraphicAttribute.h53
-rw-r--r--libjava/java/awt/font/TextAttribute.h88
-rw-r--r--libjava/java/awt/font/TextHitInfo.h50
-rw-r--r--libjava/java/awt/font/TextLayout$CaretPolicy.h35
-rw-r--r--libjava/java/awt/font/TextLayout$Run.h43
-rw-r--r--libjava/java/awt/font/TextLayout.h140
-rw-r--r--libjava/java/awt/font/TextMeasurer.h52
-rw-r--r--libjava/java/awt/font/TransformAttribute.h42
-rw-r--r--libjava/java/awt/geom/AffineTransform.h111
-rw-r--r--libjava/java/awt/geom/Arc2D$ArcIterator.h55
-rw-r--r--libjava/java/awt/geom/Arc2D$Double.h55
-rw-r--r--libjava/java/awt/geom/Arc2D$Float.h55
-rw-r--r--libjava/java/awt/geom/Arc2D.h72
-rw-r--r--libjava/java/awt/geom/Area$AreaIterator$IteratorSegment.h39
-rw-r--r--libjava/java/awt/geom/Area$AreaIterator.h48
-rw-r--r--libjava/java/awt/geom/Area$CubicSegment.h60
-rw-r--r--libjava/java/awt/geom/Area$Intersection.h42
-rw-r--r--libjava/java/awt/geom/Area$LineSegment.h58
-rw-r--r--libjava/java/awt/geom/Area$QuadSegment.h59
-rw-r--r--libjava/java/awt/geom/Area$Segment.h76
-rw-r--r--libjava/java/awt/geom/Area.h96
-rw-r--r--libjava/java/awt/geom/CubicCurve2D$1.h49
-rw-r--r--libjava/java/awt/geom/CubicCurve2D$Double.h57
-rw-r--r--libjava/java/awt/geom/CubicCurve2D$Float.h58
-rw-r--r--libjava/java/awt/geom/CubicCurve2D.h86
-rw-r--r--libjava/java/awt/geom/Dimension2D.h38
-rw-r--r--libjava/java/awt/geom/Ellipse2D$Double.h45
-rw-r--r--libjava/java/awt/geom/Ellipse2D$Float.h46
-rw-r--r--libjava/java/awt/geom/Ellipse2D.h39
-rw-r--r--libjava/java/awt/geom/FlatteningPathIterator.h59
-rw-r--r--libjava/java/awt/geom/GeneralPath$GeneralPathIterator.h50
-rw-r--r--libjava/java/awt/geom/GeneralPath.h88
-rw-r--r--libjava/java/awt/geom/IllegalPathStateException.h36
-rw-r--r--libjava/java/awt/geom/Line2D$1.h49
-rw-r--r--libjava/java/awt/geom/Line2D$Double.h48
-rw-r--r--libjava/java/awt/geom/Line2D$Float.h49
-rw-r--r--libjava/java/awt/geom/Line2D.h80
-rw-r--r--libjava/java/awt/geom/NoninvertibleTransformException.h35
-rw-r--r--libjava/java/awt/geom/PathIterator.h45
-rw-r--r--libjava/java/awt/geom/Point2D$Double.h39
-rw-r--r--libjava/java/awt/geom/Point2D$Float.h40
-rw-r--r--libjava/java/awt/geom/Point2D.h46
-rw-r--r--libjava/java/awt/geom/QuadCurve2D$1.h49
-rw-r--r--libjava/java/awt/geom/QuadCurve2D$Double.h52
-rw-r--r--libjava/java/awt/geom/QuadCurve2D$Float.h53
-rw-r--r--libjava/java/awt/geom/QuadCurve2D.h83
-rw-r--r--libjava/java/awt/geom/Rectangle2D$1.h53
-rw-r--r--libjava/java/awt/geom/Rectangle2D$Double.h50
-rw-r--r--libjava/java/awt/geom/Rectangle2D$Float.h54
-rw-r--r--libjava/java/awt/geom/Rectangle2D.h63
-rw-r--r--libjava/java/awt/geom/RectangularShape.h69
-rw-r--r--libjava/java/awt/geom/RoundRectangle2D$1.h58
-rw-r--r--libjava/java/awt/geom/RoundRectangle2D$Double.h49
-rw-r--r--libjava/java/awt/geom/RoundRectangle2D$Float.h50
-rw-r--r--libjava/java/awt/geom/RoundRectangle2D.h45
-rw-r--r--libjava/java/awt/im/InputContext.h59
-rw-r--r--libjava/java/awt/im/InputMethodHighlight.h50
-rw-r--r--libjava/java/awt/im/InputMethodRequests.h50
-rw-r--r--libjava/java/awt/im/InputSubset.h41
-rw-r--r--libjava/java/awt/im/spi/InputMethod.h55
-rw-r--r--libjava/java/awt/im/spi/InputMethodContext.h66
-rw-r--r--libjava/java/awt/im/spi/InputMethodDescriptor.h43
-rw-r--r--libjava/java/awt/image/AffineTransformOp.h68
-rw-r--r--libjava/java/awt/image/AreaAveragingScaleFilter.h42
-rw-r--r--libjava/java/awt/image/BandCombineOp.h52
-rw-r--r--libjava/java/awt/image/BandedSampleModel.h65
-rw-r--r--libjava/java/awt/image/BufferStrategy.h39
-rw-r--r--libjava/java/awt/image/BufferedImage$1.h44
-rw-r--r--libjava/java/awt/image/BufferedImage.h124
-rw-r--r--libjava/java/awt/image/BufferedImageFilter.h42
-rw-r--r--libjava/java/awt/image/BufferedImageOp.h44
-rw-r--r--libjava/java/awt/image/ByteLookupTable.h41
-rw-r--r--libjava/java/awt/image/ColorConvertOp.h70
-rw-r--r--libjava/java/awt/image/ColorModel$SRGBColorModel.h39
-rw-r--r--libjava/java/awt/image/ColorModel.h108
-rw-r--r--libjava/java/awt/image/ComponentColorModel.h74
-rw-r--r--libjava/java/awt/image/ComponentSampleModel.h70
-rw-r--r--libjava/java/awt/image/ConvolveOp.h64
-rw-r--r--libjava/java/awt/image/CropImageFilter.h45
-rw-r--r--libjava/java/awt/image/DataBuffer.h70
-rw-r--r--libjava/java/awt/image/DataBufferByte.h50
-rw-r--r--libjava/java/awt/image/DataBufferDouble.h58
-rw-r--r--libjava/java/awt/image/DataBufferFloat.h58
-rw-r--r--libjava/java/awt/image/DataBufferInt.h50
-rw-r--r--libjava/java/awt/image/DataBufferShort.h50
-rw-r--r--libjava/java/awt/image/DataBufferUShort.h50
-rw-r--r--libjava/java/awt/image/DirectColorModel.h77
-rw-r--r--libjava/java/awt/image/FilteredImageSource.h45
-rw-r--r--libjava/java/awt/image/ImageConsumer.h50
-rw-r--r--libjava/java/awt/image/ImageFilter.h50
-rw-r--r--libjava/java/awt/image/ImageObserver.h41
-rw-r--r--libjava/java/awt/image/ImageProducer.h37
-rw-r--r--libjava/java/awt/image/ImagingOpException.h35
-rw-r--r--libjava/java/awt/image/IndexColorModel.h72
-rw-r--r--libjava/java/awt/image/Kernel.h45
-rw-r--r--libjava/java/awt/image/LookupOp.h56
-rw-r--r--libjava/java/awt/image/LookupTable.h42
-rw-r--r--libjava/java/awt/image/MemoryImageSource.h69
-rw-r--r--libjava/java/awt/image/MultiPixelPackedSampleModel.h68
-rw-r--r--libjava/java/awt/image/PackedColorModel.h59
-rw-r--r--libjava/java/awt/image/PixelGrabber$1.h38
-rw-r--r--libjava/java/awt/image/PixelGrabber.h82
-rw-r--r--libjava/java/awt/image/PixelInterleavedSampleModel.h37
-rw-r--r--libjava/java/awt/image/RGBImageFilter.h48
-rw-r--r--libjava/java/awt/image/Raster.h104
-rw-r--r--libjava/java/awt/image/RasterFormatException.h35
-rw-r--r--libjava/java/awt/image/RasterOp.h44
-rw-r--r--libjava/java/awt/image/RenderedImage.h59
-rw-r--r--libjava/java/awt/image/ReplicateScaleFilter.h50
-rw-r--r--libjava/java/awt/image/RescaleOp.h64
-rw-r--r--libjava/java/awt/image/SampleModel.h80
-rw-r--r--libjava/java/awt/image/ShortLookupTable.h41
-rw-r--r--libjava/java/awt/image/SinglePixelPackedSampleModel.h65
-rw-r--r--libjava/java/awt/image/TileObserver.h33
-rw-r--r--libjava/java/awt/image/VolatileImage.h55
-rw-r--r--libjava/java/awt/image/WritableRaster.h63
-rw-r--r--libjava/java/awt/image/WritableRenderedImage.h69
-rw-r--r--libjava/java/awt/image/renderable/ContextualRenderedImageFactory.h52
-rw-r--r--libjava/java/awt/image/renderable/ParameterBlock.h87
-rw-r--r--libjava/java/awt/image/renderable/RenderContext.h60
-rw-r--r--libjava/java/awt/image/renderable/RenderableImage.h51
-rw-r--r--libjava/java/awt/image/renderable/RenderableImageOp.h59
-rw-r--r--libjava/java/awt/image/renderable/RenderableImageProducer.h50
-rw-r--r--libjava/java/awt/image/renderable/RenderedImageFactory.h38
-rw-r--r--libjava/java/awt/peer/ButtonPeer.h110
-rw-r--r--libjava/java/awt/peer/CanvasPeer.h109
-rw-r--r--libjava/java/awt/peer/CheckboxMenuItemPeer.h39
-rw-r--r--libjava/java/awt/peer/CheckboxPeer.h113
-rw-r--r--libjava/java/awt/peer/ChoicePeer.h114
-rw-r--r--libjava/java/awt/peer/ComponentPeer.h109
-rw-r--r--libjava/java/awt/peer/ContainerPeer.h119
-rw-r--r--libjava/java/awt/peer/DialogPeer.h126
-rw-r--r--libjava/java/awt/peer/FileDialogPeer.h129
-rw-r--r--libjava/java/awt/peer/FontPeer.h31
-rw-r--r--libjava/java/awt/peer/FramePeer.h133
-rw-r--r--libjava/java/awt/peer/LabelPeer.h111
-rw-r--r--libjava/java/awt/peer/LightweightPeer.h109
-rw-r--r--libjava/java/awt/peer/ListPeer.h126
-rw-r--r--libjava/java/awt/peer/MenuBarPeer.h38
-rw-r--r--libjava/java/awt/peer/MenuComponentPeer.h34
-rw-r--r--libjava/java/awt/peer/MenuItemPeer.h38
-rw-r--r--libjava/java/awt/peer/MenuPeer.h42
-rw-r--r--libjava/java/awt/peer/MouseInfoPeer.h35
-rw-r--r--libjava/java/awt/peer/PanelPeer.h120
-rw-r--r--libjava/java/awt/peer/PopupMenuPeer.h46
-rw-r--r--libjava/java/awt/peer/RobotPeer.h42
-rw-r--r--libjava/java/awt/peer/ScrollPanePeer.h127
-rw-r--r--libjava/java/awt/peer/ScrollbarPeer.h112
-rw-r--r--libjava/java/awt/peer/TextAreaPeer.h133
-rw-r--r--libjava/java/awt/peer/TextComponentPeer.h125
-rw-r--r--libjava/java/awt/peer/TextFieldPeer.h131
-rw-r--r--libjava/java/awt/peer/WindowPeer.h124
-rw-r--r--libjava/java/awt/print/Book.h44
-rw-r--r--libjava/java/awt/print/NoPrinterJob.h51
-rw-r--r--libjava/java/awt/print/PageFormat.h54
-rw-r--r--libjava/java/awt/print/Pageable.h37
-rw-r--r--libjava/java/awt/print/Paper.h49
-rw-r--r--libjava/java/awt/print/Printable.h36
-rw-r--r--libjava/java/awt/print/PrinterAbortException.h36
-rw-r--r--libjava/java/awt/print/PrinterException.h36
-rw-r--r--libjava/java/awt/print/PrinterGraphics.h33
-rw-r--r--libjava/java/awt/print/PrinterIOException.h38
-rw-r--r--libjava/java/awt/print/PrinterJob.h74
-rw-r--r--libjava/java/beans/AppletInitializer.h38
-rw-r--r--libjava/java/beans/BeanDescriptor.h36
-rw-r--r--libjava/java/beans/BeanInfo.h50
-rw-r--r--libjava/java/beans/Beans.h47
-rw-r--r--libjava/java/beans/Customizer.h32
-rw-r--r--libjava/java/beans/DefaultPersistenceDelegate.h41
-rw-r--r--libjava/java/beans/DesignMode.h31
-rw-r--r--libjava/java/beans/Encoder$1.h34
-rw-r--r--libjava/java/beans/Encoder.h57
-rw-r--r--libjava/java/beans/EventHandler.h54
-rw-r--r--libjava/java/beans/EventSetDescriptor.h60
-rw-r--r--libjava/java/beans/ExceptionListener.h29
-rw-r--r--libjava/java/beans/ExplicitInfo.h60
-rw-r--r--libjava/java/beans/Expression.h39
-rw-r--r--libjava/java/beans/FeatureDescriptor.h53
-rw-r--r--libjava/java/beans/IndexedPropertyChangeEvent.h34
-rw-r--r--libjava/java/beans/IndexedPropertyDescriptor.h42
-rw-r--r--libjava/java/beans/IntrospectionException.h32
-rw-r--r--libjava/java/beans/Introspector.h64
-rw-r--r--libjava/java/beans/MethodDescriptor.h39
-rw-r--r--libjava/java/beans/ParameterDescriptor.h29
-rw-r--r--libjava/java/beans/PersistenceDelegate.h39
-rw-r--r--libjava/java/beans/PropertyChangeEvent.h45
-rw-r--r--libjava/java/beans/PropertyChangeListener.h30
-rw-r--r--libjava/java/beans/PropertyChangeListenerProxy.h36
-rw-r--r--libjava/java/beans/PropertyChangeSupport.h56
-rw-r--r--libjava/java/beans/PropertyDescriptor.h64
-rw-r--r--libjava/java/beans/PropertyEditor.h49
-rw-r--r--libjava/java/beans/PropertyEditorManager.h40
-rw-r--r--libjava/java/beans/PropertyEditorSupport.h60
-rw-r--r--libjava/java/beans/PropertyVetoException.h35
-rw-r--r--libjava/java/beans/SimpleBeanInfo.h49
-rw-r--r--libjava/java/beans/Statement.h52
-rw-r--r--libjava/java/beans/VetoableChangeListener.h30
-rw-r--r--libjava/java/beans/VetoableChangeListenerProxy.h36
-rw-r--r--libjava/java/beans/VetoableChangeSupport.h53
-rw-r--r--libjava/java/beans/Visibility.h32
-rw-r--r--libjava/java/beans/XMLDecoder.h47
-rw-r--r--libjava/java/beans/XMLEncoder.h58
-rw-r--r--libjava/java/beans/beancontext/BeanContext.h72
-rw-r--r--libjava/java/beans/beancontext/BeanContextChild.h40
-rw-r--r--libjava/java/beans/beancontext/BeanContextChildComponentProxy.h36
-rw-r--r--libjava/java/beans/beancontext/BeanContextChildSupport.h67
-rw-r--r--libjava/java/beans/beancontext/BeanContextContainerProxy.h36
-rw-r--r--libjava/java/beans/beancontext/BeanContextEvent.h43
-rw-r--r--libjava/java/beans/beancontext/BeanContextMembershipEvent.h45
-rw-r--r--libjava/java/beans/beancontext/BeanContextMembershipListener.h34
-rw-r--r--libjava/java/beans/beancontext/BeanContextProxy.h33
-rw-r--r--libjava/java/beans/beancontext/BeanContextServiceAvailableEvent.h41
-rw-r--r--libjava/java/beans/beancontext/BeanContextServiceProvider.h35
-rw-r--r--libjava/java/beans/beancontext/BeanContextServiceProviderBeanInfo.h51
-rw-r--r--libjava/java/beans/beancontext/BeanContextServiceRevokedEvent.h44
-rw-r--r--libjava/java/beans/beancontext/BeanContextServiceRevokedListener.h33
-rw-r--r--libjava/java/beans/beancontext/BeanContextServices.h88
-rw-r--r--libjava/java/beans/beancontext/BeanContextServicesListener.h35
-rw-r--r--libjava/java/beans/beancontext/BeanContextServicesSupport$BCSSChild.h38
-rw-r--r--libjava/java/beans/beancontext/BeanContextServicesSupport$BCSSProxyServiceProvider.h46
-rw-r--r--libjava/java/beans/beancontext/BeanContextServicesSupport$BCSSServiceProvider.h46
-rw-r--r--libjava/java/beans/beancontext/BeanContextServicesSupport$Request.h37
-rw-r--r--libjava/java/beans/beancontext/BeanContextServicesSupport$ServiceLease.h37
-rw-r--r--libjava/java/beans/beancontext/BeanContextServicesSupport$ServiceRequest.h38
-rw-r--r--libjava/java/beans/beancontext/BeanContextServicesSupport.h90
-rw-r--r--libjava/java/beans/beancontext/BeanContextSupport$BCSChild.h44
-rw-r--r--libjava/java/beans/beancontext/BeanContextSupport$BCSIterator.h39
-rw-r--r--libjava/java/beans/beancontext/BeanContextSupport.h136
-rw-r--r--libjava/java/io/BufferedInputStream.h43
-rw-r--r--libjava/java/io/BufferedOutputStream.h31
-rw-r--r--libjava/java/io/BufferedReader.h49
-rw-r--r--libjava/java/io/BufferedWriter.h36
-rw-r--r--libjava/java/io/ByteArrayInputStream.h35
-rw-r--r--libjava/java/io/ByteArrayOutputStream.h41
-rw-r--r--libjava/java/io/CharArrayReader.h36
-rw-r--r--libjava/java/io/CharArrayWriter.h50
-rw-r--r--libjava/java/io/CharConversionException.h23
-rw-r--r--libjava/java/io/Closeable.h19
-rw-r--r--libjava/java/io/DataInput.h35
-rw-r--r--libjava/java/io/DataInputStream.h51
-rw-r--r--libjava/java/io/DataOutput.h34
-rw-r--r--libjava/java/io/DataOutputStream.h44
-rw-r--r--libjava/java/io/DeleteFileHelper$1.h21
-rw-r--r--libjava/java/io/DeleteFileHelper.h28
-rw-r--r--libjava/java/io/EOFException.h23
-rw-r--r--libjava/java/io/Externalizable.h20
-rw-r--r--libjava/java/io/File.h150
-rw-r--r--libjava/java/io/FileDescriptor.h43
-rw-r--r--libjava/java/io/FileDescriptor.java139
-rw-r--r--libjava/java/io/FileFilter.h19
-rw-r--r--libjava/java/io/FileInputStream.h67
-rw-r--r--libjava/java/io/FileInputStream.java309
-rw-r--r--libjava/java/io/FileNotFoundException.h23
-rw-r--r--libjava/java/io/FileOutputStream.h66
-rw-r--r--libjava/java/io/FileOutputStream.java296
-rw-r--r--libjava/java/io/FilePermission.h43
-rw-r--r--libjava/java/io/FileReader.h21
-rw-r--r--libjava/java/io/FileWriter.h23
-rw-r--r--libjava/java/io/FilenameFilter.h19
-rw-r--r--libjava/java/io/FilterInputStream.h34
-rw-r--r--libjava/java/io/FilterOutputStream.h29
-rw-r--r--libjava/java/io/FilterReader.h33
-rw-r--r--libjava/java/io/FilterWriter.h30
-rw-r--r--libjava/java/io/Flushable.h19
-rw-r--r--libjava/java/io/IOException.h23
-rw-r--r--libjava/java/io/InputStream.h30
-rw-r--r--libjava/java/io/InputStreamReader.h65
-rw-r--r--libjava/java/io/InterruptedIOException.h26
-rw-r--r--libjava/java/io/InvalidClassException.h25
-rw-r--r--libjava/java/io/InvalidObjectException.h22
-rw-r--r--libjava/java/io/LineNumberInputStream.h34
-rw-r--r--libjava/java/io/LineNumberReader.h41
-rw-r--r--libjava/java/io/NotActiveException.h23
-rw-r--r--libjava/java/io/NotSerializableException.h23
-rw-r--r--libjava/java/io/ObjectInput.h42
-rw-r--r--libjava/java/io/ObjectInputStream$1.h26
-rw-r--r--libjava/java/io/ObjectInputStream$2.h42
-rw-r--r--libjava/java/io/ObjectInputStream$GetField.h30
-rw-r--r--libjava/java/io/ObjectInputStream$ValidatorAndPriority.h25
-rw-r--r--libjava/java/io/ObjectInputStream.h103
-rw-r--r--libjava/java/io/ObjectInputStream.java1979
-rw-r--r--libjava/java/io/ObjectInputValidation.h19
-rw-r--r--libjava/java/io/ObjectOutput.h37
-rw-r--r--libjava/java/io/ObjectOutputStream$1.h41
-rw-r--r--libjava/java/io/ObjectOutputStream$PutField.h29
-rw-r--r--libjava/java/io/ObjectOutputStream.h122
-rw-r--r--libjava/java/io/ObjectStreamClass$1.h24
-rw-r--r--libjava/java/io/ObjectStreamClass$2.h26
-rw-r--r--libjava/java/io/ObjectStreamClass$InterfaceComparator.h23
-rw-r--r--libjava/java/io/ObjectStreamClass$MemberComparator.h23
-rw-r--r--libjava/java/io/ObjectStreamClass.h113
-rw-r--r--libjava/java/io/ObjectStreamConstants.h47
-rw-r--r--libjava/java/io/ObjectStreamException.h23
-rw-r--r--libjava/java/io/ObjectStreamField$1.h26
-rw-r--r--libjava/java/io/ObjectStreamField.h67
-rw-r--r--libjava/java/io/OptionalDataException.h24
-rw-r--r--libjava/java/io/OutputStream.h26
-rw-r--r--libjava/java/io/OutputStreamWriter.h65
-rw-r--r--libjava/java/io/PipedInputStream.h43
-rw-r--r--libjava/java/io/PipedOutputStream.h31
-rw-r--r--libjava/java/io/PipedReader.h39
-rw-r--r--libjava/java/io/PipedWriter.h32
-rw-r--r--libjava/java/io/PrintStream.h89
-rw-r--r--libjava/java/io/PrintStream.java52
-rw-r--r--libjava/java/io/PrintWriter.h80
-rw-r--r--libjava/java/io/PushbackInputStream.h38
-rw-r--r--libjava/java/io/PushbackReader.h38
-rw-r--r--libjava/java/io/RandomAccessFile.h93
-rw-r--r--libjava/java/io/RandomAccessFile.java1036
-rw-r--r--libjava/java/io/Reader.h46
-rw-r--r--libjava/java/io/SequenceInputStream.h32
-rw-r--r--libjava/java/io/Serializable.h18
-rw-r--r--libjava/java/io/SerializablePermission.h27
-rw-r--r--libjava/java/io/StreamCorruptedException.h23
-rw-r--r--libjava/java/io/StreamTokenizer.h72
-rw-r--r--libjava/java/io/StringBufferInputStream.h31
-rw-r--r--libjava/java/io/StringReader.h35
-rw-r--r--libjava/java/io/StringWriter.h43
-rw-r--r--libjava/java/io/SyncFailedException.h22
-rw-r--r--libjava/java/io/UTFDataFormatException.h23
-rw-r--r--libjava/java/io/UnsupportedEncodingException.h23
-rw-r--r--libjava/java/io/VMObjectInputStream.h21
-rw-r--r--libjava/java/io/VMObjectInputStream.java56
-rw-r--r--libjava/java/io/VMObjectStreamClass.h30
-rw-r--r--libjava/java/io/WriteAbortedException.h25
-rw-r--r--libjava/java/io/Writer.h39
-rw-r--r--libjava/java/io/natObjectInputStream.cc18
-rw-r--r--libjava/java/lang/AbstractMethodError.h23
-rw-r--r--libjava/java/lang/Appendable.h21
-rw-r--r--libjava/java/lang/ArithmeticException.h23
-rw-r--r--libjava/java/lang/ArrayIndexOutOfBoundsException.h24
-rw-r--r--libjava/java/lang/ArrayStoreException.h23
-rw-r--r--libjava/java/lang/AssertionError.h29
-rw-r--r--libjava/java/lang/Boolean.h40
-rw-r--r--libjava/java/lang/Byte.h51
-rw-r--r--libjava/java/lang/CharSequence.h22
-rw-r--r--libjava/java/lang/Character$Subset.h26
-rw-r--r--libjava/java/lang/Character$UnicodeBlock.h161
-rw-r--r--libjava/java/lang/Character.h175
-rw-r--r--libjava/java/lang/Class.h77
-rw-r--r--libjava/java/lang/Class.java438
-rw-r--r--libjava/java/lang/ClassCastException.h23
-rw-r--r--libjava/java/lang/ClassCircularityError.h23
-rw-r--r--libjava/java/lang/ClassFormatError.h23
-rw-r--r--libjava/java/lang/ClassLoader$AnnotationsKey.h31
-rw-r--r--libjava/java/lang/ClassLoader.h108
-rw-r--r--libjava/java/lang/ClassLoader.java132
-rw-r--r--libjava/java/lang/ClassNotFoundException.h27
-rw-r--r--libjava/java/lang/CloneNotSupportedException.h23
-rw-r--r--libjava/java/lang/Cloneable.h18
-rw-r--r--libjava/java/lang/Comparable.h19
-rw-r--r--libjava/java/lang/Compiler.h24
-rw-r--r--libjava/java/lang/Deprecated.h19
-rw-r--r--libjava/java/lang/Double.h57
-rw-r--r--libjava/java/lang/EcosProcess.h27
-rw-r--r--libjava/java/lang/EcosProcess.java8
-rw-r--r--libjava/java/lang/Enum.h38
-rw-r--r--libjava/java/lang/EnumConstantNotPresentException.h26
-rw-r--r--libjava/java/lang/Error.h25
-rw-r--r--libjava/java/lang/Exception.h25
-rw-r--r--libjava/java/lang/ExceptionInInitializerError.h28
-rw-r--r--libjava/java/lang/Float.h58
-rw-r--r--libjava/java/lang/IllegalAccessError.h23
-rw-r--r--libjava/java/lang/IllegalAccessException.h23
-rw-r--r--libjava/java/lang/IllegalArgumentException.h25
-rw-r--r--libjava/java/lang/IllegalMonitorStateException.h23
-rw-r--r--libjava/java/lang/IllegalStateException.h25
-rw-r--r--libjava/java/lang/IllegalThreadStateException.h23
-rw-r--r--libjava/java/lang/IncompatibleClassChangeError.h23
-rw-r--r--libjava/java/lang/IndexOutOfBoundsException.h23
-rw-r--r--libjava/java/lang/InheritableThreadLocal.h24
-rw-r--r--libjava/java/lang/InstantiationError.h23
-rw-r--r--libjava/java/lang/InstantiationException.h23
-rw-r--r--libjava/java/lang/Integer.h74
-rw-r--r--libjava/java/lang/InternalError.h23
-rw-r--r--libjava/java/lang/InterruptedException.h23
-rw-r--r--libjava/java/lang/Iterable.h19
-rw-r--r--libjava/java/lang/LinkageError.h23
-rw-r--r--libjava/java/lang/Long.h69
-rw-r--r--libjava/java/lang/Math.h68
-rw-r--r--libjava/java/lang/NegativeArraySizeException.h23
-rw-r--r--libjava/java/lang/NoClassDefFoundError.h23
-rw-r--r--libjava/java/lang/NoSuchFieldError.h23
-rw-r--r--libjava/java/lang/NoSuchFieldException.h23
-rw-r--r--libjava/java/lang/NoSuchMethodError.h23
-rw-r--r--libjava/java/lang/NoSuchMethodException.h23
-rw-r--r--libjava/java/lang/NullPointerException.h23
-rw-r--r--libjava/java/lang/Number.h32
-rw-r--r--libjava/java/lang/NumberFormatException.h23
-rw-r--r--libjava/java/lang/OutOfMemoryError.h23
-rw-r--r--libjava/java/lang/Override.h19
-rw-r--r--libjava/java/lang/Package.h62
-rw-r--r--libjava/java/lang/Package.java415
-rw-r--r--libjava/java/lang/PosixProcess$EOFInputStream.h24
-rw-r--r--libjava/java/lang/PosixProcess$ProcessManager.h39
-rw-r--r--libjava/java/lang/PosixProcess.h62
-rw-r--r--libjava/java/lang/PosixProcess.java47
-rw-r--r--libjava/java/lang/Process.h25
-rw-r--r--libjava/java/lang/ProcessBuilder.h37
-rw-r--r--libjava/java/lang/ProcessBuilder.java118
-rw-r--r--libjava/java/lang/Readable.h29
-rw-r--r--libjava/java/lang/Runnable.h19
-rw-r--r--libjava/java/lang/Runtime.h69
-rw-r--r--libjava/java/lang/RuntimeException.h25
-rw-r--r--libjava/java/lang/RuntimePermission.h23
-rw-r--r--libjava/java/lang/SecurityContext.h23
-rw-r--r--libjava/java/lang/SecurityException.h25
-rw-r--r--libjava/java/lang/SecurityManager$1.h26
-rw-r--r--libjava/java/lang/SecurityManager.h84
-rw-r--r--libjava/java/lang/SecurityManager.java1057
-rw-r--r--libjava/java/lang/Short.h54
-rw-r--r--libjava/java/lang/StackOverflowError.h23
-rw-r--r--libjava/java/lang/StackTraceElement.h39
-rw-r--r--libjava/java/lang/StrictMath.h203
-rw-r--r--libjava/java/lang/String$CaseInsensitiveComparator.h24
-rw-r--r--libjava/java/lang/String.h138
-rw-r--r--libjava/java/lang/StringBuffer.h85
-rw-r--r--libjava/java/lang/StringBuilder.h83
-rw-r--r--libjava/java/lang/StringBuilder.java3
-rw-r--r--libjava/java/lang/StringIndexOutOfBoundsException.h24
-rw-r--r--libjava/java/lang/SuppressWarnings.h22
-rw-r--r--libjava/java/lang/System$EnvironmentCollection.h29
-rw-r--r--libjava/java/lang/System$EnvironmentMap.h34
-rw-r--r--libjava/java/lang/System$EnvironmentSet.h21
-rw-r--r--libjava/java/lang/System.h56
-rw-r--r--libjava/java/lang/System.java468
-rw-r--r--libjava/java/lang/Thread$State.h32
-rw-r--r--libjava/java/lang/Thread$UncaughtExceptionHandler.h19
-rw-r--r--libjava/java/lang/Thread.h161
-rw-r--r--libjava/java/lang/Thread.java264
-rw-r--r--libjava/java/lang/ThreadDeath.h22
-rw-r--r--libjava/java/lang/ThreadGroup.h69
-rw-r--r--libjava/java/lang/ThreadLocal.h52
-rw-r--r--libjava/java/lang/ThreadLocal.java179
-rw-r--r--libjava/java/lang/Throwable$StaticData.h21
-rw-r--r--libjava/java/lang/Throwable.h46
-rw-r--r--libjava/java/lang/TypeNotPresentException.h24
-rw-r--r--libjava/java/lang/UnknownError.h23
-rw-r--r--libjava/java/lang/UnsatisfiedLinkError.h23
-rw-r--r--libjava/java/lang/UnsupportedClassVersionError.h23
-rw-r--r--libjava/java/lang/UnsupportedOperationException.h25
-rw-r--r--libjava/java/lang/VMClassLoader.h74
-rw-r--r--libjava/java/lang/VMCompiler.h64
-rw-r--r--libjava/java/lang/VMCompiler.java10
-rw-r--r--libjava/java/lang/VMDouble.h25
-rw-r--r--libjava/java/lang/VMFloat.h23
-rw-r--r--libjava/java/lang/VMSecurityManager.java68
-rw-r--r--libjava/java/lang/VMThrowable.h36
-rw-r--r--libjava/java/lang/VerifyError.h23
-rw-r--r--libjava/java/lang/VirtualMachineError.h23
-rw-r--r--libjava/java/lang/Void.h20
-rw-r--r--libjava/java/lang/Win32Process.h37
-rw-r--r--libjava/java/lang/Win32Process.java8
-rw-r--r--libjava/java/lang/annotation/Annotation.h22
-rw-r--r--libjava/java/lang/annotation/AnnotationFormatError.h24
-rw-r--r--libjava/java/lang/annotation/AnnotationTypeMismatchException.h26
-rw-r--r--libjava/java/lang/annotation/Documented.h19
-rw-r--r--libjava/java/lang/annotation/ElementType.h35
-rw-r--r--libjava/java/lang/annotation/IncompleteAnnotationException.h25
-rw-r--r--libjava/java/lang/annotation/Inherited.h19
-rw-r--r--libjava/java/lang/annotation/Retention.h20
-rw-r--r--libjava/java/lang/annotation/RetentionPolicy.h30
-rw-r--r--libjava/java/lang/annotation/Target.h22
-rw-r--r--libjava/java/lang/instrument/ClassDefinition.h27
-rw-r--r--libjava/java/lang/instrument/ClassFileTransformer.h31
-rw-r--r--libjava/java/lang/instrument/IllegalClassFormatException.h23
-rw-r--r--libjava/java/lang/instrument/Instrumentation.h27
-rw-r--r--libjava/java/lang/instrument/UnmodifiableClassException.h23
-rw-r--r--libjava/java/lang/management/ClassLoadingMXBean.h23
-rw-r--r--libjava/java/lang/management/CompilationMXBean.h21
-rw-r--r--libjava/java/lang/management/GarbageCollectorMXBean.h25
-rw-r--r--libjava/java/lang/management/ManagementFactory.h57
-rw-r--r--libjava/java/lang/management/ManagementPermission.h23
-rw-r--r--libjava/java/lang/management/MemoryMXBean.h24
-rw-r--r--libjava/java/lang/management/MemoryManagerMXBean.h23
-rw-r--r--libjava/java/lang/management/MemoryNotificationInfo.h43
-rw-r--r--libjava/java/lang/management/MemoryPoolMXBean.h38
-rw-r--r--libjava/java/lang/management/MemoryType.h28
-rw-r--r--libjava/java/lang/management/MemoryUsage.h44
-rw-r--r--libjava/java/lang/management/OperatingSystemMXBean.h22
-rw-r--r--libjava/java/lang/management/RuntimeMXBean.h34
-rw-r--r--libjava/java/lang/management/ThreadInfo.h70
-rw-r--r--libjava/java/lang/management/ThreadMXBean.h42
-rw-r--r--libjava/java/lang/management/VMManagementFactory.h25
-rw-r--r--libjava/java/lang/management/VMManagementFactory.java15
-rw-r--r--libjava/java/lang/management/natVMManagementFactory.cc44
-rw-r--r--libjava/java/lang/natClass.cc766
-rw-r--r--libjava/java/lang/natClassLoader.cc66
-rw-r--r--libjava/java/lang/natEcosProcess.cc6
-rw-r--r--libjava/java/lang/natPosixProcess.cc20
-rw-r--r--libjava/java/lang/natRuntime.cc8
-rw-r--r--libjava/java/lang/natThread.cc100
-rw-r--r--libjava/java/lang/natThreadLocal.cc169
-rw-r--r--libjava/java/lang/natVMClassLoader.cc3
-rw-r--r--libjava/java/lang/natVMSecurityManager.cc29
-rw-r--r--libjava/java/lang/natWin32Process.cc16
-rw-r--r--libjava/java/lang/ref/PhantomReference.h20
-rw-r--r--libjava/java/lang/ref/Reference.h45
-rw-r--r--libjava/java/lang/ref/Reference.java20
-rw-r--r--libjava/java/lang/ref/ReferenceQueue.h31
-rw-r--r--libjava/java/lang/ref/SoftReference.h21
-rw-r--r--libjava/java/lang/ref/WeakReference.h20
-rw-r--r--libjava/java/lang/ref/natReference.cc9
-rw-r--r--libjava/java/lang/reflect/AccessibleObject.h36
-rw-r--r--libjava/java/lang/reflect/AnnotatedElement.h24
-rw-r--r--libjava/java/lang/reflect/Array.h46
-rw-r--r--libjava/java/lang/reflect/Constructor.h65
-rw-r--r--libjava/java/lang/reflect/Constructor.java50
-rw-r--r--libjava/java/lang/reflect/Field.h96
-rw-r--r--libjava/java/lang/reflect/Field.java32
-rw-r--r--libjava/java/lang/reflect/GenericArrayType.h19
-rw-r--r--libjava/java/lang/reflect/GenericDeclaration.h21
-rw-r--r--libjava/java/lang/reflect/GenericSignatureFormatError.h22
-rw-r--r--libjava/java/lang/reflect/InvocationHandler.h21
-rw-r--r--libjava/java/lang/reflect/InvocationTargetException.h28
-rw-r--r--libjava/java/lang/reflect/MalformedParameterizedTypeException.h22
-rw-r--r--libjava/java/lang/reflect/Member.h24
-rw-r--r--libjava/java/lang/reflect/Method.h76
-rw-r--r--libjava/java/lang/reflect/Method.java73
-rw-r--r--libjava/java/lang/reflect/Modifier.h58
-rw-r--r--libjava/java/lang/reflect/ParameterizedType.h23
-rw-r--r--libjava/java/lang/reflect/Proxy$ClassFactory.h78
-rw-r--r--libjava/java/lang/reflect/Proxy$ProxyData.h37
-rw-r--r--libjava/java/lang/reflect/Proxy$ProxySignature.h28
-rw-r--r--libjava/java/lang/reflect/Proxy$ProxyType.h28
-rw-r--r--libjava/java/lang/reflect/Proxy.h32
-rw-r--r--libjava/java/lang/reflect/ReflectPermission.h23
-rw-r--r--libjava/java/lang/reflect/Type.h18
-rw-r--r--libjava/java/lang/reflect/TypeVariable.h23
-rw-r--r--libjava/java/lang/reflect/UndeclaredThrowableException.h26
-rw-r--r--libjava/java/lang/reflect/VMProxy.h28
-rw-r--r--libjava/java/lang/reflect/VMProxy.java7
-rw-r--r--libjava/java/lang/reflect/WildcardType.h22
-rw-r--r--libjava/java/lang/reflect/natConstructor.cc21
-rw-r--r--libjava/java/lang/reflect/natField.cc14
-rw-r--r--libjava/java/lang/reflect/natMethod.cc29
-rw-r--r--libjava/java/lang/reflect/natVMProxy.cc394
-rw-r--r--libjava/java/math/BigDecimal.h126
-rw-r--r--libjava/java/math/BigInteger.h195
-rw-r--r--libjava/java/math/MathContext.h46
-rw-r--r--libjava/java/math/RoundingMode.h46
-rw-r--r--libjava/java/net/Authenticator.h51
-rw-r--r--libjava/java/net/BindException.h33
-rw-r--r--libjava/java/net/ConnectException.h33
-rw-r--r--libjava/java/net/ContentHandler.h34
-rw-r--r--libjava/java/net/ContentHandlerFactory.h30
-rw-r--r--libjava/java/net/DatagramPacket.h60
-rw-r--r--libjava/java/net/DatagramSocket.h87
-rw-r--r--libjava/java/net/DatagramSocket.java939
-rw-r--r--libjava/java/net/DatagramSocketImpl.h60
-rw-r--r--libjava/java/net/DatagramSocketImplFactory.h30
-rw-r--r--libjava/java/net/FileNameMap.h29
-rw-r--r--libjava/java/net/HttpURLConnection.h101
-rw-r--r--libjava/java/net/Inet4Address.h52
-rw-r--r--libjava/java/net/Inet6Address.h66
-rw-r--r--libjava/java/net/InetAddress.h76
-rw-r--r--libjava/java/net/InetSocketAddress.h49
-rw-r--r--libjava/java/net/JarURLConnection.h56
-rw-r--r--libjava/java/net/MalformedURLException.h33
-rw-r--r--libjava/java/net/MimeTypeMapper.h39
-rw-r--r--libjava/java/net/MulticastSocket.h50
-rw-r--r--libjava/java/net/MulticastSocket.java519
-rw-r--r--libjava/java/net/NetPermission.h33
-rw-r--r--libjava/java/net/NetworkInterface.h50
-rw-r--r--libjava/java/net/NetworkInterface.java299
-rw-r--r--libjava/java/net/NoRouteToHostException.h33
-rw-r--r--libjava/java/net/PasswordAuthentication.h37
-rw-r--r--libjava/java/net/PortUnreachableException.h33
-rw-r--r--libjava/java/net/ProtocolException.h33
-rw-r--r--libjava/java/net/Proxy$Type.h40
-rw-r--r--libjava/java/net/Proxy.h41
-rw-r--r--libjava/java/net/ProxySelector.h38
-rw-r--r--libjava/java/net/ResolverCache$Entry.h32
-rw-r--r--libjava/java/net/ResolverCache.h51
-rw-r--r--libjava/java/net/ServerSocket.h75
-rw-r--r--libjava/java/net/Socket.h103
-rw-r--r--libjava/java/net/Socket.java1269
-rw-r--r--libjava/java/net/SocketAddress.h32
-rw-r--r--libjava/java/net/SocketException.h33
-rw-r--r--libjava/java/net/SocketImpl.h63
-rw-r--r--libjava/java/net/SocketImplFactory.h30
-rw-r--r--libjava/java/net/SocketOptions.h44
-rw-r--r--libjava/java/net/SocketPermission.h68
-rw-r--r--libjava/java/net/SocketTimeoutException.h33
-rw-r--r--libjava/java/net/URI.h134
-rw-r--r--libjava/java/net/URISyntaxException.h39
-rw-r--r--libjava/java/net/URL$1.h31
-rw-r--r--libjava/java/net/URL.h89
-rw-r--r--libjava/java/net/URLClassLoader$1.h45
-rw-r--r--libjava/java/net/URLClassLoader$2.h35
-rw-r--r--libjava/java/net/URLClassLoader$CoreResource.h46
-rw-r--r--libjava/java/net/URLClassLoader$CoreURLLoader.h36
-rw-r--r--libjava/java/net/URLClassLoader$FileResource.h38
-rw-r--r--libjava/java/net/URLClassLoader$FileURLLoader.h35
-rw-r--r--libjava/java/net/URLClassLoader$JarURLLoader.h40
-rw-r--r--libjava/java/net/URLClassLoader$JarURLResource.h48
-rw-r--r--libjava/java/net/URLClassLoader$RemoteResource.h40
-rw-r--r--libjava/java/net/URLClassLoader$RemoteURLLoader.h36
-rw-r--r--libjava/java/net/URLClassLoader$Resource.h48
-rw-r--r--libjava/java/net/URLClassLoader$SoResource.h38
-rw-r--r--libjava/java/net/URLClassLoader$SoURLLoader.h47
-rw-r--r--libjava/java/net/URLClassLoader$URLLoader.h45
-rw-r--r--libjava/java/net/URLClassLoader.h82
-rw-r--r--libjava/java/net/URLClassLoader.java12
-rw-r--r--libjava/java/net/URLConnection.h117
-rw-r--r--libjava/java/net/URLDecoder.h31
-rw-r--r--libjava/java/net/URLEncoder.h35
-rw-r--r--libjava/java/net/URLStreamHandler.h48
-rw-r--r--libjava/java/net/URLStreamHandlerFactory.h30
-rw-r--r--libjava/java/net/UnknownHostException.h33
-rw-r--r--libjava/java/net/UnknownServiceException.h33
-rw-r--r--libjava/java/net/VMInetAddress.h37
-rw-r--r--libjava/java/net/VMNetworkInterface.h31
-rw-r--r--libjava/java/net/VMURLConnection.h38
-rw-r--r--libjava/java/net/VMURLConnection.java13
-rw-r--r--libjava/java/net/natURLClassLoader.cc22
-rw-r--r--libjava/java/net/natVMURLConnection.cc56
-rw-r--r--libjava/java/nio/Buffer.h64
-rw-r--r--libjava/java/nio/BufferOverflowException.h32
-rw-r--r--libjava/java/nio/BufferUnderflowException.h32
-rw-r--r--libjava/java/nio/ByteBuffer.h105
-rw-r--r--libjava/java/nio/ByteBufferHelper.h56
-rw-r--r--libjava/java/nio/ByteBufferImpl.h87
-rw-r--r--libjava/java/nio/ByteOrder.h35
-rw-r--r--libjava/java/nio/CharBuffer.h77
-rw-r--r--libjava/java/nio/CharBufferImpl.h53
-rw-r--r--libjava/java/nio/CharViewBufferImpl.h55
-rw-r--r--libjava/java/nio/DirectByteBufferImpl$ReadOnly.h41
-rw-r--r--libjava/java/nio/DirectByteBufferImpl$ReadWrite.h40
-rw-r--r--libjava/java/nio/DirectByteBufferImpl.h101
-rw-r--r--libjava/java/nio/DoubleBuffer.h62
-rw-r--r--libjava/java/nio/DoubleBufferImpl.h49
-rw-r--r--libjava/java/nio/DoubleViewBufferImpl.h54
-rw-r--r--libjava/java/nio/FloatBuffer.h62
-rw-r--r--libjava/java/nio/FloatBufferImpl.h49
-rw-r--r--libjava/java/nio/FloatViewBufferImpl.h54
-rw-r--r--libjava/java/nio/IntBuffer.h62
-rw-r--r--libjava/java/nio/IntBufferImpl.h49
-rw-r--r--libjava/java/nio/IntViewBufferImpl.h54
-rw-r--r--libjava/java/nio/InvalidMarkException.h32
-rw-r--r--libjava/java/nio/LongBuffer.h62
-rw-r--r--libjava/java/nio/LongBufferImpl.h49
-rw-r--r--libjava/java/nio/LongViewBufferImpl.h54
-rw-r--r--libjava/java/nio/MappedByteBuffer.h44
-rw-r--r--libjava/java/nio/MappedByteBufferImpl.h98
-rw-r--r--libjava/java/nio/ReadOnlyBufferException.h32
-rw-r--r--libjava/java/nio/ShortBuffer.h62
-rw-r--r--libjava/java/nio/ShortBufferImpl.h49
-rw-r--r--libjava/java/nio/ShortViewBufferImpl.h54
-rw-r--r--libjava/java/nio/VMDirectByteBuffer.h46
-rw-r--r--libjava/java/nio/channels/AlreadyConnectedException.h35
-rw-r--r--libjava/java/nio/channels/AsynchronousCloseException.h35
-rw-r--r--libjava/java/nio/channels/ByteChannel.h36
-rw-r--r--libjava/java/nio/channels/CancelledKeyException.h35
-rw-r--r--libjava/java/nio/channels/Channel.h33
-rw-r--r--libjava/java/nio/channels/Channels.h47
-rw-r--r--libjava/java/nio/channels/ClosedByInterruptException.h35
-rw-r--r--libjava/java/nio/channels/ClosedChannelException.h35
-rw-r--r--libjava/java/nio/channels/ClosedSelectorException.h35
-rw-r--r--libjava/java/nio/channels/ConnectionPendingException.h35
-rw-r--r--libjava/java/nio/channels/DatagramChannel.h59
-rw-r--r--libjava/java/nio/channels/FileChannel$MapMode.h40
-rw-r--r--libjava/java/nio/channels/FileChannel.h64
-rw-r--r--libjava/java/nio/channels/FileLock.h48
-rw-r--r--libjava/java/nio/channels/FileLockInterruptionException.h35
-rw-r--r--libjava/java/nio/channels/GatheringByteChannel.h39
-rw-r--r--libjava/java/nio/channels/IllegalBlockingModeException.h35
-rw-r--r--libjava/java/nio/channels/IllegalSelectorException.h35
-rw-r--r--libjava/java/nio/channels/InterruptibleChannel.h33
-rw-r--r--libjava/java/nio/channels/NoConnectionPendingException.h35
-rw-r--r--libjava/java/nio/channels/NonReadableChannelException.h35
-rw-r--r--libjava/java/nio/channels/NonWritableChannelException.h35
-rw-r--r--libjava/java/nio/channels/NotYetBoundException.h35
-rw-r--r--libjava/java/nio/channels/NotYetConnectedException.h35
-rw-r--r--libjava/java/nio/channels/OverlappingFileLockException.h35
-rw-r--r--libjava/java/nio/channels/Pipe$SinkChannel.h44
-rw-r--r--libjava/java/nio/channels/Pipe$SourceChannel.h44
-rw-r--r--libjava/java/nio/channels/Pipe.h38
-rw-r--r--libjava/java/nio/channels/ReadableByteChannel.h35
-rw-r--r--libjava/java/nio/channels/ScatteringByteChannel.h39
-rw-r--r--libjava/java/nio/channels/SelectableChannel.h48
-rw-r--r--libjava/java/nio/channels/SelectionKey.h55
-rw-r--r--libjava/java/nio/channels/Selector.h47
-rw-r--r--libjava/java/nio/channels/ServerSocketChannel.h46
-rw-r--r--libjava/java/nio/channels/SocketChannel.h59
-rw-r--r--libjava/java/nio/channels/UnresolvedAddressException.h35
-rw-r--r--libjava/java/nio/channels/UnsupportedAddressTypeException.h35
-rw-r--r--libjava/java/nio/channels/VMChannels.h52
-rw-r--r--libjava/java/nio/channels/WritableByteChannel.h35
-rw-r--r--libjava/java/nio/channels/spi/AbstractInterruptibleChannel.h46
-rw-r--r--libjava/java/nio/channels/spi/AbstractSelectableChannel.h64
-rw-r--r--libjava/java/nio/channels/spi/AbstractSelectionKey.h41
-rw-r--r--libjava/java/nio/channels/spi/AbstractSelector.h60
-rw-r--r--libjava/java/nio/channels/spi/SelectorProvider.h50
-rw-r--r--libjava/java/nio/charset/CharacterCodingException.h35
-rw-r--r--libjava/java/nio/charset/Charset.h79
-rw-r--r--libjava/java/nio/charset/CharsetDecoder.h81
-rw-r--r--libjava/java/nio/charset/CharsetEncoder.h84
-rw-r--r--libjava/java/nio/charset/CoderMalfunctionError.h35
-rw-r--r--libjava/java/nio/charset/CoderResult$1.h36
-rw-r--r--libjava/java/nio/charset/CoderResult$2.h36
-rw-r--r--libjava/java/nio/charset/CoderResult$Cache.h39
-rw-r--r--libjava/java/nio/charset/CoderResult.h61
-rw-r--r--libjava/java/nio/charset/CodingErrorAction.h39
-rw-r--r--libjava/java/nio/charset/IllegalCharsetNameException.h37
-rw-r--r--libjava/java/nio/charset/MalformedInputException.h38
-rw-r--r--libjava/java/nio/charset/UnmappableCharacterException.h38
-rw-r--r--libjava/java/nio/charset/UnsupportedCharsetException.h38
-rw-r--r--libjava/java/nio/charset/spi/CharsetProvider.h39
-rw-r--r--libjava/java/rmi/AccessException.h33
-rw-r--r--libjava/java/rmi/AlreadyBoundException.h33
-rw-r--r--libjava/java/rmi/ConnectException.h33
-rw-r--r--libjava/java/rmi/ConnectIOException.h33
-rw-r--r--libjava/java/rmi/MarshalException.h33
-rw-r--r--libjava/java/rmi/MarshalledObject.h41
-rw-r--r--libjava/java/rmi/Naming.h50
-rw-r--r--libjava/java/rmi/NoSuchObjectException.h32
-rw-r--r--libjava/java/rmi/NotBoundException.h33
-rw-r--r--libjava/java/rmi/RMISecurityException.h33
-rw-r--r--libjava/java/rmi/RMISecurityManager.h29
-rw-r--r--libjava/java/rmi/Remote.h28
-rw-r--r--libjava/java/rmi/RemoteException.h37
-rw-r--r--libjava/java/rmi/ServerError.h32
-rw-r--r--libjava/java/rmi/ServerException.h33
-rw-r--r--libjava/java/rmi/ServerRuntimeException.h32
-rw-r--r--libjava/java/rmi/StubNotFoundException.h33
-rw-r--r--libjava/java/rmi/UnexpectedException.h33
-rw-r--r--libjava/java/rmi/UnknownHostException.h33
-rw-r--r--libjava/java/rmi/UnmarshalException.h33
-rw-r--r--libjava/java/rmi/activation/Activatable.h67
-rw-r--r--libjava/java/rmi/activation/ActivateFailedException.h36
-rw-r--r--libjava/java/rmi/activation/ActivationDesc.h55
-rw-r--r--libjava/java/rmi/activation/ActivationException.h40
-rw-r--r--libjava/java/rmi/activation/ActivationGroup.h63
-rw-r--r--libjava/java/rmi/activation/ActivationGroupDesc$CommandEnvironment.h46
-rw-r--r--libjava/java/rmi/activation/ActivationGroupDesc.h54
-rw-r--r--libjava/java/rmi/activation/ActivationGroupID.h46
-rw-r--r--libjava/java/rmi/activation/ActivationGroup_Stub.h43
-rw-r--r--libjava/java/rmi/activation/ActivationID.h55
-rw-r--r--libjava/java/rmi/activation/ActivationInstantiator.h35
-rw-r--r--libjava/java/rmi/activation/ActivationMonitor.h37
-rw-r--r--libjava/java/rmi/activation/ActivationSystem.h48
-rw-r--r--libjava/java/rmi/activation/Activator.h34
-rw-r--r--libjava/java/rmi/activation/UnknownGroupException.h35
-rw-r--r--libjava/java/rmi/activation/UnknownObjectException.h35
-rw-r--r--libjava/java/rmi/dgc/DGC.h41
-rw-r--r--libjava/java/rmi/dgc/Lease.h42
-rw-r--r--libjava/java/rmi/dgc/VMID.h53
-rw-r--r--libjava/java/rmi/registry/LocateRegistry.h45
-rw-r--r--libjava/java/rmi/registry/Registry.h40
-rw-r--r--libjava/java/rmi/registry/RegistryHandler.h34
-rw-r--r--libjava/java/rmi/server/ExportException.h36
-rw-r--r--libjava/java/rmi/server/LoaderHandler.h39
-rw-r--r--libjava/java/rmi/server/LogStream.h49
-rw-r--r--libjava/java/rmi/server/ObjID.h55
-rw-r--r--libjava/java/rmi/server/Operation.h37
-rw-r--r--libjava/java/rmi/server/RMIClassLoader.h51
-rw-r--r--libjava/java/rmi/server/RMIClassLoaderSpi.h38
-rw-r--r--libjava/java/rmi/server/RMIClientSocketFactory.h36
-rw-r--r--libjava/java/rmi/server/RMIFailureHandler.h32
-rw-r--r--libjava/java/rmi/server/RMIServerSocketFactory.h36
-rw-r--r--libjava/java/rmi/server/RMISocketFactory.h50
-rw-r--r--libjava/java/rmi/server/RemoteCall.h38
-rw-r--r--libjava/java/rmi/server/RemoteObject.h54
-rw-r--r--libjava/java/rmi/server/RemoteObjectInvocationHandler.h43
-rw-r--r--libjava/java/rmi/server/RemoteRef.h49
-rw-r--r--libjava/java/rmi/server/RemoteServer.h41
-rw-r--r--libjava/java/rmi/server/RemoteStub.h38
-rw-r--r--libjava/java/rmi/server/ServerCloneException.h39
-rw-r--r--libjava/java/rmi/server/ServerNotActiveException.h36
-rw-r--r--libjava/java/rmi/server/ServerRef.h52
-rw-r--r--libjava/java/rmi/server/Skeleton.h38
-rw-r--r--libjava/java/rmi/server/SkeletonMismatchException.h35
-rw-r--r--libjava/java/rmi/server/SkeletonNotFoundException.h36
-rw-r--r--libjava/java/rmi/server/SocketSecurityException.h36
-rw-r--r--libjava/java/rmi/server/UID.h50
-rw-r--r--libjava/java/rmi/server/UnicastRemoteObject.h55
-rw-r--r--libjava/java/rmi/server/Unreferenced.h32
-rw-r--r--libjava/java/security/AccessControlContext.h48
-rw-r--r--libjava/java/security/AccessControlException.h36
-rw-r--r--libjava/java/security/AccessController.h39
-rw-r--r--libjava/java/security/AlgorithmParameterGenerator.h54
-rw-r--r--libjava/java/security/AlgorithmParameterGeneratorSpi.h40
-rw-r--r--libjava/java/security/AlgorithmParameters.h56
-rw-r--r--libjava/java/security/AlgorithmParametersSpi.h44
-rw-r--r--libjava/java/security/AllPermission$AllPermissionCollection.h39
-rw-r--r--libjava/java/security/AllPermission.h40
-rw-r--r--libjava/java/security/BasicPermission$BasicPermissionCollection.h40
-rw-r--r--libjava/java/security/BasicPermission.h40
-rw-r--r--libjava/java/security/Certificate.h37
-rw-r--r--libjava/java/security/CodeSource.h52
-rw-r--r--libjava/java/security/DigestException.h35
-rw-r--r--libjava/java/security/DigestInputStream.h43
-rw-r--r--libjava/java/security/DigestOutputStream.h43
-rw-r--r--libjava/java/security/DomainCombiner.h32
-rw-r--r--libjava/java/security/DummyKeyPairGenerator.h43
-rw-r--r--libjava/java/security/DummyMessageDigest.h42
-rw-r--r--libjava/java/security/DummySignature.h47
-rw-r--r--libjava/java/security/GeneralSecurityException.h35
-rw-r--r--libjava/java/security/Guard.h29
-rw-r--r--libjava/java/security/GuardedObject.h37
-rw-r--r--libjava/java/security/Identity.h61
-rw-r--r--libjava/java/security/IdentityScope.h51
-rw-r--r--libjava/java/security/IntersectingDomainCombiner.h36
-rw-r--r--libjava/java/security/InvalidAlgorithmParameterException.h35
-rw-r--r--libjava/java/security/InvalidKeyException.h35
-rw-r--r--libjava/java/security/InvalidParameterException.h33
-rw-r--r--libjava/java/security/Key.h34
-rw-r--r--libjava/java/security/KeyException.h35
-rw-r--r--libjava/java/security/KeyFactory.h54
-rw-r--r--libjava/java/security/KeyFactorySpi.h42
-rw-r--r--libjava/java/security/KeyManagementException.h35
-rw-r--r--libjava/java/security/KeyPair.h38
-rw-r--r--libjava/java/security/KeyPairGenerator.h55
-rw-r--r--libjava/java/security/KeyPairGeneratorSpi.h41
-rw-r--r--libjava/java/security/KeyStore.h67
-rw-r--r--libjava/java/security/KeyStoreException.h35
-rw-r--r--libjava/java/security/KeyStoreSpi.h52
-rw-r--r--libjava/java/security/MessageDigest.h63
-rw-r--r--libjava/java/security/MessageDigestSpi.h45
-rw-r--r--libjava/java/security/NoSuchAlgorithmException.h35
-rw-r--r--libjava/java/security/NoSuchProviderException.h33
-rw-r--r--libjava/java/security/Permission.h42
-rw-r--r--libjava/java/security/PermissionCollection.h40
-rw-r--r--libjava/java/security/Permissions$1.h38
-rw-r--r--libjava/java/security/Permissions$PermissionsHash.h39
-rw-r--r--libjava/java/security/Permissions.h40
-rw-r--r--libjava/java/security/Policy.h49
-rw-r--r--libjava/java/security/Principal.h32
-rw-r--r--libjava/java/security/PrivateKey.h34
-rw-r--r--libjava/java/security/PrivilegedAction.h29
-rw-r--r--libjava/java/security/PrivilegedActionException.h36
-rw-r--r--libjava/java/security/PrivilegedExceptionAction.h29
-rw-r--r--libjava/java/security/ProtectionDomain.h52
-rw-r--r--libjava/java/security/Provider.h45
-rw-r--r--libjava/java/security/ProviderException.h35
-rw-r--r--libjava/java/security/PublicKey.h34
-rw-r--r--libjava/java/security/SecureClassLoader.h48
-rw-r--r--libjava/java/security/SecureRandom.h71
-rw-r--r--libjava/java/security/SecureRandomSpi.h38
-rw-r--r--libjava/java/security/Security.h51
-rw-r--r--libjava/java/security/Security.java714
-rw-r--r--libjava/java/security/SecurityPermission.h33
-rw-r--r--libjava/java/security/Signature.h84
-rw-r--r--libjava/java/security/SignatureException.h35
-rw-r--r--libjava/java/security/SignatureSpi.h63
-rw-r--r--libjava/java/security/SignedObject.h45
-rw-r--r--libjava/java/security/Signer.h42
-rw-r--r--libjava/java/security/UnrecoverableKeyException.h33
-rw-r--r--libjava/java/security/UnresolvedPermission.h56
-rw-r--r--libjava/java/security/UnresolvedPermissionCollection$1.h38
-rw-r--r--libjava/java/security/UnresolvedPermissionCollection.h39
-rw-r--r--libjava/java/security/VMAccessControlState.h37
-rw-r--r--libjava/java/security/VMAccessController.h41
-rw-r--r--libjava/java/security/VMSecureRandom$Spinner.h38
-rw-r--r--libjava/java/security/VMSecureRandom.h33
-rw-r--r--libjava/java/security/acl/Acl.h45
-rw-r--r--libjava/java/security/acl/AclEntry.h43
-rw-r--r--libjava/java/security/acl/AclNotFoundException.h35
-rw-r--r--libjava/java/security/acl/Group.h37
-rw-r--r--libjava/java/security/acl/LastOwnerException.h35
-rw-r--r--libjava/java/security/acl/NotOwnerException.h35
-rw-r--r--libjava/java/security/acl/Owner.h35
-rw-r--r--libjava/java/security/acl/Permission.h33
-rw-r--r--libjava/java/security/cert/CRL.h40
-rw-r--r--libjava/java/security/cert/CRLException.h38
-rw-r--r--libjava/java/security/cert/CRLSelector.h34
-rw-r--r--libjava/java/security/cert/CertPath$CertPathRep.h40
-rw-r--r--libjava/java/security/cert/CertPath.h49
-rw-r--r--libjava/java/security/cert/CertPathBuilder.h50
-rw-r--r--libjava/java/security/cert/CertPathBuilderException.h44
-rw-r--r--libjava/java/security/cert/CertPathBuilderResult.h34
-rw-r--r--libjava/java/security/cert/CertPathBuilderSpi.h35
-rw-r--r--libjava/java/security/cert/CertPathParameters.h32
-rw-r--r--libjava/java/security/cert/CertPathValidator$1.h34
-rw-r--r--libjava/java/security/cert/CertPathValidator.h51
-rw-r--r--libjava/java/security/cert/CertPathValidatorException.h50
-rw-r--r--libjava/java/security/cert/CertPathValidatorResult.h32
-rw-r--r--libjava/java/security/cert/CertPathValidatorSpi.h36
-rw-r--r--libjava/java/security/cert/CertSelector.h34
-rw-r--r--libjava/java/security/cert/CertStore$1.h34
-rw-r--r--libjava/java/security/cert/CertStore.h54
-rw-r--r--libjava/java/security/cert/CertStoreException.h44
-rw-r--r--libjava/java/security/cert/CertStoreParameters.h32
-rw-r--r--libjava/java/security/cert/CertStoreSpi.h37
-rw-r--r--libjava/java/security/cert/Certificate$CertificateRep.h40
-rw-r--r--libjava/java/security/cert/Certificate.h50
-rw-r--r--libjava/java/security/cert/CertificateEncodingException.h38
-rw-r--r--libjava/java/security/cert/CertificateException.h38
-rw-r--r--libjava/java/security/cert/CertificateExpiredException.h36
-rw-r--r--libjava/java/security/cert/CertificateFactory.h57
-rw-r--r--libjava/java/security/cert/CertificateFactorySpi.h43
-rw-r--r--libjava/java/security/cert/CertificateNotYetValidException.h36
-rw-r--r--libjava/java/security/cert/CertificateParsingException.h38
-rw-r--r--libjava/java/security/cert/CollectionCertStoreParameters.h39
-rw-r--r--libjava/java/security/cert/LDAPCertStoreParameters.h43
-rw-r--r--libjava/java/security/cert/PKIXBuilderParameters.h41
-rw-r--r--libjava/java/security/cert/PKIXCertPathBuilderResult.h41
-rw-r--r--libjava/java/security/cert/PKIXCertPathChecker.h39
-rw-r--r--libjava/java/security/cert/PKIXCertPathValidatorResult.h45
-rw-r--r--libjava/java/security/cert/PKIXParameters.h83
-rw-r--r--libjava/java/security/cert/PolicyNode.h38
-rw-r--r--libjava/java/security/cert/PolicyQualifierInfo.h57
-rw-r--r--libjava/java/security/cert/TrustAnchor.h61
-rw-r--r--libjava/java/security/cert/X509CRL.h76
-rw-r--r--libjava/java/security/cert/X509CRLEntry.h49
-rw-r--r--libjava/java/security/cert/X509CRLSelector.h63
-rw-r--r--libjava/java/security/cert/X509CertSelector.h132
-rw-r--r--libjava/java/security/cert/X509Certificate.h82
-rw-r--r--libjava/java/security/cert/X509Extension.h37
-rw-r--r--libjava/java/security/interfaces/DSAKey.h33
-rw-r--r--libjava/java/security/interfaces/DSAKeyPairGenerator.h35
-rw-r--r--libjava/java/security/interfaces/DSAParams.h38
-rw-r--r--libjava/java/security/interfaces/DSAPrivateKey.h44
-rw-r--r--libjava/java/security/interfaces/DSAPublicKey.h44
-rw-r--r--libjava/java/security/interfaces/RSAKey.h36
-rw-r--r--libjava/java/security/interfaces/RSAMultiPrimePrivateCrtKey.h54
-rw-r--r--libjava/java/security/interfaces/RSAPrivateCrtKey.h49
-rw-r--r--libjava/java/security/interfaces/RSAPrivateKey.h43
-rw-r--r--libjava/java/security/interfaces/RSAPublicKey.h43
-rw-r--r--libjava/java/security/spec/AlgorithmParameterSpec.h31
-rw-r--r--libjava/java/security/spec/DSAParameterSpec.h44
-rw-r--r--libjava/java/security/spec/DSAPrivateKeySpec.h46
-rw-r--r--libjava/java/security/spec/DSAPublicKeySpec.h46
-rw-r--r--libjava/java/security/spec/EncodedKeySpec.h39
-rw-r--r--libjava/java/security/spec/InvalidKeySpecException.h38
-rw-r--r--libjava/java/security/spec/InvalidParameterSpecException.h36
-rw-r--r--libjava/java/security/spec/KeySpec.h31
-rw-r--r--libjava/java/security/spec/PKCS8EncodedKeySpec.h36
-rw-r--r--libjava/java/security/spec/PSSParameterSpec.h36
-rw-r--r--libjava/java/security/spec/RSAKeyGenParameterSpec.h44
-rw-r--r--libjava/java/security/spec/RSAMultiPrimePrivateCrtKeySpec.h55
-rw-r--r--libjava/java/security/spec/RSAOtherPrimeInfo.h44
-rw-r--r--libjava/java/security/spec/RSAPrivateCrtKeySpec.h50
-rw-r--r--libjava/java/security/spec/RSAPrivateKeySpec.h42
-rw-r--r--libjava/java/security/spec/RSAPublicKeySpec.h42
-rw-r--r--libjava/java/security/spec/X509EncodedKeySpec.h36
-rw-r--r--libjava/java/sql/Array.h39
-rw-r--r--libjava/java/sql/BatchUpdateException.h41
-rw-r--r--libjava/java/sql/Blob.h39
-rw-r--r--libjava/java/sql/CallableStatement.h203
-rw-r--r--libjava/java/sql/Clob.h39
-rw-r--r--libjava/java/sql/Connection.h77
-rw-r--r--libjava/java/sql/DataTruncation.h43
-rw-r--r--libjava/java/sql/DatabaseMetaData.h245
-rw-r--r--libjava/java/sql/Date.h47
-rw-r--r--libjava/java/sql/Driver.h38
-rw-r--r--libjava/java/sql/DriverManager.h51
-rw-r--r--libjava/java/sql/DriverPropertyInfo.h36
-rw-r--r--libjava/java/sql/ParameterMetaData.h44
-rw-r--r--libjava/java/sql/PreparedStatement.h124
-rw-r--r--libjava/java/sql/Ref.h32
-rw-r--r--libjava/java/sql/ResultSet.h197
-rw-r--r--libjava/java/sql/ResultSetMetaData.h52
-rw-r--r--libjava/java/sql/SQLData.h33
-rw-r--r--libjava/java/sql/SQLException.h43
-rw-r--r--libjava/java/sql/SQLInput.h68
-rw-r--r--libjava/java/sql/SQLOutput.h70
-rw-r--r--libjava/java/sql/SQLPermission.h30
-rw-r--r--libjava/java/sql/SQLWarning.h37
-rw-r--r--libjava/java/sql/Savepoint.h30
-rw-r--r--libjava/java/sql/Statement.h77
-rw-r--r--libjava/java/sql/Struct.h33
-rw-r--r--libjava/java/sql/Time.h48
-rw-r--r--libjava/java/sql/Timestamp.h54
-rw-r--r--libjava/java/sql/Types.h59
-rw-r--r--libjava/java/text/Annotation.h34
-rw-r--r--libjava/java/text/AttributedCharacterIterator$Attribute.h44
-rw-r--r--libjava/java/text/AttributedCharacterIterator.h47
-rw-r--r--libjava/java/text/AttributedString$AttributeRange.h35
-rw-r--r--libjava/java/text/AttributedString.h49
-rw-r--r--libjava/java/text/AttributedStringIterator.h63
-rw-r--r--libjava/java/text/Bidi.h80
-rw-r--r--libjava/java/text/BreakIterator.h59
-rw-r--r--libjava/java/text/CharacterIterator.h39
-rw-r--r--libjava/java/text/ChoiceFormat.h57
-rw-r--r--libjava/java/text/CollationElementIterator.h58
-rw-r--r--libjava/java/text/CollationKey.h44
-rw-r--r--libjava/java/text/Collator.h61
-rw-r--r--libjava/java/text/DateFormat$Field.h69
-rw-r--r--libjava/java/text/DateFormat.h102
-rw-r--r--libjava/java/text/DateFormatSymbols.h74
-rw-r--r--libjava/java/text/DecimalFormat.h120
-rw-r--r--libjava/java/text/DecimalFormatSymbols.h91
-rw-r--r--libjava/java/text/FieldPosition.h47
-rw-r--r--libjava/java/text/Format$Field.h32
-rw-r--r--libjava/java/text/Format.h41
-rw-r--r--libjava/java/text/MessageFormat$Field.h35
-rw-r--r--libjava/java/text/MessageFormat$MessageFormatElement.h40
-rw-r--r--libjava/java/text/MessageFormat.h83
-rw-r--r--libjava/java/text/NumberFormat$Field.h50
-rw-r--r--libjava/java/text/NumberFormat.h100
-rw-r--r--libjava/java/text/ParseException.h34
-rw-r--r--libjava/java/text/ParsePosition.h40
-rw-r--r--libjava/java/text/RuleBasedCollator$CollationElement.h38
-rw-r--r--libjava/java/text/RuleBasedCollator$CollationSorter.h42
-rw-r--r--libjava/java/text/RuleBasedCollator.h70
-rw-r--r--libjava/java/text/SimpleDateFormat$CompiledField.h42
-rw-r--r--libjava/java/text/SimpleDateFormat.h87
-rw-r--r--libjava/java/text/StringCharacterIterator.h53
-rw-r--r--libjava/java/util/AbstractCollection.h46
-rw-r--r--libjava/java/util/AbstractList$1.h35
-rw-r--r--libjava/java/util/AbstractList$2.h33
-rw-r--r--libjava/java/util/AbstractList$3.h39
-rw-r--r--libjava/java/util/AbstractList$RandomAccessSubList.h20
-rw-r--r--libjava/java/util/AbstractList$SubList.h41
-rw-r--r--libjava/java/util/AbstractList.h41
-rw-r--r--libjava/java/util/AbstractMap$1.h27
-rw-r--r--libjava/java/util/AbstractMap$2.h28
-rw-r--r--libjava/java/util/AbstractMap$3.h27
-rw-r--r--libjava/java/util/AbstractMap$4.h28
-rw-r--r--libjava/java/util/AbstractMap$SimpleEntry.h30
-rw-r--r--libjava/java/util/AbstractMap$SimpleImmutableEntry.h27
-rw-r--r--libjava/java/util/AbstractMap.h47
-rw-r--r--libjava/java/util/AbstractQueue.h28
-rw-r--r--libjava/java/util/AbstractSequentialList.h27
-rw-r--r--libjava/java/util/AbstractSet.h23
-rw-r--r--libjava/java/util/ArrayDeque$DeqIterator.h31
-rw-r--r--libjava/java/util/ArrayDeque$DescendingIterator.h31
-rw-r--r--libjava/java/util/ArrayDeque.h81
-rw-r--r--libjava/java/util/ArrayList.h57
-rw-r--r--libjava/java/util/Arrays$ArrayList.h34
-rw-r--r--libjava/java/util/Arrays.h144
-rw-r--r--libjava/java/util/BitSet.h57
-rw-r--r--libjava/java/util/Calendar.h140
-rw-r--r--libjava/java/util/Collection.h35
-rw-r--r--libjava/java/util/Collections$1$SynchronizedMapEntry.h30
-rw-r--r--libjava/java/util/Collections$1.h28
-rw-r--r--libjava/java/util/Collections$2.h24
-rw-r--r--libjava/java/util/Collections$3.h25
-rw-r--r--libjava/java/util/Collections$4.h25
-rw-r--r--libjava/java/util/Collections$5.h25
-rw-r--r--libjava/java/util/Collections$6.h25
-rw-r--r--libjava/java/util/Collections$7.h31
-rw-r--r--libjava/java/util/Collections$8.h25
-rw-r--r--libjava/java/util/Collections$9.h24
-rw-r--r--libjava/java/util/Collections$CheckedCollection.h42
-rw-r--r--libjava/java/util/Collections$CheckedIterator.h28
-rw-r--r--libjava/java/util/Collections$CheckedList.h37
-rw-r--r--libjava/java/util/Collections$CheckedListIterator.h29
-rw-r--r--libjava/java/util/Collections$CheckedMap$CheckedEntrySet.h27
-rw-r--r--libjava/java/util/Collections$CheckedMap.h46
-rw-r--r--libjava/java/util/Collections$CheckedRandomAccessList.h22
-rw-r--r--libjava/java/util/Collections$CheckedSet.h25
-rw-r--r--libjava/java/util/Collections$CheckedSortedMap.h30
-rw-r--r--libjava/java/util/Collections$CheckedSortedSet.h30
-rw-r--r--libjava/java/util/Collections$CopiesList.h35
-rw-r--r--libjava/java/util/Collections$EmptyList.h39
-rw-r--r--libjava/java/util/Collections$EmptyMap.h34
-rw-r--r--libjava/java/util/Collections$EmptySet.h37
-rw-r--r--libjava/java/util/Collections$ReverseComparator.h24
-rw-r--r--libjava/java/util/Collections$SingletonList.h36
-rw-r--r--libjava/java/util/Collections$SingletonMap.h35
-rw-r--r--libjava/java/util/Collections$SingletonSet.h34
-rw-r--r--libjava/java/util/Collections$SynchronizedCollection.h43
-rw-r--r--libjava/java/util/Collections$SynchronizedIterator.h28
-rw-r--r--libjava/java/util/Collections$SynchronizedList.h38
-rw-r--r--libjava/java/util/Collections$SynchronizedListIterator.h29
-rw-r--r--libjava/java/util/Collections$SynchronizedMap.h46
-rw-r--r--libjava/java/util/Collections$SynchronizedRandomAccessList.h25
-rw-r--r--libjava/java/util/Collections$SynchronizedSet.h26
-rw-r--r--libjava/java/util/Collections$SynchronizedSortedMap.h31
-rw-r--r--libjava/java/util/Collections$SynchronizedSortedSet.h31
-rw-r--r--libjava/java/util/Collections$UnmodifiableCollection.h41
-rw-r--r--libjava/java/util/Collections$UnmodifiableIterator.h26
-rw-r--r--libjava/java/util/Collections$UnmodifiableList.h37
-rw-r--r--libjava/java/util/Collections$UnmodifiableListIterator.h29
-rw-r--r--libjava/java/util/Collections$UnmodifiableMap$UnmodifiableEntrySet$UnmodifiableMapEntry.h30
-rw-r--r--libjava/java/util/Collections$UnmodifiableMap$UnmodifiableEntrySet.h29
-rw-r--r--libjava/java/util/Collections$UnmodifiableMap.h42
-rw-r--r--libjava/java/util/Collections$UnmodifiableRandomAccessList.h22
-rw-r--r--libjava/java/util/Collections$UnmodifiableSet.h25
-rw-r--r--libjava/java/util/Collections$UnmodifiableSortedMap.h30
-rw-r--r--libjava/java/util/Collections$UnmodifiableSortedSet.h30
-rw-r--r--libjava/java/util/Collections.h85
-rw-r--r--libjava/java/util/Comparator.h20
-rw-r--r--libjava/java/util/ConcurrentModificationException.h23
-rw-r--r--libjava/java/util/Currency.h37
-rw-r--r--libjava/java/util/Date.h69
-rw-r--r--libjava/java/util/Deque.h55
-rw-r--r--libjava/java/util/Dictionary.h26
-rw-r--r--libjava/java/util/DuplicateFormatFlagsException.h24
-rw-r--r--libjava/java/util/EmptyStackException.h22
-rw-r--r--libjava/java/util/EnumMap$1.h29
-rw-r--r--libjava/java/util/EnumMap$2.h29
-rw-r--r--libjava/java/util/EnumMap$3.h27
-rw-r--r--libjava/java/util/EnumMap$4.h28
-rw-r--r--libjava/java/util/EnumMap$5.h29
-rw-r--r--libjava/java/util/EnumMap$6.h30
-rw-r--r--libjava/java/util/EnumMap$7.h24
-rw-r--r--libjava/java/util/EnumMap.h47
-rw-r--r--libjava/java/util/EnumSet$1.h29
-rw-r--r--libjava/java/util/EnumSet.h54
-rw-r--r--libjava/java/util/Enumeration.h20
-rw-r--r--libjava/java/util/EventListener.h18
-rw-r--r--libjava/java/util/EventListenerProxy.h23
-rw-r--r--libjava/java/util/EventObject.h26
-rw-r--r--libjava/java/util/FormatFlagsConversionMismatchException.h26
-rw-r--r--libjava/java/util/Formattable.h19
-rw-r--r--libjava/java/util/FormattableFlags.h29
-rw-r--r--libjava/java/util/Formatter$BigDecimalLayoutForm.h28
-rw-r--r--libjava/java/util/Formatter.h90
-rw-r--r--libjava/java/util/FormatterClosedException.h22
-rw-r--r--libjava/java/util/GregorianCalendar.h72
-rw-r--r--libjava/java/util/HashMap$1.h28
-rw-r--r--libjava/java/util/HashMap$2.h26
-rw-r--r--libjava/java/util/HashMap$3.h28
-rw-r--r--libjava/java/util/HashMap$HashEntry.h23
-rw-r--r--libjava/java/util/HashMap$HashIterator.h33
-rw-r--r--libjava/java/util/HashMap.h61
-rw-r--r--libjava/java/util/HashSet.h38
-rw-r--r--libjava/java/util/Hashtable$1.h28
-rw-r--r--libjava/java/util/Hashtable$2.h26
-rw-r--r--libjava/java/util/Hashtable$3.h28
-rw-r--r--libjava/java/util/Hashtable$EntryEnumerator.h29
-rw-r--r--libjava/java/util/Hashtable$EntryIterator.h32
-rw-r--r--libjava/java/util/Hashtable$HashEntry.h24
-rw-r--r--libjava/java/util/Hashtable$KeyEnumerator.h27
-rw-r--r--libjava/java/util/Hashtable$KeyIterator.h28
-rw-r--r--libjava/java/util/Hashtable$ValueEnumerator.h27
-rw-r--r--libjava/java/util/Hashtable$ValueIterator.h28
-rw-r--r--libjava/java/util/Hashtable.h67
-rw-r--r--libjava/java/util/IdentityHashMap$1.h29
-rw-r--r--libjava/java/util/IdentityHashMap$2.h29
-rw-r--r--libjava/java/util/IdentityHashMap$3.h27
-rw-r--r--libjava/java/util/IdentityHashMap$IdentityEntry.h31
-rw-r--r--libjava/java/util/IdentityHashMap$IdentityIterator.h30
-rw-r--r--libjava/java/util/IdentityHashMap.h61
-rw-r--r--libjava/java/util/IllegalFormatCodePointException.h25
-rw-r--r--libjava/java/util/IllegalFormatConversionException.h27
-rw-r--r--libjava/java/util/IllegalFormatException.h23
-rw-r--r--libjava/java/util/IllegalFormatFlagsException.h24
-rw-r--r--libjava/java/util/IllegalFormatPrecisionException.h24
-rw-r--r--libjava/java/util/IllegalFormatWidthException.h24
-rw-r--r--libjava/java/util/InputMismatchException.h20
-rw-r--r--libjava/java/util/InvalidPropertiesFormatException.h25
-rw-r--r--libjava/java/util/Iterator.h21
-rw-r--r--libjava/java/util/LinkedHashMap$1.h31
-rw-r--r--libjava/java/util/LinkedHashMap$LinkedHashEntry.h25
-rw-r--r--libjava/java/util/LinkedHashMap.h38
-rw-r--r--libjava/java/util/LinkedHashSet.h27
-rw-r--r--libjava/java/util/LinkedList$Entry.h23
-rw-r--r--libjava/java/util/LinkedList$LinkedListItr.h40
-rw-r--r--libjava/java/util/LinkedList.h68
-rw-r--r--libjava/java/util/List.h45
-rw-r--r--libjava/java/util/ListIterator.h27
-rw-r--r--libjava/java/util/ListResourceBundle.h26
-rw-r--r--libjava/java/util/Locale.h82
-rw-r--r--libjava/java/util/Map$Entry.h23
-rw-r--r--libjava/java/util/Map.h32
-rw-r--r--libjava/java/util/MissingFormatArgumentException.h24
-rw-r--r--libjava/java/util/MissingFormatWidthException.h24
-rw-r--r--libjava/java/util/MissingResourceException.h26
-rw-r--r--libjava/java/util/NavigableMap.h54
-rw-r--r--libjava/java/util/NavigableSet.h50
-rw-r--r--libjava/java/util/NoSuchElementException.h23
-rw-r--r--libjava/java/util/Observable.h35
-rw-r--r--libjava/java/util/Observer.h19
-rw-r--r--libjava/java/util/PriorityQueue$1.h28
-rw-r--r--libjava/java/util/PriorityQueue.h48
-rw-r--r--libjava/java/util/Properties.h40
-rw-r--r--libjava/java/util/PropertyPermission.h52
-rw-r--r--libjava/java/util/PropertyPermissionCollection.h38
-rw-r--r--libjava/java/util/PropertyResourceBundle.h24
-rw-r--r--libjava/java/util/Queue.h38
-rw-r--r--libjava/java/util/Random.h40
-rw-r--r--libjava/java/util/RandomAccess.h18
-rw-r--r--libjava/java/util/ResourceBundle$1.h21
-rw-r--r--libjava/java/util/ResourceBundle$BundleKey.h31
-rw-r--r--libjava/java/util/ResourceBundle.h47
-rw-r--r--libjava/java/util/ResourceBundle.java580
-rw-r--r--libjava/java/util/Set.h35
-rw-r--r--libjava/java/util/SimpleTimeZone.h80
-rw-r--r--libjava/java/util/SortedMap.h36
-rw-r--r--libjava/java/util/SortedSet.h39
-rw-r--r--libjava/java/util/Stack.h27
-rw-r--r--libjava/java/util/StringTokenizer.h34
-rw-r--r--libjava/java/util/TimeZone$1.h21
-rw-r--r--libjava/java/util/TimeZone.h61
-rw-r--r--libjava/java/util/Timer$Scheduler.h23
-rw-r--r--libjava/java/util/Timer$TaskQueue.h39
-rw-r--r--libjava/java/util/Timer.h49
-rw-r--r--libjava/java/util/TimerTask.h29
-rw-r--r--libjava/java/util/TooManyListenersException.h23
-rw-r--r--libjava/java/util/TreeMap$1.h28
-rw-r--r--libjava/java/util/TreeMap$2.h28
-rw-r--r--libjava/java/util/TreeMap$3.h26
-rw-r--r--libjava/java/util/TreeMap$4.h28
-rw-r--r--libjava/java/util/TreeMap$5.h28
-rw-r--r--libjava/java/util/TreeMap$6.h26
-rw-r--r--libjava/java/util/TreeMap$Node.h24
-rw-r--r--libjava/java/util/TreeMap$SubMap.h46
-rw-r--r--libjava/java/util/TreeMap$TreeIterator.h33
-rw-r--r--libjava/java/util/TreeMap.h85
-rw-r--r--libjava/java/util/TreeSet.h46
-rw-r--r--libjava/java/util/UUID.h45
-rw-r--r--libjava/java/util/UnknownFormatConversionException.h24
-rw-r--r--libjava/java/util/UnknownFormatFlagsException.h24
-rw-r--r--libjava/java/util/VMTimeZone.h26
-rw-r--r--libjava/java/util/Vector$1.h27
-rw-r--r--libjava/java/util/Vector.h77
-rw-r--r--libjava/java/util/WeakHashMap$1.h22
-rw-r--r--libjava/java/util/WeakHashMap$2.h32
-rw-r--r--libjava/java/util/WeakHashMap$WeakBucket$WeakEntry.h30
-rw-r--r--libjava/java/util/WeakHashMap$WeakBucket.h25
-rw-r--r--libjava/java/util/WeakHashMap$WeakEntrySet.h26
-rw-r--r--libjava/java/util/WeakHashMap.h66
-rw-r--r--libjava/java/util/concurrent/AbstractExecutorService.h42
-rw-r--r--libjava/java/util/concurrent/ArrayBlockingQueue$Itr.h33
-rw-r--r--libjava/java/util/concurrent/ArrayBlockingQueue.h65
-rw-r--r--libjava/java/util/concurrent/BlockingDeque.h70
-rw-r--r--libjava/java/util/concurrent/BlockingQueue.h45
-rw-r--r--libjava/java/util/concurrent/BrokenBarrierException.h23
-rw-r--r--libjava/java/util/concurrent/Callable.h19
-rw-r--r--libjava/java/util/concurrent/CancellationException.h23
-rw-r--r--libjava/java/util/concurrent/CompletionService.h23
-rw-r--r--libjava/java/util/concurrent/ConcurrentHashMap$EntryIterator.h25
-rw-r--r--libjava/java/util/concurrent/ConcurrentHashMap$EntrySet.h28
-rw-r--r--libjava/java/util/concurrent/ConcurrentHashMap$HashEntry.h27
-rw-r--r--libjava/java/util/concurrent/ConcurrentHashMap$HashIterator.h39
-rw-r--r--libjava/java/util/concurrent/ConcurrentHashMap$KeyIterator.h25
-rw-r--r--libjava/java/util/concurrent/ConcurrentHashMap$KeySet.h28
-rw-r--r--libjava/java/util/concurrent/ConcurrentHashMap$Segment.h43
-rw-r--r--libjava/java/util/concurrent/ConcurrentHashMap$ValueIterator.h25
-rw-r--r--libjava/java/util/concurrent/ConcurrentHashMap$Values.h27
-rw-r--r--libjava/java/util/concurrent/ConcurrentHashMap$WriteThroughEntry.h24
-rw-r--r--libjava/java/util/concurrent/ConcurrentHashMap.h65
-rw-r--r--libjava/java/util/concurrent/ConcurrentLinkedQueue$Itr.h32
-rw-r--r--libjava/java/util/concurrent/ConcurrentLinkedQueue$Node.h32
-rw-r--r--libjava/java/util/concurrent/ConcurrentLinkedQueue.h43
-rw-r--r--libjava/java/util/concurrent/ConcurrentMap.h34
-rw-r--r--libjava/java/util/concurrent/ConcurrentNavigableMap.h66
-rw-r--r--libjava/java/util/concurrent/ConcurrentSkipListMap$ComparableUsingComparator.h25
-rw-r--r--libjava/java/util/concurrent/ConcurrentSkipListMap$EntryIterator.h25
-rw-r--r--libjava/java/util/concurrent/ConcurrentSkipListMap$EntrySet.h34
-rw-r--r--libjava/java/util/concurrent/ConcurrentSkipListMap$HeadIndex.h21
-rw-r--r--libjava/java/util/concurrent/ConcurrentSkipListMap$Index.h28
-rw-r--r--libjava/java/util/concurrent/ConcurrentSkipListMap$Iter.h32
-rw-r--r--libjava/java/util/concurrent/ConcurrentSkipListMap$KeyIterator.h24
-rw-r--r--libjava/java/util/concurrent/ConcurrentSkipListMap$KeySet.h54
-rw-r--r--libjava/java/util/concurrent/ConcurrentSkipListMap$Node.h34
-rw-r--r--libjava/java/util/concurrent/ConcurrentSkipListMap$SubMap$SubMapEntryIterator.h25
-rw-r--r--libjava/java/util/concurrent/ConcurrentSkipListMap$SubMap$SubMapIter.h35
-rw-r--r--libjava/java/util/concurrent/ConcurrentSkipListMap$SubMap$SubMapKeyIterator.h24
-rw-r--r--libjava/java/util/concurrent/ConcurrentSkipListMap$SubMap$SubMapValueIterator.h24
-rw-r--r--libjava/java/util/concurrent/ConcurrentSkipListMap$SubMap.h118
-rw-r--r--libjava/java/util/concurrent/ConcurrentSkipListMap$ValueIterator.h24
-rw-r--r--libjava/java/util/concurrent/ConcurrentSkipListMap$Values.h32
-rw-r--r--libjava/java/util/concurrent/ConcurrentSkipListMap.h136
-rw-r--r--libjava/java/util/concurrent/ConcurrentSkipListSet.h75
-rw-r--r--libjava/java/util/concurrent/CopyOnWriteArrayList.h52
-rw-r--r--libjava/java/util/concurrent/CopyOnWriteArraySet.h41
-rw-r--r--libjava/java/util/concurrent/CountDownLatch$Sync.h26
-rw-r--r--libjava/java/util/concurrent/CountDownLatch.h27
-rw-r--r--libjava/java/util/concurrent/CyclicBarrier$Generation.h22
-rw-r--r--libjava/java/util/concurrent/CyclicBarrier.h37
-rw-r--r--libjava/java/util/concurrent/DelayQueue$Itr.h32
-rw-r--r--libjava/java/util/concurrent/DelayQueue.h57
-rw-r--r--libjava/java/util/concurrent/Delayed.h20
-rw-r--r--libjava/java/util/concurrent/Exchanger$Node.h21
-rw-r--r--libjava/java/util/concurrent/Exchanger$Slot.h36
-rw-r--r--libjava/java/util/concurrent/Exchanger.h42
-rw-r--r--libjava/java/util/concurrent/ExecutionException.h26
-rw-r--r--libjava/java/util/concurrent/Executor.h19
-rw-r--r--libjava/java/util/concurrent/ExecutorCompletionService$QueueingFuture.h26
-rw-r--r--libjava/java/util/concurrent/ExecutorCompletionService.h34
-rw-r--r--libjava/java/util/concurrent/ExecutorService.h31
-rw-r--r--libjava/java/util/concurrent/Executors$1.h24
-rw-r--r--libjava/java/util/concurrent/Executors$2.h24
-rw-r--r--libjava/java/util/concurrent/Executors$3.h27
-rw-r--r--libjava/java/util/concurrent/Executors$4.h26
-rw-r--r--libjava/java/util/concurrent/Executors$5.h34
-rw-r--r--libjava/java/util/concurrent/Executors$6.h34
-rw-r--r--libjava/java/util/concurrent/Executors$DefaultThreadFactory.h27
-rw-r--r--libjava/java/util/concurrent/Executors$DelegatedExecutorService.h36
-rw-r--r--libjava/java/util/concurrent/Executors$DelegatedScheduledExecutorService.h27
-rw-r--r--libjava/java/util/concurrent/Executors$FinalizableDelegatedExecutorService.h22
-rw-r--r--libjava/java/util/concurrent/Executors$PrivilegedCallable.h41
-rw-r--r--libjava/java/util/concurrent/Executors$PrivilegedCallableUsingCurrentClassLoader.h43
-rw-r--r--libjava/java/util/concurrent/Executors$PrivilegedThreadFactory.h38
-rw-r--r--libjava/java/util/concurrent/Executors$RunnableAdapter.h25
-rw-r--r--libjava/java/util/concurrent/Executors.h52
-rw-r--r--libjava/java/util/concurrent/Future.h23
-rw-r--r--libjava/java/util/concurrent/FutureTask$Sync.h46
-rw-r--r--libjava/java/util/concurrent/FutureTask.h36
-rw-r--r--libjava/java/util/concurrent/LinkedBlockingDeque$AbstractItr.h32
-rw-r--r--libjava/java/util/concurrent/LinkedBlockingDeque$DescendingItr.h23
-rw-r--r--libjava/java/util/concurrent/LinkedBlockingDeque$Itr.h23
-rw-r--r--libjava/java/util/concurrent/LinkedBlockingDeque$Node.h23
-rw-r--r--libjava/java/util/concurrent/LinkedBlockingDeque.h96
-rw-r--r--libjava/java/util/concurrent/LinkedBlockingQueue$Itr.h30
-rw-r--r--libjava/java/util/concurrent/LinkedBlockingQueue$Node.h22
-rw-r--r--libjava/java/util/concurrent/LinkedBlockingQueue.h71
-rw-r--r--libjava/java/util/concurrent/PriorityBlockingQueue$Itr.h31
-rw-r--r--libjava/java/util/concurrent/PriorityBlockingQueue.h57
-rw-r--r--libjava/java/util/concurrent/RejectedExecutionException.h25
-rw-r--r--libjava/java/util/concurrent/RejectedExecutionHandler.h19
-rw-r--r--libjava/java/util/concurrent/RunnableFuture.h24
-rw-r--r--libjava/java/util/concurrent/RunnableScheduledFuture.h27
-rw-r--r--libjava/java/util/concurrent/ScheduledExecutorService.h35
-rw-r--r--libjava/java/util/concurrent/ScheduledFuture.h25
-rw-r--r--libjava/java/util/concurrent/ScheduledThreadPoolExecutor$1.h29
-rw-r--r--libjava/java/util/concurrent/ScheduledThreadPoolExecutor$DelayedWorkQueue.h58
-rw-r--r--libjava/java/util/concurrent/ScheduledThreadPoolExecutor$ScheduledFutureTask.h40
-rw-r--r--libjava/java/util/concurrent/ScheduledThreadPoolExecutor.h56
-rw-r--r--libjava/java/util/concurrent/Semaphore$FairSync.h24
-rw-r--r--libjava/java/util/concurrent/Semaphore$NonfairSync.h24
-rw-r--r--libjava/java/util/concurrent/Semaphore$Sync.h29
-rw-r--r--libjava/java/util/concurrent/Semaphore.h46
-rw-r--r--libjava/java/util/concurrent/SynchronousQueue$EmptyIterator.h23
-rw-r--r--libjava/java/util/concurrent/SynchronousQueue$FifoWaitQueue.h22
-rw-r--r--libjava/java/util/concurrent/SynchronousQueue$LifoWaitQueue.h22
-rw-r--r--libjava/java/util/concurrent/SynchronousQueue$TransferQueue$QNode.h31
-rw-r--r--libjava/java/util/concurrent/SynchronousQueue$TransferQueue.h32
-rw-r--r--libjava/java/util/concurrent/SynchronousQueue$TransferStack$SNode.h31
-rw-r--r--libjava/java/util/concurrent/SynchronousQueue$TransferStack.h32
-rw-r--r--libjava/java/util/concurrent/SynchronousQueue$Transferer.h21
-rw-r--r--libjava/java/util/concurrent/SynchronousQueue$WaitQueue.h20
-rw-r--r--libjava/java/util/concurrent/SynchronousQueue.h58
-rw-r--r--libjava/java/util/concurrent/ThreadFactory.h19
-rw-r--r--libjava/java/util/concurrent/ThreadPoolExecutor$AbortPolicy.h20
-rw-r--r--libjava/java/util/concurrent/ThreadPoolExecutor$CallerRunsPolicy.h20
-rw-r--r--libjava/java/util/concurrent/ThreadPoolExecutor$DiscardOldestPolicy.h20
-rw-r--r--libjava/java/util/concurrent/ThreadPoolExecutor$DiscardPolicy.h20
-rw-r--r--libjava/java/util/concurrent/ThreadPoolExecutor$Worker.h34
-rw-r--r--libjava/java/util/concurrent/ThreadPoolExecutor.h97
-rw-r--r--libjava/java/util/concurrent/TimeUnit$1.h31
-rw-r--r--libjava/java/util/concurrent/TimeUnit$2.h31
-rw-r--r--libjava/java/util/concurrent/TimeUnit$3.h31
-rw-r--r--libjava/java/util/concurrent/TimeUnit$4.h31
-rw-r--r--libjava/java/util/concurrent/TimeUnit$5.h31
-rw-r--r--libjava/java/util/concurrent/TimeUnit$6.h31
-rw-r--r--libjava/java/util/concurrent/TimeUnit$7.h31
-rw-r--r--libjava/java/util/concurrent/TimeUnit.h61
-rw-r--r--libjava/java/util/concurrent/TimeoutException.h23
-rw-r--r--libjava/java/util/concurrent/atomic/AtomicBoolean.h43
-rw-r--r--libjava/java/util/concurrent/atomic/AtomicInteger.h53
-rw-r--r--libjava/java/util/concurrent/atomic/AtomicIntegerArray.h54
-rw-r--r--libjava/java/util/concurrent/atomic/AtomicIntegerFieldUpdater$AtomicIntegerFieldUpdaterImpl.h44
-rw-r--r--libjava/java/util/concurrent/atomic/AtomicIntegerFieldUpdater.h34
-rw-r--r--libjava/java/util/concurrent/atomic/AtomicLong.h57
-rw-r--r--libjava/java/util/concurrent/atomic/AtomicLongArray.h54
-rw-r--r--libjava/java/util/concurrent/atomic/AtomicLongFieldUpdater$CASUpdater.h44
-rw-r--r--libjava/java/util/concurrent/atomic/AtomicLongFieldUpdater$LockedUpdater.h44
-rw-r--r--libjava/java/util/concurrent/atomic/AtomicLongFieldUpdater.h34
-rw-r--r--libjava/java/util/concurrent/atomic/AtomicMarkableReference$ReferenceBooleanPair.h25
-rw-r--r--libjava/java/util/concurrent/atomic/AtomicMarkableReference.h31
-rw-r--r--libjava/java/util/concurrent/atomic/AtomicReference.h43
-rw-r--r--libjava/java/util/concurrent/atomic/AtomicReferenceArray.h48
-rw-r--r--libjava/java/util/concurrent/atomic/AtomicReferenceFieldUpdater$AtomicReferenceFieldUpdaterImpl.h45
-rw-r--r--libjava/java/util/concurrent/atomic/AtomicReferenceFieldUpdater.h28
-rw-r--r--libjava/java/util/concurrent/atomic/AtomicStampedReference$ReferenceIntegerPair.h25
-rw-r--r--libjava/java/util/concurrent/atomic/AtomicStampedReference.h31
-rw-r--r--libjava/java/util/concurrent/atomic/natAtomicLong.cc12
-rw-r--r--libjava/java/util/concurrent/locks/AbstractOwnableSynchronizer.h25
-rw-r--r--libjava/java/util/concurrent/locks/AbstractQueuedLongSynchronizer$ConditionObject.h52
-rw-r--r--libjava/java/util/concurrent/locks/AbstractQueuedLongSynchronizer$Node.h34
-rw-r--r--libjava/java/util/concurrent/locks/AbstractQueuedLongSynchronizer.h115
-rw-r--r--libjava/java/util/concurrent/locks/AbstractQueuedSynchronizer$ConditionObject.h52
-rw-r--r--libjava/java/util/concurrent/locks/AbstractQueuedSynchronizer$Node.h34
-rw-r--r--libjava/java/util/concurrent/locks/AbstractQueuedSynchronizer.h115
-rw-r--r--libjava/java/util/concurrent/locks/Condition.h25
-rw-r--r--libjava/java/util/concurrent/locks/Lock.h24
-rw-r--r--libjava/java/util/concurrent/locks/LockSupport.h42
-rw-r--r--libjava/java/util/concurrent/locks/ReadWriteLock.h20
-rw-r--r--libjava/java/util/concurrent/locks/ReentrantLock$FairSync.h25
-rw-r--r--libjava/java/util/concurrent/locks/ReentrantLock$NonfairSync.h25
-rw-r--r--libjava/java/util/concurrent/locks/ReentrantLock$Sync.h33
-rw-r--r--libjava/java/util/concurrent/locks/ReentrantLock.h49
-rw-r--r--libjava/java/util/concurrent/locks/ReentrantReadWriteLock$FairSync.h24
-rw-r--r--libjava/java/util/concurrent/locks/ReentrantReadWriteLock$NonfairSync.h24
-rw-r--r--libjava/java/util/concurrent/locks/ReentrantReadWriteLock$ReadLock.h31
-rw-r--r--libjava/java/util/concurrent/locks/ReentrantReadWriteLock$Sync$HoldCounter.h23
-rw-r--r--libjava/java/util/concurrent/locks/ReentrantReadWriteLock$Sync$ThreadLocalHoldCounter.h22
-rw-r--r--libjava/java/util/concurrent/locks/ReentrantReadWriteLock$Sync.h55
-rw-r--r--libjava/java/util/concurrent/locks/ReentrantReadWriteLock$WriteLock.h33
-rw-r--r--libjava/java/util/concurrent/locks/ReentrantReadWriteLock.h57
-rw-r--r--libjava/java/util/jar/Attributes$Name.h43
-rw-r--r--libjava/java/util/jar/Attributes.h45
-rw-r--r--libjava/java/util/jar/JarEntry.h42
-rw-r--r--libjava/java/util/jar/JarException.h23
-rw-r--r--libjava/java/util/jar/JarFile$EntryInputStream.h49
-rw-r--r--libjava/java/util/jar/JarFile$JarEnumeration.h27
-rw-r--r--libjava/java/util/jar/JarFile.h103
-rw-r--r--libjava/java/util/jar/JarInputStream.h35
-rw-r--r--libjava/java/util/jar/JarOutputStream.h24
-rw-r--r--libjava/java/util/jar/Manifest.h34
-rw-r--r--libjava/java/util/logging/ConsoleHandler.h21
-rw-r--r--libjava/java/util/logging/ErrorManager.h29
-rw-r--r--libjava/java/util/logging/FileHandler$ostr.h28
-rw-r--r--libjava/java/util/logging/FileHandler.h49
-rw-r--r--libjava/java/util/logging/Filter.h19
-rw-r--r--libjava/java/util/logging/Formatter.h24
-rw-r--r--libjava/java/util/logging/Handler.h44
-rw-r--r--libjava/java/util/logging/Level.h53
-rw-r--r--libjava/java/util/logging/LogManager$1.h24
-rw-r--r--libjava/java/util/logging/LogManager.h77
-rw-r--r--libjava/java/util/logging/LogRecord.h70
-rw-r--r--libjava/java/util/logging/Logger$1.h21
-rw-r--r--libjava/java/util/logging/Logger.h90
-rw-r--r--libjava/java/util/logging/LoggingMXBean.h22
-rw-r--r--libjava/java/util/logging/LoggingPermission.h22
-rw-r--r--libjava/java/util/logging/MemoryHandler.h35
-rw-r--r--libjava/java/util/logging/SimpleFormatter.h35
-rw-r--r--libjava/java/util/logging/SocketHandler.h25
-rw-r--r--libjava/java/util/logging/StreamHandler.h43
-rw-r--r--libjava/java/util/logging/XMLFormatter.h40
-rw-r--r--libjava/java/util/natResourceBundle.cc29
-rw-r--r--libjava/java/util/prefs/AbstractPreferences$1.h27
-rw-r--r--libjava/java/util/prefs/AbstractPreferences$2.h28
-rw-r--r--libjava/java/util/prefs/AbstractPreferences.h106
-rw-r--r--libjava/java/util/prefs/BackingStoreException.h26
-rw-r--r--libjava/java/util/prefs/InvalidPreferencesFormatException.h27
-rw-r--r--libjava/java/util/prefs/NodeChangeEvent.h27
-rw-r--r--libjava/java/util/prefs/NodeChangeListener.h20
-rw-r--r--libjava/java/util/prefs/PreferenceChangeEvent.h29
-rw-r--r--libjava/java/util/prefs/PreferenceChangeListener.h19
-rw-r--r--libjava/java/util/prefs/Preferences$1.h21
-rw-r--r--libjava/java/util/prefs/Preferences.h85
-rw-r--r--libjava/java/util/prefs/PreferencesFactory.h20
-rw-r--r--libjava/java/util/regex/MatchResult.h25
-rw-r--r--libjava/java/util/regex/Matcher.h66
-rw-r--r--libjava/java/util/regex/Pattern.h62
-rw-r--r--libjava/java/util/regex/PatternSyntaxException.h29
-rw-r--r--libjava/java/util/zip/Adler32.h30
-rw-r--r--libjava/java/util/zip/CRC32.h33
-rw-r--r--libjava/java/util/zip/CheckedInputStream.h28
-rw-r--r--libjava/java/util/zip/CheckedOutputStream.h27
-rw-r--r--libjava/java/util/zip/Checksum.h24
-rw-r--r--libjava/java/util/zip/DataFormatException.h23
-rw-r--r--libjava/java/util/zip/Deflater.h76
-rw-r--r--libjava/java/util/zip/Deflater.java24
-rw-r--r--libjava/java/util/zip/DeflaterOutputStream.h34
-rw-r--r--libjava/java/util/zip/GZIPInputStream.h41
-rw-r--r--libjava/java/util/zip/GZIPOutputStream.h28
-rw-r--r--libjava/java/util/zip/Inflater.h58
-rw-r--r--libjava/java/util/zip/InflaterInputStream.h41
-rw-r--r--libjava/java/util/zip/ZipConstants.h58
-rw-r--r--libjava/java/util/zip/ZipEntry.h74
-rw-r--r--libjava/java/util/zip/ZipException.h23
-rw-r--r--libjava/java/util/zip/ZipFile$1.h26
-rw-r--r--libjava/java/util/zip/ZipFile$PartialInputStream.h66
-rw-r--r--libjava/java/util/zip/ZipFile$ZipEntryEnumeration.h25
-rw-r--r--libjava/java/util/zip/ZipFile.h49
-rw-r--r--libjava/java/util/zip/ZipInputStream.h50
-rw-r--r--libjava/java/util/zip/ZipOutputStream.h47
-rw-r--r--libjava/java/util/zip/natDeflater.cc10
1723 files changed, 84669 insertions, 5248 deletions
diff --git a/libjava/java/applet/Applet$AccessibleApplet.h b/libjava/java/applet/Applet$AccessibleApplet.h
new file mode 100644
index 0000000..6819ecb
--- /dev/null
+++ b/libjava/java/applet/Applet$AccessibleApplet.h
@@ -0,0 +1,46 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_applet_Applet$AccessibleApplet__
+#define __java_applet_Applet$AccessibleApplet__
+
+#pragma interface
+
+#include <java/awt/Panel$AccessibleAWTPanel.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace applet
+ {
+ class Applet;
+ class Applet$AccessibleApplet;
+ }
+ }
+ namespace javax
+ {
+ namespace accessibility
+ {
+ class AccessibleRole;
+ class AccessibleStateSet;
+ }
+ }
+}
+
+class java::applet::Applet$AccessibleApplet : public ::java::awt::Panel$AccessibleAWTPanel
+{
+
+public: // actually protected
+ Applet$AccessibleApplet(::java::applet::Applet *);
+public:
+ virtual ::javax::accessibility::AccessibleRole * getAccessibleRole();
+ virtual ::javax::accessibility::AccessibleStateSet * getAccessibleStateSet();
+private:
+ static const jlong serialVersionUID = 8127374778187708896LL;
+public: // actually package-private
+ ::java::applet::Applet * __attribute__((aligned(__alignof__( ::java::awt::Panel$AccessibleAWTPanel)))) this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_applet_Applet$AccessibleApplet__
diff --git a/libjava/java/applet/Applet$URLAudioClip.h b/libjava/java/applet/Applet$URLAudioClip.h
new file mode 100644
index 0000000..67449e4
--- /dev/null
+++ b/libjava/java/applet/Applet$URLAudioClip.h
@@ -0,0 +1,53 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_applet_Applet$URLAudioClip__
+#define __java_applet_Applet$URLAudioClip__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace applet
+ {
+ class Applet$URLAudioClip;
+ }
+ namespace net
+ {
+ class URL;
+ }
+ }
+ namespace javax
+ {
+ namespace sound
+ {
+ namespace sampled
+ {
+ class Clip;
+ }
+ }
+ }
+}
+
+class java::applet::Applet$URLAudioClip : public ::java::lang::Object
+{
+
+public:
+ Applet$URLAudioClip(::java::net::URL *);
+private:
+ ::javax::sound::sampled::Clip * getClip();
+public:
+ virtual void loop();
+ virtual void play();
+ virtual void stop();
+private:
+ ::java::net::URL * __attribute__((aligned(__alignof__( ::java::lang::Object)))) url;
+ ::javax::sound::sampled::Clip * clip;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_applet_Applet$URLAudioClip__
diff --git a/libjava/java/applet/Applet.h b/libjava/java/applet/Applet.h
new file mode 100644
index 0000000..8d84173
--- /dev/null
+++ b/libjava/java/applet/Applet.h
@@ -0,0 +1,82 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_applet_Applet__
+#define __java_applet_Applet__
+
+#pragma interface
+
+#include <java/awt/Panel.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace applet
+ {
+ class Applet;
+ class AppletContext;
+ class AppletStub;
+ class AudioClip;
+ }
+ namespace awt
+ {
+ class Dimension;
+ class Image;
+ }
+ namespace net
+ {
+ class URL;
+ }
+ }
+ namespace javax
+ {
+ namespace accessibility
+ {
+ class AccessibleContext;
+ }
+ }
+}
+
+class java::applet::Applet : public ::java::awt::Panel
+{
+
+public:
+ Applet();
+ virtual void setStub(::java::applet::AppletStub *);
+ virtual jboolean isActive();
+ virtual ::java::net::URL * getDocumentBase();
+ virtual ::java::net::URL * getCodeBase();
+ virtual ::java::lang::String * getParameter(::java::lang::String *);
+ virtual ::java::applet::AppletContext * getAppletContext();
+ virtual void resize(jint, jint);
+ virtual void resize(::java::awt::Dimension *);
+ virtual void showStatus(::java::lang::String *);
+ virtual ::java::awt::Image * getImage(::java::net::URL *);
+ virtual ::java::awt::Image * getImage(::java::net::URL *, ::java::lang::String *);
+ static ::java::applet::AudioClip * newAudioClip(::java::net::URL *);
+ virtual ::java::applet::AudioClip * getAudioClip(::java::net::URL *);
+ virtual ::java::applet::AudioClip * getAudioClip(::java::net::URL *, ::java::lang::String *);
+ virtual ::java::lang::String * getAppletInfo();
+ virtual ::java::util::Locale * getLocale();
+ virtual JArray< JArray< ::java::lang::String * > * > * getParameterInfo();
+ virtual void play(::java::net::URL *);
+ virtual void play(::java::net::URL *, ::java::lang::String *);
+ virtual void init();
+ virtual void start();
+ virtual void stop();
+ virtual void destroy();
+ virtual ::javax::accessibility::AccessibleContext * getAccessibleContext();
+private:
+ void readObject(::java::io::ObjectInputStream *);
+ static const jlong serialVersionUID = -5836846270535785031LL;
+ ::java::applet::AppletStub * __attribute__((aligned(__alignof__( ::java::awt::Panel)))) stub;
+ jint width;
+ jint height;
+ ::javax::accessibility::AccessibleContext * accessibleContext;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_applet_Applet__
diff --git a/libjava/java/applet/AppletContext.h b/libjava/java/applet/AppletContext.h
new file mode 100644
index 0000000..a69369f
--- /dev/null
+++ b/libjava/java/applet/AppletContext.h
@@ -0,0 +1,48 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_applet_AppletContext__
+#define __java_applet_AppletContext__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace applet
+ {
+ class Applet;
+ class AppletContext;
+ class AudioClip;
+ }
+ namespace awt
+ {
+ class Image;
+ }
+ namespace net
+ {
+ class URL;
+ }
+ }
+}
+
+class java::applet::AppletContext : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::applet::AudioClip * getAudioClip(::java::net::URL *) = 0;
+ virtual ::java::awt::Image * getImage(::java::net::URL *) = 0;
+ virtual ::java::applet::Applet * getApplet(::java::lang::String *) = 0;
+ virtual ::java::util::Enumeration * getApplets() = 0;
+ virtual void showDocument(::java::net::URL *) = 0;
+ virtual void showDocument(::java::net::URL *, ::java::lang::String *) = 0;
+ virtual void showStatus(::java::lang::String *) = 0;
+ virtual void setStream(::java::lang::String *, ::java::io::InputStream *) = 0;
+ virtual ::java::io::InputStream * getStream(::java::lang::String *) = 0;
+ virtual ::java::util::Iterator * getStreamKeys() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_applet_AppletContext__
diff --git a/libjava/java/applet/AppletStub.h b/libjava/java/applet/AppletStub.h
new file mode 100644
index 0000000..0857465
--- /dev/null
+++ b/libjava/java/applet/AppletStub.h
@@ -0,0 +1,39 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_applet_AppletStub__
+#define __java_applet_AppletStub__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace applet
+ {
+ class AppletContext;
+ class AppletStub;
+ }
+ namespace net
+ {
+ class URL;
+ }
+ }
+}
+
+class java::applet::AppletStub : public ::java::lang::Object
+{
+
+public:
+ virtual jboolean isActive() = 0;
+ virtual ::java::net::URL * getDocumentBase() = 0;
+ virtual ::java::net::URL * getCodeBase() = 0;
+ virtual ::java::lang::String * getParameter(::java::lang::String *) = 0;
+ virtual ::java::applet::AppletContext * getAppletContext() = 0;
+ virtual void appletResize(jint, jint) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_applet_AppletStub__
diff --git a/libjava/java/applet/AudioClip.h b/libjava/java/applet/AudioClip.h
new file mode 100644
index 0000000..2ee517d
--- /dev/null
+++ b/libjava/java/applet/AudioClip.h
@@ -0,0 +1,31 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_applet_AudioClip__
+#define __java_applet_AudioClip__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace applet
+ {
+ class AudioClip;
+ }
+ }
+}
+
+class java::applet::AudioClip : public ::java::lang::Object
+{
+
+public:
+ virtual void play() = 0;
+ virtual void stop() = 0;
+ virtual void loop() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_applet_AudioClip__
diff --git a/libjava/java/awt/AWTError.h b/libjava/java/awt/AWTError.h
new file mode 100644
index 0000000..bcfbd63
--- /dev/null
+++ b/libjava/java/awt/AWTError.h
@@ -0,0 +1,32 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_AWTError__
+#define __java_awt_AWTError__
+
+#pragma interface
+
+#include <java/lang/Error.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class AWTError;
+ }
+ }
+}
+
+class java::awt::AWTError : public ::java::lang::Error
+{
+
+public:
+ AWTError(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = -1819846354050686206LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_AWTError__
diff --git a/libjava/java/awt/AWTEvent.h b/libjava/java/awt/AWTEvent.h
new file mode 100644
index 0000000..94d090a
--- /dev/null
+++ b/libjava/java/awt/AWTEvent.h
@@ -0,0 +1,75 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_AWTEvent__
+#define __java_awt_AWTEvent__
+
+#pragma interface
+
+#include <java/util/EventObject.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class AWTEvent;
+ class Event;
+ }
+ }
+}
+
+class java::awt::AWTEvent : public ::java::util::EventObject
+{
+
+public:
+ AWTEvent(::java::awt::Event *);
+ AWTEvent(::java::lang::Object *, jint);
+ virtual void setSource(::java::lang::Object *);
+ virtual jint getID();
+ virtual ::java::lang::String * toString();
+ virtual ::java::lang::String * paramString();
+public: // actually protected
+ virtual void consume();
+ virtual jboolean isConsumed();
+public: // actually package-private
+ static jlong eventIdToMask(jint);
+private:
+ static const jlong serialVersionUID = -1825314779160409405LL;
+public: // actually protected
+ jint __attribute__((aligned(__alignof__( ::java::util::EventObject)))) id;
+ jboolean consumed;
+public: // actually package-private
+ ::java::awt::AWTEvent * queueNext;
+ JArray< jbyte > * bdata;
+ jboolean isFocusManagerEvent;
+public:
+ static const jlong COMPONENT_EVENT_MASK = 1LL;
+ static const jlong CONTAINER_EVENT_MASK = 2LL;
+ static const jlong FOCUS_EVENT_MASK = 4LL;
+ static const jlong KEY_EVENT_MASK = 8LL;
+ static const jlong MOUSE_EVENT_MASK = 16LL;
+ static const jlong MOUSE_MOTION_EVENT_MASK = 32LL;
+ static const jlong WINDOW_EVENT_MASK = 64LL;
+ static const jlong ACTION_EVENT_MASK = 128LL;
+ static const jlong ADJUSTMENT_EVENT_MASK = 256LL;
+ static const jlong ITEM_EVENT_MASK = 512LL;
+ static const jlong TEXT_EVENT_MASK = 1024LL;
+ static const jlong INPUT_METHOD_EVENT_MASK = 2048LL;
+public: // actually package-private
+ static const jlong INPUT_ENABLED_EVENT_MASK = 4096LL;
+public:
+ static const jlong PAINT_EVENT_MASK = 8192LL;
+ static const jlong INVOCATION_EVENT_MASK = 16384LL;
+ static const jlong HIERARCHY_EVENT_MASK = 32768LL;
+ static const jlong HIERARCHY_BOUNDS_EVENT_MASK = 65536LL;
+ static const jlong MOUSE_WHEEL_EVENT_MASK = 131072LL;
+ static const jlong WINDOW_STATE_EVENT_MASK = 262144LL;
+ static const jlong WINDOW_FOCUS_EVENT_MASK = 524288LL;
+ static const jint RESERVED_ID_MAX = 1999;
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_AWTEvent__
diff --git a/libjava/java/awt/AWTEventMulticaster.h b/libjava/java/awt/AWTEventMulticaster.h
new file mode 100644
index 0000000..cb5d024
--- /dev/null
+++ b/libjava/java/awt/AWTEventMulticaster.h
@@ -0,0 +1,151 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_AWTEventMulticaster__
+#define __java_awt_AWTEventMulticaster__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class AWTEventMulticaster;
+ namespace event
+ {
+ class ActionEvent;
+ class ActionListener;
+ class AdjustmentEvent;
+ class AdjustmentListener;
+ class ComponentEvent;
+ class ComponentListener;
+ class ContainerEvent;
+ class ContainerListener;
+ class FocusEvent;
+ class FocusListener;
+ class HierarchyBoundsListener;
+ class HierarchyEvent;
+ class HierarchyListener;
+ class InputMethodEvent;
+ class InputMethodListener;
+ class ItemEvent;
+ class ItemListener;
+ class KeyEvent;
+ class KeyListener;
+ class MouseEvent;
+ class MouseListener;
+ class MouseMotionListener;
+ class MouseWheelEvent;
+ class MouseWheelListener;
+ class TextEvent;
+ class TextListener;
+ class WindowEvent;
+ class WindowFocusListener;
+ class WindowListener;
+ class WindowStateListener;
+ }
+ }
+ }
+}
+
+class java::awt::AWTEventMulticaster : public ::java::lang::Object
+{
+
+public: // actually protected
+ AWTEventMulticaster(::java::util::EventListener *, ::java::util::EventListener *);
+ virtual ::java::util::EventListener * remove(::java::util::EventListener *);
+public:
+ virtual void componentResized(::java::awt::event::ComponentEvent *);
+ virtual void componentMoved(::java::awt::event::ComponentEvent *);
+ virtual void componentShown(::java::awt::event::ComponentEvent *);
+ virtual void componentHidden(::java::awt::event::ComponentEvent *);
+ virtual void componentAdded(::java::awt::event::ContainerEvent *);
+ virtual void componentRemoved(::java::awt::event::ContainerEvent *);
+ virtual void focusGained(::java::awt::event::FocusEvent *);
+ virtual void focusLost(::java::awt::event::FocusEvent *);
+ virtual void keyTyped(::java::awt::event::KeyEvent *);
+ virtual void keyPressed(::java::awt::event::KeyEvent *);
+ virtual void keyReleased(::java::awt::event::KeyEvent *);
+ virtual void mouseClicked(::java::awt::event::MouseEvent *);
+ virtual void mousePressed(::java::awt::event::MouseEvent *);
+ virtual void mouseReleased(::java::awt::event::MouseEvent *);
+ virtual void mouseEntered(::java::awt::event::MouseEvent *);
+ virtual void mouseExited(::java::awt::event::MouseEvent *);
+ virtual void mouseDragged(::java::awt::event::MouseEvent *);
+ virtual void mouseMoved(::java::awt::event::MouseEvent *);
+ virtual void windowOpened(::java::awt::event::WindowEvent *);
+ virtual void windowClosing(::java::awt::event::WindowEvent *);
+ virtual void windowClosed(::java::awt::event::WindowEvent *);
+ virtual void windowIconified(::java::awt::event::WindowEvent *);
+ virtual void windowDeiconified(::java::awt::event::WindowEvent *);
+ virtual void windowActivated(::java::awt::event::WindowEvent *);
+ virtual void windowDeactivated(::java::awt::event::WindowEvent *);
+ virtual void windowStateChanged(::java::awt::event::WindowEvent *);
+ virtual void windowGainedFocus(::java::awt::event::WindowEvent *);
+ virtual void windowLostFocus(::java::awt::event::WindowEvent *);
+ virtual void actionPerformed(::java::awt::event::ActionEvent *);
+ virtual void itemStateChanged(::java::awt::event::ItemEvent *);
+ virtual void adjustmentValueChanged(::java::awt::event::AdjustmentEvent *);
+ virtual void textValueChanged(::java::awt::event::TextEvent *);
+ virtual void inputMethodTextChanged(::java::awt::event::InputMethodEvent *);
+ virtual void caretPositionChanged(::java::awt::event::InputMethodEvent *);
+ virtual void hierarchyChanged(::java::awt::event::HierarchyEvent *);
+ virtual void ancestorMoved(::java::awt::event::HierarchyEvent *);
+ virtual void ancestorResized(::java::awt::event::HierarchyEvent *);
+ virtual void mouseWheelMoved(::java::awt::event::MouseWheelEvent *);
+ static ::java::awt::event::ComponentListener * add(::java::awt::event::ComponentListener *, ::java::awt::event::ComponentListener *);
+ static ::java::awt::event::ContainerListener * add(::java::awt::event::ContainerListener *, ::java::awt::event::ContainerListener *);
+ static ::java::awt::event::FocusListener * add(::java::awt::event::FocusListener *, ::java::awt::event::FocusListener *);
+ static ::java::awt::event::KeyListener * add(::java::awt::event::KeyListener *, ::java::awt::event::KeyListener *);
+ static ::java::awt::event::MouseListener * add(::java::awt::event::MouseListener *, ::java::awt::event::MouseListener *);
+ static ::java::awt::event::MouseMotionListener * add(::java::awt::event::MouseMotionListener *, ::java::awt::event::MouseMotionListener *);
+ static ::java::awt::event::WindowListener * add(::java::awt::event::WindowListener *, ::java::awt::event::WindowListener *);
+ static ::java::awt::event::WindowStateListener * add(::java::awt::event::WindowStateListener *, ::java::awt::event::WindowStateListener *);
+ static ::java::awt::event::WindowFocusListener * add(::java::awt::event::WindowFocusListener *, ::java::awt::event::WindowFocusListener *);
+ static ::java::awt::event::ActionListener * add(::java::awt::event::ActionListener *, ::java::awt::event::ActionListener *);
+ static ::java::awt::event::ItemListener * add(::java::awt::event::ItemListener *, ::java::awt::event::ItemListener *);
+ static ::java::awt::event::AdjustmentListener * add(::java::awt::event::AdjustmentListener *, ::java::awt::event::AdjustmentListener *);
+ static ::java::awt::event::TextListener * add(::java::awt::event::TextListener *, ::java::awt::event::TextListener *);
+ static ::java::awt::event::InputMethodListener * add(::java::awt::event::InputMethodListener *, ::java::awt::event::InputMethodListener *);
+ static ::java::awt::event::HierarchyListener * add(::java::awt::event::HierarchyListener *, ::java::awt::event::HierarchyListener *);
+ static ::java::awt::event::HierarchyBoundsListener * add(::java::awt::event::HierarchyBoundsListener *, ::java::awt::event::HierarchyBoundsListener *);
+ static ::java::awt::event::MouseWheelListener * add(::java::awt::event::MouseWheelListener *, ::java::awt::event::MouseWheelListener *);
+ static ::java::awt::event::ComponentListener * remove(::java::awt::event::ComponentListener *, ::java::awt::event::ComponentListener *);
+ static ::java::awt::event::ContainerListener * remove(::java::awt::event::ContainerListener *, ::java::awt::event::ContainerListener *);
+ static ::java::awt::event::FocusListener * remove(::java::awt::event::FocusListener *, ::java::awt::event::FocusListener *);
+ static ::java::awt::event::KeyListener * remove(::java::awt::event::KeyListener *, ::java::awt::event::KeyListener *);
+ static ::java::awt::event::MouseListener * remove(::java::awt::event::MouseListener *, ::java::awt::event::MouseListener *);
+ static ::java::awt::event::MouseMotionListener * remove(::java::awt::event::MouseMotionListener *, ::java::awt::event::MouseMotionListener *);
+ static ::java::awt::event::WindowListener * remove(::java::awt::event::WindowListener *, ::java::awt::event::WindowListener *);
+ static ::java::awt::event::WindowStateListener * remove(::java::awt::event::WindowStateListener *, ::java::awt::event::WindowStateListener *);
+ static ::java::awt::event::WindowFocusListener * remove(::java::awt::event::WindowFocusListener *, ::java::awt::event::WindowFocusListener *);
+ static ::java::awt::event::ActionListener * remove(::java::awt::event::ActionListener *, ::java::awt::event::ActionListener *);
+ static ::java::awt::event::ItemListener * remove(::java::awt::event::ItemListener *, ::java::awt::event::ItemListener *);
+ static ::java::awt::event::AdjustmentListener * remove(::java::awt::event::AdjustmentListener *, ::java::awt::event::AdjustmentListener *);
+ static ::java::awt::event::TextListener * remove(::java::awt::event::TextListener *, ::java::awt::event::TextListener *);
+ static ::java::awt::event::InputMethodListener * remove(::java::awt::event::InputMethodListener *, ::java::awt::event::InputMethodListener *);
+ static ::java::awt::event::HierarchyListener * remove(::java::awt::event::HierarchyListener *, ::java::awt::event::HierarchyListener *);
+ static ::java::awt::event::HierarchyBoundsListener * remove(::java::awt::event::HierarchyBoundsListener *, ::java::awt::event::HierarchyBoundsListener *);
+ static ::java::awt::event::MouseWheelListener * remove(::java::awt::event::MouseWheelListener *, ::java::awt::event::MouseWheelListener *);
+public: // actually protected
+ static ::java::util::EventListener * addInternal(::java::util::EventListener *, ::java::util::EventListener *);
+ static ::java::util::EventListener * removeInternal(::java::util::EventListener *, ::java::util::EventListener *);
+ virtual void saveInternal(::java::io::ObjectOutputStream *, ::java::lang::String *);
+ static void save(::java::io::ObjectOutputStream *, ::java::lang::String *, ::java::util::EventListener *);
+public:
+ static JArray< ::java::util::EventListener * > * getListeners(::java::util::EventListener *, ::java::lang::Class *);
+private:
+ void getListeners(::java::util::ArrayList *, ::java::lang::Class *);
+public: // actually protected
+ ::java::util::EventListener * __attribute__((aligned(__alignof__( ::java::lang::Object)))) a;
+ ::java::util::EventListener * b;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_AWTEventMulticaster__
diff --git a/libjava/java/awt/AWTException.h b/libjava/java/awt/AWTException.h
new file mode 100644
index 0000000..fdda1bd
--- /dev/null
+++ b/libjava/java/awt/AWTException.h
@@ -0,0 +1,32 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_AWTException__
+#define __java_awt_AWTException__
+
+#pragma interface
+
+#include <java/lang/Exception.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class AWTException;
+ }
+ }
+}
+
+class java::awt::AWTException : public ::java::lang::Exception
+{
+
+public:
+ AWTException(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = -1900414231151323879LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_AWTException__
diff --git a/libjava/java/awt/AWTKeyStroke$1.h b/libjava/java/awt/AWTKeyStroke$1.h
new file mode 100644
index 0000000..cb6e72f
--- /dev/null
+++ b/libjava/java/awt/AWTKeyStroke$1.h
@@ -0,0 +1,34 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_AWTKeyStroke$1__
+#define __java_awt_AWTKeyStroke$1__
+
+#pragma interface
+
+#include <java/util/LinkedHashMap.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class AWTKeyStroke$1;
+ }
+ }
+}
+
+class java::awt::AWTKeyStroke$1 : public ::java::util::LinkedHashMap
+{
+
+public: // actually package-private
+ AWTKeyStroke$1(jint, jfloat, jboolean);
+public: // actually protected
+ jboolean removeEldestEntry(::java::util::Map$Entry *);
+private:
+ static const jint MAX_CACHE_SIZE = 2048;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_AWTKeyStroke$1__
diff --git a/libjava/java/awt/AWTKeyStroke$2.h b/libjava/java/awt/AWTKeyStroke$2.h
new file mode 100644
index 0000000..d3d8380
--- /dev/null
+++ b/libjava/java/awt/AWTKeyStroke$2.h
@@ -0,0 +1,31 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_AWTKeyStroke$2__
+#define __java_awt_AWTKeyStroke$2__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class AWTKeyStroke$2;
+ }
+ }
+}
+
+class java::awt::AWTKeyStroke$2 : public ::java::lang::Object
+{
+
+public: // actually package-private
+ AWTKeyStroke$2();
+public:
+ ::java::lang::Object * run();
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_AWTKeyStroke$2__
diff --git a/libjava/java/awt/AWTKeyStroke$3.h b/libjava/java/awt/AWTKeyStroke$3.h
new file mode 100644
index 0000000..f08335e
--- /dev/null
+++ b/libjava/java/awt/AWTKeyStroke$3.h
@@ -0,0 +1,34 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_AWTKeyStroke$3__
+#define __java_awt_AWTKeyStroke$3__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class AWTKeyStroke$3;
+ }
+ }
+}
+
+class java::awt::AWTKeyStroke$3 : public ::java::lang::Object
+{
+
+public: // actually package-private
+ AWTKeyStroke$3(::java::lang::Class *);
+public:
+ ::java::lang::Object * run();
+private:
+ ::java::lang::Class * __attribute__((aligned(__alignof__( ::java::lang::Object)))) val$subclass;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_AWTKeyStroke$3__
diff --git a/libjava/java/awt/AWTKeyStroke.h b/libjava/java/awt/AWTKeyStroke.h
new file mode 100644
index 0000000..0b0032d
--- /dev/null
+++ b/libjava/java/awt/AWTKeyStroke.h
@@ -0,0 +1,70 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_AWTKeyStroke__
+#define __java_awt_AWTKeyStroke__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class AWTKeyStroke;
+ namespace event
+ {
+ class KeyEvent;
+ }
+ }
+ }
+}
+
+class java::awt::AWTKeyStroke : public ::java::lang::Object
+{
+
+public: // actually protected
+ AWTKeyStroke();
+ AWTKeyStroke(jchar, jint, jint, jboolean);
+ static void registerSubclass(::java::lang::Class *);
+public:
+ static ::java::awt::AWTKeyStroke * getAWTKeyStroke(jchar);
+ static ::java::awt::AWTKeyStroke * getAWTKeyStroke(::java::lang::Character *, jint);
+ static ::java::awt::AWTKeyStroke * getAWTKeyStroke(jint, jint, jboolean);
+ static ::java::awt::AWTKeyStroke * getAWTKeyStroke(jint, jint);
+ static ::java::awt::AWTKeyStroke * getAWTKeyStrokeForEvent(::java::awt::event::KeyEvent *);
+ static ::java::awt::AWTKeyStroke * getAWTKeyStroke(::java::lang::String *);
+ virtual jchar getKeyChar();
+ virtual jint getKeyCode();
+ virtual jint getModifiers();
+ virtual jboolean isOnKeyRelease();
+ virtual jint getKeyEventType();
+ virtual jint hashCode();
+ virtual jboolean equals(::java::lang::Object *);
+ virtual ::java::lang::String * toString();
+public: // actually protected
+ virtual ::java::lang::Object * readResolve();
+private:
+ static ::java::awt::AWTKeyStroke * getAWTKeyStroke(jchar, jint, jint, jboolean);
+ static jint extend(jint);
+ static const jlong serialVersionUID = -6430539691155161871LL;
+ static const jint MODIFIERS_MASK = 16367;
+ static ::java::util::LinkedHashMap * cache;
+ static ::java::awt::AWTKeyStroke * recent;
+ static ::java::lang::reflect::Constructor * ctor;
+public: // actually package-private
+ static ::java::util::HashMap * vktable;
+private:
+ jchar __attribute__((aligned(__alignof__( ::java::lang::Object)))) keyChar;
+public: // actually package-private
+ jint keyCode;
+private:
+ jint modifiers;
+ jboolean onKeyRelease;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_AWTKeyStroke__
diff --git a/libjava/java/awt/AWTPermission.h b/libjava/java/awt/AWTPermission.h
new file mode 100644
index 0000000..4936c3d
--- /dev/null
+++ b/libjava/java/awt/AWTPermission.h
@@ -0,0 +1,33 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_AWTPermission__
+#define __java_awt_AWTPermission__
+
+#pragma interface
+
+#include <java/security/BasicPermission.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class AWTPermission;
+ }
+ }
+}
+
+class java::awt::AWTPermission : public ::java::security::BasicPermission
+{
+
+public:
+ AWTPermission(::java::lang::String *);
+ AWTPermission(::java::lang::String *, ::java::lang::String *);
+private:
+ static const jlong serialVersionUID = 8890392402588814465LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_AWTPermission__
diff --git a/libjava/java/awt/ActiveEvent.h b/libjava/java/awt/ActiveEvent.h
new file mode 100644
index 0000000..a2183cf
--- /dev/null
+++ b/libjava/java/awt/ActiveEvent.h
@@ -0,0 +1,29 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_ActiveEvent__
+#define __java_awt_ActiveEvent__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class ActiveEvent;
+ }
+ }
+}
+
+class java::awt::ActiveEvent : public ::java::lang::Object
+{
+
+public:
+ virtual void dispatch() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_awt_ActiveEvent__
diff --git a/libjava/java/awt/Adjustable.h b/libjava/java/awt/Adjustable.h
new file mode 100644
index 0000000..9460f52
--- /dev/null
+++ b/libjava/java/awt/Adjustable.h
@@ -0,0 +1,50 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_Adjustable__
+#define __java_awt_Adjustable__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Adjustable;
+ namespace event
+ {
+ class AdjustmentListener;
+ }
+ }
+ }
+}
+
+class java::awt::Adjustable : public ::java::lang::Object
+{
+
+public:
+ virtual jint getOrientation() = 0;
+ virtual void setMinimum(jint) = 0;
+ virtual jint getMinimum() = 0;
+ virtual void setMaximum(jint) = 0;
+ virtual jint getMaximum() = 0;
+ virtual void setUnitIncrement(jint) = 0;
+ virtual jint getUnitIncrement() = 0;
+ virtual void setBlockIncrement(jint) = 0;
+ virtual jint getBlockIncrement() = 0;
+ virtual void setVisibleAmount(jint) = 0;
+ virtual jint getVisibleAmount() = 0;
+ virtual void setValue(jint) = 0;
+ virtual jint getValue() = 0;
+ virtual void addAdjustmentListener(::java::awt::event::AdjustmentListener *) = 0;
+ virtual void removeAdjustmentListener(::java::awt::event::AdjustmentListener *) = 0;
+ static const jint HORIZONTAL = 0;
+ static const jint VERTICAL = 1;
+ static const jint NO_ORIENTATION = 2;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_awt_Adjustable__
diff --git a/libjava/java/awt/AlphaComposite$1.h b/libjava/java/awt/AlphaComposite$1.h
new file mode 100644
index 0000000..1203cc0
--- /dev/null
+++ b/libjava/java/awt/AlphaComposite$1.h
@@ -0,0 +1,34 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_AlphaComposite$1__
+#define __java_awt_AlphaComposite$1__
+
+#pragma interface
+
+#include <java/util/LinkedHashMap.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class AlphaComposite$1;
+ }
+ }
+}
+
+class java::awt::AlphaComposite$1 : public ::java::util::LinkedHashMap
+{
+
+public: // actually package-private
+ AlphaComposite$1(jint, jfloat, jboolean);
+public: // actually protected
+ jboolean removeEldestEntry(::java::util::Map$Entry *);
+private:
+ static const jint MAX_CACHE_SIZE = 2048;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_AlphaComposite$1__
diff --git a/libjava/java/awt/AlphaComposite.h b/libjava/java/awt/AlphaComposite.h
new file mode 100644
index 0000000..a18ebbd
--- /dev/null
+++ b/libjava/java/awt/AlphaComposite.h
@@ -0,0 +1,73 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_AlphaComposite__
+#define __java_awt_AlphaComposite__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class AlphaComposite;
+ class CompositeContext;
+ class RenderingHints;
+ namespace image
+ {
+ class ColorModel;
+ }
+ }
+ }
+}
+
+class java::awt::AlphaComposite : public ::java::lang::Object
+{
+
+ AlphaComposite(jint, jfloat);
+public:
+ static ::java::awt::AlphaComposite * getInstance(jint);
+ static ::java::awt::AlphaComposite * getInstance(jint, jfloat);
+ ::java::awt::CompositeContext * createContext(::java::awt::image::ColorModel *, ::java::awt::image::ColorModel *, ::java::awt::RenderingHints *);
+ jfloat getAlpha();
+ jint getRule();
+ jint hashCode();
+ jboolean equals(::java::lang::Object *);
+private:
+ static ::java::util::LinkedHashMap * cache;
+public:
+ static const jint CLEAR = 1;
+ static const jint SRC = 2;
+ static const jint DST = 9;
+ static const jint SRC_OVER = 3;
+ static const jint DST_OVER = 4;
+ static const jint SRC_IN = 5;
+ static const jint DST_IN = 6;
+ static const jint SRC_OUT = 7;
+ static const jint DST_OUT = 8;
+ static const jint SRC_ATOP = 10;
+ static const jint DST_ATOP = 11;
+ static const jint XOR = 12;
+ static ::java::awt::AlphaComposite * Clear;
+ static ::java::awt::AlphaComposite * Src;
+ static ::java::awt::AlphaComposite * Dst;
+ static ::java::awt::AlphaComposite * SrcOver;
+ static ::java::awt::AlphaComposite * DstOver;
+ static ::java::awt::AlphaComposite * SrcIn;
+ static ::java::awt::AlphaComposite * DstIn;
+ static ::java::awt::AlphaComposite * SrcOut;
+ static ::java::awt::AlphaComposite * DstOut;
+ static ::java::awt::AlphaComposite * SrcAtop;
+ static ::java::awt::AlphaComposite * DstAtop;
+ static ::java::awt::AlphaComposite * Xor;
+private:
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) rule;
+ jfloat alpha;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_AlphaComposite__
diff --git a/libjava/java/awt/AttributeValue.h b/libjava/java/awt/AttributeValue.h
new file mode 100644
index 0000000..3629494
--- /dev/null
+++ b/libjava/java/awt/AttributeValue.h
@@ -0,0 +1,39 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_AttributeValue__
+#define __java_awt_AttributeValue__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class AttributeValue;
+ }
+ }
+}
+
+class java::awt::AttributeValue : public ::java::lang::Object
+{
+
+public: // actually package-private
+ AttributeValue(jint, JArray< ::java::lang::String * > *);
+public:
+ virtual jint hashCode();
+ virtual ::java::lang::String * toString();
+public: // actually package-private
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) value;
+private:
+ JArray< ::java::lang::String * > * names;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_AttributeValue__
diff --git a/libjava/java/awt/BasicStroke.h b/libjava/java/awt/BasicStroke.h
new file mode 100644
index 0000000..c3a9234
--- /dev/null
+++ b/libjava/java/awt/BasicStroke.h
@@ -0,0 +1,92 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_BasicStroke__
+#define __java_awt_BasicStroke__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace java2d
+ {
+ class Segment;
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class BasicStroke;
+ class Shape;
+ namespace geom
+ {
+ class GeneralPath;
+ class PathIterator;
+ class Point2D;
+ }
+ }
+ }
+}
+
+class java::awt::BasicStroke : public ::java::lang::Object
+{
+
+public:
+ BasicStroke(jfloat, jint, jint, jfloat, JArray< jfloat > *, jfloat);
+ BasicStroke(jfloat, jint, jint, jfloat);
+ BasicStroke(jfloat, jint, jint);
+ BasicStroke(jfloat);
+ BasicStroke();
+ virtual ::java::awt::Shape * createStrokedShape(::java::awt::Shape *);
+ virtual jfloat getLineWidth();
+ virtual jint getEndCap();
+ virtual jint getLineJoin();
+ virtual jfloat getMiterLimit();
+ virtual JArray< jfloat > * getDashArray();
+ virtual jfloat getDashPhase();
+ virtual jint hashCode();
+ virtual jboolean equals(::java::lang::Object *);
+private:
+ ::java::awt::Shape * solidStroke(::java::awt::geom::PathIterator *);
+ ::java::awt::Shape * dashedStroke(::java::awt::geom::PathIterator *);
+ void capEnds();
+ void convertPath(::java::awt::geom::GeneralPath *, ::gnu::java::awt::java2d::Segment *);
+ void addSegments(JArray< ::gnu::java::awt::java2d::Segment * > *);
+ void joinSegments(JArray< ::gnu::java::awt::java2d::Segment * > *);
+ void capEnd(::gnu::java::awt::java2d::Segment *, ::gnu::java::awt::java2d::Segment *);
+ ::java::awt::geom::Point2D * lineIntersection(jdouble, jdouble, jdouble, jdouble, jdouble, jdouble, jdouble, jdouble, jboolean);
+ void joinOuterSegments(::gnu::java::awt::java2d::Segment *, ::gnu::java::awt::java2d::Segment *, ::java::awt::geom::Point2D *);
+ void joinInnerSegments(::gnu::java::awt::java2d::Segment *, ::gnu::java::awt::java2d::Segment *, ::java::awt::geom::Point2D *);
+public:
+ static const jint JOIN_MITER = 0;
+ static const jint JOIN_ROUND = 1;
+ static const jint JOIN_BEVEL = 2;
+ static const jint CAP_BUTT = 0;
+ static const jint CAP_ROUND = 1;
+ static const jint CAP_SQUARE = 2;
+private:
+ jfloat __attribute__((aligned(__alignof__( ::java::lang::Object)))) width;
+ jint cap;
+ jint join;
+ jfloat limit;
+ JArray< jfloat > * dash;
+ jfloat phase;
+ ::gnu::java::awt::java2d::Segment * start;
+ ::gnu::java::awt::java2d::Segment * end;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_BasicStroke__
diff --git a/libjava/java/awt/BorderLayout.h b/libjava/java/awt/BorderLayout.h
new file mode 100644
index 0000000..f78e971
--- /dev/null
+++ b/libjava/java/awt/BorderLayout.h
@@ -0,0 +1,85 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_BorderLayout__
+#define __java_awt_BorderLayout__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class BorderLayout;
+ class Component;
+ class Container;
+ class Dimension;
+ }
+ }
+}
+
+class java::awt::BorderLayout : public ::java::lang::Object
+{
+
+public:
+ BorderLayout();
+ BorderLayout(jint, jint);
+ virtual jint getHgap();
+ virtual void setHgap(jint);
+ virtual jint getVgap();
+ virtual void setVgap(jint);
+ virtual void addLayoutComponent(::java::awt::Component *, ::java::lang::Object *);
+ virtual void addLayoutComponent(::java::lang::String *, ::java::awt::Component *);
+ virtual void removeLayoutComponent(::java::awt::Component *);
+ virtual ::java::awt::Dimension * minimumLayoutSize(::java::awt::Container *);
+ virtual ::java::awt::Dimension * preferredLayoutSize(::java::awt::Container *);
+ virtual ::java::awt::Dimension * maximumLayoutSize(::java::awt::Container *);
+ virtual jfloat getLayoutAlignmentX(::java::awt::Container *);
+ virtual jfloat getLayoutAlignmentY(::java::awt::Container *);
+ virtual void invalidateLayout(::java::awt::Container *);
+ virtual void layoutContainer(::java::awt::Container *);
+ virtual ::java::lang::String * toString();
+private:
+ ::java::awt::Dimension * calcCompSize(::java::awt::Component *, jint);
+ ::java::awt::Dimension * calcSize(::java::awt::Container *, jint);
+public:
+ virtual ::java::awt::Component * getLayoutComponent(::java::lang::Object *);
+ virtual ::java::awt::Component * getLayoutComponent(::java::awt::Container *, ::java::lang::Object *);
+ virtual ::java::lang::Object * getConstraints(::java::awt::Component *);
+ static ::java::lang::String * NORTH;
+ static ::java::lang::String * SOUTH;
+ static ::java::lang::String * EAST;
+ static ::java::lang::String * WEST;
+ static ::java::lang::String * CENTER;
+ static ::java::lang::String * BEFORE_FIRST_LINE;
+ static ::java::lang::String * AFTER_LAST_LINE;
+ static ::java::lang::String * BEFORE_LINE_BEGINS;
+ static ::java::lang::String * AFTER_LINE_ENDS;
+ static ::java::lang::String * PAGE_START;
+ static ::java::lang::String * PAGE_END;
+ static ::java::lang::String * LINE_START;
+ static ::java::lang::String * LINE_END;
+private:
+ static const jlong serialVersionUID = -8658291919501921765LL;
+ ::java::awt::Component * __attribute__((aligned(__alignof__( ::java::lang::Object)))) north;
+ ::java::awt::Component * south;
+ ::java::awt::Component * east;
+ ::java::awt::Component * west;
+ ::java::awt::Component * center;
+ ::java::awt::Component * firstLine;
+ ::java::awt::Component * lastLine;
+ ::java::awt::Component * firstItem;
+ ::java::awt::Component * lastItem;
+ jint hgap;
+ jint vgap;
+ static const jint MIN = 0;
+ static const jint MAX = 1;
+ static const jint PREF = 2;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_BorderLayout__
diff --git a/libjava/java/awt/BufferCapabilities$FlipContents.h b/libjava/java/awt/BufferCapabilities$FlipContents.h
new file mode 100644
index 0000000..b5f45e4
--- /dev/null
+++ b/libjava/java/awt/BufferCapabilities$FlipContents.h
@@ -0,0 +1,36 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_BufferCapabilities$FlipContents__
+#define __java_awt_BufferCapabilities$FlipContents__
+
+#pragma interface
+
+#include <java/awt/AttributeValue.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class BufferCapabilities$FlipContents;
+ }
+ }
+}
+
+class java::awt::BufferCapabilities$FlipContents : public ::java::awt::AttributeValue
+{
+
+ BufferCapabilities$FlipContents(jint);
+ static JArray< ::java::lang::String * > * NAMES;
+public:
+ static ::java::awt::BufferCapabilities$FlipContents * UNDEFINED;
+ static ::java::awt::BufferCapabilities$FlipContents * BACKGROUND;
+ static ::java::awt::BufferCapabilities$FlipContents * PRIOR;
+ static ::java::awt::BufferCapabilities$FlipContents * COPIED;
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_BufferCapabilities$FlipContents__
diff --git a/libjava/java/awt/BufferCapabilities.h b/libjava/java/awt/BufferCapabilities.h
new file mode 100644
index 0000000..bda4b75
--- /dev/null
+++ b/libjava/java/awt/BufferCapabilities.h
@@ -0,0 +1,43 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_BufferCapabilities__
+#define __java_awt_BufferCapabilities__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class BufferCapabilities;
+ class BufferCapabilities$FlipContents;
+ class ImageCapabilities;
+ }
+ }
+}
+
+class java::awt::BufferCapabilities : public ::java::lang::Object
+{
+
+public:
+ BufferCapabilities(::java::awt::ImageCapabilities *, ::java::awt::ImageCapabilities *, ::java::awt::BufferCapabilities$FlipContents *);
+ virtual ::java::awt::ImageCapabilities * getFrontBufferCapabilities();
+ virtual ::java::awt::ImageCapabilities * getBackBufferCapabilities();
+ virtual jboolean isPageFlipping();
+ virtual ::java::awt::BufferCapabilities$FlipContents * getFlipContents();
+ virtual jboolean isFullScreenRequired();
+ virtual jboolean isMultiBufferAvailable();
+ virtual ::java::lang::Object * clone();
+private:
+ ::java::awt::ImageCapabilities * __attribute__((aligned(__alignof__( ::java::lang::Object)))) front;
+ ::java::awt::ImageCapabilities * back;
+ ::java::awt::BufferCapabilities$FlipContents * flip;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_BufferCapabilities__
diff --git a/libjava/java/awt/Button$AccessibleAWTButton.h b/libjava/java/awt/Button$AccessibleAWTButton.h
new file mode 100644
index 0000000..be1dc9a
--- /dev/null
+++ b/libjava/java/awt/Button$AccessibleAWTButton.h
@@ -0,0 +1,56 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_Button$AccessibleAWTButton__
+#define __java_awt_Button$AccessibleAWTButton__
+
+#pragma interface
+
+#include <java/awt/Component$AccessibleAWTComponent.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Button;
+ class Button$AccessibleAWTButton;
+ }
+ }
+ namespace javax
+ {
+ namespace accessibility
+ {
+ class AccessibleAction;
+ class AccessibleRole;
+ class AccessibleValue;
+ }
+ }
+}
+
+class java::awt::Button$AccessibleAWTButton : public ::java::awt::Component$AccessibleAWTComponent
+{
+
+public: // actually protected
+ Button$AccessibleAWTButton(::java::awt::Button *);
+public:
+ virtual jint getAccessibleActionCount();
+ virtual ::java::lang::String * getAccessibleActionDescription(jint);
+ virtual jboolean doAccessibleAction(jint);
+ virtual ::java::lang::String * getAccessibleName();
+ virtual ::javax::accessibility::AccessibleAction * getAccessibleAction();
+ virtual ::javax::accessibility::AccessibleValue * getAccessibleValue();
+ virtual ::java::lang::Number * getCurrentAccessibleValue();
+ virtual jboolean setCurrentAccessibleValue(::java::lang::Number *);
+ virtual ::java::lang::Number * getMinimumAccessibleValue();
+ virtual ::java::lang::Number * getMaximumAccessibleValue();
+ virtual ::javax::accessibility::AccessibleRole * getAccessibleRole();
+private:
+ static const jlong serialVersionUID = -5932203980244017102LL;
+public: // actually package-private
+ ::java::awt::Button * __attribute__((aligned(__alignof__( ::java::awt::Component$AccessibleAWTComponent)))) this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_Button$AccessibleAWTButton__
diff --git a/libjava/java/awt/Button.h b/libjava/java/awt/Button.h
new file mode 100644
index 0000000..19636de
--- /dev/null
+++ b/libjava/java/awt/Button.h
@@ -0,0 +1,75 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_Button__
+#define __java_awt_Button__
+
+#pragma interface
+
+#include <java/awt/Component.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class AWTEvent;
+ class Button;
+ namespace event
+ {
+ class ActionEvent;
+ class ActionListener;
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace accessibility
+ {
+ class AccessibleContext;
+ }
+ }
+}
+
+class java::awt::Button : public ::java::awt::Component
+{
+
+public:
+ Button();
+ Button(::java::lang::String *);
+ virtual ::java::lang::String * getLabel();
+ virtual void setLabel(::java::lang::String *);
+ virtual ::java::lang::String * getActionCommand();
+ virtual void setActionCommand(::java::lang::String *);
+ virtual void addActionListener(::java::awt::event::ActionListener *);
+ virtual void removeActionListener(::java::awt::event::ActionListener *);
+ virtual JArray< ::java::awt::event::ActionListener * > * getActionListeners();
+ virtual JArray< ::java::util::EventListener * > * getListeners(::java::lang::Class *);
+ virtual void addNotify();
+public: // actually protected
+ virtual void processEvent(::java::awt::AWTEvent *);
+ virtual void processActionEvent(::java::awt::event::ActionEvent *);
+public: // actually package-private
+ virtual void dispatchEventImpl(::java::awt::AWTEvent *);
+public: // actually protected
+ virtual ::java::lang::String * paramString();
+public:
+ virtual ::javax::accessibility::AccessibleContext * getAccessibleContext();
+public: // actually package-private
+ virtual ::java::lang::String * generateName();
+private:
+ static jlong getUniqueLong();
+ static const jlong serialVersionUID = -8774683716313001058LL;
+public: // actually package-private
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::awt::Component)))) actionCommand;
+ ::java::lang::String * label;
+private:
+ ::java::awt::event::ActionListener * action_listeners;
+ static jlong next_button_number;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_Button__
diff --git a/libjava/java/awt/Canvas$AccessibleAWTCanvas.h b/libjava/java/awt/Canvas$AccessibleAWTCanvas.h
new file mode 100644
index 0000000..f4f6a3e
--- /dev/null
+++ b/libjava/java/awt/Canvas$AccessibleAWTCanvas.h
@@ -0,0 +1,44 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_Canvas$AccessibleAWTCanvas__
+#define __java_awt_Canvas$AccessibleAWTCanvas__
+
+#pragma interface
+
+#include <java/awt/Component$AccessibleAWTComponent.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Canvas;
+ class Canvas$AccessibleAWTCanvas;
+ }
+ }
+ namespace javax
+ {
+ namespace accessibility
+ {
+ class AccessibleRole;
+ }
+ }
+}
+
+class java::awt::Canvas$AccessibleAWTCanvas : public ::java::awt::Component$AccessibleAWTComponent
+{
+
+public: // actually protected
+ Canvas$AccessibleAWTCanvas(::java::awt::Canvas *);
+public:
+ virtual ::javax::accessibility::AccessibleRole * getAccessibleRole();
+private:
+ static const jlong serialVersionUID = -6325592262103146699LL;
+public: // actually package-private
+ ::java::awt::Canvas * __attribute__((aligned(__alignof__( ::java::awt::Component$AccessibleAWTComponent)))) this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_Canvas$AccessibleAWTCanvas__
diff --git a/libjava/java/awt/Canvas$CanvasBltBufferStrategy.h b/libjava/java/awt/Canvas$CanvasBltBufferStrategy.h
new file mode 100644
index 0000000..f47ae70
--- /dev/null
+++ b/libjava/java/awt/Canvas$CanvasBltBufferStrategy.h
@@ -0,0 +1,32 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_Canvas$CanvasBltBufferStrategy__
+#define __java_awt_Canvas$CanvasBltBufferStrategy__
+
+#pragma interface
+
+#include <java/awt/Component$BltBufferStrategy.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Canvas;
+ class Canvas$CanvasBltBufferStrategy;
+ }
+ }
+}
+
+class java::awt::Canvas$CanvasBltBufferStrategy : public ::java::awt::Component$BltBufferStrategy
+{
+
+public: // actually package-private
+ Canvas$CanvasBltBufferStrategy(::java::awt::Canvas *, jint, jboolean);
+ ::java::awt::Canvas * __attribute__((aligned(__alignof__( ::java::awt::Component$BltBufferStrategy)))) this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_Canvas$CanvasBltBufferStrategy__
diff --git a/libjava/java/awt/Canvas$CanvasFlipBufferStrategy.h b/libjava/java/awt/Canvas$CanvasFlipBufferStrategy.h
new file mode 100644
index 0000000..0af653f
--- /dev/null
+++ b/libjava/java/awt/Canvas$CanvasFlipBufferStrategy.h
@@ -0,0 +1,32 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_Canvas$CanvasFlipBufferStrategy__
+#define __java_awt_Canvas$CanvasFlipBufferStrategy__
+
+#pragma interface
+
+#include <java/awt/Component$FlipBufferStrategy.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Canvas;
+ class Canvas$CanvasFlipBufferStrategy;
+ }
+ }
+}
+
+class java::awt::Canvas$CanvasFlipBufferStrategy : public ::java::awt::Component$FlipBufferStrategy
+{
+
+public: // actually package-private
+ Canvas$CanvasFlipBufferStrategy(::java::awt::Canvas *, jint);
+ ::java::awt::Canvas * __attribute__((aligned(__alignof__( ::java::awt::Component$FlipBufferStrategy)))) this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_Canvas$CanvasFlipBufferStrategy__
diff --git a/libjava/java/awt/Canvas.h b/libjava/java/awt/Canvas.h
new file mode 100644
index 0000000..97726a2
--- /dev/null
+++ b/libjava/java/awt/Canvas.h
@@ -0,0 +1,64 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_Canvas__
+#define __java_awt_Canvas__
+
+#pragma interface
+
+#include <java/awt/Component.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class BufferCapabilities;
+ class Canvas;
+ class Graphics;
+ class GraphicsConfiguration;
+ namespace image
+ {
+ class BufferStrategy;
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace accessibility
+ {
+ class AccessibleContext;
+ }
+ }
+}
+
+class java::awt::Canvas : public ::java::awt::Component
+{
+
+public:
+ Canvas();
+ Canvas(::java::awt::GraphicsConfiguration *);
+public: // actually package-private
+ virtual ::java::awt::GraphicsConfiguration * getGraphicsConfigurationImpl();
+public:
+ virtual void addNotify();
+ virtual void paint(::java::awt::Graphics *);
+ virtual ::javax::accessibility::AccessibleContext * getAccessibleContext();
+ virtual void createBufferStrategy(jint);
+ virtual void createBufferStrategy(jint, ::java::awt::BufferCapabilities *);
+ virtual ::java::awt::image::BufferStrategy * getBufferStrategy();
+ virtual void update(::java::awt::Graphics *);
+public: // actually package-private
+ virtual ::java::lang::String * generateName();
+private:
+ static jlong getUniqueLong();
+ static const jlong serialVersionUID = -2284879212465893870LL;
+ static jlong next_canvas_number;
+public: // actually package-private
+ ::java::awt::GraphicsConfiguration * __attribute__((aligned(__alignof__( ::java::awt::Component)))) graphicsConfiguration;
+ ::java::awt::image::BufferStrategy * bufferStrategy;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_Canvas__
diff --git a/libjava/java/awt/CardLayout.h b/libjava/java/awt/CardLayout.h
new file mode 100644
index 0000000..9affd84
--- /dev/null
+++ b/libjava/java/awt/CardLayout.h
@@ -0,0 +1,68 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_CardLayout__
+#define __java_awt_CardLayout__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class CardLayout;
+ class Component;
+ class Container;
+ class Dimension;
+ }
+ }
+}
+
+class java::awt::CardLayout : public ::java::lang::Object
+{
+
+public:
+ CardLayout();
+ CardLayout(jint, jint);
+ virtual void addLayoutComponent(::java::awt::Component *, ::java::lang::Object *);
+ virtual void addLayoutComponent(::java::lang::String *, ::java::awt::Component *);
+ virtual void first(::java::awt::Container *);
+ virtual jint getHgap();
+ virtual jfloat getLayoutAlignmentX(::java::awt::Container *);
+ virtual jfloat getLayoutAlignmentY(::java::awt::Container *);
+ virtual jint getVgap();
+ virtual void invalidateLayout(::java::awt::Container *);
+ virtual void last(::java::awt::Container *);
+ virtual void layoutContainer(::java::awt::Container *);
+ virtual ::java::awt::Dimension * maximumLayoutSize(::java::awt::Container *);
+ virtual ::java::awt::Dimension * minimumLayoutSize(::java::awt::Container *);
+ virtual void next(::java::awt::Container *);
+ virtual ::java::awt::Dimension * preferredLayoutSize(::java::awt::Container *);
+ virtual void previous(::java::awt::Container *);
+ virtual void removeLayoutComponent(::java::awt::Component *);
+ virtual void setHgap(jint);
+ virtual void setVgap(jint);
+ virtual void show(::java::awt::Container *, ::java::lang::String *);
+ virtual ::java::lang::String * toString();
+private:
+ void gotoComponent(::java::awt::Container *, jint);
+ ::java::awt::Dimension * getSize(::java::awt::Container *, jint);
+ static const jlong serialVersionUID = -4328196481005934313LL;
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) hgap;
+ jint vgap;
+ ::java::util::Hashtable * tab;
+ static const jint FIRST = 0;
+ static const jint LAST = 1;
+ static const jint NEXT = 2;
+ static const jint PREV = 3;
+ static const jint MIN = 0;
+ static const jint MAX = 1;
+ static const jint PREF = 2;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_CardLayout__
diff --git a/libjava/java/awt/Checkbox$AccessibleAWTCheckbox.h b/libjava/java/awt/Checkbox$AccessibleAWTCheckbox.h
new file mode 100644
index 0000000..025c42a
--- /dev/null
+++ b/libjava/java/awt/Checkbox$AccessibleAWTCheckbox.h
@@ -0,0 +1,61 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_Checkbox$AccessibleAWTCheckbox__
+#define __java_awt_Checkbox$AccessibleAWTCheckbox__
+
+#pragma interface
+
+#include <java/awt/Component$AccessibleAWTComponent.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Checkbox;
+ class Checkbox$AccessibleAWTCheckbox;
+ namespace event
+ {
+ class ItemEvent;
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace accessibility
+ {
+ class AccessibleAction;
+ class AccessibleRole;
+ class AccessibleStateSet;
+ class AccessibleValue;
+ }
+ }
+}
+
+class java::awt::Checkbox$AccessibleAWTCheckbox : public ::java::awt::Component$AccessibleAWTComponent
+{
+
+public:
+ Checkbox$AccessibleAWTCheckbox(::java::awt::Checkbox *);
+ virtual void itemStateChanged(::java::awt::event::ItemEvent *);
+ virtual ::javax::accessibility::AccessibleAction * getAccessibleAction();
+ virtual ::javax::accessibility::AccessibleValue * getAccessibleValue();
+ virtual jint getAccessibleActionCount();
+ virtual ::java::lang::String * getAccessibleActionDescription(jint);
+ virtual jboolean doAccessibleAction(jint);
+ virtual ::java::lang::Number * getCurrentAccessibleValue();
+ virtual jboolean setCurrentAccessibleValue(::java::lang::Number *);
+ virtual ::java::lang::Number * getMinimumAccessibleValue();
+ virtual ::java::lang::Number * getMaximumAccessibleValue();
+ virtual ::javax::accessibility::AccessibleRole * getAccessibleRole();
+ virtual ::javax::accessibility::AccessibleStateSet * getAccessibleStateSet();
+private:
+ static const jlong serialVersionUID = 7881579233144754107LL;
+public: // actually package-private
+ ::java::awt::Checkbox * __attribute__((aligned(__alignof__( ::java::awt::Component$AccessibleAWTComponent)))) this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_Checkbox$AccessibleAWTCheckbox__
diff --git a/libjava/java/awt/Checkbox.h b/libjava/java/awt/Checkbox.h
new file mode 100644
index 0000000..614f599
--- /dev/null
+++ b/libjava/java/awt/Checkbox.h
@@ -0,0 +1,82 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_Checkbox__
+#define __java_awt_Checkbox__
+
+#pragma interface
+
+#include <java/awt/Component.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class AWTEvent;
+ class Checkbox;
+ class CheckboxGroup;
+ namespace event
+ {
+ class ItemEvent;
+ class ItemListener;
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace accessibility
+ {
+ class AccessibleContext;
+ }
+ }
+}
+
+class java::awt::Checkbox : public ::java::awt::Component
+{
+
+public:
+ Checkbox();
+ Checkbox(::java::lang::String *);
+ Checkbox(::java::lang::String *, jboolean);
+ Checkbox(::java::lang::String *, ::java::awt::CheckboxGroup *, jboolean);
+ Checkbox(::java::lang::String *, jboolean, ::java::awt::CheckboxGroup *);
+ virtual ::java::lang::String * getLabel();
+ virtual void setLabel(::java::lang::String *);
+ virtual jboolean getState();
+ virtual void setState(jboolean);
+ virtual JArray< ::java::lang::Object * > * getSelectedObjects();
+ virtual ::java::awt::CheckboxGroup * getCheckboxGroup();
+ virtual void setCheckboxGroup(::java::awt::CheckboxGroup *);
+ virtual void addNotify();
+ virtual JArray< ::java::awt::event::ItemListener * > * getItemListeners();
+ virtual void addItemListener(::java::awt::event::ItemListener *);
+ virtual void removeItemListener(::java::awt::event::ItemListener *);
+public: // actually protected
+ virtual void processEvent(::java::awt::AWTEvent *);
+ virtual void processItemEvent(::java::awt::event::ItemEvent *);
+public: // actually package-private
+ virtual void dispatchEventImpl(::java::awt::AWTEvent *);
+public: // actually protected
+ virtual ::java::lang::String * paramString();
+public:
+ virtual ::javax::accessibility::AccessibleContext * getAccessibleContext();
+public: // actually package-private
+ virtual ::java::lang::String * generateName();
+private:
+ static jlong getUniqueLong();
+ static const jlong serialVersionUID = 7270714317450821763LL;
+ ::java::awt::CheckboxGroup * __attribute__((aligned(__alignof__( ::java::awt::Component)))) group;
+ ::java::lang::String * label;
+public: // actually package-private
+ jboolean state;
+private:
+ ::java::awt::event::ItemListener * item_listeners;
+ static jlong next_checkbox_number;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_Checkbox__
diff --git a/libjava/java/awt/CheckboxGroup.h b/libjava/java/awt/CheckboxGroup.h
new file mode 100644
index 0000000..80a4557
--- /dev/null
+++ b/libjava/java/awt/CheckboxGroup.h
@@ -0,0 +1,39 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_CheckboxGroup__
+#define __java_awt_CheckboxGroup__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Checkbox;
+ class CheckboxGroup;
+ }
+ }
+}
+
+class java::awt::CheckboxGroup : public ::java::lang::Object
+{
+
+public:
+ CheckboxGroup();
+ virtual ::java::awt::Checkbox * getSelectedCheckbox();
+ virtual ::java::awt::Checkbox * getCurrent();
+ virtual void setSelectedCheckbox(::java::awt::Checkbox *);
+ virtual void setCurrent(::java::awt::Checkbox *);
+ virtual ::java::lang::String * toString();
+private:
+ static const jlong serialVersionUID = 3729780091441768983LL;
+ ::java::awt::Checkbox * __attribute__((aligned(__alignof__( ::java::lang::Object)))) selectedCheckbox;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_CheckboxGroup__
diff --git a/libjava/java/awt/CheckboxMenuItem$AccessibleAWTCheckboxMenuItem.h b/libjava/java/awt/CheckboxMenuItem$AccessibleAWTCheckboxMenuItem.h
new file mode 100644
index 0000000..c911183
--- /dev/null
+++ b/libjava/java/awt/CheckboxMenuItem$AccessibleAWTCheckboxMenuItem.h
@@ -0,0 +1,35 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_CheckboxMenuItem$AccessibleAWTCheckboxMenuItem__
+#define __java_awt_CheckboxMenuItem$AccessibleAWTCheckboxMenuItem__
+
+#pragma interface
+
+#include <java/awt/MenuItem$AccessibleAWTMenuItem.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class CheckboxMenuItem;
+ class CheckboxMenuItem$AccessibleAWTCheckboxMenuItem;
+ }
+ }
+}
+
+class java::awt::CheckboxMenuItem$AccessibleAWTCheckboxMenuItem : public ::java::awt::MenuItem$AccessibleAWTMenuItem
+{
+
+public: // actually protected
+ CheckboxMenuItem$AccessibleAWTCheckboxMenuItem(::java::awt::CheckboxMenuItem *);
+private:
+ static const jlong serialVersionUID = -1122642964303476LL;
+public: // actually package-private
+ ::java::awt::CheckboxMenuItem * __attribute__((aligned(__alignof__( ::java::awt::MenuItem$AccessibleAWTMenuItem)))) this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_CheckboxMenuItem$AccessibleAWTCheckboxMenuItem__
diff --git a/libjava/java/awt/CheckboxMenuItem.h b/libjava/java/awt/CheckboxMenuItem.h
new file mode 100644
index 0000000..52b7223
--- /dev/null
+++ b/libjava/java/awt/CheckboxMenuItem.h
@@ -0,0 +1,71 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_CheckboxMenuItem__
+#define __java_awt_CheckboxMenuItem__
+
+#pragma interface
+
+#include <java/awt/MenuItem.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class AWTEvent;
+ class CheckboxMenuItem;
+ namespace event
+ {
+ class ItemEvent;
+ class ItemListener;
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace accessibility
+ {
+ class AccessibleContext;
+ }
+ }
+}
+
+class java::awt::CheckboxMenuItem : public ::java::awt::MenuItem
+{
+
+public:
+ CheckboxMenuItem();
+ CheckboxMenuItem(::java::lang::String *);
+ CheckboxMenuItem(::java::lang::String *, jboolean);
+ virtual jboolean getState();
+ virtual void setState(jboolean);
+ virtual JArray< ::java::lang::Object * > * getSelectedObjects();
+ virtual void addNotify();
+ virtual void addItemListener(::java::awt::event::ItemListener *);
+ virtual void removeItemListener(::java::awt::event::ItemListener *);
+public: // actually protected
+ virtual void processEvent(::java::awt::AWTEvent *);
+ virtual void processItemEvent(::java::awt::event::ItemEvent *);
+public: // actually package-private
+ virtual void dispatchEventImpl(::java::awt::AWTEvent *);
+public:
+ virtual ::java::lang::String * paramString();
+ virtual JArray< ::java::util::EventListener * > * getListeners(::java::lang::Class *);
+ virtual JArray< ::java::awt::event::ItemListener * > * getItemListeners();
+ virtual ::javax::accessibility::AccessibleContext * getAccessibleContext();
+public: // actually package-private
+ virtual ::java::lang::String * generateName();
+private:
+ static jlong getUniqueLong();
+ static jlong next_chkmenuitem_number;
+ static const jlong serialVersionUID = 6190621106981774043LL;
+ jboolean __attribute__((aligned(__alignof__( ::java::awt::MenuItem)))) state;
+ ::java::awt::event::ItemListener * item_listeners;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_CheckboxMenuItem__
diff --git a/libjava/java/awt/Choice$AccessibleAWTChoice.h b/libjava/java/awt/Choice$AccessibleAWTChoice.h
new file mode 100644
index 0000000..61b2d23
--- /dev/null
+++ b/libjava/java/awt/Choice$AccessibleAWTChoice.h
@@ -0,0 +1,48 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_Choice$AccessibleAWTChoice__
+#define __java_awt_Choice$AccessibleAWTChoice__
+
+#pragma interface
+
+#include <java/awt/Component$AccessibleAWTComponent.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Choice;
+ class Choice$AccessibleAWTChoice;
+ }
+ }
+ namespace javax
+ {
+ namespace accessibility
+ {
+ class AccessibleAction;
+ class AccessibleRole;
+ }
+ }
+}
+
+class java::awt::Choice$AccessibleAWTChoice : public ::java::awt::Component$AccessibleAWTComponent
+{
+
+public:
+ Choice$AccessibleAWTChoice(::java::awt::Choice *);
+ virtual ::javax::accessibility::AccessibleAction * getAccessibleAction();
+ virtual ::javax::accessibility::AccessibleRole * getAccessibleRole();
+ virtual jint getAccessibleActionCount();
+ virtual ::java::lang::String * getAccessibleActionDescription(jint);
+ virtual jboolean doAccessibleAction(jint);
+private:
+ static const jlong serialVersionUID = 7175603582428509322LL;
+public: // actually package-private
+ ::java::awt::Choice * __attribute__((aligned(__alignof__( ::java::awt::Component$AccessibleAWTComponent)))) this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_Choice$AccessibleAWTChoice__
diff --git a/libjava/java/awt/Choice.h b/libjava/java/awt/Choice.h
new file mode 100644
index 0000000..fc02613
--- /dev/null
+++ b/libjava/java/awt/Choice.h
@@ -0,0 +1,84 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_Choice__
+#define __java_awt_Choice__
+
+#pragma interface
+
+#include <java/awt/Component.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class AWTEvent;
+ class Choice;
+ namespace event
+ {
+ class ItemEvent;
+ class ItemListener;
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace accessibility
+ {
+ class AccessibleContext;
+ }
+ }
+}
+
+class java::awt::Choice : public ::java::awt::Component
+{
+
+public:
+ Choice();
+ virtual jint getItemCount();
+ virtual jint countItems();
+ virtual ::java::lang::String * getItem(jint);
+ virtual void add(::java::lang::String *);
+ virtual void addItem(::java::lang::String *);
+ virtual void insert(::java::lang::String *, jint);
+ virtual void remove(::java::lang::String *);
+ virtual void remove(jint);
+ virtual void removeAll();
+ virtual ::java::lang::String * getSelectedItem();
+ virtual JArray< ::java::lang::Object * > * getSelectedObjects();
+ virtual jint getSelectedIndex();
+ virtual void select(jint);
+ virtual void select(::java::lang::String *);
+ virtual void addNotify();
+ virtual void addItemListener(::java::awt::event::ItemListener *);
+ virtual void removeItemListener(::java::awt::event::ItemListener *);
+public: // actually protected
+ virtual void processEvent(::java::awt::AWTEvent *);
+public: // actually package-private
+ virtual void dispatchEventImpl(::java::awt::AWTEvent *);
+public: // actually protected
+ virtual void processItemEvent(::java::awt::event::ItemEvent *);
+ virtual ::java::lang::String * paramString();
+public:
+ virtual JArray< ::java::util::EventListener * > * getListeners(::java::lang::Class *);
+ virtual JArray< ::java::awt::event::ItemListener * > * getItemListeners();
+ virtual ::javax::accessibility::AccessibleContext * getAccessibleContext();
+public: // actually package-private
+ virtual ::java::lang::String * generateName();
+private:
+ static jlong getUniqueLong();
+ static jlong next_choice_number;
+ static const jlong serialVersionUID = -4075310674757313071LL;
+public: // actually package-private
+ ::java::util::Vector * __attribute__((aligned(__alignof__( ::java::awt::Component)))) pItems;
+private:
+ jint selectedIndex;
+ ::java::awt::event::ItemListener * item_listeners;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_Choice__
diff --git a/libjava/java/awt/Color.h b/libjava/java/awt/Color.h
new file mode 100644
index 0000000..a1bbaff
--- /dev/null
+++ b/libjava/java/awt/Color.h
@@ -0,0 +1,128 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_Color__
+#define __java_awt_Color__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Color;
+ class ColorPaintContext;
+ class PaintContext;
+ class Rectangle;
+ class RenderingHints;
+ namespace color
+ {
+ class ColorSpace;
+ }
+ namespace geom
+ {
+ class AffineTransform;
+ class Rectangle2D;
+ }
+ namespace image
+ {
+ class ColorModel;
+ }
+ }
+ }
+}
+
+class java::awt::Color : public ::java::lang::Object
+{
+
+public:
+ Color(jint, jint, jint);
+ Color(jint, jint, jint, jint);
+ Color(jint);
+ Color(jint, jboolean);
+ Color(jfloat, jfloat, jfloat);
+ Color(jfloat, jfloat, jfloat, jfloat);
+ Color(::java::awt::color::ColorSpace *, JArray< jfloat > *, jfloat);
+ virtual jint getRed();
+ virtual jint getGreen();
+ virtual jint getBlue();
+ virtual jint getAlpha();
+ virtual jint getRGB();
+ virtual ::java::awt::Color * brighter();
+ virtual ::java::awt::Color * darker();
+ virtual jint hashCode();
+ virtual jboolean equals(::java::lang::Object *);
+ virtual ::java::lang::String * toString();
+ static ::java::awt::Color * decode(::java::lang::String *);
+ static ::java::awt::Color * getColor(::java::lang::String *);
+ static ::java::awt::Color * getColor(::java::lang::String *, ::java::awt::Color *);
+ static ::java::awt::Color * getColor(::java::lang::String *, jint);
+ static jint HSBtoRGB(jfloat, jfloat, jfloat);
+ static JArray< jfloat > * RGBtoHSB(jint, jint, jint, JArray< jfloat > *);
+ static ::java::awt::Color * getHSBColor(jfloat, jfloat, jfloat);
+ virtual JArray< jfloat > * getRGBComponents(JArray< jfloat > *);
+ virtual JArray< jfloat > * getRGBColorComponents(JArray< jfloat > *);
+ virtual JArray< jfloat > * getComponents(JArray< jfloat > *);
+ virtual JArray< jfloat > * getColorComponents(JArray< jfloat > *);
+ virtual JArray< jfloat > * getComponents(::java::awt::color::ColorSpace *, JArray< jfloat > *);
+ virtual JArray< jfloat > * getColorComponents(::java::awt::color::ColorSpace *, JArray< jfloat > *);
+ virtual ::java::awt::color::ColorSpace * getColorSpace();
+ virtual ::java::awt::PaintContext * createContext(::java::awt::image::ColorModel *, ::java::awt::Rectangle *, ::java::awt::geom::Rectangle2D *, ::java::awt::geom::AffineTransform *, ::java::awt::RenderingHints *);
+ virtual jint getTransparency();
+private:
+ static jint convert(jfloat, jfloat, jfloat, jfloat);
+ static const jlong serialVersionUID = 118526816881161077LL;
+public:
+ static ::java::awt::Color * white;
+ static ::java::awt::Color * WHITE;
+ static ::java::awt::Color * lightGray;
+ static ::java::awt::Color * LIGHT_GRAY;
+ static ::java::awt::Color * gray;
+ static ::java::awt::Color * GRAY;
+ static ::java::awt::Color * darkGray;
+ static ::java::awt::Color * DARK_GRAY;
+ static ::java::awt::Color * black;
+ static ::java::awt::Color * BLACK;
+ static ::java::awt::Color * red;
+ static ::java::awt::Color * RED;
+ static ::java::awt::Color * pink;
+ static ::java::awt::Color * PINK;
+ static ::java::awt::Color * orange;
+ static ::java::awt::Color * ORANGE;
+ static ::java::awt::Color * yellow;
+ static ::java::awt::Color * YELLOW;
+ static ::java::awt::Color * green;
+ static ::java::awt::Color * GREEN;
+ static ::java::awt::Color * magenta;
+ static ::java::awt::Color * MAGENTA;
+ static ::java::awt::Color * cyan;
+ static ::java::awt::Color * CYAN;
+ static ::java::awt::Color * blue;
+ static ::java::awt::Color * BLUE;
+private:
+ static const jint RED_MASK = 16711680;
+ static const jint GREEN_MASK = 65280;
+ static const jint BLUE_MASK = 255;
+public: // actually package-private
+ static const jint ALPHA_MASK = -16777216;
+private:
+ static jfloat BRIGHT_SCALE;
+public: // actually package-private
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) value;
+private:
+ JArray< jfloat > * frgbvalue;
+ JArray< jfloat > * fvalue;
+ jfloat falpha;
+ ::java::awt::color::ColorSpace * cs;
+public: // actually package-private
+ ::java::awt::ColorPaintContext * context;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_Color__
diff --git a/libjava/java/awt/ColorPaintContext$ColorRaster.h b/libjava/java/awt/ColorPaintContext$ColorRaster.h
new file mode 100644
index 0000000..d116f81
--- /dev/null
+++ b/libjava/java/awt/ColorPaintContext$ColorRaster.h
@@ -0,0 +1,39 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_ColorPaintContext$ColorRaster__
+#define __java_awt_ColorPaintContext$ColorRaster__
+
+#pragma interface
+
+#include <java/awt/image/Raster.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class ColorPaintContext;
+ class ColorPaintContext$ColorRaster;
+ namespace image
+ {
+ class ColorModel;
+ }
+ }
+ }
+}
+
+class java::awt::ColorPaintContext$ColorRaster : public ::java::awt::image::Raster
+{
+
+public: // actually package-private
+ ColorPaintContext$ColorRaster(::java::awt::ColorPaintContext *, ::java::awt::image::ColorModel *, jint, jint, jint, jint, jint);
+private:
+ ::java::lang::Object * multiplyData(::java::lang::Object *, ::java::lang::Object *, jint);
+public: // actually package-private
+ ::java::awt::ColorPaintContext * __attribute__((aligned(__alignof__( ::java::awt::image::Raster)))) this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_ColorPaintContext$ColorRaster__
diff --git a/libjava/java/awt/ColorPaintContext.h b/libjava/java/awt/ColorPaintContext.h
new file mode 100644
index 0000000..e96fc43f
--- /dev/null
+++ b/libjava/java/awt/ColorPaintContext.h
@@ -0,0 +1,46 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_ColorPaintContext__
+#define __java_awt_ColorPaintContext__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class ColorPaintContext;
+ class ColorPaintContext$ColorRaster;
+ namespace image
+ {
+ class ColorModel;
+ class Raster;
+ }
+ }
+ }
+}
+
+class java::awt::ColorPaintContext : public ::java::lang::Object
+{
+
+public: // actually package-private
+ ColorPaintContext(jint);
+ ColorPaintContext(::java::awt::image::ColorModel *, jint);
+public:
+ virtual void dispose();
+ virtual ::java::awt::image::ColorModel * getColorModel();
+ virtual ::java::awt::image::Raster * getRaster(jint, jint, jint, jint);
+public: // actually package-private
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) color;
+ ::java::awt::image::ColorModel * colorModel;
+private:
+ ::java::awt::ColorPaintContext$ColorRaster * cachedRaster;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_ColorPaintContext__
diff --git a/libjava/java/awt/Component$AccessibleAWTComponent$AccessibleAWTComponentHandler.h b/libjava/java/awt/Component$AccessibleAWTComponent$AccessibleAWTComponentHandler.h
new file mode 100644
index 0000000..4dda122
--- /dev/null
+++ b/libjava/java/awt/Component$AccessibleAWTComponent$AccessibleAWTComponentHandler.h
@@ -0,0 +1,42 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_Component$AccessibleAWTComponent$AccessibleAWTComponentHandler__
+#define __java_awt_Component$AccessibleAWTComponent$AccessibleAWTComponentHandler__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Component$AccessibleAWTComponent;
+ class Component$AccessibleAWTComponent$AccessibleAWTComponentHandler;
+ namespace event
+ {
+ class ComponentEvent;
+ }
+ }
+ }
+}
+
+class java::awt::Component$AccessibleAWTComponent$AccessibleAWTComponentHandler : public ::java::lang::Object
+{
+
+public: // actually protected
+ Component$AccessibleAWTComponent$AccessibleAWTComponentHandler(::java::awt::Component$AccessibleAWTComponent *);
+public:
+ virtual void componentHidden(::java::awt::event::ComponentEvent *);
+ virtual void componentShown(::java::awt::event::ComponentEvent *);
+ virtual void componentMoved(::java::awt::event::ComponentEvent *);
+ virtual void componentResized(::java::awt::event::ComponentEvent *);
+public: // actually package-private
+ ::java::awt::Component$AccessibleAWTComponent * __attribute__((aligned(__alignof__( ::java::lang::Object)))) this$1;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_Component$AccessibleAWTComponent$AccessibleAWTComponentHandler__
diff --git a/libjava/java/awt/Component$AccessibleAWTComponent$AccessibleAWTFocusHandler.h b/libjava/java/awt/Component$AccessibleAWTComponent$AccessibleAWTFocusHandler.h
new file mode 100644
index 0000000..429c49a
--- /dev/null
+++ b/libjava/java/awt/Component$AccessibleAWTComponent$AccessibleAWTFocusHandler.h
@@ -0,0 +1,40 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_Component$AccessibleAWTComponent$AccessibleAWTFocusHandler__
+#define __java_awt_Component$AccessibleAWTComponent$AccessibleAWTFocusHandler__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Component$AccessibleAWTComponent;
+ class Component$AccessibleAWTComponent$AccessibleAWTFocusHandler;
+ namespace event
+ {
+ class FocusEvent;
+ }
+ }
+ }
+}
+
+class java::awt::Component$AccessibleAWTComponent$AccessibleAWTFocusHandler : public ::java::lang::Object
+{
+
+public: // actually protected
+ Component$AccessibleAWTComponent$AccessibleAWTFocusHandler(::java::awt::Component$AccessibleAWTComponent *);
+public:
+ virtual void focusGained(::java::awt::event::FocusEvent *);
+ virtual void focusLost(::java::awt::event::FocusEvent *);
+public: // actually package-private
+ ::java::awt::Component$AccessibleAWTComponent * __attribute__((aligned(__alignof__( ::java::lang::Object)))) this$1;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_Component$AccessibleAWTComponent$AccessibleAWTFocusHandler__
diff --git a/libjava/java/awt/Component$AccessibleAWTComponent.h b/libjava/java/awt/Component$AccessibleAWTComponent.h
new file mode 100644
index 0000000..c46ecf7
--- /dev/null
+++ b/libjava/java/awt/Component$AccessibleAWTComponent.h
@@ -0,0 +1,104 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_Component$AccessibleAWTComponent__
+#define __java_awt_Component$AccessibleAWTComponent__
+
+#pragma interface
+
+#include <javax/accessibility/AccessibleContext.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Color;
+ class Component;
+ class Component$AccessibleAWTComponent;
+ class Cursor;
+ class Dimension;
+ class Font;
+ class FontMetrics;
+ class Point;
+ class Rectangle;
+ namespace event
+ {
+ class ComponentListener;
+ class FocusListener;
+ }
+ }
+ namespace beans
+ {
+ class PropertyChangeListener;
+ }
+ }
+ namespace javax
+ {
+ namespace accessibility
+ {
+ class Accessible;
+ class AccessibleComponent;
+ class AccessibleRole;
+ class AccessibleStateSet;
+ }
+ }
+}
+
+class java::awt::Component$AccessibleAWTComponent : public ::javax::accessibility::AccessibleContext
+{
+
+public: // actually protected
+ Component$AccessibleAWTComponent(::java::awt::Component *);
+public:
+ virtual void addPropertyChangeListener(::java::beans::PropertyChangeListener *);
+ virtual void removePropertyChangeListener(::java::beans::PropertyChangeListener *);
+ virtual ::java::lang::String * getAccessibleName();
+ virtual ::java::lang::String * getAccessibleDescription();
+ virtual ::javax::accessibility::AccessibleRole * getAccessibleRole();
+ virtual ::javax::accessibility::AccessibleStateSet * getAccessibleStateSet();
+ virtual ::javax::accessibility::Accessible * getAccessibleParent();
+ virtual jint getAccessibleIndexInParent();
+ virtual jint getAccessibleChildrenCount();
+ virtual ::javax::accessibility::Accessible * getAccessibleChild(jint);
+ virtual ::java::util::Locale * getLocale();
+ virtual ::javax::accessibility::AccessibleComponent * getAccessibleComponent();
+ virtual ::java::awt::Color * getBackground();
+ virtual void setBackground(::java::awt::Color *);
+ virtual ::java::awt::Color * getForeground();
+ virtual void setForeground(::java::awt::Color *);
+ virtual ::java::awt::Cursor * getCursor();
+ virtual void setCursor(::java::awt::Cursor *);
+ virtual ::java::awt::Font * getFont();
+ virtual void setFont(::java::awt::Font *);
+ virtual ::java::awt::FontMetrics * getFontMetrics(::java::awt::Font *);
+ virtual jboolean isEnabled();
+ virtual void setEnabled(jboolean);
+ virtual jboolean isVisible();
+ virtual void setVisible(jboolean);
+ virtual jboolean isShowing();
+ virtual jboolean contains(::java::awt::Point *);
+ virtual ::java::awt::Point * getLocationOnScreen();
+ virtual ::java::awt::Point * getLocation();
+ virtual void setLocation(::java::awt::Point *);
+ virtual ::java::awt::Rectangle * getBounds();
+ virtual void setBounds(::java::awt::Rectangle *);
+ virtual ::java::awt::Dimension * getSize();
+ virtual void setSize(::java::awt::Dimension *);
+ virtual ::javax::accessibility::Accessible * getAccessibleAt(::java::awt::Point *);
+ virtual jboolean isFocusTraversable();
+ virtual void requestFocus();
+ virtual void addFocusListener(::java::awt::event::FocusListener *);
+ virtual void removeFocusListener(::java::awt::event::FocusListener *);
+private:
+ static const jlong serialVersionUID = 642321655757800191LL;
+public: // actually protected
+ ::java::awt::event::ComponentListener * __attribute__((aligned(__alignof__( ::javax::accessibility::AccessibleContext)))) accessibleAWTComponentHandler;
+ ::java::awt::event::FocusListener * accessibleAWTFocusHandler;
+public: // actually package-private
+ ::java::awt::Component * this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_Component$AccessibleAWTComponent__
diff --git a/libjava/java/awt/Component$BltBufferStrategy.h b/libjava/java/awt/Component$BltBufferStrategy.h
new file mode 100644
index 0000000..ca93fac
--- /dev/null
+++ b/libjava/java/awt/Component$BltBufferStrategy.h
@@ -0,0 +1,59 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_Component$BltBufferStrategy__
+#define __java_awt_Component$BltBufferStrategy__
+
+#pragma interface
+
+#include <java/awt/image/BufferStrategy.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class BufferCapabilities;
+ class Component;
+ class Component$BltBufferStrategy;
+ class Graphics;
+ namespace image
+ {
+ class VolatileImage;
+ }
+ }
+ }
+}
+
+class java::awt::Component$BltBufferStrategy : public ::java::awt::image::BufferStrategy
+{
+
+public: // actually protected
+ Component$BltBufferStrategy(::java::awt::Component *, jint, ::java::awt::BufferCapabilities *);
+ virtual void createBackBuffers(jint);
+public:
+ virtual ::java::awt::BufferCapabilities * getCapabilities();
+ virtual ::java::awt::Graphics * getDrawGraphics();
+ virtual void show();
+public: // actually protected
+ virtual void revalidate();
+public:
+ virtual jboolean contentsLost();
+ virtual jboolean contentsRestored();
+public: // actually protected
+ ::java::awt::BufferCapabilities * __attribute__((aligned(__alignof__( ::java::awt::image::BufferStrategy)))) caps;
+ JArray< ::java::awt::image::VolatileImage * > * backBuffers;
+ jboolean validatedContents;
+ jint width;
+ jint height;
+private:
+ ::java::awt::image::VolatileImage * frontBuffer;
+public: // actually package-private
+ ::java::awt::Component * this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_Component$BltBufferStrategy__
diff --git a/libjava/java/awt/Component$FlipBufferStrategy.h b/libjava/java/awt/Component$FlipBufferStrategy.h
new file mode 100644
index 0000000..654cfd2
--- /dev/null
+++ b/libjava/java/awt/Component$FlipBufferStrategy.h
@@ -0,0 +1,63 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_Component$FlipBufferStrategy__
+#define __java_awt_Component$FlipBufferStrategy__
+
+#pragma interface
+
+#include <java/awt/image/BufferStrategy.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class BufferCapabilities;
+ class BufferCapabilities$FlipContents;
+ class Component;
+ class Component$FlipBufferStrategy;
+ class Graphics;
+ class Image;
+ namespace image
+ {
+ class VolatileImage;
+ }
+ }
+ }
+}
+
+class java::awt::Component$FlipBufferStrategy : public ::java::awt::image::BufferStrategy
+{
+
+public: // actually protected
+ Component$FlipBufferStrategy(::java::awt::Component *, jint, ::java::awt::BufferCapabilities *);
+ virtual void createBuffers(jint, ::java::awt::BufferCapabilities *);
+ virtual ::java::awt::Image * getBackBuffer();
+ virtual void flip(::java::awt::BufferCapabilities$FlipContents *);
+ virtual void destroyBuffers();
+public:
+ virtual ::java::awt::BufferCapabilities * getCapabilities();
+ virtual ::java::awt::Graphics * getDrawGraphics();
+public: // actually protected
+ virtual void revalidate();
+public:
+ virtual jboolean contentsLost();
+ virtual jboolean contentsRestored();
+ virtual void show();
+public: // actually protected
+ jint __attribute__((aligned(__alignof__( ::java::awt::image::BufferStrategy)))) numBuffers;
+ ::java::awt::BufferCapabilities * caps;
+ ::java::awt::Image * drawBuffer;
+ ::java::awt::image::VolatileImage * drawVBuffer;
+ jboolean validatedContents;
+private:
+ jint width;
+ jint height;
+public: // actually package-private
+ ::java::awt::Component * this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_Component$FlipBufferStrategy__
diff --git a/libjava/java/awt/Component$HeavyweightInLightweightListener.h b/libjava/java/awt/Component$HeavyweightInLightweightListener.h
new file mode 100644
index 0000000..571b22d
--- /dev/null
+++ b/libjava/java/awt/Component$HeavyweightInLightweightListener.h
@@ -0,0 +1,42 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_Component$HeavyweightInLightweightListener__
+#define __java_awt_Component$HeavyweightInLightweightListener__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Component;
+ class Component$HeavyweightInLightweightListener;
+ class Container;
+ namespace event
+ {
+ class ComponentEvent;
+ }
+ }
+ }
+}
+
+class java::awt::Component$HeavyweightInLightweightListener : public ::java::lang::Object
+{
+
+public:
+ Component$HeavyweightInLightweightListener(::java::awt::Component *, ::java::awt::Container *);
+ virtual void componentResized(::java::awt::event::ComponentEvent *);
+ virtual void componentMoved(::java::awt::event::ComponentEvent *);
+ virtual void componentShown(::java::awt::event::ComponentEvent *);
+ virtual void componentHidden(::java::awt::event::ComponentEvent *);
+public: // actually package-private
+ ::java::awt::Component * __attribute__((aligned(__alignof__( ::java::lang::Object)))) this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_Component$HeavyweightInLightweightListener__
diff --git a/libjava/java/awt/Component.h b/libjava/java/awt/Component.h
new file mode 100644
index 0000000..4b14757
--- /dev/null
+++ b/libjava/java/awt/Component.h
@@ -0,0 +1,434 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_Component__
+#define __java_awt_Component__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class AWTEvent;
+ class Color;
+ class Component;
+ class ComponentOrientation;
+ class Container;
+ class Cursor;
+ class Dimension;
+ class Event;
+ class Font;
+ class FontMetrics;
+ class Graphics;
+ class GraphicsConfiguration;
+ class Image;
+ class ImageCapabilities;
+ class MenuComponent;
+ class Point;
+ class PopupMenu;
+ class Rectangle;
+ class Toolkit;
+ namespace dnd
+ {
+ class DropTarget;
+ }
+ namespace event
+ {
+ class ComponentEvent;
+ class ComponentListener;
+ class FocusEvent;
+ class FocusListener;
+ class HierarchyBoundsListener;
+ class HierarchyEvent;
+ class HierarchyListener;
+ class InputMethodEvent;
+ class InputMethodListener;
+ class KeyEvent;
+ class KeyListener;
+ class MouseEvent;
+ class MouseListener;
+ class MouseMotionListener;
+ class MouseWheelEvent;
+ class MouseWheelListener;
+ }
+ namespace im
+ {
+ class InputContext;
+ class InputMethodRequests;
+ }
+ namespace image
+ {
+ class BufferStrategy;
+ class ColorModel;
+ class ImageObserver;
+ class ImageProducer;
+ class VolatileImage;
+ }
+ namespace peer
+ {
+ class ComponentPeer;
+ }
+ }
+ namespace beans
+ {
+ class PropertyChangeListener;
+ class PropertyChangeSupport;
+ }
+ }
+ namespace javax
+ {
+ namespace accessibility
+ {
+ class AccessibleContext;
+ }
+ }
+}
+
+class java::awt::Component : public ::java::lang::Object
+{
+
+public: // actually protected
+ Component();
+public:
+ virtual ::java::lang::String * getName();
+ virtual void setName(::java::lang::String *);
+ virtual ::java::awt::Container * getParent();
+ virtual ::java::awt::peer::ComponentPeer * getPeer();
+ virtual void setDropTarget(::java::awt::dnd::DropTarget *);
+ virtual ::java::awt::dnd::DropTarget * getDropTarget();
+ virtual ::java::awt::GraphicsConfiguration * getGraphicsConfiguration();
+ virtual ::java::lang::Object * getTreeLock();
+ virtual ::java::awt::Toolkit * getToolkit();
+ virtual jboolean isValid();
+ virtual jboolean isDisplayable();
+ virtual jboolean isVisible();
+ virtual jboolean isShowing();
+ virtual jboolean isEnabled();
+ virtual void setEnabled(jboolean);
+ virtual void enable();
+ virtual void enable(jboolean);
+ virtual void disable();
+ virtual jboolean isDoubleBuffered();
+ virtual void enableInputMethods(jboolean);
+ virtual void setVisible(jboolean);
+ virtual void show();
+ virtual void show(jboolean);
+ virtual void hide();
+ virtual ::java::awt::Color * getForeground();
+ virtual void setForeground(::java::awt::Color *);
+ virtual jboolean isForegroundSet();
+ virtual ::java::awt::Color * getBackground();
+ virtual void setBackground(::java::awt::Color *);
+ virtual jboolean isBackgroundSet();
+ virtual ::java::awt::Font * getFont();
+private:
+ ::java::awt::Font * getFontImpl();
+public:
+ virtual void setFont(::java::awt::Font *);
+ virtual jboolean isFontSet();
+ virtual ::java::util::Locale * getLocale();
+ virtual void setLocale(::java::util::Locale *);
+ virtual ::java::awt::image::ColorModel * getColorModel();
+ virtual ::java::awt::Point * getLocation();
+ virtual ::java::awt::Point * getLocationOnScreen();
+ virtual ::java::awt::Point * location();
+ virtual void setLocation(jint, jint);
+ virtual void move(jint, jint);
+ virtual void setLocation(::java::awt::Point *);
+ virtual ::java::awt::Dimension * getSize();
+ virtual ::java::awt::Dimension * size();
+ virtual void setSize(jint, jint);
+ virtual void resize(jint, jint);
+ virtual void setSize(::java::awt::Dimension *);
+ virtual void resize(::java::awt::Dimension *);
+ virtual ::java::awt::Rectangle * getBounds();
+ virtual ::java::awt::Rectangle * bounds();
+ virtual void setBounds(jint, jint, jint, jint);
+ virtual void reshape(jint, jint, jint, jint);
+public: // actually package-private
+ virtual void notifyReshape(jboolean, jboolean);
+public:
+ virtual void setBounds(::java::awt::Rectangle *);
+ virtual jint getX();
+ virtual jint getY();
+ virtual jint getWidth();
+ virtual jint getHeight();
+ virtual ::java::awt::Rectangle * getBounds(::java::awt::Rectangle *);
+ virtual ::java::awt::Dimension * getSize(::java::awt::Dimension *);
+ virtual ::java::awt::Point * getLocation(::java::awt::Point *);
+ virtual jboolean isOpaque();
+ virtual jboolean isLightweight();
+ virtual ::java::awt::Dimension * getPreferredSize();
+ virtual void setPreferredSize(::java::awt::Dimension *);
+ virtual jboolean isPreferredSizeSet();
+ virtual ::java::awt::Dimension * preferredSize();
+public: // actually package-private
+ virtual ::java::awt::Dimension * preferredSizeImpl();
+public:
+ virtual ::java::awt::Dimension * getMinimumSize();
+ virtual void setMinimumSize(::java::awt::Dimension *);
+ virtual jboolean isMinimumSizeSet();
+ virtual ::java::awt::Dimension * minimumSize();
+public: // actually package-private
+ virtual ::java::awt::Dimension * minimumSizeImpl();
+public:
+ virtual ::java::awt::Dimension * getMaximumSize();
+public: // actually package-private
+ virtual ::java::awt::Dimension * maximumSizeImpl();
+public:
+ virtual void setMaximumSize(::java::awt::Dimension *);
+ virtual jboolean isMaximumSizeSet();
+ virtual jfloat getAlignmentX();
+ virtual jfloat getAlignmentY();
+ virtual void doLayout();
+ virtual void layout();
+ virtual void validate();
+ virtual void invalidate();
+ virtual ::java::awt::Graphics * getGraphics();
+ virtual ::java::awt::FontMetrics * getFontMetrics(::java::awt::Font *);
+ virtual void setCursor(::java::awt::Cursor *);
+ virtual ::java::awt::Cursor * getCursor();
+ virtual jboolean isCursorSet();
+ virtual void paint(::java::awt::Graphics *);
+ virtual void update(::java::awt::Graphics *);
+ virtual void paintAll(::java::awt::Graphics *);
+ virtual void repaint();
+ virtual void repaint(jlong);
+ virtual void repaint(jint, jint, jint, jint);
+ virtual void repaint(jlong, jint, jint, jint, jint);
+ virtual void print(::java::awt::Graphics *);
+ virtual void printAll(::java::awt::Graphics *);
+ virtual jboolean imageUpdate(::java::awt::Image *, jint, jint, jint, jint, jint);
+ virtual ::java::awt::Image * createImage(::java::awt::image::ImageProducer *);
+ virtual ::java::awt::Image * createImage(jint, jint);
+ virtual ::java::awt::image::VolatileImage * createVolatileImage(jint, jint);
+ virtual ::java::awt::image::VolatileImage * createVolatileImage(jint, jint, ::java::awt::ImageCapabilities *);
+ virtual jboolean prepareImage(::java::awt::Image *, ::java::awt::image::ImageObserver *);
+ virtual jboolean prepareImage(::java::awt::Image *, jint, jint, ::java::awt::image::ImageObserver *);
+ virtual jint checkImage(::java::awt::Image *, ::java::awt::image::ImageObserver *);
+ virtual jint checkImage(::java::awt::Image *, jint, jint, ::java::awt::image::ImageObserver *);
+ virtual void setIgnoreRepaint(jboolean);
+ virtual jboolean getIgnoreRepaint();
+ virtual jboolean contains(jint, jint);
+ virtual jboolean inside(jint, jint);
+ virtual jboolean contains(::java::awt::Point *);
+ virtual ::java::awt::Component * getComponentAt(jint, jint);
+ virtual ::java::awt::Component * locate(jint, jint);
+ virtual ::java::awt::Component * getComponentAt(::java::awt::Point *);
+ virtual void deliverEvent(::java::awt::Event *);
+ virtual void dispatchEvent(::java::awt::AWTEvent *);
+public: // actually package-private
+ static jboolean ignoreOldMouseEvents();
+public:
+ virtual jboolean postEvent(::java::awt::Event *);
+ virtual void addComponentListener(::java::awt::event::ComponentListener *);
+ virtual void removeComponentListener(::java::awt::event::ComponentListener *);
+ virtual JArray< ::java::awt::event::ComponentListener * > * getComponentListeners();
+ virtual void addFocusListener(::java::awt::event::FocusListener *);
+ virtual void removeFocusListener(::java::awt::event::FocusListener *);
+ virtual JArray< ::java::awt::event::FocusListener * > * getFocusListeners();
+ virtual void addHierarchyListener(::java::awt::event::HierarchyListener *);
+ virtual void removeHierarchyListener(::java::awt::event::HierarchyListener *);
+ virtual JArray< ::java::awt::event::HierarchyListener * > * getHierarchyListeners();
+ virtual void addHierarchyBoundsListener(::java::awt::event::HierarchyBoundsListener *);
+ virtual void removeHierarchyBoundsListener(::java::awt::event::HierarchyBoundsListener *);
+ virtual JArray< ::java::awt::event::HierarchyBoundsListener * > * getHierarchyBoundsListeners();
+public: // actually package-private
+ virtual void fireHierarchyEvent(jint, ::java::awt::Component *, ::java::awt::Container *, jlong);
+public:
+ virtual void addKeyListener(::java::awt::event::KeyListener *);
+ virtual void removeKeyListener(::java::awt::event::KeyListener *);
+ virtual JArray< ::java::awt::event::KeyListener * > * getKeyListeners();
+ virtual void addMouseListener(::java::awt::event::MouseListener *);
+ virtual void removeMouseListener(::java::awt::event::MouseListener *);
+ virtual JArray< ::java::awt::event::MouseListener * > * getMouseListeners();
+ virtual void addMouseMotionListener(::java::awt::event::MouseMotionListener *);
+ virtual void removeMouseMotionListener(::java::awt::event::MouseMotionListener *);
+ virtual JArray< ::java::awt::event::MouseMotionListener * > * getMouseMotionListeners();
+ virtual void addMouseWheelListener(::java::awt::event::MouseWheelListener *);
+ virtual void removeMouseWheelListener(::java::awt::event::MouseWheelListener *);
+ virtual JArray< ::java::awt::event::MouseWheelListener * > * getMouseWheelListeners();
+ virtual void addInputMethodListener(::java::awt::event::InputMethodListener *);
+ virtual void removeInputMethodListener(::java::awt::event::InputMethodListener *);
+ virtual JArray< ::java::awt::event::InputMethodListener * > * getInputMethodListeners();
+ virtual JArray< ::java::util::EventListener * > * getListeners(::java::lang::Class *);
+ virtual ::java::awt::im::InputMethodRequests * getInputMethodRequests();
+ virtual ::java::awt::im::InputContext * getInputContext();
+public: // actually protected
+ virtual void enableEvents(jlong);
+ virtual void disableEvents(jlong);
+ virtual ::java::awt::AWTEvent * coalesceEvents(::java::awt::AWTEvent *, ::java::awt::AWTEvent *);
+ virtual void processEvent(::java::awt::AWTEvent *);
+ virtual void processComponentEvent(::java::awt::event::ComponentEvent *);
+ virtual void processFocusEvent(::java::awt::event::FocusEvent *);
+ virtual void processKeyEvent(::java::awt::event::KeyEvent *);
+ virtual void processMouseEvent(::java::awt::event::MouseEvent *);
+ virtual void processMouseMotionEvent(::java::awt::event::MouseEvent *);
+ virtual void processMouseWheelEvent(::java::awt::event::MouseWheelEvent *);
+ virtual void processInputMethodEvent(::java::awt::event::InputMethodEvent *);
+ virtual void processHierarchyEvent(::java::awt::event::HierarchyEvent *);
+ virtual void processHierarchyBoundsEvent(::java::awt::event::HierarchyEvent *);
+public:
+ virtual jboolean handleEvent(::java::awt::Event *);
+ virtual jboolean mouseDown(::java::awt::Event *, jint, jint);
+ virtual jboolean mouseDrag(::java::awt::Event *, jint, jint);
+ virtual jboolean mouseUp(::java::awt::Event *, jint, jint);
+ virtual jboolean mouseMove(::java::awt::Event *, jint, jint);
+ virtual jboolean mouseEnter(::java::awt::Event *, jint, jint);
+ virtual jboolean mouseExit(::java::awt::Event *, jint, jint);
+ virtual jboolean keyDown(::java::awt::Event *, jint);
+ virtual jboolean keyUp(::java::awt::Event *, jint);
+ virtual jboolean action(::java::awt::Event *, ::java::lang::Object *);
+ virtual void addNotify();
+ virtual void removeNotify();
+ virtual jboolean gotFocus(::java::awt::Event *, ::java::lang::Object *);
+ virtual jboolean lostFocus(::java::awt::Event *, ::java::lang::Object *);
+ virtual jboolean isFocusTraversable();
+ virtual jboolean isFocusable();
+ virtual void setFocusable(jboolean);
+ virtual void setFocusTraversalKeys(jint, ::java::util::Set *);
+ virtual ::java::util::Set * getFocusTraversalKeys(jint);
+ virtual jboolean areFocusTraversalKeysSet(jint);
+ virtual void setFocusTraversalKeysEnabled(jboolean);
+ virtual jboolean getFocusTraversalKeysEnabled();
+ virtual void requestFocus();
+public: // actually protected
+ virtual jboolean requestFocus(jboolean);
+public:
+ virtual jboolean requestFocusInWindow();
+public: // actually protected
+ virtual jboolean requestFocusInWindow(jboolean);
+private:
+ jboolean requestFocusImpl(jboolean, jboolean);
+public:
+ virtual void transferFocus();
+ virtual ::java::awt::Container * getFocusCycleRootAncestor();
+ virtual jboolean isFocusCycleRoot(::java::awt::Container *);
+ virtual void nextFocus();
+ virtual void transferFocusBackward();
+ virtual void transferFocusUpCycle();
+ virtual jboolean hasFocus();
+ virtual jboolean isFocusOwner();
+ virtual void add(::java::awt::PopupMenu *);
+ virtual void remove(::java::awt::MenuComponent *);
+public: // actually protected
+ virtual ::java::lang::String * paramString();
+public:
+ virtual ::java::lang::String * toString();
+ virtual void list();
+ virtual void list(::java::io::PrintStream *);
+ virtual void list(::java::io::PrintStream *, jint);
+ virtual void list(::java::io::PrintWriter *);
+ virtual void list(::java::io::PrintWriter *, jint);
+ virtual void addPropertyChangeListener(::java::beans::PropertyChangeListener *);
+ virtual void removePropertyChangeListener(::java::beans::PropertyChangeListener *);
+ virtual JArray< ::java::beans::PropertyChangeListener * > * getPropertyChangeListeners();
+ virtual void addPropertyChangeListener(::java::lang::String *, ::java::beans::PropertyChangeListener *);
+ virtual void removePropertyChangeListener(::java::lang::String *, ::java::beans::PropertyChangeListener *);
+ virtual JArray< ::java::beans::PropertyChangeListener * > * getPropertyChangeListeners(::java::lang::String *);
+public: // actually protected
+ virtual void firePropertyChange(::java::lang::String *, ::java::lang::Object *, ::java::lang::Object *);
+ virtual void firePropertyChange(::java::lang::String *, jboolean, jboolean);
+ virtual void firePropertyChange(::java::lang::String *, jint, jint);
+public:
+ virtual void firePropertyChange(::java::lang::String *, jbyte, jbyte);
+ virtual void firePropertyChange(::java::lang::String *, jchar, jchar);
+ virtual void firePropertyChange(::java::lang::String *, jshort, jshort);
+ virtual void firePropertyChange(::java::lang::String *, jlong, jlong);
+ virtual void firePropertyChange(::java::lang::String *, jfloat, jfloat);
+ virtual void firePropertyChange(::java::lang::String *, jdouble, jdouble);
+ virtual void setComponentOrientation(::java::awt::ComponentOrientation *);
+ virtual ::java::awt::ComponentOrientation * getComponentOrientation();
+ virtual void applyComponentOrientation(::java::awt::ComponentOrientation *);
+ virtual ::javax::accessibility::AccessibleContext * getAccessibleContext();
+public: // actually package-private
+ virtual ::java::lang::String * generateName();
+ virtual void setPeer(::java::awt::peer::ComponentPeer *);
+ virtual ::java::awt::GraphicsConfiguration * getGraphicsConfigurationImpl();
+ static ::java::awt::Event * translateEvent(::java::awt::AWTEvent *);
+ virtual void dispatchEventImpl(::java::awt::AWTEvent *);
+ virtual jboolean eventTypeEnabled(jint);
+ virtual jboolean isHierarchyVisible();
+ virtual ::java::awt::Component * findNextFocusComponent(::java::awt::Component *);
+private:
+ void readObject(::java::io::ObjectInputStream *);
+ void writeObject(::java::io::ObjectOutputStream *);
+ static const jlong serialVersionUID = -7644114512714619750LL;
+public:
+ static jfloat TOP_ALIGNMENT;
+ static jfloat CENTER_ALIGNMENT;
+ static jfloat BOTTOM_ALIGNMENT;
+ static jfloat RIGHT_ALIGNMENT;
+ static jfloat LEFT_ALIGNMENT;
+public: // actually package-private
+ static ::java::lang::Object * treeLock;
+private:
+ static ::java::awt::Dimension * DEFAULT_MAX_SIZE;
+public: // actually package-private
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) x;
+ jint y;
+ jint width;
+ jint height;
+ ::java::awt::Color * foreground;
+ ::java::awt::Color * background;
+ ::java::awt::Font * font;
+ ::java::awt::Font * peerFont;
+ ::java::awt::Cursor * cursor;
+ ::java::util::Locale * locale;
+ jboolean ignoreRepaint;
+ jboolean visible;
+ jboolean enabled;
+ jboolean valid;
+ ::java::awt::dnd::DropTarget * dropTarget;
+ ::java::util::Vector * popups;
+ ::java::lang::String * name;
+ jboolean nameExplicitlySet;
+ jboolean focusable;
+ jint isFocusTraversableOverridden;
+ JArray< ::java::util::Set * > * focusTraversalKeys;
+ jboolean focusTraversalKeysEnabled;
+ ::java::awt::Dimension * minSize;
+ jboolean minSizeSet;
+ ::java::awt::Dimension * maxSize;
+ jboolean maxSizeSet;
+ ::java::awt::Dimension * prefSize;
+ jboolean prefSizeSet;
+ jboolean newEventsOnly;
+ jlong eventMask;
+ ::java::beans::PropertyChangeSupport * changeSupport;
+ jboolean isPacked;
+ jint componentSerializedDataVersion;
+ ::javax::accessibility::AccessibleContext * accessibleContext;
+ ::java::awt::event::ComponentListener * componentListener;
+ ::java::awt::event::FocusListener * focusListener;
+ ::java::awt::event::KeyListener * keyListener;
+ ::java::awt::event::MouseListener * mouseListener;
+ ::java::awt::event::MouseMotionListener * mouseMotionListener;
+ ::java::awt::event::MouseWheelListener * mouseWheelListener;
+ ::java::awt::event::InputMethodListener * inputMethodListener;
+ ::java::awt::event::HierarchyListener * hierarchyListener;
+ ::java::awt::event::HierarchyBoundsListener * hierarchyBoundsListener;
+ ::java::awt::Container * parent;
+ ::java::awt::peer::ComponentPeer * peer;
+ ::java::awt::ComponentOrientation * componentOrientation;
+ ::java::awt::GraphicsConfiguration * graphicsConfig;
+ ::java::awt::image::BufferStrategy * bufferStrategy;
+ jint numHierarchyListeners;
+ jint numHierarchyBoundsListeners;
+private:
+ ::java::awt::event::FocusEvent * pendingFocusRequest;
+ static jboolean incrementalDraw;
+ static ::java::lang::Long * redrawRate;
+public: // actually package-private
+ static jboolean $assertionsDisabled;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_Component__
diff --git a/libjava/java/awt/ComponentOrientation.h b/libjava/java/awt/ComponentOrientation.h
new file mode 100644
index 0000000..fe3ef9c
--- /dev/null
+++ b/libjava/java/awt/ComponentOrientation.h
@@ -0,0 +1,45 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_ComponentOrientation__
+#define __java_awt_ComponentOrientation__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class ComponentOrientation;
+ }
+ }
+}
+
+class java::awt::ComponentOrientation : public ::java::lang::Object
+{
+
+ ComponentOrientation(jint);
+public:
+ jboolean isHorizontal();
+ jboolean isLeftToRight();
+ static ::java::awt::ComponentOrientation * getOrientation(::java::util::Locale *);
+ static ::java::awt::ComponentOrientation * getOrientation(::java::util::ResourceBundle *);
+private:
+ static const jlong serialVersionUID = -4113291392143563828LL;
+ static const jint UNKNOWN_ID = 1;
+ static const jint HORIZONTAL_ID = 2;
+ static const jint LEFT_TO_RIGHT_ID = 4;
+public:
+ static ::java::awt::ComponentOrientation * LEFT_TO_RIGHT;
+ static ::java::awt::ComponentOrientation * RIGHT_TO_LEFT;
+ static ::java::awt::ComponentOrientation * UNKNOWN;
+private:
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) orientation;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_ComponentOrientation__
diff --git a/libjava/java/awt/Composite.h b/libjava/java/awt/Composite.h
new file mode 100644
index 0000000..1eed4bc
--- /dev/null
+++ b/libjava/java/awt/Composite.h
@@ -0,0 +1,35 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_Composite__
+#define __java_awt_Composite__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Composite;
+ class CompositeContext;
+ class RenderingHints;
+ namespace image
+ {
+ class ColorModel;
+ }
+ }
+ }
+}
+
+class java::awt::Composite : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::awt::CompositeContext * createContext(::java::awt::image::ColorModel *, ::java::awt::image::ColorModel *, ::java::awt::RenderingHints *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_awt_Composite__
diff --git a/libjava/java/awt/CompositeContext.h b/libjava/java/awt/CompositeContext.h
new file mode 100644
index 0000000..83195ab
--- /dev/null
+++ b/libjava/java/awt/CompositeContext.h
@@ -0,0 +1,35 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_CompositeContext__
+#define __java_awt_CompositeContext__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class CompositeContext;
+ namespace image
+ {
+ class Raster;
+ class WritableRaster;
+ }
+ }
+ }
+}
+
+class java::awt::CompositeContext : public ::java::lang::Object
+{
+
+public:
+ virtual void dispose() = 0;
+ virtual void compose(::java::awt::image::Raster *, ::java::awt::image::Raster *, ::java::awt::image::WritableRaster *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_awt_CompositeContext__
diff --git a/libjava/java/awt/Container$AccessibleAWTContainer$AccessibleContainerHandler.h b/libjava/java/awt/Container$AccessibleAWTContainer$AccessibleContainerHandler.h
new file mode 100644
index 0000000..ae8aa68
--- /dev/null
+++ b/libjava/java/awt/Container$AccessibleAWTContainer$AccessibleContainerHandler.h
@@ -0,0 +1,40 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_Container$AccessibleAWTContainer$AccessibleContainerHandler__
+#define __java_awt_Container$AccessibleAWTContainer$AccessibleContainerHandler__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Container$AccessibleAWTContainer;
+ class Container$AccessibleAWTContainer$AccessibleContainerHandler;
+ namespace event
+ {
+ class ContainerEvent;
+ }
+ }
+ }
+}
+
+class java::awt::Container$AccessibleAWTContainer$AccessibleContainerHandler : public ::java::lang::Object
+{
+
+public: // actually protected
+ Container$AccessibleAWTContainer$AccessibleContainerHandler(::java::awt::Container$AccessibleAWTContainer *);
+public:
+ virtual void componentAdded(::java::awt::event::ContainerEvent *);
+ virtual void componentRemoved(::java::awt::event::ContainerEvent *);
+public: // actually package-private
+ ::java::awt::Container$AccessibleAWTContainer * __attribute__((aligned(__alignof__( ::java::lang::Object)))) this$1;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_Container$AccessibleAWTContainer$AccessibleContainerHandler__
diff --git a/libjava/java/awt/Container$AccessibleAWTContainer.h b/libjava/java/awt/Container$AccessibleAWTContainer.h
new file mode 100644
index 0000000..fe13263
--- /dev/null
+++ b/libjava/java/awt/Container$AccessibleAWTContainer.h
@@ -0,0 +1,53 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_Container$AccessibleAWTContainer__
+#define __java_awt_Container$AccessibleAWTContainer__
+
+#pragma interface
+
+#include <java/awt/Component$AccessibleAWTComponent.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Container;
+ class Container$AccessibleAWTContainer;
+ class Point;
+ namespace event
+ {
+ class ContainerListener;
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace accessibility
+ {
+ class Accessible;
+ }
+ }
+}
+
+class java::awt::Container$AccessibleAWTContainer : public ::java::awt::Component$AccessibleAWTComponent
+{
+
+public: // actually protected
+ Container$AccessibleAWTContainer(::java::awt::Container *);
+public:
+ virtual jint getAccessibleChildrenCount();
+ virtual ::javax::accessibility::Accessible * getAccessibleChild(jint);
+ virtual ::javax::accessibility::Accessible * getAccessibleAt(::java::awt::Point *);
+private:
+ static const jlong serialVersionUID = 5081320404842566097LL;
+public: // actually protected
+ ::java::awt::event::ContainerListener * __attribute__((aligned(__alignof__( ::java::awt::Component$AccessibleAWTComponent)))) accessibleContainerHandler;
+public: // actually package-private
+ ::java::awt::Container * this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_Container$AccessibleAWTContainer__
diff --git a/libjava/java/awt/Container$GfxPaintAllVisitor.h b/libjava/java/awt/Container$GfxPaintAllVisitor.h
new file mode 100644
index 0000000..cd3e68e
--- /dev/null
+++ b/libjava/java/awt/Container$GfxPaintAllVisitor.h
@@ -0,0 +1,35 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_Container$GfxPaintAllVisitor__
+#define __java_awt_Container$GfxPaintAllVisitor__
+
+#pragma interface
+
+#include <java/awt/Container$GfxVisitor.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Component;
+ class Container$GfxPaintAllVisitor;
+ class Container$GfxVisitor;
+ class Graphics;
+ }
+ }
+}
+
+class java::awt::Container$GfxPaintAllVisitor : public ::java::awt::Container$GfxVisitor
+{
+
+public: // actually package-private
+ Container$GfxPaintAllVisitor();
+public:
+ virtual void visit(::java::awt::Component *, ::java::awt::Graphics *);
+ static ::java::awt::Container$GfxVisitor * INSTANCE;
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_Container$GfxPaintAllVisitor__
diff --git a/libjava/java/awt/Container$GfxPaintVisitor.h b/libjava/java/awt/Container$GfxPaintVisitor.h
new file mode 100644
index 0000000..c75ddd1
--- /dev/null
+++ b/libjava/java/awt/Container$GfxPaintVisitor.h
@@ -0,0 +1,35 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_Container$GfxPaintVisitor__
+#define __java_awt_Container$GfxPaintVisitor__
+
+#pragma interface
+
+#include <java/awt/Container$GfxVisitor.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Component;
+ class Container$GfxPaintVisitor;
+ class Container$GfxVisitor;
+ class Graphics;
+ }
+ }
+}
+
+class java::awt::Container$GfxPaintVisitor : public ::java::awt::Container$GfxVisitor
+{
+
+public: // actually package-private
+ Container$GfxPaintVisitor();
+public:
+ virtual void visit(::java::awt::Component *, ::java::awt::Graphics *);
+ static ::java::awt::Container$GfxVisitor * INSTANCE;
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_Container$GfxPaintVisitor__
diff --git a/libjava/java/awt/Container$GfxPrintAllVisitor.h b/libjava/java/awt/Container$GfxPrintAllVisitor.h
new file mode 100644
index 0000000..acc4a8b
--- /dev/null
+++ b/libjava/java/awt/Container$GfxPrintAllVisitor.h
@@ -0,0 +1,35 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_Container$GfxPrintAllVisitor__
+#define __java_awt_Container$GfxPrintAllVisitor__
+
+#pragma interface
+
+#include <java/awt/Container$GfxVisitor.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Component;
+ class Container$GfxPrintAllVisitor;
+ class Container$GfxVisitor;
+ class Graphics;
+ }
+ }
+}
+
+class java::awt::Container$GfxPrintAllVisitor : public ::java::awt::Container$GfxVisitor
+{
+
+public: // actually package-private
+ Container$GfxPrintAllVisitor();
+public:
+ virtual void visit(::java::awt::Component *, ::java::awt::Graphics *);
+ static ::java::awt::Container$GfxVisitor * INSTANCE;
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_Container$GfxPrintAllVisitor__
diff --git a/libjava/java/awt/Container$GfxPrintVisitor.h b/libjava/java/awt/Container$GfxPrintVisitor.h
new file mode 100644
index 0000000..557530b
--- /dev/null
+++ b/libjava/java/awt/Container$GfxPrintVisitor.h
@@ -0,0 +1,35 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_Container$GfxPrintVisitor__
+#define __java_awt_Container$GfxPrintVisitor__
+
+#pragma interface
+
+#include <java/awt/Container$GfxVisitor.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Component;
+ class Container$GfxPrintVisitor;
+ class Container$GfxVisitor;
+ class Graphics;
+ }
+ }
+}
+
+class java::awt::Container$GfxPrintVisitor : public ::java::awt::Container$GfxVisitor
+{
+
+public: // actually package-private
+ Container$GfxPrintVisitor();
+public:
+ virtual void visit(::java::awt::Component *, ::java::awt::Graphics *);
+ static ::java::awt::Container$GfxVisitor * INSTANCE;
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_Container$GfxPrintVisitor__
diff --git a/libjava/java/awt/Container$GfxVisitor.h b/libjava/java/awt/Container$GfxVisitor.h
new file mode 100644
index 0000000..97322e8
--- /dev/null
+++ b/libjava/java/awt/Container$GfxVisitor.h
@@ -0,0 +1,33 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_Container$GfxVisitor__
+#define __java_awt_Container$GfxVisitor__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Component;
+ class Container$GfxVisitor;
+ class Graphics;
+ }
+ }
+}
+
+class java::awt::Container$GfxVisitor : public ::java::lang::Object
+{
+
+public: // actually package-private
+ Container$GfxVisitor();
+public:
+ virtual void visit(::java::awt::Component *, ::java::awt::Graphics *) = 0;
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_Container$GfxVisitor__
diff --git a/libjava/java/awt/Container.h b/libjava/java/awt/Container.h
new file mode 100644
index 0000000..4a44759
--- /dev/null
+++ b/libjava/java/awt/Container.h
@@ -0,0 +1,164 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_Container__
+#define __java_awt_Container__
+
+#pragma interface
+
+#include <java/awt/Component.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class AWTEvent;
+ class Component;
+ class ComponentOrientation;
+ class Container;
+ class Container$GfxVisitor;
+ class Dimension;
+ class Event;
+ class FocusTraversalPolicy;
+ class Font;
+ class Graphics;
+ class Insets;
+ class LayoutManager;
+ class Point;
+ namespace event
+ {
+ class ContainerEvent;
+ class ContainerListener;
+ }
+ }
+ namespace beans
+ {
+ class PropertyChangeListener;
+ }
+ }
+}
+
+class java::awt::Container : public ::java::awt::Component
+{
+
+public:
+ Container();
+ virtual jint getComponentCount();
+ virtual jint countComponents();
+ virtual ::java::awt::Component * getComponent(jint);
+ virtual JArray< ::java::awt::Component * > * getComponents();
+ virtual ::java::awt::Insets * getInsets();
+ virtual ::java::awt::Insets * insets();
+ virtual ::java::awt::Component * add(::java::awt::Component *);
+ virtual ::java::awt::Component * add(::java::lang::String *, ::java::awt::Component *);
+ virtual ::java::awt::Component * add(::java::awt::Component *, jint);
+ virtual void add(::java::awt::Component *, ::java::lang::Object *);
+ virtual void add(::java::awt::Component *, ::java::lang::Object *, jint);
+public: // actually protected
+ virtual void addImpl(::java::awt::Component *, ::java::lang::Object *, jint);
+public:
+ virtual void remove(jint);
+ virtual void remove(::java::awt::Component *);
+ virtual void removeAll();
+ virtual ::java::awt::LayoutManager * getLayout();
+ virtual void setLayout(::java::awt::LayoutManager *);
+ virtual void doLayout();
+ virtual void layout();
+ virtual void invalidate();
+ virtual void validate();
+private:
+ void invalidateTree();
+public: // actually protected
+ virtual void validateTree();
+public:
+ virtual void setFont(::java::awt::Font *);
+ virtual ::java::awt::Dimension * getPreferredSize();
+ virtual ::java::awt::Dimension * preferredSize();
+ virtual ::java::awt::Dimension * getMinimumSize();
+ virtual ::java::awt::Dimension * minimumSize();
+ virtual ::java::awt::Dimension * getMaximumSize();
+ virtual jfloat getAlignmentX();
+ virtual jfloat getAlignmentY();
+ virtual void paint(::java::awt::Graphics *);
+ virtual void update(::java::awt::Graphics *);
+ virtual void print(::java::awt::Graphics *);
+ virtual void paintComponents(::java::awt::Graphics *);
+ virtual void printComponents(::java::awt::Graphics *);
+ virtual void addContainerListener(::java::awt::event::ContainerListener *);
+ virtual void removeContainerListener(::java::awt::event::ContainerListener *);
+ virtual JArray< ::java::awt::event::ContainerListener * > * getContainerListeners();
+ virtual JArray< ::java::util::EventListener * > * getListeners(::java::lang::Class *);
+public: // actually protected
+ virtual void processEvent(::java::awt::AWTEvent *);
+ virtual void processContainerEvent(::java::awt::event::ContainerEvent *);
+public:
+ virtual void deliverEvent(::java::awt::Event *);
+ virtual ::java::awt::Component * getComponentAt(jint, jint);
+ virtual ::java::awt::Component * locate(jint, jint);
+ virtual ::java::awt::Component * getComponentAt(::java::awt::Point *);
+ virtual ::java::awt::Component * findComponentAt(jint, jint);
+ virtual ::java::awt::Component * findComponentAt(::java::awt::Point *);
+ virtual void addNotify();
+ virtual void removeNotify();
+ virtual jboolean isAncestorOf(::java::awt::Component *);
+public: // actually protected
+ virtual ::java::lang::String * paramString();
+public:
+ virtual void list(::java::io::PrintStream *, jint);
+ virtual void list(::java::io::PrintWriter *, jint);
+ virtual void setFocusTraversalKeys(jint, ::java::util::Set *);
+ virtual ::java::util::Set * getFocusTraversalKeys(jint);
+ virtual jboolean areFocusTraversalKeysSet(jint);
+ virtual jboolean isFocusCycleRoot(::java::awt::Container *);
+ virtual void setFocusTraversalPolicy(::java::awt::FocusTraversalPolicy *);
+ virtual ::java::awt::FocusTraversalPolicy * getFocusTraversalPolicy();
+ virtual jboolean isFocusTraversalPolicySet();
+ virtual void setFocusCycleRoot(jboolean);
+ virtual jboolean isFocusTraversalPolicyProvider();
+ virtual void setFocusTraversalPolicyProvider(jboolean);
+ virtual jboolean isFocusCycleRoot();
+ virtual void transferFocusDownCycle();
+ virtual void applyComponentOrientation(::java::awt::ComponentOrientation *);
+ virtual void addPropertyChangeListener(::java::beans::PropertyChangeListener *);
+ virtual void addPropertyChangeListener(::java::lang::String *, ::java::beans::PropertyChangeListener *);
+ virtual void setComponentZOrder(::java::awt::Component *, jint);
+ virtual jint getComponentZOrder(::java::awt::Component *);
+private:
+ void visitChildren(::java::awt::Graphics *, ::java::awt::Container$GfxVisitor *, jboolean);
+ void visitChild(::java::awt::Graphics *, ::java::awt::Container$GfxVisitor *, ::java::awt::Component *);
+public: // actually package-private
+ virtual void dispatchEventImpl(::java::awt::AWTEvent *);
+ virtual void dispatchNoLightweight(::java::awt::AWTEvent *);
+ virtual jboolean eventTypeEnabled(jint);
+ virtual ::java::awt::Component * findNextFocusComponent(::java::awt::Component *);
+ virtual void fireHierarchyEvent(jint, ::java::awt::Component *, ::java::awt::Container *, jlong);
+ virtual void updateHierarchyListenerCount(jlong, jint);
+ virtual void notifyReshape(jboolean, jboolean);
+private:
+ void addNotifyContainerChildren();
+ void readObject(::java::io::ObjectInputStream *);
+ void writeObject(::java::io::ObjectOutputStream *);
+ static const jlong serialVersionUID = 4613797578919906343LL;
+public: // actually package-private
+ jint __attribute__((aligned(__alignof__( ::java::awt::Component)))) ncomponents;
+ JArray< ::java::awt::Component * > * component;
+ ::java::awt::LayoutManager * layoutMgr;
+ jboolean focusCycleRoot;
+private:
+ jboolean focusTraversalPolicyProvider;
+public: // actually package-private
+ jint containerSerializedDataVersion;
+ ::java::awt::event::ContainerListener * containerListener;
+private:
+ ::java::awt::FocusTraversalPolicy * focusTraversalPolicy;
+public: // actually package-private
+ JArray< ::java::util::Set * > * focusTraversalKeys;
+ static jboolean $assertionsDisabled;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_Container__
diff --git a/libjava/java/awt/ContainerOrderFocusTraversalPolicy.h b/libjava/java/awt/ContainerOrderFocusTraversalPolicy.h
new file mode 100644
index 0000000..8f0e89f
--- /dev/null
+++ b/libjava/java/awt/ContainerOrderFocusTraversalPolicy.h
@@ -0,0 +1,52 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_ContainerOrderFocusTraversalPolicy__
+#define __java_awt_ContainerOrderFocusTraversalPolicy__
+
+#pragma interface
+
+#include <java/awt/FocusTraversalPolicy.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Component;
+ class Container;
+ class ContainerOrderFocusTraversalPolicy;
+ }
+ }
+}
+
+class java::awt::ContainerOrderFocusTraversalPolicy : public ::java::awt::FocusTraversalPolicy
+{
+
+public:
+ ContainerOrderFocusTraversalPolicy();
+ virtual ::java::awt::Component * getComponentAfter(::java::awt::Container *, ::java::awt::Component *);
+private:
+ ::java::awt::Component * getNextAvailableComponent(JArray< ::java::awt::Component * > *, jint, jint);
+public: // actually package-private
+ virtual ::java::awt::Component * getPrevAvailableComponent(JArray< ::java::awt::Component * > *, jint, jint);
+public:
+ virtual ::java::awt::Component * getComponentBefore(::java::awt::Container *, ::java::awt::Component *);
+ virtual ::java::awt::Component * getFirstComponent(::java::awt::Container *);
+ virtual ::java::awt::Component * getLastComponent(::java::awt::Container *);
+ virtual ::java::awt::Component * getDefaultComponent(::java::awt::Container *);
+ virtual void setImplicitDownCycleTraversal(jboolean);
+ virtual jboolean getImplicitDownCycleTraversal();
+public: // actually protected
+ virtual jboolean accept(::java::awt::Component *);
+public: // actually package-private
+ static const jlong serialVersionUID = 486933713763926351LL;
+private:
+ jboolean __attribute__((aligned(__alignof__( ::java::awt::FocusTraversalPolicy)))) implicitDownCycleTraversal;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_ContainerOrderFocusTraversalPolicy__
diff --git a/libjava/java/awt/Cursor.h b/libjava/java/awt/Cursor.h
new file mode 100644
index 0000000..3d50e63
--- /dev/null
+++ b/libjava/java/awt/Cursor.h
@@ -0,0 +1,69 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_Cursor__
+#define __java_awt_Cursor__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Cursor;
+ }
+ }
+}
+
+class java::awt::Cursor : public ::java::lang::Object
+{
+
+public:
+ Cursor(jint);
+public: // actually protected
+ Cursor(::java::lang::String *);
+public:
+ static ::java::awt::Cursor * getPredefinedCursor(jint);
+ static ::java::awt::Cursor * getSystemCustomCursor(::java::lang::String *);
+ static ::java::awt::Cursor * getDefaultCursor();
+ virtual jint getType();
+ virtual ::java::lang::String * getName();
+ virtual ::java::lang::String * toString();
+public: // actually package-private
+ static const jlong serialVersionUID = 8028237497568985504LL;
+public:
+ static const jint DEFAULT_CURSOR = 0;
+ static const jint CROSSHAIR_CURSOR = 1;
+ static const jint TEXT_CURSOR = 2;
+ static const jint WAIT_CURSOR = 3;
+ static const jint SW_RESIZE_CURSOR = 4;
+ static const jint SE_RESIZE_CURSOR = 5;
+ static const jint NW_RESIZE_CURSOR = 6;
+ static const jint NE_RESIZE_CURSOR = 7;
+ static const jint N_RESIZE_CURSOR = 8;
+ static const jint S_RESIZE_CURSOR = 9;
+ static const jint W_RESIZE_CURSOR = 10;
+ static const jint E_RESIZE_CURSOR = 11;
+ static const jint HAND_CURSOR = 12;
+ static const jint MOVE_CURSOR = 13;
+private:
+ static JArray< ::java::lang::String * > * NAMES;
+public:
+ static const jint CUSTOM_CURSOR = -1;
+private:
+ static const jint PREDEFINED_COUNT = 14;
+public: // actually protected
+ static JArray< ::java::awt::Cursor * > * predefined;
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) name;
+public: // actually package-private
+ jint type;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_Cursor__
diff --git a/libjava/java/awt/DefaultFocusTraversalPolicy.h b/libjava/java/awt/DefaultFocusTraversalPolicy.h
new file mode 100644
index 0000000..d6f2298
--- /dev/null
+++ b/libjava/java/awt/DefaultFocusTraversalPolicy.h
@@ -0,0 +1,35 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_DefaultFocusTraversalPolicy__
+#define __java_awt_DefaultFocusTraversalPolicy__
+
+#pragma interface
+
+#include <java/awt/ContainerOrderFocusTraversalPolicy.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Component;
+ class DefaultFocusTraversalPolicy;
+ }
+ }
+}
+
+class java::awt::DefaultFocusTraversalPolicy : public ::java::awt::ContainerOrderFocusTraversalPolicy
+{
+
+public:
+ DefaultFocusTraversalPolicy();
+public: // actually protected
+ virtual jboolean accept(::java::awt::Component *);
+private:
+ static const jlong serialVersionUID = 8876966522510157497LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_DefaultFocusTraversalPolicy__
diff --git a/libjava/java/awt/DefaultKeyboardFocusManager$EventDelayRequest.h b/libjava/java/awt/DefaultKeyboardFocusManager$EventDelayRequest.h
new file mode 100644
index 0000000..7061d49
--- /dev/null
+++ b/libjava/java/awt/DefaultKeyboardFocusManager$EventDelayRequest.h
@@ -0,0 +1,48 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_DefaultKeyboardFocusManager$EventDelayRequest__
+#define __java_awt_DefaultKeyboardFocusManager$EventDelayRequest__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Component;
+ class DefaultKeyboardFocusManager;
+ class DefaultKeyboardFocusManager$EventDelayRequest;
+ namespace event
+ {
+ class KeyEvent;
+ }
+ }
+ }
+}
+
+class java::awt::DefaultKeyboardFocusManager$EventDelayRequest : public ::java::lang::Object
+{
+
+public:
+ DefaultKeyboardFocusManager$EventDelayRequest(::java::awt::DefaultKeyboardFocusManager *, jlong, ::java::awt::Component *);
+ virtual jint compareTo(::java::lang::Object *);
+ virtual jboolean equals(::java::lang::Object *);
+ virtual void enqueueEvent(::java::awt::event::KeyEvent *);
+ virtual void dispatchEvents();
+ virtual void discardEvents();
+private:
+ ::java::util::LinkedList * __attribute__((aligned(__alignof__( ::java::lang::Object)))) enqueuedKeyEvents;
+public:
+ jlong timestamp;
+ ::java::awt::Component * focusedComp;
+public: // actually package-private
+ ::java::awt::DefaultKeyboardFocusManager * this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_DefaultKeyboardFocusManager$EventDelayRequest__
diff --git a/libjava/java/awt/DefaultKeyboardFocusManager.h b/libjava/java/awt/DefaultKeyboardFocusManager.h
new file mode 100644
index 0000000..ce9e446
--- /dev/null
+++ b/libjava/java/awt/DefaultKeyboardFocusManager.h
@@ -0,0 +1,60 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_DefaultKeyboardFocusManager__
+#define __java_awt_DefaultKeyboardFocusManager__
+
+#pragma interface
+
+#include <java/awt/KeyboardFocusManager.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class AWTEvent;
+ class AWTKeyStroke;
+ class Component;
+ class Container;
+ class DefaultKeyboardFocusManager;
+ namespace event
+ {
+ class FocusEvent;
+ class KeyEvent;
+ }
+ }
+ }
+}
+
+class java::awt::DefaultKeyboardFocusManager : public ::java::awt::KeyboardFocusManager
+{
+
+public:
+ DefaultKeyboardFocusManager();
+ virtual jboolean dispatchEvent(::java::awt::AWTEvent *);
+private:
+ jboolean handleFocusGained(::java::awt::event::FocusEvent *);
+ jboolean handleFocusLost(::java::awt::event::FocusEvent *);
+ jboolean enqueueKeyEvent(::java::awt::event::KeyEvent *);
+public:
+ virtual jboolean dispatchKeyEvent(::java::awt::event::KeyEvent *);
+ virtual jboolean postProcessKeyEvent(::java::awt::event::KeyEvent *);
+ virtual void processKeyEvent(::java::awt::Component *, ::java::awt::event::KeyEvent *);
+public: // actually protected
+ virtual void enqueueKeyEvents(jlong, ::java::awt::Component *);
+ virtual void dequeueKeyEvents(jlong, ::java::awt::Component *);
+ virtual void discardKeyEvents(::java::awt::Component *);
+public:
+ virtual void focusPreviousComponent(::java::awt::Component *);
+ virtual void focusNextComponent(::java::awt::Component *);
+ virtual void upFocusCycle(::java::awt::Component *);
+ virtual void downFocusCycle(::java::awt::Container *);
+private:
+ ::java::awt::AWTKeyStroke * __attribute__((aligned(__alignof__( ::java::awt::KeyboardFocusManager)))) waitForKeyStroke;
+ ::java::util::SortedSet * delayRequests;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_DefaultKeyboardFocusManager__
diff --git a/libjava/java/awt/Dialog$AccessibleAWTDialog.h b/libjava/java/awt/Dialog$AccessibleAWTDialog.h
new file mode 100644
index 0000000..b8bf577
--- /dev/null
+++ b/libjava/java/awt/Dialog$AccessibleAWTDialog.h
@@ -0,0 +1,46 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_Dialog$AccessibleAWTDialog__
+#define __java_awt_Dialog$AccessibleAWTDialog__
+
+#pragma interface
+
+#include <java/awt/Window$AccessibleAWTWindow.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Dialog;
+ class Dialog$AccessibleAWTDialog;
+ }
+ }
+ namespace javax
+ {
+ namespace accessibility
+ {
+ class AccessibleRole;
+ class AccessibleStateSet;
+ }
+ }
+}
+
+class java::awt::Dialog$AccessibleAWTDialog : public ::java::awt::Window$AccessibleAWTWindow
+{
+
+public: // actually protected
+ Dialog$AccessibleAWTDialog(::java::awt::Dialog *);
+public:
+ virtual ::javax::accessibility::AccessibleRole * getAccessibleRole();
+ virtual ::javax::accessibility::AccessibleStateSet * getAccessibleStateSet();
+private:
+ static const jlong serialVersionUID = 4837230331833941201LL;
+public: // actually package-private
+ ::java::awt::Dialog * __attribute__((aligned(__alignof__( ::java::awt::Window$AccessibleAWTWindow)))) this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_Dialog$AccessibleAWTDialog__
diff --git a/libjava/java/awt/Dialog.h b/libjava/java/awt/Dialog.h
new file mode 100644
index 0000000..b1d3391
--- /dev/null
+++ b/libjava/java/awt/Dialog.h
@@ -0,0 +1,76 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_Dialog__
+#define __java_awt_Dialog__
+
+#pragma interface
+
+#include <java/awt/Window.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Dialog;
+ class EventQueue;
+ class Frame;
+ class GraphicsConfiguration;
+ }
+ }
+ namespace javax
+ {
+ namespace accessibility
+ {
+ class AccessibleContext;
+ }
+ }
+}
+
+class java::awt::Dialog : public ::java::awt::Window
+{
+
+public:
+ Dialog(::java::awt::Frame *);
+ Dialog(::java::awt::Frame *, jboolean);
+ Dialog(::java::awt::Frame *, ::java::lang::String *);
+ Dialog(::java::awt::Frame *, ::java::lang::String *, jboolean);
+ Dialog(::java::awt::Frame *, ::java::lang::String *, jboolean, ::java::awt::GraphicsConfiguration *);
+ Dialog(::java::awt::Dialog *);
+ Dialog(::java::awt::Dialog *, ::java::lang::String *);
+ Dialog(::java::awt::Dialog *, ::java::lang::String *, jboolean);
+ Dialog(::java::awt::Dialog *, ::java::lang::String *, jboolean, ::java::awt::GraphicsConfiguration *);
+ virtual ::java::lang::String * getTitle();
+ virtual void setTitle(::java::lang::String *);
+ virtual jboolean isModal();
+ virtual void setModal(jboolean);
+ virtual jboolean isResizable();
+ virtual void setResizable(jboolean);
+ virtual void addNotify();
+ virtual void show();
+ virtual void hide();
+ virtual void dispose();
+public: // actually protected
+ virtual ::java::lang::String * paramString();
+public:
+ virtual jboolean isUndecorated();
+ virtual void setUndecorated(jboolean);
+ virtual ::javax::accessibility::AccessibleContext * getAccessibleContext();
+public: // actually package-private
+ virtual ::java::lang::String * generateName();
+private:
+ static jlong getUniqueLong();
+ static const jlong serialVersionUID = 5920926903803293709LL;
+ jboolean __attribute__((aligned(__alignof__( ::java::awt::Window)))) modal;
+ jboolean resizable;
+ ::java::lang::String * title;
+ jboolean undecorated;
+ jboolean blocked;
+ ::java::awt::EventQueue * eq2;
+ static jlong next_dialog_number;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_Dialog__
diff --git a/libjava/java/awt/Dimension.h b/libjava/java/awt/Dimension.h
new file mode 100644
index 0000000..7722cab
--- /dev/null
+++ b/libjava/java/awt/Dimension.h
@@ -0,0 +1,45 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_Dimension__
+#define __java_awt_Dimension__
+
+#pragma interface
+
+#include <java/awt/geom/Dimension2D.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Dimension;
+ }
+ }
+}
+
+class java::awt::Dimension : public ::java::awt::geom::Dimension2D
+{
+
+public:
+ Dimension();
+ Dimension(::java::awt::Dimension *);
+ Dimension(jint, jint);
+ virtual jdouble getWidth();
+ virtual jdouble getHeight();
+ virtual void setSize(jdouble, jdouble);
+ virtual ::java::awt::Dimension * getSize();
+ virtual void setSize(::java::awt::Dimension *);
+ virtual void setSize(jint, jint);
+ virtual jboolean equals(::java::lang::Object *);
+ virtual jint hashCode();
+ virtual ::java::lang::String * toString();
+private:
+ static const jlong serialVersionUID = 4723952579491349524LL;
+public:
+ jint __attribute__((aligned(__alignof__( ::java::awt::geom::Dimension2D)))) width;
+ jint height;
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_Dimension__
diff --git a/libjava/java/awt/DisplayMode.h b/libjava/java/awt/DisplayMode.h
new file mode 100644
index 0000000..26561ca
--- /dev/null
+++ b/libjava/java/awt/DisplayMode.h
@@ -0,0 +1,43 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_DisplayMode__
+#define __java_awt_DisplayMode__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class DisplayMode;
+ }
+ }
+}
+
+class java::awt::DisplayMode : public ::java::lang::Object
+{
+
+public:
+ DisplayMode(jint, jint, jint, jint);
+ jint getHeight();
+ jint getWidth();
+ jint getBitDepth();
+ jint getRefreshRate();
+ jboolean equals(::java::awt::DisplayMode *);
+ jint hashCode();
+ static const jint BIT_DEPTH_MULTI = -1;
+ static const jint REFRESH_RATE_UNKNOWN = 0;
+private:
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) width;
+ jint height;
+ jint bitDepth;
+ jint refreshRate;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_DisplayMode__
diff --git a/libjava/java/awt/Event.h b/libjava/java/awt/Event.h
new file mode 100644
index 0000000..a054381
--- /dev/null
+++ b/libjava/java/awt/Event.h
@@ -0,0 +1,119 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_Event__
+#define __java_awt_Event__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Event;
+ }
+ }
+}
+
+class java::awt::Event : public ::java::lang::Object
+{
+
+public:
+ Event(::java::lang::Object *, jint, ::java::lang::Object *);
+ Event(::java::lang::Object *, jlong, jint, jint, jint, jint, jint);
+ Event(::java::lang::Object *, jlong, jint, jint, jint, jint, jint, ::java::lang::Object *);
+ virtual jboolean controlDown();
+ virtual jboolean metaDown();
+public: // actually protected
+ virtual ::java::lang::String * paramString();
+public:
+ virtual jboolean shiftDown();
+ virtual ::java::lang::String * toString();
+ virtual void translate(jint, jint);
+public: // actually package-private
+ static const jlong serialVersionUID = 5488922509400504703LL;
+public:
+ static const jint SHIFT_MASK = 1;
+ static const jint CTRL_MASK = 2;
+ static const jint META_MASK = 4;
+ static const jint ALT_MASK = 8;
+ static const jint ACTION_EVENT = 1001;
+ static const jint BACK_SPACE = 8;
+ static const jint CAPS_LOCK = 1022;
+ static const jint DELETE = 127;
+ static const jint DOWN = 1005;
+ static const jint END = 1001;
+ static const jint ENTER = 10;
+ static const jint ESCAPE = 27;
+ static const jint F1 = 1008;
+ static const jint F10 = 1017;
+ static const jint F11 = 1018;
+ static const jint F12 = 1019;
+ static const jint F2 = 1009;
+ static const jint F3 = 1010;
+ static const jint F4 = 1011;
+ static const jint F5 = 1012;
+ static const jint F6 = 1013;
+ static const jint F7 = 1014;
+ static const jint F8 = 1015;
+ static const jint F9 = 1016;
+ static const jint GOT_FOCUS = 1004;
+ static const jint HOME = 1000;
+ static const jint INSERT = 1025;
+ static const jint KEY_ACTION = 403;
+ static const jint KEY_ACTION_RELEASE = 404;
+ static const jint KEY_PRESS = 401;
+ static const jint KEY_RELEASE = 402;
+ static const jint LEFT = 1006;
+ static const jint LIST_DESELECT = 702;
+ static const jint LIST_SELECT = 701;
+ static const jint LOAD_FILE = 1002;
+ static const jint LOST_FOCUS = 1005;
+ static const jint MOUSE_DOWN = 501;
+ static const jint MOUSE_DRAG = 506;
+ static const jint MOUSE_ENTER = 504;
+ static const jint MOUSE_EXIT = 505;
+ static const jint MOUSE_MOVE = 503;
+ static const jint MOUSE_UP = 502;
+ static const jint NUM_LOCK = 1023;
+ static const jint PAUSE = 1024;
+ static const jint PGDN = 1003;
+ static const jint PGUP = 1002;
+ static const jint PRINT_SCREEN = 1020;
+ static const jint RIGHT = 1007;
+ static const jint SAVE_FILE = 1003;
+ static const jint SCROLL_ABSOLUTE = 605;
+ static const jint SCROLL_BEGIN = 606;
+ static const jint SCROLL_END = 607;
+ static const jint SCROLL_LINE_DOWN = 602;
+ static const jint SCROLL_LINE_UP = 601;
+ static const jint SCROLL_LOCK = 1021;
+ static const jint SCROLL_PAGE_DOWN = 604;
+ static const jint SCROLL_PAGE_UP = 603;
+ static const jint TAB = 9;
+ static const jint UP = 1004;
+ static const jint WINDOW_DEICONIFY = 204;
+ static const jint WINDOW_DESTROY = 201;
+ static const jint WINDOW_EXPOSE = 202;
+ static const jint WINDOW_ICONIFY = 203;
+ static const jint WINDOW_MOVED = 205;
+ ::java::lang::Object * __attribute__((aligned(__alignof__( ::java::lang::Object)))) arg;
+ jint clickCount;
+public: // actually package-private
+ jboolean consumed;
+public:
+ ::java::awt::Event * evt;
+ jint id;
+ jint key;
+ jint modifiers;
+ ::java::lang::Object * target;
+ jlong when;
+ jint x;
+ jint y;
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_Event__
diff --git a/libjava/java/awt/EventDispatchThread.h b/libjava/java/awt/EventDispatchThread.h
new file mode 100644
index 0000000..a094bdc
--- /dev/null
+++ b/libjava/java/awt/EventDispatchThread.h
@@ -0,0 +1,37 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_EventDispatchThread__
+#define __java_awt_EventDispatchThread__
+
+#pragma interface
+
+#include <java/lang/Thread.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class EventDispatchThread;
+ class EventQueue;
+ }
+ }
+}
+
+class java::awt::EventDispatchThread : public ::java::lang::Thread
+{
+
+public: // actually package-private
+ EventDispatchThread(::java::awt::EventQueue *);
+public:
+ virtual void run();
+private:
+ static const jint DEFAULT_PRIORITY = 6;
+ static jint dispatchThreadNum;
+ ::java::awt::EventQueue * __attribute__((aligned(__alignof__( ::java::lang::Thread)))) queue;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_EventDispatchThread__
diff --git a/libjava/java/awt/EventQueue$Queue.h b/libjava/java/awt/EventQueue$Queue.h
new file mode 100644
index 0000000..6504a96
--- /dev/null
+++ b/libjava/java/awt/EventQueue$Queue.h
@@ -0,0 +1,36 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_EventQueue$Queue__
+#define __java_awt_EventQueue$Queue__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class AWTEvent;
+ class EventQueue;
+ class EventQueue$Queue;
+ }
+ }
+}
+
+class java::awt::EventQueue$Queue : public ::java::lang::Object
+{
+
+ EventQueue$Queue(::java::awt::EventQueue *);
+public: // actually package-private
+ EventQueue$Queue(::java::awt::EventQueue *, ::java::awt::EventQueue$Queue *);
+ ::java::awt::AWTEvent * __attribute__((aligned(__alignof__( ::java::lang::Object)))) queueHead;
+ ::java::awt::AWTEvent * queueTail;
+ ::java::awt::EventQueue * this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_EventQueue$Queue__
diff --git a/libjava/java/awt/EventQueue.h b/libjava/java/awt/EventQueue.h
new file mode 100644
index 0000000..71da155
--- /dev/null
+++ b/libjava/java/awt/EventQueue.h
@@ -0,0 +1,69 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_EventQueue__
+#define __java_awt_EventQueue__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class AWTEvent;
+ class EventDispatchThread;
+ class EventQueue;
+ class EventQueue$Queue;
+ }
+ }
+}
+
+class java::awt::EventQueue : public ::java::lang::Object
+{
+
+ jboolean isShutdown();
+public:
+ EventQueue();
+ virtual ::java::awt::AWTEvent * getNextEvent();
+private:
+ ::java::awt::AWTEvent * getNextEventImpl(jboolean);
+public:
+ virtual ::java::awt::AWTEvent * peekEvent();
+ virtual ::java::awt::AWTEvent * peekEvent(jint);
+ virtual void postEvent(::java::awt::AWTEvent *);
+private:
+ void postEventImpl(::java::awt::AWTEvent *);
+ void postEventImpl(::java::awt::AWTEvent *, jint);
+public:
+ static void invokeAndWait(::java::lang::Runnable *);
+ static void invokeLater(::java::lang::Runnable *);
+ static jboolean isDispatchThread();
+ static ::java::awt::AWTEvent * getCurrentEvent();
+ virtual void push(::java::awt::EventQueue *);
+public: // actually protected
+ virtual void pop();
+ virtual void dispatchEvent(::java::awt::AWTEvent *);
+public:
+ static jlong getMostRecentEventTime();
+private:
+ static const jint NORM_PRIORITY = 0;
+ static const jint LOW_PRIORITY = 1;
+ JArray< ::java::awt::EventQueue$Queue * > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) queues;
+ ::java::awt::EventQueue * next;
+ ::java::awt::EventQueue * prev;
+ ::java::awt::AWTEvent * currentEvent;
+ jlong lastWhen;
+ ::java::awt::EventDispatchThread * dispatchThread;
+ jboolean nativeLoopRunning;
+public: // actually package-private
+ static jboolean $assertionsDisabled;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_EventQueue__
diff --git a/libjava/java/awt/FileDialog.h b/libjava/java/awt/FileDialog.h
new file mode 100644
index 0000000..b64300d
--- /dev/null
+++ b/libjava/java/awt/FileDialog.h
@@ -0,0 +1,62 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_FileDialog__
+#define __java_awt_FileDialog__
+
+#pragma interface
+
+#include <java/awt/Dialog.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Dialog;
+ class FileDialog;
+ class Frame;
+ }
+ }
+}
+
+class java::awt::FileDialog : public ::java::awt::Dialog
+{
+
+public:
+ FileDialog(::java::awt::Dialog *);
+ FileDialog(::java::awt::Dialog *, ::java::lang::String *);
+ FileDialog(::java::awt::Dialog *, ::java::lang::String *, jint);
+ FileDialog(::java::awt::Frame *);
+ FileDialog(::java::awt::Frame *, ::java::lang::String *);
+ FileDialog(::java::awt::Frame *, ::java::lang::String *, jint);
+ virtual jint getMode();
+ virtual void setMode(jint);
+ virtual ::java::lang::String * getDirectory();
+ virtual void setDirectory(::java::lang::String *);
+ virtual ::java::lang::String * getFile();
+ virtual void setFile(::java::lang::String *);
+ virtual ::java::io::FilenameFilter * getFilenameFilter();
+ virtual void setFilenameFilter(::java::io::FilenameFilter *);
+ virtual void addNotify();
+public: // actually protected
+ virtual ::java::lang::String * paramString();
+public: // actually package-private
+ virtual ::java::lang::String * generateName();
+private:
+ static jlong getUniqueLong();
+public:
+ static const jint LOAD = 0;
+ static const jint SAVE = 1;
+private:
+ static const jlong serialVersionUID = 5035145889651310422LL;
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::awt::Dialog)))) dir;
+ ::java::lang::String * file;
+ ::java::io::FilenameFilter * filter;
+ jint mode;
+ static jlong next_file_dialog_number;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_FileDialog__
diff --git a/libjava/java/awt/FlowLayout.h b/libjava/java/awt/FlowLayout.h
new file mode 100644
index 0000000..202fe18
--- /dev/null
+++ b/libjava/java/awt/FlowLayout.h
@@ -0,0 +1,60 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_FlowLayout__
+#define __java_awt_FlowLayout__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Component;
+ class Container;
+ class Dimension;
+ class FlowLayout;
+ }
+ }
+}
+
+class java::awt::FlowLayout : public ::java::lang::Object
+{
+
+public:
+ virtual void addLayoutComponent(::java::lang::String *, ::java::awt::Component *);
+ virtual jint getAlignment();
+ virtual jint getHgap();
+ virtual jint getVgap();
+ FlowLayout();
+ FlowLayout(jint);
+ FlowLayout(jint, jint, jint);
+ virtual void layoutContainer(::java::awt::Container *);
+ virtual ::java::awt::Dimension * minimumLayoutSize(::java::awt::Container *);
+ virtual ::java::awt::Dimension * preferredLayoutSize(::java::awt::Container *);
+ virtual void removeLayoutComponent(::java::awt::Component *);
+ virtual void setAlignment(jint);
+ virtual void setHgap(jint);
+ virtual void setVgap(jint);
+ virtual ::java::lang::String * toString();
+private:
+ ::java::awt::Dimension * getSize(::java::awt::Container *, jboolean);
+public:
+ static const jint LEFT = 0;
+ static const jint CENTER = 1;
+ static const jint RIGHT = 2;
+ static const jint LEADING = 3;
+ static const jint TRAILING = 4;
+private:
+ static const jlong serialVersionUID = -7262534875583282631LL;
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) align;
+ jint hgap;
+ jint vgap;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_FlowLayout__
diff --git a/libjava/java/awt/FocusTraversalPolicy.h b/libjava/java/awt/FocusTraversalPolicy.h
new file mode 100644
index 0000000..f4add23
--- /dev/null
+++ b/libjava/java/awt/FocusTraversalPolicy.h
@@ -0,0 +1,38 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_FocusTraversalPolicy__
+#define __java_awt_FocusTraversalPolicy__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Component;
+ class Container;
+ class FocusTraversalPolicy;
+ class Window;
+ }
+ }
+}
+
+class java::awt::FocusTraversalPolicy : public ::java::lang::Object
+{
+
+public:
+ FocusTraversalPolicy();
+ virtual ::java::awt::Component * getComponentAfter(::java::awt::Container *, ::java::awt::Component *) = 0;
+ virtual ::java::awt::Component * getComponentBefore(::java::awt::Container *, ::java::awt::Component *) = 0;
+ virtual ::java::awt::Component * getFirstComponent(::java::awt::Container *) = 0;
+ virtual ::java::awt::Component * getLastComponent(::java::awt::Container *) = 0;
+ virtual ::java::awt::Component * getDefaultComponent(::java::awt::Container *) = 0;
+ virtual ::java::awt::Component * getInitialComponent(::java::awt::Window *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_FocusTraversalPolicy__
diff --git a/libjava/java/awt/Font.h b/libjava/java/awt/Font.h
new file mode 100644
index 0000000..07c651f
--- /dev/null
+++ b/libjava/java/awt/Font.h
@@ -0,0 +1,153 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_Font__
+#define __java_awt_Font__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ class ClasspathToolkit;
+ namespace peer
+ {
+ class ClasspathFontPeer;
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class Font;
+ namespace font
+ {
+ class FontRenderContext;
+ class GlyphVector;
+ class LineMetrics;
+ }
+ namespace geom
+ {
+ class AffineTransform;
+ class Rectangle2D;
+ }
+ namespace peer
+ {
+ class FontPeer;
+ }
+ }
+ namespace text
+ {
+ class AttributedCharacterIterator$Attribute;
+ class CharacterIterator;
+ }
+ }
+}
+
+class java::awt::Font : public ::java::lang::Object
+{
+
+public:
+ static ::java::awt::Font * decode(::java::lang::String *);
+public: // actually package-private
+ static ::gnu::java::awt::ClasspathToolkit * tk();
+ static ::java::awt::Font * getFontFromToolkit(::java::lang::String *, ::java::util::Map *);
+ static ::gnu::java::awt::peer::ClasspathFontPeer * getPeerFromToolkit(::java::lang::String *, ::java::util::Map *);
+public:
+ static ::java::awt::Font * getFont(::java::lang::String *, ::java::awt::Font *);
+ static ::java::awt::Font * getFont(::java::lang::String *);
+ Font(::java::lang::String *, jint, jint);
+ Font(::java::util::Map *);
+public: // actually package-private
+ Font(::java::lang::String *, ::java::util::Map *);
+public:
+ virtual ::java::lang::String * getName();
+ virtual jint getSize();
+ virtual jfloat getSize2D();
+ virtual jboolean isPlain();
+ virtual jboolean isBold();
+ virtual jboolean isItalic();
+ virtual ::java::lang::String * getFamily();
+ virtual jint getStyle();
+ virtual jboolean canDisplay(jchar);
+ virtual jint canDisplayUpTo(::java::lang::String *);
+ virtual jint canDisplayUpTo(JArray< jchar > *, jint, jint);
+ virtual jint canDisplayUpTo(::java::text::CharacterIterator *, jint, jint);
+ static ::java::awt::Font * createFont(jint, ::java::io::InputStream *);
+ static ::java::awt::Font * createFont(jint, ::java::io::File *);
+ virtual ::java::awt::font::GlyphVector * createGlyphVector(::java::awt::font::FontRenderContext *, ::java::lang::String *);
+ virtual ::java::awt::font::GlyphVector * createGlyphVector(::java::awt::font::FontRenderContext *, ::java::text::CharacterIterator *);
+ virtual ::java::awt::font::GlyphVector * createGlyphVector(::java::awt::font::FontRenderContext *, JArray< jchar > *);
+ virtual ::java::awt::font::GlyphVector * createGlyphVector(::java::awt::font::FontRenderContext *, JArray< jint > *);
+ virtual ::java::awt::Font * deriveFont(jint, jfloat);
+ virtual ::java::awt::Font * deriveFont(jfloat);
+ virtual ::java::awt::Font * deriveFont(jint);
+ virtual ::java::awt::Font * deriveFont(jint, ::java::awt::geom::AffineTransform *);
+ virtual ::java::awt::Font * deriveFont(::java::awt::geom::AffineTransform *);
+ virtual ::java::awt::Font * deriveFont(::java::util::Map *);
+ virtual ::java::util::Map * getAttributes();
+ virtual JArray< ::java::text::AttributedCharacterIterator$Attribute * > * getAvailableAttributes();
+ virtual jbyte getBaselineFor(jchar);
+ virtual ::java::lang::String * getFamily(::java::util::Locale *);
+ static ::java::awt::Font * getFont(::java::util::Map *);
+ virtual ::java::lang::String * getFontName();
+ virtual ::java::lang::String * getFontName(::java::util::Locale *);
+ virtual jfloat getItalicAngle();
+ virtual ::java::awt::font::LineMetrics * getLineMetrics(::java::lang::String *, jint, jint, ::java::awt::font::FontRenderContext *);
+ virtual ::java::awt::font::LineMetrics * getLineMetrics(JArray< jchar > *, jint, jint, ::java::awt::font::FontRenderContext *);
+ virtual ::java::awt::font::LineMetrics * getLineMetrics(::java::text::CharacterIterator *, jint, jint, ::java::awt::font::FontRenderContext *);
+ virtual ::java::awt::geom::Rectangle2D * getMaxCharBounds(::java::awt::font::FontRenderContext *);
+ virtual jint getMissingGlyphCode();
+ virtual jint getNumGlyphs();
+ virtual ::java::lang::String * getPSName();
+ virtual ::java::awt::geom::Rectangle2D * getStringBounds(::java::lang::String *, ::java::awt::font::FontRenderContext *);
+ virtual ::java::awt::geom::Rectangle2D * getStringBounds(::java::lang::String *, jint, jint, ::java::awt::font::FontRenderContext *);
+ virtual ::java::awt::geom::Rectangle2D * getStringBounds(::java::text::CharacterIterator *, jint, jint, ::java::awt::font::FontRenderContext *);
+ virtual ::java::awt::geom::Rectangle2D * getStringBounds(JArray< jchar > *, jint, jint, ::java::awt::font::FontRenderContext *);
+ virtual ::java::awt::geom::AffineTransform * getTransform();
+ virtual jboolean hasUniformLineMetrics();
+ virtual jboolean isTransformed();
+ virtual ::java::awt::font::GlyphVector * layoutGlyphVector(::java::awt::font::FontRenderContext *, JArray< jchar > *, jint, jint, jint);
+ virtual ::java::awt::peer::FontPeer * getPeer();
+ virtual jint hashCode();
+ virtual jboolean equals(::java::lang::Object *);
+ virtual ::java::lang::String * toString();
+ virtual ::java::awt::font::LineMetrics * getLineMetrics(::java::lang::String *, ::java::awt::font::FontRenderContext *);
+private:
+ void readObject(::java::io::ObjectInputStream *);
+public:
+ static const jint PLAIN = 0;
+ static const jint BOLD = 1;
+ static const jint ITALIC = 2;
+ static const jint ROMAN_BASELINE = 0;
+ static const jint CENTER_BASELINE = 1;
+ static const jint HANGING_BASELINE = 2;
+ static const jint TRUETYPE_FONT = 0;
+ static const jint TYPE1_FONT = 1;
+ static const jint LAYOUT_LEFT_TO_RIGHT = 0;
+ static const jint LAYOUT_RIGHT_TO_LEFT = 1;
+ static const jint LAYOUT_NO_START_CONTEXT = 2;
+ static const jint LAYOUT_NO_LIMIT_CONTEXT = 4;
+public: // actually protected
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) name;
+ jint size;
+ jfloat pointSize;
+ jint style;
+private:
+ static const jlong serialVersionUID = -4206021311591459213LL;
+ ::gnu::java::awt::peer::ClasspathFontPeer * peer;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_Font__
diff --git a/libjava/java/awt/FontFormatException.h b/libjava/java/awt/FontFormatException.h
new file mode 100644
index 0000000..9d9ffec
--- /dev/null
+++ b/libjava/java/awt/FontFormatException.h
@@ -0,0 +1,32 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_FontFormatException__
+#define __java_awt_FontFormatException__
+
+#pragma interface
+
+#include <java/lang/Exception.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class FontFormatException;
+ }
+ }
+}
+
+class java::awt::FontFormatException : public ::java::lang::Exception
+{
+
+public:
+ FontFormatException(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = -4481290147811361272LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_FontFormatException__
diff --git a/libjava/java/awt/FontMetrics.h b/libjava/java/awt/FontMetrics.h
new file mode 100644
index 0000000..67d8b6b
--- /dev/null
+++ b/libjava/java/awt/FontMetrics.h
@@ -0,0 +1,83 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_FontMetrics__
+#define __java_awt_FontMetrics__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Font;
+ class FontMetrics;
+ class Graphics;
+ namespace font
+ {
+ class FontRenderContext;
+ class LineMetrics;
+ }
+ namespace geom
+ {
+ class Rectangle2D;
+ }
+ }
+ namespace text
+ {
+ class CharacterIterator;
+ }
+ }
+}
+
+class java::awt::FontMetrics : public ::java::lang::Object
+{
+
+public: // actually protected
+ FontMetrics(::java::awt::Font *);
+public:
+ virtual ::java::awt::Font * getFont();
+ virtual jint getLeading();
+ virtual jint getAscent();
+ virtual jint getDescent();
+ virtual jint getHeight();
+ virtual jint getMaxAscent();
+ virtual jint getMaxDescent();
+ virtual jint getMaxDecent();
+ virtual jint getMaxAdvance();
+ virtual jint charWidth(jint);
+ virtual jint charWidth(jchar);
+ virtual jint stringWidth(::java::lang::String *);
+ virtual jint charsWidth(JArray< jchar > *, jint, jint);
+ virtual jint bytesWidth(JArray< jbyte > *, jint, jint);
+ virtual JArray< jint > * getWidths();
+ virtual ::java::lang::String * toString();
+ virtual ::java::awt::font::LineMetrics * getLineMetrics(::java::lang::String *, ::java::awt::Graphics *);
+ virtual ::java::awt::font::LineMetrics * getLineMetrics(::java::lang::String *, jint, jint, ::java::awt::Graphics *);
+ virtual ::java::awt::font::LineMetrics * getLineMetrics(JArray< jchar > *, jint, jint, ::java::awt::Graphics *);
+ virtual ::java::awt::geom::Rectangle2D * getMaxCharBounds(::java::awt::Graphics *);
+ virtual ::java::awt::font::LineMetrics * getLineMetrics(::java::text::CharacterIterator *, jint, jint, ::java::awt::Graphics *);
+ virtual ::java::awt::geom::Rectangle2D * getStringBounds(::java::lang::String *, ::java::awt::Graphics *);
+ virtual ::java::awt::geom::Rectangle2D * getStringBounds(::java::lang::String *, jint, jint, ::java::awt::Graphics *);
+ virtual ::java::awt::geom::Rectangle2D * getStringBounds(JArray< jchar > *, jint, jint, ::java::awt::Graphics *);
+ virtual ::java::awt::geom::Rectangle2D * getStringBounds(::java::text::CharacterIterator *, jint, jint, ::java::awt::Graphics *);
+private:
+ ::java::awt::font::FontRenderContext * getFontRenderContext(::java::awt::Graphics *);
+public:
+ virtual jboolean hasUniformLineMetrics();
+private:
+ static const jlong serialVersionUID = 1681126225205050147LL;
+public: // actually protected
+ ::java::awt::Font * __attribute__((aligned(__alignof__( ::java::lang::Object)))) font;
+private:
+ static ::java::awt::font::FontRenderContext * gRC;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_FontMetrics__
diff --git a/libjava/java/awt/Frame$AccessibleAWTFrame.h b/libjava/java/awt/Frame$AccessibleAWTFrame.h
new file mode 100644
index 0000000..62ed120
--- /dev/null
+++ b/libjava/java/awt/Frame$AccessibleAWTFrame.h
@@ -0,0 +1,46 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_Frame$AccessibleAWTFrame__
+#define __java_awt_Frame$AccessibleAWTFrame__
+
+#pragma interface
+
+#include <java/awt/Window$AccessibleAWTWindow.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Frame;
+ class Frame$AccessibleAWTFrame;
+ }
+ }
+ namespace javax
+ {
+ namespace accessibility
+ {
+ class AccessibleRole;
+ class AccessibleStateSet;
+ }
+ }
+}
+
+class java::awt::Frame$AccessibleAWTFrame : public ::java::awt::Window$AccessibleAWTWindow
+{
+
+public: // actually protected
+ Frame$AccessibleAWTFrame(::java::awt::Frame *);
+public:
+ virtual ::javax::accessibility::AccessibleRole * getAccessibleRole();
+ virtual ::javax::accessibility::AccessibleStateSet * getAccessibleStateSet();
+private:
+ static const jlong serialVersionUID = -6172960752956030250LL;
+public: // actually package-private
+ ::java::awt::Frame * __attribute__((aligned(__alignof__( ::java::awt::Window$AccessibleAWTWindow)))) this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_Frame$AccessibleAWTFrame__
diff --git a/libjava/java/awt/Frame.h b/libjava/java/awt/Frame.h
new file mode 100644
index 0000000..ffbf38d
--- /dev/null
+++ b/libjava/java/awt/Frame.h
@@ -0,0 +1,117 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_Frame__
+#define __java_awt_Frame__
+
+#pragma interface
+
+#include <java/awt/Window.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Frame;
+ class GraphicsConfiguration;
+ class Image;
+ class MenuBar;
+ class MenuComponent;
+ class Rectangle;
+ }
+ }
+ namespace javax
+ {
+ namespace accessibility
+ {
+ class AccessibleContext;
+ }
+ }
+}
+
+class java::awt::Frame : public ::java::awt::Window
+{
+
+public:
+ Frame();
+ Frame(::java::lang::String *);
+ Frame(::java::awt::GraphicsConfiguration *);
+ Frame(::java::lang::String *, ::java::awt::GraphicsConfiguration *);
+ virtual ::java::lang::String * getTitle();
+ virtual void setTitle(::java::lang::String *);
+ virtual ::java::awt::Image * getIconImage();
+ virtual void setIconImage(::java::awt::Image *);
+ virtual ::java::awt::MenuBar * getMenuBar();
+ virtual void setMenuBar(::java::awt::MenuBar *);
+ virtual jboolean isResizable();
+ virtual void setResizable(jboolean);
+ virtual jint getCursorType();
+ virtual void setCursor(jint);
+ virtual void remove(::java::awt::MenuComponent *);
+ virtual void addNotify();
+ virtual void removeNotify();
+public: // actually protected
+ virtual ::java::lang::String * paramString();
+private:
+ static void noteFrame(::java::awt::Frame *);
+public:
+ static JArray< ::java::awt::Frame * > * getFrames();
+ virtual void setState(jint);
+ virtual jint getState();
+ virtual void setExtendedState(jint);
+ virtual jint getExtendedState();
+ virtual void setMaximizedBounds(::java::awt::Rectangle *);
+ virtual ::java::awt::Rectangle * getMaximizedBounds();
+ virtual jboolean isUndecorated();
+ virtual void setUndecorated(jboolean);
+public: // actually package-private
+ virtual ::java::lang::String * generateName();
+private:
+ static jlong getUniqueLong();
+public:
+ virtual ::javax::accessibility::AccessibleContext * getAccessibleContext();
+ static const jint DEFAULT_CURSOR = 0;
+ static const jint CROSSHAIR_CURSOR = 1;
+ static const jint TEXT_CURSOR = 2;
+ static const jint WAIT_CURSOR = 3;
+ static const jint SW_RESIZE_CURSOR = 4;
+ static const jint SE_RESIZE_CURSOR = 5;
+ static const jint NW_RESIZE_CURSOR = 6;
+ static const jint NE_RESIZE_CURSOR = 7;
+ static const jint N_RESIZE_CURSOR = 8;
+ static const jint S_RESIZE_CURSOR = 9;
+ static const jint E_RESIZE_CURSOR = 11;
+ static const jint W_RESIZE_CURSOR = 10;
+ static const jint HAND_CURSOR = 12;
+ static const jint MOVE_CURSOR = 13;
+ static const jint ICONIFIED = 1;
+ static const jint MAXIMIZED_BOTH = 6;
+ static const jint MAXIMIZED_HORIZ = 2;
+ static const jint MAXIMIZED_VERT = 4;
+ static const jint NORMAL = 0;
+private:
+ static const jlong serialVersionUID = 2673458971256075116LL;
+ jint __attribute__((aligned(__alignof__( ::java::awt::Window)))) frameSerializedDataVersion;
+ ::java::awt::Image * icon;
+ jboolean mbManagement;
+ ::java::awt::MenuBar * menuBar;
+public: // actually package-private
+ ::java::util::Vector * ownedWindows;
+private:
+ jboolean resizable;
+public: // actually package-private
+ jint state;
+private:
+ ::java::lang::String * title;
+ ::java::awt::Rectangle * maximizedBounds;
+ jboolean undecorated;
+ static jlong next_frame_number;
+ static ::java::util::ArrayList * weakFrames;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_Frame__
diff --git a/libjava/java/awt/GradientPaint.h b/libjava/java/awt/GradientPaint.h
new file mode 100644
index 0000000..075e139
--- /dev/null
+++ b/libjava/java/awt/GradientPaint.h
@@ -0,0 +1,62 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_GradientPaint__
+#define __java_awt_GradientPaint__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Color;
+ class GradientPaint;
+ class PaintContext;
+ class Rectangle;
+ class RenderingHints;
+ namespace geom
+ {
+ class AffineTransform;
+ class Point2D;
+ class Rectangle2D;
+ }
+ namespace image
+ {
+ class ColorModel;
+ }
+ }
+ }
+}
+
+class java::awt::GradientPaint : public ::java::lang::Object
+{
+
+public:
+ GradientPaint(jfloat, jfloat, ::java::awt::Color *, jfloat, jfloat, ::java::awt::Color *);
+ GradientPaint(::java::awt::geom::Point2D *, ::java::awt::Color *, ::java::awt::geom::Point2D *, ::java::awt::Color *);
+ GradientPaint(jfloat, jfloat, ::java::awt::Color *, jfloat, jfloat, ::java::awt::Color *, jboolean);
+ GradientPaint(::java::awt::geom::Point2D *, ::java::awt::Color *, ::java::awt::geom::Point2D *, ::java::awt::Color *, jboolean);
+ virtual ::java::awt::geom::Point2D * getPoint1();
+ virtual ::java::awt::Color * getColor1();
+ virtual ::java::awt::geom::Point2D * getPoint2();
+ virtual ::java::awt::Color * getColor2();
+ virtual jboolean isCyclic();
+ virtual ::java::awt::PaintContext * createContext(::java::awt::image::ColorModel *, ::java::awt::Rectangle *, ::java::awt::geom::Rectangle2D *, ::java::awt::geom::AffineTransform *, ::java::awt::RenderingHints *);
+ virtual jint getTransparency();
+private:
+ jfloat __attribute__((aligned(__alignof__( ::java::lang::Object)))) x1;
+ jfloat y1;
+ ::java::awt::Color * c1;
+ jfloat x2;
+ jfloat y2;
+ ::java::awt::Color * c2;
+ jboolean cyclic;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_GradientPaint__
diff --git a/libjava/java/awt/Graphics.h b/libjava/java/awt/Graphics.h
new file mode 100644
index 0000000..504b30e
--- /dev/null
+++ b/libjava/java/awt/Graphics.h
@@ -0,0 +1,97 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_Graphics__
+#define __java_awt_Graphics__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Color;
+ class Font;
+ class FontMetrics;
+ class Graphics;
+ class Image;
+ class Polygon;
+ class Rectangle;
+ class Shape;
+ namespace image
+ {
+ class ImageObserver;
+ }
+ }
+ namespace text
+ {
+ class AttributedCharacterIterator;
+ }
+ }
+}
+
+class java::awt::Graphics : public ::java::lang::Object
+{
+
+public: // actually protected
+ Graphics();
+public:
+ virtual ::java::awt::Graphics * create() = 0;
+ virtual ::java::awt::Graphics * create(jint, jint, jint, jint);
+ virtual void translate(jint, jint) = 0;
+ virtual ::java::awt::Color * getColor() = 0;
+ virtual void setColor(::java::awt::Color *) = 0;
+ virtual void setPaintMode() = 0;
+ virtual void setXORMode(::java::awt::Color *) = 0;
+ virtual ::java::awt::Font * getFont() = 0;
+ virtual void setFont(::java::awt::Font *) = 0;
+ virtual ::java::awt::FontMetrics * getFontMetrics();
+ virtual ::java::awt::FontMetrics * getFontMetrics(::java::awt::Font *) = 0;
+ virtual ::java::awt::Rectangle * getClipBounds() = 0;
+ virtual ::java::awt::Rectangle * getClipRect();
+ virtual void clipRect(jint, jint, jint, jint) = 0;
+ virtual void setClip(jint, jint, jint, jint) = 0;
+ virtual ::java::awt::Shape * getClip() = 0;
+ virtual void setClip(::java::awt::Shape *) = 0;
+ virtual void copyArea(jint, jint, jint, jint, jint, jint) = 0;
+ virtual void drawLine(jint, jint, jint, jint) = 0;
+ virtual void fillRect(jint, jint, jint, jint) = 0;
+ virtual void drawRect(jint, jint, jint, jint);
+ virtual void clearRect(jint, jint, jint, jint) = 0;
+ virtual void drawRoundRect(jint, jint, jint, jint, jint, jint) = 0;
+ virtual void fillRoundRect(jint, jint, jint, jint, jint, jint) = 0;
+ virtual void draw3DRect(jint, jint, jint, jint, jboolean);
+ virtual void fill3DRect(jint, jint, jint, jint, jboolean);
+ virtual void drawOval(jint, jint, jint, jint) = 0;
+ virtual void fillOval(jint, jint, jint, jint) = 0;
+ virtual void drawArc(jint, jint, jint, jint, jint, jint) = 0;
+ virtual void fillArc(jint, jint, jint, jint, jint, jint) = 0;
+ virtual void drawPolyline(JArray< jint > *, JArray< jint > *, jint) = 0;
+ virtual void drawPolygon(JArray< jint > *, JArray< jint > *, jint) = 0;
+ virtual void drawPolygon(::java::awt::Polygon *);
+ virtual void fillPolygon(JArray< jint > *, JArray< jint > *, jint) = 0;
+ virtual void fillPolygon(::java::awt::Polygon *);
+ virtual void drawString(::java::lang::String *, jint, jint) = 0;
+ virtual void drawString(::java::text::AttributedCharacterIterator *, jint, jint) = 0;
+ virtual void drawChars(JArray< jchar > *, jint, jint, jint, jint);
+ virtual void drawBytes(JArray< jbyte > *, jint, jint, jint, jint);
+ virtual jboolean drawImage(::java::awt::Image *, jint, jint, ::java::awt::image::ImageObserver *) = 0;
+ virtual jboolean drawImage(::java::awt::Image *, jint, jint, jint, jint, ::java::awt::image::ImageObserver *) = 0;
+ virtual jboolean drawImage(::java::awt::Image *, jint, jint, ::java::awt::Color *, ::java::awt::image::ImageObserver *) = 0;
+ virtual jboolean drawImage(::java::awt::Image *, jint, jint, jint, jint, ::java::awt::Color *, ::java::awt::image::ImageObserver *) = 0;
+ virtual jboolean drawImage(::java::awt::Image *, jint, jint, jint, jint, jint, jint, jint, jint, ::java::awt::image::ImageObserver *) = 0;
+ virtual jboolean drawImage(::java::awt::Image *, jint, jint, jint, jint, jint, jint, jint, jint, ::java::awt::Color *, ::java::awt::image::ImageObserver *) = 0;
+ virtual void dispose() = 0;
+ virtual void finalize();
+ virtual ::java::lang::String * toString();
+ virtual jboolean hitClip(jint, jint, jint, jint);
+ virtual ::java::awt::Rectangle * getClipBounds(::java::awt::Rectangle *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_Graphics__
diff --git a/libjava/java/awt/Graphics2D.h b/libjava/java/awt/Graphics2D.h
new file mode 100644
index 0000000..9815434
--- /dev/null
+++ b/libjava/java/awt/Graphics2D.h
@@ -0,0 +1,103 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_Graphics2D__
+#define __java_awt_Graphics2D__
+
+#pragma interface
+
+#include <java/awt/Graphics.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Color;
+ class Composite;
+ class Graphics2D;
+ class GraphicsConfiguration;
+ class Image;
+ class Paint;
+ class Rectangle;
+ class RenderingHints;
+ class RenderingHints$Key;
+ class Shape;
+ class Stroke;
+ namespace font
+ {
+ class FontRenderContext;
+ class GlyphVector;
+ }
+ namespace geom
+ {
+ class AffineTransform;
+ }
+ namespace image
+ {
+ class BufferedImage;
+ class BufferedImageOp;
+ class ImageObserver;
+ class RenderedImage;
+ namespace renderable
+ {
+ class RenderableImage;
+ }
+ }
+ }
+ namespace text
+ {
+ class AttributedCharacterIterator;
+ }
+ }
+}
+
+class java::awt::Graphics2D : public ::java::awt::Graphics
+{
+
+public: // actually protected
+ Graphics2D();
+public:
+ virtual void draw3DRect(jint, jint, jint, jint, jboolean);
+ virtual void fill3DRect(jint, jint, jint, jint, jboolean);
+ virtual void draw(::java::awt::Shape *) = 0;
+ virtual jboolean drawImage(::java::awt::Image *, ::java::awt::geom::AffineTransform *, ::java::awt::image::ImageObserver *) = 0;
+ virtual void drawImage(::java::awt::image::BufferedImage *, ::java::awt::image::BufferedImageOp *, jint, jint) = 0;
+ virtual void drawRenderedImage(::java::awt::image::RenderedImage *, ::java::awt::geom::AffineTransform *) = 0;
+ virtual void drawRenderableImage(::java::awt::image::renderable::RenderableImage *, ::java::awt::geom::AffineTransform *) = 0;
+ virtual void drawString(::java::lang::String *, jint, jint) = 0;
+ virtual void drawString(::java::lang::String *, jfloat, jfloat) = 0;
+ virtual void drawString(::java::text::AttributedCharacterIterator *, jint, jint) = 0;
+ virtual void drawString(::java::text::AttributedCharacterIterator *, jfloat, jfloat) = 0;
+ virtual void fill(::java::awt::Shape *) = 0;
+ virtual jboolean hit(::java::awt::Rectangle *, ::java::awt::Shape *, jboolean) = 0;
+ virtual ::java::awt::GraphicsConfiguration * getDeviceConfiguration() = 0;
+ virtual void setComposite(::java::awt::Composite *) = 0;
+ virtual void setPaint(::java::awt::Paint *) = 0;
+ virtual void setStroke(::java::awt::Stroke *) = 0;
+ virtual void setRenderingHint(::java::awt::RenderingHints$Key *, ::java::lang::Object *) = 0;
+ virtual ::java::lang::Object * getRenderingHint(::java::awt::RenderingHints$Key *) = 0;
+ virtual void setRenderingHints(::java::util::Map *) = 0;
+ virtual void addRenderingHints(::java::util::Map *) = 0;
+ virtual ::java::awt::RenderingHints * getRenderingHints() = 0;
+ virtual void translate(jint, jint) = 0;
+ virtual void translate(jdouble, jdouble) = 0;
+ virtual void rotate(jdouble) = 0;
+ virtual void rotate(jdouble, jdouble, jdouble) = 0;
+ virtual void scale(jdouble, jdouble) = 0;
+ virtual void shear(jdouble, jdouble) = 0;
+ virtual void transform(::java::awt::geom::AffineTransform *) = 0;
+ virtual void setTransform(::java::awt::geom::AffineTransform *) = 0;
+ virtual ::java::awt::geom::AffineTransform * getTransform() = 0;
+ virtual ::java::awt::Paint * getPaint() = 0;
+ virtual ::java::awt::Composite * getComposite() = 0;
+ virtual void setBackground(::java::awt::Color *) = 0;
+ virtual ::java::awt::Color * getBackground() = 0;
+ virtual ::java::awt::Stroke * getStroke() = 0;
+ virtual void clip(::java::awt::Shape *) = 0;
+ virtual ::java::awt::font::FontRenderContext * getFontRenderContext() = 0;
+ virtual void drawGlyphVector(::java::awt::font::GlyphVector *, jfloat, jfloat) = 0;
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_Graphics2D__
diff --git a/libjava/java/awt/GraphicsConfigTemplate.h b/libjava/java/awt/GraphicsConfigTemplate.h
new file mode 100644
index 0000000..53bbece
--- /dev/null
+++ b/libjava/java/awt/GraphicsConfigTemplate.h
@@ -0,0 +1,40 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_GraphicsConfigTemplate__
+#define __java_awt_GraphicsConfigTemplate__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class GraphicsConfigTemplate;
+ class GraphicsConfiguration;
+ }
+ }
+}
+
+class java::awt::GraphicsConfigTemplate : public ::java::lang::Object
+{
+
+public:
+ GraphicsConfigTemplate();
+ virtual ::java::awt::GraphicsConfiguration * getBestConfiguration(JArray< ::java::awt::GraphicsConfiguration * > *) = 0;
+ virtual jboolean isGraphicsConfigSupported(::java::awt::GraphicsConfiguration *) = 0;
+private:
+ static const jlong serialVersionUID = -8061369279557787079LL;
+public:
+ static const jint REQUIRED = 1;
+ static const jint PREFERRED = 2;
+ static const jint UNNECESSARY = 3;
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_GraphicsConfigTemplate__
diff --git a/libjava/java/awt/GraphicsConfiguration.h b/libjava/java/awt/GraphicsConfiguration.h
new file mode 100644
index 0000000..58c9122
--- /dev/null
+++ b/libjava/java/awt/GraphicsConfiguration.h
@@ -0,0 +1,61 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_GraphicsConfiguration__
+#define __java_awt_GraphicsConfiguration__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class BufferCapabilities;
+ class GraphicsConfiguration;
+ class GraphicsDevice;
+ class ImageCapabilities;
+ class Rectangle;
+ namespace geom
+ {
+ class AffineTransform;
+ }
+ namespace image
+ {
+ class BufferedImage;
+ class ColorModel;
+ class VolatileImage;
+ }
+ }
+ }
+}
+
+class java::awt::GraphicsConfiguration : public ::java::lang::Object
+{
+
+public: // actually protected
+ GraphicsConfiguration();
+public:
+ virtual ::java::awt::GraphicsDevice * getDevice() = 0;
+ virtual ::java::awt::image::BufferedImage * createCompatibleImage(jint, jint) = 0;
+ virtual ::java::awt::image::VolatileImage * createCompatibleVolatileImage(jint, jint) = 0;
+ virtual ::java::awt::image::VolatileImage * createCompatibleVolatileImage(jint, jint, ::java::awt::ImageCapabilities *);
+ virtual ::java::awt::image::VolatileImage * createCompatibleVolatileImage(jint, jint, jint) = 0;
+ virtual ::java::awt::image::BufferedImage * createCompatibleImage(jint, jint, jint) = 0;
+ virtual ::java::awt::image::ColorModel * getColorModel() = 0;
+ virtual ::java::awt::image::ColorModel * getColorModel(jint) = 0;
+ virtual ::java::awt::geom::AffineTransform * getDefaultTransform() = 0;
+ virtual ::java::awt::geom::AffineTransform * getNormalizingTransform() = 0;
+ virtual ::java::awt::Rectangle * getBounds() = 0;
+ virtual ::java::awt::BufferCapabilities * getBufferCapabilities();
+ virtual ::java::awt::ImageCapabilities * getImageCapabilities();
+private:
+ ::java::awt::ImageCapabilities * __attribute__((aligned(__alignof__( ::java::lang::Object)))) imageCapabilities;
+ ::java::awt::BufferCapabilities * bufferCapabilities;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_GraphicsConfiguration__
diff --git a/libjava/java/awt/GraphicsDevice.h b/libjava/java/awt/GraphicsDevice.h
new file mode 100644
index 0000000..a10d93d
--- /dev/null
+++ b/libjava/java/awt/GraphicsDevice.h
@@ -0,0 +1,58 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_GraphicsDevice__
+#define __java_awt_GraphicsDevice__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class DisplayMode;
+ class GraphicsConfigTemplate;
+ class GraphicsConfiguration;
+ class GraphicsDevice;
+ class Rectangle;
+ class Window;
+ }
+ }
+}
+
+class java::awt::GraphicsDevice : public ::java::lang::Object
+{
+
+public: // actually protected
+ GraphicsDevice();
+public:
+ virtual jint getType() = 0;
+ virtual ::java::lang::String * getIDstring() = 0;
+ virtual JArray< ::java::awt::GraphicsConfiguration * > * getConfigurations() = 0;
+ virtual ::java::awt::GraphicsConfiguration * getDefaultConfiguration() = 0;
+ virtual ::java::awt::GraphicsConfiguration * getBestConfiguration(::java::awt::GraphicsConfigTemplate *);
+ virtual jboolean isFullScreenSupported();
+ virtual void setFullScreenWindow(::java::awt::Window *);
+ virtual ::java::awt::Window * getFullScreenWindow();
+ virtual jboolean isDisplayChangeSupported();
+ virtual void setDisplayMode(::java::awt::DisplayMode *);
+ virtual ::java::awt::DisplayMode * getDisplayMode();
+ virtual JArray< ::java::awt::DisplayMode * > * getDisplayModes();
+ virtual jint getAvailableAcceleratedMemory();
+ static const jint TYPE_RASTER_SCREEN = 0;
+ static const jint TYPE_PRINTER = 1;
+ static const jint TYPE_IMAGE_BUFFER = 2;
+private:
+ ::java::awt::Window * __attribute__((aligned(__alignof__( ::java::lang::Object)))) full_screen;
+ ::java::awt::Rectangle * fullScreenOldBounds;
+ ::java::awt::DisplayMode * mode;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_GraphicsDevice__
diff --git a/libjava/java/awt/GraphicsEnvironment.h b/libjava/java/awt/GraphicsEnvironment.h
new file mode 100644
index 0000000..398e295
--- /dev/null
+++ b/libjava/java/awt/GraphicsEnvironment.h
@@ -0,0 +1,55 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_GraphicsEnvironment__
+#define __java_awt_GraphicsEnvironment__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Font;
+ class Graphics2D;
+ class GraphicsDevice;
+ class GraphicsEnvironment;
+ class Point;
+ class Rectangle;
+ namespace image
+ {
+ class BufferedImage;
+ }
+ }
+ }
+}
+
+class java::awt::GraphicsEnvironment : public ::java::lang::Object
+{
+
+public: // actually protected
+ GraphicsEnvironment();
+public:
+ static ::java::awt::GraphicsEnvironment * getLocalGraphicsEnvironment();
+ static jboolean isHeadless();
+ virtual jboolean isHeadlessInstance();
+ virtual JArray< ::java::awt::GraphicsDevice * > * getScreenDevices() = 0;
+ virtual ::java::awt::GraphicsDevice * getDefaultScreenDevice() = 0;
+ virtual ::java::awt::Graphics2D * createGraphics(::java::awt::image::BufferedImage *) = 0;
+ virtual JArray< ::java::awt::Font * > * getAllFonts() = 0;
+ virtual JArray< ::java::lang::String * > * getAvailableFontFamilyNames() = 0;
+ virtual JArray< ::java::lang::String * > * getAvailableFontFamilyNames(::java::util::Locale *) = 0;
+ virtual ::java::awt::Point * getCenterPoint();
+ virtual ::java::awt::Rectangle * getMaximumWindowBounds();
+private:
+ static ::java::awt::GraphicsEnvironment * localGraphicsEnvironment;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_GraphicsEnvironment__
diff --git a/libjava/java/awt/GridBagConstraints.h b/libjava/java/awt/GridBagConstraints.h
new file mode 100644
index 0000000..95d359e
--- /dev/null
+++ b/libjava/java/awt/GridBagConstraints.h
@@ -0,0 +1,69 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_GridBagConstraints__
+#define __java_awt_GridBagConstraints__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class GridBagConstraints;
+ class Insets;
+ }
+ }
+}
+
+class java::awt::GridBagConstraints : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::lang::Object * clone();
+ GridBagConstraints();
+ GridBagConstraints(jint, jint, jint, jint, jdouble, jdouble, jint, jint, ::java::awt::Insets *, jint, jint);
+public: // actually package-private
+ static const jlong serialVersionUID = -1000070633030801713LL;
+public:
+ static const jint NONE = 0;
+ static const jint BOTH = 1;
+ static const jint HORIZONTAL = 2;
+ static const jint VERTICAL = 3;
+ static const jint CENTER = 10;
+ static const jint NORTH = 11;
+ static const jint NORTHEAST = 12;
+ static const jint EAST = 13;
+ static const jint SOUTHEAST = 14;
+ static const jint SOUTH = 15;
+ static const jint SOUTHWEST = 16;
+ static const jint WEST = 17;
+ static const jint NORTHWEST = 18;
+ static const jint RELATIVE = -1;
+ static const jint REMAINDER = 0;
+ static const jint PAGE_START = 19;
+ static const jint PAGE_END = 20;
+ static const jint LINE_START = 21;
+ static const jint LINE_END = 22;
+ static const jint FIRST_LINE_START = 23;
+ static const jint FIRST_LINE_END = 24;
+ static const jint LAST_LINE_START = 25;
+ static const jint LAST_LINE_END = 26;
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) anchor;
+ jint fill;
+ jint gridheight;
+ jint gridwidth;
+ jint gridx;
+ jint gridy;
+ ::java::awt::Insets * insets;
+ jint ipadx;
+ jint ipady;
+ jdouble weightx;
+ jdouble weighty;
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_GridBagConstraints__
diff --git a/libjava/java/awt/GridBagLayout.h b/libjava/java/awt/GridBagLayout.h
new file mode 100644
index 0000000..b553aff
--- /dev/null
+++ b/libjava/java/awt/GridBagLayout.h
@@ -0,0 +1,100 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_GridBagLayout__
+#define __java_awt_GridBagLayout__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Component;
+ class Container;
+ class Dimension;
+ class GridBagConstraints;
+ class GridBagLayout;
+ class GridBagLayoutInfo;
+ class Point;
+ class Rectangle;
+ }
+ }
+}
+
+class java::awt::GridBagLayout : public ::java::lang::Object
+{
+
+public:
+ GridBagLayout();
+private:
+ jint sumIntArray(JArray< jint > *, jint);
+ jint sumIntArray(JArray< jint > *);
+ jdouble sumDoubleArray(JArray< jdouble > *);
+public:
+ virtual void addLayoutComponent(::java::lang::String *, ::java::awt::Component *);
+ virtual void removeLayoutComponent(::java::awt::Component *);
+ virtual void addLayoutComponent(::java::awt::Component *, ::java::lang::Object *);
+ virtual ::java::awt::Dimension * preferredLayoutSize(::java::awt::Container *);
+ virtual ::java::awt::Dimension * minimumLayoutSize(::java::awt::Container *);
+ virtual ::java::awt::Dimension * maximumLayoutSize(::java::awt::Container *);
+ virtual void layoutContainer(::java::awt::Container *);
+ virtual jfloat getLayoutAlignmentX(::java::awt::Container *);
+ virtual jfloat getLayoutAlignmentY(::java::awt::Container *);
+ virtual void invalidateLayout(::java::awt::Container *);
+ virtual void setConstraints(::java::awt::Component *, ::java::awt::GridBagConstraints *);
+ virtual ::java::awt::GridBagConstraints * getConstraints(::java::awt::Component *);
+public: // actually protected
+ virtual ::java::awt::GridBagConstraints * lookupConstraints(::java::awt::Component *);
+private:
+ ::java::awt::GridBagConstraints * lookupInternalConstraints(::java::awt::Component *);
+public:
+ virtual ::java::awt::Point * getLayoutOrigin();
+ virtual JArray< JArray< jint > * > * getLayoutDimensions();
+ virtual JArray< JArray< jdouble > * > * getLayoutWeights();
+ virtual ::java::awt::Point * location(jint, jint);
+ virtual ::java::lang::String * toString();
+public: // actually protected
+ virtual void AdjustForGravity(::java::awt::GridBagConstraints *, ::java::awt::Rectangle *);
+ virtual void ArrangeGrid(::java::awt::Container *);
+ virtual ::java::awt::GridBagLayoutInfo * GetLayoutInfo(::java::awt::Container *, jint);
+ virtual ::java::awt::Dimension * GetMinSize(::java::awt::Container *, ::java::awt::GridBagLayoutInfo *);
+ virtual ::java::awt::Dimension * getMinSize(::java::awt::Container *, ::java::awt::GridBagLayoutInfo *);
+private:
+ void sortBySpan(::java::awt::Component *, jint, ::java::util::ArrayList *, jboolean);
+ void distributeSizeAndWeight(jint, jdouble, jint, jint, JArray< jint > *, JArray< jdouble > *);
+ void calcCellWeights(jdouble, JArray< jdouble > *, jint, jint);
+ void calcCellSizes(JArray< jint > *, JArray< jdouble > *, jint);
+ void dumpLayoutInfo(::java::awt::GridBagLayoutInfo *);
+ void dumpArray(JArray< jint > *);
+ void dumpArray(JArray< jdouble > *);
+public: // actually protected
+ virtual void arrangeGrid(::java::awt::Container *);
+ virtual ::java::awt::GridBagLayoutInfo * getLayoutInfo(::java::awt::Container *, jint);
+ virtual void adjustForGravity(::java::awt::GridBagConstraints *, ::java::awt::Rectangle *);
+private:
+ static const jlong serialVersionUID = 8838754796412211005LL;
+public: // actually protected
+ static const jint MINSIZE = 1;
+ static const jint PREFERREDSIZE = 2;
+ static const jint MAXGRIDSIZE = 512;
+ ::java::util::Hashtable * __attribute__((aligned(__alignof__( ::java::lang::Object)))) comptable;
+private:
+ ::java::util::Hashtable * internalcomptable;
+public: // actually protected
+ ::java::awt::GridBagLayoutInfo * layoutInfo;
+ ::java::awt::GridBagConstraints * defaultConstraints;
+public:
+ JArray< jdouble > * columnWeights;
+ JArray< jint > * columnWidths;
+ JArray< jdouble > * rowWeights;
+ JArray< jint > * rowHeights;
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_GridBagLayout__
diff --git a/libjava/java/awt/GridBagLayoutInfo.h b/libjava/java/awt/GridBagLayoutInfo.h
new file mode 100644
index 0000000..b83497f
--- /dev/null
+++ b/libjava/java/awt/GridBagLayoutInfo.h
@@ -0,0 +1,43 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_GridBagLayoutInfo__
+#define __java_awt_GridBagLayoutInfo__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class GridBagLayoutInfo;
+ }
+ }
+}
+
+class java::awt::GridBagLayoutInfo : public ::java::lang::Object
+{
+
+public: // actually package-private
+ GridBagLayoutInfo(jint, jint);
+private:
+ static const jlong serialVersionUID = -4899416460737170217LL;
+public: // actually package-private
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) pos_x;
+ jint pos_y;
+ jint cols;
+ jint rows;
+ JArray< jint > * colWidths;
+ JArray< jint > * rowHeights;
+ JArray< jdouble > * colWeights;
+ JArray< jdouble > * rowWeights;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_GridBagLayoutInfo__
diff --git a/libjava/java/awt/GridLayout.h b/libjava/java/awt/GridLayout.h
new file mode 100644
index 0000000..84b01a2
--- /dev/null
+++ b/libjava/java/awt/GridLayout.h
@@ -0,0 +1,58 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_GridLayout__
+#define __java_awt_GridLayout__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Component;
+ class Container;
+ class Dimension;
+ class GridLayout;
+ }
+ }
+}
+
+class java::awt::GridLayout : public ::java::lang::Object
+{
+
+public:
+ virtual void addLayoutComponent(::java::lang::String *, ::java::awt::Component *);
+ virtual jint getColumns();
+ virtual jint getHgap();
+ virtual jint getRows();
+ virtual jint getVgap();
+ GridLayout();
+ GridLayout(jint, jint);
+ GridLayout(jint, jint, jint, jint);
+ virtual void layoutContainer(::java::awt::Container *);
+ virtual ::java::awt::Dimension * minimumLayoutSize(::java::awt::Container *);
+ virtual ::java::awt::Dimension * preferredLayoutSize(::java::awt::Container *);
+ virtual void removeLayoutComponent(::java::awt::Component *);
+ virtual void setColumns(jint);
+ virtual void setHgap(jint);
+ virtual void setRows(jint);
+ virtual void setVgap(jint);
+ virtual ::java::lang::String * toString();
+private:
+ ::java::awt::Dimension * getSize(::java::awt::Container *, jboolean);
+public: // actually package-private
+ static const jlong serialVersionUID = -7411804673224730901LL;
+private:
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) cols;
+ jint rows;
+ jint hgap;
+ jint vgap;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_GridLayout__
diff --git a/libjava/java/awt/HeadlessException.h b/libjava/java/awt/HeadlessException.h
new file mode 100644
index 0000000..f57ea63
--- /dev/null
+++ b/libjava/java/awt/HeadlessException.h
@@ -0,0 +1,33 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_HeadlessException__
+#define __java_awt_HeadlessException__
+
+#pragma interface
+
+#include <java/lang/UnsupportedOperationException.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class HeadlessException;
+ }
+ }
+}
+
+class java::awt::HeadlessException : public ::java::lang::UnsupportedOperationException
+{
+
+public:
+ HeadlessException();
+ HeadlessException(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = 167183644944358563LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_HeadlessException__
diff --git a/libjava/java/awt/IllegalComponentStateException.h b/libjava/java/awt/IllegalComponentStateException.h
new file mode 100644
index 0000000..9743e59
--- /dev/null
+++ b/libjava/java/awt/IllegalComponentStateException.h
@@ -0,0 +1,33 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_IllegalComponentStateException__
+#define __java_awt_IllegalComponentStateException__
+
+#pragma interface
+
+#include <java/lang/IllegalStateException.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class IllegalComponentStateException;
+ }
+ }
+}
+
+class java::awt::IllegalComponentStateException : public ::java::lang::IllegalStateException
+{
+
+public:
+ IllegalComponentStateException();
+ IllegalComponentStateException(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = -1889339587208144238LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_IllegalComponentStateException__
diff --git a/libjava/java/awt/Image.h b/libjava/java/awt/Image.h
new file mode 100644
index 0000000..d49664a
--- /dev/null
+++ b/libjava/java/awt/Image.h
@@ -0,0 +1,53 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_Image__
+#define __java_awt_Image__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Graphics;
+ class Image;
+ namespace image
+ {
+ class ImageObserver;
+ class ImageProducer;
+ }
+ }
+ }
+}
+
+class java::awt::Image : public ::java::lang::Object
+{
+
+public:
+ Image();
+ virtual jint getWidth(::java::awt::image::ImageObserver *) = 0;
+ virtual jint getHeight(::java::awt::image::ImageObserver *) = 0;
+ virtual ::java::awt::image::ImageProducer * getSource() = 0;
+ virtual ::java::awt::Graphics * getGraphics() = 0;
+ virtual ::java::lang::Object * getProperty(::java::lang::String *, ::java::awt::image::ImageObserver *) = 0;
+ virtual ::java::awt::Image * getScaledInstance(jint, jint, jint);
+ virtual void flush() = 0;
+ virtual void setAccelerationPriority(jfloat);
+ virtual jfloat getAccelerationPriority();
+ static ::java::lang::Object * UndefinedProperty;
+ static const jint SCALE_DEFAULT = 1;
+ static const jint SCALE_FAST = 2;
+ static const jint SCALE_SMOOTH = 4;
+ static const jint SCALE_REPLICATE = 8;
+ static const jint SCALE_AREA_AVERAGING = 16;
+public: // actually protected
+ jfloat __attribute__((aligned(__alignof__( ::java::lang::Object)))) accelerationPriority;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_Image__
diff --git a/libjava/java/awt/ImageCapabilities.h b/libjava/java/awt/ImageCapabilities.h
new file mode 100644
index 0000000..8a245f3
--- /dev/null
+++ b/libjava/java/awt/ImageCapabilities.h
@@ -0,0 +1,35 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_ImageCapabilities__
+#define __java_awt_ImageCapabilities__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class ImageCapabilities;
+ }
+ }
+}
+
+class java::awt::ImageCapabilities : public ::java::lang::Object
+{
+
+public:
+ ImageCapabilities(jboolean);
+ virtual jboolean isAccelerated();
+ virtual jboolean isTrueVolatile();
+ virtual ::java::lang::Object * clone();
+private:
+ jboolean __attribute__((aligned(__alignof__( ::java::lang::Object)))) accelerated;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_ImageCapabilities__
diff --git a/libjava/java/awt/Insets.h b/libjava/java/awt/Insets.h
new file mode 100644
index 0000000..14d70fe
--- /dev/null
+++ b/libjava/java/awt/Insets.h
@@ -0,0 +1,41 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_Insets__
+#define __java_awt_Insets__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Insets;
+ }
+ }
+}
+
+class java::awt::Insets : public ::java::lang::Object
+{
+
+public:
+ Insets(jint, jint, jint, jint);
+ virtual void set(jint, jint, jint, jint);
+ virtual jboolean equals(::java::lang::Object *);
+ virtual jint hashCode();
+ virtual ::java::lang::String * toString();
+ virtual ::java::lang::Object * clone();
+private:
+ static const jlong serialVersionUID = -2272572637695466749LL;
+public:
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) top;
+ jint left;
+ jint bottom;
+ jint right;
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_Insets__
diff --git a/libjava/java/awt/ItemSelectable.h b/libjava/java/awt/ItemSelectable.h
new file mode 100644
index 0000000..3ff72d3
--- /dev/null
+++ b/libjava/java/awt/ItemSelectable.h
@@ -0,0 +1,37 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_ItemSelectable__
+#define __java_awt_ItemSelectable__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class ItemSelectable;
+ namespace event
+ {
+ class ItemListener;
+ }
+ }
+ }
+}
+
+class java::awt::ItemSelectable : public ::java::lang::Object
+{
+
+public:
+ virtual JArray< ::java::lang::Object * > * getSelectedObjects() = 0;
+ virtual void addItemListener(::java::awt::event::ItemListener *) = 0;
+ virtual void removeItemListener(::java::awt::event::ItemListener *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_awt_ItemSelectable__
diff --git a/libjava/java/awt/JobAttributes$DefaultSelectionType.h b/libjava/java/awt/JobAttributes$DefaultSelectionType.h
new file mode 100644
index 0000000..3477977
--- /dev/null
+++ b/libjava/java/awt/JobAttributes$DefaultSelectionType.h
@@ -0,0 +1,35 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_JobAttributes$DefaultSelectionType__
+#define __java_awt_JobAttributes$DefaultSelectionType__
+
+#pragma interface
+
+#include <java/awt/AttributeValue.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class JobAttributes$DefaultSelectionType;
+ }
+ }
+}
+
+class java::awt::JobAttributes$DefaultSelectionType : public ::java::awt::AttributeValue
+{
+
+ JobAttributes$DefaultSelectionType(jint);
+ static JArray< ::java::lang::String * > * NAMES;
+public:
+ static ::java::awt::JobAttributes$DefaultSelectionType * ALL;
+ static ::java::awt::JobAttributes$DefaultSelectionType * RANGE;
+ static ::java::awt::JobAttributes$DefaultSelectionType * SELECTION;
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_JobAttributes$DefaultSelectionType__
diff --git a/libjava/java/awt/JobAttributes$DestinationType.h b/libjava/java/awt/JobAttributes$DestinationType.h
new file mode 100644
index 0000000..6c15bd5
--- /dev/null
+++ b/libjava/java/awt/JobAttributes$DestinationType.h
@@ -0,0 +1,34 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_JobAttributes$DestinationType__
+#define __java_awt_JobAttributes$DestinationType__
+
+#pragma interface
+
+#include <java/awt/AttributeValue.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class JobAttributes$DestinationType;
+ }
+ }
+}
+
+class java::awt::JobAttributes$DestinationType : public ::java::awt::AttributeValue
+{
+
+ JobAttributes$DestinationType(jint);
+ static JArray< ::java::lang::String * > * NAMES;
+public:
+ static ::java::awt::JobAttributes$DestinationType * FILE;
+ static ::java::awt::JobAttributes$DestinationType * PRINTER;
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_JobAttributes$DestinationType__
diff --git a/libjava/java/awt/JobAttributes$DialogType.h b/libjava/java/awt/JobAttributes$DialogType.h
new file mode 100644
index 0000000..77ae791
--- /dev/null
+++ b/libjava/java/awt/JobAttributes$DialogType.h
@@ -0,0 +1,35 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_JobAttributes$DialogType__
+#define __java_awt_JobAttributes$DialogType__
+
+#pragma interface
+
+#include <java/awt/AttributeValue.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class JobAttributes$DialogType;
+ }
+ }
+}
+
+class java::awt::JobAttributes$DialogType : public ::java::awt::AttributeValue
+{
+
+ JobAttributes$DialogType(jint);
+ static JArray< ::java::lang::String * > * NAMES;
+public:
+ static ::java::awt::JobAttributes$DialogType * COMMON;
+ static ::java::awt::JobAttributes$DialogType * NATIVE;
+ static ::java::awt::JobAttributes$DialogType * NONE;
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_JobAttributes$DialogType__
diff --git a/libjava/java/awt/JobAttributes$MultipleDocumentHandlingType.h b/libjava/java/awt/JobAttributes$MultipleDocumentHandlingType.h
new file mode 100644
index 0000000..a4b1344
--- /dev/null
+++ b/libjava/java/awt/JobAttributes$MultipleDocumentHandlingType.h
@@ -0,0 +1,34 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_JobAttributes$MultipleDocumentHandlingType__
+#define __java_awt_JobAttributes$MultipleDocumentHandlingType__
+
+#pragma interface
+
+#include <java/awt/AttributeValue.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class JobAttributes$MultipleDocumentHandlingType;
+ }
+ }
+}
+
+class java::awt::JobAttributes$MultipleDocumentHandlingType : public ::java::awt::AttributeValue
+{
+
+ JobAttributes$MultipleDocumentHandlingType(jint);
+ static JArray< ::java::lang::String * > * NAMES;
+public:
+ static ::java::awt::JobAttributes$MultipleDocumentHandlingType * SEPARATE_DOCUMENTS_COLLATED_COPIES;
+ static ::java::awt::JobAttributes$MultipleDocumentHandlingType * SEPARATE_DOCUMENTS_UNCOLLATED_COPIES;
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_JobAttributes$MultipleDocumentHandlingType__
diff --git a/libjava/java/awt/JobAttributes$SidesType.h b/libjava/java/awt/JobAttributes$SidesType.h
new file mode 100644
index 0000000..349c3c0
--- /dev/null
+++ b/libjava/java/awt/JobAttributes$SidesType.h
@@ -0,0 +1,35 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_JobAttributes$SidesType__
+#define __java_awt_JobAttributes$SidesType__
+
+#pragma interface
+
+#include <java/awt/AttributeValue.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class JobAttributes$SidesType;
+ }
+ }
+}
+
+class java::awt::JobAttributes$SidesType : public ::java::awt::AttributeValue
+{
+
+ JobAttributes$SidesType(jint);
+ static JArray< ::java::lang::String * > * NAMES;
+public:
+ static ::java::awt::JobAttributes$SidesType * ONE_SIDED;
+ static ::java::awt::JobAttributes$SidesType * TWO_SIDED_LONG_EDGE;
+ static ::java::awt::JobAttributes$SidesType * TWO_SIDED_SHORT_EDGE;
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_JobAttributes$SidesType__
diff --git a/libjava/java/awt/JobAttributes.h b/libjava/java/awt/JobAttributes.h
new file mode 100644
index 0000000..400bbcf
--- /dev/null
+++ b/libjava/java/awt/JobAttributes.h
@@ -0,0 +1,87 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_JobAttributes__
+#define __java_awt_JobAttributes__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class JobAttributes;
+ class JobAttributes$DefaultSelectionType;
+ class JobAttributes$DestinationType;
+ class JobAttributes$DialogType;
+ class JobAttributes$MultipleDocumentHandlingType;
+ class JobAttributes$SidesType;
+ }
+ }
+}
+
+class java::awt::JobAttributes : public ::java::lang::Object
+{
+
+public:
+ JobAttributes();
+ JobAttributes(::java::awt::JobAttributes *);
+ JobAttributes(jint, ::java::awt::JobAttributes$DefaultSelectionType *, ::java::awt::JobAttributes$DestinationType *, ::java::awt::JobAttributes$DialogType *, ::java::lang::String *, jint, jint, ::java::awt::JobAttributes$MultipleDocumentHandlingType *, JArray< JArray< jint > * > *, ::java::lang::String *, ::java::awt::JobAttributes$SidesType *);
+ ::java::lang::Object * clone();
+ void set(::java::awt::JobAttributes *);
+ jint getCopies();
+ void setCopies(jint);
+ void setCopiesToDefault();
+ ::java::awt::JobAttributes$DefaultSelectionType * getDefaultSelection();
+ void setDefaultSelection(::java::awt::JobAttributes$DefaultSelectionType *);
+ ::java::awt::JobAttributes$DestinationType * getDestination();
+ void setDestination(::java::awt::JobAttributes$DestinationType *);
+ ::java::awt::JobAttributes$DialogType * getDialog();
+ void setDialog(::java::awt::JobAttributes$DialogType *);
+ ::java::lang::String * getFileName();
+ void setFileName(::java::lang::String *);
+ jint getFromPage();
+ void setFromPage(jint);
+ jint getMaxPage();
+ void setMaxPage(jint);
+ jint getMinPage();
+ void setMinPage(jint);
+ ::java::awt::JobAttributes$MultipleDocumentHandlingType * getMultipleDocumentHandling();
+ void setMultipleDocumentHandling(::java::awt::JobAttributes$MultipleDocumentHandlingType *);
+ void setMultipleDocumentHandlingToDefault();
+ JArray< JArray< jint > * > * getPageRanges();
+ void setPageRanges(JArray< JArray< jint > * > *);
+ ::java::lang::String * getPrinter();
+ void setPrinter(::java::lang::String *);
+ ::java::awt::JobAttributes$SidesType * getSides();
+ void setSides(::java::awt::JobAttributes$SidesType *);
+ void setSidesToDefault();
+ jint getToPage();
+ void setToPage(jint);
+ jboolean equals(::java::lang::Object *);
+ jint hashCode();
+ ::java::lang::String * toString();
+private:
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) copies;
+ ::java::awt::JobAttributes$DefaultSelectionType * selection;
+ ::java::awt::JobAttributes$DestinationType * destination;
+ ::java::awt::JobAttributes$DialogType * dialog;
+ ::java::lang::String * filename;
+ jint maxPage;
+ jint minPage;
+ ::java::awt::JobAttributes$MultipleDocumentHandlingType * multiple;
+ JArray< JArray< jint > * > * pageRanges;
+ jint fromPage;
+ jint toPage;
+ ::java::lang::String * printer;
+ ::java::awt::JobAttributes$SidesType * sides;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_JobAttributes__
diff --git a/libjava/java/awt/KeyEventDispatcher.h b/libjava/java/awt/KeyEventDispatcher.h
new file mode 100644
index 0000000..fdb3195
--- /dev/null
+++ b/libjava/java/awt/KeyEventDispatcher.h
@@ -0,0 +1,33 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_KeyEventDispatcher__
+#define __java_awt_KeyEventDispatcher__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class KeyEventDispatcher;
+ namespace event
+ {
+ class KeyEvent;
+ }
+ }
+ }
+}
+
+class java::awt::KeyEventDispatcher : public ::java::lang::Object
+{
+
+public:
+ virtual jboolean dispatchKeyEvent(::java::awt::event::KeyEvent *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_awt_KeyEventDispatcher__
diff --git a/libjava/java/awt/KeyEventPostProcessor.h b/libjava/java/awt/KeyEventPostProcessor.h
new file mode 100644
index 0000000..806e145
--- /dev/null
+++ b/libjava/java/awt/KeyEventPostProcessor.h
@@ -0,0 +1,33 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_KeyEventPostProcessor__
+#define __java_awt_KeyEventPostProcessor__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class KeyEventPostProcessor;
+ namespace event
+ {
+ class KeyEvent;
+ }
+ }
+ }
+}
+
+class java::awt::KeyEventPostProcessor : public ::java::lang::Object
+{
+
+public:
+ virtual jboolean postProcessKeyEvent(::java::awt::event::KeyEvent *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_awt_KeyEventPostProcessor__
diff --git a/libjava/java/awt/KeyboardFocusManager.h b/libjava/java/awt/KeyboardFocusManager.h
new file mode 100644
index 0000000..9fd045c
--- /dev/null
+++ b/libjava/java/awt/KeyboardFocusManager.h
@@ -0,0 +1,156 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_KeyboardFocusManager__
+#define __java_awt_KeyboardFocusManager__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class AWTEvent;
+ class Component;
+ class Container;
+ class FocusTraversalPolicy;
+ class KeyEventDispatcher;
+ class KeyEventPostProcessor;
+ class KeyboardFocusManager;
+ class Window;
+ namespace event
+ {
+ class KeyEvent;
+ }
+ }
+ namespace beans
+ {
+ class PropertyChangeListener;
+ class PropertyChangeSupport;
+ class VetoableChangeListener;
+ class VetoableChangeSupport;
+ }
+ }
+}
+
+class java::awt::KeyboardFocusManager : public ::java::lang::Object
+{
+
+public:
+ KeyboardFocusManager();
+ static ::java::awt::KeyboardFocusManager * getCurrentKeyboardFocusManager();
+ static void setCurrentKeyboardFocusManager(::java::awt::KeyboardFocusManager *);
+ virtual ::java::awt::Component * getFocusOwner();
+public: // actually protected
+ virtual ::java::awt::Component * getGlobalFocusOwner();
+ virtual void setGlobalFocusOwner(::java::awt::Component *);
+public:
+ virtual void clearGlobalFocusOwner();
+ virtual ::java::awt::Component * getPermanentFocusOwner();
+public: // actually protected
+ virtual ::java::awt::Component * getGlobalPermanentFocusOwner();
+ virtual void setGlobalPermanentFocusOwner(::java::awt::Component *);
+public:
+ virtual ::java::awt::Window * getFocusedWindow();
+public: // actually protected
+ virtual ::java::awt::Window * getGlobalFocusedWindow();
+ virtual void setGlobalFocusedWindow(::java::awt::Window *);
+public:
+ virtual ::java::awt::Window * getActiveWindow();
+public: // actually protected
+ virtual ::java::awt::Window * getGlobalActiveWindow();
+ virtual void setGlobalActiveWindow(::java::awt::Window *);
+public:
+ virtual ::java::awt::FocusTraversalPolicy * getDefaultFocusTraversalPolicy();
+ virtual void setDefaultFocusTraversalPolicy(::java::awt::FocusTraversalPolicy *);
+ virtual void setDefaultFocusTraversalKeys(jint, ::java::util::Set *);
+ virtual ::java::util::Set * getDefaultFocusTraversalKeys(jint);
+ virtual ::java::awt::Container * getCurrentFocusCycleRoot();
+public: // actually protected
+ virtual ::java::awt::Container * getGlobalCurrentFocusCycleRoot();
+public:
+ virtual void setGlobalCurrentFocusCycleRoot(::java::awt::Container *);
+ virtual void addPropertyChangeListener(::java::beans::PropertyChangeListener *);
+ virtual void removePropertyChangeListener(::java::beans::PropertyChangeListener *);
+ virtual JArray< ::java::beans::PropertyChangeListener * > * getPropertyChangeListeners();
+ virtual void addPropertyChangeListener(::java::lang::String *, ::java::beans::PropertyChangeListener *);
+ virtual void removePropertyChangeListener(::java::lang::String *, ::java::beans::PropertyChangeListener *);
+ virtual JArray< ::java::beans::PropertyChangeListener * > * getPropertyChangeListeners(::java::lang::String *);
+public: // actually protected
+ virtual void firePropertyChange(::java::lang::String *, ::java::lang::Object *, ::java::lang::Object *);
+public:
+ virtual void addVetoableChangeListener(::java::beans::VetoableChangeListener *);
+ virtual void removeVetoableChangeListener(::java::beans::VetoableChangeListener *);
+ virtual JArray< ::java::beans::VetoableChangeListener * > * getVetoableChangeListeners();
+ virtual void addVetoableChangeListener(::java::lang::String *, ::java::beans::VetoableChangeListener *);
+ virtual void removeVetoableChangeListener(::java::lang::String *, ::java::beans::VetoableChangeListener *);
+ virtual JArray< ::java::beans::VetoableChangeListener * > * getVetoableChangeListeners(::java::lang::String *);
+public: // actually protected
+ virtual void fireVetoableChange(::java::lang::String *, ::java::lang::Object *, ::java::lang::Object *);
+public:
+ virtual void addKeyEventDispatcher(::java::awt::KeyEventDispatcher *);
+ virtual void removeKeyEventDispatcher(::java::awt::KeyEventDispatcher *);
+public: // actually protected
+ virtual ::java::util::List * getKeyEventDispatchers();
+public:
+ virtual void addKeyEventPostProcessor(::java::awt::KeyEventPostProcessor *);
+ virtual void removeKeyEventPostProcessor(::java::awt::KeyEventPostProcessor *);
+public: // actually protected
+ virtual ::java::util::List * getKeyEventPostProcessors();
+public:
+ virtual jboolean dispatchEvent(::java::awt::AWTEvent *) = 0;
+ virtual void redispatchEvent(::java::awt::Component *, ::java::awt::AWTEvent *);
+ virtual jboolean dispatchKeyEvent(::java::awt::event::KeyEvent *) = 0;
+ virtual jboolean postProcessKeyEvent(::java::awt::event::KeyEvent *) = 0;
+ virtual void processKeyEvent(::java::awt::Component *, ::java::awt::event::KeyEvent *) = 0;
+public: // actually protected
+ virtual void enqueueKeyEvents(jlong, ::java::awt::Component *) = 0;
+ virtual void dequeueKeyEvents(jlong, ::java::awt::Component *) = 0;
+ virtual void discardKeyEvents(::java::awt::Component *) = 0;
+public:
+ virtual void focusNextComponent(::java::awt::Component *) = 0;
+ virtual void focusPreviousComponent(::java::awt::Component *) = 0;
+ virtual void upFocusCycle(::java::awt::Component *) = 0;
+ virtual void downFocusCycle(::java::awt::Container *) = 0;
+ virtual void focusNextComponent();
+ virtual void focusPreviousComponent();
+ virtual void upFocusCycle();
+ virtual void downFocusCycle();
+private:
+ ::java::lang::Object * getObject(::java::util::Map *);
+ ::java::lang::Object * getGlobalObject(::java::util::Map *, jboolean);
+ void setGlobalObject(::java::util::Map *, ::java::lang::Object *, ::java::lang::String *);
+public: // actually package-private
+ static ::java::awt::AWTEvent * retargetFocusEvent(::java::awt::AWTEvent *);
+ static void addLightweightFocusRequest(::java::awt::Component *, ::java::awt::Component *);
+public:
+ static const jint FORWARD_TRAVERSAL_KEYS = 0;
+ static const jint BACKWARD_TRAVERSAL_KEYS = 1;
+ static const jint UP_CYCLE_TRAVERSAL_KEYS = 2;
+ static const jint DOWN_CYCLE_TRAVERSAL_KEYS = 3;
+private:
+ static ::java::util::Set * DEFAULT_FORWARD_KEYS;
+ static ::java::util::Set * DEFAULT_BACKWARD_KEYS;
+ static ::java::util::Map * currentKeyboardFocusManagers;
+ static ::java::util::Map * currentFocusOwners;
+ static ::java::util::Map * currentPermanentFocusOwners;
+ static ::java::util::Map * currentFocusedWindows;
+ static ::java::util::Map * currentActiveWindows;
+ static ::java::util::Map * currentFocusCycleRoots;
+ ::java::awt::FocusTraversalPolicy * __attribute__((aligned(__alignof__( ::java::lang::Object)))) defaultPolicy;
+ JArray< ::java::util::Set * > * defaultFocusKeys;
+ ::java::beans::PropertyChangeSupport * propertyChangeSupport;
+ ::java::beans::VetoableChangeSupport * vetoableChangeSupport;
+ ::java::util::ArrayList * keyEventDispatchers;
+ ::java::util::ArrayList * keyEventPostProcessors;
+ static ::java::util::HashMap * focusRequests;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_KeyboardFocusManager__
diff --git a/libjava/java/awt/Label$AccessibleAWTLabel.h b/libjava/java/awt/Label$AccessibleAWTLabel.h
new file mode 100644
index 0000000..7301841
--- /dev/null
+++ b/libjava/java/awt/Label$AccessibleAWTLabel.h
@@ -0,0 +1,44 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_Label$AccessibleAWTLabel__
+#define __java_awt_Label$AccessibleAWTLabel__
+
+#pragma interface
+
+#include <java/awt/Component$AccessibleAWTComponent.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Label;
+ class Label$AccessibleAWTLabel;
+ }
+ }
+ namespace javax
+ {
+ namespace accessibility
+ {
+ class AccessibleRole;
+ }
+ }
+}
+
+class java::awt::Label$AccessibleAWTLabel : public ::java::awt::Component$AccessibleAWTComponent
+{
+
+public:
+ Label$AccessibleAWTLabel(::java::awt::Label *);
+ virtual ::java::lang::String * getAccessibleName();
+ virtual ::javax::accessibility::AccessibleRole * getAccessibleRole();
+private:
+ static const jlong serialVersionUID = -3568967560160480438LL;
+public: // actually package-private
+ ::java::awt::Label * __attribute__((aligned(__alignof__( ::java::awt::Component$AccessibleAWTComponent)))) this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_Label$AccessibleAWTLabel__
diff --git a/libjava/java/awt/Label.h b/libjava/java/awt/Label.h
new file mode 100644
index 0000000..d315160
--- /dev/null
+++ b/libjava/java/awt/Label.h
@@ -0,0 +1,61 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_Label__
+#define __java_awt_Label__
+
+#pragma interface
+
+#include <java/awt/Component.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Label;
+ }
+ }
+ namespace javax
+ {
+ namespace accessibility
+ {
+ class AccessibleContext;
+ }
+ }
+}
+
+class java::awt::Label : public ::java::awt::Component
+{
+
+public:
+ Label();
+ Label(::java::lang::String *);
+ Label(::java::lang::String *, jint);
+ virtual jint getAlignment();
+ virtual void setAlignment(jint);
+ virtual ::java::lang::String * getText();
+ virtual void setText(::java::lang::String *);
+ virtual void addNotify();
+public: // actually protected
+ virtual ::java::lang::String * paramString();
+public:
+ virtual ::javax::accessibility::AccessibleContext * getAccessibleContext();
+public: // actually package-private
+ virtual ::java::lang::String * generateName();
+private:
+ static jlong getUniqueLong();
+public:
+ static const jint LEFT = 0;
+ static const jint CENTER = 1;
+ static const jint RIGHT = 2;
+private:
+ static const jlong serialVersionUID = 3094126758329070636LL;
+ jint __attribute__((aligned(__alignof__( ::java::awt::Component)))) alignment;
+ ::java::lang::String * text;
+ static jlong nextLabelNumber;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_Label__
diff --git a/libjava/java/awt/LayoutManager.h b/libjava/java/awt/LayoutManager.h
new file mode 100644
index 0000000..464871c
--- /dev/null
+++ b/libjava/java/awt/LayoutManager.h
@@ -0,0 +1,36 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_LayoutManager__
+#define __java_awt_LayoutManager__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Component;
+ class Container;
+ class Dimension;
+ class LayoutManager;
+ }
+ }
+}
+
+class java::awt::LayoutManager : public ::java::lang::Object
+{
+
+public:
+ virtual void addLayoutComponent(::java::lang::String *, ::java::awt::Component *) = 0;
+ virtual void removeLayoutComponent(::java::awt::Component *) = 0;
+ virtual ::java::awt::Dimension * preferredLayoutSize(::java::awt::Container *) = 0;
+ virtual ::java::awt::Dimension * minimumLayoutSize(::java::awt::Container *) = 0;
+ virtual void layoutContainer(::java::awt::Container *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_awt_LayoutManager__
diff --git a/libjava/java/awt/LayoutManager2.h b/libjava/java/awt/LayoutManager2.h
new file mode 100644
index 0000000..7c8331b
--- /dev/null
+++ b/libjava/java/awt/LayoutManager2.h
@@ -0,0 +1,41 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_LayoutManager2__
+#define __java_awt_LayoutManager2__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Component;
+ class Container;
+ class Dimension;
+ class LayoutManager2;
+ }
+ }
+}
+
+class java::awt::LayoutManager2 : public ::java::lang::Object
+{
+
+public:
+ virtual void addLayoutComponent(::java::awt::Component *, ::java::lang::Object *) = 0;
+ virtual ::java::awt::Dimension * maximumLayoutSize(::java::awt::Container *) = 0;
+ virtual jfloat getLayoutAlignmentX(::java::awt::Container *) = 0;
+ virtual jfloat getLayoutAlignmentY(::java::awt::Container *) = 0;
+ virtual void invalidateLayout(::java::awt::Container *) = 0;
+ virtual void addLayoutComponent(::java::lang::String *, ::java::awt::Component *) = 0;
+ virtual void removeLayoutComponent(::java::awt::Component *) = 0;
+ virtual ::java::awt::Dimension * preferredLayoutSize(::java::awt::Container *) = 0;
+ virtual ::java::awt::Dimension * minimumLayoutSize(::java::awt::Container *) = 0;
+ virtual void layoutContainer(::java::awt::Container *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_awt_LayoutManager2__
diff --git a/libjava/java/awt/LightweightDispatcher.h b/libjava/java/awt/LightweightDispatcher.h
new file mode 100644
index 0000000..0a0bc50
--- /dev/null
+++ b/libjava/java/awt/LightweightDispatcher.h
@@ -0,0 +1,51 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_LightweightDispatcher__
+#define __java_awt_LightweightDispatcher__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class AWTEvent;
+ class Component;
+ class Container;
+ class LightweightDispatcher;
+ namespace event
+ {
+ class MouseEvent;
+ }
+ }
+ }
+}
+
+class java::awt::LightweightDispatcher : public ::java::lang::Object
+{
+
+public: // actually package-private
+ static ::java::awt::LightweightDispatcher * getInstance();
+private:
+ LightweightDispatcher();
+public:
+ jboolean dispatchEvent(::java::awt::AWTEvent *);
+private:
+ jboolean handleMouseEvent(::java::awt::event::MouseEvent *);
+ ::java::awt::Component * findTarget(::java::awt::Container *, jint, jint);
+ jboolean isMouseListening(::java::awt::Component *);
+ void trackEnterExit(::java::awt::Component *, ::java::awt::event::MouseEvent *);
+ void redispatch(::java::awt::event::MouseEvent *, ::java::awt::Component *, jint);
+ jboolean isDragging(::java::awt::event::MouseEvent *);
+ static ::java::util::WeakHashMap * instances;
+ ::java::awt::Component * __attribute__((aligned(__alignof__( ::java::lang::Object)))) lastTarget;
+ ::java::awt::Component * mouseEventTarget;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_LightweightDispatcher__
diff --git a/libjava/java/awt/List$AccessibleAWTList$AccessibleAWTListChild.h b/libjava/java/awt/List$AccessibleAWTList$AccessibleAWTListChild.h
new file mode 100644
index 0000000..7014fd9
--- /dev/null
+++ b/libjava/java/awt/List$AccessibleAWTList$AccessibleAWTListChild.h
@@ -0,0 +1,51 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_List$AccessibleAWTList$AccessibleAWTListChild__
+#define __java_awt_List$AccessibleAWTList$AccessibleAWTListChild__
+
+#pragma interface
+
+#include <java/awt/Component$AccessibleAWTComponent.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class List;
+ class List$AccessibleAWTList;
+ class List$AccessibleAWTList$AccessibleAWTListChild;
+ }
+ }
+ namespace javax
+ {
+ namespace accessibility
+ {
+ class AccessibleContext;
+ class AccessibleRole;
+ class AccessibleStateSet;
+ }
+ }
+}
+
+class java::awt::List$AccessibleAWTList$AccessibleAWTListChild : public ::java::awt::Component$AccessibleAWTComponent
+{
+
+public:
+ List$AccessibleAWTList$AccessibleAWTListChild(::java::awt::List$AccessibleAWTList *, ::java::awt::List *, jint);
+ virtual ::javax::accessibility::AccessibleContext * getAccessibleContext();
+ virtual ::javax::accessibility::AccessibleRole * getAccessibleRole();
+ virtual ::javax::accessibility::AccessibleStateSet * getAccessibleStateSet();
+ virtual jint getAccessibleIndexInParent();
+private:
+ static const jlong serialVersionUID = 4412022926028300317LL;
+ ::java::awt::List * __attribute__((aligned(__alignof__( ::java::awt::Component$AccessibleAWTComponent)))) parent;
+ jint indexInParent;
+public: // actually package-private
+ ::java::awt::List$AccessibleAWTList * this$1;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_List$AccessibleAWTList$AccessibleAWTListChild__
diff --git a/libjava/java/awt/List$AccessibleAWTList.h b/libjava/java/awt/List$AccessibleAWTList.h
new file mode 100644
index 0000000..ca0dcaa
--- /dev/null
+++ b/libjava/java/awt/List$AccessibleAWTList.h
@@ -0,0 +1,66 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_List$AccessibleAWTList__
+#define __java_awt_List$AccessibleAWTList__
+
+#pragma interface
+
+#include <java/awt/Component$AccessibleAWTComponent.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class List;
+ class List$AccessibleAWTList;
+ namespace event
+ {
+ class ActionEvent;
+ class ItemEvent;
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace accessibility
+ {
+ class Accessible;
+ class AccessibleRole;
+ class AccessibleSelection;
+ class AccessibleStateSet;
+ }
+ }
+}
+
+class java::awt::List$AccessibleAWTList : public ::java::awt::Component$AccessibleAWTComponent
+{
+
+public:
+ List$AccessibleAWTList(::java::awt::List *);
+ virtual ::javax::accessibility::AccessibleRole * getAccessibleRole();
+ virtual ::javax::accessibility::AccessibleStateSet * getAccessibleStateSet();
+ virtual jint getAccessibleChildrenCount();
+ virtual ::javax::accessibility::Accessible * getAccessibleChild(jint);
+ virtual jint getAccessibleSelectionCount();
+ virtual ::javax::accessibility::AccessibleSelection * getAccessibleSelection();
+ virtual ::javax::accessibility::Accessible * getAccessibleSelection(jint);
+ virtual jboolean isAccessibleChildSelected(jint);
+ virtual void addAccessibleSelection(jint);
+ virtual void removeAccessibleSelection(jint);
+ virtual void clearAccessibleSelection();
+ virtual void selectAllAccessibleSelection();
+ virtual void itemStateChanged(::java::awt::event::ItemEvent *);
+ virtual void actionPerformed(::java::awt::event::ActionEvent *);
+public: // actually package-private
+ static ::java::awt::List * access$0(::java::awt::List$AccessibleAWTList *);
+private:
+ static const jlong serialVersionUID = 7924617370136012829LL;
+public: // actually package-private
+ ::java::awt::List * __attribute__((aligned(__alignof__( ::java::awt::Component$AccessibleAWTComponent)))) this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_List$AccessibleAWTList__
diff --git a/libjava/java/awt/List.h b/libjava/java/awt/List.h
new file mode 100644
index 0000000..ba11b18
--- /dev/null
+++ b/libjava/java/awt/List.h
@@ -0,0 +1,121 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_List__
+#define __java_awt_List__
+
+#pragma interface
+
+#include <java/awt/Component.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class AWTEvent;
+ class Dimension;
+ class List;
+ namespace event
+ {
+ class ActionEvent;
+ class ActionListener;
+ class ItemEvent;
+ class ItemListener;
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace accessibility
+ {
+ class AccessibleContext;
+ }
+ }
+}
+
+class java::awt::List : public ::java::awt::Component
+{
+
+public:
+ List();
+ List(jint);
+ List(jint, jboolean);
+ virtual jint getItemCount();
+ virtual jint countItems();
+ virtual JArray< ::java::lang::String * > * getItems();
+ virtual ::java::lang::String * getItem(jint);
+ virtual jint getRows();
+ virtual jboolean isMultipleMode();
+ virtual jboolean allowsMultipleSelections();
+ virtual void setMultipleMode(jboolean);
+ virtual void setMultipleSelections(jboolean);
+ virtual ::java::awt::Dimension * getMinimumSize();
+ virtual ::java::awt::Dimension * minimumSize();
+ virtual ::java::awt::Dimension * getMinimumSize(jint);
+ virtual ::java::awt::Dimension * minimumSize(jint);
+ virtual ::java::awt::Dimension * getPreferredSize();
+ virtual ::java::awt::Dimension * preferredSize();
+ virtual ::java::awt::Dimension * getPreferredSize(jint);
+ virtual ::java::awt::Dimension * preferredSize(jint);
+ virtual void add(::java::lang::String *);
+ virtual void addItem(::java::lang::String *);
+ virtual void add(::java::lang::String *, jint);
+ virtual void addItem(::java::lang::String *, jint);
+ virtual void delItem(jint);
+ virtual void remove(jint);
+ virtual void delItems(jint, jint);
+ virtual void remove(::java::lang::String *);
+ virtual void removeAll();
+ virtual void clear();
+ virtual void replaceItem(::java::lang::String *, jint);
+ virtual jint getSelectedIndex();
+ virtual JArray< jint > * getSelectedIndexes();
+ virtual ::java::lang::String * getSelectedItem();
+ virtual JArray< ::java::lang::String * > * getSelectedItems();
+ virtual JArray< ::java::lang::Object * > * getSelectedObjects();
+ virtual jboolean isIndexSelected(jint);
+ virtual jboolean isSelected(jint);
+ virtual void makeVisible(jint);
+ virtual jint getVisibleIndex();
+ virtual void select(jint);
+ virtual void deselect(jint);
+ virtual void addNotify();
+ virtual void removeNotify();
+ virtual void addActionListener(::java::awt::event::ActionListener *);
+ virtual void removeActionListener(::java::awt::event::ActionListener *);
+ virtual void addItemListener(::java::awt::event::ItemListener *);
+ virtual void removeItemListener(::java::awt::event::ItemListener *);
+public: // actually protected
+ virtual void processEvent(::java::awt::AWTEvent *);
+ virtual void processActionEvent(::java::awt::event::ActionEvent *);
+ virtual void processItemEvent(::java::awt::event::ItemEvent *);
+public: // actually package-private
+ virtual void dispatchEventImpl(::java::awt::AWTEvent *);
+public: // actually protected
+ virtual ::java::lang::String * paramString();
+public:
+ virtual JArray< ::java::util::EventListener * > * getListeners(::java::lang::Class *);
+ virtual JArray< ::java::awt::event::ActionListener * > * getActionListeners();
+ virtual JArray< ::java::awt::event::ItemListener * > * getItemListeners();
+ virtual ::javax::accessibility::AccessibleContext * getAccessibleContext();
+public: // actually package-private
+ virtual ::java::lang::String * generateName();
+private:
+ static jlong getUniqueLong();
+ static jlong next_list_number;
+ static const jlong serialVersionUID = -3304312411574666869LL;
+ ::java::util::Vector * __attribute__((aligned(__alignof__( ::java::awt::Component)))) items;
+ jboolean multipleMode;
+ jint rows;
+ JArray< jint > * selected;
+ jint visibleIndex;
+ ::java::awt::event::ItemListener * item_listeners;
+ ::java::awt::event::ActionListener * action_listeners;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_List__
diff --git a/libjava/java/awt/MediaTracker$MediaEntry.h b/libjava/java/awt/MediaTracker$MediaEntry.h
new file mode 100644
index 0000000..a21715b
--- /dev/null
+++ b/libjava/java/awt/MediaTracker$MediaEntry.h
@@ -0,0 +1,42 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_MediaTracker$MediaEntry__
+#define __java_awt_MediaTracker$MediaEntry__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Image;
+ class MediaTracker;
+ class MediaTracker$MediaEntry;
+ }
+ }
+}
+
+class java::awt::MediaTracker$MediaEntry : public ::java::lang::Object
+{
+
+public: // actually package-private
+ MediaTracker$MediaEntry(::java::awt::MediaTracker *);
+public:
+ virtual jboolean imageUpdate(::java::awt::Image *, jint, jint, jint, jint, jint);
+public: // actually package-private
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) id;
+ ::java::awt::Image * image;
+ ::java::awt::MediaTracker$MediaEntry * next;
+ jint status;
+ jint width;
+ jint height;
+ ::java::awt::MediaTracker * this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_MediaTracker$MediaEntry__
diff --git a/libjava/java/awt/MediaTracker.h b/libjava/java/awt/MediaTracker.h
new file mode 100644
index 0000000..bc72868
--- /dev/null
+++ b/libjava/java/awt/MediaTracker.h
@@ -0,0 +1,62 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_MediaTracker__
+#define __java_awt_MediaTracker__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Component;
+ class Image;
+ class MediaTracker;
+ class MediaTracker$MediaEntry;
+ }
+ }
+}
+
+class java::awt::MediaTracker : public ::java::lang::Object
+{
+
+public:
+ MediaTracker(::java::awt::Component *);
+ virtual void addImage(::java::awt::Image *, jint);
+ virtual void addImage(::java::awt::Image *, jint, jint, jint);
+ virtual jboolean checkAll();
+ virtual jboolean checkAll(jboolean);
+ virtual jboolean isErrorAny();
+ virtual JArray< ::java::lang::Object * > * getErrorsAny();
+ virtual void waitForAll();
+ virtual jboolean waitForAll(jlong);
+ virtual jint statusAll(jboolean);
+ virtual jboolean checkID(jint);
+ virtual jboolean checkID(jint, jboolean);
+ virtual jboolean isErrorID(jint);
+ virtual JArray< ::java::lang::Object * > * getErrorsID(jint);
+ virtual void waitForID(jint);
+ virtual jboolean waitForID(jint, jlong);
+ virtual jint statusID(jint, jboolean);
+ virtual void removeImage(::java::awt::Image *);
+ virtual void removeImage(::java::awt::Image *, jint);
+ virtual void removeImage(::java::awt::Image *, jint, jint, jint);
+ static const jint LOADING = 1;
+ static const jint ABORTED = 2;
+ static const jint ERRORED = 4;
+ static const jint COMPLETE = 8;
+public: // actually package-private
+ ::java::awt::Component * __attribute__((aligned(__alignof__( ::java::lang::Object)))) target;
+ ::java::awt::MediaTracker$MediaEntry * head;
+ static const jlong serialVersionUID = -483174189758638095LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_MediaTracker__
diff --git a/libjava/java/awt/Menu$AccessibleAWTMenu.h b/libjava/java/awt/Menu$AccessibleAWTMenu.h
new file mode 100644
index 0000000..73c33a7
--- /dev/null
+++ b/libjava/java/awt/Menu$AccessibleAWTMenu.h
@@ -0,0 +1,44 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_Menu$AccessibleAWTMenu__
+#define __java_awt_Menu$AccessibleAWTMenu__
+
+#pragma interface
+
+#include <java/awt/MenuItem$AccessibleAWTMenuItem.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Menu;
+ class Menu$AccessibleAWTMenu;
+ }
+ }
+ namespace javax
+ {
+ namespace accessibility
+ {
+ class AccessibleRole;
+ }
+ }
+}
+
+class java::awt::Menu$AccessibleAWTMenu : public ::java::awt::MenuItem$AccessibleAWTMenuItem
+{
+
+public: // actually protected
+ Menu$AccessibleAWTMenu(::java::awt::Menu *);
+public:
+ virtual ::javax::accessibility::AccessibleRole * getAccessibleRole();
+private:
+ static const jlong serialVersionUID = 5228160894980069094LL;
+public: // actually package-private
+ ::java::awt::Menu * __attribute__((aligned(__alignof__( ::java::awt::MenuItem$AccessibleAWTMenuItem)))) this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_Menu$AccessibleAWTMenu__
diff --git a/libjava/java/awt/Menu.h b/libjava/java/awt/Menu.h
new file mode 100644
index 0000000..7d2ab26
--- /dev/null
+++ b/libjava/java/awt/Menu.h
@@ -0,0 +1,70 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_Menu__
+#define __java_awt_Menu__
+
+#pragma interface
+
+#include <java/awt/MenuItem.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Menu;
+ class MenuComponent;
+ class MenuItem;
+ }
+ }
+ namespace javax
+ {
+ namespace accessibility
+ {
+ class AccessibleContext;
+ }
+ }
+}
+
+class java::awt::Menu : public ::java::awt::MenuItem
+{
+
+public:
+ Menu();
+ Menu(::java::lang::String *);
+ Menu(::java::lang::String *, jboolean);
+ virtual jboolean isTearOff();
+ virtual jint getItemCount();
+ virtual jint countItems();
+ virtual ::java::awt::MenuItem * getItem(jint);
+ virtual ::java::awt::MenuItem * add(::java::awt::MenuItem *);
+ virtual void add(::java::lang::String *);
+ virtual void insert(::java::awt::MenuItem *, jint);
+ virtual void insert(::java::lang::String *, jint);
+ virtual void addSeparator();
+ virtual void insertSeparator(jint);
+ virtual void remove(jint);
+ virtual void remove(::java::awt::MenuComponent *);
+ virtual void removeAll();
+ virtual void addNotify();
+ virtual void removeNotify();
+ virtual ::java::lang::String * paramString();
+ virtual ::javax::accessibility::AccessibleContext * getAccessibleContext();
+public: // actually package-private
+ virtual ::java::lang::String * generateName();
+private:
+ static jlong getUniqueLong();
+ static jlong next_menu_number;
+ static const jlong serialVersionUID = -8809584163345499784LL;
+ ::java::util::Vector * __attribute__((aligned(__alignof__( ::java::awt::MenuItem)))) items;
+ jboolean tearOff;
+ jboolean isHelpMenu;
+ jint menuSerializedDataVersion;
+public: // actually package-private
+ static ::java::lang::String * separatorLabel;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_Menu__
diff --git a/libjava/java/awt/MenuBar$AccessibleAWTMenuBar.h b/libjava/java/awt/MenuBar$AccessibleAWTMenuBar.h
new file mode 100644
index 0000000..2f40500
--- /dev/null
+++ b/libjava/java/awt/MenuBar$AccessibleAWTMenuBar.h
@@ -0,0 +1,44 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_MenuBar$AccessibleAWTMenuBar__
+#define __java_awt_MenuBar$AccessibleAWTMenuBar__
+
+#pragma interface
+
+#include <java/awt/MenuComponent$AccessibleAWTMenuComponent.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class MenuBar;
+ class MenuBar$AccessibleAWTMenuBar;
+ }
+ }
+ namespace javax
+ {
+ namespace accessibility
+ {
+ class AccessibleRole;
+ }
+ }
+}
+
+class java::awt::MenuBar$AccessibleAWTMenuBar : public ::java::awt::MenuComponent$AccessibleAWTMenuComponent
+{
+
+public: // actually protected
+ MenuBar$AccessibleAWTMenuBar(::java::awt::MenuBar *);
+public:
+ virtual ::javax::accessibility::AccessibleRole * getAccessibleRole();
+private:
+ static const jlong serialVersionUID = -8577604491830083815LL;
+public: // actually package-private
+ ::java::awt::MenuBar * __attribute__((aligned(__alignof__( ::java::awt::MenuComponent$AccessibleAWTMenuComponent)))) this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_MenuBar$AccessibleAWTMenuBar__
diff --git a/libjava/java/awt/MenuBar.h b/libjava/java/awt/MenuBar.h
new file mode 100644
index 0000000..f9eded3
--- /dev/null
+++ b/libjava/java/awt/MenuBar.h
@@ -0,0 +1,63 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_MenuBar__
+#define __java_awt_MenuBar__
+
+#pragma interface
+
+#include <java/awt/MenuComponent.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Menu;
+ class MenuBar;
+ class MenuComponent;
+ class MenuItem;
+ class MenuShortcut;
+ }
+ }
+ namespace javax
+ {
+ namespace accessibility
+ {
+ class AccessibleContext;
+ }
+ }
+}
+
+class java::awt::MenuBar : public ::java::awt::MenuComponent
+{
+
+public:
+ MenuBar();
+ virtual ::java::awt::Menu * getHelpMenu();
+ virtual void setHelpMenu(::java::awt::Menu *);
+ virtual ::java::awt::Menu * add(::java::awt::Menu *);
+ virtual void remove(jint);
+ virtual void remove(::java::awt::MenuComponent *);
+ virtual jint getMenuCount();
+ virtual jint countMenus();
+ virtual ::java::awt::Menu * getMenu(jint);
+ virtual void addNotify();
+ virtual void removeNotify();
+ virtual ::java::util::Enumeration * shortcuts();
+ virtual ::java::awt::MenuItem * getShortcutMenuItem(::java::awt::MenuShortcut *);
+ virtual void deleteShortcut(::java::awt::MenuShortcut *);
+ virtual ::javax::accessibility::AccessibleContext * getAccessibleContext();
+public: // actually package-private
+ virtual ::java::lang::String * generateName();
+private:
+ static jlong getUniqueLong();
+ static const jlong serialVersionUID = -4930327919388951260LL;
+ static jlong next_menubar_number;
+ ::java::awt::Menu * __attribute__((aligned(__alignof__( ::java::awt::MenuComponent)))) helpMenu;
+ ::java::util::Vector * menus;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_MenuBar__
diff --git a/libjava/java/awt/MenuComponent$AccessibleAWTMenuComponent.h b/libjava/java/awt/MenuComponent$AccessibleAWTMenuComponent.h
new file mode 100644
index 0000000..05d724b
--- /dev/null
+++ b/libjava/java/awt/MenuComponent$AccessibleAWTMenuComponent.h
@@ -0,0 +1,103 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_MenuComponent$AccessibleAWTMenuComponent__
+#define __java_awt_MenuComponent$AccessibleAWTMenuComponent__
+
+#pragma interface
+
+#include <javax/accessibility/AccessibleContext.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Color;
+ class Cursor;
+ class Dimension;
+ class Font;
+ class FontMetrics;
+ class MenuComponent;
+ class MenuComponent$AccessibleAWTMenuComponent;
+ class Point;
+ class Rectangle;
+ namespace event
+ {
+ class FocusListener;
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace accessibility
+ {
+ class Accessible;
+ class AccessibleComponent;
+ class AccessibleRole;
+ class AccessibleSelection;
+ class AccessibleStateSet;
+ }
+ }
+}
+
+class java::awt::MenuComponent$AccessibleAWTMenuComponent : public ::javax::accessibility::AccessibleContext
+{
+
+public: // actually protected
+ MenuComponent$AccessibleAWTMenuComponent(::java::awt::MenuComponent *);
+public:
+ virtual void addAccessibleSelection(jint);
+ virtual void addFocusListener(::java::awt::event::FocusListener *);
+ virtual void clearAccessibleSelection();
+ virtual jboolean contains(::java::awt::Point *);
+ virtual ::javax::accessibility::Accessible * getAccessibleAt(::java::awt::Point *);
+ virtual ::javax::accessibility::Accessible * getAccessibleChild(jint);
+ virtual jint getAccessibleChildrenCount();
+ virtual ::javax::accessibility::AccessibleComponent * getAccessibleComponent();
+ virtual ::java::lang::String * getAccessibleDescription();
+ virtual jint getAccessibleIndexInParent();
+ virtual ::java::lang::String * getAccessibleName();
+ virtual ::javax::accessibility::Accessible * getAccessibleParent();
+ virtual ::javax::accessibility::AccessibleRole * getAccessibleRole();
+ virtual ::javax::accessibility::AccessibleSelection * getAccessibleSelection();
+ virtual ::javax::accessibility::Accessible * getAccessibleSelection(jint);
+ virtual jint getAccessibleSelectionCount();
+ virtual ::javax::accessibility::AccessibleStateSet * getAccessibleStateSet();
+ virtual ::java::awt::Color * getBackground();
+ virtual ::java::awt::Rectangle * getBounds();
+ virtual ::java::awt::Cursor * getCursor();
+ virtual ::java::awt::Font * getFont();
+ virtual ::java::awt::FontMetrics * getFontMetrics(::java::awt::Font *);
+ virtual ::java::awt::Color * getForeground();
+ virtual ::java::util::Locale * getLocale();
+ virtual ::java::awt::Point * getLocation();
+ virtual ::java::awt::Point * getLocationOnScreen();
+ virtual ::java::awt::Dimension * getSize();
+ virtual jboolean isAccessibleChildSelected(jint);
+ virtual jboolean isEnabled();
+ virtual jboolean isFocusTraversable();
+ virtual jboolean isShowing();
+ virtual jboolean isVisible();
+ virtual void removeAccessibleSelection(jint);
+ virtual void removeFocusListener(::java::awt::event::FocusListener *);
+ virtual void requestFocus();
+ virtual void selectAllAccessibleSelection();
+ virtual void setBackground(::java::awt::Color *);
+ virtual void setBounds(::java::awt::Rectangle *);
+ virtual void setCursor(::java::awt::Cursor *);
+ virtual void setEnabled(jboolean);
+ virtual void setFont(::java::awt::Font *);
+ virtual void setForeground(::java::awt::Color *);
+ virtual void setLocation(::java::awt::Point *);
+ virtual void setSize(::java::awt::Dimension *);
+ virtual void setVisible(jboolean);
+private:
+ static const jlong serialVersionUID = -4269533416223798698LL;
+public: // actually package-private
+ ::java::awt::MenuComponent * __attribute__((aligned(__alignof__( ::javax::accessibility::AccessibleContext)))) this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_MenuComponent$AccessibleAWTMenuComponent__
diff --git a/libjava/java/awt/MenuComponent.h b/libjava/java/awt/MenuComponent.h
new file mode 100644
index 0000000..d47e718
--- /dev/null
+++ b/libjava/java/awt/MenuComponent.h
@@ -0,0 +1,102 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_MenuComponent__
+#define __java_awt_MenuComponent__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class AWTEvent;
+ class Event;
+ class Font;
+ class MenuComponent;
+ class MenuContainer;
+ class Toolkit;
+ namespace event
+ {
+ class FocusListener;
+ }
+ namespace peer
+ {
+ class MenuComponentPeer;
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace accessibility
+ {
+ class AccessibleContext;
+ }
+ }
+}
+
+class java::awt::MenuComponent : public ::java::lang::Object
+{
+
+public:
+ MenuComponent();
+ virtual ::java::awt::Font * getFont();
+ virtual void setFont(::java::awt::Font *);
+ virtual ::java::lang::String * getName();
+public: // actually package-private
+ virtual ::java::lang::String * generateName();
+public:
+ virtual void setName(::java::lang::String *);
+ virtual ::java::awt::MenuContainer * getParent();
+public: // actually package-private
+ virtual void setParent(::java::awt::MenuContainer *);
+public:
+ virtual ::java::awt::peer::MenuComponentPeer * getPeer();
+public: // actually package-private
+ virtual void setPeer(::java::awt::peer::MenuComponentPeer *);
+public:
+ virtual void removeNotify();
+public: // actually package-private
+ virtual ::java::awt::Toolkit * getToolkit();
+public: // actually protected
+ virtual ::java::lang::Object * getTreeLock();
+public: // actually package-private
+ virtual void setTreeLock(::java::lang::Object *);
+public:
+ virtual jboolean postEvent(::java::awt::Event *);
+ virtual void dispatchEvent(::java::awt::AWTEvent *);
+public: // actually package-private
+ virtual void dispatchEventImpl(::java::awt::AWTEvent *);
+public: // actually protected
+ virtual void processEvent(::java::awt::AWTEvent *);
+public:
+ virtual ::java::lang::String * toString();
+public: // actually protected
+ virtual ::java::lang::String * paramString();
+public:
+ virtual ::javax::accessibility::AccessibleContext * getAccessibleContext();
+private:
+ static const jlong serialVersionUID = -4536902356223894379LL;
+ ::java::awt::Font * __attribute__((aligned(__alignof__( ::java::lang::Object)))) font;
+ ::java::lang::String * name;
+public: // actually package-private
+ ::java::awt::MenuContainer * parent;
+ ::java::awt::peer::MenuComponentPeer * peer;
+private:
+ ::java::lang::Object * tree_lock;
+ static ::java::awt::Toolkit * toolkit;
+public: // actually package-private
+ ::javax::accessibility::AccessibleContext * accessibleContext;
+private:
+ jboolean nameExplicitlySet;
+ jboolean newEventsOnly;
+public: // actually package-private
+ ::java::awt::event::FocusListener * focusListener;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_MenuComponent__
diff --git a/libjava/java/awt/MenuContainer.h b/libjava/java/awt/MenuContainer.h
new file mode 100644
index 0000000..3f2a1cf
--- /dev/null
+++ b/libjava/java/awt/MenuContainer.h
@@ -0,0 +1,34 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_MenuContainer__
+#define __java_awt_MenuContainer__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Event;
+ class Font;
+ class MenuComponent;
+ class MenuContainer;
+ }
+ }
+}
+
+class java::awt::MenuContainer : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::awt::Font * getFont() = 0;
+ virtual void remove(::java::awt::MenuComponent *) = 0;
+ virtual jboolean postEvent(::java::awt::Event *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_awt_MenuContainer__
diff --git a/libjava/java/awt/MenuItem$AccessibleAWTMenuItem.h b/libjava/java/awt/MenuItem$AccessibleAWTMenuItem.h
new file mode 100644
index 0000000..5bc2638
--- /dev/null
+++ b/libjava/java/awt/MenuItem$AccessibleAWTMenuItem.h
@@ -0,0 +1,56 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_MenuItem$AccessibleAWTMenuItem__
+#define __java_awt_MenuItem$AccessibleAWTMenuItem__
+
+#pragma interface
+
+#include <java/awt/MenuComponent$AccessibleAWTMenuComponent.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class MenuItem;
+ class MenuItem$AccessibleAWTMenuItem;
+ }
+ }
+ namespace javax
+ {
+ namespace accessibility
+ {
+ class AccessibleAction;
+ class AccessibleRole;
+ class AccessibleValue;
+ }
+ }
+}
+
+class java::awt::MenuItem$AccessibleAWTMenuItem : public ::java::awt::MenuComponent$AccessibleAWTMenuComponent
+{
+
+public: // actually protected
+ MenuItem$AccessibleAWTMenuItem(::java::awt::MenuItem *);
+public:
+ virtual ::java::lang::String * getAccessibleName();
+ virtual ::javax::accessibility::AccessibleAction * getAccessibleAction();
+ virtual ::javax::accessibility::AccessibleRole * getAccessibleRole();
+ virtual jint getAccessibleActionCount();
+ virtual ::java::lang::String * getAccessibleActionDescription(jint);
+ virtual jboolean doAccessibleAction(jint);
+ virtual ::javax::accessibility::AccessibleValue * getAccessibleValue();
+ virtual ::java::lang::Number * getCurrentAccessibleValue();
+ virtual jboolean setCurrentAccessibleValue(::java::lang::Number *);
+ virtual ::java::lang::Number * getMinimumAccessibleValue();
+ virtual ::java::lang::Number * getMaximumAccessibleValue();
+private:
+ static const jlong serialVersionUID = -217847831945965825LL;
+public: // actually package-private
+ ::java::awt::MenuItem * __attribute__((aligned(__alignof__( ::java::awt::MenuComponent$AccessibleAWTMenuComponent)))) this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_MenuItem$AccessibleAWTMenuItem__
diff --git a/libjava/java/awt/MenuItem.h b/libjava/java/awt/MenuItem.h
new file mode 100644
index 0000000..2b57ebf
--- /dev/null
+++ b/libjava/java/awt/MenuItem.h
@@ -0,0 +1,91 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_MenuItem__
+#define __java_awt_MenuItem__
+
+#pragma interface
+
+#include <java/awt/MenuComponent.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class AWTEvent;
+ class MenuItem;
+ class MenuShortcut;
+ namespace event
+ {
+ class ActionEvent;
+ class ActionListener;
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace accessibility
+ {
+ class AccessibleContext;
+ }
+ }
+}
+
+class java::awt::MenuItem : public ::java::awt::MenuComponent
+{
+
+public:
+ MenuItem();
+ MenuItem(::java::lang::String *);
+ MenuItem(::java::lang::String *, ::java::awt::MenuShortcut *);
+ virtual ::java::lang::String * getLabel();
+ virtual void setLabel(::java::lang::String *);
+ virtual jboolean isEnabled();
+ virtual void setEnabled(jboolean);
+ virtual void enable(jboolean);
+ virtual void enable();
+ virtual void disable();
+ virtual ::java::awt::MenuShortcut * getShortcut();
+ virtual void setShortcut(::java::awt::MenuShortcut *);
+ virtual void deleteShortcut();
+ virtual ::java::lang::String * getActionCommand();
+ virtual void setActionCommand(::java::lang::String *);
+public: // actually protected
+ virtual void enableEvents(jlong);
+ virtual void disableEvents(jlong);
+public:
+ virtual void addNotify();
+ virtual void addActionListener(::java::awt::event::ActionListener *);
+ virtual void removeActionListener(::java::awt::event::ActionListener *);
+ virtual JArray< ::java::awt::event::ActionListener * > * getActionListeners();
+ virtual JArray< ::java::util::EventListener * > * getListeners(::java::lang::Class *);
+public: // actually package-private
+ virtual void dispatchEventImpl(::java::awt::AWTEvent *);
+public: // actually protected
+ virtual void processEvent(::java::awt::AWTEvent *);
+ virtual void processActionEvent(::java::awt::event::ActionEvent *);
+public:
+ virtual ::java::lang::String * paramString();
+ virtual ::javax::accessibility::AccessibleContext * getAccessibleContext();
+public: // actually package-private
+ virtual ::java::lang::String * generateName();
+private:
+ static jlong getUniqueLong();
+ static jlong next_menuitem_number;
+ static const jlong serialVersionUID = -21757335363267194LL;
+public: // actually package-private
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::awt::MenuComponent)))) actionCommand;
+ jboolean enabled;
+ jlong eventMask;
+ ::java::lang::String * label;
+private:
+ ::java::awt::MenuShortcut * shortcut;
+ ::java::awt::event::ActionListener * action_listeners;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_MenuItem__
diff --git a/libjava/java/awt/MenuShortcut.h b/libjava/java/awt/MenuShortcut.h
new file mode 100644
index 0000000..89ae7a8
--- /dev/null
+++ b/libjava/java/awt/MenuShortcut.h
@@ -0,0 +1,45 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_MenuShortcut__
+#define __java_awt_MenuShortcut__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class MenuShortcut;
+ }
+ }
+}
+
+class java::awt::MenuShortcut : public ::java::lang::Object
+{
+
+public:
+ MenuShortcut(jint);
+ MenuShortcut(jint, jboolean);
+ virtual jint getKey();
+ virtual jboolean usesShiftModifier();
+ virtual jboolean equals(::java::awt::MenuShortcut *);
+ virtual jboolean equals(::java::lang::Object *);
+ virtual ::java::lang::String * toString();
+ virtual jint hashCode();
+public: // actually protected
+ virtual ::java::lang::String * paramString();
+private:
+ void setKeyName(jint);
+ static const jlong serialVersionUID = 143448358473180225LL;
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) key;
+ jboolean usesShift;
+ ::java::lang::String * keyName;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_MenuShortcut__
diff --git a/libjava/java/awt/MouseInfo.h b/libjava/java/awt/MouseInfo.h
new file mode 100644
index 0000000..97aed5c
--- /dev/null
+++ b/libjava/java/awt/MouseInfo.h
@@ -0,0 +1,39 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_MouseInfo__
+#define __java_awt_MouseInfo__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class MouseInfo;
+ class PointerInfo;
+ namespace peer
+ {
+ class MouseInfoPeer;
+ }
+ }
+ }
+}
+
+class java::awt::MouseInfo : public ::java::lang::Object
+{
+
+public:
+ MouseInfo();
+ static ::java::awt::PointerInfo * getPointerInfo();
+ static jint getNumberOfButtons();
+private:
+ static ::java::awt::peer::MouseInfoPeer * peer;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_MouseInfo__
diff --git a/libjava/java/awt/PageAttributes$ColorType.h b/libjava/java/awt/PageAttributes$ColorType.h
new file mode 100644
index 0000000..ae67841
--- /dev/null
+++ b/libjava/java/awt/PageAttributes$ColorType.h
@@ -0,0 +1,34 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_PageAttributes$ColorType__
+#define __java_awt_PageAttributes$ColorType__
+
+#pragma interface
+
+#include <java/awt/AttributeValue.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class PageAttributes$ColorType;
+ }
+ }
+}
+
+class java::awt::PageAttributes$ColorType : public ::java::awt::AttributeValue
+{
+
+ PageAttributes$ColorType(jint);
+ static JArray< ::java::lang::String * > * NAMES;
+public:
+ static ::java::awt::PageAttributes$ColorType * COLOR;
+ static ::java::awt::PageAttributes$ColorType * MONOCHROME;
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_PageAttributes$ColorType__
diff --git a/libjava/java/awt/PageAttributes$MediaType.h b/libjava/java/awt/PageAttributes$MediaType.h
new file mode 100644
index 0000000..c085d0a
--- /dev/null
+++ b/libjava/java/awt/PageAttributes$MediaType.h
@@ -0,0 +1,179 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_PageAttributes$MediaType__
+#define __java_awt_PageAttributes$MediaType__
+
+#pragma interface
+
+#include <java/awt/AttributeValue.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class PageAttributes$MediaType;
+ }
+ }
+}
+
+class java::awt::PageAttributes$MediaType : public ::java::awt::AttributeValue
+{
+
+ PageAttributes$MediaType(jint);
+ static JArray< ::java::lang::String * > * NAMES;
+public:
+ static ::java::awt::PageAttributes$MediaType * ISO_4A0;
+ static ::java::awt::PageAttributes$MediaType * ISO_2A0;
+ static ::java::awt::PageAttributes$MediaType * ISO_A0;
+ static ::java::awt::PageAttributes$MediaType * ISO_A1;
+ static ::java::awt::PageAttributes$MediaType * ISO_A2;
+ static ::java::awt::PageAttributes$MediaType * ISO_A3;
+ static ::java::awt::PageAttributes$MediaType * ISO_A4;
+ static ::java::awt::PageAttributes$MediaType * ISO_A5;
+ static ::java::awt::PageAttributes$MediaType * ISO_A6;
+ static ::java::awt::PageAttributes$MediaType * ISO_A7;
+ static ::java::awt::PageAttributes$MediaType * ISO_A8;
+ static ::java::awt::PageAttributes$MediaType * ISO_A9;
+ static ::java::awt::PageAttributes$MediaType * ISO_A10;
+ static ::java::awt::PageAttributes$MediaType * ISO_B0;
+ static ::java::awt::PageAttributes$MediaType * ISO_B1;
+ static ::java::awt::PageAttributes$MediaType * ISO_B2;
+ static ::java::awt::PageAttributes$MediaType * ISO_B3;
+ static ::java::awt::PageAttributes$MediaType * ISO_B4;
+ static ::java::awt::PageAttributes$MediaType * ISO_B5;
+ static ::java::awt::PageAttributes$MediaType * ISO_B6;
+ static ::java::awt::PageAttributes$MediaType * ISO_B7;
+ static ::java::awt::PageAttributes$MediaType * ISO_B8;
+ static ::java::awt::PageAttributes$MediaType * ISO_B9;
+ static ::java::awt::PageAttributes$MediaType * ISO_B10;
+ static ::java::awt::PageAttributes$MediaType * JIS_B0;
+ static ::java::awt::PageAttributes$MediaType * JIS_B1;
+ static ::java::awt::PageAttributes$MediaType * JIS_B2;
+ static ::java::awt::PageAttributes$MediaType * JIS_B3;
+ static ::java::awt::PageAttributes$MediaType * JIS_B4;
+ static ::java::awt::PageAttributes$MediaType * JIS_B5;
+ static ::java::awt::PageAttributes$MediaType * JIS_B6;
+ static ::java::awt::PageAttributes$MediaType * JIS_B7;
+ static ::java::awt::PageAttributes$MediaType * JIS_B8;
+ static ::java::awt::PageAttributes$MediaType * JIS_B9;
+ static ::java::awt::PageAttributes$MediaType * JIS_B10;
+ static ::java::awt::PageAttributes$MediaType * ISO_C0;
+ static ::java::awt::PageAttributes$MediaType * ISO_C1;
+ static ::java::awt::PageAttributes$MediaType * ISO_C2;
+ static ::java::awt::PageAttributes$MediaType * ISO_C3;
+ static ::java::awt::PageAttributes$MediaType * ISO_C4;
+ static ::java::awt::PageAttributes$MediaType * ISO_C5;
+ static ::java::awt::PageAttributes$MediaType * ISO_C6;
+ static ::java::awt::PageAttributes$MediaType * ISO_C7;
+ static ::java::awt::PageAttributes$MediaType * ISO_C8;
+ static ::java::awt::PageAttributes$MediaType * ISO_C9;
+ static ::java::awt::PageAttributes$MediaType * ISO_C10;
+ static ::java::awt::PageAttributes$MediaType * ISO_DESIGNATED_LONG;
+ static ::java::awt::PageAttributes$MediaType * EXECUTIVE;
+ static ::java::awt::PageAttributes$MediaType * FOLIO;
+ static ::java::awt::PageAttributes$MediaType * INVOICE;
+ static ::java::awt::PageAttributes$MediaType * LEDGER;
+ static ::java::awt::PageAttributes$MediaType * NA_LETTER;
+ static ::java::awt::PageAttributes$MediaType * NA_LEGAL;
+ static ::java::awt::PageAttributes$MediaType * QUARTO;
+ static ::java::awt::PageAttributes$MediaType * A;
+ static ::java::awt::PageAttributes$MediaType * B;
+ static ::java::awt::PageAttributes$MediaType * C;
+ static ::java::awt::PageAttributes$MediaType * D;
+ static ::java::awt::PageAttributes$MediaType * E;
+ static ::java::awt::PageAttributes$MediaType * NA_10X15_ENVELOPE;
+ static ::java::awt::PageAttributes$MediaType * NA_10X14_ENVELOPE;
+ static ::java::awt::PageAttributes$MediaType * NA_10X13_ENVELOPE;
+ static ::java::awt::PageAttributes$MediaType * NA_9X12_ENVELOPE;
+ static ::java::awt::PageAttributes$MediaType * NA_9X11_ENVELOPE;
+ static ::java::awt::PageAttributes$MediaType * NA_7X9_ENVELOPE;
+ static ::java::awt::PageAttributes$MediaType * NA_6X9_ENVELOPE;
+ static ::java::awt::PageAttributes$MediaType * NA_NUMBER_9_ENVELOPE;
+ static ::java::awt::PageAttributes$MediaType * NA_NUMBER_10_ENVELOPE;
+ static ::java::awt::PageAttributes$MediaType * NA_NUMBER_11_ENVELOPE;
+ static ::java::awt::PageAttributes$MediaType * NA_NUMBER_12_ENVELOPE;
+ static ::java::awt::PageAttributes$MediaType * NA_NUMBER_14_ENVELOPE;
+ static ::java::awt::PageAttributes$MediaType * INVITE_ENVELOPE;
+ static ::java::awt::PageAttributes$MediaType * ITALY_ENVELOPE;
+ static ::java::awt::PageAttributes$MediaType * MONARCH_ENVELOPE;
+ static ::java::awt::PageAttributes$MediaType * PERSONAL_ENVELOPE;
+ static ::java::awt::PageAttributes$MediaType * A0;
+ static ::java::awt::PageAttributes$MediaType * A1;
+ static ::java::awt::PageAttributes$MediaType * A2;
+ static ::java::awt::PageAttributes$MediaType * A3;
+ static ::java::awt::PageAttributes$MediaType * A4;
+ static ::java::awt::PageAttributes$MediaType * A5;
+ static ::java::awt::PageAttributes$MediaType * A6;
+ static ::java::awt::PageAttributes$MediaType * A7;
+ static ::java::awt::PageAttributes$MediaType * A8;
+ static ::java::awt::PageAttributes$MediaType * A9;
+ static ::java::awt::PageAttributes$MediaType * A10;
+ static ::java::awt::PageAttributes$MediaType * B0;
+ static ::java::awt::PageAttributes$MediaType * B1;
+ static ::java::awt::PageAttributes$MediaType * B2;
+ static ::java::awt::PageAttributes$MediaType * B3;
+ static ::java::awt::PageAttributes$MediaType * B4;
+ static ::java::awt::PageAttributes$MediaType * ISO_B4_ENVELOPE;
+ static ::java::awt::PageAttributes$MediaType * B5;
+ static ::java::awt::PageAttributes$MediaType * ISO_B5_ENVELOPE;
+ static ::java::awt::PageAttributes$MediaType * B6;
+ static ::java::awt::PageAttributes$MediaType * B7;
+ static ::java::awt::PageAttributes$MediaType * B8;
+ static ::java::awt::PageAttributes$MediaType * B9;
+ static ::java::awt::PageAttributes$MediaType * B10;
+ static ::java::awt::PageAttributes$MediaType * C0;
+ static ::java::awt::PageAttributes$MediaType * ISO_C0_ENVELOPE;
+ static ::java::awt::PageAttributes$MediaType * C1;
+ static ::java::awt::PageAttributes$MediaType * ISO_C1_ENVELOPE;
+ static ::java::awt::PageAttributes$MediaType * C2;
+ static ::java::awt::PageAttributes$MediaType * ISO_C2_ENVELOPE;
+ static ::java::awt::PageAttributes$MediaType * C3;
+ static ::java::awt::PageAttributes$MediaType * ISO_C3_ENVELOPE;
+ static ::java::awt::PageAttributes$MediaType * C4;
+ static ::java::awt::PageAttributes$MediaType * ISO_C4_ENVELOPE;
+ static ::java::awt::PageAttributes$MediaType * C5;
+ static ::java::awt::PageAttributes$MediaType * ISO_C5_ENVELOPE;
+ static ::java::awt::PageAttributes$MediaType * C6;
+ static ::java::awt::PageAttributes$MediaType * ISO_C6_ENVELOPE;
+ static ::java::awt::PageAttributes$MediaType * C7;
+ static ::java::awt::PageAttributes$MediaType * ISO_C7_ENVELOPE;
+ static ::java::awt::PageAttributes$MediaType * C8;
+ static ::java::awt::PageAttributes$MediaType * ISO_C8_ENVELOPE;
+ static ::java::awt::PageAttributes$MediaType * C9;
+ static ::java::awt::PageAttributes$MediaType * ISO_C9_ENVELOPE;
+ static ::java::awt::PageAttributes$MediaType * C10;
+ static ::java::awt::PageAttributes$MediaType * ISO_C10_ENVELOPE;
+ static ::java::awt::PageAttributes$MediaType * ISO_DESIGNATED_LONG_ENVELOPE;
+ static ::java::awt::PageAttributes$MediaType * STATEMENT;
+ static ::java::awt::PageAttributes$MediaType * TABLOID;
+ static ::java::awt::PageAttributes$MediaType * LETTER;
+ static ::java::awt::PageAttributes$MediaType * NOTE;
+ static ::java::awt::PageAttributes$MediaType * LEGAL;
+ static ::java::awt::PageAttributes$MediaType * ENV_10X15;
+ static ::java::awt::PageAttributes$MediaType * ENV_10X14;
+ static ::java::awt::PageAttributes$MediaType * ENV_10X13;
+ static ::java::awt::PageAttributes$MediaType * ENV_9X12;
+ static ::java::awt::PageAttributes$MediaType * ENV_9X11;
+ static ::java::awt::PageAttributes$MediaType * ENV_7X9;
+ static ::java::awt::PageAttributes$MediaType * ENV_6X9;
+ static ::java::awt::PageAttributes$MediaType * ENV_9;
+ static ::java::awt::PageAttributes$MediaType * ENV_10;
+ static ::java::awt::PageAttributes$MediaType * ENV_11;
+ static ::java::awt::PageAttributes$MediaType * ENV_12;
+ static ::java::awt::PageAttributes$MediaType * ENV_14;
+ static ::java::awt::PageAttributes$MediaType * ENV_INVITE;
+ static ::java::awt::PageAttributes$MediaType * ENV_ITALY;
+ static ::java::awt::PageAttributes$MediaType * ENV_MONARCH;
+ static ::java::awt::PageAttributes$MediaType * ENV_PERSONAL;
+ static ::java::awt::PageAttributes$MediaType * INVITE;
+ static ::java::awt::PageAttributes$MediaType * ITALY;
+ static ::java::awt::PageAttributes$MediaType * MONARCH;
+ static ::java::awt::PageAttributes$MediaType * PERSONAL;
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_PageAttributes$MediaType__
diff --git a/libjava/java/awt/PageAttributes$OrientationRequestedType.h b/libjava/java/awt/PageAttributes$OrientationRequestedType.h
new file mode 100644
index 0000000..79e1602
--- /dev/null
+++ b/libjava/java/awt/PageAttributes$OrientationRequestedType.h
@@ -0,0 +1,34 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_PageAttributes$OrientationRequestedType__
+#define __java_awt_PageAttributes$OrientationRequestedType__
+
+#pragma interface
+
+#include <java/awt/AttributeValue.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class PageAttributes$OrientationRequestedType;
+ }
+ }
+}
+
+class java::awt::PageAttributes$OrientationRequestedType : public ::java::awt::AttributeValue
+{
+
+ PageAttributes$OrientationRequestedType(jint);
+ static JArray< ::java::lang::String * > * NAMES;
+public:
+ static ::java::awt::PageAttributes$OrientationRequestedType * PORTRAIT;
+ static ::java::awt::PageAttributes$OrientationRequestedType * LANDSCAPE;
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_PageAttributes$OrientationRequestedType__
diff --git a/libjava/java/awt/PageAttributes$OriginType.h b/libjava/java/awt/PageAttributes$OriginType.h
new file mode 100644
index 0000000..16e04f8
--- /dev/null
+++ b/libjava/java/awt/PageAttributes$OriginType.h
@@ -0,0 +1,34 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_PageAttributes$OriginType__
+#define __java_awt_PageAttributes$OriginType__
+
+#pragma interface
+
+#include <java/awt/AttributeValue.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class PageAttributes$OriginType;
+ }
+ }
+}
+
+class java::awt::PageAttributes$OriginType : public ::java::awt::AttributeValue
+{
+
+ PageAttributes$OriginType(jint);
+ static JArray< ::java::lang::String * > * NAMES;
+public:
+ static ::java::awt::PageAttributes$OriginType * PHYSICAL;
+ static ::java::awt::PageAttributes$OriginType * PRINTABLE;
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_PageAttributes$OriginType__
diff --git a/libjava/java/awt/PageAttributes$PrintQualityType.h b/libjava/java/awt/PageAttributes$PrintQualityType.h
new file mode 100644
index 0000000..3f2b68c
--- /dev/null
+++ b/libjava/java/awt/PageAttributes$PrintQualityType.h
@@ -0,0 +1,35 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_PageAttributes$PrintQualityType__
+#define __java_awt_PageAttributes$PrintQualityType__
+
+#pragma interface
+
+#include <java/awt/AttributeValue.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class PageAttributes$PrintQualityType;
+ }
+ }
+}
+
+class java::awt::PageAttributes$PrintQualityType : public ::java::awt::AttributeValue
+{
+
+ PageAttributes$PrintQualityType(jint);
+ static JArray< ::java::lang::String * > * NAMES;
+public:
+ static ::java::awt::PageAttributes$PrintQualityType * HIGH;
+ static ::java::awt::PageAttributes$PrintQualityType * NORMAL;
+ static ::java::awt::PageAttributes$PrintQualityType * DRAFT;
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_PageAttributes$PrintQualityType__
diff --git a/libjava/java/awt/PageAttributes.h b/libjava/java/awt/PageAttributes.h
new file mode 100644
index 0000000..7ed2f7a
--- /dev/null
+++ b/libjava/java/awt/PageAttributes.h
@@ -0,0 +1,72 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_PageAttributes__
+#define __java_awt_PageAttributes__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class PageAttributes;
+ class PageAttributes$ColorType;
+ class PageAttributes$MediaType;
+ class PageAttributes$OrientationRequestedType;
+ class PageAttributes$OriginType;
+ class PageAttributes$PrintQualityType;
+ }
+ }
+}
+
+class java::awt::PageAttributes : public ::java::lang::Object
+{
+
+public:
+ PageAttributes();
+ PageAttributes(::java::awt::PageAttributes *);
+ PageAttributes(::java::awt::PageAttributes$ColorType *, ::java::awt::PageAttributes$MediaType *, ::java::awt::PageAttributes$OrientationRequestedType *, ::java::awt::PageAttributes$OriginType *, ::java::awt::PageAttributes$PrintQualityType *, JArray< jint > *);
+ ::java::lang::Object * clone();
+ void set(::java::awt::PageAttributes *);
+ ::java::awt::PageAttributes$ColorType * getColor();
+ void setColor(::java::awt::PageAttributes$ColorType *);
+ ::java::awt::PageAttributes$MediaType * getMedia();
+ void setMedia(::java::awt::PageAttributes$MediaType *);
+ void setMediaToDefault();
+ ::java::awt::PageAttributes$OrientationRequestedType * getOrientationRequested();
+ void setOrientationRequested(::java::awt::PageAttributes$OrientationRequestedType *);
+ void setOrientationRequested(jint);
+ void setOrientationRequestedToDefault();
+ ::java::awt::PageAttributes$OriginType * getOrigin();
+ void setOrigin(::java::awt::PageAttributes$OriginType *);
+ ::java::awt::PageAttributes$PrintQualityType * getPrintQuality();
+ void setPrintQuality(::java::awt::PageAttributes$PrintQualityType *);
+ void setPrintQuality(jint);
+ void setPrintQualityToDefault();
+ JArray< jint > * getPrinterResolution();
+ void setPrinterResolution(JArray< jint > *);
+ void setPrinterResolution(jint);
+ void setPrinterResolutionToDefault();
+ jboolean equals(::java::lang::Object *);
+ jint hashCode();
+ ::java::lang::String * toString();
+private:
+ ::java::awt::PageAttributes$ColorType * __attribute__((aligned(__alignof__( ::java::lang::Object)))) color;
+ ::java::awt::PageAttributes$MediaType * media;
+ ::java::awt::PageAttributes$OrientationRequestedType * orientation;
+ ::java::awt::PageAttributes$OriginType * origin;
+ ::java::awt::PageAttributes$PrintQualityType * quality;
+ jint resolutionX;
+ jint resolutionY;
+ jint resolutionScale;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_PageAttributes__
diff --git a/libjava/java/awt/Paint.h b/libjava/java/awt/Paint.h
new file mode 100644
index 0000000..85f7c9f
--- /dev/null
+++ b/libjava/java/awt/Paint.h
@@ -0,0 +1,42 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_Paint__
+#define __java_awt_Paint__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Paint;
+ class PaintContext;
+ class Rectangle;
+ class RenderingHints;
+ namespace geom
+ {
+ class AffineTransform;
+ class Rectangle2D;
+ }
+ namespace image
+ {
+ class ColorModel;
+ }
+ }
+ }
+}
+
+class java::awt::Paint : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::awt::PaintContext * createContext(::java::awt::image::ColorModel *, ::java::awt::Rectangle *, ::java::awt::geom::Rectangle2D *, ::java::awt::geom::AffineTransform *, ::java::awt::RenderingHints *) = 0;
+ virtual jint getTransparency() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_awt_Paint__
diff --git a/libjava/java/awt/PaintContext.h b/libjava/java/awt/PaintContext.h
new file mode 100644
index 0000000..7658a30
--- /dev/null
+++ b/libjava/java/awt/PaintContext.h
@@ -0,0 +1,36 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_PaintContext__
+#define __java_awt_PaintContext__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class PaintContext;
+ namespace image
+ {
+ class ColorModel;
+ class Raster;
+ }
+ }
+ }
+}
+
+class java::awt::PaintContext : public ::java::lang::Object
+{
+
+public:
+ virtual void dispose() = 0;
+ virtual ::java::awt::image::ColorModel * getColorModel() = 0;
+ virtual ::java::awt::image::Raster * getRaster(jint, jint, jint, jint) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_awt_PaintContext__
diff --git a/libjava/java/awt/Panel$AccessibleAWTPanel.h b/libjava/java/awt/Panel$AccessibleAWTPanel.h
new file mode 100644
index 0000000..386cf0a
--- /dev/null
+++ b/libjava/java/awt/Panel$AccessibleAWTPanel.h
@@ -0,0 +1,44 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_Panel$AccessibleAWTPanel__
+#define __java_awt_Panel$AccessibleAWTPanel__
+
+#pragma interface
+
+#include <java/awt/Container$AccessibleAWTContainer.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Panel;
+ class Panel$AccessibleAWTPanel;
+ }
+ }
+ namespace javax
+ {
+ namespace accessibility
+ {
+ class AccessibleRole;
+ }
+ }
+}
+
+class java::awt::Panel$AccessibleAWTPanel : public ::java::awt::Container$AccessibleAWTContainer
+{
+
+public: // actually protected
+ Panel$AccessibleAWTPanel(::java::awt::Panel *);
+public:
+ virtual ::javax::accessibility::AccessibleRole * getAccessibleRole();
+private:
+ static const jlong serialVersionUID = -6409552226660031050LL;
+public: // actually package-private
+ ::java::awt::Panel * __attribute__((aligned(__alignof__( ::java::awt::Container$AccessibleAWTContainer)))) this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_Panel$AccessibleAWTPanel__
diff --git a/libjava/java/awt/Panel.h b/libjava/java/awt/Panel.h
new file mode 100644
index 0000000..23a788e
--- /dev/null
+++ b/libjava/java/awt/Panel.h
@@ -0,0 +1,50 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_Panel__
+#define __java_awt_Panel__
+
+#pragma interface
+
+#include <java/awt/Container.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class LayoutManager;
+ class Panel;
+ }
+ }
+ namespace javax
+ {
+ namespace accessibility
+ {
+ class AccessibleContext;
+ }
+ }
+}
+
+class java::awt::Panel : public ::java::awt::Container
+{
+
+public:
+ Panel();
+ Panel(::java::awt::LayoutManager *);
+ virtual void addNotify();
+ virtual ::javax::accessibility::AccessibleContext * getAccessibleContext();
+public: // actually package-private
+ virtual ::java::lang::String * generateName();
+private:
+ static jlong getUniqueLong();
+ static const jlong serialVersionUID = -2728009084054400034LL;
+ ::javax::accessibility::AccessibleContext * __attribute__((aligned(__alignof__( ::java::awt::Container)))) context;
+ jboolean initialSystemUpdateDone;
+ jboolean initialUpdateConsumed;
+ static jlong next_panel_number;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_Panel__
diff --git a/libjava/java/awt/Point.h b/libjava/java/awt/Point.h
new file mode 100644
index 0000000..a161a00
--- /dev/null
+++ b/libjava/java/awt/Point.h
@@ -0,0 +1,46 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_Point__
+#define __java_awt_Point__
+
+#pragma interface
+
+#include <java/awt/geom/Point2D.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Point;
+ }
+ }
+}
+
+class java::awt::Point : public ::java::awt::geom::Point2D
+{
+
+public:
+ Point();
+ Point(::java::awt::Point *);
+ Point(jint, jint);
+ virtual jdouble getX();
+ virtual jdouble getY();
+ virtual ::java::awt::Point * getLocation();
+ virtual void setLocation(::java::awt::Point *);
+ virtual void setLocation(jint, jint);
+ virtual void setLocation(jdouble, jdouble);
+ virtual void move(jint, jint);
+ virtual void translate(jint, jint);
+ virtual jboolean equals(::java::lang::Object *);
+ virtual ::java::lang::String * toString();
+private:
+ static const jlong serialVersionUID = -5276940640259749850LL;
+public:
+ jint __attribute__((aligned(__alignof__( ::java::awt::geom::Point2D)))) x;
+ jint y;
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_Point__
diff --git a/libjava/java/awt/PointerInfo.h b/libjava/java/awt/PointerInfo.h
new file mode 100644
index 0000000..fc149bb
--- /dev/null
+++ b/libjava/java/awt/PointerInfo.h
@@ -0,0 +1,38 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_PointerInfo__
+#define __java_awt_PointerInfo__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class GraphicsDevice;
+ class Point;
+ class PointerInfo;
+ }
+ }
+}
+
+class java::awt::PointerInfo : public ::java::lang::Object
+{
+
+public: // actually package-private
+ PointerInfo(::java::awt::GraphicsDevice *, ::java::awt::Point *);
+public:
+ virtual ::java::awt::GraphicsDevice * getDevice();
+ virtual ::java::awt::Point * getLocation();
+private:
+ ::java::awt::GraphicsDevice * __attribute__((aligned(__alignof__( ::java::lang::Object)))) gd;
+ ::java::awt::Point * p;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_PointerInfo__
diff --git a/libjava/java/awt/Polygon$1.h b/libjava/java/awt/Polygon$1.h
new file mode 100644
index 0000000..cd1aaaf
--- /dev/null
+++ b/libjava/java/awt/Polygon$1.h
@@ -0,0 +1,49 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_Polygon$1__
+#define __java_awt_Polygon$1__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Polygon;
+ class Polygon$1;
+ namespace geom
+ {
+ class AffineTransform;
+ }
+ }
+ }
+}
+
+class java::awt::Polygon$1 : public ::java::lang::Object
+{
+
+public: // actually package-private
+ Polygon$1(::java::awt::Polygon *, ::java::awt::geom::AffineTransform *);
+public:
+ jint getWindingRule();
+ jboolean isDone();
+ void next();
+ jint currentSegment(JArray< jfloat > *);
+ jint currentSegment(JArray< jdouble > *);
+private:
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) vertex;
+public: // actually package-private
+ ::java::awt::Polygon * this$0;
+private:
+ ::java::awt::geom::AffineTransform * val$transform;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_Polygon$1__
diff --git a/libjava/java/awt/Polygon.h b/libjava/java/awt/Polygon.h
new file mode 100644
index 0000000..e692f13
--- /dev/null
+++ b/libjava/java/awt/Polygon.h
@@ -0,0 +1,71 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_Polygon__
+#define __java_awt_Polygon__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Point;
+ class Polygon;
+ class Rectangle;
+ namespace geom
+ {
+ class AffineTransform;
+ class PathIterator;
+ class Point2D;
+ class Rectangle2D;
+ }
+ }
+ }
+}
+
+class java::awt::Polygon : public ::java::lang::Object
+{
+
+public:
+ Polygon();
+ Polygon(JArray< jint > *, JArray< jint > *, jint);
+ virtual void reset();
+ virtual void invalidate();
+ virtual void translate(jint, jint);
+ virtual void addPoint(jint, jint);
+ virtual ::java::awt::Rectangle * getBounds();
+ virtual ::java::awt::Rectangle * getBoundingBox();
+ virtual jboolean contains(::java::awt::Point *);
+ virtual jboolean contains(jint, jint);
+ virtual jboolean inside(jint, jint);
+ virtual ::java::awt::geom::Rectangle2D * getBounds2D();
+ virtual jboolean contains(jdouble, jdouble);
+ virtual jboolean contains(::java::awt::geom::Point2D *);
+ virtual jboolean intersects(jdouble, jdouble, jdouble, jdouble);
+ virtual jboolean intersects(::java::awt::geom::Rectangle2D *);
+ virtual jboolean contains(jdouble, jdouble, jdouble, jdouble);
+ virtual jboolean contains(::java::awt::geom::Rectangle2D *);
+ virtual ::java::awt::geom::PathIterator * getPathIterator(::java::awt::geom::AffineTransform *);
+ virtual ::java::awt::geom::PathIterator * getPathIterator(::java::awt::geom::AffineTransform *, jdouble);
+private:
+ jint evaluateCrossings(jdouble, jdouble, jboolean, jdouble);
+ static const jlong serialVersionUID = -6460061437900069969LL;
+public:
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) npoints;
+ JArray< jint > * xpoints;
+ JArray< jint > * ypoints;
+public: // actually protected
+ ::java::awt::Rectangle * bounds;
+private:
+ static jdouble BIG_VALUE;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_Polygon__
diff --git a/libjava/java/awt/PopupMenu$AccessibleAWTPopupMenu.h b/libjava/java/awt/PopupMenu$AccessibleAWTPopupMenu.h
new file mode 100644
index 0000000..f28ed4c
--- /dev/null
+++ b/libjava/java/awt/PopupMenu$AccessibleAWTPopupMenu.h
@@ -0,0 +1,44 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_PopupMenu$AccessibleAWTPopupMenu__
+#define __java_awt_PopupMenu$AccessibleAWTPopupMenu__
+
+#pragma interface
+
+#include <java/awt/Menu$AccessibleAWTMenu.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class PopupMenu;
+ class PopupMenu$AccessibleAWTPopupMenu;
+ }
+ }
+ namespace javax
+ {
+ namespace accessibility
+ {
+ class AccessibleRole;
+ }
+ }
+}
+
+class java::awt::PopupMenu$AccessibleAWTPopupMenu : public ::java::awt::Menu$AccessibleAWTMenu
+{
+
+public: // actually protected
+ PopupMenu$AccessibleAWTPopupMenu(::java::awt::PopupMenu *);
+public:
+ virtual ::javax::accessibility::AccessibleRole * getAccessibleRole();
+private:
+ static const jlong serialVersionUID = -4282044795947239955LL;
+public: // actually package-private
+ ::java::awt::PopupMenu * __attribute__((aligned(__alignof__( ::java::awt::Menu$AccessibleAWTMenu)))) this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_PopupMenu$AccessibleAWTPopupMenu__
diff --git a/libjava/java/awt/PopupMenu.h b/libjava/java/awt/PopupMenu.h
new file mode 100644
index 0000000..855809b
--- /dev/null
+++ b/libjava/java/awt/PopupMenu.h
@@ -0,0 +1,48 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_PopupMenu__
+#define __java_awt_PopupMenu__
+
+#pragma interface
+
+#include <java/awt/Menu.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Component;
+ class PopupMenu;
+ }
+ }
+ namespace javax
+ {
+ namespace accessibility
+ {
+ class AccessibleContext;
+ }
+ }
+}
+
+class java::awt::PopupMenu : public ::java::awt::Menu
+{
+
+public:
+ PopupMenu();
+ PopupMenu(::java::lang::String *);
+ virtual void addNotify();
+ virtual void show(::java::awt::Component *, jint, jint);
+ virtual ::javax::accessibility::AccessibleContext * getAccessibleContext();
+public: // actually package-private
+ virtual ::java::lang::String * generateName();
+private:
+ static jlong getUniqueLong();
+ static jlong next_popup_number;
+ static const jlong serialVersionUID = -4620452533522760060LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_PopupMenu__
diff --git a/libjava/java/awt/PrintGraphics.h b/libjava/java/awt/PrintGraphics.h
new file mode 100644
index 0000000..7027cb6
--- /dev/null
+++ b/libjava/java/awt/PrintGraphics.h
@@ -0,0 +1,30 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_PrintGraphics__
+#define __java_awt_PrintGraphics__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class PrintGraphics;
+ class PrintJob;
+ }
+ }
+}
+
+class java::awt::PrintGraphics : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::awt::PrintJob * getPrintJob() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_awt_PrintGraphics__
diff --git a/libjava/java/awt/PrintJob.h b/libjava/java/awt/PrintJob.h
new file mode 100644
index 0000000..66c98e3
--- /dev/null
+++ b/libjava/java/awt/PrintJob.h
@@ -0,0 +1,37 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_PrintJob__
+#define __java_awt_PrintJob__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Dimension;
+ class Graphics;
+ class PrintJob;
+ }
+ }
+}
+
+class java::awt::PrintJob : public ::java::lang::Object
+{
+
+public:
+ PrintJob();
+ virtual ::java::awt::Graphics * getGraphics() = 0;
+ virtual ::java::awt::Dimension * getPageDimension() = 0;
+ virtual jint getPageResolution() = 0;
+ virtual jboolean lastPageFirst() = 0;
+ virtual void end() = 0;
+ virtual void finalize();
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_PrintJob__
diff --git a/libjava/java/awt/Rectangle.h b/libjava/java/awt/Rectangle.h
new file mode 100644
index 0000000..6a098ad
--- /dev/null
+++ b/libjava/java/awt/Rectangle.h
@@ -0,0 +1,85 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_Rectangle__
+#define __java_awt_Rectangle__
+
+#pragma interface
+
+#include <java/awt/geom/Rectangle2D.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Dimension;
+ class Point;
+ class Rectangle;
+ namespace geom
+ {
+ class Rectangle2D;
+ }
+ }
+ }
+}
+
+class java::awt::Rectangle : public ::java::awt::geom::Rectangle2D
+{
+
+public:
+ Rectangle();
+ Rectangle(::java::awt::Rectangle *);
+ Rectangle(jint, jint, jint, jint);
+ Rectangle(jint, jint);
+ Rectangle(::java::awt::Point *, ::java::awt::Dimension *);
+ Rectangle(::java::awt::Point *);
+ Rectangle(::java::awt::Dimension *);
+ virtual jdouble getX();
+ virtual jdouble getY();
+ virtual jdouble getWidth();
+ virtual jdouble getHeight();
+ virtual ::java::awt::Rectangle * getBounds();
+ virtual ::java::awt::geom::Rectangle2D * getBounds2D();
+ virtual void setBounds(::java::awt::Rectangle *);
+ virtual void setBounds(jint, jint, jint, jint);
+ virtual void setRect(jdouble, jdouble, jdouble, jdouble);
+ virtual void reshape(jint, jint, jint, jint);
+ virtual ::java::awt::Point * getLocation();
+ virtual void setLocation(::java::awt::Point *);
+ virtual void setLocation(jint, jint);
+ virtual void move(jint, jint);
+ virtual void translate(jint, jint);
+ virtual ::java::awt::Dimension * getSize();
+ virtual void setSize(::java::awt::Dimension *);
+ virtual void setSize(jint, jint);
+ virtual void resize(jint, jint);
+ virtual jboolean contains(::java::awt::Point *);
+ virtual jboolean contains(jint, jint);
+ virtual jboolean contains(::java::awt::Rectangle *);
+ virtual jboolean contains(jint, jint, jint, jint);
+ virtual jboolean inside(jint, jint);
+ virtual jboolean intersects(::java::awt::Rectangle *);
+ virtual ::java::awt::Rectangle * intersection(::java::awt::Rectangle *);
+ virtual ::java::awt::Rectangle * union$(::java::awt::Rectangle *);
+ virtual void add(jint, jint);
+ virtual void add(::java::awt::Point *);
+ virtual void add(::java::awt::Rectangle *);
+ virtual void grow(jint, jint);
+ virtual jboolean isEmpty();
+ virtual jint outcode(jdouble, jdouble);
+ virtual ::java::awt::geom::Rectangle2D * createIntersection(::java::awt::geom::Rectangle2D *);
+ virtual ::java::awt::geom::Rectangle2D * createUnion(::java::awt::geom::Rectangle2D *);
+ virtual jboolean equals(::java::lang::Object *);
+ virtual ::java::lang::String * toString();
+private:
+ static const jlong serialVersionUID = -4345857070255674764LL;
+public:
+ jint __attribute__((aligned(__alignof__( ::java::awt::geom::Rectangle2D)))) x;
+ jint y;
+ jint width;
+ jint height;
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_Rectangle__
diff --git a/libjava/java/awt/RenderingHints$Key.h b/libjava/java/awt/RenderingHints$Key.h
new file mode 100644
index 0000000..7f4c972
--- /dev/null
+++ b/libjava/java/awt/RenderingHints$Key.h
@@ -0,0 +1,39 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_RenderingHints$Key__
+#define __java_awt_RenderingHints$Key__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class RenderingHints$Key;
+ }
+ }
+}
+
+class java::awt::RenderingHints$Key : public ::java::lang::Object
+{
+
+public: // actually protected
+ RenderingHints$Key(jint);
+public:
+ virtual jboolean isCompatibleValue(::java::lang::Object *) = 0;
+public: // actually protected
+ virtual jint intKey();
+public:
+ virtual jint hashCode();
+ virtual jboolean equals(::java::lang::Object *);
+private:
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) key;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_RenderingHints$Key__
diff --git a/libjava/java/awt/RenderingHints$KeyImpl.h b/libjava/java/awt/RenderingHints$KeyImpl.h
new file mode 100644
index 0000000..d81b7b9
--- /dev/null
+++ b/libjava/java/awt/RenderingHints$KeyImpl.h
@@ -0,0 +1,38 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_RenderingHints$KeyImpl__
+#define __java_awt_RenderingHints$KeyImpl__
+
+#pragma interface
+
+#include <java/awt/RenderingHints$Key.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class RenderingHints$KeyImpl;
+ }
+ }
+}
+
+class java::awt::RenderingHints$KeyImpl : public ::java::awt::RenderingHints$Key
+{
+
+public: // actually package-private
+ RenderingHints$KeyImpl(jint, ::java::lang::String *, ::java::lang::Object *, ::java::lang::Object *, ::java::lang::Object *);
+public:
+ jboolean isCompatibleValue(::java::lang::Object *);
+ ::java::lang::String * toString();
+public: // actually package-private
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::awt::RenderingHints$Key)))) description;
+ ::java::lang::Object * v1;
+ ::java::lang::Object * v2;
+ ::java::lang::Object * v3;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_RenderingHints$KeyImpl__
diff --git a/libjava/java/awt/RenderingHints.h b/libjava/java/awt/RenderingHints.h
new file mode 100644
index 0000000..6ceee18
--- /dev/null
+++ b/libjava/java/awt/RenderingHints.h
@@ -0,0 +1,87 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_RenderingHints__
+#define __java_awt_RenderingHints__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class RenderingHints;
+ class RenderingHints$Key;
+ }
+ }
+}
+
+class java::awt::RenderingHints : public ::java::lang::Object
+{
+
+public:
+ RenderingHints(::java::util::Map *);
+ RenderingHints(::java::awt::RenderingHints$Key *, ::java::lang::Object *);
+ virtual jint size();
+ virtual jboolean isEmpty();
+ virtual jboolean containsKey(::java::lang::Object *);
+ virtual jboolean containsValue(::java::lang::Object *);
+ virtual ::java::lang::Object * get(::java::lang::Object *);
+ virtual ::java::lang::Object * put(::java::lang::Object *, ::java::lang::Object *);
+ virtual void add(::java::awt::RenderingHints *);
+ virtual void clear();
+ virtual ::java::lang::Object * remove(::java::lang::Object *);
+ virtual void putAll(::java::util::Map *);
+ virtual ::java::util::Set * keySet();
+ virtual ::java::util::Collection * values();
+ virtual ::java::util::Set * entrySet();
+ virtual jboolean equals(::java::lang::Object *);
+ virtual jint hashCode();
+ virtual ::java::lang::Object * clone();
+ virtual ::java::lang::String * toString();
+private:
+ ::java::util::HashMap * __attribute__((aligned(__alignof__( ::java::lang::Object)))) hintMap;
+public:
+ static ::java::awt::RenderingHints$Key * KEY_ANTIALIASING;
+ static ::java::lang::Object * VALUE_ANTIALIAS_ON;
+ static ::java::lang::Object * VALUE_ANTIALIAS_OFF;
+ static ::java::lang::Object * VALUE_ANTIALIAS_DEFAULT;
+ static ::java::awt::RenderingHints$Key * KEY_RENDERING;
+ static ::java::lang::Object * VALUE_RENDER_SPEED;
+ static ::java::lang::Object * VALUE_RENDER_QUALITY;
+ static ::java::lang::Object * VALUE_RENDER_DEFAULT;
+ static ::java::awt::RenderingHints$Key * KEY_DITHERING;
+ static ::java::lang::Object * VALUE_DITHER_DISABLE;
+ static ::java::lang::Object * VALUE_DITHER_ENABLE;
+ static ::java::lang::Object * VALUE_DITHER_DEFAULT;
+ static ::java::awt::RenderingHints$Key * KEY_TEXT_ANTIALIASING;
+ static ::java::lang::Object * VALUE_TEXT_ANTIALIAS_ON;
+ static ::java::lang::Object * VALUE_TEXT_ANTIALIAS_OFF;
+ static ::java::lang::Object * VALUE_TEXT_ANTIALIAS_DEFAULT;
+ static ::java::awt::RenderingHints$Key * KEY_FRACTIONALMETRICS;
+ static ::java::lang::Object * VALUE_FRACTIONALMETRICS_OFF;
+ static ::java::lang::Object * VALUE_FRACTIONALMETRICS_ON;
+ static ::java::lang::Object * VALUE_FRACTIONALMETRICS_DEFAULT;
+ static ::java::awt::RenderingHints$Key * KEY_INTERPOLATION;
+ static ::java::lang::Object * VALUE_INTERPOLATION_NEAREST_NEIGHBOR;
+ static ::java::lang::Object * VALUE_INTERPOLATION_BILINEAR;
+ static ::java::lang::Object * VALUE_INTERPOLATION_BICUBIC;
+ static ::java::awt::RenderingHints$Key * KEY_ALPHA_INTERPOLATION;
+ static ::java::lang::Object * VALUE_ALPHA_INTERPOLATION_SPEED;
+ static ::java::lang::Object * VALUE_ALPHA_INTERPOLATION_QUALITY;
+ static ::java::lang::Object * VALUE_ALPHA_INTERPOLATION_DEFAULT;
+ static ::java::awt::RenderingHints$Key * KEY_COLOR_RENDERING;
+ static ::java::lang::Object * VALUE_COLOR_RENDER_SPEED;
+ static ::java::lang::Object * VALUE_COLOR_RENDER_QUALITY;
+ static ::java::lang::Object * VALUE_COLOR_RENDER_DEFAULT;
+ static ::java::awt::RenderingHints$Key * KEY_STROKE_CONTROL;
+ static ::java::lang::Object * VALUE_STROKE_DEFAULT;
+ static ::java::lang::Object * VALUE_STROKE_NORMALIZE;
+ static ::java::lang::Object * VALUE_STROKE_PURE;
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_RenderingHints__
diff --git a/libjava/java/awt/Robot$1.h b/libjava/java/awt/Robot$1.h
new file mode 100644
index 0000000..b455f72
--- /dev/null
+++ b/libjava/java/awt/Robot$1.h
@@ -0,0 +1,35 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_Robot$1__
+#define __java_awt_Robot$1__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Robot;
+ class Robot$1;
+ }
+ }
+}
+
+class java::awt::Robot$1 : public ::java::lang::Object
+{
+
+public: // actually package-private
+ Robot$1(::java::awt::Robot *);
+public:
+ void run();
+public: // actually package-private
+ ::java::awt::Robot * __attribute__((aligned(__alignof__( ::java::lang::Object)))) this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_Robot$1__
diff --git a/libjava/java/awt/Robot.h b/libjava/java/awt/Robot.h
new file mode 100644
index 0000000..d283f7e
--- /dev/null
+++ b/libjava/java/awt/Robot.h
@@ -0,0 +1,61 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_Robot__
+#define __java_awt_Robot__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Color;
+ class GraphicsDevice;
+ class Rectangle;
+ class Robot;
+ namespace image
+ {
+ class BufferedImage;
+ }
+ namespace peer
+ {
+ class RobotPeer;
+ }
+ }
+ }
+}
+
+class java::awt::Robot : public ::java::lang::Object
+{
+
+public:
+ Robot();
+ Robot(::java::awt::GraphicsDevice *);
+ virtual void mouseMove(jint, jint);
+ virtual void mousePress(jint);
+ virtual void mouseRelease(jint);
+ virtual void mouseWheel(jint);
+ virtual void keyPress(jint);
+ virtual void keyRelease(jint);
+ virtual ::java::awt::Color * getPixelColor(jint, jint);
+ virtual ::java::awt::image::BufferedImage * createScreenCapture(::java::awt::Rectangle *);
+ virtual jboolean isAutoWaitForIdle();
+ virtual void setAutoWaitForIdle(jboolean);
+ virtual jint getAutoDelay();
+ virtual void setAutoDelay(jint);
+ virtual void delay(jint);
+ virtual void waitForIdle();
+ virtual ::java::lang::String * toString();
+private:
+ jboolean __attribute__((aligned(__alignof__( ::java::lang::Object)))) waitForIdle__;
+ jint autoDelay;
+ ::java::awt::peer::RobotPeer * peer;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_Robot__
diff --git a/libjava/java/awt/ScrollPane$AccessibleAWTScrollPane.h b/libjava/java/awt/ScrollPane$AccessibleAWTScrollPane.h
new file mode 100644
index 0000000..dd103cd
--- /dev/null
+++ b/libjava/java/awt/ScrollPane$AccessibleAWTScrollPane.h
@@ -0,0 +1,44 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_ScrollPane$AccessibleAWTScrollPane__
+#define __java_awt_ScrollPane$AccessibleAWTScrollPane__
+
+#pragma interface
+
+#include <java/awt/Container$AccessibleAWTContainer.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class ScrollPane;
+ class ScrollPane$AccessibleAWTScrollPane;
+ }
+ }
+ namespace javax
+ {
+ namespace accessibility
+ {
+ class AccessibleRole;
+ }
+ }
+}
+
+class java::awt::ScrollPane$AccessibleAWTScrollPane : public ::java::awt::Container$AccessibleAWTContainer
+{
+
+public: // actually protected
+ ScrollPane$AccessibleAWTScrollPane(::java::awt::ScrollPane *);
+public:
+ virtual ::javax::accessibility::AccessibleRole * getAccessibleRole();
+private:
+ static const jlong serialVersionUID = 6100703663886637LL;
+public: // actually package-private
+ ::java::awt::ScrollPane * __attribute__((aligned(__alignof__( ::java::awt::Container$AccessibleAWTContainer)))) this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_ScrollPane$AccessibleAWTScrollPane__
diff --git a/libjava/java/awt/ScrollPane.h b/libjava/java/awt/ScrollPane.h
new file mode 100644
index 0000000..30110cf
--- /dev/null
+++ b/libjava/java/awt/ScrollPane.h
@@ -0,0 +1,89 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_ScrollPane__
+#define __java_awt_ScrollPane__
+
+#pragma interface
+
+#include <java/awt/Container.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Adjustable;
+ class Component;
+ class Dimension;
+ class Graphics;
+ class LayoutManager;
+ class Point;
+ class ScrollPane;
+ class ScrollPaneAdjustable;
+ }
+ }
+ namespace javax
+ {
+ namespace accessibility
+ {
+ class AccessibleContext;
+ }
+ }
+}
+
+class java::awt::ScrollPane : public ::java::awt::Container
+{
+
+public:
+ ScrollPane();
+ ScrollPane(jint);
+ virtual jint getScrollbarDisplayPolicy();
+ virtual ::java::awt::Adjustable * getHAdjustable();
+ virtual ::java::awt::Adjustable * getVAdjustable();
+ virtual ::java::awt::Dimension * getViewportSize();
+ virtual jint getHScrollbarHeight();
+ virtual jint getVScrollbarWidth();
+ virtual ::java::awt::Point * getScrollPosition();
+ virtual void setScrollPosition(::java::awt::Point *);
+ virtual void setScrollPosition(jint, jint);
+ virtual void addNotify();
+ virtual void removeNotify();
+public: // actually protected
+ virtual void addImpl(::java::awt::Component *, ::java::lang::Object *, jint);
+public:
+ virtual void doLayout();
+ virtual void layout();
+ virtual void setLayout(::java::awt::LayoutManager *);
+ virtual void printComponents(::java::awt::Graphics *);
+ virtual ::java::lang::String * paramString();
+private:
+ ::java::lang::String * getScrollbarDisplayPolicyString();
+ ::java::lang::String * getIsValidString();
+public: // actually protected
+ virtual jboolean eventTypeEnabled(jint);
+public:
+ virtual jboolean isWheelScrollingEnabled();
+ virtual void setWheelScrollingEnabled(jboolean);
+ virtual ::javax::accessibility::AccessibleContext * getAccessibleContext();
+public: // actually package-private
+ virtual ::java::lang::String * generateName();
+private:
+ static jlong getUniqueLong();
+public:
+ static const jint SCROLLBARS_AS_NEEDED = 0;
+ static const jint SCROLLBARS_ALWAYS = 1;
+ static const jint SCROLLBARS_NEVER = 2;
+private:
+ static jlong next_scrollpane_number;
+ static const jlong serialVersionUID = 7956609840827222915LL;
+ ::java::awt::ScrollPaneAdjustable * __attribute__((aligned(__alignof__( ::java::awt::Container)))) hAdjustable;
+ ::java::awt::ScrollPaneAdjustable * vAdjustable;
+ jint scrollbarDisplayPolicy;
+ ::java::awt::Point * scrollPosition;
+ jboolean wheelScrollingEnabled;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_ScrollPane__
diff --git a/libjava/java/awt/ScrollPaneAdjustable.h b/libjava/java/awt/ScrollPaneAdjustable.h
new file mode 100644
index 0000000..a07d48c
--- /dev/null
+++ b/libjava/java/awt/ScrollPaneAdjustable.h
@@ -0,0 +1,76 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_ScrollPaneAdjustable__
+#define __java_awt_ScrollPaneAdjustable__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class ScrollPane;
+ class ScrollPaneAdjustable;
+ namespace event
+ {
+ class AdjustmentListener;
+ }
+ }
+ }
+}
+
+class java::awt::ScrollPaneAdjustable : public ::java::lang::Object
+{
+
+public: // actually package-private
+ ScrollPaneAdjustable(::java::awt::ScrollPane *, jint);
+ ScrollPaneAdjustable(::java::awt::ScrollPane *, jint, jint, jint, jint, jint, jint, jint);
+public:
+ virtual void addAdjustmentListener(::java::awt::event::AdjustmentListener *);
+ virtual void removeAdjustmentListener(::java::awt::event::AdjustmentListener *);
+ virtual JArray< ::java::awt::event::AdjustmentListener * > * getAdjustmentListeners();
+ virtual jint getBlockIncrement();
+ virtual jint getMaximum();
+ virtual jint getMinimum();
+ virtual jint getOrientation();
+ virtual jint getUnitIncrement();
+ virtual jint getValue();
+ virtual jint getVisibleAmount();
+ virtual void setBlockIncrement(jint);
+ virtual void setMaximum(jint);
+ virtual void setMinimum(jint);
+ virtual void setUnitIncrement(jint);
+ virtual void setValue(jint);
+ virtual void setVisibleAmount(jint);
+ virtual ::java::lang::String * paramString();
+private:
+ ::java::lang::String * paramStringHelper();
+public:
+ virtual ::java::lang::String * toString();
+ virtual jboolean getValueIsAdjusting();
+ virtual void setValueIsAdjusting(jboolean);
+private:
+ static const jlong serialVersionUID = -3359745691033257079LL;
+public: // actually package-private
+ ::java::awt::ScrollPane * __attribute__((aligned(__alignof__( ::java::lang::Object)))) sp;
+ jint orientation;
+ jint value;
+ jint minimum;
+ jint maximum;
+ jint visibleAmount;
+ jint unitIncrement;
+ jint blockIncrement;
+ ::java::awt::event::AdjustmentListener * adjustmentListener;
+private:
+ jboolean valueIsAdjusting;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_ScrollPaneAdjustable__
diff --git a/libjava/java/awt/Scrollbar$AccessibleAWTScrollBar.h b/libjava/java/awt/Scrollbar$AccessibleAWTScrollBar.h
new file mode 100644
index 0000000..1549a6a
--- /dev/null
+++ b/libjava/java/awt/Scrollbar$AccessibleAWTScrollBar.h
@@ -0,0 +1,52 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_Scrollbar$AccessibleAWTScrollBar__
+#define __java_awt_Scrollbar$AccessibleAWTScrollBar__
+
+#pragma interface
+
+#include <java/awt/Component$AccessibleAWTComponent.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Scrollbar;
+ class Scrollbar$AccessibleAWTScrollBar;
+ }
+ }
+ namespace javax
+ {
+ namespace accessibility
+ {
+ class AccessibleRole;
+ class AccessibleStateSet;
+ class AccessibleValue;
+ }
+ }
+}
+
+class java::awt::Scrollbar$AccessibleAWTScrollBar : public ::java::awt::Component$AccessibleAWTComponent
+{
+
+public: // actually protected
+ Scrollbar$AccessibleAWTScrollBar(::java::awt::Scrollbar *);
+public:
+ virtual ::javax::accessibility::AccessibleRole * getAccessibleRole();
+ virtual ::javax::accessibility::AccessibleStateSet * getAccessibleStateSet();
+ virtual ::javax::accessibility::AccessibleValue * getAccessibleValue();
+ virtual ::java::lang::Number * getCurrentAccessibleValue();
+ virtual jboolean setCurrentAccessibleValue(::java::lang::Number *);
+ virtual ::java::lang::Number * getMinimumAccessibleValue();
+ virtual ::java::lang::Number * getMaximumAccessibleValue();
+private:
+ static const jlong serialVersionUID = -344337268523697807LL;
+public: // actually package-private
+ ::java::awt::Scrollbar * __attribute__((aligned(__alignof__( ::java::awt::Component$AccessibleAWTComponent)))) this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_Scrollbar$AccessibleAWTScrollBar__
diff --git a/libjava/java/awt/Scrollbar.h b/libjava/java/awt/Scrollbar.h
new file mode 100644
index 0000000..d13f504
--- /dev/null
+++ b/libjava/java/awt/Scrollbar.h
@@ -0,0 +1,102 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_Scrollbar__
+#define __java_awt_Scrollbar__
+
+#pragma interface
+
+#include <java/awt/Component.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class AWTEvent;
+ class Scrollbar;
+ namespace event
+ {
+ class AdjustmentEvent;
+ class AdjustmentListener;
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace accessibility
+ {
+ class AccessibleContext;
+ }
+ }
+}
+
+class java::awt::Scrollbar : public ::java::awt::Component
+{
+
+public:
+ Scrollbar();
+ Scrollbar(jint);
+ Scrollbar(jint, jint, jint, jint, jint);
+ virtual jint getOrientation();
+ virtual void setOrientation(jint);
+ virtual jint getValue();
+ virtual void setValue(jint);
+ virtual jint getMaximum();
+ virtual void setMaximum(jint);
+ virtual jint getMinimum();
+ virtual void setMinimum(jint);
+ virtual jint getVisibleAmount();
+ virtual jint getVisible();
+ virtual void setVisibleAmount(jint);
+ virtual void setValues(jint, jint, jint, jint);
+ virtual jint getUnitIncrement();
+ virtual jint getLineIncrement();
+ virtual void setUnitIncrement(jint);
+ virtual void setLineIncrement(jint);
+ virtual jint getBlockIncrement();
+ virtual jint getPageIncrement();
+ virtual void setBlockIncrement(jint);
+ virtual void setPageIncrement(jint);
+ virtual void addNotify();
+ virtual void addAdjustmentListener(::java::awt::event::AdjustmentListener *);
+ virtual void removeAdjustmentListener(::java::awt::event::AdjustmentListener *);
+public: // actually protected
+ virtual void processEvent(::java::awt::AWTEvent *);
+ virtual void processAdjustmentEvent(::java::awt::event::AdjustmentEvent *);
+public: // actually package-private
+ virtual void dispatchEventImpl(::java::awt::AWTEvent *);
+public: // actually protected
+ virtual ::java::lang::String * paramString();
+public:
+ virtual JArray< ::java::util::EventListener * > * getListeners(::java::lang::Class *);
+ virtual JArray< ::java::awt::event::AdjustmentListener * > * getAdjustmentListeners();
+ virtual jboolean getValueIsAdjusting();
+ virtual void setValueIsAdjusting(jboolean);
+public: // actually package-private
+ virtual ::java::lang::String * generateName();
+private:
+ static jlong getUniqueLong();
+public:
+ virtual ::javax::accessibility::AccessibleContext * getAccessibleContext();
+ static const jint HORIZONTAL = 0;
+ static const jint VERTICAL = 1;
+private:
+ static const jlong serialVersionUID = 8451667562882310543LL;
+ jint __attribute__((aligned(__alignof__( ::java::awt::Component)))) lineIncrement;
+ jint pageIncrement;
+ jint maximum;
+ jint minimum;
+ jint orientation;
+ jint value;
+ jint visibleAmount;
+ ::java::awt::event::AdjustmentListener * adjustment_listeners;
+ jboolean valueIsAdjusting;
+ static jlong next_scrollbar_number;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_Scrollbar__
diff --git a/libjava/java/awt/Shape.h b/libjava/java/awt/Shape.h
new file mode 100644
index 0000000..facef75
--- /dev/null
+++ b/libjava/java/awt/Shape.h
@@ -0,0 +1,46 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_Shape__
+#define __java_awt_Shape__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Rectangle;
+ class Shape;
+ namespace geom
+ {
+ class AffineTransform;
+ class PathIterator;
+ class Point2D;
+ class Rectangle2D;
+ }
+ }
+ }
+}
+
+class java::awt::Shape : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::awt::Rectangle * getBounds() = 0;
+ virtual ::java::awt::geom::Rectangle2D * getBounds2D() = 0;
+ virtual jboolean contains(jdouble, jdouble) = 0;
+ virtual jboolean contains(::java::awt::geom::Point2D *) = 0;
+ virtual jboolean intersects(jdouble, jdouble, jdouble, jdouble) = 0;
+ virtual jboolean intersects(::java::awt::geom::Rectangle2D *) = 0;
+ virtual jboolean contains(jdouble, jdouble, jdouble, jdouble) = 0;
+ virtual jboolean contains(::java::awt::geom::Rectangle2D *) = 0;
+ virtual ::java::awt::geom::PathIterator * getPathIterator(::java::awt::geom::AffineTransform *) = 0;
+ virtual ::java::awt::geom::PathIterator * getPathIterator(::java::awt::geom::AffineTransform *, jdouble) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_awt_Shape__
diff --git a/libjava/java/awt/Stroke.h b/libjava/java/awt/Stroke.h
new file mode 100644
index 0000000..bb04e48
--- /dev/null
+++ b/libjava/java/awt/Stroke.h
@@ -0,0 +1,30 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_Stroke__
+#define __java_awt_Stroke__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Shape;
+ class Stroke;
+ }
+ }
+}
+
+class java::awt::Stroke : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::awt::Shape * createStrokedShape(::java::awt::Shape *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_awt_Stroke__
diff --git a/libjava/java/awt/SystemColor.h b/libjava/java/awt/SystemColor.h
new file mode 100644
index 0000000..5e561fa
--- /dev/null
+++ b/libjava/java/awt/SystemColor.h
@@ -0,0 +1,105 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_SystemColor__
+#define __java_awt_SystemColor__
+
+#pragma interface
+
+#include <java/awt/Color.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class PaintContext;
+ class Rectangle;
+ class RenderingHints;
+ class SystemColor;
+ namespace geom
+ {
+ class AffineTransform;
+ class Rectangle2D;
+ }
+ namespace image
+ {
+ class ColorModel;
+ }
+ }
+ }
+}
+
+class java::awt::SystemColor : public ::java::awt::Color
+{
+
+ SystemColor(jint);
+public:
+ jint getRGB();
+ ::java::awt::PaintContext * createContext(::java::awt::image::ColorModel *, ::java::awt::Rectangle *, ::java::awt::geom::Rectangle2D *, ::java::awt::geom::AffineTransform *, ::java::awt::RenderingHints *);
+ ::java::lang::String * toString();
+private:
+ static const jlong serialVersionUID = 4503142729533789064LL;
+public:
+ static const jint DESKTOP = 0;
+ static const jint ACTIVE_CAPTION = 1;
+ static const jint ACTIVE_CAPTION_TEXT = 2;
+ static const jint ACTIVE_CAPTION_BORDER = 3;
+ static const jint INACTIVE_CAPTION = 4;
+ static const jint INACTIVE_CAPTION_TEXT = 5;
+ static const jint INACTIVE_CAPTION_BORDER = 6;
+ static const jint WINDOW = 7;
+ static const jint WINDOW_BORDER = 8;
+ static const jint WINDOW_TEXT = 9;
+ static const jint MENU = 10;
+ static const jint MENU_TEXT = 11;
+ static const jint TEXT = 12;
+ static const jint TEXT_TEXT = 13;
+ static const jint TEXT_HIGHLIGHT = 14;
+ static const jint TEXT_HIGHLIGHT_TEXT = 15;
+ static const jint TEXT_INACTIVE_TEXT = 16;
+ static const jint CONTROL = 17;
+ static const jint CONTROL_TEXT = 18;
+ static const jint CONTROL_HIGHLIGHT = 19;
+ static const jint CONTROL_LT_HIGHLIGHT = 20;
+ static const jint CONTROL_SHADOW = 21;
+ static const jint CONTROL_DK_SHADOW = 22;
+ static const jint SCROLLBAR = 23;
+ static const jint INFO = 24;
+ static const jint INFO_TEXT = 25;
+ static const jint NUM_COLORS = 26;
+private:
+ static JArray< jint > * colors;
+public:
+ static ::java::awt::SystemColor * desktop;
+ static ::java::awt::SystemColor * activeCaption;
+ static ::java::awt::SystemColor * activeCaptionText;
+ static ::java::awt::SystemColor * activeCaptionBorder;
+ static ::java::awt::SystemColor * inactiveCaption;
+ static ::java::awt::SystemColor * inactiveCaptionText;
+ static ::java::awt::SystemColor * inactiveCaptionBorder;
+ static ::java::awt::SystemColor * window;
+ static ::java::awt::SystemColor * windowBorder;
+ static ::java::awt::SystemColor * windowText;
+ static ::java::awt::SystemColor * menu;
+ static ::java::awt::SystemColor * menuText;
+ static ::java::awt::SystemColor * text;
+ static ::java::awt::SystemColor * textText;
+ static ::java::awt::SystemColor * textHighlight;
+ static ::java::awt::SystemColor * textHighlightText;
+ static ::java::awt::SystemColor * textInactiveText;
+ static ::java::awt::SystemColor * control;
+ static ::java::awt::SystemColor * controlText;
+ static ::java::awt::SystemColor * controlHighlight;
+ static ::java::awt::SystemColor * controlLtHighlight;
+ static ::java::awt::SystemColor * controlShadow;
+ static ::java::awt::SystemColor * controlDkShadow;
+ static ::java::awt::SystemColor * scrollbar;
+ static ::java::awt::SystemColor * info;
+ static ::java::awt::SystemColor * infoText;
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_SystemColor__
diff --git a/libjava/java/awt/TextArea$AccessibleAWTTextArea.h b/libjava/java/awt/TextArea$AccessibleAWTTextArea.h
new file mode 100644
index 0000000..0803d64
--- /dev/null
+++ b/libjava/java/awt/TextArea$AccessibleAWTTextArea.h
@@ -0,0 +1,44 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_TextArea$AccessibleAWTTextArea__
+#define __java_awt_TextArea$AccessibleAWTTextArea__
+
+#pragma interface
+
+#include <java/awt/TextComponent$AccessibleAWTTextComponent.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class TextArea;
+ class TextArea$AccessibleAWTTextArea;
+ }
+ }
+ namespace javax
+ {
+ namespace accessibility
+ {
+ class AccessibleStateSet;
+ }
+ }
+}
+
+class java::awt::TextArea$AccessibleAWTTextArea : public ::java::awt::TextComponent$AccessibleAWTTextComponent
+{
+
+public: // actually protected
+ TextArea$AccessibleAWTTextArea(::java::awt::TextArea *);
+public:
+ virtual ::javax::accessibility::AccessibleStateSet * getAccessibleStateSet();
+private:
+ static const jlong serialVersionUID = 3472827823632144419LL;
+public: // actually package-private
+ ::java::awt::TextArea * __attribute__((aligned(__alignof__( ::java::awt::TextComponent$AccessibleAWTTextComponent)))) this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_TextArea$AccessibleAWTTextArea__
diff --git a/libjava/java/awt/TextArea.h b/libjava/java/awt/TextArea.h
new file mode 100644
index 0000000..d1b0d66
--- /dev/null
+++ b/libjava/java/awt/TextArea.h
@@ -0,0 +1,80 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_TextArea__
+#define __java_awt_TextArea__
+
+#pragma interface
+
+#include <java/awt/TextComponent.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Dimension;
+ class TextArea;
+ }
+ }
+ namespace javax
+ {
+ namespace accessibility
+ {
+ class AccessibleContext;
+ }
+ }
+}
+
+class java::awt::TextArea : public ::java::awt::TextComponent
+{
+
+public:
+ TextArea();
+ TextArea(::java::lang::String *);
+ TextArea(jint, jint);
+ TextArea(::java::lang::String *, jint, jint);
+ TextArea(::java::lang::String *, jint, jint, jint);
+ virtual jint getColumns();
+ virtual void setColumns(jint);
+ virtual jint getRows();
+ virtual void setRows(jint);
+ virtual ::java::awt::Dimension * getMinimumSize();
+ virtual ::java::awt::Dimension * getMinimumSize(jint, jint);
+ virtual ::java::awt::Dimension * minimumSize();
+ virtual ::java::awt::Dimension * minimumSize(jint, jint);
+ virtual ::java::awt::Dimension * getPreferredSize();
+ virtual ::java::awt::Dimension * getPreferredSize(jint, jint);
+ virtual ::java::awt::Dimension * preferredSize();
+ virtual ::java::awt::Dimension * preferredSize(jint, jint);
+ virtual jint getScrollbarVisibility();
+ virtual void addNotify();
+ virtual void append(::java::lang::String *);
+ virtual void appendText(::java::lang::String *);
+ virtual void insert(::java::lang::String *, jint);
+ virtual void insertText(::java::lang::String *, jint);
+ virtual void replaceRange(::java::lang::String *, jint, jint);
+ virtual void replaceText(::java::lang::String *, jint, jint);
+public: // actually protected
+ virtual ::java::lang::String * paramString();
+public: // actually package-private
+ virtual ::java::lang::String * generateName();
+private:
+ static jlong getUniqueLong();
+public:
+ virtual ::javax::accessibility::AccessibleContext * getAccessibleContext();
+ static const jint SCROLLBARS_BOTH = 0;
+ static const jint SCROLLBARS_VERTICAL_ONLY = 1;
+ static const jint SCROLLBARS_HORIZONTAL_ONLY = 2;
+ static const jint SCROLLBARS_NONE = 3;
+private:
+ static const jlong serialVersionUID = 3692302836626095722LL;
+ jint __attribute__((aligned(__alignof__( ::java::awt::TextComponent)))) columns;
+ jint rows;
+ jint scrollbarVisibility;
+ static jlong next_text_number;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_TextArea__
diff --git a/libjava/java/awt/TextComponent$AccessibleAWTTextComponent.h b/libjava/java/awt/TextComponent$AccessibleAWTTextComponent.h
new file mode 100644
index 0000000..94d0031
--- /dev/null
+++ b/libjava/java/awt/TextComponent$AccessibleAWTTextComponent.h
@@ -0,0 +1,72 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_TextComponent$AccessibleAWTTextComponent__
+#define __java_awt_TextComponent$AccessibleAWTTextComponent__
+
+#pragma interface
+
+#include <java/awt/Component$AccessibleAWTComponent.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Point;
+ class Rectangle;
+ class TextComponent;
+ class TextComponent$AccessibleAWTTextComponent;
+ namespace event
+ {
+ class TextEvent;
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace accessibility
+ {
+ class AccessibleRole;
+ class AccessibleStateSet;
+ class AccessibleText;
+ }
+ namespace swing
+ {
+ namespace text
+ {
+ class AttributeSet;
+ }
+ }
+ }
+}
+
+class java::awt::TextComponent$AccessibleAWTTextComponent : public ::java::awt::Component$AccessibleAWTComponent
+{
+
+public:
+ TextComponent$AccessibleAWTTextComponent(::java::awt::TextComponent *);
+ virtual ::javax::accessibility::AccessibleRole * getAccessibleRole();
+ virtual ::javax::accessibility::AccessibleStateSet * getAccessibleStateSet();
+ virtual ::javax::accessibility::AccessibleText * getAccessibleText();
+ virtual jint getIndexAtPoint(::java::awt::Point *);
+ virtual ::java::awt::Rectangle * getCharacterBounds(jint);
+ virtual jint getCharCount();
+ virtual jint getCaretPosition();
+ virtual ::java::lang::String * getAtIndex(jint, jint);
+ virtual ::java::lang::String * getAfterIndex(jint, jint);
+ virtual ::java::lang::String * getBeforeIndex(jint, jint);
+ virtual ::javax::swing::text::AttributeSet * getCharacterAttribute(jint);
+ virtual jint getSelectionStart();
+ virtual jint getSelectionEnd();
+ virtual ::java::lang::String * getSelectedText();
+ virtual void textValueChanged(::java::awt::event::TextEvent *);
+private:
+ static const jlong serialVersionUID = 3631432373506317811LL;
+public: // actually package-private
+ ::java::awt::TextComponent * __attribute__((aligned(__alignof__( ::java::awt::Component$AccessibleAWTComponent)))) this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_TextComponent$AccessibleAWTTextComponent__
diff --git a/libjava/java/awt/TextComponent.h b/libjava/java/awt/TextComponent.h
new file mode 100644
index 0000000..2b12f8b
--- /dev/null
+++ b/libjava/java/awt/TextComponent.h
@@ -0,0 +1,88 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_TextComponent__
+#define __java_awt_TextComponent__
+
+#pragma interface
+
+#include <java/awt/Component.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class AWTEvent;
+ class Point;
+ class Rectangle;
+ class TextComponent;
+ namespace event
+ {
+ class TextEvent;
+ class TextListener;
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace accessibility
+ {
+ class AccessibleContext;
+ }
+ }
+}
+
+class java::awt::TextComponent : public ::java::awt::Component
+{
+
+public: // actually package-private
+ TextComponent(::java::lang::String *);
+public:
+ virtual ::java::lang::String * getText();
+ virtual void setText(::java::lang::String *);
+ virtual ::java::lang::String * getSelectedText();
+ virtual jint getSelectionStart();
+ virtual void setSelectionStart(jint);
+ virtual jint getSelectionEnd();
+ virtual void setSelectionEnd(jint);
+ virtual void select(jint, jint);
+ virtual void selectAll();
+ virtual jint getCaretPosition();
+ virtual void setCaretPosition(jint);
+ virtual jboolean isEditable();
+ virtual void setEditable(jboolean);
+ virtual void removeNotify();
+ virtual void addTextListener(::java::awt::event::TextListener *);
+ virtual void removeTextListener(::java::awt::event::TextListener *);
+public: // actually protected
+ virtual void processEvent(::java::awt::AWTEvent *);
+ virtual void processTextEvent(::java::awt::event::TextEvent *);
+public: // actually package-private
+ virtual void dispatchEventImpl(::java::awt::AWTEvent *);
+public: // actually protected
+ virtual ::java::lang::String * paramString();
+public:
+ virtual JArray< ::java::util::EventListener * > * getListeners(::java::lang::Class *);
+ virtual JArray< ::java::awt::event::TextListener * > * getTextListeners();
+ virtual ::javax::accessibility::AccessibleContext * getAccessibleContext();
+public: // actually package-private
+ virtual jint getIndexAtPoint(::java::awt::Point *);
+ virtual ::java::awt::Rectangle * getCharacterBounds(jint);
+ static jboolean ignoreOldMouseEvents();
+private:
+ static const jlong serialVersionUID = -2214773872412987419LL;
+public: // actually package-private
+ jboolean __attribute__((aligned(__alignof__( ::java::awt::Component)))) editable;
+ jint selectionStart;
+ jint selectionEnd;
+ ::java::lang::String * text;
+public: // actually protected
+ ::java::awt::event::TextListener * textListener;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_TextComponent__
diff --git a/libjava/java/awt/TextField$AccessibleAWTTextField.h b/libjava/java/awt/TextField$AccessibleAWTTextField.h
new file mode 100644
index 0000000..b49056a
--- /dev/null
+++ b/libjava/java/awt/TextField$AccessibleAWTTextField.h
@@ -0,0 +1,44 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_TextField$AccessibleAWTTextField__
+#define __java_awt_TextField$AccessibleAWTTextField__
+
+#pragma interface
+
+#include <java/awt/TextComponent$AccessibleAWTTextComponent.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class TextField;
+ class TextField$AccessibleAWTTextField;
+ }
+ }
+ namespace javax
+ {
+ namespace accessibility
+ {
+ class AccessibleStateSet;
+ }
+ }
+}
+
+class java::awt::TextField$AccessibleAWTTextField : public ::java::awt::TextComponent$AccessibleAWTTextComponent
+{
+
+public: // actually protected
+ TextField$AccessibleAWTTextField(::java::awt::TextField *);
+public:
+ virtual ::javax::accessibility::AccessibleStateSet * getAccessibleStateSet();
+private:
+ static const jlong serialVersionUID = 6219164359235943158LL;
+public: // actually package-private
+ ::java::awt::TextField * __attribute__((aligned(__alignof__( ::java::awt::TextComponent$AccessibleAWTTextComponent)))) this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_TextField$AccessibleAWTTextField__
diff --git a/libjava/java/awt/TextField.h b/libjava/java/awt/TextField.h
new file mode 100644
index 0000000..747fe35
--- /dev/null
+++ b/libjava/java/awt/TextField.h
@@ -0,0 +1,88 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_TextField__
+#define __java_awt_TextField__
+
+#pragma interface
+
+#include <java/awt/TextComponent.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class AWTEvent;
+ class Dimension;
+ class TextField;
+ namespace event
+ {
+ class ActionEvent;
+ class ActionListener;
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace accessibility
+ {
+ class AccessibleContext;
+ }
+ }
+}
+
+class java::awt::TextField : public ::java::awt::TextComponent
+{
+
+public:
+ TextField();
+ TextField(::java::lang::String *);
+ TextField(jint);
+ TextField(::java::lang::String *, jint);
+ virtual jint getColumns();
+ virtual void setColumns(jint);
+ virtual jchar getEchoChar();
+ virtual void setEchoChar(jchar);
+ virtual void setEchoCharacter(jchar);
+ virtual jboolean echoCharIsSet();
+ virtual ::java::awt::Dimension * getMinimumSize();
+ virtual ::java::awt::Dimension * getMinimumSize(jint);
+ virtual ::java::awt::Dimension * minimumSize();
+ virtual ::java::awt::Dimension * minimumSize(jint);
+ virtual ::java::awt::Dimension * getPreferredSize();
+ virtual ::java::awt::Dimension * getPreferredSize(jint);
+ virtual ::java::awt::Dimension * preferredSize();
+ virtual ::java::awt::Dimension * preferredSize(jint);
+ virtual void addNotify();
+ virtual void addActionListener(::java::awt::event::ActionListener *);
+ virtual void removeActionListener(::java::awt::event::ActionListener *);
+public: // actually protected
+ virtual void processEvent(::java::awt::AWTEvent *);
+ virtual void processActionEvent(::java::awt::event::ActionEvent *);
+public: // actually package-private
+ virtual void dispatchEventImpl(::java::awt::AWTEvent *);
+public: // actually protected
+ virtual ::java::lang::String * paramString();
+public:
+ virtual JArray< ::java::util::EventListener * > * getListeners(::java::lang::Class *);
+ virtual JArray< ::java::awt::event::ActionListener * > * getActionListeners();
+public: // actually package-private
+ virtual ::java::lang::String * generateName();
+private:
+ static jlong getUniqueLong();
+public:
+ virtual ::javax::accessibility::AccessibleContext * getAccessibleContext();
+private:
+ static jlong next_textfield_number;
+ static const jlong serialVersionUID = -2966288784432217853LL;
+ jint __attribute__((aligned(__alignof__( ::java::awt::TextComponent)))) columns;
+ jchar echoChar;
+ ::java::awt::event::ActionListener * action_listeners;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_TextField__
diff --git a/libjava/java/awt/TexturePaint.h b/libjava/java/awt/TexturePaint.h
new file mode 100644
index 0000000..a6711ad
--- /dev/null
+++ b/libjava/java/awt/TexturePaint.h
@@ -0,0 +1,50 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_TexturePaint__
+#define __java_awt_TexturePaint__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class PaintContext;
+ class Rectangle;
+ class RenderingHints;
+ class TexturePaint;
+ namespace geom
+ {
+ class AffineTransform;
+ class Rectangle2D;
+ }
+ namespace image
+ {
+ class BufferedImage;
+ class ColorModel;
+ }
+ }
+ }
+}
+
+class java::awt::TexturePaint : public ::java::lang::Object
+{
+
+public:
+ TexturePaint(::java::awt::image::BufferedImage *, ::java::awt::geom::Rectangle2D *);
+ virtual ::java::awt::image::BufferedImage * getImage();
+ virtual ::java::awt::geom::Rectangle2D * getAnchorRect();
+ virtual ::java::awt::PaintContext * createContext(::java::awt::image::ColorModel *, ::java::awt::Rectangle *, ::java::awt::geom::Rectangle2D *, ::java::awt::geom::AffineTransform *, ::java::awt::RenderingHints *);
+ virtual jint getTransparency();
+private:
+ ::java::awt::image::BufferedImage * __attribute__((aligned(__alignof__( ::java::lang::Object)))) texture;
+ ::java::awt::geom::Rectangle2D * anchor;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_TexturePaint__
diff --git a/libjava/java/awt/Toolkit$1.h b/libjava/java/awt/Toolkit$1.h
new file mode 100644
index 0000000..f884420
--- /dev/null
+++ b/libjava/java/awt/Toolkit$1.h
@@ -0,0 +1,31 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_Toolkit$1__
+#define __java_awt_Toolkit$1__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Toolkit$1;
+ }
+ }
+}
+
+class java::awt::Toolkit$1 : public ::java::lang::Object
+{
+
+public: // actually package-private
+ Toolkit$1();
+public:
+ ::java::lang::Object * run();
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_Toolkit$1__
diff --git a/libjava/java/awt/Toolkit$2.h b/libjava/java/awt/Toolkit$2.h
new file mode 100644
index 0000000..6eb50a7
--- /dev/null
+++ b/libjava/java/awt/Toolkit$2.h
@@ -0,0 +1,31 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_Toolkit$2__
+#define __java_awt_Toolkit$2__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Toolkit$2;
+ }
+ }
+}
+
+class java::awt::Toolkit$2 : public ::java::lang::Object
+{
+
+public: // actually package-private
+ Toolkit$2();
+public:
+ ::java::lang::Object * run();
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_Toolkit$2__
diff --git a/libjava/java/awt/Toolkit.h b/libjava/java/awt/Toolkit.h
new file mode 100644
index 0000000..d8af0cd
--- /dev/null
+++ b/libjava/java/awt/Toolkit.h
@@ -0,0 +1,245 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_Toolkit__
+#define __java_awt_Toolkit__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ class GLightweightPeer;
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ class AWTEvent;
+ class Button;
+ class Canvas;
+ class Checkbox;
+ class CheckboxMenuItem;
+ class Choice;
+ class Component;
+ class Container;
+ class Cursor;
+ class Dialog;
+ class Dimension;
+ class EventQueue;
+ class FileDialog;
+ class Font;
+ class FontMetrics;
+ class Frame;
+ class GraphicsConfiguration;
+ class Image;
+ class Insets;
+ class JobAttributes;
+ class Label;
+ class List;
+ class Menu;
+ class MenuBar;
+ class MenuItem;
+ class PageAttributes;
+ class Panel;
+ class Point;
+ class PopupMenu;
+ class PrintJob;
+ class ScrollPane;
+ class Scrollbar;
+ class TextArea;
+ class TextField;
+ class Toolkit;
+ class Window;
+ namespace datatransfer
+ {
+ class Clipboard;
+ }
+ namespace dnd
+ {
+ class DragGestureEvent;
+ class DragGestureListener;
+ class DragGestureRecognizer;
+ class DragSource;
+ namespace peer
+ {
+ class DragSourceContextPeer;
+ }
+ }
+ namespace event
+ {
+ class AWTEventListener;
+ class AWTEventListenerProxy;
+ }
+ namespace im
+ {
+ class InputMethodHighlight;
+ }
+ namespace image
+ {
+ class ColorModel;
+ class ImageObserver;
+ class ImageProducer;
+ }
+ namespace peer
+ {
+ class ButtonPeer;
+ class CanvasPeer;
+ class CheckboxMenuItemPeer;
+ class CheckboxPeer;
+ class ChoicePeer;
+ class DialogPeer;
+ class FileDialogPeer;
+ class FontPeer;
+ class FramePeer;
+ class LabelPeer;
+ class LightweightPeer;
+ class ListPeer;
+ class MenuBarPeer;
+ class MenuItemPeer;
+ class MenuPeer;
+ class MouseInfoPeer;
+ class PanelPeer;
+ class PopupMenuPeer;
+ class ScrollPanePeer;
+ class ScrollbarPeer;
+ class TextAreaPeer;
+ class TextFieldPeer;
+ class WindowPeer;
+ }
+ }
+ namespace beans
+ {
+ class PropertyChangeListener;
+ class PropertyChangeSupport;
+ }
+ namespace net
+ {
+ class URL;
+ }
+ }
+}
+
+class java::awt::Toolkit : public ::java::lang::Object
+{
+
+public:
+ Toolkit();
+public: // actually protected
+ virtual ::java::awt::peer::ButtonPeer * createButton(::java::awt::Button *) = 0;
+ virtual ::java::awt::peer::TextFieldPeer * createTextField(::java::awt::TextField *) = 0;
+ virtual ::java::awt::peer::LabelPeer * createLabel(::java::awt::Label *) = 0;
+ virtual ::java::awt::peer::ListPeer * createList(::java::awt::List *) = 0;
+ virtual ::java::awt::peer::CheckboxPeer * createCheckbox(::java::awt::Checkbox *) = 0;
+ virtual ::java::awt::peer::ScrollbarPeer * createScrollbar(::java::awt::Scrollbar *) = 0;
+ virtual ::java::awt::peer::ScrollPanePeer * createScrollPane(::java::awt::ScrollPane *) = 0;
+ virtual ::java::awt::peer::TextAreaPeer * createTextArea(::java::awt::TextArea *) = 0;
+ virtual ::java::awt::peer::ChoicePeer * createChoice(::java::awt::Choice *) = 0;
+ virtual ::java::awt::peer::FramePeer * createFrame(::java::awt::Frame *) = 0;
+ virtual ::java::awt::peer::CanvasPeer * createCanvas(::java::awt::Canvas *) = 0;
+ virtual ::java::awt::peer::PanelPeer * createPanel(::java::awt::Panel *) = 0;
+ virtual ::java::awt::peer::WindowPeer * createWindow(::java::awt::Window *) = 0;
+ virtual ::java::awt::peer::DialogPeer * createDialog(::java::awt::Dialog *) = 0;
+ virtual ::java::awt::peer::MenuBarPeer * createMenuBar(::java::awt::MenuBar *) = 0;
+ virtual ::java::awt::peer::MenuPeer * createMenu(::java::awt::Menu *) = 0;
+ virtual ::java::awt::peer::PopupMenuPeer * createPopupMenu(::java::awt::PopupMenu *) = 0;
+ virtual ::java::awt::peer::MenuItemPeer * createMenuItem(::java::awt::MenuItem *) = 0;
+ virtual ::java::awt::peer::MouseInfoPeer * getMouseInfoPeer();
+ virtual ::java::awt::peer::FileDialogPeer * createFileDialog(::java::awt::FileDialog *) = 0;
+ virtual ::java::awt::peer::CheckboxMenuItemPeer * createCheckboxMenuItem(::java::awt::CheckboxMenuItem *) = 0;
+ virtual ::java::awt::peer::LightweightPeer * createComponent(::java::awt::Component *);
+ virtual ::java::awt::peer::FontPeer * getFontPeer(::java::lang::String *, jint) = 0;
+ virtual void loadSystemColors(JArray< jint > *);
+public:
+ virtual void setDynamicLayout(jboolean);
+public: // actually protected
+ virtual jboolean isDynamicLayoutSet();
+public:
+ virtual jboolean isDynamicLayoutActive();
+ virtual ::java::awt::Dimension * getScreenSize() = 0;
+ virtual jint getScreenResolution() = 0;
+ virtual ::java::awt::Insets * getScreenInsets(::java::awt::GraphicsConfiguration *);
+ virtual ::java::awt::image::ColorModel * getColorModel() = 0;
+ virtual JArray< ::java::lang::String * > * getFontList() = 0;
+ virtual ::java::awt::FontMetrics * getFontMetrics(::java::awt::Font *) = 0;
+ virtual void sync() = 0;
+ static ::java::awt::Toolkit * getDefaultToolkit();
+ virtual ::java::awt::Image * getImage(::java::lang::String *) = 0;
+ virtual ::java::awt::Image * getImage(::java::net::URL *) = 0;
+ virtual ::java::awt::Image * createImage(::java::lang::String *) = 0;
+ virtual ::java::awt::Image * createImage(::java::net::URL *) = 0;
+ virtual jboolean prepareImage(::java::awt::Image *, jint, jint, ::java::awt::image::ImageObserver *) = 0;
+ virtual jint checkImage(::java::awt::Image *, jint, jint, ::java::awt::image::ImageObserver *) = 0;
+ virtual ::java::awt::Image * createImage(::java::awt::image::ImageProducer *) = 0;
+ virtual ::java::awt::Image * createImage(JArray< jbyte > *);
+ virtual ::java::awt::Image * createImage(JArray< jbyte > *, jint, jint) = 0;
+ virtual ::java::awt::PrintJob * getPrintJob(::java::awt::Frame *, ::java::lang::String *, ::java::util::Properties *) = 0;
+ virtual ::java::awt::PrintJob * getPrintJob(::java::awt::Frame *, ::java::lang::String *, ::java::awt::JobAttributes *, ::java::awt::PageAttributes *);
+ virtual void beep() = 0;
+ virtual ::java::awt::datatransfer::Clipboard * getSystemClipboard() = 0;
+ virtual ::java::awt::datatransfer::Clipboard * getSystemSelection();
+ virtual jint getMenuShortcutKeyMask();
+ virtual jboolean getLockingKeyState(jint);
+ virtual void setLockingKeyState(jint, jboolean);
+public: // actually protected
+ static ::java::awt::Container * getNativeContainer(::java::awt::Component *);
+public:
+ virtual ::java::awt::Cursor * createCustomCursor(::java::awt::Image *, ::java::awt::Point *, ::java::lang::String *);
+ virtual ::java::awt::Dimension * getBestCursorSize(jint, jint);
+ virtual jint getMaximumCursorColors();
+ virtual jboolean isFrameStateSupported(jint);
+ static ::java::lang::String * getProperty(::java::lang::String *, ::java::lang::String *);
+ virtual ::java::awt::EventQueue * getSystemEventQueue();
+public: // actually protected
+ virtual ::java::awt::EventQueue * getSystemEventQueueImpl() = 0;
+public:
+ virtual ::java::awt::dnd::peer::DragSourceContextPeer * createDragSourceContextPeer(::java::awt::dnd::DragGestureEvent *) = 0;
+ virtual ::java::awt::dnd::DragGestureRecognizer * createDragGestureRecognizer(::java::lang::Class *, ::java::awt::dnd::DragSource *, ::java::awt::Component *, jint, ::java::awt::dnd::DragGestureListener *);
+ virtual ::java::lang::Object * getDesktopProperty(::java::lang::String *);
+public: // actually protected
+ virtual void setDesktopProperty(::java::lang::String *, ::java::lang::Object *);
+ virtual ::java::lang::Object * lazilyLoadDesktopProperty(::java::lang::String *);
+ virtual void initializeDesktopProperties();
+public:
+ virtual void addPropertyChangeListener(::java::lang::String *, ::java::beans::PropertyChangeListener *);
+ virtual void removePropertyChangeListener(::java::lang::String *, ::java::beans::PropertyChangeListener *);
+ virtual JArray< ::java::beans::PropertyChangeListener * > * getPropertyChangeListeners();
+ virtual JArray< ::java::beans::PropertyChangeListener * > * getPropertyChangeListeners(::java::lang::String *);
+ virtual void addAWTEventListener(::java::awt::event::AWTEventListener *, jlong);
+ virtual void removeAWTEventListener(::java::awt::event::AWTEventListener *);
+ virtual JArray< ::java::awt::event::AWTEventListener * > * getAWTEventListeners();
+ virtual JArray< ::java::awt::event::AWTEventListener * > * getAWTEventListeners(jlong);
+public: // actually package-private
+ virtual void globalDispatchEvent(::java::awt::AWTEvent *);
+public:
+ virtual ::java::util::Map * mapInputMethodHighlight(::java::awt::im::InputMethodHighlight *) = 0;
+private:
+ static void initAccessibility();
+ static ::java::lang::String * default_toolkit_name;
+ static ::java::awt::Toolkit * toolkit;
+ static ::java::util::Properties * props;
+public: // actually protected
+ ::java::util::Map * __attribute__((aligned(__alignof__( ::java::lang::Object)))) desktopProperties;
+ ::java::beans::PropertyChangeSupport * desktopPropsSupport;
+public: // actually package-private
+ JArray< ::java::awt::event::AWTEventListenerProxy * > * awtEventListeners;
+private:
+ ::gnu::java::awt::peer::GLightweightPeer * lightweightPeer;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_Toolkit__
diff --git a/libjava/java/awt/Transparency.h b/libjava/java/awt/Transparency.h
new file mode 100644
index 0000000..1304a46
--- /dev/null
+++ b/libjava/java/awt/Transparency.h
@@ -0,0 +1,32 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_Transparency__
+#define __java_awt_Transparency__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Transparency;
+ }
+ }
+}
+
+class java::awt::Transparency : public ::java::lang::Object
+{
+
+public:
+ virtual jint getTransparency() = 0;
+ static const jint OPAQUE = 1;
+ static const jint BITMASK = 2;
+ static const jint TRANSLUCENT = 3;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_awt_Transparency__
diff --git a/libjava/java/awt/Window$AccessibleAWTWindow.h b/libjava/java/awt/Window$AccessibleAWTWindow.h
new file mode 100644
index 0000000..aa4d2ce
--- /dev/null
+++ b/libjava/java/awt/Window$AccessibleAWTWindow.h
@@ -0,0 +1,46 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_Window$AccessibleAWTWindow__
+#define __java_awt_Window$AccessibleAWTWindow__
+
+#pragma interface
+
+#include <java/awt/Container$AccessibleAWTContainer.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Window;
+ class Window$AccessibleAWTWindow;
+ }
+ }
+ namespace javax
+ {
+ namespace accessibility
+ {
+ class AccessibleRole;
+ class AccessibleStateSet;
+ }
+ }
+}
+
+class java::awt::Window$AccessibleAWTWindow : public ::java::awt::Container$AccessibleAWTContainer
+{
+
+public: // actually protected
+ Window$AccessibleAWTWindow(::java::awt::Window *);
+public:
+ virtual ::javax::accessibility::AccessibleRole * getAccessibleRole();
+ virtual ::javax::accessibility::AccessibleStateSet * getAccessibleStateSet();
+private:
+ static const jlong serialVersionUID = 4215068635060671780LL;
+public: // actually package-private
+ ::java::awt::Window * __attribute__((aligned(__alignof__( ::java::awt::Container$AccessibleAWTContainer)))) this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_Window$AccessibleAWTWindow__
diff --git a/libjava/java/awt/Window$WindowBltBufferStrategy.h b/libjava/java/awt/Window$WindowBltBufferStrategy.h
new file mode 100644
index 0000000..eb29e05
--- /dev/null
+++ b/libjava/java/awt/Window$WindowBltBufferStrategy.h
@@ -0,0 +1,32 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_Window$WindowBltBufferStrategy__
+#define __java_awt_Window$WindowBltBufferStrategy__
+
+#pragma interface
+
+#include <java/awt/Component$BltBufferStrategy.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Window;
+ class Window$WindowBltBufferStrategy;
+ }
+ }
+}
+
+class java::awt::Window$WindowBltBufferStrategy : public ::java::awt::Component$BltBufferStrategy
+{
+
+public: // actually package-private
+ Window$WindowBltBufferStrategy(::java::awt::Window *, jint, jboolean);
+ ::java::awt::Window * __attribute__((aligned(__alignof__( ::java::awt::Component$BltBufferStrategy)))) this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_Window$WindowBltBufferStrategy__
diff --git a/libjava/java/awt/Window$WindowFlipBufferStrategy.h b/libjava/java/awt/Window$WindowFlipBufferStrategy.h
new file mode 100644
index 0000000..0fd395f
--- /dev/null
+++ b/libjava/java/awt/Window$WindowFlipBufferStrategy.h
@@ -0,0 +1,32 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_Window$WindowFlipBufferStrategy__
+#define __java_awt_Window$WindowFlipBufferStrategy__
+
+#pragma interface
+
+#include <java/awt/Component$FlipBufferStrategy.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Window;
+ class Window$WindowFlipBufferStrategy;
+ }
+ }
+}
+
+class java::awt::Window$WindowFlipBufferStrategy : public ::java::awt::Component$FlipBufferStrategy
+{
+
+public: // actually package-private
+ Window$WindowFlipBufferStrategy(::java::awt::Window *, jint);
+ ::java::awt::Window * __attribute__((aligned(__alignof__( ::java::awt::Component$FlipBufferStrategy)))) this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_Window$WindowFlipBufferStrategy__
diff --git a/libjava/java/awt/Window.h b/libjava/java/awt/Window.h
new file mode 100644
index 0000000..bf369ed
--- /dev/null
+++ b/libjava/java/awt/Window.h
@@ -0,0 +1,146 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_Window__
+#define __java_awt_Window__
+
+#pragma interface
+
+#include <java/awt/Container.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class AWTEvent;
+ class BufferCapabilities;
+ class Component;
+ class Container;
+ class Cursor;
+ class Event;
+ class Frame;
+ class GraphicsConfiguration;
+ class Toolkit;
+ class Window;
+ namespace event
+ {
+ class WindowEvent;
+ class WindowFocusListener;
+ class WindowListener;
+ class WindowStateListener;
+ }
+ namespace image
+ {
+ class BufferStrategy;
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace accessibility
+ {
+ class AccessibleContext;
+ }
+ }
+}
+
+class java::awt::Window : public ::java::awt::Container
+{
+
+public: // actually package-private
+ Window();
+ Window(::java::awt::GraphicsConfiguration *);
+public:
+ Window(::java::awt::Frame *);
+ Window(::java::awt::Window *);
+ Window(::java::awt::Window *, ::java::awt::GraphicsConfiguration *);
+public: // actually package-private
+ virtual ::java::awt::GraphicsConfiguration * getGraphicsConfigurationImpl();
+public:
+ virtual void addNotify();
+ virtual void pack();
+ virtual void show();
+ virtual void hide();
+ virtual void dispose();
+ virtual void toBack();
+ virtual void toFront();
+ virtual ::java::awt::Toolkit * getToolkit();
+ virtual ::java::lang::String * getWarningString();
+ virtual ::java::util::Locale * getLocale();
+ virtual void setCursor(::java::awt::Cursor *);
+ virtual ::java::awt::Window * getOwner();
+ virtual JArray< ::java::awt::Window * > * getOwnedWindows();
+ virtual void addWindowListener(::java::awt::event::WindowListener *);
+ virtual void removeWindowListener(::java::awt::event::WindowListener *);
+ virtual JArray< ::java::awt::event::WindowListener * > * getWindowListeners();
+ virtual JArray< ::java::awt::event::WindowFocusListener * > * getWindowFocusListeners();
+ virtual JArray< ::java::awt::event::WindowStateListener * > * getWindowStateListeners();
+ virtual void addWindowFocusListener(::java::awt::event::WindowFocusListener *);
+ virtual void addWindowStateListener(::java::awt::event::WindowStateListener *);
+ virtual void removeWindowFocusListener(::java::awt::event::WindowFocusListener *);
+ virtual void removeWindowStateListener(::java::awt::event::WindowStateListener *);
+ virtual JArray< ::java::util::EventListener * > * getListeners(::java::lang::Class *);
+public: // actually package-private
+ virtual void dispatchEventImpl(::java::awt::AWTEvent *);
+public: // actually protected
+ virtual void processEvent(::java::awt::AWTEvent *);
+ virtual void processWindowEvent(::java::awt::event::WindowEvent *);
+public:
+ virtual jboolean isActive();
+ virtual jboolean isFocused();
+ virtual ::java::awt::Component * getFocusOwner();
+ virtual ::java::awt::Component * getMostRecentFocusOwner();
+public: // actually package-private
+ virtual void setFocusOwner(::java::awt::Component *);
+public:
+ virtual jboolean postEvent(::java::awt::Event *);
+ virtual jboolean isShowing();
+ virtual void setLocationRelativeTo(::java::awt::Component *);
+ virtual void createBufferStrategy(jint);
+ virtual void createBufferStrategy(jint, ::java::awt::BufferCapabilities *);
+ virtual ::java::awt::image::BufferStrategy * getBufferStrategy();
+ virtual void applyResourceBundle(::java::util::ResourceBundle *);
+ virtual void applyResourceBundle(::java::lang::String *);
+ virtual ::javax::accessibility::AccessibleContext * getAccessibleContext();
+ virtual ::java::awt::GraphicsConfiguration * getGraphicsConfiguration();
+public: // actually protected
+ virtual void processWindowFocusEvent(::java::awt::event::WindowEvent *);
+ virtual void processWindowStateEvent(::java::awt::event::WindowEvent *);
+public:
+ virtual jboolean isFocusableWindow();
+ virtual jboolean getFocusableWindowState();
+ virtual void setFocusableWindowState(jboolean);
+ virtual jboolean isFocusCycleRoot();
+ virtual void setFocusCycleRoot(jboolean);
+ virtual ::java::awt::Container * getFocusCycleRootAncestor();
+ virtual jboolean isAlwaysOnTop();
+ virtual void setAlwaysOnTop(jboolean);
+public: // actually package-private
+ virtual ::java::lang::String * generateName();
+ virtual jboolean eventTypeEnabled(jint);
+private:
+ static jlong getUniqueLong();
+ static const jlong serialVersionUID = 4497834738069338734LL;
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::awt::Container)))) warningString;
+ jint windowSerializedDataVersion;
+ jint state;
+ jboolean focusableWindowState;
+ jboolean alwaysOnTop;
+ ::java::util::Vector * ownedWindows;
+ ::java::awt::event::WindowListener * windowListener;
+ ::java::awt::event::WindowFocusListener * windowFocusListener;
+ ::java::awt::event::WindowStateListener * windowStateListener;
+ ::java::awt::GraphicsConfiguration * graphicsConfiguration;
+ jboolean shown;
+public: // actually package-private
+ ::java::awt::Component * windowFocusOwner;
+private:
+ static jlong next_window_number;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_Window__
diff --git a/libjava/java/awt/color/CMMException.h b/libjava/java/awt/color/CMMException.h
new file mode 100644
index 0000000..b6ee533
--- /dev/null
+++ b/libjava/java/awt/color/CMMException.h
@@ -0,0 +1,35 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_color_CMMException__
+#define __java_awt_color_CMMException__
+
+#pragma interface
+
+#include <java/lang/RuntimeException.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace color
+ {
+ class CMMException;
+ }
+ }
+ }
+}
+
+class java::awt::color::CMMException : public ::java::lang::RuntimeException
+{
+
+public:
+ CMMException(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = 5775558044142994965LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_color_CMMException__
diff --git a/libjava/java/awt/color/ColorSpace.h b/libjava/java/awt/color/ColorSpace.h
new file mode 100644
index 0000000..cb8ec13
--- /dev/null
+++ b/libjava/java/awt/color/ColorSpace.h
@@ -0,0 +1,88 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_color_ColorSpace__
+#define __java_awt_color_ColorSpace__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace color
+ {
+ class ColorSpace;
+ }
+ }
+ }
+}
+
+class java::awt::color::ColorSpace : public ::java::lang::Object
+{
+
+public: // actually protected
+ ColorSpace(jint, jint);
+public:
+ static ::java::awt::color::ColorSpace * getInstance(jint);
+ virtual jboolean isCS_sRGB();
+ virtual JArray< jfloat > * toRGB(JArray< jfloat > *) = 0;
+ virtual JArray< jfloat > * fromRGB(JArray< jfloat > *) = 0;
+ virtual JArray< jfloat > * toCIEXYZ(JArray< jfloat > *) = 0;
+ virtual JArray< jfloat > * fromCIEXYZ(JArray< jfloat > *) = 0;
+ virtual jint getType();
+ virtual jint getNumComponents();
+ virtual ::java::lang::String * getName(jint);
+ virtual jfloat getMinValue(jint);
+ virtual jfloat getMaxValue(jint);
+private:
+ static const jlong serialVersionUID = -409452704308689724LL;
+public:
+ static const jint TYPE_XYZ = 0;
+ static const jint TYPE_Lab = 1;
+ static const jint TYPE_Luv = 2;
+ static const jint TYPE_YCbCr = 3;
+ static const jint TYPE_Yxy = 4;
+ static const jint TYPE_RGB = 5;
+ static const jint TYPE_GRAY = 6;
+ static const jint TYPE_HSV = 7;
+ static const jint TYPE_HLS = 8;
+ static const jint TYPE_CMYK = 9;
+ static const jint TYPE_CMY = 11;
+ static const jint TYPE_2CLR = 12;
+ static const jint TYPE_3CLR = 13;
+ static const jint TYPE_4CLR = 14;
+ static const jint TYPE_5CLR = 15;
+ static const jint TYPE_6CLR = 16;
+ static const jint TYPE_7CLR = 17;
+ static const jint TYPE_8CLR = 18;
+ static const jint TYPE_9CLR = 19;
+ static const jint TYPE_ACLR = 20;
+ static const jint TYPE_BCLR = 21;
+ static const jint TYPE_CCLR = 22;
+ static const jint TYPE_DCLR = 23;
+ static const jint TYPE_ECLR = 24;
+ static const jint TYPE_FCLR = 25;
+ static const jint CS_sRGB = 1000;
+ static const jint CS_LINEAR_RGB = 1004;
+ static const jint CS_CIEXYZ = 1001;
+ static const jint CS_PYCC = 1002;
+ static const jint CS_GRAY = 1003;
+private:
+ static const jint CS_BASE = 1000;
+ static const jint CS_END = 1005;
+ static const jint CS_COUNT = 5;
+ static JArray< ::java::awt::color::ColorSpace * > * INSTANCES;
+public: // actually package-private
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) type;
+ jint numComponents;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_color_ColorSpace__
diff --git a/libjava/java/awt/color/ICC_ColorSpace.h b/libjava/java/awt/color/ICC_ColorSpace.h
new file mode 100644
index 0000000..6dd2117
--- /dev/null
+++ b/libjava/java/awt/color/ICC_ColorSpace.h
@@ -0,0 +1,71 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_color_ICC_ColorSpace__
+#define __java_awt_color_ICC_ColorSpace__
+
+#pragma interface
+
+#include <java/awt/color/ColorSpace.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace color
+ {
+ class ColorSpaceConverter;
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ namespace color
+ {
+ class ICC_ColorSpace;
+ class ICC_Profile;
+ }
+ }
+ }
+}
+
+class java::awt::color::ICC_ColorSpace : public ::java::awt::color::ColorSpace
+{
+
+public:
+ ICC_ColorSpace(::java::awt::color::ICC_Profile *);
+ virtual ::java::awt::color::ICC_Profile * getProfile();
+ virtual JArray< jfloat > * toRGB(JArray< jfloat > *);
+ virtual JArray< jfloat > * fromRGB(JArray< jfloat > *);
+ virtual JArray< jfloat > * toCIEXYZ(JArray< jfloat > *);
+ virtual JArray< jfloat > * fromCIEXYZ(JArray< jfloat > *);
+ virtual jboolean isCS_sRGB();
+ virtual jfloat getMinValue(jint);
+ virtual jfloat getMaxValue(jint);
+private:
+ ::gnu::java::awt::color::ColorSpaceConverter * getConverter(::java::awt::color::ICC_Profile *);
+ void makeArrays();
+ void readObject(::java::io::ObjectInputStream *);
+ static const jlong serialVersionUID = 3455889114070431483LL;
+ ::java::awt::color::ICC_Profile * __attribute__((aligned(__alignof__( ::java::awt::color::ColorSpace)))) thisProfile;
+ JArray< jfloat > * minVal;
+ JArray< jfloat > * maxVal;
+ JArray< jfloat > * diffMinMax;
+ JArray< jfloat > * invDiffMinMax;
+ jboolean needScaleInit;
+ jint type;
+ jint nComponents;
+ ::gnu::java::awt::color::ColorSpaceConverter * converter;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_color_ICC_ColorSpace__
diff --git a/libjava/java/awt/color/ICC_Profile.h b/libjava/java/awt/color/ICC_Profile.h
new file mode 100644
index 0000000..d6a406e
--- /dev/null
+++ b/libjava/java/awt/color/ICC_Profile.h
@@ -0,0 +1,217 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_color_ICC_Profile__
+#define __java_awt_color_ICC_Profile__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace awt
+ {
+ namespace color
+ {
+ class ProfileHeader;
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ namespace color
+ {
+ class ICC_Profile;
+ }
+ }
+ }
+}
+
+class java::awt::color::ICC_Profile : public ::java::lang::Object
+{
+
+public: // actually package-private
+ ICC_Profile(jint);
+ ICC_Profile(::gnu::java::awt::color::ProfileHeader *, ::java::util::Hashtable *);
+ ICC_Profile(JArray< jbyte > *);
+public: // actually protected
+ virtual void finalize();
+public:
+ static ::java::awt::color::ICC_Profile * getInstance(JArray< jbyte > *);
+ static ::java::awt::color::ICC_Profile * getInstance(jint);
+ static ::java::awt::color::ICC_Profile * getInstance(::java::lang::String *);
+ static ::java::awt::color::ICC_Profile * getInstance(::java::io::InputStream *);
+ virtual jint getMajorVersion();
+ virtual jint getMinorVersion();
+ virtual jint getProfileClass();
+ virtual jint getColorSpaceType();
+ virtual jint getPCSType();
+ virtual void write(::java::lang::String *);
+ virtual void write(::java::io::OutputStream *);
+ virtual JArray< jbyte > * getData();
+ virtual JArray< jbyte > * getData(jint);
+ virtual void setData(jint, JArray< jbyte > *);
+ virtual jint getNumComponents();
+public: // actually protected
+ virtual ::java::lang::Object * readResolve();
+private:
+ void readObject(::java::io::ObjectInputStream *);
+ void writeObject(::java::io::ObjectOutputStream *);
+ static ::java::util::Hashtable * createTagTable(JArray< jbyte > *);
+ jint getSize();
+ JArray< jbyte > * getTagTable();
+ static jboolean isRGBProfile(::gnu::java::awt::color::ProfileHeader *, ::java::util::Hashtable *);
+ static jboolean isGrayProfile(::gnu::java::awt::color::ProfileHeader *, ::java::util::Hashtable *);
+public: // actually package-private
+ virtual JArray< jshort > * getCurve(jint);
+ virtual JArray< jfloat > * getXYZData(jint);
+ virtual jint isPredefined();
+private:
+ JArray< jbyte > * makeXYZData(JArray< jfloat > *);
+ JArray< jbyte > * makeTextTag(::java::lang::String *);
+ JArray< jbyte > * makeDescTag(::java::lang::String *);
+ JArray< jbyte > * makeTRC();
+ JArray< jbyte > * makeTRC(jfloat);
+ JArray< jbyte > * makeTRC(JArray< jfloat > *);
+ JArray< jbyte > * makeIdentityClut();
+ void createProfile(jint);
+ void createRGBProfile();
+ void createLinearRGBProfile();
+ void createCIEProfile();
+ void createGrayProfile();
+ void createPyccProfile();
+ static const jlong serialVersionUID = -3938515861990936766LL;
+public:
+ static const jint CLASS_INPUT = 0;
+ static const jint CLASS_DISPLAY = 1;
+ static const jint CLASS_OUTPUT = 2;
+ static const jint CLASS_DEVICELINK = 3;
+ static const jint CLASS_COLORSPACECONVERSION = 4;
+ static const jint CLASS_ABSTRACT = 5;
+ static const jint CLASS_NAMEDCOLOR = 6;
+ static const jint icSigInputClass = 1935896178;
+ static const jint icSigDisplayClass = 1835955314;
+ static const jint icSigOutputClass = 1886549106;
+ static const jint icSigLinkClass = 1818848875;
+ static const jint icSigColorSpaceClass = 1936744803;
+ static const jint icSigAbstractClass = 1633842036;
+ static const jint icSigNamedColorClass = 1852662636;
+ static const jint icSigXYZData = 1482250784;
+ static const jint icSigLabData = 1281450528;
+ static const jint icSigLuvData = 1282766368;
+ static const jint icSigYCbCrData = 1497588338;
+ static const jint icSigYxyData = 1501067552;
+ static const jint icSigRgbData = 1380401696;
+ static const jint icSigGrayData = 1196573017;
+ static const jint icSigHsvData = 1213421088;
+ static const jint icSigHlsData = 1212961568;
+ static const jint icSigCmykData = 1129142603;
+ static const jint icSigCmyData = 1129142560;
+ static const jint icSigSpace2CLR = 843271250;
+ static const jint icSigSpace3CLR = 860048466;
+ static const jint icSigSpace4CLR = 876825682;
+ static const jint icSigSpace5CLR = 893602898;
+ static const jint icSigSpace6CLR = 910380114;
+ static const jint icSigSpace7CLR = 927157330;
+ static const jint icSigSpace8CLR = 943934546;
+ static const jint icSigSpace9CLR = 960711762;
+ static const jint icSigSpaceACLR = 1094929490;
+ static const jint icSigSpaceBCLR = 1111706706;
+ static const jint icSigSpaceCCLR = 1128483922;
+ static const jint icSigSpaceDCLR = 1145261138;
+ static const jint icSigSpaceECLR = 1162038354;
+ static const jint icSigSpaceFCLR = 1178815570;
+ static const jint icPerceptual = 0;
+ static const jint icRelativeColorimetric = 1;
+ static const jint icSaturation = 2;
+ static const jint icAbsoluteColorimetric = 3;
+ static const jint icSigAToB0Tag = 1093812784;
+ static const jint icSigAToB1Tag = 1093812785;
+ static const jint icSigAToB2Tag = 1093812786;
+ static const jint icSigBlueColorantTag = 1649957210;
+ static const jint icSigBlueTRCTag = 1649693251;
+ static const jint icSigBToA0Tag = 1110589744;
+ static const jint icSigBToA1Tag = 1110589745;
+ static const jint icSigBToA2Tag = 1110589746;
+ static const jint icSigCalibrationDateTimeTag = 1667329140;
+ static const jint icSigCharTargetTag = 1952543335;
+ static const jint icSigCopyrightTag = 1668313716;
+ static const jint icSigCrdInfoTag = 1668441193;
+ static const jint icSigDeviceMfgDescTag = 1684893284;
+ static const jint icSigDeviceModelDescTag = 1684890724;
+ static const jint icSigDeviceSettingsTag = 1684371059;
+ static const jint icSigGamutTag = 1734438260;
+ static const jint icSigGrayTRCTag = 1800688195;
+ static const jint icSigGreenColorantTag = 1733843290;
+ static const jint icSigGreenTRCTag = 1733579331;
+ static const jint icSigLuminanceTag = 1819635049;
+ static const jint icSigMeasurementTag = 1835360627;
+ static const jint icSigMediaBlackPointTag = 1651208308;
+ static const jint icSigMediaWhitePointTag = 2004119668;
+ static const jint icSigNamedColor2Tag = 1852009522;
+ static const jint icSigOutputResponseTag = 1919251312;
+ static const jint icSigPreview0Tag = 1886545200;
+ static const jint icSigPreview1Tag = 1886545201;
+ static const jint icSigPreview2Tag = 1886545202;
+ static const jint icSigProfileDescriptionTag = 1684370275;
+ static const jint icSigProfileSequenceDescTag = 1886610801;
+ static const jint icSigPs2CRD0Tag = 1886610480;
+ static const jint icSigPs2CRD1Tag = 1886610481;
+ static const jint icSigPs2CRD2Tag = 1886610482;
+ static const jint icSigPs2CRD3Tag = 1886610483;
+ static const jint icSigPs2CSATag = 1886597747;
+ static const jint icSigPs2RenderingIntentTag = 1886597737;
+ static const jint icSigRedColorantTag = 1918392666;
+ static const jint icSigRedTRCTag = 1918128707;
+ static const jint icSigScreeningDescTag = 1935897188;
+ static const jint icSigScreeningTag = 1935897198;
+ static const jint icSigTechnologyTag = 1952801640;
+ static const jint icSigUcrBgTag = 1650877472;
+ static const jint icSigViewingCondDescTag = 1987405156;
+ static const jint icSigViewingConditionsTag = 1986618743;
+ static const jint icSigChromaticityTag = 1667789421;
+ static const jint icSigHead = 1751474532;
+ static const jint icHdrSize = 0;
+ static const jint icHdrCmmId = 4;
+ static const jint icHdrVersion = 8;
+ static const jint icHdrDeviceClass = 12;
+ static const jint icHdrColorSpace = 16;
+ static const jint icHdrPcs = 20;
+ static const jint icHdrDate = 24;
+ static const jint icHdrMagic = 36;
+ static const jint icHdrPlatform = 40;
+ static const jint icHdrFlags = 44;
+ static const jint icHdrManufacturer = 48;
+ static const jint icHdrModel = 52;
+ static const jint icHdrAttributes = 56;
+ static const jint icHdrRenderingIntent = 64;
+ static const jint icHdrIlluminant = 68;
+ static const jint icHdrCreator = 80;
+ static const jint icTagType = 0;
+ static const jint icTagReserved = 4;
+ static const jint icCurveCount = 8;
+ static const jint icCurveData = 12;
+ static const jint icXYZNumberX = 8;
+private:
+ static const jint tagTableOffset = 128;
+ static const jint iccProfileSerializedDataVersion = 1;
+ static ::java::lang::String * copyrightNotice;
+ static const jint TRC_POINTS = 1024;
+ static JArray< jfloat > * D50;
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) profileID;
+ ::gnu::java::awt::color::ProfileHeader * header;
+ ::java::util::Hashtable * tagTable;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_color_ICC_Profile__
diff --git a/libjava/java/awt/color/ICC_ProfileGray.h b/libjava/java/awt/color/ICC_ProfileGray.h
new file mode 100644
index 0000000..9ebeef8
--- /dev/null
+++ b/libjava/java/awt/color/ICC_ProfileGray.h
@@ -0,0 +1,43 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_color_ICC_ProfileGray__
+#define __java_awt_color_ICC_ProfileGray__
+
+#pragma interface
+
+#include <java/awt/color/ICC_Profile.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace color
+ {
+ class ICC_ProfileGray;
+ }
+ }
+ }
+}
+
+class java::awt::color::ICC_ProfileGray : public ::java::awt::color::ICC_Profile
+{
+
+public: // actually package-private
+ ICC_ProfileGray(jint);
+ ICC_ProfileGray(JArray< jbyte > *);
+public:
+ virtual JArray< jfloat > * getMediaWhitePoint();
+ virtual jfloat getGamma();
+ virtual JArray< jshort > * getTRC();
+private:
+ static const jlong serialVersionUID = -1124721290732002649LL;
+ JArray< jfloat > * __attribute__((aligned(__alignof__( ::java::awt::color::ICC_Profile)))) whitePoint;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_color_ICC_ProfileGray__
diff --git a/libjava/java/awt/color/ICC_ProfileRGB.h b/libjava/java/awt/color/ICC_ProfileRGB.h
new file mode 100644
index 0000000..7520d8a
--- /dev/null
+++ b/libjava/java/awt/color/ICC_ProfileRGB.h
@@ -0,0 +1,52 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_color_ICC_ProfileRGB__
+#define __java_awt_color_ICC_ProfileRGB__
+
+#pragma interface
+
+#include <java/awt/color/ICC_Profile.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace color
+ {
+ class ICC_ProfileRGB;
+ }
+ }
+ }
+}
+
+class java::awt::color::ICC_ProfileRGB : public ::java::awt::color::ICC_Profile
+{
+
+public: // actually package-private
+ ICC_ProfileRGB(jint);
+ ICC_ProfileRGB(JArray< jbyte > *);
+public:
+ virtual JArray< jfloat > * getMediaWhitePoint();
+ virtual JArray< JArray< jfloat > * > * getMatrix();
+ virtual jfloat getGamma(jint);
+ virtual JArray< jshort > * getTRC(jint);
+private:
+ JArray< JArray< jfloat > * > * createMatrix();
+ static const jlong serialVersionUID = 8505067385152579334LL;
+public:
+ static const jint REDCOMPONENT = 0;
+ static const jint GREENCOMPONENT = 1;
+ static const jint BLUECOMPONENT = 2;
+private:
+ JArray< JArray< jfloat > * > * __attribute__((aligned(__alignof__( ::java::awt::color::ICC_Profile)))) matrix;
+ JArray< jfloat > * gamma;
+ JArray< jfloat > * whitePoint;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_color_ICC_ProfileRGB__
diff --git a/libjava/java/awt/color/ProfileDataException.h b/libjava/java/awt/color/ProfileDataException.h
new file mode 100644
index 0000000..593bf13
--- /dev/null
+++ b/libjava/java/awt/color/ProfileDataException.h
@@ -0,0 +1,35 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_color_ProfileDataException__
+#define __java_awt_color_ProfileDataException__
+
+#pragma interface
+
+#include <java/lang/RuntimeException.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace color
+ {
+ class ProfileDataException;
+ }
+ }
+ }
+}
+
+class java::awt::color::ProfileDataException : public ::java::lang::RuntimeException
+{
+
+public:
+ ProfileDataException(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = 7286140888240322498LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_color_ProfileDataException__
diff --git a/libjava/java/awt/datatransfer/Clipboard.h b/libjava/java/awt/datatransfer/Clipboard.h
new file mode 100644
index 0000000..5ae0769
--- /dev/null
+++ b/libjava/java/awt/datatransfer/Clipboard.h
@@ -0,0 +1,54 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_datatransfer_Clipboard__
+#define __java_awt_datatransfer_Clipboard__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace datatransfer
+ {
+ class Clipboard;
+ class ClipboardOwner;
+ class DataFlavor;
+ class FlavorListener;
+ class Transferable;
+ }
+ }
+ }
+}
+
+class java::awt::datatransfer::Clipboard : public ::java::lang::Object
+{
+
+public:
+ Clipboard(::java::lang::String *);
+ virtual ::java::lang::String * getName();
+ virtual ::java::awt::datatransfer::Transferable * getContents(::java::lang::Object *);
+ virtual void setContents(::java::awt::datatransfer::Transferable *, ::java::awt::datatransfer::ClipboardOwner *);
+ virtual JArray< ::java::awt::datatransfer::DataFlavor * > * getAvailableDataFlavors();
+ virtual jboolean isDataFlavorAvailable(::java::awt::datatransfer::DataFlavor *);
+ virtual ::java::lang::Object * getData(::java::awt::datatransfer::DataFlavor *);
+ virtual void addFlavorListener(::java::awt::datatransfer::FlavorListener *);
+ virtual void removeFlavorListener(::java::awt::datatransfer::FlavorListener *);
+ virtual JArray< ::java::awt::datatransfer::FlavorListener * > * getFlavorListeners();
+public: // actually protected
+ ::java::awt::datatransfer::Transferable * __attribute__((aligned(__alignof__( ::java::lang::Object)))) contents;
+ ::java::awt::datatransfer::ClipboardOwner * owner;
+private:
+ ::java::lang::String * name;
+ ::java::util::ArrayList * listeners;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_datatransfer_Clipboard__
diff --git a/libjava/java/awt/datatransfer/ClipboardOwner.h b/libjava/java/awt/datatransfer/ClipboardOwner.h
new file mode 100644
index 0000000..d20a514
--- /dev/null
+++ b/libjava/java/awt/datatransfer/ClipboardOwner.h
@@ -0,0 +1,34 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_datatransfer_ClipboardOwner__
+#define __java_awt_datatransfer_ClipboardOwner__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace datatransfer
+ {
+ class Clipboard;
+ class ClipboardOwner;
+ class Transferable;
+ }
+ }
+ }
+}
+
+class java::awt::datatransfer::ClipboardOwner : public ::java::lang::Object
+{
+
+public:
+ virtual void lostOwnership(::java::awt::datatransfer::Clipboard *, ::java::awt::datatransfer::Transferable *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_awt_datatransfer_ClipboardOwner__
diff --git a/libjava/java/awt/datatransfer/DataFlavor.h b/libjava/java/awt/datatransfer/DataFlavor.h
new file mode 100644
index 0000000..3a94cab
--- /dev/null
+++ b/libjava/java/awt/datatransfer/DataFlavor.h
@@ -0,0 +1,100 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_datatransfer_DataFlavor__
+#define __java_awt_datatransfer_DataFlavor__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace datatransfer
+ {
+ class DataFlavor;
+ class MimeType;
+ class Transferable;
+ }
+ }
+ }
+}
+
+class java::awt::datatransfer::DataFlavor : public ::java::lang::Object
+{
+
+public: // actually protected
+ static ::java::lang::Class * tryToLoadClass(::java::lang::String *, ::java::lang::ClassLoader *);
+public:
+ static ::java::awt::datatransfer::DataFlavor * getTextPlainUnicodeFlavor();
+ static ::java::awt::datatransfer::DataFlavor * selectBestTextFlavor(JArray< ::java::awt::datatransfer::DataFlavor * > *);
+ DataFlavor();
+ DataFlavor(::java::lang::Class *, ::java::lang::String *);
+ DataFlavor(::java::lang::String *, ::java::lang::String *, ::java::lang::ClassLoader *);
+ DataFlavor(::java::lang::String *, ::java::lang::String *);
+ DataFlavor(::java::lang::String *);
+private:
+ void init(::java::lang::String *, ::java::lang::String *, ::java::lang::ClassLoader *);
+public:
+ virtual ::java::lang::String * getMimeType();
+ virtual ::java::lang::Class * getRepresentationClass();
+ virtual ::java::lang::String * getHumanPresentableName();
+ virtual ::java::lang::String * getPrimaryType();
+ virtual ::java::lang::String * getSubType();
+ virtual ::java::lang::String * getParameter(::java::lang::String *);
+ virtual void setHumanPresentableName(::java::lang::String *);
+ virtual jboolean isMimeTypeEqual(::java::lang::String *);
+ virtual jboolean isMimeTypeEqual(::java::awt::datatransfer::DataFlavor *);
+ virtual jboolean isMimeTypeSerializedObject();
+ virtual jboolean isRepresentationClassInputStream();
+ virtual jboolean isRepresentationClassSerializable();
+ virtual jboolean isRepresentationClassRemote();
+ virtual jboolean isFlavorSerializedObjectType();
+ virtual jboolean isFlavorRemoteObjectType();
+ virtual jboolean isFlavorJavaFileListType();
+ virtual ::java::lang::Object * clone();
+ virtual jboolean equals(::java::awt::datatransfer::DataFlavor *);
+ virtual jboolean equals(::java::lang::Object *);
+ virtual jboolean equals(::java::lang::String *);
+ virtual jint hashCode();
+ virtual jboolean match(::java::awt::datatransfer::DataFlavor *);
+public: // actually protected
+ virtual ::java::lang::String * normalizeMimeTypeParameter(::java::lang::String *, ::java::lang::String *);
+ virtual ::java::lang::String * normalizeMimeType(::java::lang::String *);
+public:
+ virtual void writeExternal(::java::io::ObjectOutput *);
+ virtual void readExternal(::java::io::ObjectInput *);
+ virtual ::java::lang::String * toString();
+ virtual ::java::lang::Class * getDefaultRepresentationClass();
+ virtual ::java::lang::String * getDefaultRepresentationClassAsString();
+ virtual ::java::io::Reader * getReaderForText(::java::awt::datatransfer::Transferable *);
+ virtual jboolean isRepresentationClassByteBuffer();
+ virtual jboolean isRepresentationClassCharBuffer();
+ virtual jboolean isRepresentationClassReader();
+ virtual jboolean isFlavorTextType();
+public: // actually package-private
+ static const jlong serialVersionUID = 8367026044764648243LL;
+public:
+ static ::java::awt::datatransfer::DataFlavor * plainTextFlavor;
+ static ::java::awt::datatransfer::DataFlavor * stringFlavor;
+ static ::java::awt::datatransfer::DataFlavor * javaFileListFlavor;
+ static ::java::awt::datatransfer::DataFlavor * imageFlavor;
+ static ::java::lang::String * javaSerializedObjectMimeType;
+ static ::java::lang::String * javaJVMLocalObjectMimeType;
+ static ::java::lang::String * javaRemoteObjectMimeType;
+private:
+ ::java::awt::datatransfer::MimeType * __attribute__((aligned(__alignof__( ::java::lang::Object)))) mimeType;
+ ::java::lang::Class * representationClass;
+ ::java::lang::String * humanPresentableName;
+public: // actually package-private
+ static jboolean $assertionsDisabled;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_datatransfer_DataFlavor__
diff --git a/libjava/java/awt/datatransfer/FlavorEvent.h b/libjava/java/awt/datatransfer/FlavorEvent.h
new file mode 100644
index 0000000..00cfae1
--- /dev/null
+++ b/libjava/java/awt/datatransfer/FlavorEvent.h
@@ -0,0 +1,33 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_datatransfer_FlavorEvent__
+#define __java_awt_datatransfer_FlavorEvent__
+
+#pragma interface
+
+#include <java/util/EventObject.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace datatransfer
+ {
+ class Clipboard;
+ class FlavorEvent;
+ }
+ }
+ }
+}
+
+class java::awt::datatransfer::FlavorEvent : public ::java::util::EventObject
+{
+
+public:
+ FlavorEvent(::java::awt::datatransfer::Clipboard *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_datatransfer_FlavorEvent__
diff --git a/libjava/java/awt/datatransfer/FlavorListener.h b/libjava/java/awt/datatransfer/FlavorListener.h
new file mode 100644
index 0000000..0e23dbb
--- /dev/null
+++ b/libjava/java/awt/datatransfer/FlavorListener.h
@@ -0,0 +1,33 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_datatransfer_FlavorListener__
+#define __java_awt_datatransfer_FlavorListener__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace datatransfer
+ {
+ class FlavorEvent;
+ class FlavorListener;
+ }
+ }
+ }
+}
+
+class java::awt::datatransfer::FlavorListener : public ::java::lang::Object
+{
+
+public:
+ virtual void flavorsChanged(::java::awt::datatransfer::FlavorEvent *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_awt_datatransfer_FlavorListener__
diff --git a/libjava/java/awt/datatransfer/FlavorMap.h b/libjava/java/awt/datatransfer/FlavorMap.h
new file mode 100644
index 0000000..6885769
--- /dev/null
+++ b/libjava/java/awt/datatransfer/FlavorMap.h
@@ -0,0 +1,36 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_datatransfer_FlavorMap__
+#define __java_awt_datatransfer_FlavorMap__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace datatransfer
+ {
+ class DataFlavor;
+ class FlavorMap;
+ }
+ }
+ }
+}
+
+class java::awt::datatransfer::FlavorMap : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::util::Map * getNativesForFlavors(JArray< ::java::awt::datatransfer::DataFlavor * > *) = 0;
+ virtual ::java::util::Map * getFlavorsForNatives(JArray< ::java::lang::String * > *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_awt_datatransfer_FlavorMap__
diff --git a/libjava/java/awt/datatransfer/FlavorTable.h b/libjava/java/awt/datatransfer/FlavorTable.h
new file mode 100644
index 0000000..cec9406
--- /dev/null
+++ b/libjava/java/awt/datatransfer/FlavorTable.h
@@ -0,0 +1,38 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_datatransfer_FlavorTable__
+#define __java_awt_datatransfer_FlavorTable__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace datatransfer
+ {
+ class DataFlavor;
+ class FlavorTable;
+ }
+ }
+ }
+}
+
+class java::awt::datatransfer::FlavorTable : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::util::List * getNativesForFlavor(::java::awt::datatransfer::DataFlavor *) = 0;
+ virtual ::java::util::List * getFlavorsForNative(::java::lang::String *) = 0;
+ virtual ::java::util::Map * getNativesForFlavors(JArray< ::java::awt::datatransfer::DataFlavor * > *) = 0;
+ virtual ::java::util::Map * getFlavorsForNatives(JArray< ::java::lang::String * > *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_awt_datatransfer_FlavorTable__
diff --git a/libjava/java/awt/datatransfer/MimeType.h b/libjava/java/awt/datatransfer/MimeType.h
new file mode 100644
index 0000000..9ccd153
--- /dev/null
+++ b/libjava/java/awt/datatransfer/MimeType.h
@@ -0,0 +1,51 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_datatransfer_MimeType__
+#define __java_awt_datatransfer_MimeType__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace datatransfer
+ {
+ class MimeType;
+ }
+ }
+ }
+}
+
+class java::awt::datatransfer::MimeType : public ::java::lang::Object
+{
+
+public:
+ MimeType();
+public: // actually package-private
+ MimeType(::java::lang::String *);
+ virtual void addParameter(::java::lang::String *, ::java::lang::String *);
+ virtual void removeParameter(::java::lang::String *);
+ virtual ::java::lang::String * getParameter(::java::lang::String *);
+ virtual ::java::lang::String * getPrimaryType();
+ virtual ::java::lang::String * getSubType();
+ virtual ::java::lang::String * getBaseType();
+ virtual jboolean matches(::java::awt::datatransfer::MimeType *);
+public:
+ virtual void readExternal(::java::io::ObjectInput *);
+ virtual void writeExternal(::java::io::ObjectOutput *);
+ virtual ::java::lang::String * toString();
+private:
+ void parse(::java::lang::String *);
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) primaryType;
+ ::java::lang::String * subType;
+ ::java::util::HashMap * parameters;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_datatransfer_MimeType__
diff --git a/libjava/java/awt/datatransfer/MimeTypeParseException.h b/libjava/java/awt/datatransfer/MimeTypeParseException.h
new file mode 100644
index 0000000..5ac3ff2
--- /dev/null
+++ b/libjava/java/awt/datatransfer/MimeTypeParseException.h
@@ -0,0 +1,36 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_datatransfer_MimeTypeParseException__
+#define __java_awt_datatransfer_MimeTypeParseException__
+
+#pragma interface
+
+#include <java/lang/Exception.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace datatransfer
+ {
+ class MimeTypeParseException;
+ }
+ }
+ }
+}
+
+class java::awt::datatransfer::MimeTypeParseException : public ::java::lang::Exception
+{
+
+public:
+ MimeTypeParseException();
+ MimeTypeParseException(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = -5604407764691570741LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_datatransfer_MimeTypeParseException__
diff --git a/libjava/java/awt/datatransfer/StringSelection.h b/libjava/java/awt/datatransfer/StringSelection.h
new file mode 100644
index 0000000..09429bb
--- /dev/null
+++ b/libjava/java/awt/datatransfer/StringSelection.h
@@ -0,0 +1,46 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_datatransfer_StringSelection__
+#define __java_awt_datatransfer_StringSelection__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace datatransfer
+ {
+ class Clipboard;
+ class DataFlavor;
+ class StringSelection;
+ class Transferable;
+ }
+ }
+ }
+}
+
+class java::awt::datatransfer::StringSelection : public ::java::lang::Object
+{
+
+public:
+ StringSelection(::java::lang::String *);
+ virtual JArray< ::java::awt::datatransfer::DataFlavor * > * getTransferDataFlavors();
+ virtual jboolean isDataFlavorSupported(::java::awt::datatransfer::DataFlavor *);
+ virtual ::java::lang::Object * getTransferData(::java::awt::datatransfer::DataFlavor *);
+ virtual void lostOwnership(::java::awt::datatransfer::Clipboard *, ::java::awt::datatransfer::Transferable *);
+public: // actually package-private
+ static JArray< ::java::awt::datatransfer::DataFlavor * > * supported_flavors;
+private:
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) data;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_datatransfer_StringSelection__
diff --git a/libjava/java/awt/datatransfer/SystemFlavorMap.h b/libjava/java/awt/datatransfer/SystemFlavorMap.h
new file mode 100644
index 0000000..62009ad
--- /dev/null
+++ b/libjava/java/awt/datatransfer/SystemFlavorMap.h
@@ -0,0 +1,56 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_datatransfer_SystemFlavorMap__
+#define __java_awt_datatransfer_SystemFlavorMap__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace datatransfer
+ {
+ class DataFlavor;
+ class FlavorMap;
+ class SystemFlavorMap;
+ }
+ }
+ }
+}
+
+class java::awt::datatransfer::SystemFlavorMap : public ::java::lang::Object
+{
+
+ SystemFlavorMap();
+public:
+ ::java::util::Map * getNativesForFlavors(JArray< ::java::awt::datatransfer::DataFlavor * > *);
+ ::java::util::Map * getFlavorsForNatives(JArray< ::java::lang::String * > *);
+ static ::java::awt::datatransfer::FlavorMap * getDefaultFlavorMap();
+ static ::java::lang::String * encodeJavaMIMEType(::java::lang::String *);
+ static ::java::lang::String * encodeDataFlavor(::java::awt::datatransfer::DataFlavor *);
+ static jboolean isJavaMIMEType(::java::lang::String *);
+ static ::java::lang::String * decodeJavaMIMEType(::java::lang::String *);
+ static ::java::awt::datatransfer::DataFlavor * decodeDataFlavor(::java::lang::String *);
+ ::java::util::List * getFlavorsForNative(::java::lang::String *);
+ ::java::util::List * getNativesForFlavor(::java::awt::datatransfer::DataFlavor *);
+ void addFlavorForUnencodedNative(::java::lang::String *, ::java::awt::datatransfer::DataFlavor *);
+ void addUnencodedNativeForFlavor(::java::awt::datatransfer::DataFlavor *, ::java::lang::String *);
+ void setNativesForFlavor(::java::awt::datatransfer::DataFlavor *, JArray< ::java::lang::String * > *);
+ void setFlavorsForNative(::java::lang::String *, JArray< ::java::awt::datatransfer::DataFlavor * > *);
+private:
+ static ::java::util::Map * systemFlavorMaps;
+ static ::java::lang::String * GNU_JAVA_MIME_PREFIX;
+ ::java::util::HashMap * __attribute__((aligned(__alignof__( ::java::lang::Object)))) nativeToFlavorMap;
+ ::java::util::HashMap * flavorToNativeMap;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_datatransfer_SystemFlavorMap__
diff --git a/libjava/java/awt/datatransfer/Transferable.h b/libjava/java/awt/datatransfer/Transferable.h
new file mode 100644
index 0000000..0930f87
--- /dev/null
+++ b/libjava/java/awt/datatransfer/Transferable.h
@@ -0,0 +1,37 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_datatransfer_Transferable__
+#define __java_awt_datatransfer_Transferable__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace datatransfer
+ {
+ class DataFlavor;
+ class Transferable;
+ }
+ }
+ }
+}
+
+class java::awt::datatransfer::Transferable : public ::java::lang::Object
+{
+
+public:
+ virtual JArray< ::java::awt::datatransfer::DataFlavor * > * getTransferDataFlavors() = 0;
+ virtual jboolean isDataFlavorSupported(::java::awt::datatransfer::DataFlavor *) = 0;
+ virtual ::java::lang::Object * getTransferData(::java::awt::datatransfer::DataFlavor *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_awt_datatransfer_Transferable__
diff --git a/libjava/java/awt/datatransfer/UnsupportedFlavorException.h b/libjava/java/awt/datatransfer/UnsupportedFlavorException.h
new file mode 100644
index 0000000..fffc2ac
--- /dev/null
+++ b/libjava/java/awt/datatransfer/UnsupportedFlavorException.h
@@ -0,0 +1,36 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_datatransfer_UnsupportedFlavorException__
+#define __java_awt_datatransfer_UnsupportedFlavorException__
+
+#pragma interface
+
+#include <java/lang/Exception.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace datatransfer
+ {
+ class DataFlavor;
+ class UnsupportedFlavorException;
+ }
+ }
+ }
+}
+
+class java::awt::datatransfer::UnsupportedFlavorException : public ::java::lang::Exception
+{
+
+public:
+ UnsupportedFlavorException(::java::awt::datatransfer::DataFlavor *);
+private:
+ static const jlong serialVersionUID = 5383814944251665601LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_datatransfer_UnsupportedFlavorException__
diff --git a/libjava/java/awt/dnd/Autoscroll.h b/libjava/java/awt/dnd/Autoscroll.h
new file mode 100644
index 0000000..4ab4c6a
--- /dev/null
+++ b/libjava/java/awt/dnd/Autoscroll.h
@@ -0,0 +1,35 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_dnd_Autoscroll__
+#define __java_awt_dnd_Autoscroll__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Insets;
+ class Point;
+ namespace dnd
+ {
+ class Autoscroll;
+ }
+ }
+ }
+}
+
+class java::awt::dnd::Autoscroll : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::awt::Insets * getAutoscrollInsets() = 0;
+ virtual void autoscroll(::java::awt::Point *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_awt_dnd_Autoscroll__
diff --git a/libjava/java/awt/dnd/DnDConstants.h b/libjava/java/awt/dnd/DnDConstants.h
new file mode 100644
index 0000000..a3cfb08
--- /dev/null
+++ b/libjava/java/awt/dnd/DnDConstants.h
@@ -0,0 +1,38 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_dnd_DnDConstants__
+#define __java_awt_dnd_DnDConstants__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace dnd
+ {
+ class DnDConstants;
+ }
+ }
+ }
+}
+
+class java::awt::dnd::DnDConstants : public ::java::lang::Object
+{
+
+ DnDConstants();
+public:
+ static const jint ACTION_NONE = 0;
+ static const jint ACTION_COPY = 1;
+ static const jint ACTION_MOVE = 2;
+ static const jint ACTION_COPY_OR_MOVE = 3;
+ static const jint ACTION_LINK = 1073741824;
+ static const jint ACTION_REFERENCE = 1073741824;
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_dnd_DnDConstants__
diff --git a/libjava/java/awt/dnd/DnDEventMulticaster.h b/libjava/java/awt/dnd/DnDEventMulticaster.h
new file mode 100644
index 0000000..c70450f
--- /dev/null
+++ b/libjava/java/awt/dnd/DnDEventMulticaster.h
@@ -0,0 +1,39 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_dnd_DnDEventMulticaster__
+#define __java_awt_dnd_DnDEventMulticaster__
+
+#pragma interface
+
+#include <java/awt/AWTEventMulticaster.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace dnd
+ {
+ class DnDEventMulticaster;
+ class DragSourceListener;
+ class DragSourceMotionListener;
+ }
+ }
+ }
+}
+
+class java::awt::dnd::DnDEventMulticaster : public ::java::awt::AWTEventMulticaster
+{
+
+public: // actually protected
+ DnDEventMulticaster(::java::util::EventListener *, ::java::util::EventListener *);
+public:
+ static ::java::awt::dnd::DragSourceListener * add(::java::awt::dnd::DragSourceListener *, ::java::awt::dnd::DragSourceListener *);
+ static ::java::awt::dnd::DragSourceMotionListener * add(::java::awt::dnd::DragSourceMotionListener *, ::java::awt::dnd::DragSourceMotionListener *);
+ static ::java::awt::dnd::DragSourceListener * remove(::java::awt::dnd::DragSourceListener *, ::java::awt::dnd::DragSourceListener *);
+ static ::java::awt::dnd::DragSourceMotionListener * remove(::java::awt::dnd::DragSourceMotionListener *, ::java::awt::dnd::DragSourceMotionListener *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_dnd_DnDEventMulticaster__
diff --git a/libjava/java/awt/dnd/DragGestureEvent.h b/libjava/java/awt/dnd/DragGestureEvent.h
new file mode 100644
index 0000000..7d34bc6
--- /dev/null
+++ b/libjava/java/awt/dnd/DragGestureEvent.h
@@ -0,0 +1,70 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_dnd_DragGestureEvent__
+#define __java_awt_dnd_DragGestureEvent__
+
+#pragma interface
+
+#include <java/util/EventObject.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Component;
+ class Cursor;
+ class Image;
+ class Point;
+ namespace datatransfer
+ {
+ class Transferable;
+ }
+ namespace dnd
+ {
+ class DragGestureEvent;
+ class DragGestureRecognizer;
+ class DragSource;
+ class DragSourceListener;
+ }
+ namespace event
+ {
+ class InputEvent;
+ }
+ }
+ }
+}
+
+class java::awt::dnd::DragGestureEvent : public ::java::util::EventObject
+{
+
+public:
+ DragGestureEvent(::java::awt::dnd::DragGestureRecognizer *, jint, ::java::awt::Point *, ::java::util::List *);
+ virtual ::java::awt::dnd::DragGestureRecognizer * getSourceAsDragGestureRecognizer();
+ virtual ::java::awt::Component * getComponent();
+ virtual ::java::awt::dnd::DragSource * getDragSource();
+ virtual ::java::awt::Point * getDragOrigin();
+ virtual ::java::util::Iterator * iterator();
+ virtual JArray< ::java::lang::Object * > * toArray();
+ virtual JArray< ::java::lang::Object * > * toArray(JArray< ::java::lang::Object * > *);
+ virtual jint getDragAction();
+ virtual ::java::awt::event::InputEvent * getTriggerEvent();
+ virtual void startDrag(::java::awt::Cursor *, ::java::awt::datatransfer::Transferable *);
+ virtual void startDrag(::java::awt::Cursor *, ::java::awt::datatransfer::Transferable *, ::java::awt::dnd::DragSourceListener *);
+ virtual void startDrag(::java::awt::Cursor *, ::java::awt::Image *, ::java::awt::Point *, ::java::awt::datatransfer::Transferable *, ::java::awt::dnd::DragSourceListener *);
+private:
+ static const jlong serialVersionUID = 9080172649166731306LL;
+ ::java::awt::dnd::DragSource * __attribute__((aligned(__alignof__( ::java::util::EventObject)))) dragSource;
+ ::java::awt::Component * component;
+ ::java::awt::Point * origin;
+ jint action;
+ ::java::util::List * events;
+ ::java::awt::dnd::DragGestureRecognizer * dgr;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_dnd_DragGestureEvent__
diff --git a/libjava/java/awt/dnd/DragGestureListener.h b/libjava/java/awt/dnd/DragGestureListener.h
new file mode 100644
index 0000000..0449567
--- /dev/null
+++ b/libjava/java/awt/dnd/DragGestureListener.h
@@ -0,0 +1,33 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_dnd_DragGestureListener__
+#define __java_awt_dnd_DragGestureListener__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace dnd
+ {
+ class DragGestureEvent;
+ class DragGestureListener;
+ }
+ }
+ }
+}
+
+class java::awt::dnd::DragGestureListener : public ::java::lang::Object
+{
+
+public:
+ virtual void dragGestureRecognized(::java::awt::dnd::DragGestureEvent *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_awt_dnd_DragGestureListener__
diff --git a/libjava/java/awt/dnd/DragGestureRecognizer.h b/libjava/java/awt/dnd/DragGestureRecognizer.h
new file mode 100644
index 0000000..22e856d
--- /dev/null
+++ b/libjava/java/awt/dnd/DragGestureRecognizer.h
@@ -0,0 +1,69 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_dnd_DragGestureRecognizer__
+#define __java_awt_dnd_DragGestureRecognizer__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Component;
+ class Point;
+ namespace dnd
+ {
+ class DragGestureListener;
+ class DragGestureRecognizer;
+ class DragSource;
+ }
+ namespace event
+ {
+ class InputEvent;
+ }
+ }
+ }
+}
+
+class java::awt::dnd::DragGestureRecognizer : public ::java::lang::Object
+{
+
+public: // actually protected
+ DragGestureRecognizer(::java::awt::dnd::DragSource *, ::java::awt::Component *, jint, ::java::awt::dnd::DragGestureListener *);
+ DragGestureRecognizer(::java::awt::dnd::DragSource *, ::java::awt::Component *, jint);
+ DragGestureRecognizer(::java::awt::dnd::DragSource *, ::java::awt::Component *);
+ DragGestureRecognizer(::java::awt::dnd::DragSource *);
+ virtual void registerListeners() = 0;
+ virtual void unregisterListeners() = 0;
+public:
+ virtual ::java::awt::dnd::DragSource * getDragSource();
+ virtual ::java::awt::Component * getComponent();
+ virtual void setComponent(::java::awt::Component *);
+ virtual jint getSourceActions();
+ virtual void setSourceActions(jint);
+ virtual ::java::awt::event::InputEvent * getTriggerEvent();
+ virtual void resetRecognizer();
+ virtual void addDragGestureListener(::java::awt::dnd::DragGestureListener *);
+ virtual void removeDragGestureListener(::java::awt::dnd::DragGestureListener *);
+public: // actually protected
+ virtual void fireDragGestureRecognized(jint, ::java::awt::Point *);
+ virtual void appendEvent(::java::awt::event::InputEvent *);
+private:
+ void readObject(::java::io::ObjectInputStream *);
+ void writeObject(::java::io::ObjectOutputStream *);
+ static const jlong serialVersionUID = 8996673345831063337LL;
+public: // actually protected
+ ::java::awt::dnd::DragSource * __attribute__((aligned(__alignof__( ::java::lang::Object)))) dragSource;
+ ::java::awt::Component * component;
+ ::java::awt::dnd::DragGestureListener * dragGestureListener;
+ jint sourceActions;
+ ::java::util::ArrayList * events;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_dnd_DragGestureRecognizer__
diff --git a/libjava/java/awt/dnd/DragSource.h b/libjava/java/awt/dnd/DragSource.h
new file mode 100644
index 0000000..8f4246e
--- /dev/null
+++ b/libjava/java/awt/dnd/DragSource.h
@@ -0,0 +1,90 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_dnd_DragSource__
+#define __java_awt_dnd_DragSource__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Component;
+ class Cursor;
+ class Image;
+ class Point;
+ namespace datatransfer
+ {
+ class FlavorMap;
+ class Transferable;
+ }
+ namespace dnd
+ {
+ class DragGestureEvent;
+ class DragGestureListener;
+ class DragGestureRecognizer;
+ class DragSource;
+ class DragSourceContext;
+ class DragSourceListener;
+ class DragSourceMotionListener;
+ namespace peer
+ {
+ class DragSourceContextPeer;
+ }
+ }
+ }
+ }
+}
+
+class java::awt::dnd::DragSource : public ::java::lang::Object
+{
+
+public:
+ DragSource();
+ static ::java::awt::dnd::DragSource * getDefaultDragSource();
+ static jboolean isDragImageSupported();
+ virtual void startDrag(::java::awt::dnd::DragGestureEvent *, ::java::awt::Cursor *, ::java::awt::Image *, ::java::awt::Point *, ::java::awt::datatransfer::Transferable *, ::java::awt::dnd::DragSourceListener *, ::java::awt::datatransfer::FlavorMap *);
+ virtual void startDrag(::java::awt::dnd::DragGestureEvent *, ::java::awt::Cursor *, ::java::awt::datatransfer::Transferable *, ::java::awt::dnd::DragSourceListener *, ::java::awt::datatransfer::FlavorMap *);
+ virtual void startDrag(::java::awt::dnd::DragGestureEvent *, ::java::awt::Cursor *, ::java::awt::Image *, ::java::awt::Point *, ::java::awt::datatransfer::Transferable *, ::java::awt::dnd::DragSourceListener *);
+ virtual void startDrag(::java::awt::dnd::DragGestureEvent *, ::java::awt::Cursor *, ::java::awt::datatransfer::Transferable *, ::java::awt::dnd::DragSourceListener *);
+public: // actually protected
+ virtual ::java::awt::dnd::DragSourceContext * createDragSourceContext(::java::awt::dnd::peer::DragSourceContextPeer *, ::java::awt::dnd::DragGestureEvent *, ::java::awt::Cursor *, ::java::awt::Image *, ::java::awt::Point *, ::java::awt::datatransfer::Transferable *, ::java::awt::dnd::DragSourceListener *);
+public:
+ virtual ::java::awt::datatransfer::FlavorMap * getFlavorMap();
+ virtual ::java::awt::dnd::DragGestureRecognizer * createDragGestureRecognizer(::java::lang::Class *, ::java::awt::Component *, jint, ::java::awt::dnd::DragGestureListener *);
+ virtual ::java::awt::dnd::DragGestureRecognizer * createDefaultDragGestureRecognizer(::java::awt::Component *, jint, ::java::awt::dnd::DragGestureListener *);
+ virtual void addDragSourceListener(::java::awt::dnd::DragSourceListener *);
+ virtual void removeDragSourceListener(::java::awt::dnd::DragSourceListener *);
+ virtual JArray< ::java::awt::dnd::DragSourceListener * > * getDragSourceListeners();
+ virtual void addDragSourceMotionListener(::java::awt::dnd::DragSourceMotionListener *);
+ virtual void removeDragSourceMotionListener(::java::awt::dnd::DragSourceMotionListener *);
+ virtual JArray< ::java::awt::dnd::DragSourceMotionListener * > * getDragSourceMotionListeners();
+ virtual JArray< ::java::util::EventListener * > * getListeners(::java::lang::Class *);
+ static jint getDragThreshold();
+private:
+ static const jlong serialVersionUID = 6236096958971414066LL;
+public:
+ static ::java::awt::Cursor * DefaultCopyDrop;
+ static ::java::awt::Cursor * DefaultMoveDrop;
+ static ::java::awt::Cursor * DefaultLinkDrop;
+ static ::java::awt::Cursor * DefaultCopyNoDrop;
+ static ::java::awt::Cursor * DefaultMoveNoDrop;
+ static ::java::awt::Cursor * DefaultLinkNoDrop;
+private:
+ ::java::awt::datatransfer::FlavorMap * __attribute__((aligned(__alignof__( ::java::lang::Object)))) flavorMap;
+ ::java::awt::dnd::DragSourceListener * dragSourceListener;
+ ::java::awt::dnd::DragSourceMotionListener * dragSourceMotionListener;
+ static ::java::awt::dnd::DragSource * ds;
+ ::java::awt::dnd::peer::DragSourceContextPeer * peer;
+ ::java::awt::dnd::DragSourceContext * context;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_dnd_DragSource__
diff --git a/libjava/java/awt/dnd/DragSourceAdapter.h b/libjava/java/awt/dnd/DragSourceAdapter.h
new file mode 100644
index 0000000..c3a4177e
--- /dev/null
+++ b/libjava/java/awt/dnd/DragSourceAdapter.h
@@ -0,0 +1,41 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_dnd_DragSourceAdapter__
+#define __java_awt_dnd_DragSourceAdapter__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace dnd
+ {
+ class DragSourceAdapter;
+ class DragSourceDragEvent;
+ class DragSourceDropEvent;
+ class DragSourceEvent;
+ }
+ }
+ }
+}
+
+class java::awt::dnd::DragSourceAdapter : public ::java::lang::Object
+{
+
+public:
+ DragSourceAdapter();
+ virtual void dragEnter(::java::awt::dnd::DragSourceDragEvent *);
+ virtual void dragOver(::java::awt::dnd::DragSourceDragEvent *);
+ virtual void dragMouseMoved(::java::awt::dnd::DragSourceDragEvent *);
+ virtual void dropActionChanged(::java::awt::dnd::DragSourceDragEvent *);
+ virtual void dragExit(::java::awt::dnd::DragSourceEvent *);
+ virtual void dragDropEnd(::java::awt::dnd::DragSourceDropEvent *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_dnd_DragSourceAdapter__
diff --git a/libjava/java/awt/dnd/DragSourceContext.h b/libjava/java/awt/dnd/DragSourceContext.h
new file mode 100644
index 0000000..1e46467
--- /dev/null
+++ b/libjava/java/awt/dnd/DragSourceContext.h
@@ -0,0 +1,86 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_dnd_DragSourceContext__
+#define __java_awt_dnd_DragSourceContext__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Component;
+ class Cursor;
+ class Image;
+ class Point;
+ namespace datatransfer
+ {
+ class Transferable;
+ }
+ namespace dnd
+ {
+ class DragGestureEvent;
+ class DragSource;
+ class DragSourceContext;
+ class DragSourceDragEvent;
+ class DragSourceDropEvent;
+ class DragSourceEvent;
+ class DragSourceListener;
+ namespace peer
+ {
+ class DragSourceContextPeer;
+ }
+ }
+ }
+ }
+}
+
+class java::awt::dnd::DragSourceContext : public ::java::lang::Object
+{
+
+public:
+ DragSourceContext(::java::awt::dnd::peer::DragSourceContextPeer *, ::java::awt::dnd::DragGestureEvent *, ::java::awt::Cursor *, ::java::awt::Image *, ::java::awt::Point *, ::java::awt::datatransfer::Transferable *, ::java::awt::dnd::DragSourceListener *);
+ virtual ::java::awt::dnd::DragSource * getDragSource();
+ virtual ::java::awt::Component * getComponent();
+ virtual ::java::awt::dnd::DragGestureEvent * getTrigger();
+ virtual jint getSourceActions();
+ virtual void setCursor(::java::awt::Cursor *);
+ virtual ::java::awt::Cursor * getCursor();
+ virtual void addDragSourceListener(::java::awt::dnd::DragSourceListener *);
+ virtual void removeDragSourceListener(::java::awt::dnd::DragSourceListener *);
+ virtual void transferablesFlavorsChanged();
+ virtual void dragEnter(::java::awt::dnd::DragSourceDragEvent *);
+ virtual void dragOver(::java::awt::dnd::DragSourceDragEvent *);
+ virtual void dragExit(::java::awt::dnd::DragSourceEvent *);
+ virtual void dropActionChanged(::java::awt::dnd::DragSourceDragEvent *);
+ virtual void dragDropEnd(::java::awt::dnd::DragSourceDropEvent *);
+ virtual void dragMouseMoved(::java::awt::dnd::DragSourceDragEvent *);
+ virtual ::java::awt::datatransfer::Transferable * getTransferable();
+public: // actually protected
+ virtual void updateCurrentCursor(jint, jint, jint);
+public: // actually package-private
+ static const jlong serialVersionUID = -115407898692194719LL;
+public: // actually protected
+ static const jint DEFAULT = 0;
+ static const jint ENTER = 1;
+ static const jint OVER = 2;
+ static const jint CHANGED = 3;
+private:
+ ::java::awt::dnd::peer::DragSourceContextPeer * __attribute__((aligned(__alignof__( ::java::lang::Object)))) peer;
+ ::java::awt::Cursor * cursor;
+ ::java::awt::datatransfer::Transferable * transferable;
+ ::java::awt::dnd::DragGestureEvent * trigger;
+ ::java::awt::dnd::DragSourceListener * dragSourceListener;
+ jboolean useCustomCursor;
+ jint sourceActions;
+ ::java::awt::Image * image;
+ ::java::awt::Point * offset;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_dnd_DragSourceContext__
diff --git a/libjava/java/awt/dnd/DragSourceDragEvent.h b/libjava/java/awt/dnd/DragSourceDragEvent.h
new file mode 100644
index 0000000..ec0c80e
--- /dev/null
+++ b/libjava/java/awt/dnd/DragSourceDragEvent.h
@@ -0,0 +1,45 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_dnd_DragSourceDragEvent__
+#define __java_awt_dnd_DragSourceDragEvent__
+
+#pragma interface
+
+#include <java/awt/dnd/DragSourceEvent.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace dnd
+ {
+ class DragSourceContext;
+ class DragSourceDragEvent;
+ }
+ }
+ }
+}
+
+class java::awt::dnd::DragSourceDragEvent : public ::java::awt::dnd::DragSourceEvent
+{
+
+public:
+ DragSourceDragEvent(::java::awt::dnd::DragSourceContext *, jint, jint, jint);
+ DragSourceDragEvent(::java::awt::dnd::DragSourceContext *, jint, jint, jint, jint, jint);
+ virtual jint getTargetActions();
+ virtual jint getGestureModifiers();
+ virtual jint getGestureModifiersEx();
+ virtual jint getUserAction();
+ virtual jint getDropAction();
+private:
+ static const jlong serialVersionUID = 481346297933902471LL;
+ jint __attribute__((aligned(__alignof__( ::java::awt::dnd::DragSourceEvent)))) dropAction;
+ jint targetActions;
+ jint gestureModifiers;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_dnd_DragSourceDragEvent__
diff --git a/libjava/java/awt/dnd/DragSourceDropEvent.h b/libjava/java/awt/dnd/DragSourceDropEvent.h
new file mode 100644
index 0000000..bc3341f
--- /dev/null
+++ b/libjava/java/awt/dnd/DragSourceDropEvent.h
@@ -0,0 +1,42 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_dnd_DragSourceDropEvent__
+#define __java_awt_dnd_DragSourceDropEvent__
+
+#pragma interface
+
+#include <java/awt/dnd/DragSourceEvent.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace dnd
+ {
+ class DragSourceContext;
+ class DragSourceDropEvent;
+ }
+ }
+ }
+}
+
+class java::awt::dnd::DragSourceDropEvent : public ::java::awt::dnd::DragSourceEvent
+{
+
+public:
+ DragSourceDropEvent(::java::awt::dnd::DragSourceContext *);
+ DragSourceDropEvent(::java::awt::dnd::DragSourceContext *, jint, jboolean);
+ DragSourceDropEvent(::java::awt::dnd::DragSourceContext *, jint, jboolean, jint, jint);
+ virtual jint getDropAction();
+ virtual jboolean getDropSuccess();
+private:
+ static const jlong serialVersionUID = -5571321229470821891LL;
+ jint __attribute__((aligned(__alignof__( ::java::awt::dnd::DragSourceEvent)))) dropAction;
+ jboolean dropSuccess;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_dnd_DragSourceDropEvent__
diff --git a/libjava/java/awt/dnd/DragSourceEvent.h b/libjava/java/awt/dnd/DragSourceEvent.h
new file mode 100644
index 0000000..0d008a1
--- /dev/null
+++ b/libjava/java/awt/dnd/DragSourceEvent.h
@@ -0,0 +1,45 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_dnd_DragSourceEvent__
+#define __java_awt_dnd_DragSourceEvent__
+
+#pragma interface
+
+#include <java/util/EventObject.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Point;
+ namespace dnd
+ {
+ class DragSourceContext;
+ class DragSourceEvent;
+ }
+ }
+ }
+}
+
+class java::awt::dnd::DragSourceEvent : public ::java::util::EventObject
+{
+
+public:
+ DragSourceEvent(::java::awt::dnd::DragSourceContext *);
+ DragSourceEvent(::java::awt::dnd::DragSourceContext *, jint, jint);
+ virtual ::java::awt::dnd::DragSourceContext * getDragSourceContext();
+ virtual ::java::awt::Point * getLocation();
+ virtual jint getX();
+ virtual jint getY();
+private:
+ static const jlong serialVersionUID = -763287114604032641LL;
+ jboolean __attribute__((aligned(__alignof__( ::java::util::EventObject)))) locationSpecified;
+ jint x;
+ jint y;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_dnd_DragSourceEvent__
diff --git a/libjava/java/awt/dnd/DragSourceListener.h b/libjava/java/awt/dnd/DragSourceListener.h
new file mode 100644
index 0000000..fc84550
--- /dev/null
+++ b/libjava/java/awt/dnd/DragSourceListener.h
@@ -0,0 +1,39 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_dnd_DragSourceListener__
+#define __java_awt_dnd_DragSourceListener__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace dnd
+ {
+ class DragSourceDragEvent;
+ class DragSourceDropEvent;
+ class DragSourceEvent;
+ class DragSourceListener;
+ }
+ }
+ }
+}
+
+class java::awt::dnd::DragSourceListener : public ::java::lang::Object
+{
+
+public:
+ virtual void dragEnter(::java::awt::dnd::DragSourceDragEvent *) = 0;
+ virtual void dragOver(::java::awt::dnd::DragSourceDragEvent *) = 0;
+ virtual void dropActionChanged(::java::awt::dnd::DragSourceDragEvent *) = 0;
+ virtual void dragExit(::java::awt::dnd::DragSourceEvent *) = 0;
+ virtual void dragDropEnd(::java::awt::dnd::DragSourceDropEvent *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_awt_dnd_DragSourceListener__
diff --git a/libjava/java/awt/dnd/DragSourceMotionListener.h b/libjava/java/awt/dnd/DragSourceMotionListener.h
new file mode 100644
index 0000000..0db0603
--- /dev/null
+++ b/libjava/java/awt/dnd/DragSourceMotionListener.h
@@ -0,0 +1,33 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_dnd_DragSourceMotionListener__
+#define __java_awt_dnd_DragSourceMotionListener__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace dnd
+ {
+ class DragSourceDragEvent;
+ class DragSourceMotionListener;
+ }
+ }
+ }
+}
+
+class java::awt::dnd::DragSourceMotionListener : public ::java::lang::Object
+{
+
+public:
+ virtual void dragMouseMoved(::java::awt::dnd::DragSourceDragEvent *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_awt_dnd_DragSourceMotionListener__
diff --git a/libjava/java/awt/dnd/DropTarget$DropTargetAutoScroller.h b/libjava/java/awt/dnd/DropTarget$DropTargetAutoScroller.h
new file mode 100644
index 0000000..cb72a90
--- /dev/null
+++ b/libjava/java/awt/dnd/DropTarget$DropTargetAutoScroller.h
@@ -0,0 +1,59 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_dnd_DropTarget$DropTargetAutoScroller__
+#define __java_awt_dnd_DropTarget$DropTargetAutoScroller__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Component;
+ class Point;
+ class Rectangle;
+ namespace dnd
+ {
+ class DropTarget$DropTargetAutoScroller;
+ }
+ namespace event
+ {
+ class ActionEvent;
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace swing
+ {
+ class Timer;
+ }
+ }
+}
+
+class java::awt::dnd::DropTarget$DropTargetAutoScroller : public ::java::lang::Object
+{
+
+public: // actually protected
+ DropTarget$DropTargetAutoScroller(::java::awt::Component *, ::java::awt::Point *);
+ virtual void updateLocation(::java::awt::Point *);
+ virtual void stop();
+public:
+ virtual void actionPerformed(::java::awt::event::ActionEvent *);
+private:
+ static const jint HYSTERESIS = 10;
+ static const jint DELAY = 100;
+ ::java::awt::Component * __attribute__((aligned(__alignof__( ::java::lang::Object)))) component;
+ ::java::awt::Point * point;
+ ::javax::swing::Timer * timer;
+ ::java::awt::Rectangle * outer;
+ ::java::awt::Rectangle * inner;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_dnd_DropTarget$DropTargetAutoScroller__
diff --git a/libjava/java/awt/dnd/DropTarget.h b/libjava/java/awt/dnd/DropTarget.h
new file mode 100644
index 0000000..399889a
--- /dev/null
+++ b/libjava/java/awt/dnd/DropTarget.h
@@ -0,0 +1,91 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_dnd_DropTarget__
+#define __java_awt_dnd_DropTarget__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Component;
+ class Point;
+ namespace datatransfer
+ {
+ class FlavorMap;
+ }
+ namespace dnd
+ {
+ class DropTarget;
+ class DropTarget$DropTargetAutoScroller;
+ class DropTargetContext;
+ class DropTargetDragEvent;
+ class DropTargetDropEvent;
+ class DropTargetEvent;
+ class DropTargetListener;
+ namespace peer
+ {
+ class DropTargetPeer;
+ }
+ }
+ namespace peer
+ {
+ class ComponentPeer;
+ }
+ }
+ }
+}
+
+class java::awt::dnd::DropTarget : public ::java::lang::Object
+{
+
+public:
+ DropTarget();
+ DropTarget(::java::awt::Component *, ::java::awt::dnd::DropTargetListener *);
+ DropTarget(::java::awt::Component *, jint, ::java::awt::dnd::DropTargetListener *);
+ DropTarget(::java::awt::Component *, jint, ::java::awt::dnd::DropTargetListener *, jboolean);
+ DropTarget(::java::awt::Component *, jint, ::java::awt::dnd::DropTargetListener *, jboolean, ::java::awt::datatransfer::FlavorMap *);
+ virtual void setComponent(::java::awt::Component *);
+ virtual ::java::awt::Component * getComponent();
+ virtual void setDefaultActions(jint);
+ virtual jint getDefaultActions();
+ virtual void setActive(jboolean);
+ virtual jboolean isActive();
+ virtual void addDropTargetListener(::java::awt::dnd::DropTargetListener *);
+ virtual void removeDropTargetListener(::java::awt::dnd::DropTargetListener *);
+ virtual void dragEnter(::java::awt::dnd::DropTargetDragEvent *);
+ virtual void dragOver(::java::awt::dnd::DropTargetDragEvent *);
+ virtual void dropActionChanged(::java::awt::dnd::DropTargetDragEvent *);
+ virtual void dragExit(::java::awt::dnd::DropTargetEvent *);
+ virtual void drop(::java::awt::dnd::DropTargetDropEvent *);
+ virtual ::java::awt::datatransfer::FlavorMap * getFlavorMap();
+ virtual void setFlavorMap(::java::awt::datatransfer::FlavorMap *);
+ virtual void addNotify(::java::awt::peer::ComponentPeer *);
+ virtual void removeNotify(::java::awt::peer::ComponentPeer *);
+ virtual ::java::awt::dnd::DropTargetContext * getDropTargetContext();
+public: // actually protected
+ virtual ::java::awt::dnd::DropTargetContext * createDropTargetContext();
+ virtual ::java::awt::dnd::DropTarget$DropTargetAutoScroller * createDropTargetAutoScroller(::java::awt::Component *, ::java::awt::Point *);
+ virtual void initializeAutoscrolling(::java::awt::Point *);
+ virtual void updateAutoscroll(::java::awt::Point *);
+ virtual void clearAutoscroll();
+private:
+ static const jlong serialVersionUID = -6283860791671019047LL;
+ ::java::awt::Component * __attribute__((aligned(__alignof__( ::java::lang::Object)))) component;
+ ::java::awt::datatransfer::FlavorMap * flavorMap;
+ jint actions;
+ ::java::awt::dnd::peer::DropTargetPeer * peer;
+ ::java::awt::dnd::DropTargetContext * dropTargetContext;
+ ::java::awt::dnd::DropTargetListener * dropTargetListener;
+ ::java::awt::dnd::DropTarget$DropTargetAutoScroller * autoscroller;
+ jboolean active;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_dnd_DropTarget__
diff --git a/libjava/java/awt/dnd/DropTargetAdapter.h b/libjava/java/awt/dnd/DropTargetAdapter.h
new file mode 100644
index 0000000..34f4f5b
--- /dev/null
+++ b/libjava/java/awt/dnd/DropTargetAdapter.h
@@ -0,0 +1,40 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_dnd_DropTargetAdapter__
+#define __java_awt_dnd_DropTargetAdapter__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace dnd
+ {
+ class DropTargetAdapter;
+ class DropTargetDragEvent;
+ class DropTargetDropEvent;
+ class DropTargetEvent;
+ }
+ }
+ }
+}
+
+class java::awt::dnd::DropTargetAdapter : public ::java::lang::Object
+{
+
+public:
+ DropTargetAdapter();
+ virtual void dragEnter(::java::awt::dnd::DropTargetDragEvent *);
+ virtual void dragOver(::java::awt::dnd::DropTargetDragEvent *);
+ virtual void dropActionChanged(::java::awt::dnd::DropTargetDragEvent *);
+ virtual void dragExit(::java::awt::dnd::DropTargetEvent *);
+ virtual void drop(::java::awt::dnd::DropTargetDropEvent *) = 0;
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_dnd_DropTargetAdapter__
diff --git a/libjava/java/awt/dnd/DropTargetContext$TransferableProxy.h b/libjava/java/awt/dnd/DropTargetContext$TransferableProxy.h
new file mode 100644
index 0000000..e670c07
--- /dev/null
+++ b/libjava/java/awt/dnd/DropTargetContext$TransferableProxy.h
@@ -0,0 +1,50 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_dnd_DropTargetContext$TransferableProxy__
+#define __java_awt_dnd_DropTargetContext$TransferableProxy__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace datatransfer
+ {
+ class DataFlavor;
+ class Transferable;
+ }
+ namespace dnd
+ {
+ class DropTargetContext;
+ class DropTargetContext$TransferableProxy;
+ }
+ }
+ }
+}
+
+class java::awt::dnd::DropTargetContext$TransferableProxy : public ::java::lang::Object
+{
+
+public: // actually package-private
+ DropTargetContext$TransferableProxy(::java::awt::dnd::DropTargetContext *, ::java::awt::datatransfer::Transferable *, jboolean);
+public:
+ virtual JArray< ::java::awt::datatransfer::DataFlavor * > * getTransferDataFlavors();
+ virtual jboolean isDataFlavorSupported(::java::awt::datatransfer::DataFlavor *);
+ virtual ::java::lang::Object * getTransferData(::java::awt::datatransfer::DataFlavor *);
+public: // actually protected
+ jboolean __attribute__((aligned(__alignof__( ::java::lang::Object)))) isLocal;
+ ::java::awt::datatransfer::Transferable * transferable;
+public: // actually package-private
+ ::java::awt::dnd::DropTargetContext * this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_dnd_DropTargetContext$TransferableProxy__
diff --git a/libjava/java/awt/dnd/DropTargetContext.h b/libjava/java/awt/dnd/DropTargetContext.h
new file mode 100644
index 0000000..f6ea29be
--- /dev/null
+++ b/libjava/java/awt/dnd/DropTargetContext.h
@@ -0,0 +1,72 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_dnd_DropTargetContext__
+#define __java_awt_dnd_DropTargetContext__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Component;
+ namespace datatransfer
+ {
+ class DataFlavor;
+ class Transferable;
+ }
+ namespace dnd
+ {
+ class DropTarget;
+ class DropTargetContext;
+ namespace peer
+ {
+ class DropTargetContextPeer;
+ }
+ }
+ }
+ }
+}
+
+class java::awt::dnd::DropTargetContext : public ::java::lang::Object
+{
+
+public: // actually package-private
+ DropTargetContext(::java::awt::dnd::DropTarget *);
+public:
+ virtual ::java::awt::dnd::DropTarget * getDropTarget();
+ virtual ::java::awt::Component * getComponent();
+ virtual void addNotify(::java::awt::dnd::peer::DropTargetContextPeer *);
+ virtual void removeNotify();
+public: // actually protected
+ virtual void setTargetActions(jint);
+ virtual jint getTargetActions();
+public:
+ virtual void dropComplete(jboolean);
+public: // actually protected
+ virtual void acceptDrag(jint);
+ virtual void rejectDrag();
+ virtual void acceptDrop(jint);
+ virtual void rejectDrop();
+ virtual JArray< ::java::awt::datatransfer::DataFlavor * > * getCurrentDataFlavors();
+ virtual ::java::util::List * getCurrentDataFlavorsAsList();
+ virtual jboolean isDataFlavorSupported(::java::awt::datatransfer::DataFlavor *);
+ virtual ::java::awt::datatransfer::Transferable * getTransferable();
+ virtual ::java::awt::datatransfer::Transferable * createTransferableProxy(::java::awt::datatransfer::Transferable *, jboolean);
+public: // actually package-private
+ static const jlong serialVersionUID = -634158968993743371LL;
+private:
+ ::java::awt::dnd::DropTarget * __attribute__((aligned(__alignof__( ::java::lang::Object)))) dropTarget;
+ jint targetActions;
+ ::java::awt::dnd::peer::DropTargetContextPeer * dtcp;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_dnd_DropTargetContext__
diff --git a/libjava/java/awt/dnd/DropTargetDragEvent.h b/libjava/java/awt/dnd/DropTargetDragEvent.h
new file mode 100644
index 0000000..d25da60
--- /dev/null
+++ b/libjava/java/awt/dnd/DropTargetDragEvent.h
@@ -0,0 +1,56 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_dnd_DropTargetDragEvent__
+#define __java_awt_dnd_DropTargetDragEvent__
+
+#pragma interface
+
+#include <java/awt/dnd/DropTargetEvent.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Point;
+ namespace datatransfer
+ {
+ class DataFlavor;
+ class Transferable;
+ }
+ namespace dnd
+ {
+ class DropTargetContext;
+ class DropTargetDragEvent;
+ }
+ }
+ }
+}
+
+class java::awt::dnd::DropTargetDragEvent : public ::java::awt::dnd::DropTargetEvent
+{
+
+public:
+ DropTargetDragEvent(::java::awt::dnd::DropTargetContext *, ::java::awt::Point *, jint, jint);
+ virtual void acceptDrag(jint);
+ virtual JArray< ::java::awt::datatransfer::DataFlavor * > * getCurrentDataFlavors();
+ virtual ::java::util::List * getCurrentDataFlavorsAsList();
+ virtual jint getDropAction();
+ virtual ::java::awt::Point * getLocation();
+ virtual jint getSourceActions();
+ virtual jboolean isDataFlavorSupported(::java::awt::datatransfer::DataFlavor *);
+ virtual void rejectDrag();
+ virtual ::java::awt::datatransfer::Transferable * getTransferable();
+private:
+ static const jlong serialVersionUID = -8422265619058953682LL;
+ jint __attribute__((aligned(__alignof__( ::java::awt::dnd::DropTargetEvent)))) dropAction;
+ jint srcActions;
+ ::java::awt::Point * location;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_dnd_DropTargetDragEvent__
diff --git a/libjava/java/awt/dnd/DropTargetDropEvent.h b/libjava/java/awt/dnd/DropTargetDropEvent.h
new file mode 100644
index 0000000..08851b6
--- /dev/null
+++ b/libjava/java/awt/dnd/DropTargetDropEvent.h
@@ -0,0 +1,60 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_dnd_DropTargetDropEvent__
+#define __java_awt_dnd_DropTargetDropEvent__
+
+#pragma interface
+
+#include <java/awt/dnd/DropTargetEvent.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Point;
+ namespace datatransfer
+ {
+ class DataFlavor;
+ class Transferable;
+ }
+ namespace dnd
+ {
+ class DropTargetContext;
+ class DropTargetDropEvent;
+ }
+ }
+ }
+}
+
+class java::awt::dnd::DropTargetDropEvent : public ::java::awt::dnd::DropTargetEvent
+{
+
+public:
+ DropTargetDropEvent(::java::awt::dnd::DropTargetContext *, ::java::awt::Point *, jint, jint);
+ DropTargetDropEvent(::java::awt::dnd::DropTargetContext *, ::java::awt::Point *, jint, jint, jboolean);
+ virtual ::java::awt::Point * getLocation();
+ virtual JArray< ::java::awt::datatransfer::DataFlavor * > * getCurrentDataFlavors();
+ virtual ::java::util::List * getCurrentDataFlavorsAsList();
+ virtual jboolean isDataFlavorSupported(::java::awt::datatransfer::DataFlavor *);
+ virtual jint getSourceActions();
+ virtual jint getDropAction();
+ virtual ::java::awt::datatransfer::Transferable * getTransferable();
+ virtual void acceptDrop(jint);
+ virtual void rejectDrop();
+ virtual void dropComplete(jboolean);
+ virtual jboolean isLocalTransfer();
+private:
+ static const jlong serialVersionUID = -1721911170440459322LL;
+ jint __attribute__((aligned(__alignof__( ::java::awt::dnd::DropTargetEvent)))) dropAction;
+ jint actions;
+ ::java::awt::Point * location;
+ jboolean isLocalTx;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_dnd_DropTargetDropEvent__
diff --git a/libjava/java/awt/dnd/DropTargetEvent.h b/libjava/java/awt/dnd/DropTargetEvent.h
new file mode 100644
index 0000000..e090e19
--- /dev/null
+++ b/libjava/java/awt/dnd/DropTargetEvent.h
@@ -0,0 +1,39 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_dnd_DropTargetEvent__
+#define __java_awt_dnd_DropTargetEvent__
+
+#pragma interface
+
+#include <java/util/EventObject.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace dnd
+ {
+ class DropTargetContext;
+ class DropTargetEvent;
+ }
+ }
+ }
+}
+
+class java::awt::dnd::DropTargetEvent : public ::java::util::EventObject
+{
+
+public:
+ DropTargetEvent(::java::awt::dnd::DropTargetContext *);
+ virtual ::java::awt::dnd::DropTargetContext * getDropTargetContext();
+private:
+ static const jlong serialVersionUID = 2821229066521922993LL;
+public: // actually protected
+ ::java::awt::dnd::DropTargetContext * __attribute__((aligned(__alignof__( ::java::util::EventObject)))) context;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_dnd_DropTargetEvent__
diff --git a/libjava/java/awt/dnd/DropTargetListener.h b/libjava/java/awt/dnd/DropTargetListener.h
new file mode 100644
index 0000000..83aba62
--- /dev/null
+++ b/libjava/java/awt/dnd/DropTargetListener.h
@@ -0,0 +1,39 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_dnd_DropTargetListener__
+#define __java_awt_dnd_DropTargetListener__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace dnd
+ {
+ class DropTargetDragEvent;
+ class DropTargetDropEvent;
+ class DropTargetEvent;
+ class DropTargetListener;
+ }
+ }
+ }
+}
+
+class java::awt::dnd::DropTargetListener : public ::java::lang::Object
+{
+
+public:
+ virtual void dragEnter(::java::awt::dnd::DropTargetDragEvent *) = 0;
+ virtual void dragOver(::java::awt::dnd::DropTargetDragEvent *) = 0;
+ virtual void dropActionChanged(::java::awt::dnd::DropTargetDragEvent *) = 0;
+ virtual void dragExit(::java::awt::dnd::DropTargetEvent *) = 0;
+ virtual void drop(::java::awt::dnd::DropTargetDropEvent *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_awt_dnd_DropTargetListener__
diff --git a/libjava/java/awt/dnd/InvalidDnDOperationException.h b/libjava/java/awt/dnd/InvalidDnDOperationException.h
new file mode 100644
index 0000000..674f7ce
--- /dev/null
+++ b/libjava/java/awt/dnd/InvalidDnDOperationException.h
@@ -0,0 +1,36 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_dnd_InvalidDnDOperationException__
+#define __java_awt_dnd_InvalidDnDOperationException__
+
+#pragma interface
+
+#include <java/lang/IllegalStateException.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace dnd
+ {
+ class InvalidDnDOperationException;
+ }
+ }
+ }
+}
+
+class java::awt::dnd::InvalidDnDOperationException : public ::java::lang::IllegalStateException
+{
+
+public:
+ InvalidDnDOperationException();
+ InvalidDnDOperationException(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = -6062568741193956678LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_dnd_InvalidDnDOperationException__
diff --git a/libjava/java/awt/dnd/MouseDragGestureRecognizer.h b/libjava/java/awt/dnd/MouseDragGestureRecognizer.h
new file mode 100644
index 0000000..00635da
--- /dev/null
+++ b/libjava/java/awt/dnd/MouseDragGestureRecognizer.h
@@ -0,0 +1,52 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_dnd_MouseDragGestureRecognizer__
+#define __java_awt_dnd_MouseDragGestureRecognizer__
+
+#pragma interface
+
+#include <java/awt/dnd/DragGestureRecognizer.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Component;
+ namespace dnd
+ {
+ class DragGestureListener;
+ class DragSource;
+ class MouseDragGestureRecognizer;
+ }
+ namespace event
+ {
+ class MouseEvent;
+ }
+ }
+ }
+}
+
+class java::awt::dnd::MouseDragGestureRecognizer : public ::java::awt::dnd::DragGestureRecognizer
+{
+
+public: // actually protected
+ MouseDragGestureRecognizer(::java::awt::dnd::DragSource *, ::java::awt::Component *, jint, ::java::awt::dnd::DragGestureListener *);
+ MouseDragGestureRecognizer(::java::awt::dnd::DragSource *, ::java::awt::Component *, jint);
+ MouseDragGestureRecognizer(::java::awt::dnd::DragSource *, ::java::awt::Component *);
+ MouseDragGestureRecognizer(::java::awt::dnd::DragSource *);
+ virtual void registerListeners();
+ virtual void unregisterListeners();
+public:
+ virtual void mouseClicked(::java::awt::event::MouseEvent *);
+ virtual void mousePressed(::java::awt::event::MouseEvent *);
+ virtual void mouseReleased(::java::awt::event::MouseEvent *);
+ virtual void mouseEntered(::java::awt::event::MouseEvent *);
+ virtual void mouseExited(::java::awt::event::MouseEvent *);
+ virtual void mouseDragged(::java::awt::event::MouseEvent *);
+ virtual void mouseMoved(::java::awt::event::MouseEvent *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_dnd_MouseDragGestureRecognizer__
diff --git a/libjava/java/awt/dnd/peer/DragSourceContextPeer.h b/libjava/java/awt/dnd/peer/DragSourceContextPeer.h
new file mode 100644
index 0000000..f5653f2
--- /dev/null
+++ b/libjava/java/awt/dnd/peer/DragSourceContextPeer.h
@@ -0,0 +1,42 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_dnd_peer_DragSourceContextPeer__
+#define __java_awt_dnd_peer_DragSourceContextPeer__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Cursor;
+ class Image;
+ class Point;
+ namespace dnd
+ {
+ class DragSourceContext;
+ namespace peer
+ {
+ class DragSourceContextPeer;
+ }
+ }
+ }
+ }
+}
+
+class java::awt::dnd::peer::DragSourceContextPeer : public ::java::lang::Object
+{
+
+public:
+ virtual void startDrag(::java::awt::dnd::DragSourceContext *, ::java::awt::Cursor *, ::java::awt::Image *, ::java::awt::Point *) = 0;
+ virtual ::java::awt::Cursor * getCursor() = 0;
+ virtual void setCursor(::java::awt::Cursor *) = 0;
+ virtual void transferablesFlavorsChanged() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_awt_dnd_peer_DragSourceContextPeer__
diff --git a/libjava/java/awt/dnd/peer/DropTargetContextPeer.h b/libjava/java/awt/dnd/peer/DropTargetContextPeer.h
new file mode 100644
index 0000000..cb7ae0d
--- /dev/null
+++ b/libjava/java/awt/dnd/peer/DropTargetContextPeer.h
@@ -0,0 +1,53 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_dnd_peer_DropTargetContextPeer__
+#define __java_awt_dnd_peer_DropTargetContextPeer__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace datatransfer
+ {
+ class DataFlavor;
+ class Transferable;
+ }
+ namespace dnd
+ {
+ class DropTarget;
+ namespace peer
+ {
+ class DropTargetContextPeer;
+ }
+ }
+ }
+ }
+}
+
+class java::awt::dnd::peer::DropTargetContextPeer : public ::java::lang::Object
+{
+
+public:
+ virtual void setTargetActions(jint) = 0;
+ virtual jint getTargetActions() = 0;
+ virtual ::java::awt::dnd::DropTarget * getDropTarget() = 0;
+ virtual JArray< ::java::awt::datatransfer::DataFlavor * > * getTransferDataFlavors() = 0;
+ virtual ::java::awt::datatransfer::Transferable * getTransferable() = 0;
+ virtual jboolean isTransferableJVMLocal() = 0;
+ virtual void acceptDrag(jint) = 0;
+ virtual void rejectDrag() = 0;
+ virtual void acceptDrop(jint) = 0;
+ virtual void rejectDrop() = 0;
+ virtual void dropComplete(jboolean) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_awt_dnd_peer_DropTargetContextPeer__
diff --git a/libjava/java/awt/dnd/peer/DropTargetPeer.h b/libjava/java/awt/dnd/peer/DropTargetPeer.h
new file mode 100644
index 0000000..d96222b
--- /dev/null
+++ b/libjava/java/awt/dnd/peer/DropTargetPeer.h
@@ -0,0 +1,37 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_dnd_peer_DropTargetPeer__
+#define __java_awt_dnd_peer_DropTargetPeer__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace dnd
+ {
+ class DropTarget;
+ namespace peer
+ {
+ class DropTargetPeer;
+ }
+ }
+ }
+ }
+}
+
+class java::awt::dnd::peer::DropTargetPeer : public ::java::lang::Object
+{
+
+public:
+ virtual void addDropTarget(::java::awt::dnd::DropTarget *) = 0;
+ virtual void removeDropTarget(::java::awt::dnd::DropTarget *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_awt_dnd_peer_DropTargetPeer__
diff --git a/libjava/java/awt/event/AWTEventListener.h b/libjava/java/awt/event/AWTEventListener.h
new file mode 100644
index 0000000..e85da18
--- /dev/null
+++ b/libjava/java/awt/event/AWTEventListener.h
@@ -0,0 +1,33 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_event_AWTEventListener__
+#define __java_awt_event_AWTEventListener__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class AWTEvent;
+ namespace event
+ {
+ class AWTEventListener;
+ }
+ }
+ }
+}
+
+class java::awt::event::AWTEventListener : public ::java::lang::Object
+{
+
+public:
+ virtual void eventDispatched(::java::awt::AWTEvent *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_awt_event_AWTEventListener__
diff --git a/libjava/java/awt/event/AWTEventListenerProxy.h b/libjava/java/awt/event/AWTEventListenerProxy.h
new file mode 100644
index 0000000..90e1bc2
--- /dev/null
+++ b/libjava/java/awt/event/AWTEventListenerProxy.h
@@ -0,0 +1,39 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_event_AWTEventListenerProxy__
+#define __java_awt_event_AWTEventListenerProxy__
+
+#pragma interface
+
+#include <java/util/EventListenerProxy.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class AWTEvent;
+ namespace event
+ {
+ class AWTEventListener;
+ class AWTEventListenerProxy;
+ }
+ }
+ }
+}
+
+class java::awt::event::AWTEventListenerProxy : public ::java::util::EventListenerProxy
+{
+
+public:
+ AWTEventListenerProxy(jlong, ::java::awt::event::AWTEventListener *);
+ virtual void eventDispatched(::java::awt::AWTEvent *);
+ virtual jlong getEventMask();
+private:
+ jlong __attribute__((aligned(__alignof__( ::java::util::EventListenerProxy)))) mask;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_event_AWTEventListenerProxy__
diff --git a/libjava/java/awt/event/ActionEvent.h b/libjava/java/awt/event/ActionEvent.h
new file mode 100644
index 0000000..a1eff26
--- /dev/null
+++ b/libjava/java/awt/event/ActionEvent.h
@@ -0,0 +1,53 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_event_ActionEvent__
+#define __java_awt_event_ActionEvent__
+
+#pragma interface
+
+#include <java/awt/AWTEvent.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace event
+ {
+ class ActionEvent;
+ }
+ }
+ }
+}
+
+class java::awt::event::ActionEvent : public ::java::awt::AWTEvent
+{
+
+public:
+ ActionEvent(::java::lang::Object *, jint, ::java::lang::String *);
+ ActionEvent(::java::lang::Object *, jint, ::java::lang::String *, jint);
+ ActionEvent(::java::lang::Object *, jint, ::java::lang::String *, jlong, jint);
+ virtual ::java::lang::String * getActionCommand();
+ virtual jlong getWhen();
+ virtual jint getModifiers();
+ virtual ::java::lang::String * paramString();
+private:
+ static const jlong serialVersionUID = -7671078796273832149LL;
+public:
+ static const jint SHIFT_MASK = 1;
+ static const jint CTRL_MASK = 2;
+ static const jint META_MASK = 4;
+ static const jint ALT_MASK = 8;
+ static const jint ACTION_FIRST = 1001;
+ static const jint ACTION_LAST = 1001;
+ static const jint ACTION_PERFORMED = 1001;
+private:
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::awt::AWTEvent)))) actionCommand;
+ jint modifiers;
+ jlong when;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_event_ActionEvent__
diff --git a/libjava/java/awt/event/ActionListener.h b/libjava/java/awt/event/ActionListener.h
new file mode 100644
index 0000000..0560d7c
--- /dev/null
+++ b/libjava/java/awt/event/ActionListener.h
@@ -0,0 +1,33 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_event_ActionListener__
+#define __java_awt_event_ActionListener__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace event
+ {
+ class ActionEvent;
+ class ActionListener;
+ }
+ }
+ }
+}
+
+class java::awt::event::ActionListener : public ::java::lang::Object
+{
+
+public:
+ virtual void actionPerformed(::java::awt::event::ActionEvent *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_awt_event_ActionListener__
diff --git a/libjava/java/awt/event/AdjustmentEvent.h b/libjava/java/awt/event/AdjustmentEvent.h
new file mode 100644
index 0000000..71bef4d
--- /dev/null
+++ b/libjava/java/awt/event/AdjustmentEvent.h
@@ -0,0 +1,56 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_event_AdjustmentEvent__
+#define __java_awt_event_AdjustmentEvent__
+
+#pragma interface
+
+#include <java/awt/AWTEvent.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Adjustable;
+ namespace event
+ {
+ class AdjustmentEvent;
+ }
+ }
+ }
+}
+
+class java::awt::event::AdjustmentEvent : public ::java::awt::AWTEvent
+{
+
+public:
+ AdjustmentEvent(::java::awt::Adjustable *, jint, jint, jint);
+ AdjustmentEvent(::java::awt::Adjustable *, jint, jint, jint, jboolean);
+ virtual ::java::awt::Adjustable * getAdjustable();
+ virtual jint getValue();
+ virtual jint getAdjustmentType();
+ virtual jboolean getValueIsAdjusting();
+ virtual ::java::lang::String * paramString();
+private:
+ static const jlong serialVersionUID = 5700290645205279921LL;
+public:
+ static const jint ADJUSTMENT_FIRST = 601;
+ static const jint ADJUSTMENT_LAST = 601;
+ static const jint ADJUSTMENT_VALUE_CHANGED = 601;
+ static const jint UNIT_INCREMENT = 1;
+ static const jint UNIT_DECREMENT = 2;
+ static const jint BLOCK_DECREMENT = 3;
+ static const jint BLOCK_INCREMENT = 4;
+ static const jint TRACK = 5;
+private:
+ ::java::awt::Adjustable * __attribute__((aligned(__alignof__( ::java::awt::AWTEvent)))) adjustable;
+ jint adjustmentType;
+ jint value;
+ jboolean isAdjusting;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_event_AdjustmentEvent__
diff --git a/libjava/java/awt/event/AdjustmentListener.h b/libjava/java/awt/event/AdjustmentListener.h
new file mode 100644
index 0000000..75e6720
--- /dev/null
+++ b/libjava/java/awt/event/AdjustmentListener.h
@@ -0,0 +1,33 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_event_AdjustmentListener__
+#define __java_awt_event_AdjustmentListener__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace event
+ {
+ class AdjustmentEvent;
+ class AdjustmentListener;
+ }
+ }
+ }
+}
+
+class java::awt::event::AdjustmentListener : public ::java::lang::Object
+{
+
+public:
+ virtual void adjustmentValueChanged(::java::awt::event::AdjustmentEvent *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_awt_event_AdjustmentListener__
diff --git a/libjava/java/awt/event/ComponentAdapter.h b/libjava/java/awt/event/ComponentAdapter.h
new file mode 100644
index 0000000..0121a0d
--- /dev/null
+++ b/libjava/java/awt/event/ComponentAdapter.h
@@ -0,0 +1,37 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_event_ComponentAdapter__
+#define __java_awt_event_ComponentAdapter__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace event
+ {
+ class ComponentAdapter;
+ class ComponentEvent;
+ }
+ }
+ }
+}
+
+class java::awt::event::ComponentAdapter : public ::java::lang::Object
+{
+
+public:
+ ComponentAdapter();
+ virtual void componentResized(::java::awt::event::ComponentEvent *);
+ virtual void componentMoved(::java::awt::event::ComponentEvent *);
+ virtual void componentShown(::java::awt::event::ComponentEvent *);
+ virtual void componentHidden(::java::awt::event::ComponentEvent *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_event_ComponentAdapter__
diff --git a/libjava/java/awt/event/ComponentEvent.h b/libjava/java/awt/event/ComponentEvent.h
new file mode 100644
index 0000000..667ceb7
--- /dev/null
+++ b/libjava/java/awt/event/ComponentEvent.h
@@ -0,0 +1,44 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_event_ComponentEvent__
+#define __java_awt_event_ComponentEvent__
+
+#pragma interface
+
+#include <java/awt/AWTEvent.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Component;
+ namespace event
+ {
+ class ComponentEvent;
+ }
+ }
+ }
+}
+
+class java::awt::event::ComponentEvent : public ::java::awt::AWTEvent
+{
+
+public:
+ ComponentEvent(::java::awt::Component *, jint);
+ virtual ::java::awt::Component * getComponent();
+ virtual ::java::lang::String * paramString();
+private:
+ static const jlong serialVersionUID = 8101406823902992965LL;
+public:
+ static const jint COMPONENT_FIRST = 100;
+ static const jint COMPONENT_LAST = 103;
+ static const jint COMPONENT_MOVED = 100;
+ static const jint COMPONENT_RESIZED = 101;
+ static const jint COMPONENT_SHOWN = 102;
+ static const jint COMPONENT_HIDDEN = 103;
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_event_ComponentEvent__
diff --git a/libjava/java/awt/event/ComponentListener.h b/libjava/java/awt/event/ComponentListener.h
new file mode 100644
index 0000000..961c9a9
--- /dev/null
+++ b/libjava/java/awt/event/ComponentListener.h
@@ -0,0 +1,36 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_event_ComponentListener__
+#define __java_awt_event_ComponentListener__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace event
+ {
+ class ComponentEvent;
+ class ComponentListener;
+ }
+ }
+ }
+}
+
+class java::awt::event::ComponentListener : public ::java::lang::Object
+{
+
+public:
+ virtual void componentResized(::java::awt::event::ComponentEvent *) = 0;
+ virtual void componentMoved(::java::awt::event::ComponentEvent *) = 0;
+ virtual void componentShown(::java::awt::event::ComponentEvent *) = 0;
+ virtual void componentHidden(::java::awt::event::ComponentEvent *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_awt_event_ComponentListener__
diff --git a/libjava/java/awt/event/ContainerAdapter.h b/libjava/java/awt/event/ContainerAdapter.h
new file mode 100644
index 0000000..e483c5b
--- /dev/null
+++ b/libjava/java/awt/event/ContainerAdapter.h
@@ -0,0 +1,35 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_event_ContainerAdapter__
+#define __java_awt_event_ContainerAdapter__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace event
+ {
+ class ContainerAdapter;
+ class ContainerEvent;
+ }
+ }
+ }
+}
+
+class java::awt::event::ContainerAdapter : public ::java::lang::Object
+{
+
+public:
+ ContainerAdapter();
+ virtual void componentAdded(::java::awt::event::ContainerEvent *);
+ virtual void componentRemoved(::java::awt::event::ContainerEvent *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_event_ContainerAdapter__
diff --git a/libjava/java/awt/event/ContainerEvent.h b/libjava/java/awt/event/ContainerEvent.h
new file mode 100644
index 0000000..f1d4680
--- /dev/null
+++ b/libjava/java/awt/event/ContainerEvent.h
@@ -0,0 +1,47 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_event_ContainerEvent__
+#define __java_awt_event_ContainerEvent__
+
+#pragma interface
+
+#include <java/awt/event/ComponentEvent.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Component;
+ class Container;
+ namespace event
+ {
+ class ContainerEvent;
+ }
+ }
+ }
+}
+
+class java::awt::event::ContainerEvent : public ::java::awt::event::ComponentEvent
+{
+
+public:
+ ContainerEvent(::java::awt::Component *, jint, ::java::awt::Component *);
+ virtual ::java::awt::Container * getContainer();
+ virtual ::java::awt::Component * getChild();
+ virtual ::java::lang::String * paramString();
+private:
+ static const jlong serialVersionUID = -4114942250539772041LL;
+public:
+ static const jint CONTAINER_FIRST = 300;
+ static const jint CONTAINER_LAST = 301;
+ static const jint COMPONENT_ADDED = 300;
+ static const jint COMPONENT_REMOVED = 301;
+private:
+ ::java::awt::Component * __attribute__((aligned(__alignof__( ::java::awt::event::ComponentEvent)))) child;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_event_ContainerEvent__
diff --git a/libjava/java/awt/event/ContainerListener.h b/libjava/java/awt/event/ContainerListener.h
new file mode 100644
index 0000000..ac24d8c
--- /dev/null
+++ b/libjava/java/awt/event/ContainerListener.h
@@ -0,0 +1,34 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_event_ContainerListener__
+#define __java_awt_event_ContainerListener__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace event
+ {
+ class ContainerEvent;
+ class ContainerListener;
+ }
+ }
+ }
+}
+
+class java::awt::event::ContainerListener : public ::java::lang::Object
+{
+
+public:
+ virtual void componentAdded(::java::awt::event::ContainerEvent *) = 0;
+ virtual void componentRemoved(::java::awt::event::ContainerEvent *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_awt_event_ContainerListener__
diff --git a/libjava/java/awt/event/FocusAdapter.h b/libjava/java/awt/event/FocusAdapter.h
new file mode 100644
index 0000000..f46f94e
--- /dev/null
+++ b/libjava/java/awt/event/FocusAdapter.h
@@ -0,0 +1,35 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_event_FocusAdapter__
+#define __java_awt_event_FocusAdapter__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace event
+ {
+ class FocusAdapter;
+ class FocusEvent;
+ }
+ }
+ }
+}
+
+class java::awt::event::FocusAdapter : public ::java::lang::Object
+{
+
+public:
+ FocusAdapter();
+ virtual void focusGained(::java::awt::event::FocusEvent *);
+ virtual void focusLost(::java::awt::event::FocusEvent *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_event_FocusAdapter__
diff --git a/libjava/java/awt/event/FocusEvent.h b/libjava/java/awt/event/FocusEvent.h
new file mode 100644
index 0000000..5c7315a
--- /dev/null
+++ b/libjava/java/awt/event/FocusEvent.h
@@ -0,0 +1,49 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_event_FocusEvent__
+#define __java_awt_event_FocusEvent__
+
+#pragma interface
+
+#include <java/awt/event/ComponentEvent.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Component;
+ namespace event
+ {
+ class FocusEvent;
+ }
+ }
+ }
+}
+
+class java::awt::event::FocusEvent : public ::java::awt::event::ComponentEvent
+{
+
+public:
+ FocusEvent(::java::awt::Component *, jint, jboolean, ::java::awt::Component *);
+ FocusEvent(::java::awt::Component *, jint, jboolean);
+ FocusEvent(::java::awt::Component *, jint);
+ virtual jboolean isTemporary();
+ virtual ::java::awt::Component * getOppositeComponent();
+ virtual ::java::lang::String * paramString();
+private:
+ static const jlong serialVersionUID = 523753786457416396LL;
+public:
+ static const jint FOCUS_FIRST = 1004;
+ static const jint FOCUS_LAST = 1005;
+ static const jint FOCUS_GAINED = 1004;
+ static const jint FOCUS_LOST = 1005;
+private:
+ jboolean __attribute__((aligned(__alignof__( ::java::awt::event::ComponentEvent)))) temporary;
+ ::java::awt::Component * opposite;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_event_FocusEvent__
diff --git a/libjava/java/awt/event/FocusListener.h b/libjava/java/awt/event/FocusListener.h
new file mode 100644
index 0000000..f47a924
--- /dev/null
+++ b/libjava/java/awt/event/FocusListener.h
@@ -0,0 +1,34 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_event_FocusListener__
+#define __java_awt_event_FocusListener__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace event
+ {
+ class FocusEvent;
+ class FocusListener;
+ }
+ }
+ }
+}
+
+class java::awt::event::FocusListener : public ::java::lang::Object
+{
+
+public:
+ virtual void focusGained(::java::awt::event::FocusEvent *) = 0;
+ virtual void focusLost(::java::awt::event::FocusEvent *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_awt_event_FocusListener__
diff --git a/libjava/java/awt/event/HierarchyBoundsAdapter.h b/libjava/java/awt/event/HierarchyBoundsAdapter.h
new file mode 100644
index 0000000..125cf86
--- /dev/null
+++ b/libjava/java/awt/event/HierarchyBoundsAdapter.h
@@ -0,0 +1,35 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_event_HierarchyBoundsAdapter__
+#define __java_awt_event_HierarchyBoundsAdapter__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace event
+ {
+ class HierarchyBoundsAdapter;
+ class HierarchyEvent;
+ }
+ }
+ }
+}
+
+class java::awt::event::HierarchyBoundsAdapter : public ::java::lang::Object
+{
+
+public:
+ HierarchyBoundsAdapter();
+ virtual void ancestorMoved(::java::awt::event::HierarchyEvent *);
+ virtual void ancestorResized(::java::awt::event::HierarchyEvent *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_event_HierarchyBoundsAdapter__
diff --git a/libjava/java/awt/event/HierarchyBoundsListener.h b/libjava/java/awt/event/HierarchyBoundsListener.h
new file mode 100644
index 0000000..2ae0500
--- /dev/null
+++ b/libjava/java/awt/event/HierarchyBoundsListener.h
@@ -0,0 +1,34 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_event_HierarchyBoundsListener__
+#define __java_awt_event_HierarchyBoundsListener__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace event
+ {
+ class HierarchyBoundsListener;
+ class HierarchyEvent;
+ }
+ }
+ }
+}
+
+class java::awt::event::HierarchyBoundsListener : public ::java::lang::Object
+{
+
+public:
+ virtual void ancestorMoved(::java::awt::event::HierarchyEvent *) = 0;
+ virtual void ancestorResized(::java::awt::event::HierarchyEvent *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_awt_event_HierarchyBoundsListener__
diff --git a/libjava/java/awt/event/HierarchyEvent.h b/libjava/java/awt/event/HierarchyEvent.h
new file mode 100644
index 0000000..fe9585a
--- /dev/null
+++ b/libjava/java/awt/event/HierarchyEvent.h
@@ -0,0 +1,56 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_event_HierarchyEvent__
+#define __java_awt_event_HierarchyEvent__
+
+#pragma interface
+
+#include <java/awt/AWTEvent.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Component;
+ class Container;
+ namespace event
+ {
+ class HierarchyEvent;
+ }
+ }
+ }
+}
+
+class java::awt::event::HierarchyEvent : public ::java::awt::AWTEvent
+{
+
+public:
+ HierarchyEvent(::java::awt::Component *, jint, ::java::awt::Component *, ::java::awt::Container *);
+ HierarchyEvent(::java::awt::Component *, jint, ::java::awt::Component *, ::java::awt::Container *, jlong);
+ virtual ::java::awt::Component * getComponent();
+ virtual ::java::awt::Component * getChanged();
+ virtual ::java::awt::Container * getChangedParent();
+ virtual jlong getChangeFlags();
+ virtual ::java::lang::String * paramString();
+private:
+ static const jlong serialVersionUID = -5337576970038043990LL;
+public:
+ static const jint HIERARCHY_FIRST = 1400;
+ static const jint HIERARCHY_CHANGED = 1400;
+ static const jint ANCESTOR_MOVED = 1401;
+ static const jint ANCESTOR_RESIZED = 1402;
+ static const jint HIERARCHY_LAST = 1402;
+ static const jint PARENT_CHANGED = 1;
+ static const jint DISPLAYABILITY_CHANGED = 2;
+ static const jint SHOWING_CHANGED = 4;
+private:
+ ::java::awt::Component * __attribute__((aligned(__alignof__( ::java::awt::AWTEvent)))) changed;
+ ::java::awt::Container * changedParent;
+ jlong changeFlags;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_event_HierarchyEvent__
diff --git a/libjava/java/awt/event/HierarchyListener.h b/libjava/java/awt/event/HierarchyListener.h
new file mode 100644
index 0000000..e691edc
--- /dev/null
+++ b/libjava/java/awt/event/HierarchyListener.h
@@ -0,0 +1,33 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_event_HierarchyListener__
+#define __java_awt_event_HierarchyListener__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace event
+ {
+ class HierarchyEvent;
+ class HierarchyListener;
+ }
+ }
+ }
+}
+
+class java::awt::event::HierarchyListener : public ::java::lang::Object
+{
+
+public:
+ virtual void hierarchyChanged(::java::awt::event::HierarchyEvent *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_awt_event_HierarchyListener__
diff --git a/libjava/java/awt/event/InputEvent.h b/libjava/java/awt/event/InputEvent.h
new file mode 100644
index 0000000..863963c
--- /dev/null
+++ b/libjava/java/awt/event/InputEvent.h
@@ -0,0 +1,72 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_event_InputEvent__
+#define __java_awt_event_InputEvent__
+
+#pragma interface
+
+#include <java/awt/event/ComponentEvent.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Component;
+ namespace event
+ {
+ class InputEvent;
+ }
+ }
+ }
+}
+
+class java::awt::event::InputEvent : public ::java::awt::event::ComponentEvent
+{
+
+public: // actually package-private
+ InputEvent(::java::awt::Component *, jint, jlong, jint);
+public:
+ virtual jboolean isShiftDown();
+ virtual jboolean isControlDown();
+ virtual jboolean isMetaDown();
+ virtual jboolean isAltDown();
+ virtual jboolean isAltGraphDown();
+ virtual jlong getWhen();
+ virtual jint getModifiers();
+ virtual jint getModifiersEx();
+ virtual void consume();
+ virtual jboolean isConsumed();
+ static ::java::lang::String * getModifiersExText(jint);
+private:
+ static const jlong serialVersionUID = -2482525981698309786LL;
+public:
+ static const jint SHIFT_MASK = 1;
+ static const jint CTRL_MASK = 2;
+ static const jint META_MASK = 4;
+ static const jint ALT_MASK = 8;
+ static const jint ALT_GRAPH_MASK = 32;
+ static const jint BUTTON1_MASK = 16;
+ static const jint BUTTON2_MASK = 8;
+ static const jint BUTTON3_MASK = 4;
+ static const jint SHIFT_DOWN_MASK = 64;
+ static const jint CTRL_DOWN_MASK = 128;
+ static const jint META_DOWN_MASK = 256;
+ static const jint ALT_DOWN_MASK = 512;
+ static const jint BUTTON1_DOWN_MASK = 1024;
+ static const jint BUTTON2_DOWN_MASK = 2048;
+ static const jint BUTTON3_DOWN_MASK = 4096;
+ static const jint ALT_GRAPH_DOWN_MASK = 8192;
+public: // actually package-private
+ static const jint CONVERT_MASK = 10176;
+private:
+ jlong __attribute__((aligned(__alignof__( ::java::awt::event::ComponentEvent)))) when;
+public: // actually package-private
+ jint modifiers;
+ jint modifiersEx;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_event_InputEvent__
diff --git a/libjava/java/awt/event/InputMethodEvent.h b/libjava/java/awt/event/InputMethodEvent.h
new file mode 100644
index 0000000..0c02470
--- /dev/null
+++ b/libjava/java/awt/event/InputMethodEvent.h
@@ -0,0 +1,66 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_event_InputMethodEvent__
+#define __java_awt_event_InputMethodEvent__
+
+#pragma interface
+
+#include <java/awt/AWTEvent.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Component;
+ namespace event
+ {
+ class InputMethodEvent;
+ }
+ namespace font
+ {
+ class TextHitInfo;
+ }
+ }
+ namespace text
+ {
+ class AttributedCharacterIterator;
+ }
+ }
+}
+
+class java::awt::event::InputMethodEvent : public ::java::awt::AWTEvent
+{
+
+public:
+ InputMethodEvent(::java::awt::Component *, jint, jlong, ::java::text::AttributedCharacterIterator *, jint, ::java::awt::font::TextHitInfo *, ::java::awt::font::TextHitInfo *);
+ InputMethodEvent(::java::awt::Component *, jint, ::java::text::AttributedCharacterIterator *, jint, ::java::awt::font::TextHitInfo *, ::java::awt::font::TextHitInfo *);
+ InputMethodEvent(::java::awt::Component *, jint, ::java::awt::font::TextHitInfo *, ::java::awt::font::TextHitInfo *);
+ virtual ::java::text::AttributedCharacterIterator * getText();
+ virtual jint getCommittedCharacterCount();
+ virtual ::java::awt::font::TextHitInfo * getCaret();
+ virtual ::java::awt::font::TextHitInfo * getVisiblePosition();
+ virtual void consume();
+ virtual jboolean isConsumed();
+ virtual jlong getWhen();
+ virtual ::java::lang::String * paramString();
+private:
+ void readObject(::java::io::ObjectInputStream *);
+ static const jlong serialVersionUID = 4727190874778922661LL;
+public:
+ static const jint INPUT_METHOD_FIRST = 1100;
+ static const jint INPUT_METHOD_TEXT_CHANGED = 1100;
+ static const jint CARET_POSITION_CHANGED = 1101;
+ static const jint INPUT_METHOD_LAST = 1101;
+private:
+ jlong __attribute__((aligned(__alignof__( ::java::awt::AWTEvent)))) when;
+ ::java::text::AttributedCharacterIterator * text;
+ jint committedCharacterCount;
+ ::java::awt::font::TextHitInfo * caret;
+ ::java::awt::font::TextHitInfo * visiblePosition;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_event_InputMethodEvent__
diff --git a/libjava/java/awt/event/InputMethodListener.h b/libjava/java/awt/event/InputMethodListener.h
new file mode 100644
index 0000000..4bb03de
--- /dev/null
+++ b/libjava/java/awt/event/InputMethodListener.h
@@ -0,0 +1,34 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_event_InputMethodListener__
+#define __java_awt_event_InputMethodListener__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace event
+ {
+ class InputMethodEvent;
+ class InputMethodListener;
+ }
+ }
+ }
+}
+
+class java::awt::event::InputMethodListener : public ::java::lang::Object
+{
+
+public:
+ virtual void inputMethodTextChanged(::java::awt::event::InputMethodEvent *) = 0;
+ virtual void caretPositionChanged(::java::awt::event::InputMethodEvent *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_awt_event_InputMethodListener__
diff --git a/libjava/java/awt/event/InvocationEvent.h b/libjava/java/awt/event/InvocationEvent.h
new file mode 100644
index 0000000..2dde3a4
--- /dev/null
+++ b/libjava/java/awt/event/InvocationEvent.h
@@ -0,0 +1,56 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_event_InvocationEvent__
+#define __java_awt_event_InvocationEvent__
+
+#pragma interface
+
+#include <java/awt/AWTEvent.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace event
+ {
+ class InvocationEvent;
+ }
+ }
+ }
+}
+
+class java::awt::event::InvocationEvent : public ::java::awt::AWTEvent
+{
+
+public:
+ InvocationEvent(::java::lang::Object *, ::java::lang::Runnable *);
+ InvocationEvent(::java::lang::Object *, ::java::lang::Runnable *, ::java::lang::Object *, jboolean);
+public: // actually protected
+ InvocationEvent(::java::lang::Object *, jint, ::java::lang::Runnable *, ::java::lang::Object *, jboolean);
+public:
+ virtual void dispatch();
+ virtual ::java::lang::Exception * getException();
+ virtual ::java::lang::Throwable * getThrowable();
+ virtual jlong getWhen();
+ virtual ::java::lang::String * paramString();
+private:
+ static const jlong serialVersionUID = 436056344909459450LL;
+public:
+ static const jint INVOCATION_FIRST = 1200;
+ static const jint INVOCATION_DEFAULT = 1200;
+ static const jint INVOCATION_LAST = 1200;
+public: // actually protected
+ ::java::lang::Runnable * __attribute__((aligned(__alignof__( ::java::awt::AWTEvent)))) runnable;
+ ::java::lang::Object * notifier;
+ jboolean catchExceptions;
+private:
+ ::java::lang::Exception * exception;
+ ::java::lang::Throwable * throwable;
+ jlong when;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_event_InvocationEvent__
diff --git a/libjava/java/awt/event/ItemEvent.h b/libjava/java/awt/event/ItemEvent.h
new file mode 100644
index 0000000..61f4836
--- /dev/null
+++ b/libjava/java/awt/event/ItemEvent.h
@@ -0,0 +1,49 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_event_ItemEvent__
+#define __java_awt_event_ItemEvent__
+
+#pragma interface
+
+#include <java/awt/AWTEvent.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class ItemSelectable;
+ namespace event
+ {
+ class ItemEvent;
+ }
+ }
+ }
+}
+
+class java::awt::event::ItemEvent : public ::java::awt::AWTEvent
+{
+
+public:
+ ItemEvent(::java::awt::ItemSelectable *, jint, ::java::lang::Object *, jint);
+ virtual ::java::awt::ItemSelectable * getItemSelectable();
+ virtual ::java::lang::Object * getItem();
+ virtual jint getStateChange();
+ virtual ::java::lang::String * paramString();
+private:
+ static const jlong serialVersionUID = -608708132447206933LL;
+public:
+ static const jint ITEM_FIRST = 701;
+ static const jint ITEM_LAST = 701;
+ static const jint ITEM_STATE_CHANGED = 701;
+ static const jint SELECTED = 1;
+ static const jint DESELECTED = 2;
+private:
+ ::java::lang::Object * __attribute__((aligned(__alignof__( ::java::awt::AWTEvent)))) item;
+ jint stateChange;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_event_ItemEvent__
diff --git a/libjava/java/awt/event/ItemListener.h b/libjava/java/awt/event/ItemListener.h
new file mode 100644
index 0000000..eee09ce
--- /dev/null
+++ b/libjava/java/awt/event/ItemListener.h
@@ -0,0 +1,33 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_event_ItemListener__
+#define __java_awt_event_ItemListener__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace event
+ {
+ class ItemEvent;
+ class ItemListener;
+ }
+ }
+ }
+}
+
+class java::awt::event::ItemListener : public ::java::lang::Object
+{
+
+public:
+ virtual void itemStateChanged(::java::awt::event::ItemEvent *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_awt_event_ItemListener__
diff --git a/libjava/java/awt/event/KeyAdapter.h b/libjava/java/awt/event/KeyAdapter.h
new file mode 100644
index 0000000..b63023e
--- /dev/null
+++ b/libjava/java/awt/event/KeyAdapter.h
@@ -0,0 +1,36 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_event_KeyAdapter__
+#define __java_awt_event_KeyAdapter__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace event
+ {
+ class KeyAdapter;
+ class KeyEvent;
+ }
+ }
+ }
+}
+
+class java::awt::event::KeyAdapter : public ::java::lang::Object
+{
+
+public:
+ KeyAdapter();
+ virtual void keyTyped(::java::awt::event::KeyEvent *);
+ virtual void keyPressed(::java::awt::event::KeyEvent *);
+ virtual void keyReleased(::java::awt::event::KeyEvent *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_event_KeyAdapter__
diff --git a/libjava/java/awt/event/KeyEvent.h b/libjava/java/awt/event/KeyEvent.h
new file mode 100644
index 0000000..6b32586
--- /dev/null
+++ b/libjava/java/awt/event/KeyEvent.h
@@ -0,0 +1,255 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_event_KeyEvent__
+#define __java_awt_event_KeyEvent__
+
+#pragma interface
+
+#include <java/awt/event/InputEvent.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Component;
+ namespace event
+ {
+ class KeyEvent;
+ }
+ }
+ }
+}
+
+class java::awt::event::KeyEvent : public ::java::awt::event::InputEvent
+{
+
+public:
+ KeyEvent(::java::awt::Component *, jint, jlong, jint, jint, jchar, jint);
+ KeyEvent(::java::awt::Component *, jint, jlong, jint, jint, jchar);
+ KeyEvent(::java::awt::Component *, jint, jlong, jint, jint);
+ virtual jint getKeyCode();
+ virtual void setKeyCode(jint);
+ virtual jchar getKeyChar();
+ virtual void setKeyChar(jchar);
+ virtual void setModifiers(jint);
+ virtual jint getKeyLocation();
+ static ::java::lang::String * getKeyText(jint);
+ static ::java::lang::String * getKeyModifiersText(jint);
+ virtual jboolean isActionKey();
+ virtual ::java::lang::String * paramString();
+private:
+ void readObject(::java::io::ObjectInputStream *);
+ static const jlong serialVersionUID = -2352130953028126954LL;
+public:
+ static const jint KEY_FIRST = 400;
+ static const jint KEY_LAST = 402;
+ static const jint KEY_TYPED = 400;
+ static const jint KEY_PRESSED = 401;
+ static const jint KEY_RELEASED = 402;
+ static const jint VK_ENTER = 10;
+ static const jint VK_BACK_SPACE = 8;
+ static const jint VK_TAB = 9;
+ static const jint VK_CANCEL = 3;
+ static const jint VK_CLEAR = 12;
+ static const jint VK_SHIFT = 16;
+ static const jint VK_CONTROL = 17;
+ static const jint VK_ALT = 18;
+ static const jint VK_PAUSE = 19;
+ static const jint VK_CAPS_LOCK = 20;
+ static const jint VK_ESCAPE = 27;
+ static const jint VK_SPACE = 32;
+ static const jint VK_PAGE_UP = 33;
+ static const jint VK_PAGE_DOWN = 34;
+ static const jint VK_END = 35;
+ static const jint VK_HOME = 36;
+ static const jint VK_LEFT = 37;
+ static const jint VK_UP = 38;
+ static const jint VK_RIGHT = 39;
+ static const jint VK_DOWN = 40;
+ static const jint VK_COMMA = 44;
+ static const jint VK_MINUS = 45;
+ static const jint VK_PERIOD = 46;
+ static const jint VK_SLASH = 47;
+ static const jint VK_0 = 48;
+ static const jint VK_1 = 49;
+ static const jint VK_2 = 50;
+ static const jint VK_3 = 51;
+ static const jint VK_4 = 52;
+ static const jint VK_5 = 53;
+ static const jint VK_6 = 54;
+ static const jint VK_7 = 55;
+ static const jint VK_8 = 56;
+ static const jint VK_9 = 57;
+ static const jint VK_SEMICOLON = 59;
+ static const jint VK_EQUALS = 61;
+ static const jint VK_A = 65;
+ static const jint VK_B = 66;
+ static const jint VK_C = 67;
+ static const jint VK_D = 68;
+ static const jint VK_E = 69;
+ static const jint VK_F = 70;
+ static const jint VK_G = 71;
+ static const jint VK_H = 72;
+ static const jint VK_I = 73;
+ static const jint VK_J = 74;
+ static const jint VK_K = 75;
+ static const jint VK_L = 76;
+ static const jint VK_M = 77;
+ static const jint VK_N = 78;
+ static const jint VK_O = 79;
+ static const jint VK_P = 80;
+ static const jint VK_Q = 81;
+ static const jint VK_R = 82;
+ static const jint VK_S = 83;
+ static const jint VK_T = 84;
+ static const jint VK_U = 85;
+ static const jint VK_V = 86;
+ static const jint VK_W = 87;
+ static const jint VK_X = 88;
+ static const jint VK_Y = 89;
+ static const jint VK_Z = 90;
+ static const jint VK_OPEN_BRACKET = 91;
+ static const jint VK_BACK_SLASH = 92;
+ static const jint VK_CLOSE_BRACKET = 93;
+ static const jint VK_NUMPAD0 = 96;
+ static const jint VK_NUMPAD1 = 97;
+ static const jint VK_NUMPAD2 = 98;
+ static const jint VK_NUMPAD3 = 99;
+ static const jint VK_NUMPAD4 = 100;
+ static const jint VK_NUMPAD5 = 101;
+ static const jint VK_NUMPAD6 = 102;
+ static const jint VK_NUMPAD7 = 103;
+ static const jint VK_NUMPAD8 = 104;
+ static const jint VK_NUMPAD9 = 105;
+ static const jint VK_MULTIPLY = 106;
+ static const jint VK_ADD = 107;
+ static const jint VK_SEPARATER = 108;
+ static const jint VK_SEPARATOR = 108;
+ static const jint VK_SUBTRACT = 109;
+ static const jint VK_DECIMAL = 110;
+ static const jint VK_DIVIDE = 111;
+ static const jint VK_DELETE = 127;
+ static const jint VK_NUM_LOCK = 144;
+ static const jint VK_SCROLL_LOCK = 145;
+ static const jint VK_F1 = 112;
+ static const jint VK_F2 = 113;
+ static const jint VK_F3 = 114;
+ static const jint VK_F4 = 115;
+ static const jint VK_F5 = 116;
+ static const jint VK_F6 = 117;
+ static const jint VK_F7 = 118;
+ static const jint VK_F8 = 119;
+ static const jint VK_F9 = 120;
+ static const jint VK_F10 = 121;
+ static const jint VK_F11 = 122;
+ static const jint VK_F12 = 123;
+ static const jint VK_F13 = 61440;
+ static const jint VK_F14 = 61441;
+ static const jint VK_F15 = 61442;
+ static const jint VK_F16 = 61443;
+ static const jint VK_F17 = 61444;
+ static const jint VK_F18 = 61445;
+ static const jint VK_F19 = 61446;
+ static const jint VK_F20 = 61447;
+ static const jint VK_F21 = 61448;
+ static const jint VK_F22 = 61449;
+ static const jint VK_F23 = 61450;
+ static const jint VK_F24 = 61451;
+ static const jint VK_PRINTSCREEN = 154;
+ static const jint VK_INSERT = 155;
+ static const jint VK_HELP = 156;
+ static const jint VK_META = 157;
+ static const jint VK_BACK_QUOTE = 192;
+ static const jint VK_QUOTE = 222;
+ static const jint VK_KP_UP = 224;
+ static const jint VK_KP_DOWN = 225;
+ static const jint VK_KP_LEFT = 226;
+ static const jint VK_KP_RIGHT = 227;
+ static const jint VK_DEAD_GRAVE = 128;
+ static const jint VK_DEAD_ACUTE = 129;
+ static const jint VK_DEAD_CIRCUMFLEX = 130;
+ static const jint VK_DEAD_TILDE = 131;
+ static const jint VK_DEAD_MACRON = 132;
+ static const jint VK_DEAD_BREVE = 133;
+ static const jint VK_DEAD_ABOVEDOT = 134;
+ static const jint VK_DEAD_DIAERESIS = 135;
+ static const jint VK_DEAD_ABOVERING = 136;
+ static const jint VK_DEAD_DOUBLEACUTE = 137;
+ static const jint VK_DEAD_CARON = 138;
+ static const jint VK_DEAD_CEDILLA = 139;
+ static const jint VK_DEAD_OGONEK = 140;
+ static const jint VK_DEAD_IOTA = 141;
+ static const jint VK_DEAD_VOICED_SOUND = 142;
+ static const jint VK_DEAD_SEMIVOICED_SOUND = 143;
+ static const jint VK_AMPERSAND = 150;
+ static const jint VK_ASTERISK = 151;
+ static const jint VK_QUOTEDBL = 152;
+ static const jint VK_LESS = 153;
+ static const jint VK_GREATER = 160;
+ static const jint VK_BRACELEFT = 161;
+ static const jint VK_BRACERIGHT = 162;
+ static const jint VK_AT = 512;
+ static const jint VK_COLON = 513;
+ static const jint VK_CIRCUMFLEX = 514;
+ static const jint VK_DOLLAR = 515;
+ static const jint VK_EURO_SIGN = 516;
+ static const jint VK_EXCLAMATION_MARK = 517;
+ static const jint VK_INVERTED_EXCLAMATION_MARK = 518;
+ static const jint VK_LEFT_PARENTHESIS = 519;
+ static const jint VK_NUMBER_SIGN = 520;
+ static const jint VK_PLUS = 521;
+ static const jint VK_RIGHT_PARENTHESIS = 522;
+ static const jint VK_UNDERSCORE = 523;
+ static const jint VK_FINAL = 24;
+ static const jint VK_CONVERT = 28;
+ static const jint VK_NONCONVERT = 29;
+ static const jint VK_ACCEPT = 30;
+ static const jint VK_MODECHANGE = 31;
+ static const jint VK_KANA = 21;
+ static const jint VK_KANJI = 25;
+ static const jint VK_ALPHANUMERIC = 240;
+ static const jint VK_KATAKANA = 241;
+ static const jint VK_HIRAGANA = 242;
+ static const jint VK_FULL_WIDTH = 243;
+ static const jint VK_HALF_WIDTH = 244;
+ static const jint VK_ROMAN_CHARACTERS = 245;
+ static const jint VK_ALL_CANDIDATES = 256;
+ static const jint VK_PREVIOUS_CANDIDATE = 257;
+ static const jint VK_CODE_INPUT = 258;
+ static const jint VK_JAPANESE_KATAKANA = 259;
+ static const jint VK_JAPANESE_HIRAGANA = 260;
+ static const jint VK_JAPANESE_ROMAN = 261;
+ static const jint VK_KANA_LOCK = 262;
+ static const jint VK_INPUT_METHOD_ON_OFF = 263;
+ static const jint VK_CUT = 65489;
+ static const jint VK_COPY = 65485;
+ static const jint VK_PASTE = 65487;
+ static const jint VK_UNDO = 65483;
+ static const jint VK_AGAIN = 65481;
+ static const jint VK_FIND = 65488;
+ static const jint VK_PROPS = 65482;
+ static const jint VK_STOP = 65480;
+ static const jint VK_COMPOSE = 65312;
+ static const jint VK_ALT_GRAPH = 65406;
+ static const jint VK_BEGIN = 65368;
+ static const jint VK_CONTEXT_MENU = 525;
+ static const jint VK_WINDOWS = 524;
+ static const jint VK_UNDEFINED = 0;
+ static const jchar CHAR_UNDEFINED = 65535;
+ static const jint KEY_LOCATION_UNKNOWN = 0;
+ static const jint KEY_LOCATION_STANDARD = 1;
+ static const jint KEY_LOCATION_LEFT = 2;
+ static const jint KEY_LOCATION_RIGHT = 3;
+ static const jint KEY_LOCATION_NUMPAD = 4;
+private:
+ jint __attribute__((aligned(__alignof__( ::java::awt::event::InputEvent)))) keyCode;
+ jchar keyChar;
+ jint keyLocation;
+ jboolean isProxyActive;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_event_KeyEvent__
diff --git a/libjava/java/awt/event/KeyListener.h b/libjava/java/awt/event/KeyListener.h
new file mode 100644
index 0000000..a25e5b8
--- /dev/null
+++ b/libjava/java/awt/event/KeyListener.h
@@ -0,0 +1,35 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_event_KeyListener__
+#define __java_awt_event_KeyListener__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace event
+ {
+ class KeyEvent;
+ class KeyListener;
+ }
+ }
+ }
+}
+
+class java::awt::event::KeyListener : public ::java::lang::Object
+{
+
+public:
+ virtual void keyTyped(::java::awt::event::KeyEvent *) = 0;
+ virtual void keyPressed(::java::awt::event::KeyEvent *) = 0;
+ virtual void keyReleased(::java::awt::event::KeyEvent *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_awt_event_KeyListener__
diff --git a/libjava/java/awt/event/MouseAdapter.h b/libjava/java/awt/event/MouseAdapter.h
new file mode 100644
index 0000000..d0ee27e
--- /dev/null
+++ b/libjava/java/awt/event/MouseAdapter.h
@@ -0,0 +1,38 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_event_MouseAdapter__
+#define __java_awt_event_MouseAdapter__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace event
+ {
+ class MouseAdapter;
+ class MouseEvent;
+ }
+ }
+ }
+}
+
+class java::awt::event::MouseAdapter : public ::java::lang::Object
+{
+
+public:
+ MouseAdapter();
+ virtual void mouseClicked(::java::awt::event::MouseEvent *);
+ virtual void mousePressed(::java::awt::event::MouseEvent *);
+ virtual void mouseReleased(::java::awt::event::MouseEvent *);
+ virtual void mouseEntered(::java::awt::event::MouseEvent *);
+ virtual void mouseExited(::java::awt::event::MouseEvent *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_event_MouseAdapter__
diff --git a/libjava/java/awt/event/MouseEvent.h b/libjava/java/awt/event/MouseEvent.h
new file mode 100644
index 0000000..439fc50
--- /dev/null
+++ b/libjava/java/awt/event/MouseEvent.h
@@ -0,0 +1,69 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_event_MouseEvent__
+#define __java_awt_event_MouseEvent__
+
+#pragma interface
+
+#include <java/awt/event/InputEvent.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Component;
+ class Point;
+ namespace event
+ {
+ class MouseEvent;
+ }
+ }
+ }
+}
+
+class java::awt::event::MouseEvent : public ::java::awt::event::InputEvent
+{
+
+public:
+ MouseEvent(::java::awt::Component *, jint, jlong, jint, jint, jint, jint, jboolean, jint);
+ MouseEvent(::java::awt::Component *, jint, jlong, jint, jint, jint, jint, jboolean);
+ virtual jint getX();
+ virtual jint getY();
+ virtual ::java::awt::Point * getPoint();
+ virtual void translatePoint(jint, jint);
+ virtual jint getClickCount();
+ virtual jint getButton();
+ virtual jboolean isPopupTrigger();
+ static ::java::lang::String * getMouseModifiersText(jint);
+ virtual ::java::lang::String * paramString();
+private:
+ void readObject(::java::io::ObjectInputStream *);
+ static const jlong serialVersionUID = -991214153494842848LL;
+public:
+ static const jint MOUSE_FIRST = 500;
+ static const jint MOUSE_LAST = 507;
+ static const jint MOUSE_CLICKED = 500;
+ static const jint MOUSE_PRESSED = 501;
+ static const jint MOUSE_RELEASED = 502;
+ static const jint MOUSE_MOVED = 503;
+ static const jint MOUSE_ENTERED = 504;
+ static const jint MOUSE_EXITED = 505;
+ static const jint NOBUTTON = 0;
+ static const jint BUTTON1 = 1;
+ static const jint BUTTON2 = 2;
+ static const jint BUTTON3 = 3;
+ static const jint MOUSE_DRAGGED = 506;
+ static const jint MOUSE_WHEEL = 507;
+private:
+ jint __attribute__((aligned(__alignof__( ::java::awt::event::InputEvent)))) x;
+ jint y;
+ jint clickCount;
+ jint button;
+ jboolean popupTrigger;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_event_MouseEvent__
diff --git a/libjava/java/awt/event/MouseListener.h b/libjava/java/awt/event/MouseListener.h
new file mode 100644
index 0000000..d3263ab
--- /dev/null
+++ b/libjava/java/awt/event/MouseListener.h
@@ -0,0 +1,37 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_event_MouseListener__
+#define __java_awt_event_MouseListener__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace event
+ {
+ class MouseEvent;
+ class MouseListener;
+ }
+ }
+ }
+}
+
+class java::awt::event::MouseListener : public ::java::lang::Object
+{
+
+public:
+ virtual void mouseClicked(::java::awt::event::MouseEvent *) = 0;
+ virtual void mousePressed(::java::awt::event::MouseEvent *) = 0;
+ virtual void mouseReleased(::java::awt::event::MouseEvent *) = 0;
+ virtual void mouseEntered(::java::awt::event::MouseEvent *) = 0;
+ virtual void mouseExited(::java::awt::event::MouseEvent *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_awt_event_MouseListener__
diff --git a/libjava/java/awt/event/MouseMotionAdapter.h b/libjava/java/awt/event/MouseMotionAdapter.h
new file mode 100644
index 0000000..2c29cdd
--- /dev/null
+++ b/libjava/java/awt/event/MouseMotionAdapter.h
@@ -0,0 +1,35 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_event_MouseMotionAdapter__
+#define __java_awt_event_MouseMotionAdapter__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace event
+ {
+ class MouseEvent;
+ class MouseMotionAdapter;
+ }
+ }
+ }
+}
+
+class java::awt::event::MouseMotionAdapter : public ::java::lang::Object
+{
+
+public:
+ MouseMotionAdapter();
+ virtual void mouseDragged(::java::awt::event::MouseEvent *);
+ virtual void mouseMoved(::java::awt::event::MouseEvent *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_event_MouseMotionAdapter__
diff --git a/libjava/java/awt/event/MouseMotionListener.h b/libjava/java/awt/event/MouseMotionListener.h
new file mode 100644
index 0000000..84087bb
--- /dev/null
+++ b/libjava/java/awt/event/MouseMotionListener.h
@@ -0,0 +1,34 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_event_MouseMotionListener__
+#define __java_awt_event_MouseMotionListener__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace event
+ {
+ class MouseEvent;
+ class MouseMotionListener;
+ }
+ }
+ }
+}
+
+class java::awt::event::MouseMotionListener : public ::java::lang::Object
+{
+
+public:
+ virtual void mouseDragged(::java::awt::event::MouseEvent *) = 0;
+ virtual void mouseMoved(::java::awt::event::MouseEvent *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_awt_event_MouseMotionListener__
diff --git a/libjava/java/awt/event/MouseWheelEvent.h b/libjava/java/awt/event/MouseWheelEvent.h
new file mode 100644
index 0000000..fd804a1
--- /dev/null
+++ b/libjava/java/awt/event/MouseWheelEvent.h
@@ -0,0 +1,48 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_event_MouseWheelEvent__
+#define __java_awt_event_MouseWheelEvent__
+
+#pragma interface
+
+#include <java/awt/event/MouseEvent.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Component;
+ namespace event
+ {
+ class MouseWheelEvent;
+ }
+ }
+ }
+}
+
+class java::awt::event::MouseWheelEvent : public ::java::awt::event::MouseEvent
+{
+
+public:
+ MouseWheelEvent(::java::awt::Component *, jint, jlong, jint, jint, jint, jint, jboolean, jint, jint, jint);
+ virtual jint getScrollType();
+ virtual jint getScrollAmount();
+ virtual jint getWheelRotation();
+ virtual jint getUnitsToScroll();
+ virtual ::java::lang::String * paramString();
+private:
+ static const jlong serialVersionUID = 6459879390515399677LL;
+public:
+ static const jint WHEEL_UNIT_SCROLL = 0;
+ static const jint WHEEL_BLOCK_SCROLL = 1;
+private:
+ jint __attribute__((aligned(__alignof__( ::java::awt::event::MouseEvent)))) scrollType;
+ jint scrollAmount;
+ jint wheelRotation;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_event_MouseWheelEvent__
diff --git a/libjava/java/awt/event/MouseWheelListener.h b/libjava/java/awt/event/MouseWheelListener.h
new file mode 100644
index 0000000..525b427
--- /dev/null
+++ b/libjava/java/awt/event/MouseWheelListener.h
@@ -0,0 +1,33 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_event_MouseWheelListener__
+#define __java_awt_event_MouseWheelListener__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace event
+ {
+ class MouseWheelEvent;
+ class MouseWheelListener;
+ }
+ }
+ }
+}
+
+class java::awt::event::MouseWheelListener : public ::java::lang::Object
+{
+
+public:
+ virtual void mouseWheelMoved(::java::awt::event::MouseWheelEvent *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_awt_event_MouseWheelListener__
diff --git a/libjava/java/awt/event/PaintEvent.h b/libjava/java/awt/event/PaintEvent.h
new file mode 100644
index 0000000..4d18027
--- /dev/null
+++ b/libjava/java/awt/event/PaintEvent.h
@@ -0,0 +1,47 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_event_PaintEvent__
+#define __java_awt_event_PaintEvent__
+
+#pragma interface
+
+#include <java/awt/event/ComponentEvent.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Component;
+ class Rectangle;
+ namespace event
+ {
+ class PaintEvent;
+ }
+ }
+ }
+}
+
+class java::awt::event::PaintEvent : public ::java::awt::event::ComponentEvent
+{
+
+public:
+ PaintEvent(::java::awt::Component *, jint, ::java::awt::Rectangle *);
+ virtual ::java::awt::Rectangle * getUpdateRect();
+ virtual void setUpdateRect(::java::awt::Rectangle *);
+ virtual ::java::lang::String * paramString();
+private:
+ static const jlong serialVersionUID = 1267492026433337593LL;
+public:
+ static const jint PAINT_FIRST = 800;
+ static const jint PAINT_LAST = 801;
+ static const jint PAINT = 800;
+ static const jint UPDATE = 801;
+private:
+ ::java::awt::Rectangle * __attribute__((aligned(__alignof__( ::java::awt::event::ComponentEvent)))) updateRect;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_event_PaintEvent__
diff --git a/libjava/java/awt/event/TextEvent.h b/libjava/java/awt/event/TextEvent.h
new file mode 100644
index 0000000..bd673f7
--- /dev/null
+++ b/libjava/java/awt/event/TextEvent.h
@@ -0,0 +1,39 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_event_TextEvent__
+#define __java_awt_event_TextEvent__
+
+#pragma interface
+
+#include <java/awt/AWTEvent.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace event
+ {
+ class TextEvent;
+ }
+ }
+ }
+}
+
+class java::awt::event::TextEvent : public ::java::awt::AWTEvent
+{
+
+public:
+ TextEvent(::java::lang::Object *, jint);
+ virtual ::java::lang::String * paramString();
+private:
+ static const jlong serialVersionUID = 6269902291250941179LL;
+public:
+ static const jint TEXT_FIRST = 900;
+ static const jint TEXT_LAST = 900;
+ static const jint TEXT_VALUE_CHANGED = 900;
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_event_TextEvent__
diff --git a/libjava/java/awt/event/TextListener.h b/libjava/java/awt/event/TextListener.h
new file mode 100644
index 0000000..cb3ad2c
--- /dev/null
+++ b/libjava/java/awt/event/TextListener.h
@@ -0,0 +1,33 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_event_TextListener__
+#define __java_awt_event_TextListener__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace event
+ {
+ class TextEvent;
+ class TextListener;
+ }
+ }
+ }
+}
+
+class java::awt::event::TextListener : public ::java::lang::Object
+{
+
+public:
+ virtual void textValueChanged(::java::awt::event::TextEvent *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_awt_event_TextListener__
diff --git a/libjava/java/awt/event/WindowAdapter.h b/libjava/java/awt/event/WindowAdapter.h
new file mode 100644
index 0000000..fda064b
--- /dev/null
+++ b/libjava/java/awt/event/WindowAdapter.h
@@ -0,0 +1,43 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_event_WindowAdapter__
+#define __java_awt_event_WindowAdapter__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace event
+ {
+ class WindowAdapter;
+ class WindowEvent;
+ }
+ }
+ }
+}
+
+class java::awt::event::WindowAdapter : public ::java::lang::Object
+{
+
+public:
+ WindowAdapter();
+ virtual void windowOpened(::java::awt::event::WindowEvent *);
+ virtual void windowClosing(::java::awt::event::WindowEvent *);
+ virtual void windowClosed(::java::awt::event::WindowEvent *);
+ virtual void windowIconified(::java::awt::event::WindowEvent *);
+ virtual void windowDeiconified(::java::awt::event::WindowEvent *);
+ virtual void windowActivated(::java::awt::event::WindowEvent *);
+ virtual void windowDeactivated(::java::awt::event::WindowEvent *);
+ virtual void windowStateChanged(::java::awt::event::WindowEvent *);
+ virtual void windowGainedFocus(::java::awt::event::WindowEvent *);
+ virtual void windowLostFocus(::java::awt::event::WindowEvent *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_event_WindowAdapter__
diff --git a/libjava/java/awt/event/WindowEvent.h b/libjava/java/awt/event/WindowEvent.h
new file mode 100644
index 0000000..8869277
--- /dev/null
+++ b/libjava/java/awt/event/WindowEvent.h
@@ -0,0 +1,61 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_event_WindowEvent__
+#define __java_awt_event_WindowEvent__
+
+#pragma interface
+
+#include <java/awt/event/ComponentEvent.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Window;
+ namespace event
+ {
+ class WindowEvent;
+ }
+ }
+ }
+}
+
+class java::awt::event::WindowEvent : public ::java::awt::event::ComponentEvent
+{
+
+public:
+ WindowEvent(::java::awt::Window *, jint, ::java::awt::Window *, jint, jint);
+ WindowEvent(::java::awt::Window *, jint, ::java::awt::Window *);
+ WindowEvent(::java::awt::Window *, jint, jint, jint);
+ WindowEvent(::java::awt::Window *, jint);
+ virtual ::java::awt::Window * getWindow();
+ virtual ::java::awt::Window * getOppositeWindow();
+ virtual jint getOldState();
+ virtual jint getNewState();
+ virtual ::java::lang::String * paramString();
+private:
+ static const jlong serialVersionUID = -1567959133147912127LL;
+public:
+ static const jint WINDOW_FIRST = 200;
+ static const jint WINDOW_OPENED = 200;
+ static const jint WINDOW_CLOSING = 201;
+ static const jint WINDOW_CLOSED = 202;
+ static const jint WINDOW_ICONIFIED = 203;
+ static const jint WINDOW_DEICONIFIED = 204;
+ static const jint WINDOW_ACTIVATED = 205;
+ static const jint WINDOW_DEACTIVATED = 206;
+ static const jint WINDOW_GAINED_FOCUS = 207;
+ static const jint WINDOW_LOST_FOCUS = 208;
+ static const jint WINDOW_STATE_CHANGED = 209;
+ static const jint WINDOW_LAST = 209;
+private:
+ ::java::awt::Window * __attribute__((aligned(__alignof__( ::java::awt::event::ComponentEvent)))) opposite;
+ jint oldState;
+ jint newState;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_event_WindowEvent__
diff --git a/libjava/java/awt/event/WindowFocusListener.h b/libjava/java/awt/event/WindowFocusListener.h
new file mode 100644
index 0000000..5ff8d3a
--- /dev/null
+++ b/libjava/java/awt/event/WindowFocusListener.h
@@ -0,0 +1,34 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_event_WindowFocusListener__
+#define __java_awt_event_WindowFocusListener__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace event
+ {
+ class WindowEvent;
+ class WindowFocusListener;
+ }
+ }
+ }
+}
+
+class java::awt::event::WindowFocusListener : public ::java::lang::Object
+{
+
+public:
+ virtual void windowGainedFocus(::java::awt::event::WindowEvent *) = 0;
+ virtual void windowLostFocus(::java::awt::event::WindowEvent *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_awt_event_WindowFocusListener__
diff --git a/libjava/java/awt/event/WindowListener.h b/libjava/java/awt/event/WindowListener.h
new file mode 100644
index 0000000..b1b3109
--- /dev/null
+++ b/libjava/java/awt/event/WindowListener.h
@@ -0,0 +1,39 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_event_WindowListener__
+#define __java_awt_event_WindowListener__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace event
+ {
+ class WindowEvent;
+ class WindowListener;
+ }
+ }
+ }
+}
+
+class java::awt::event::WindowListener : public ::java::lang::Object
+{
+
+public:
+ virtual void windowOpened(::java::awt::event::WindowEvent *) = 0;
+ virtual void windowClosing(::java::awt::event::WindowEvent *) = 0;
+ virtual void windowClosed(::java::awt::event::WindowEvent *) = 0;
+ virtual void windowIconified(::java::awt::event::WindowEvent *) = 0;
+ virtual void windowDeiconified(::java::awt::event::WindowEvent *) = 0;
+ virtual void windowActivated(::java::awt::event::WindowEvent *) = 0;
+ virtual void windowDeactivated(::java::awt::event::WindowEvent *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_awt_event_WindowListener__
diff --git a/libjava/java/awt/event/WindowStateListener.h b/libjava/java/awt/event/WindowStateListener.h
new file mode 100644
index 0000000..459ad69
--- /dev/null
+++ b/libjava/java/awt/event/WindowStateListener.h
@@ -0,0 +1,33 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_event_WindowStateListener__
+#define __java_awt_event_WindowStateListener__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace event
+ {
+ class WindowEvent;
+ class WindowStateListener;
+ }
+ }
+ }
+}
+
+class java::awt::event::WindowStateListener : public ::java::lang::Object
+{
+
+public:
+ virtual void windowStateChanged(::java::awt::event::WindowEvent *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_awt_event_WindowStateListener__
diff --git a/libjava/java/awt/font/FontRenderContext.h b/libjava/java/awt/font/FontRenderContext.h
new file mode 100644
index 0000000..30fb597
--- /dev/null
+++ b/libjava/java/awt/font/FontRenderContext.h
@@ -0,0 +1,49 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_font_FontRenderContext__
+#define __java_awt_font_FontRenderContext__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace font
+ {
+ class FontRenderContext;
+ }
+ namespace geom
+ {
+ class AffineTransform;
+ }
+ }
+ }
+}
+
+class java::awt::font::FontRenderContext : public ::java::lang::Object
+{
+
+public: // actually protected
+ FontRenderContext();
+public:
+ FontRenderContext(::java::awt::geom::AffineTransform *, jboolean, jboolean);
+ virtual jboolean equals(::java::lang::Object *);
+ virtual jboolean equals(::java::awt::font::FontRenderContext *);
+ virtual ::java::awt::geom::AffineTransform * getTransform();
+ virtual jint hashCode();
+ virtual jboolean isAntiAliased();
+ virtual jboolean usesFractionalMetrics();
+private:
+ ::java::awt::geom::AffineTransform * __attribute__((aligned(__alignof__( ::java::lang::Object)))) affineTransform;
+ jboolean isAntiAliased__;
+ jboolean usesFractionalMetrics__;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_font_FontRenderContext__
diff --git a/libjava/java/awt/font/GlyphJustificationInfo.h b/libjava/java/awt/font/GlyphJustificationInfo.h
new file mode 100644
index 0000000..eb88066
--- /dev/null
+++ b/libjava/java/awt/font/GlyphJustificationInfo.h
@@ -0,0 +1,45 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_font_GlyphJustificationInfo__
+#define __java_awt_font_GlyphJustificationInfo__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace font
+ {
+ class GlyphJustificationInfo;
+ }
+ }
+ }
+}
+
+class java::awt::font::GlyphJustificationInfo : public ::java::lang::Object
+{
+
+public:
+ GlyphJustificationInfo(jfloat, jboolean, jint, jfloat, jfloat, jboolean, jint, jfloat, jfloat);
+ static const jint PRIORITY_KASHIDA = 0;
+ static const jint PRIORITY_WHITESPACE = 1;
+ static const jint PRIORITY_INTERCHAR = 2;
+ static const jint PRIORITY_NONE = 3;
+ jfloat __attribute__((aligned(__alignof__( ::java::lang::Object)))) weight;
+ jint growPriority;
+ jboolean growAbsorb;
+ jfloat growLeftLimit;
+ jfloat growRightLimit;
+ jint shrinkPriority;
+ jboolean shrinkAbsorb;
+ jfloat shrinkLeftLimit;
+ jfloat shrinkRightLimit;
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_font_GlyphJustificationInfo__
diff --git a/libjava/java/awt/font/GlyphMetrics.h b/libjava/java/awt/font/GlyphMetrics.h
new file mode 100644
index 0000000..7c44a20
--- /dev/null
+++ b/libjava/java/awt/font/GlyphMetrics.h
@@ -0,0 +1,61 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_font_GlyphMetrics__
+#define __java_awt_font_GlyphMetrics__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace font
+ {
+ class GlyphMetrics;
+ }
+ namespace geom
+ {
+ class Rectangle2D;
+ }
+ }
+ }
+}
+
+class java::awt::font::GlyphMetrics : public ::java::lang::Object
+{
+
+public:
+ GlyphMetrics(jboolean, jfloat, jfloat, ::java::awt::geom::Rectangle2D *, jbyte);
+ GlyphMetrics(jfloat, ::java::awt::geom::Rectangle2D *, jbyte);
+ jfloat getAdvance();
+ jfloat getAdvanceX();
+ jfloat getAdvanceY();
+ ::java::awt::geom::Rectangle2D * getBounds2D();
+ jfloat getLSB();
+ jfloat getRSB();
+ jint getType();
+ jboolean isCombining();
+ jboolean isComponent();
+ jboolean isLigature();
+ jboolean isStandard();
+ jboolean isWhitespace();
+ static const jbyte COMBINING = 2;
+ static const jbyte COMPONENT = 3;
+ static const jbyte LIGATURE = 1;
+ static const jbyte STANDARD = 0;
+ static const jbyte WHITESPACE = 4;
+private:
+ jboolean __attribute__((aligned(__alignof__( ::java::lang::Object)))) horizontal;
+ jfloat advanceX;
+ jfloat advanceY;
+ ::java::awt::geom::Rectangle2D * bounds;
+ jbyte glyphType;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_font_GlyphMetrics__
diff --git a/libjava/java/awt/font/GlyphVector.h b/libjava/java/awt/font/GlyphVector.h
new file mode 100644
index 0000000..67826af
--- /dev/null
+++ b/libjava/java/awt/font/GlyphVector.h
@@ -0,0 +1,78 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_font_GlyphVector__
+#define __java_awt_font_GlyphVector__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Font;
+ class Rectangle;
+ class Shape;
+ namespace font
+ {
+ class FontRenderContext;
+ class GlyphJustificationInfo;
+ class GlyphMetrics;
+ class GlyphVector;
+ }
+ namespace geom
+ {
+ class AffineTransform;
+ class Point2D;
+ class Rectangle2D;
+ }
+ }
+ }
+}
+
+class java::awt::font::GlyphVector : public ::java::lang::Object
+{
+
+public:
+ GlyphVector();
+ virtual jboolean equals(::java::awt::font::GlyphVector *) = 0;
+ virtual ::java::awt::Font * getFont() = 0;
+ virtual ::java::awt::font::FontRenderContext * getFontRenderContext() = 0;
+ virtual jint getGlyphCharIndex(jint);
+ virtual JArray< jint > * getGlyphCharIndices(jint, jint, JArray< jint > *);
+ virtual jint getGlyphCode(jint) = 0;
+ virtual JArray< jint > * getGlyphCodes(jint, jint, JArray< jint > *) = 0;
+ virtual ::java::awt::font::GlyphJustificationInfo * getGlyphJustificationInfo(jint) = 0;
+ virtual ::java::awt::Shape * getGlyphLogicalBounds(jint) = 0;
+ virtual ::java::awt::font::GlyphMetrics * getGlyphMetrics(jint) = 0;
+ virtual ::java::awt::Shape * getGlyphOutline(jint) = 0;
+ virtual ::java::awt::Shape * getGlyphOutline(jint, jfloat, jfloat);
+ virtual ::java::awt::Rectangle * getGlyphPixelBounds(jint, ::java::awt::font::FontRenderContext *, jfloat, jfloat);
+ virtual ::java::awt::geom::Point2D * getGlyphPosition(jint) = 0;
+ virtual JArray< jfloat > * getGlyphPositions(jint, jint, JArray< jfloat > *) = 0;
+ virtual ::java::awt::geom::AffineTransform * getGlyphTransform(jint) = 0;
+ virtual ::java::awt::Shape * getGlyphVisualBounds(jint) = 0;
+ virtual jint getLayoutFlags();
+ virtual ::java::awt::geom::Rectangle2D * getLogicalBounds() = 0;
+ virtual jint getNumGlyphs() = 0;
+ virtual ::java::awt::Shape * getOutline() = 0;
+ virtual ::java::awt::Shape * getOutline(jfloat, jfloat) = 0;
+ virtual ::java::awt::Rectangle * getPixelBounds(::java::awt::font::FontRenderContext *, jfloat, jfloat);
+ virtual ::java::awt::geom::Rectangle2D * getVisualBounds() = 0;
+ virtual void performDefaultLayout() = 0;
+ virtual void setGlyphPosition(jint, ::java::awt::geom::Point2D *) = 0;
+ virtual void setGlyphTransform(jint, ::java::awt::geom::AffineTransform *) = 0;
+ static const jint FLAG_COMPLEX_GLYPHS = 8;
+ static const jint FLAG_HAS_POSITION_ADJUSTMENTS = 2;
+ static const jint FLAG_HAS_TRANSFORMS = 1;
+ static const jint FLAG_MASK = 15;
+ static const jint FLAG_RUN_RTL = 4;
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_font_GlyphVector__
diff --git a/libjava/java/awt/font/GraphicAttribute.h b/libjava/java/awt/font/GraphicAttribute.h
new file mode 100644
index 0000000..622cbed
--- /dev/null
+++ b/libjava/java/awt/font/GraphicAttribute.h
@@ -0,0 +1,54 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_font_GraphicAttribute__
+#define __java_awt_font_GraphicAttribute__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Graphics2D;
+ namespace font
+ {
+ class GlyphJustificationInfo;
+ class GraphicAttribute;
+ }
+ namespace geom
+ {
+ class Rectangle2D;
+ }
+ }
+ }
+}
+
+class java::awt::font::GraphicAttribute : public ::java::lang::Object
+{
+
+public: // actually protected
+ GraphicAttribute(jint);
+public:
+ virtual void draw(::java::awt::Graphics2D *, jfloat, jfloat) = 0;
+ virtual jfloat getAdvance() = 0;
+ virtual jfloat getAscent() = 0;
+ virtual jfloat getDescent() = 0;
+ virtual jint getAlignment();
+ virtual ::java::awt::geom::Rectangle2D * getBounds();
+ virtual ::java::awt::font::GlyphJustificationInfo * getJustificationInfo();
+ static const jint BOTTOM_ALIGNMENT = -2;
+ static const jint CENTER_BASELINE = 1;
+ static const jint HANGING_BASELINE = 2;
+ static const jint ROMAN_BASELINE = 0;
+ static const jint TOP_ALIGNMENT = -1;
+private:
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) alignment;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_font_GraphicAttribute__
diff --git a/libjava/java/awt/font/ImageGraphicAttribute.h b/libjava/java/awt/font/ImageGraphicAttribute.h
new file mode 100644
index 0000000..086fc3d
--- /dev/null
+++ b/libjava/java/awt/font/ImageGraphicAttribute.h
@@ -0,0 +1,52 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_font_ImageGraphicAttribute__
+#define __java_awt_font_ImageGraphicAttribute__
+
+#pragma interface
+
+#include <java/awt/font/GraphicAttribute.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Graphics2D;
+ class Image;
+ namespace font
+ {
+ class ImageGraphicAttribute;
+ }
+ namespace geom
+ {
+ class Rectangle2D;
+ }
+ }
+ }
+}
+
+class java::awt::font::ImageGraphicAttribute : public ::java::awt::font::GraphicAttribute
+{
+
+public:
+ ImageGraphicAttribute(::java::awt::Image *, jint);
+ ImageGraphicAttribute(::java::awt::Image *, jint, jfloat, jfloat);
+ void draw(::java::awt::Graphics2D *, jfloat, jfloat);
+ jboolean equals(::java::lang::Object *);
+ jboolean equals(::java::awt::font::ImageGraphicAttribute *);
+ jfloat getAdvance();
+ jfloat getAscent();
+ ::java::awt::geom::Rectangle2D * getBounds();
+ jfloat getDescent();
+ jint hashCode();
+private:
+ ::java::awt::Image * __attribute__((aligned(__alignof__( ::java::awt::font::GraphicAttribute)))) image;
+ jfloat originX;
+ jfloat originY;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_font_ImageGraphicAttribute__
diff --git a/libjava/java/awt/font/LineBreakMeasurer.h b/libjava/java/awt/font/LineBreakMeasurer.h
new file mode 100644
index 0000000..3d862e7
--- /dev/null
+++ b/libjava/java/awt/font/LineBreakMeasurer.h
@@ -0,0 +1,55 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_font_LineBreakMeasurer__
+#define __java_awt_font_LineBreakMeasurer__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace font
+ {
+ class FontRenderContext;
+ class LineBreakMeasurer;
+ class TextLayout;
+ class TextMeasurer;
+ }
+ }
+ namespace text
+ {
+ class AttributedCharacterIterator;
+ class BreakIterator;
+ }
+ }
+}
+
+class java::awt::font::LineBreakMeasurer : public ::java::lang::Object
+{
+
+public:
+ LineBreakMeasurer(::java::text::AttributedCharacterIterator *, ::java::text::BreakIterator *, ::java::awt::font::FontRenderContext *);
+ LineBreakMeasurer(::java::text::AttributedCharacterIterator *, ::java::awt::font::FontRenderContext *);
+ void deleteChar(::java::text::AttributedCharacterIterator *, jint);
+ void insertChar(::java::text::AttributedCharacterIterator *, jint);
+ ::java::awt::font::TextLayout * nextLayout(jfloat);
+ ::java::awt::font::TextLayout * nextLayout(jfloat, jint, jboolean);
+ jint nextOffset(jfloat);
+ jint nextOffset(jfloat, jint, jboolean);
+ void setPosition(jint);
+ jint getPosition();
+private:
+ ::java::text::AttributedCharacterIterator * __attribute__((aligned(__alignof__( ::java::lang::Object)))) text;
+ jint position;
+ ::java::awt::font::TextMeasurer * tm;
+ jint numChars;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_font_LineBreakMeasurer__
diff --git a/libjava/java/awt/font/LineMetrics.h b/libjava/java/awt/font/LineMetrics.h
new file mode 100644
index 0000000..35b8594
--- /dev/null
+++ b/libjava/java/awt/font/LineMetrics.h
@@ -0,0 +1,45 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_font_LineMetrics__
+#define __java_awt_font_LineMetrics__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace font
+ {
+ class LineMetrics;
+ }
+ }
+ }
+}
+
+class java::awt::font::LineMetrics : public ::java::lang::Object
+{
+
+public:
+ LineMetrics();
+ virtual jfloat getAscent() = 0;
+ virtual jint getBaselineIndex() = 0;
+ virtual JArray< jfloat > * getBaselineOffsets() = 0;
+ virtual jfloat getDescent() = 0;
+ virtual jfloat getHeight() = 0;
+ virtual jfloat getLeading() = 0;
+ virtual jint getNumChars() = 0;
+ virtual jfloat getStrikethroughOffset() = 0;
+ virtual jfloat getStrikethroughThickness() = 0;
+ virtual jfloat getUnderlineOffset() = 0;
+ virtual jfloat getUnderlineThickness() = 0;
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_font_LineMetrics__
diff --git a/libjava/java/awt/font/MultipleMaster.h b/libjava/java/awt/font/MultipleMaster.h
new file mode 100644
index 0000000..99e4580
--- /dev/null
+++ b/libjava/java/awt/font/MultipleMaster.h
@@ -0,0 +1,40 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_font_MultipleMaster__
+#define __java_awt_font_MultipleMaster__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Font;
+ namespace font
+ {
+ class MultipleMaster;
+ }
+ }
+ }
+}
+
+class java::awt::font::MultipleMaster : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::awt::Font * deriveMMFont(JArray< jfloat > *) = 0;
+ virtual ::java::awt::Font * deriveMMFont(JArray< jfloat > *, jfloat, jfloat, jfloat, jfloat) = 0;
+ virtual JArray< jfloat > * getDesignAxisDefaults() = 0;
+ virtual JArray< ::java::lang::String * > * getDesignAxisNames() = 0;
+ virtual JArray< jfloat > * getDesignAxisRanges() = 0;
+ virtual jint getNumDesignAxes() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_awt_font_MultipleMaster__
diff --git a/libjava/java/awt/font/NumericShaper.h b/libjava/java/awt/font/NumericShaper.h
new file mode 100644
index 0000000..85f0d4c
--- /dev/null
+++ b/libjava/java/awt/font/NumericShaper.h
@@ -0,0 +1,75 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_font_NumericShaper__
+#define __java_awt_font_NumericShaper__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace font
+ {
+ class NumericShaper;
+ }
+ }
+ }
+}
+
+class java::awt::font::NumericShaper : public ::java::lang::Object
+{
+
+ NumericShaper(jint, jint);
+public:
+ jint getRanges();
+ jboolean isContextual();
+ void shape(JArray< jchar > *, jint, jint);
+private:
+ jint classify(::java::lang::Character$UnicodeBlock *);
+public:
+ void shape(JArray< jchar > *, jint, jint, jint);
+ jboolean equals(::java::lang::Object *);
+ jint hashCode();
+ ::java::lang::String * toString();
+ static ::java::awt::font::NumericShaper * getShaper(jint);
+ static ::java::awt::font::NumericShaper * getContextualShaper(jint);
+ static ::java::awt::font::NumericShaper * getContextualShaper(jint, jint);
+private:
+ static const jlong serialVersionUID = -8022764705923730308LL;
+public:
+ static const jint ALL_RANGES = 524287;
+ static const jint ARABIC = 2;
+ static const jint BENGALI = 16;
+ static const jint DEVANAGARI = 8;
+ static const jint EASTERN_ARABIC = 4;
+ static const jint ETHIOPIC = 65536;
+ static const jint EUROPEAN = 1;
+ static const jint GUJARATI = 64;
+ static const jint GURMUKHI = 32;
+ static const jint KANNADA = 1024;
+ static const jint KHMER = 131072;
+ static const jint LAO = 8192;
+ static const jint MALAYALAM = 2048;
+ static const jint MONGOLIAN = 262144;
+ static const jint MYANMAR = 32768;
+ static const jint ORIYA = 128;
+ static const jint TAMIL = 256;
+ static const jint TELUGU = 512;
+ static const jint THAI = 4096;
+ static const jint TIBETAN = 16384;
+private:
+ static JArray< jchar > * zeroDigits;
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) key;
+ jint mask;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_font_NumericShaper__
diff --git a/libjava/java/awt/font/OpenType.h b/libjava/java/awt/font/OpenType.h
new file mode 100644
index 0000000..bd1c0a6
--- /dev/null
+++ b/libjava/java/awt/font/OpenType.h
@@ -0,0 +1,91 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_font_OpenType__
+#define __java_awt_font_OpenType__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace font
+ {
+ class OpenType;
+ }
+ }
+ }
+}
+
+class java::awt::font::OpenType : public ::java::lang::Object
+{
+
+public:
+ virtual JArray< jbyte > * getFontTable(jint) = 0;
+ virtual JArray< jbyte > * getFontTable(jint, jint, jint) = 0;
+ virtual JArray< jbyte > * getFontTable(::java::lang::String *) = 0;
+ virtual JArray< jbyte > * getFontTable(::java::lang::String *, jint, jint) = 0;
+ virtual jint getFontTableSize(jint) = 0;
+ virtual jint getFontTableSize(::java::lang::String *) = 0;
+ virtual jint getVersion() = 0;
+ static const jint TAG_ACNT = 1633906292;
+ static const jint TAG_AVAR = 1635148146;
+ static const jint TAG_BASE = 1111577413;
+ static const jint TAG_BDAT = 1650745716;
+ static const jint TAG_BLOC = 1651273571;
+ static const jint TAG_BSLN = 1651731566;
+ static const jint TAG_CFF = 1128678944;
+ static const jint TAG_CMAP = 1668112752;
+ static const jint TAG_CVAR = 1668702578;
+ static const jint TAG_CVT = 1668707360;
+ static const jint TAG_DSIG = 1146308935;
+ static const jint TAG_EBDT = 1161970772;
+ static const jint TAG_EBLC = 1161972803;
+ static const jint TAG_EBSC = 1161974595;
+ static const jint TAG_FDSC = 1717859171;
+ static const jint TAG_FEAT = 1717920116;
+ static const jint TAG_FMTX = 1718449272;
+ static const jint TAG_FPGM = 1718642541;
+ static const jint TAG_FVAR = 1719034226;
+ static const jint TAG_GASP = 1734439792;
+ static const jint TAG_GDEF = 1195656518;
+ static const jint TAG_GLYF = 1735162214;
+ static const jint TAG_GPOS = 1196445523;
+ static const jint TAG_GSUB = 1196643650;
+ static const jint TAG_GVAR = 1735811442;
+ static const jint TAG_HDMX = 1751412088;
+ static const jint TAG_HEAD = 1751474532;
+ static const jint TAG_HHEA = 1751672161;
+ static const jint TAG_HMTX = 1752003704;
+ static const jint TAG_JSTF = 1246975046;
+ static const jint TAG_JUST = 1786082164;
+ static const jint TAG_KERN = 1801810542;
+ static const jint TAG_LCAR = 1818452338;
+ static const jint TAG_LOCA = 1819239265;
+ static const jint TAG_LTSH = 1280594760;
+ static const jint TAG_MAXP = 1835104368;
+ static const jint TAG_MMFX = 1296909912;
+ static const jint TAG_MMSD = 1296913220;
+ static const jint TAG_MORT = 1836020340;
+ static const jint TAG_NAME = 1851878757;
+ static const jint TAG_OPBD = 1836020340;
+ static const jint TAG_OS2 = 1330851634;
+ static const jint TAG_PCLT = 1346587732;
+ static const jint TAG_POST = 1886352244;
+ static const jint TAG_PREP = 1886545264;
+ static const jint TAG_PROP = 1886547824;
+ static const jint TAG_TRAK = 1953653099;
+ static const jint TAG_TYP1 = 1954115633;
+ static const jint TAG_VDMX = 1447316824;
+ static const jint TAG_VHEA = 1986553185;
+ static const jint TAG_VMTX = 1986884728;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_awt_font_OpenType__
diff --git a/libjava/java/awt/font/ShapeGraphicAttribute.h b/libjava/java/awt/font/ShapeGraphicAttribute.h
new file mode 100644
index 0000000..fd8d1be
--- /dev/null
+++ b/libjava/java/awt/font/ShapeGraphicAttribute.h
@@ -0,0 +1,53 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_font_ShapeGraphicAttribute__
+#define __java_awt_font_ShapeGraphicAttribute__
+
+#pragma interface
+
+#include <java/awt/font/GraphicAttribute.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Graphics2D;
+ class Shape;
+ namespace font
+ {
+ class ShapeGraphicAttribute;
+ }
+ namespace geom
+ {
+ class Rectangle2D;
+ }
+ }
+ }
+}
+
+class java::awt::font::ShapeGraphicAttribute : public ::java::awt::font::GraphicAttribute
+{
+
+public:
+ ShapeGraphicAttribute(::java::awt::Shape *, jint, jboolean);
+ void draw(::java::awt::Graphics2D *, jfloat, jfloat);
+ jboolean equals(::java::lang::Object *);
+ jboolean equals(::java::awt::font::ShapeGraphicAttribute *);
+ jfloat getAdvance();
+ jfloat getAscent();
+ jfloat getDescent();
+ ::java::awt::geom::Rectangle2D * getBounds();
+ jint hashCode();
+ static const jboolean FILL = 0;
+ static const jboolean STROKE = 1;
+private:
+ ::java::awt::Shape * __attribute__((aligned(__alignof__( ::java::awt::font::GraphicAttribute)))) shape;
+ jboolean stroke;
+ ::java::awt::geom::Rectangle2D * bounds;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_font_ShapeGraphicAttribute__
diff --git a/libjava/java/awt/font/TextAttribute.h b/libjava/java/awt/font/TextAttribute.h
new file mode 100644
index 0000000..050d714
--- /dev/null
+++ b/libjava/java/awt/font/TextAttribute.h
@@ -0,0 +1,88 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_font_TextAttribute__
+#define __java_awt_font_TextAttribute__
+
+#pragma interface
+
+#include <java/text/AttributedCharacterIterator$Attribute.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace font
+ {
+ class TextAttribute;
+ }
+ }
+ }
+}
+
+class java::awt::font::TextAttribute : public ::java::text::AttributedCharacterIterator$Attribute
+{
+
+public: // actually protected
+ TextAttribute(::java::lang::String *);
+ ::java::lang::Object * readResolve();
+private:
+ static const jlong serialVersionUID = 7744112784117861702LL;
+public:
+ static ::java::awt::font::TextAttribute * BACKGROUND;
+ static ::java::awt::font::TextAttribute * BIDI_EMBEDDING;
+ static ::java::awt::font::TextAttribute * CHAR_REPLACEMENT;
+ static ::java::awt::font::TextAttribute * FAMILY;
+ static ::java::awt::font::TextAttribute * FONT;
+ static ::java::awt::font::TextAttribute * FOREGROUND;
+ static ::java::awt::font::TextAttribute * INPUT_METHOD_HIGHLIGHT;
+ static ::java::awt::font::TextAttribute * INPUT_METHOD_UNDERLINE;
+ static ::java::awt::font::TextAttribute * JUSTIFICATION;
+ static ::java::lang::Float * JUSTIFICATION_FULL;
+ static ::java::lang::Float * JUSTIFICATION_NONE;
+ static ::java::awt::font::TextAttribute * NUMERIC_SHAPING;
+ static ::java::awt::font::TextAttribute * POSTURE;
+ static ::java::lang::Float * POSTURE_OBLIQUE;
+ static ::java::lang::Float * POSTURE_REGULAR;
+ static ::java::awt::font::TextAttribute * RUN_DIRECTION;
+ static ::java::lang::Boolean * RUN_DIRECTION_LTR;
+ static ::java::lang::Boolean * RUN_DIRECTION_RTL;
+ static ::java::awt::font::TextAttribute * SIZE;
+ static ::java::awt::font::TextAttribute * STRIKETHROUGH;
+ static ::java::lang::Boolean * STRIKETHROUGH_ON;
+ static ::java::awt::font::TextAttribute * SUPERSCRIPT;
+ static ::java::lang::Integer * SUPERSCRIPT_SUB;
+ static ::java::lang::Integer * SUPERSCRIPT_SUPER;
+ static ::java::awt::font::TextAttribute * SWAP_COLORS;
+ static ::java::lang::Boolean * SWAP_COLORS_ON;
+ static ::java::awt::font::TextAttribute * TRANSFORM;
+ static ::java::awt::font::TextAttribute * UNDERLINE;
+ static ::java::lang::Integer * UNDERLINE_LOW_DASHED;
+ static ::java::lang::Integer * UNDERLINE_LOW_DOTTED;
+ static ::java::lang::Integer * UNDERLINE_LOW_GRAY;
+ static ::java::lang::Integer * UNDERLINE_LOW_ONE_PIXEL;
+ static ::java::lang::Integer * UNDERLINE_LOW_TWO_PIXEL;
+ static ::java::lang::Integer * UNDERLINE_ON;
+ static ::java::awt::font::TextAttribute * WEIGHT;
+ static ::java::lang::Float * WEIGHT_BOLD;
+ static ::java::lang::Float * WEIGHT_DEMIBOLD;
+ static ::java::lang::Float * WEIGHT_DEMILIGHT;
+ static ::java::lang::Float * WEIGHT_EXTRA_LIGHT;
+ static ::java::lang::Float * WEIGHT_EXTRABOLD;
+ static ::java::lang::Float * WEIGHT_HEAVY;
+ static ::java::lang::Float * WEIGHT_LIGHT;
+ static ::java::lang::Float * WEIGHT_MEDIUM;
+ static ::java::lang::Float * WEIGHT_REGULAR;
+ static ::java::lang::Float * WEIGHT_SEMIBOLD;
+ static ::java::lang::Float * WEIGHT_ULTRABOLD;
+ static ::java::awt::font::TextAttribute * WIDTH;
+ static ::java::lang::Float * WIDTH_CONDENSED;
+ static ::java::lang::Float * WIDTH_EXTENDED;
+ static ::java::lang::Float * WIDTH_REGULAR;
+ static ::java::lang::Float * WIDTH_SEMI_CONDENSED;
+ static ::java::lang::Float * WIDTH_SEMI_EXTENDED;
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_font_TextAttribute__
diff --git a/libjava/java/awt/font/TextHitInfo.h b/libjava/java/awt/font/TextHitInfo.h
new file mode 100644
index 0000000..a387458
--- /dev/null
+++ b/libjava/java/awt/font/TextHitInfo.h
@@ -0,0 +1,50 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_font_TextHitInfo__
+#define __java_awt_font_TextHitInfo__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace font
+ {
+ class TextHitInfo;
+ }
+ }
+ }
+}
+
+class java::awt::font::TextHitInfo : public ::java::lang::Object
+{
+
+public: // actually package-private
+ TextHitInfo(jint, jboolean);
+public:
+ jint getCharIndex();
+ jboolean isLeadingEdge();
+ jint getInsertionIndex();
+ jint hashCode();
+ jboolean equals(::java::lang::Object *);
+ jboolean equals(::java::awt::font::TextHitInfo *);
+ static ::java::awt::font::TextHitInfo * leading(jint);
+ static ::java::awt::font::TextHitInfo * trailing(jint);
+ static ::java::awt::font::TextHitInfo * beforeOffset(jint);
+ static ::java::awt::font::TextHitInfo * afterOffset(jint);
+ ::java::awt::font::TextHitInfo * getOtherHit();
+ ::java::awt::font::TextHitInfo * getOffsetHit(jint);
+ ::java::lang::String * toString();
+private:
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) charIndex;
+ jboolean leadingEdge;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_font_TextHitInfo__
diff --git a/libjava/java/awt/font/TextLayout$CaretPolicy.h b/libjava/java/awt/font/TextLayout$CaretPolicy.h
new file mode 100644
index 0000000..adb7b0d
--- /dev/null
+++ b/libjava/java/awt/font/TextLayout$CaretPolicy.h
@@ -0,0 +1,35 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_font_TextLayout$CaretPolicy__
+#define __java_awt_font_TextLayout$CaretPolicy__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace font
+ {
+ class TextHitInfo;
+ class TextLayout;
+ class TextLayout$CaretPolicy;
+ }
+ }
+ }
+}
+
+class java::awt::font::TextLayout$CaretPolicy : public ::java::lang::Object
+{
+
+public:
+ TextLayout$CaretPolicy();
+ virtual ::java::awt::font::TextHitInfo * getStrongCaret(::java::awt::font::TextHitInfo *, ::java::awt::font::TextHitInfo *, ::java::awt::font::TextLayout *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_font_TextLayout$CaretPolicy__
diff --git a/libjava/java/awt/font/TextLayout$Run.h b/libjava/java/awt/font/TextLayout$Run.h
new file mode 100644
index 0000000..3760b6e
--- /dev/null
+++ b/libjava/java/awt/font/TextLayout$Run.h
@@ -0,0 +1,43 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_font_TextLayout$Run__
+#define __java_awt_font_TextLayout$Run__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Font;
+ namespace font
+ {
+ class GlyphVector;
+ class TextLayout;
+ class TextLayout$Run;
+ }
+ }
+ }
+}
+
+class java::awt::font::TextLayout$Run : public ::java::lang::Object
+{
+
+public: // actually package-private
+ TextLayout$Run(::java::awt::font::TextLayout *, ::java::awt::font::GlyphVector *, ::java::awt::Font *, jint, jint);
+ virtual jboolean isLeftToRight();
+ ::java::awt::font::GlyphVector * __attribute__((aligned(__alignof__( ::java::lang::Object)))) glyphVector;
+ ::java::awt::Font * font;
+ jint runStart;
+ jint runEnd;
+ jfloat location;
+ ::java::awt::font::TextLayout * this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_font_TextLayout$Run__
diff --git a/libjava/java/awt/font/TextLayout.h b/libjava/java/awt/font/TextLayout.h
new file mode 100644
index 0000000..f5c02ba
--- /dev/null
+++ b/libjava/java/awt/font/TextLayout.h
@@ -0,0 +1,140 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_font_TextLayout__
+#define __java_awt_font_TextLayout__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Font;
+ class Graphics2D;
+ class Shape;
+ namespace font
+ {
+ class FontRenderContext;
+ class LineMetrics;
+ class TextHitInfo;
+ class TextLayout;
+ class TextLayout$CaretPolicy;
+ class TextLayout$Run;
+ }
+ namespace geom
+ {
+ class AffineTransform;
+ class Rectangle2D;
+ }
+ }
+ namespace text
+ {
+ class AttributedCharacterIterator;
+ class Bidi;
+ }
+ }
+}
+
+class java::awt::font::TextLayout : public ::java::lang::Object
+{
+
+public:
+ TextLayout(::java::lang::String *, ::java::awt::Font *, ::java::awt::font::FontRenderContext *);
+ TextLayout(::java::lang::String *, ::java::util::Map *, ::java::awt::font::FontRenderContext *);
+ TextLayout(::java::text::AttributedCharacterIterator *, ::java::awt::font::FontRenderContext *);
+public: // actually package-private
+ TextLayout(::java::awt::font::TextLayout *, jint, jint);
+private:
+ void setCharIndices();
+ void setupMappings();
+ static ::java::lang::String * getText(::java::text::AttributedCharacterIterator *);
+ static ::java::awt::Font * getFont(::java::text::AttributedCharacterIterator *);
+ void getStringProperties();
+ void determineWhiteSpace();
+public: // actually protected
+ ::java::lang::Object * clone();
+public:
+ void draw(::java::awt::Graphics2D *, jfloat, jfloat);
+ jboolean equals(::java::lang::Object *);
+ jboolean equals(::java::awt::font::TextLayout *);
+ jfloat getAdvance();
+ jfloat getAscent();
+ jbyte getBaseline();
+ JArray< jfloat > * getBaselineOffsets();
+ ::java::awt::Shape * getBlackBoxBounds(jint, jint);
+ ::java::awt::geom::Rectangle2D * getBounds();
+ JArray< jfloat > * getCaretInfo(::java::awt::font::TextHitInfo *);
+ JArray< jfloat > * getCaretInfo(::java::awt::font::TextHitInfo *, ::java::awt::geom::Rectangle2D *);
+ ::java::awt::Shape * getCaretShape(::java::awt::font::TextHitInfo *);
+ ::java::awt::Shape * getCaretShape(::java::awt::font::TextHitInfo *, ::java::awt::geom::Rectangle2D *);
+ JArray< ::java::awt::Shape * > * getCaretShapes(jint);
+ JArray< ::java::awt::Shape * > * getCaretShapes(jint, ::java::awt::geom::Rectangle2D *);
+ JArray< ::java::awt::Shape * > * getCaretShapes(jint, ::java::awt::geom::Rectangle2D *, ::java::awt::font::TextLayout$CaretPolicy *);
+ jint getCharacterCount();
+ jbyte getCharacterLevel(jint);
+ jfloat getDescent();
+ ::java::awt::font::TextLayout * getJustifiedLayout(jfloat);
+ jfloat getLeading();
+ ::java::awt::Shape * getLogicalHighlightShape(jint, jint);
+ ::java::awt::Shape * getLogicalHighlightShape(jint, jint, ::java::awt::geom::Rectangle2D *);
+ JArray< jint > * getLogicalRangesForVisualSelection(::java::awt::font::TextHitInfo *, ::java::awt::font::TextHitInfo *);
+ ::java::awt::font::TextHitInfo * getNextLeftHit(jint);
+ ::java::awt::font::TextHitInfo * getNextLeftHit(jint, ::java::awt::font::TextLayout$CaretPolicy *);
+ ::java::awt::font::TextHitInfo * getNextLeftHit(::java::awt::font::TextHitInfo *);
+ ::java::awt::font::TextHitInfo * getNextRightHit(jint);
+ ::java::awt::font::TextHitInfo * getNextRightHit(jint, ::java::awt::font::TextLayout$CaretPolicy *);
+ ::java::awt::font::TextHitInfo * getNextRightHit(::java::awt::font::TextHitInfo *);
+ ::java::awt::Shape * getOutline(::java::awt::geom::AffineTransform *);
+ jfloat getVisibleAdvance();
+ ::java::awt::Shape * getVisualHighlightShape(::java::awt::font::TextHitInfo *, ::java::awt::font::TextHitInfo *);
+ ::java::awt::Shape * getVisualHighlightShape(::java::awt::font::TextHitInfo *, ::java::awt::font::TextHitInfo *, ::java::awt::geom::Rectangle2D *);
+private:
+ ::java::awt::Shape * left(::java::awt::geom::Rectangle2D *);
+ ::java::awt::Shape * right(::java::awt::geom::Rectangle2D *);
+public:
+ ::java::awt::font::TextHitInfo * getVisualOtherHit(::java::awt::font::TextHitInfo *);
+public: // actually protected
+ void handleJustify(jfloat);
+public:
+ ::java::awt::font::TextHitInfo * hitTestChar(jfloat, jfloat);
+ ::java::awt::font::TextHitInfo * hitTestChar(jfloat, jfloat, ::java::awt::geom::Rectangle2D *);
+ jboolean isLeftToRight();
+ jboolean isVertical();
+ jint hashCode();
+ ::java::lang::String * toString();
+private:
+ ::java::awt::geom::Rectangle2D * getNaturalBounds();
+ void checkHitInfo(::java::awt::font::TextHitInfo *);
+ jint hitToCaret(::java::awt::font::TextHitInfo *);
+ ::java::awt::font::TextHitInfo * caretToHit(jint);
+ jboolean isCharacterLTR(jint);
+ ::java::awt::font::TextLayout$Run * findRunAtIndex(jint);
+ void layoutRuns();
+ JArray< ::java::awt::font::TextLayout$Run * > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) runs;
+ ::java::awt::font::FontRenderContext * frc;
+ JArray< jchar > * string;
+ jint offset;
+ jint length;
+ ::java::awt::geom::Rectangle2D * boundsCache;
+ ::java::awt::font::LineMetrics * lm;
+ jfloat totalAdvance;
+ ::java::awt::geom::Rectangle2D * naturalBounds;
+ JArray< JArray< jint > * > * charIndices;
+ jboolean leftToRight;
+ jboolean hasWhitespace;
+ ::java::text::Bidi * bidi;
+ JArray< jint > * logicalToVisual;
+ JArray< jint > * visualToLogical;
+ jint hash;
+public:
+ static ::java::awt::font::TextLayout$CaretPolicy * DEFAULT_CARET_POLICY;
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_font_TextLayout__
diff --git a/libjava/java/awt/font/TextMeasurer.h b/libjava/java/awt/font/TextMeasurer.h
new file mode 100644
index 0000000..31ca7b2
--- /dev/null
+++ b/libjava/java/awt/font/TextMeasurer.h
@@ -0,0 +1,52 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_font_TextMeasurer__
+#define __java_awt_font_TextMeasurer__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace font
+ {
+ class FontRenderContext;
+ class TextLayout;
+ class TextMeasurer;
+ }
+ }
+ namespace text
+ {
+ class AttributedCharacterIterator;
+ }
+ }
+}
+
+class java::awt::font::TextMeasurer : public ::java::lang::Object
+{
+
+public:
+ TextMeasurer(::java::text::AttributedCharacterIterator *, ::java::awt::font::FontRenderContext *);
+public: // actually protected
+ ::java::lang::Object * clone();
+public:
+ void deleteChar(::java::text::AttributedCharacterIterator *, jint);
+ void insertChar(::java::text::AttributedCharacterIterator *, jint);
+ jfloat getAdvanceBetween(jint, jint);
+ ::java::awt::font::TextLayout * getLayout(jint, jint);
+ jint getLineBreakIndex(jint, jfloat);
+private:
+ ::java::text::AttributedCharacterIterator * __attribute__((aligned(__alignof__( ::java::lang::Object)))) text;
+ ::java::awt::font::FontRenderContext * frc;
+ ::java::awt::font::TextLayout * totalLayout;
+ jint numChars;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_font_TextMeasurer__
diff --git a/libjava/java/awt/font/TransformAttribute.h b/libjava/java/awt/font/TransformAttribute.h
new file mode 100644
index 0000000..16875a2
--- /dev/null
+++ b/libjava/java/awt/font/TransformAttribute.h
@@ -0,0 +1,42 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_font_TransformAttribute__
+#define __java_awt_font_TransformAttribute__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace font
+ {
+ class TransformAttribute;
+ }
+ namespace geom
+ {
+ class AffineTransform;
+ }
+ }
+ }
+}
+
+class java::awt::font::TransformAttribute : public ::java::lang::Object
+{
+
+public:
+ TransformAttribute(::java::awt::geom::AffineTransform *);
+ ::java::awt::geom::AffineTransform * getTransform();
+ jboolean isIdentity();
+private:
+ static const jlong serialVersionUID = 3356247357827709530LL;
+ ::java::awt::geom::AffineTransform * __attribute__((aligned(__alignof__( ::java::lang::Object)))) affineTransform;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_font_TransformAttribute__
diff --git a/libjava/java/awt/geom/AffineTransform.h b/libjava/java/awt/geom/AffineTransform.h
new file mode 100644
index 0000000..4c5efc8
--- /dev/null
+++ b/libjava/java/awt/geom/AffineTransform.h
@@ -0,0 +1,111 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_geom_AffineTransform__
+#define __java_awt_geom_AffineTransform__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Shape;
+ namespace geom
+ {
+ class AffineTransform;
+ class Point2D;
+ }
+ }
+ }
+}
+
+class java::awt::geom::AffineTransform : public ::java::lang::Object
+{
+
+public:
+ AffineTransform();
+ AffineTransform(::java::awt::geom::AffineTransform *);
+ AffineTransform(jfloat, jfloat, jfloat, jfloat, jfloat, jfloat);
+ AffineTransform(JArray< jfloat > *);
+ AffineTransform(jdouble, jdouble, jdouble, jdouble, jdouble, jdouble);
+ AffineTransform(JArray< jdouble > *);
+ static ::java::awt::geom::AffineTransform * getTranslateInstance(jdouble, jdouble);
+ static ::java::awt::geom::AffineTransform * getRotateInstance(jdouble);
+ static ::java::awt::geom::AffineTransform * getRotateInstance(jdouble, jdouble, jdouble);
+ static ::java::awt::geom::AffineTransform * getScaleInstance(jdouble, jdouble);
+ static ::java::awt::geom::AffineTransform * getShearInstance(jdouble, jdouble);
+ virtual jint getType();
+ virtual jdouble getDeterminant();
+ virtual void getMatrix(JArray< jdouble > *);
+ virtual jdouble getScaleX();
+ virtual jdouble getScaleY();
+ virtual jdouble getShearX();
+ virtual jdouble getShearY();
+ virtual jdouble getTranslateX();
+ virtual jdouble getTranslateY();
+ virtual void translate(jdouble, jdouble);
+ virtual void rotate(jdouble);
+ virtual void rotate(jdouble, jdouble, jdouble);
+ virtual void scale(jdouble, jdouble);
+ virtual void shear(jdouble, jdouble);
+ virtual void setToIdentity();
+ virtual void setToTranslation(jdouble, jdouble);
+ virtual void setToRotation(jdouble);
+ virtual void setToRotation(jdouble, jdouble, jdouble);
+ virtual void setToScale(jdouble, jdouble);
+ virtual void setToShear(jdouble, jdouble);
+ virtual void setTransform(::java::awt::geom::AffineTransform *);
+ virtual void setTransform(jdouble, jdouble, jdouble, jdouble, jdouble, jdouble);
+ virtual void concatenate(::java::awt::geom::AffineTransform *);
+ virtual void preConcatenate(::java::awt::geom::AffineTransform *);
+ virtual ::java::awt::geom::AffineTransform * createInverse();
+ virtual ::java::awt::geom::Point2D * transform(::java::awt::geom::Point2D *, ::java::awt::geom::Point2D *);
+ virtual void transform(JArray< ::java::awt::geom::Point2D * > *, jint, JArray< ::java::awt::geom::Point2D * > *, jint, jint);
+ virtual void transform(JArray< jfloat > *, jint, JArray< jfloat > *, jint, jint);
+ virtual void transform(JArray< jdouble > *, jint, JArray< jdouble > *, jint, jint);
+ virtual void transform(JArray< jfloat > *, jint, JArray< jdouble > *, jint, jint);
+ virtual void transform(JArray< jdouble > *, jint, JArray< jfloat > *, jint, jint);
+ virtual ::java::awt::geom::Point2D * inverseTransform(::java::awt::geom::Point2D *, ::java::awt::geom::Point2D *);
+ virtual void inverseTransform(JArray< jdouble > *, jint, JArray< jdouble > *, jint, jint);
+ virtual ::java::awt::geom::Point2D * deltaTransform(::java::awt::geom::Point2D *, ::java::awt::geom::Point2D *);
+ virtual void deltaTransform(JArray< jdouble > *, jint, JArray< jdouble > *, jint, jint);
+ virtual ::java::awt::Shape * createTransformedShape(::java::awt::Shape *);
+ virtual ::java::lang::String * toString();
+ virtual jboolean isIdentity();
+ virtual ::java::lang::Object * clone();
+ virtual jint hashCode();
+ virtual jboolean equals(::java::lang::Object *);
+private:
+ void updateType();
+ void readObject(::java::io::ObjectInputStream *);
+ static const jlong serialVersionUID = 1330973210523860834LL;
+public:
+ static const jint TYPE_IDENTITY = 0;
+ static const jint TYPE_TRANSLATION = 1;
+ static const jint TYPE_UNIFORM_SCALE = 2;
+ static const jint TYPE_GENERAL_SCALE = 4;
+ static const jint TYPE_MASK_SCALE = 6;
+ static const jint TYPE_FLIP = 64;
+ static const jint TYPE_QUADRANT_ROTATION = 8;
+ static const jint TYPE_GENERAL_ROTATION = 16;
+ static const jint TYPE_MASK_ROTATION = 24;
+ static const jint TYPE_GENERAL_TRANSFORM = 32;
+private:
+ jdouble __attribute__((aligned(__alignof__( ::java::lang::Object)))) m00;
+ jdouble m10;
+ jdouble m01;
+ jdouble m11;
+ jdouble m02;
+ jdouble m12;
+ jint type;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_geom_AffineTransform__
diff --git a/libjava/java/awt/geom/Arc2D$ArcIterator.h b/libjava/java/awt/geom/Arc2D$ArcIterator.h
new file mode 100644
index 0000000..4fdf0e1
--- /dev/null
+++ b/libjava/java/awt/geom/Arc2D$ArcIterator.h
@@ -0,0 +1,55 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_geom_Arc2D$ArcIterator__
+#define __java_awt_geom_Arc2D$ArcIterator__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace geom
+ {
+ class AffineTransform;
+ class Arc2D;
+ class Arc2D$ArcIterator;
+ class Ellipse2D;
+ }
+ }
+ }
+}
+
+class java::awt::geom::Arc2D$ArcIterator : public ::java::lang::Object
+{
+
+public:
+ Arc2D$ArcIterator(::java::awt::geom::Arc2D *, ::java::awt::geom::AffineTransform *);
+ Arc2D$ArcIterator(::java::awt::geom::Ellipse2D *, ::java::awt::geom::AffineTransform *);
+ jint getWindingRule();
+ jboolean isDone();
+ void next();
+ jint currentSegment(JArray< jfloat > *);
+ jint currentSegment(JArray< jdouble > *);
+private:
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) current;
+ jint limit;
+ ::java::awt::geom::AffineTransform * xform;
+ jdouble x;
+ jdouble y;
+ jdouble w;
+ jdouble h;
+ jdouble start;
+ jdouble extent;
+ jint type;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_geom_Arc2D$ArcIterator__
diff --git a/libjava/java/awt/geom/Arc2D$Double.h b/libjava/java/awt/geom/Arc2D$Double.h
new file mode 100644
index 0000000..d39148b
--- /dev/null
+++ b/libjava/java/awt/geom/Arc2D$Double.h
@@ -0,0 +1,55 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_geom_Arc2D$Double__
+#define __java_awt_geom_Arc2D$Double__
+
+#pragma interface
+
+#include <java/awt/geom/Arc2D.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace geom
+ {
+ class Arc2D$Double;
+ class Rectangle2D;
+ }
+ }
+ }
+}
+
+class java::awt::geom::Arc2D$Double : public ::java::awt::geom::Arc2D
+{
+
+public:
+ Arc2D$Double();
+ Arc2D$Double(jint);
+ Arc2D$Double(jdouble, jdouble, jdouble, jdouble, jdouble, jdouble, jint);
+ Arc2D$Double(::java::awt::geom::Rectangle2D *, jdouble, jdouble, jint);
+ virtual jdouble getX();
+ virtual jdouble getY();
+ virtual jdouble getWidth();
+ virtual jdouble getHeight();
+ virtual jdouble getAngleStart();
+ virtual jdouble getAngleExtent();
+ virtual jboolean isEmpty();
+ virtual void setArc(jdouble, jdouble, jdouble, jdouble, jdouble, jdouble, jint);
+ virtual void setAngleStart(jdouble);
+ virtual void setAngleExtent(jdouble);
+public: // actually protected
+ virtual ::java::awt::geom::Rectangle2D * makeBounds(jdouble, jdouble, jdouble, jdouble);
+public:
+ jdouble __attribute__((aligned(__alignof__( ::java::awt::geom::Arc2D)))) x;
+ jdouble y;
+ jdouble width;
+ jdouble height;
+ jdouble start;
+ jdouble extent;
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_geom_Arc2D$Double__
diff --git a/libjava/java/awt/geom/Arc2D$Float.h b/libjava/java/awt/geom/Arc2D$Float.h
new file mode 100644
index 0000000..925c425
--- /dev/null
+++ b/libjava/java/awt/geom/Arc2D$Float.h
@@ -0,0 +1,55 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_geom_Arc2D$Float__
+#define __java_awt_geom_Arc2D$Float__
+
+#pragma interface
+
+#include <java/awt/geom/Arc2D.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace geom
+ {
+ class Arc2D$Float;
+ class Rectangle2D;
+ }
+ }
+ }
+}
+
+class java::awt::geom::Arc2D$Float : public ::java::awt::geom::Arc2D
+{
+
+public:
+ Arc2D$Float();
+ Arc2D$Float(jint);
+ Arc2D$Float(jfloat, jfloat, jfloat, jfloat, jfloat, jfloat, jint);
+ Arc2D$Float(::java::awt::geom::Rectangle2D *, jfloat, jfloat, jint);
+ virtual jdouble getX();
+ virtual jdouble getY();
+ virtual jdouble getWidth();
+ virtual jdouble getHeight();
+ virtual jdouble getAngleStart();
+ virtual jdouble getAngleExtent();
+ virtual jboolean isEmpty();
+ virtual void setArc(jdouble, jdouble, jdouble, jdouble, jdouble, jdouble, jint);
+ virtual void setAngleStart(jdouble);
+ virtual void setAngleExtent(jdouble);
+public: // actually protected
+ virtual ::java::awt::geom::Rectangle2D * makeBounds(jdouble, jdouble, jdouble, jdouble);
+public:
+ jfloat __attribute__((aligned(__alignof__( ::java::awt::geom::Arc2D)))) x;
+ jfloat y;
+ jfloat width;
+ jfloat height;
+ jfloat start;
+ jfloat extent;
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_geom_Arc2D$Float__
diff --git a/libjava/java/awt/geom/Arc2D.h b/libjava/java/awt/geom/Arc2D.h
new file mode 100644
index 0000000..d2bfc75
--- /dev/null
+++ b/libjava/java/awt/geom/Arc2D.h
@@ -0,0 +1,72 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_geom_Arc2D__
+#define __java_awt_geom_Arc2D__
+
+#pragma interface
+
+#include <java/awt/geom/RectangularShape.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace geom
+ {
+ class AffineTransform;
+ class Arc2D;
+ class Dimension2D;
+ class PathIterator;
+ class Point2D;
+ class Rectangle2D;
+ }
+ }
+ }
+}
+
+class java::awt::geom::Arc2D : public ::java::awt::geom::RectangularShape
+{
+
+public: // actually protected
+ Arc2D(jint);
+public:
+ virtual jdouble getAngleStart() = 0;
+ virtual jdouble getAngleExtent() = 0;
+ virtual jint getArcType();
+ virtual ::java::awt::geom::Point2D * getStartPoint();
+ virtual ::java::awt::geom::Point2D * getEndPoint();
+ virtual void setArc(jdouble, jdouble, jdouble, jdouble, jdouble, jdouble, jint) = 0;
+ virtual void setArc(::java::awt::geom::Point2D *, ::java::awt::geom::Dimension2D *, jdouble, jdouble, jint);
+ virtual void setArc(::java::awt::geom::Rectangle2D *, jdouble, jdouble, jint);
+ virtual void setArc(::java::awt::geom::Arc2D *);
+ virtual void setArcByCenter(jdouble, jdouble, jdouble, jdouble, jdouble, jint);
+ virtual void setArcByTangent(::java::awt::geom::Point2D *, ::java::awt::geom::Point2D *, ::java::awt::geom::Point2D *, jdouble);
+ virtual void setAngleStart(jdouble) = 0;
+ virtual void setAngleExtent(jdouble) = 0;
+ virtual void setAngleStart(::java::awt::geom::Point2D *);
+ virtual void setAngles(jdouble, jdouble, jdouble, jdouble);
+ virtual void setAngles(::java::awt::geom::Point2D *, ::java::awt::geom::Point2D *);
+ virtual void setArcType(jint);
+ virtual void setFrame(jdouble, jdouble, jdouble, jdouble);
+ virtual ::java::awt::geom::Rectangle2D * getBounds2D();
+public: // actually protected
+ virtual ::java::awt::geom::Rectangle2D * makeBounds(jdouble, jdouble, jdouble, jdouble) = 0;
+public:
+ virtual jboolean containsAngle(jdouble);
+ virtual jboolean contains(jdouble, jdouble);
+ virtual jboolean intersects(jdouble, jdouble, jdouble, jdouble);
+ virtual jboolean contains(jdouble, jdouble, jdouble, jdouble);
+ virtual jboolean contains(::java::awt::geom::Rectangle2D *);
+ virtual ::java::awt::geom::PathIterator * getPathIterator(::java::awt::geom::AffineTransform *);
+ static const jint OPEN = 0;
+ static const jint CHORD = 1;
+ static const jint PIE = 2;
+public: // actually package-private
+ jint __attribute__((aligned(__alignof__( ::java::awt::geom::RectangularShape)))) type;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_geom_Arc2D__
diff --git a/libjava/java/awt/geom/Area$AreaIterator$IteratorSegment.h b/libjava/java/awt/geom/Area$AreaIterator$IteratorSegment.h
new file mode 100644
index 0000000..2dfcf31
--- /dev/null
+++ b/libjava/java/awt/geom/Area$AreaIterator$IteratorSegment.h
@@ -0,0 +1,39 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_geom_Area$AreaIterator$IteratorSegment__
+#define __java_awt_geom_Area$AreaIterator$IteratorSegment__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace geom
+ {
+ class Area$AreaIterator;
+ class Area$AreaIterator$IteratorSegment;
+ }
+ }
+ }
+}
+
+class java::awt::geom::Area$AreaIterator$IteratorSegment : public ::java::lang::Object
+{
+
+public: // actually package-private
+ Area$AreaIterator$IteratorSegment(::java::awt::geom::Area$AreaIterator *);
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) type;
+ JArray< jdouble > * coords;
+ ::java::awt::geom::Area$AreaIterator * this$1;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_geom_Area$AreaIterator$IteratorSegment__
diff --git a/libjava/java/awt/geom/Area$AreaIterator.h b/libjava/java/awt/geom/Area$AreaIterator.h
new file mode 100644
index 0000000..8682425
--- /dev/null
+++ b/libjava/java/awt/geom/Area$AreaIterator.h
@@ -0,0 +1,48 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_geom_Area$AreaIterator__
+#define __java_awt_geom_Area$AreaIterator__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace geom
+ {
+ class AffineTransform;
+ class Area;
+ class Area$AreaIterator;
+ }
+ }
+ }
+}
+
+class java::awt::geom::Area$AreaIterator : public ::java::lang::Object
+{
+
+public:
+ Area$AreaIterator(::java::awt::geom::Area *, ::java::awt::geom::AffineTransform *);
+ virtual jint currentSegment(JArray< jdouble > *);
+ virtual jint currentSegment(JArray< jfloat > *);
+ virtual jint getWindingRule();
+ virtual jboolean isDone();
+ virtual void next();
+private:
+ ::java::util::Vector * __attribute__((aligned(__alignof__( ::java::lang::Object)))) segments;
+ jint index;
+ ::java::awt::geom::AffineTransform * at;
+public: // actually package-private
+ ::java::awt::geom::Area * this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_geom_Area$AreaIterator__
diff --git a/libjava/java/awt/geom/Area$CubicSegment.h b/libjava/java/awt/geom/Area$CubicSegment.h
new file mode 100644
index 0000000..f5a3138
--- /dev/null
+++ b/libjava/java/awt/geom/Area$CubicSegment.h
@@ -0,0 +1,60 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_geom_Area$CubicSegment__
+#define __java_awt_geom_Area$CubicSegment__
+
+#pragma interface
+
+#include <java/awt/geom/Area$Segment.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace geom
+ {
+ class AffineTransform;
+ class Area;
+ class Area$CubicSegment;
+ class Area$Segment;
+ class CubicCurve2D;
+ class Point2D;
+ class Rectangle2D;
+ }
+ }
+ }
+}
+
+class java::awt::geom::Area$CubicSegment : public ::java::awt::geom::Area$Segment
+{
+
+public:
+ Area$CubicSegment(::java::awt::geom::Area *, jdouble, jdouble, jdouble, jdouble, jdouble, jdouble, jdouble, jdouble);
+ virtual ::java::lang::Object * clone();
+public: // actually package-private
+ virtual jdouble curveArea();
+ virtual jboolean equals(::java::awt::geom::Area$Segment *);
+ virtual ::java::awt::geom::Point2D * evaluatePoint(jdouble);
+ virtual ::java::awt::geom::Rectangle2D * getBounds();
+ virtual ::java::awt::geom::CubicCurve2D * getCubicCurve2D();
+ virtual JArray< jdouble > * getLoop();
+ virtual ::java::awt::geom::Point2D * getMidPoint();
+ virtual jint getType();
+ virtual jint pathIteratorFormat(JArray< jdouble > *);
+ virtual jint rayCrossing(jdouble, jdouble);
+ virtual void reverseCoords();
+ virtual jint splitIntersections(::java::awt::geom::Area$Segment *);
+ virtual void subdivideInsert(jdouble);
+ virtual void transform(::java::awt::geom::AffineTransform *);
+ ::java::awt::geom::Point2D * __attribute__((aligned(__alignof__( ::java::awt::geom::Area$Segment)))) cp1;
+ ::java::awt::geom::Point2D * cp2;
+ ::java::awt::geom::Area * this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_geom_Area$CubicSegment__
diff --git a/libjava/java/awt/geom/Area$Intersection.h b/libjava/java/awt/geom/Area$Intersection.h
new file mode 100644
index 0000000..c4c7162
--- /dev/null
+++ b/libjava/java/awt/geom/Area$Intersection.h
@@ -0,0 +1,42 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_geom_Area$Intersection__
+#define __java_awt_geom_Area$Intersection__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace geom
+ {
+ class Area;
+ class Area$Intersection;
+ class Area$Segment;
+ class Point2D;
+ }
+ }
+ }
+}
+
+class java::awt::geom::Area$Intersection : public ::java::lang::Object
+{
+
+public:
+ Area$Intersection(::java::awt::geom::Area *, ::java::awt::geom::Point2D *, jdouble, jdouble);
+public: // actually package-private
+ ::java::awt::geom::Point2D * __attribute__((aligned(__alignof__( ::java::lang::Object)))) p;
+ jdouble ta;
+ jdouble tb;
+ ::java::awt::geom::Area$Segment * seg;
+ ::java::awt::geom::Area * this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_geom_Area$Intersection__
diff --git a/libjava/java/awt/geom/Area$LineSegment.h b/libjava/java/awt/geom/Area$LineSegment.h
new file mode 100644
index 0000000..2eb0692
--- /dev/null
+++ b/libjava/java/awt/geom/Area$LineSegment.h
@@ -0,0 +1,58 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_geom_Area$LineSegment__
+#define __java_awt_geom_Area$LineSegment__
+
+#pragma interface
+
+#include <java/awt/geom/Area$Segment.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace geom
+ {
+ class AffineTransform;
+ class Area;
+ class Area$LineSegment;
+ class Area$Segment;
+ class Point2D;
+ class Rectangle2D;
+ }
+ }
+ }
+}
+
+class java::awt::geom::Area$LineSegment : public ::java::awt::geom::Area$Segment
+{
+
+public:
+ Area$LineSegment(::java::awt::geom::Area *, jdouble, jdouble, jdouble, jdouble);
+ Area$LineSegment(::java::awt::geom::Area *, ::java::awt::geom::Point2D *, ::java::awt::geom::Point2D *);
+ virtual ::java::lang::Object * clone();
+public: // actually package-private
+ virtual void transform(::java::awt::geom::AffineTransform *);
+ virtual void reverseCoords();
+ virtual ::java::awt::geom::Point2D * getMidPoint();
+ virtual jdouble curveArea();
+ virtual jint getType();
+ virtual void subdivideInsert(jdouble);
+ virtual jboolean isCoLinear(::java::awt::geom::Area$LineSegment *);
+ virtual ::java::awt::geom::Area$Segment * lastCoLinear();
+ virtual jboolean equals(::java::awt::geom::Area$Segment *);
+ virtual jint pathIteratorFormat(JArray< jdouble > *);
+ virtual jboolean hasIntersections(::java::awt::geom::Area$Segment *);
+ virtual jint splitIntersections(::java::awt::geom::Area$Segment *);
+ virtual ::java::awt::geom::Rectangle2D * getBounds();
+ virtual jint rayCrossing(jdouble, jdouble);
+ ::java::awt::geom::Area * __attribute__((aligned(__alignof__( ::java::awt::geom::Area$Segment)))) this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_geom_Area$LineSegment__
diff --git a/libjava/java/awt/geom/Area$QuadSegment.h b/libjava/java/awt/geom/Area$QuadSegment.h
new file mode 100644
index 0000000..ca6dc99
--- /dev/null
+++ b/libjava/java/awt/geom/Area$QuadSegment.h
@@ -0,0 +1,59 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_geom_Area$QuadSegment__
+#define __java_awt_geom_Area$QuadSegment__
+
+#pragma interface
+
+#include <java/awt/geom/Area$Segment.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace geom
+ {
+ class AffineTransform;
+ class Area;
+ class Area$CubicSegment;
+ class Area$QuadSegment;
+ class Area$Segment;
+ class Point2D;
+ class Rectangle2D;
+ }
+ }
+ }
+}
+
+class java::awt::geom::Area$QuadSegment : public ::java::awt::geom::Area$Segment
+{
+
+public: // actually package-private
+ Area$QuadSegment(::java::awt::geom::Area *, jdouble, jdouble, jdouble, jdouble, jdouble, jdouble);
+public:
+ virtual ::java::lang::Object * clone();
+public: // actually package-private
+ virtual jdouble curveArea();
+ virtual jboolean equals(::java::awt::geom::Area$Segment *);
+ virtual ::java::awt::geom::Point2D * evaluatePoint(jdouble);
+ virtual ::java::awt::geom::Rectangle2D * getBounds();
+ virtual ::java::awt::geom::Area$CubicSegment * getCubicSegment();
+ virtual ::java::awt::geom::Point2D * getMidPoint();
+ virtual jint getType();
+ virtual jint pathIteratorFormat(JArray< jdouble > *);
+ virtual jint rayCrossing(jdouble, jdouble);
+ virtual void reverseCoords();
+ virtual jint splitIntersections(::java::awt::geom::Area$Segment *);
+ virtual void subdivideInsert(jdouble);
+ virtual void transform(::java::awt::geom::AffineTransform *);
+ ::java::awt::geom::Point2D * __attribute__((aligned(__alignof__( ::java::awt::geom::Area$Segment)))) cp;
+ ::java::awt::geom::Area * this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_geom_Area$QuadSegment__
diff --git a/libjava/java/awt/geom/Area$Segment.h b/libjava/java/awt/geom/Area$Segment.h
new file mode 100644
index 0000000..866ecef
--- /dev/null
+++ b/libjava/java/awt/geom/Area$Segment.h
@@ -0,0 +1,76 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_geom_Area$Segment__
+#define __java_awt_geom_Area$Segment__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Shape;
+ namespace geom
+ {
+ class AffineTransform;
+ class Area;
+ class Area$Intersection;
+ class Area$Segment;
+ class Point2D;
+ class Rectangle2D;
+ }
+ }
+ }
+}
+
+class java::awt::geom::Area$Segment : public ::java::lang::Object
+{
+
+public: // actually package-private
+ Area$Segment(::java::awt::geom::Area *);
+ virtual void reverseCoords() = 0;
+ virtual ::java::awt::geom::Point2D * getMidPoint() = 0;
+ virtual ::java::awt::geom::Rectangle2D * getBounds() = 0;
+ virtual void transform(::java::awt::geom::AffineTransform *) = 0;
+ virtual jint getType() = 0;
+ virtual jint splitIntersections(::java::awt::geom::Area$Segment *) = 0;
+ virtual jint pathIteratorFormat(JArray< jdouble > *) = 0;
+ virtual jint rayCrossing(jdouble, jdouble) = 0;
+ virtual void subdivideInsert(jdouble) = 0;
+ virtual jdouble curveArea() = 0;
+ virtual jboolean equals(::java::awt::geom::Area$Segment *) = 0;
+ virtual jboolean contains(jdouble, jdouble);
+ virtual void nullNodes();
+ virtual void transformSegmentList(::java::awt::geom::AffineTransform *);
+ virtual jboolean hasClockwiseOrientation();
+public:
+ virtual ::java::awt::geom::Rectangle2D * getPathBounds();
+public: // actually package-private
+ virtual jdouble getSignedArea();
+ virtual void reverseAll();
+ virtual void insert(::java::awt::geom::Area$Segment *);
+ virtual jboolean isPolygonal();
+ virtual ::java::awt::geom::Area$Segment * cloneSegmentList();
+ virtual jint createNode(::java::awt::geom::Area$Segment *, ::java::awt::geom::Area$Intersection *);
+public: // actually protected
+ virtual jint createNodes(::java::awt::geom::Area$Segment *, JArray< ::java::awt::geom::Area$Intersection * > *);
+public: // actually package-private
+ virtual jboolean pathEquals(::java::awt::geom::Area$Segment *);
+ virtual ::java::awt::geom::Area$Segment * getTopLeft();
+ virtual jboolean isSegmentOutside(::java::awt::Shape *);
+ ::java::awt::geom::Point2D * __attribute__((aligned(__alignof__( ::java::lang::Object)))) P1;
+ ::java::awt::geom::Point2D * P2;
+ ::java::awt::geom::Area$Segment * next;
+ ::java::awt::geom::Area$Segment * node;
+ ::java::awt::geom::Area * this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_geom_Area$Segment__
diff --git a/libjava/java/awt/geom/Area.h b/libjava/java/awt/geom/Area.h
new file mode 100644
index 0000000..47a87df
--- /dev/null
+++ b/libjava/java/awt/geom/Area.h
@@ -0,0 +1,96 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_geom_Area__
+#define __java_awt_geom_Area__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Rectangle;
+ class Shape;
+ namespace geom
+ {
+ class AffineTransform;
+ class Area;
+ class Area$CubicSegment;
+ class Area$Intersection;
+ class Area$LineSegment;
+ class Area$QuadSegment;
+ class Area$Segment;
+ class CubicCurve2D;
+ class PathIterator;
+ class Point2D;
+ class Rectangle2D;
+ }
+ }
+ }
+}
+
+class java::awt::geom::Area : public ::java::lang::Object
+{
+
+public:
+ Area();
+ Area(::java::awt::Shape *);
+ virtual void add(::java::awt::geom::Area *);
+ virtual void subtract(::java::awt::geom::Area *);
+ virtual void intersect(::java::awt::geom::Area *);
+ virtual void exclusiveOr(::java::awt::geom::Area *);
+ virtual void reset();
+ virtual jboolean isEmpty();
+ virtual jboolean isPolygonal();
+ virtual jboolean isRectangular();
+ virtual jboolean isSingular();
+ virtual ::java::awt::geom::Rectangle2D * getBounds2D();
+ virtual ::java::awt::Rectangle * getBounds();
+ virtual ::java::lang::Object * clone();
+ virtual jboolean equals(::java::awt::geom::Area *);
+ virtual void transform(::java::awt::geom::AffineTransform *);
+ virtual ::java::awt::geom::Area * createTransformedArea(::java::awt::geom::AffineTransform *);
+ virtual jboolean contains(jdouble, jdouble);
+ virtual jboolean contains(::java::awt::geom::Point2D *);
+ virtual jboolean contains(jdouble, jdouble, jdouble, jdouble);
+ virtual jboolean contains(::java::awt::geom::Rectangle2D *);
+ virtual jboolean intersects(jdouble, jdouble, jdouble, jdouble);
+ virtual jboolean intersects(::java::awt::geom::Rectangle2D *);
+ virtual ::java::awt::geom::PathIterator * getPathIterator(::java::awt::geom::AffineTransform *);
+ virtual ::java::awt::geom::PathIterator * getPathIterator(::java::awt::geom::AffineTransform *, jdouble);
+private:
+ ::java::util::Vector * weilerAtherton(::java::util::Vector *);
+ jint getRecursionDepth(::java::awt::geom::Area$CubicSegment *);
+ void recursiveSubdivide(::java::awt::geom::CubicCurve2D *, ::java::awt::geom::CubicCurve2D *, jint, jint, jdouble, jdouble, jdouble, jdouble);
+public: // actually package-private
+ virtual JArray< ::java::awt::geom::Area$Intersection * > * cubicCubicIntersect(::java::awt::geom::Area$CubicSegment *, ::java::awt::geom::Area$CubicSegment *);
+ virtual JArray< ::java::awt::geom::Area$Intersection * > * lineQuadIntersect(::java::awt::geom::Area$LineSegment *, ::java::awt::geom::Area$QuadSegment *);
+ virtual JArray< ::java::awt::geom::Area$Intersection * > * lineCubicIntersect(::java::awt::geom::Area$LineSegment *, ::java::awt::geom::Area$CubicSegment *);
+ virtual ::java::awt::geom::Area$Intersection * linesIntersect(::java::awt::geom::Area$LineSegment *, ::java::awt::geom::Area$LineSegment *);
+ virtual jboolean pointEquals(::java::awt::geom::Point2D *, ::java::awt::geom::Point2D *);
+private:
+ ::java::util::Vector * makeSegment(::java::awt::Shape *);
+ jint createNodes(::java::awt::geom::Area$Segment *, ::java::awt::geom::Area$Segment *);
+ jint createNodesSelf(::java::awt::geom::Area$Segment *);
+ void deleteRedundantPaths(::java::util::Vector *);
+ void setDirection(::java::util::Vector *, jboolean);
+ static jdouble EPSILON;
+ static jdouble RS_EPSILON;
+ static jdouble PE_EPSILON;
+public: // actually package-private
+ ::java::util::Vector * __attribute__((aligned(__alignof__( ::java::lang::Object)))) solids;
+ ::java::util::Vector * holes;
+private:
+ ::java::util::Vector * cc_intersections;
+ jint windingRule;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_geom_Area__
diff --git a/libjava/java/awt/geom/CubicCurve2D$1.h b/libjava/java/awt/geom/CubicCurve2D$1.h
new file mode 100644
index 0000000..ea945ea
--- /dev/null
+++ b/libjava/java/awt/geom/CubicCurve2D$1.h
@@ -0,0 +1,49 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_geom_CubicCurve2D$1__
+#define __java_awt_geom_CubicCurve2D$1__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace geom
+ {
+ class AffineTransform;
+ class CubicCurve2D;
+ class CubicCurve2D$1;
+ }
+ }
+ }
+}
+
+class java::awt::geom::CubicCurve2D$1 : public ::java::lang::Object
+{
+
+public: // actually package-private
+ CubicCurve2D$1(::java::awt::geom::CubicCurve2D *, ::java::awt::geom::AffineTransform *);
+public:
+ jint getWindingRule();
+ jboolean isDone();
+ void next();
+ jint currentSegment(JArray< jfloat > *);
+ jint currentSegment(JArray< jdouble > *);
+private:
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) current;
+public: // actually package-private
+ ::java::awt::geom::CubicCurve2D * this$0;
+private:
+ ::java::awt::geom::AffineTransform * val$at;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_geom_CubicCurve2D$1__
diff --git a/libjava/java/awt/geom/CubicCurve2D$Double.h b/libjava/java/awt/geom/CubicCurve2D$Double.h
new file mode 100644
index 0000000..d3d4742
--- /dev/null
+++ b/libjava/java/awt/geom/CubicCurve2D$Double.h
@@ -0,0 +1,57 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_geom_CubicCurve2D$Double__
+#define __java_awt_geom_CubicCurve2D$Double__
+
+#pragma interface
+
+#include <java/awt/geom/CubicCurve2D.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace geom
+ {
+ class CubicCurve2D$Double;
+ class Point2D;
+ class Rectangle2D;
+ }
+ }
+ }
+}
+
+class java::awt::geom::CubicCurve2D$Double : public ::java::awt::geom::CubicCurve2D
+{
+
+public:
+ CubicCurve2D$Double();
+ CubicCurve2D$Double(jdouble, jdouble, jdouble, jdouble, jdouble, jdouble, jdouble, jdouble);
+ virtual jdouble getX1();
+ virtual jdouble getY1();
+ virtual ::java::awt::geom::Point2D * getP1();
+ virtual jdouble getCtrlX1();
+ virtual jdouble getCtrlY1();
+ virtual ::java::awt::geom::Point2D * getCtrlP1();
+ virtual jdouble getCtrlX2();
+ virtual jdouble getCtrlY2();
+ virtual ::java::awt::geom::Point2D * getCtrlP2();
+ virtual jdouble getX2();
+ virtual jdouble getY2();
+ virtual ::java::awt::geom::Point2D * getP2();
+ virtual void setCurve(jdouble, jdouble, jdouble, jdouble, jdouble, jdouble, jdouble, jdouble);
+ virtual ::java::awt::geom::Rectangle2D * getBounds2D();
+ jdouble __attribute__((aligned(__alignof__( ::java::awt::geom::CubicCurve2D)))) x1;
+ jdouble y1;
+ jdouble ctrlx1;
+ jdouble ctrly1;
+ jdouble ctrlx2;
+ jdouble ctrly2;
+ jdouble x2;
+ jdouble y2;
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_geom_CubicCurve2D$Double__
diff --git a/libjava/java/awt/geom/CubicCurve2D$Float.h b/libjava/java/awt/geom/CubicCurve2D$Float.h
new file mode 100644
index 0000000..6e6cd4d
--- /dev/null
+++ b/libjava/java/awt/geom/CubicCurve2D$Float.h
@@ -0,0 +1,58 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_geom_CubicCurve2D$Float__
+#define __java_awt_geom_CubicCurve2D$Float__
+
+#pragma interface
+
+#include <java/awt/geom/CubicCurve2D.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace geom
+ {
+ class CubicCurve2D$Float;
+ class Point2D;
+ class Rectangle2D;
+ }
+ }
+ }
+}
+
+class java::awt::geom::CubicCurve2D$Float : public ::java::awt::geom::CubicCurve2D
+{
+
+public:
+ CubicCurve2D$Float();
+ CubicCurve2D$Float(jfloat, jfloat, jfloat, jfloat, jfloat, jfloat, jfloat, jfloat);
+ virtual jdouble getX1();
+ virtual jdouble getY1();
+ virtual ::java::awt::geom::Point2D * getP1();
+ virtual jdouble getCtrlX1();
+ virtual jdouble getCtrlY1();
+ virtual ::java::awt::geom::Point2D * getCtrlP1();
+ virtual jdouble getCtrlX2();
+ virtual jdouble getCtrlY2();
+ virtual ::java::awt::geom::Point2D * getCtrlP2();
+ virtual jdouble getX2();
+ virtual jdouble getY2();
+ virtual ::java::awt::geom::Point2D * getP2();
+ virtual void setCurve(jdouble, jdouble, jdouble, jdouble, jdouble, jdouble, jdouble, jdouble);
+ virtual void setCurve(jfloat, jfloat, jfloat, jfloat, jfloat, jfloat, jfloat, jfloat);
+ virtual ::java::awt::geom::Rectangle2D * getBounds2D();
+ jfloat __attribute__((aligned(__alignof__( ::java::awt::geom::CubicCurve2D)))) x1;
+ jfloat y1;
+ jfloat ctrlx1;
+ jfloat ctrly1;
+ jfloat ctrlx2;
+ jfloat ctrly2;
+ jfloat x2;
+ jfloat y2;
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_geom_CubicCurve2D$Float__
diff --git a/libjava/java/awt/geom/CubicCurve2D.h b/libjava/java/awt/geom/CubicCurve2D.h
new file mode 100644
index 0000000..f9f82b8
--- /dev/null
+++ b/libjava/java/awt/geom/CubicCurve2D.h
@@ -0,0 +1,86 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_geom_CubicCurve2D__
+#define __java_awt_geom_CubicCurve2D__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Rectangle;
+ namespace geom
+ {
+ class AffineTransform;
+ class CubicCurve2D;
+ class PathIterator;
+ class Point2D;
+ class Rectangle2D;
+ }
+ }
+ }
+}
+
+class java::awt::geom::CubicCurve2D : public ::java::lang::Object
+{
+
+public: // actually protected
+ CubicCurve2D();
+public:
+ virtual jdouble getX1() = 0;
+ virtual jdouble getY1() = 0;
+ virtual ::java::awt::geom::Point2D * getP1() = 0;
+ virtual jdouble getCtrlX1() = 0;
+ virtual jdouble getCtrlY1() = 0;
+ virtual ::java::awt::geom::Point2D * getCtrlP1() = 0;
+ virtual jdouble getCtrlX2() = 0;
+ virtual jdouble getCtrlY2() = 0;
+ virtual ::java::awt::geom::Point2D * getCtrlP2() = 0;
+ virtual jdouble getX2() = 0;
+ virtual jdouble getY2() = 0;
+ virtual ::java::awt::geom::Point2D * getP2() = 0;
+ virtual void setCurve(jdouble, jdouble, jdouble, jdouble, jdouble, jdouble, jdouble, jdouble) = 0;
+ virtual void setCurve(JArray< jdouble > *, jint);
+ virtual void setCurve(::java::awt::geom::Point2D *, ::java::awt::geom::Point2D *, ::java::awt::geom::Point2D *, ::java::awt::geom::Point2D *);
+ virtual void setCurve(JArray< ::java::awt::geom::Point2D * > *, jint);
+ virtual void setCurve(::java::awt::geom::CubicCurve2D *);
+ static jdouble getFlatnessSq(jdouble, jdouble, jdouble, jdouble, jdouble, jdouble, jdouble, jdouble);
+ static jdouble getFlatness(jdouble, jdouble, jdouble, jdouble, jdouble, jdouble, jdouble, jdouble);
+ static jdouble getFlatnessSq(JArray< jdouble > *, jint);
+ static jdouble getFlatness(JArray< jdouble > *, jint);
+ virtual jdouble getFlatnessSq();
+ virtual jdouble getFlatness();
+ virtual void subdivide(::java::awt::geom::CubicCurve2D *, ::java::awt::geom::CubicCurve2D *);
+ static void subdivide(::java::awt::geom::CubicCurve2D *, ::java::awt::geom::CubicCurve2D *, ::java::awt::geom::CubicCurve2D *);
+ static void subdivide(JArray< jdouble > *, jint, JArray< jdouble > *, jint, JArray< jdouble > *, jint);
+ static jint solveCubic(JArray< jdouble > *);
+ static jint solveCubic(JArray< jdouble > *, JArray< jdouble > *);
+ virtual jboolean contains(jdouble, jdouble);
+ virtual jboolean contains(::java::awt::geom::Point2D *);
+ virtual jboolean intersects(jdouble, jdouble, jdouble, jdouble);
+ virtual jboolean intersects(::java::awt::geom::Rectangle2D *);
+ virtual jboolean contains(jdouble, jdouble, jdouble, jdouble);
+ virtual jboolean contains(::java::awt::geom::Rectangle2D *);
+ virtual ::java::awt::Rectangle * getBounds();
+ virtual ::java::awt::geom::PathIterator * getPathIterator(::java::awt::geom::AffineTransform *);
+ virtual ::java::awt::geom::PathIterator * getPathIterator(::java::awt::geom::AffineTransform *, jdouble);
+ virtual ::java::lang::Object * clone();
+private:
+ jint getAxisIntersections(jdouble, jdouble, jboolean, jdouble);
+public:
+ virtual ::java::awt::geom::Rectangle2D * getBounds2D() = 0;
+private:
+ static jdouble BIG_VALUE;
+ static jdouble EPSILON;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_geom_CubicCurve2D__
diff --git a/libjava/java/awt/geom/Dimension2D.h b/libjava/java/awt/geom/Dimension2D.h
new file mode 100644
index 0000000..d201d7a
--- /dev/null
+++ b/libjava/java/awt/geom/Dimension2D.h
@@ -0,0 +1,38 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_geom_Dimension2D__
+#define __java_awt_geom_Dimension2D__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace geom
+ {
+ class Dimension2D;
+ }
+ }
+ }
+}
+
+class java::awt::geom::Dimension2D : public ::java::lang::Object
+{
+
+public: // actually protected
+ Dimension2D();
+public:
+ virtual jdouble getWidth() = 0;
+ virtual jdouble getHeight() = 0;
+ virtual void setSize(jdouble, jdouble) = 0;
+ virtual void setSize(::java::awt::geom::Dimension2D *);
+ virtual ::java::lang::Object * clone();
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_geom_Dimension2D__
diff --git a/libjava/java/awt/geom/Ellipse2D$Double.h b/libjava/java/awt/geom/Ellipse2D$Double.h
new file mode 100644
index 0000000..06b28e6
--- /dev/null
+++ b/libjava/java/awt/geom/Ellipse2D$Double.h
@@ -0,0 +1,45 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_geom_Ellipse2D$Double__
+#define __java_awt_geom_Ellipse2D$Double__
+
+#pragma interface
+
+#include <java/awt/geom/Ellipse2D.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace geom
+ {
+ class Ellipse2D$Double;
+ class Rectangle2D;
+ }
+ }
+ }
+}
+
+class java::awt::geom::Ellipse2D$Double : public ::java::awt::geom::Ellipse2D
+{
+
+public:
+ Ellipse2D$Double();
+ Ellipse2D$Double(jdouble, jdouble, jdouble, jdouble);
+ virtual ::java::awt::geom::Rectangle2D * getBounds2D();
+ virtual jdouble getHeight();
+ virtual jdouble getWidth();
+ virtual jdouble getX();
+ virtual jdouble getY();
+ virtual jboolean isEmpty();
+ virtual void setFrame(jdouble, jdouble, jdouble, jdouble);
+ jdouble __attribute__((aligned(__alignof__( ::java::awt::geom::Ellipse2D)))) height;
+ jdouble width;
+ jdouble x;
+ jdouble y;
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_geom_Ellipse2D$Double__
diff --git a/libjava/java/awt/geom/Ellipse2D$Float.h b/libjava/java/awt/geom/Ellipse2D$Float.h
new file mode 100644
index 0000000..52177dc
--- /dev/null
+++ b/libjava/java/awt/geom/Ellipse2D$Float.h
@@ -0,0 +1,46 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_geom_Ellipse2D$Float__
+#define __java_awt_geom_Ellipse2D$Float__
+
+#pragma interface
+
+#include <java/awt/geom/Ellipse2D.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace geom
+ {
+ class Ellipse2D$Float;
+ class Rectangle2D;
+ }
+ }
+ }
+}
+
+class java::awt::geom::Ellipse2D$Float : public ::java::awt::geom::Ellipse2D
+{
+
+public:
+ Ellipse2D$Float();
+ Ellipse2D$Float(jfloat, jfloat, jfloat, jfloat);
+ virtual ::java::awt::geom::Rectangle2D * getBounds2D();
+ virtual jdouble getHeight();
+ virtual jdouble getWidth();
+ virtual jdouble getX();
+ virtual jdouble getY();
+ virtual jboolean isEmpty();
+ virtual void setFrame(jfloat, jfloat, jfloat, jfloat);
+ virtual void setFrame(jdouble, jdouble, jdouble, jdouble);
+ jfloat __attribute__((aligned(__alignof__( ::java::awt::geom::Ellipse2D)))) height;
+ jfloat width;
+ jfloat x;
+ jfloat y;
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_geom_Ellipse2D$Float__
diff --git a/libjava/java/awt/geom/Ellipse2D.h b/libjava/java/awt/geom/Ellipse2D.h
new file mode 100644
index 0000000..a78c318
--- /dev/null
+++ b/libjava/java/awt/geom/Ellipse2D.h
@@ -0,0 +1,39 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_geom_Ellipse2D__
+#define __java_awt_geom_Ellipse2D__
+
+#pragma interface
+
+#include <java/awt/geom/RectangularShape.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace geom
+ {
+ class AffineTransform;
+ class Ellipse2D;
+ class PathIterator;
+ }
+ }
+ }
+}
+
+class java::awt::geom::Ellipse2D : public ::java::awt::geom::RectangularShape
+{
+
+public: // actually protected
+ Ellipse2D();
+public:
+ virtual jboolean contains(jdouble, jdouble);
+ virtual jboolean contains(jdouble, jdouble, jdouble, jdouble);
+ virtual ::java::awt::geom::PathIterator * getPathIterator(::java::awt::geom::AffineTransform *);
+ virtual jboolean intersects(jdouble, jdouble, jdouble, jdouble);
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_geom_Ellipse2D__
diff --git a/libjava/java/awt/geom/FlatteningPathIterator.h b/libjava/java/awt/geom/FlatteningPathIterator.h
new file mode 100644
index 0000000..7936286
--- /dev/null
+++ b/libjava/java/awt/geom/FlatteningPathIterator.h
@@ -0,0 +1,59 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_geom_FlatteningPathIterator__
+#define __java_awt_geom_FlatteningPathIterator__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace geom
+ {
+ class FlatteningPathIterator;
+ class PathIterator;
+ }
+ }
+ }
+}
+
+class java::awt::geom::FlatteningPathIterator : public ::java::lang::Object
+{
+
+public:
+ FlatteningPathIterator(::java::awt::geom::PathIterator *, jdouble);
+ FlatteningPathIterator(::java::awt::geom::PathIterator *, jdouble, jint);
+ virtual jdouble getFlatness();
+ virtual jint getRecursionLimit();
+ virtual jint getWindingRule();
+ virtual jboolean isDone();
+ virtual void next();
+ virtual jint currentSegment(JArray< jdouble > *);
+ virtual jint currentSegment(JArray< jfloat > *);
+private:
+ void fetchSegment();
+ void subdivideQuadratic();
+ void subdivideCubic();
+ ::java::awt::geom::PathIterator * __attribute__((aligned(__alignof__( ::java::lang::Object)))) srcIter;
+ jdouble flatnessSq;
+ jint recursionLimit;
+ JArray< jdouble > * stack;
+ jint stackSize;
+ JArray< jint > * recLevel;
+ JArray< jdouble > * scratch;
+ jint srcSegType;
+ jdouble srcPosX;
+ jdouble srcPosY;
+ jboolean done;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_geom_FlatteningPathIterator__
diff --git a/libjava/java/awt/geom/GeneralPath$GeneralPathIterator.h b/libjava/java/awt/geom/GeneralPath$GeneralPathIterator.h
new file mode 100644
index 0000000..9bf63bd
--- /dev/null
+++ b/libjava/java/awt/geom/GeneralPath$GeneralPathIterator.h
@@ -0,0 +1,50 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_geom_GeneralPath$GeneralPathIterator__
+#define __java_awt_geom_GeneralPath$GeneralPathIterator__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace geom
+ {
+ class AffineTransform;
+ class GeneralPath;
+ class GeneralPath$GeneralPathIterator;
+ }
+ }
+ }
+}
+
+class java::awt::geom::GeneralPath$GeneralPathIterator : public ::java::lang::Object
+{
+
+public: // actually package-private
+ GeneralPath$GeneralPathIterator(::java::awt::geom::GeneralPath *, ::java::awt::geom::AffineTransform *);
+public:
+ virtual jint getWindingRule();
+ virtual jboolean isDone();
+ virtual void next();
+ virtual jint currentSegment(JArray< jfloat > *);
+ virtual jint currentSegment(JArray< jdouble > *);
+private:
+ static JArray< jint > * NUM_COORDS;
+public: // actually package-private
+ ::java::awt::geom::GeneralPath * __attribute__((aligned(__alignof__( ::java::lang::Object)))) path;
+private:
+ ::java::awt::geom::AffineTransform * transform;
+ jint pos;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_geom_GeneralPath$GeneralPathIterator__
diff --git a/libjava/java/awt/geom/GeneralPath.h b/libjava/java/awt/geom/GeneralPath.h
new file mode 100644
index 0000000..a2d37c7
--- /dev/null
+++ b/libjava/java/awt/geom/GeneralPath.h
@@ -0,0 +1,88 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_geom_GeneralPath__
+#define __java_awt_geom_GeneralPath__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Rectangle;
+ class Shape;
+ namespace geom
+ {
+ class AffineTransform;
+ class GeneralPath;
+ class PathIterator;
+ class Point2D;
+ class Rectangle2D;
+ }
+ }
+ }
+}
+
+class java::awt::geom::GeneralPath : public ::java::lang::Object
+{
+
+public:
+ GeneralPath();
+ GeneralPath(jint);
+ GeneralPath(jint, jint);
+ GeneralPath(::java::awt::Shape *);
+ void moveTo(jfloat, jfloat);
+ void lineTo(jfloat, jfloat);
+ void quadTo(jfloat, jfloat, jfloat, jfloat);
+ void curveTo(jfloat, jfloat, jfloat, jfloat, jfloat, jfloat);
+ void closePath();
+ void append(::java::awt::Shape *, jboolean);
+ void append(::java::awt::geom::PathIterator *, jboolean);
+ jint getWindingRule();
+ void setWindingRule(jint);
+ ::java::awt::geom::Point2D * getCurrentPoint();
+ void reset();
+ void transform(::java::awt::geom::AffineTransform *);
+ ::java::awt::Shape * createTransformedShape(::java::awt::geom::AffineTransform *);
+ ::java::awt::Rectangle * getBounds();
+ ::java::awt::geom::Rectangle2D * getBounds2D();
+ jboolean contains(jdouble, jdouble);
+ jboolean contains(::java::awt::geom::Point2D *);
+ jboolean contains(jdouble, jdouble, jdouble, jdouble);
+ jboolean contains(::java::awt::geom::Rectangle2D *);
+ jboolean intersects(jdouble, jdouble, jdouble, jdouble);
+ jboolean intersects(::java::awt::geom::Rectangle2D *);
+ ::java::awt::geom::PathIterator * getPathIterator(::java::awt::geom::AffineTransform *);
+ ::java::awt::geom::PathIterator * getPathIterator(::java::awt::geom::AffineTransform *, jdouble);
+ ::java::lang::Object * clone();
+private:
+ void ensureSize(jint);
+ jint getAxisIntersections(jdouble, jdouble, jboolean, jdouble);
+ jint getWindingNumber(jdouble, jdouble);
+ jint evaluateCrossings(jdouble, jdouble, jboolean, jboolean, jdouble);
+public:
+ static const jint WIND_EVEN_ODD = 0;
+ static const jint WIND_NON_ZERO = 1;
+private:
+ static const jint INIT_SIZE = 10;
+ static jdouble BIG_VALUE;
+public: // actually package-private
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) rule;
+ JArray< jbyte > * types;
+ JArray< jfloat > * xpoints;
+ JArray< jfloat > * ypoints;
+private:
+ jint subpath;
+public: // actually package-private
+ jint index;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_geom_GeneralPath__
diff --git a/libjava/java/awt/geom/IllegalPathStateException.h b/libjava/java/awt/geom/IllegalPathStateException.h
new file mode 100644
index 0000000..4147334
--- /dev/null
+++ b/libjava/java/awt/geom/IllegalPathStateException.h
@@ -0,0 +1,36 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_geom_IllegalPathStateException__
+#define __java_awt_geom_IllegalPathStateException__
+
+#pragma interface
+
+#include <java/lang/RuntimeException.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace geom
+ {
+ class IllegalPathStateException;
+ }
+ }
+ }
+}
+
+class java::awt::geom::IllegalPathStateException : public ::java::lang::RuntimeException
+{
+
+public:
+ IllegalPathStateException();
+ IllegalPathStateException(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = -5158084205220481094LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_geom_IllegalPathStateException__
diff --git a/libjava/java/awt/geom/Line2D$1.h b/libjava/java/awt/geom/Line2D$1.h
new file mode 100644
index 0000000..c07bff5
--- /dev/null
+++ b/libjava/java/awt/geom/Line2D$1.h
@@ -0,0 +1,49 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_geom_Line2D$1__
+#define __java_awt_geom_Line2D$1__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace geom
+ {
+ class AffineTransform;
+ class Line2D;
+ class Line2D$1;
+ }
+ }
+ }
+}
+
+class java::awt::geom::Line2D$1 : public ::java::lang::Object
+{
+
+public: // actually package-private
+ Line2D$1(::java::awt::geom::Line2D *, ::java::awt::geom::AffineTransform *);
+public:
+ jint getWindingRule();
+ jboolean isDone();
+ void next();
+ jint currentSegment(JArray< jfloat > *);
+ jint currentSegment(JArray< jdouble > *);
+private:
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) current;
+public: // actually package-private
+ ::java::awt::geom::Line2D * this$0;
+private:
+ ::java::awt::geom::AffineTransform * val$at;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_geom_Line2D$1__
diff --git a/libjava/java/awt/geom/Line2D$Double.h b/libjava/java/awt/geom/Line2D$Double.h
new file mode 100644
index 0000000..a9915b7
--- /dev/null
+++ b/libjava/java/awt/geom/Line2D$Double.h
@@ -0,0 +1,48 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_geom_Line2D$Double__
+#define __java_awt_geom_Line2D$Double__
+
+#pragma interface
+
+#include <java/awt/geom/Line2D.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace geom
+ {
+ class Line2D$Double;
+ class Point2D;
+ class Rectangle2D;
+ }
+ }
+ }
+}
+
+class java::awt::geom::Line2D$Double : public ::java::awt::geom::Line2D
+{
+
+public:
+ Line2D$Double();
+ Line2D$Double(jdouble, jdouble, jdouble, jdouble);
+ Line2D$Double(::java::awt::geom::Point2D *, ::java::awt::geom::Point2D *);
+ virtual jdouble getX1();
+ virtual jdouble getY1();
+ virtual ::java::awt::geom::Point2D * getP1();
+ virtual jdouble getX2();
+ virtual jdouble getY2();
+ virtual ::java::awt::geom::Point2D * getP2();
+ virtual void setLine(jdouble, jdouble, jdouble, jdouble);
+ virtual ::java::awt::geom::Rectangle2D * getBounds2D();
+ jdouble __attribute__((aligned(__alignof__( ::java::awt::geom::Line2D)))) x1;
+ jdouble y1;
+ jdouble x2;
+ jdouble y2;
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_geom_Line2D$Double__
diff --git a/libjava/java/awt/geom/Line2D$Float.h b/libjava/java/awt/geom/Line2D$Float.h
new file mode 100644
index 0000000..1a829e2
--- /dev/null
+++ b/libjava/java/awt/geom/Line2D$Float.h
@@ -0,0 +1,49 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_geom_Line2D$Float__
+#define __java_awt_geom_Line2D$Float__
+
+#pragma interface
+
+#include <java/awt/geom/Line2D.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace geom
+ {
+ class Line2D$Float;
+ class Point2D;
+ class Rectangle2D;
+ }
+ }
+ }
+}
+
+class java::awt::geom::Line2D$Float : public ::java::awt::geom::Line2D
+{
+
+public:
+ Line2D$Float();
+ Line2D$Float(jfloat, jfloat, jfloat, jfloat);
+ Line2D$Float(::java::awt::geom::Point2D *, ::java::awt::geom::Point2D *);
+ virtual jdouble getX1();
+ virtual jdouble getY1();
+ virtual ::java::awt::geom::Point2D * getP1();
+ virtual jdouble getX2();
+ virtual jdouble getY2();
+ virtual ::java::awt::geom::Point2D * getP2();
+ virtual void setLine(jdouble, jdouble, jdouble, jdouble);
+ virtual void setLine(jfloat, jfloat, jfloat, jfloat);
+ virtual ::java::awt::geom::Rectangle2D * getBounds2D();
+ jfloat __attribute__((aligned(__alignof__( ::java::awt::geom::Line2D)))) x1;
+ jfloat y1;
+ jfloat x2;
+ jfloat y2;
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_geom_Line2D$Float__
diff --git a/libjava/java/awt/geom/Line2D.h b/libjava/java/awt/geom/Line2D.h
new file mode 100644
index 0000000..5310ead
--- /dev/null
+++ b/libjava/java/awt/geom/Line2D.h
@@ -0,0 +1,80 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_geom_Line2D__
+#define __java_awt_geom_Line2D__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Rectangle;
+ namespace geom
+ {
+ class AffineTransform;
+ class Line2D;
+ class PathIterator;
+ class Point2D;
+ class Rectangle2D;
+ }
+ }
+ }
+}
+
+class java::awt::geom::Line2D : public ::java::lang::Object
+{
+
+public: // actually protected
+ Line2D();
+public:
+ virtual jdouble getX1() = 0;
+ virtual jdouble getY1() = 0;
+ virtual ::java::awt::geom::Point2D * getP1() = 0;
+ virtual jdouble getX2() = 0;
+ virtual jdouble getY2() = 0;
+ virtual ::java::awt::geom::Point2D * getP2() = 0;
+ virtual void setLine(jdouble, jdouble, jdouble, jdouble) = 0;
+ virtual void setLine(::java::awt::geom::Point2D *, ::java::awt::geom::Point2D *);
+ virtual void setLine(::java::awt::geom::Line2D *);
+ static jint relativeCCW(jdouble, jdouble, jdouble, jdouble, jdouble, jdouble);
+ virtual jint relativeCCW(jdouble, jdouble);
+ virtual jint relativeCCW(::java::awt::geom::Point2D *);
+private:
+ static jdouble area2(jdouble, jdouble, jdouble, jdouble, jdouble, jdouble);
+ static jboolean between(jdouble, jdouble, jdouble, jdouble, jdouble, jdouble);
+public:
+ static jboolean linesIntersect(jdouble, jdouble, jdouble, jdouble, jdouble, jdouble, jdouble, jdouble);
+ virtual jboolean intersectsLine(jdouble, jdouble, jdouble, jdouble);
+ virtual jboolean intersectsLine(::java::awt::geom::Line2D *);
+ static jdouble ptSegDistSq(jdouble, jdouble, jdouble, jdouble, jdouble, jdouble);
+ static jdouble ptSegDist(jdouble, jdouble, jdouble, jdouble, jdouble, jdouble);
+ virtual jdouble ptSegDistSq(jdouble, jdouble);
+ virtual jdouble ptSegDistSq(::java::awt::geom::Point2D *);
+ virtual jdouble ptSegDist(jdouble, jdouble);
+ virtual jdouble ptSegDist(::java::awt::geom::Point2D *);
+ static jdouble ptLineDistSq(jdouble, jdouble, jdouble, jdouble, jdouble, jdouble);
+ static jdouble ptLineDist(jdouble, jdouble, jdouble, jdouble, jdouble, jdouble);
+ virtual jdouble ptLineDistSq(jdouble, jdouble);
+ virtual jdouble ptLineDistSq(::java::awt::geom::Point2D *);
+ virtual jdouble ptLineDist(jdouble, jdouble);
+ virtual jdouble ptLineDist(::java::awt::geom::Point2D *);
+ virtual jboolean contains(jdouble, jdouble);
+ virtual jboolean contains(::java::awt::geom::Point2D *);
+ virtual jboolean intersects(jdouble, jdouble, jdouble, jdouble);
+ virtual jboolean intersects(::java::awt::geom::Rectangle2D *);
+ virtual jboolean contains(jdouble, jdouble, jdouble, jdouble);
+ virtual jboolean contains(::java::awt::geom::Rectangle2D *);
+ virtual ::java::awt::Rectangle * getBounds();
+ virtual ::java::awt::geom::PathIterator * getPathIterator(::java::awt::geom::AffineTransform *);
+ virtual ::java::awt::geom::PathIterator * getPathIterator(::java::awt::geom::AffineTransform *, jdouble);
+ virtual ::java::lang::Object * clone();
+ virtual ::java::awt::geom::Rectangle2D * getBounds2D() = 0;
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_geom_Line2D__
diff --git a/libjava/java/awt/geom/NoninvertibleTransformException.h b/libjava/java/awt/geom/NoninvertibleTransformException.h
new file mode 100644
index 0000000..1e7b712
--- /dev/null
+++ b/libjava/java/awt/geom/NoninvertibleTransformException.h
@@ -0,0 +1,35 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_geom_NoninvertibleTransformException__
+#define __java_awt_geom_NoninvertibleTransformException__
+
+#pragma interface
+
+#include <java/lang/Exception.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace geom
+ {
+ class NoninvertibleTransformException;
+ }
+ }
+ }
+}
+
+class java::awt::geom::NoninvertibleTransformException : public ::java::lang::Exception
+{
+
+public:
+ NoninvertibleTransformException(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = 6137225240503990466LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_geom_NoninvertibleTransformException__
diff --git a/libjava/java/awt/geom/PathIterator.h b/libjava/java/awt/geom/PathIterator.h
new file mode 100644
index 0000000..a201f56
--- /dev/null
+++ b/libjava/java/awt/geom/PathIterator.h
@@ -0,0 +1,45 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_geom_PathIterator__
+#define __java_awt_geom_PathIterator__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace geom
+ {
+ class PathIterator;
+ }
+ }
+ }
+}
+
+class java::awt::geom::PathIterator : public ::java::lang::Object
+{
+
+public:
+ virtual jint getWindingRule() = 0;
+ virtual jboolean isDone() = 0;
+ virtual void next() = 0;
+ virtual jint currentSegment(JArray< jfloat > *) = 0;
+ virtual jint currentSegment(JArray< jdouble > *) = 0;
+ static const jint WIND_EVEN_ODD = 0;
+ static const jint WIND_NON_ZERO = 1;
+ static const jint SEG_MOVETO = 0;
+ static const jint SEG_LINETO = 1;
+ static const jint SEG_QUADTO = 2;
+ static const jint SEG_CUBICTO = 3;
+ static const jint SEG_CLOSE = 4;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_awt_geom_PathIterator__
diff --git a/libjava/java/awt/geom/Point2D$Double.h b/libjava/java/awt/geom/Point2D$Double.h
new file mode 100644
index 0000000..b03db3f
--- /dev/null
+++ b/libjava/java/awt/geom/Point2D$Double.h
@@ -0,0 +1,39 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_geom_Point2D$Double__
+#define __java_awt_geom_Point2D$Double__
+
+#pragma interface
+
+#include <java/awt/geom/Point2D.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace geom
+ {
+ class Point2D$Double;
+ }
+ }
+ }
+}
+
+class java::awt::geom::Point2D$Double : public ::java::awt::geom::Point2D
+{
+
+public:
+ Point2D$Double();
+ Point2D$Double(jdouble, jdouble);
+ virtual jdouble getX();
+ virtual jdouble getY();
+ virtual void setLocation(jdouble, jdouble);
+ virtual ::java::lang::String * toString();
+ jdouble __attribute__((aligned(__alignof__( ::java::awt::geom::Point2D)))) x;
+ jdouble y;
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_geom_Point2D$Double__
diff --git a/libjava/java/awt/geom/Point2D$Float.h b/libjava/java/awt/geom/Point2D$Float.h
new file mode 100644
index 0000000..f9da3d1
--- /dev/null
+++ b/libjava/java/awt/geom/Point2D$Float.h
@@ -0,0 +1,40 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_geom_Point2D$Float__
+#define __java_awt_geom_Point2D$Float__
+
+#pragma interface
+
+#include <java/awt/geom/Point2D.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace geom
+ {
+ class Point2D$Float;
+ }
+ }
+ }
+}
+
+class java::awt::geom::Point2D$Float : public ::java::awt::geom::Point2D
+{
+
+public:
+ Point2D$Float();
+ Point2D$Float(jfloat, jfloat);
+ virtual jdouble getX();
+ virtual jdouble getY();
+ virtual void setLocation(jdouble, jdouble);
+ virtual void setLocation(jfloat, jfloat);
+ virtual ::java::lang::String * toString();
+ jfloat __attribute__((aligned(__alignof__( ::java::awt::geom::Point2D)))) x;
+ jfloat y;
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_geom_Point2D$Float__
diff --git a/libjava/java/awt/geom/Point2D.h b/libjava/java/awt/geom/Point2D.h
new file mode 100644
index 0000000..bddd3ab
--- /dev/null
+++ b/libjava/java/awt/geom/Point2D.h
@@ -0,0 +1,46 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_geom_Point2D__
+#define __java_awt_geom_Point2D__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace geom
+ {
+ class Point2D;
+ }
+ }
+ }
+}
+
+class java::awt::geom::Point2D : public ::java::lang::Object
+{
+
+public: // actually protected
+ Point2D();
+public:
+ virtual jdouble getX() = 0;
+ virtual jdouble getY() = 0;
+ virtual void setLocation(jdouble, jdouble) = 0;
+ virtual void setLocation(::java::awt::geom::Point2D *);
+ static jdouble distanceSq(jdouble, jdouble, jdouble, jdouble);
+ static jdouble distance(jdouble, jdouble, jdouble, jdouble);
+ virtual jdouble distanceSq(jdouble, jdouble);
+ virtual jdouble distanceSq(::java::awt::geom::Point2D *);
+ virtual jdouble distance(jdouble, jdouble);
+ virtual jdouble distance(::java::awt::geom::Point2D *);
+ virtual ::java::lang::Object * clone();
+ virtual jint hashCode();
+ virtual jboolean equals(::java::lang::Object *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_geom_Point2D__
diff --git a/libjava/java/awt/geom/QuadCurve2D$1.h b/libjava/java/awt/geom/QuadCurve2D$1.h
new file mode 100644
index 0000000..987541a
--- /dev/null
+++ b/libjava/java/awt/geom/QuadCurve2D$1.h
@@ -0,0 +1,49 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_geom_QuadCurve2D$1__
+#define __java_awt_geom_QuadCurve2D$1__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace geom
+ {
+ class AffineTransform;
+ class QuadCurve2D;
+ class QuadCurve2D$1;
+ }
+ }
+ }
+}
+
+class java::awt::geom::QuadCurve2D$1 : public ::java::lang::Object
+{
+
+public: // actually package-private
+ QuadCurve2D$1(::java::awt::geom::QuadCurve2D *, ::java::awt::geom::AffineTransform *);
+public:
+ jint getWindingRule();
+ jboolean isDone();
+ void next();
+ jint currentSegment(JArray< jfloat > *);
+ jint currentSegment(JArray< jdouble > *);
+private:
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) current;
+public: // actually package-private
+ ::java::awt::geom::QuadCurve2D * this$0;
+private:
+ ::java::awt::geom::AffineTransform * val$at;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_geom_QuadCurve2D$1__
diff --git a/libjava/java/awt/geom/QuadCurve2D$Double.h b/libjava/java/awt/geom/QuadCurve2D$Double.h
new file mode 100644
index 0000000..91a524b
--- /dev/null
+++ b/libjava/java/awt/geom/QuadCurve2D$Double.h
@@ -0,0 +1,52 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_geom_QuadCurve2D$Double__
+#define __java_awt_geom_QuadCurve2D$Double__
+
+#pragma interface
+
+#include <java/awt/geom/QuadCurve2D.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace geom
+ {
+ class Point2D;
+ class QuadCurve2D$Double;
+ class Rectangle2D;
+ }
+ }
+ }
+}
+
+class java::awt::geom::QuadCurve2D$Double : public ::java::awt::geom::QuadCurve2D
+{
+
+public:
+ QuadCurve2D$Double();
+ QuadCurve2D$Double(jdouble, jdouble, jdouble, jdouble, jdouble, jdouble);
+ virtual jdouble getX1();
+ virtual jdouble getY1();
+ virtual ::java::awt::geom::Point2D * getP1();
+ virtual jdouble getCtrlX();
+ virtual jdouble getCtrlY();
+ virtual ::java::awt::geom::Point2D * getCtrlPt();
+ virtual jdouble getX2();
+ virtual jdouble getY2();
+ virtual ::java::awt::geom::Point2D * getP2();
+ virtual void setCurve(jdouble, jdouble, jdouble, jdouble, jdouble, jdouble);
+ virtual ::java::awt::geom::Rectangle2D * getBounds2D();
+ jdouble __attribute__((aligned(__alignof__( ::java::awt::geom::QuadCurve2D)))) x1;
+ jdouble y1;
+ jdouble ctrlx;
+ jdouble ctrly;
+ jdouble x2;
+ jdouble y2;
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_geom_QuadCurve2D$Double__
diff --git a/libjava/java/awt/geom/QuadCurve2D$Float.h b/libjava/java/awt/geom/QuadCurve2D$Float.h
new file mode 100644
index 0000000..b2f36d6
--- /dev/null
+++ b/libjava/java/awt/geom/QuadCurve2D$Float.h
@@ -0,0 +1,53 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_geom_QuadCurve2D$Float__
+#define __java_awt_geom_QuadCurve2D$Float__
+
+#pragma interface
+
+#include <java/awt/geom/QuadCurve2D.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace geom
+ {
+ class Point2D;
+ class QuadCurve2D$Float;
+ class Rectangle2D;
+ }
+ }
+ }
+}
+
+class java::awt::geom::QuadCurve2D$Float : public ::java::awt::geom::QuadCurve2D
+{
+
+public:
+ QuadCurve2D$Float();
+ QuadCurve2D$Float(jfloat, jfloat, jfloat, jfloat, jfloat, jfloat);
+ virtual jdouble getX1();
+ virtual jdouble getY1();
+ virtual ::java::awt::geom::Point2D * getP1();
+ virtual jdouble getCtrlX();
+ virtual jdouble getCtrlY();
+ virtual ::java::awt::geom::Point2D * getCtrlPt();
+ virtual jdouble getX2();
+ virtual jdouble getY2();
+ virtual ::java::awt::geom::Point2D * getP2();
+ virtual void setCurve(jdouble, jdouble, jdouble, jdouble, jdouble, jdouble);
+ virtual void setCurve(jfloat, jfloat, jfloat, jfloat, jfloat, jfloat);
+ virtual ::java::awt::geom::Rectangle2D * getBounds2D();
+ jfloat __attribute__((aligned(__alignof__( ::java::awt::geom::QuadCurve2D)))) x1;
+ jfloat y1;
+ jfloat ctrlx;
+ jfloat ctrly;
+ jfloat x2;
+ jfloat y2;
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_geom_QuadCurve2D$Float__
diff --git a/libjava/java/awt/geom/QuadCurve2D.h b/libjava/java/awt/geom/QuadCurve2D.h
new file mode 100644
index 0000000..f9adea4
--- /dev/null
+++ b/libjava/java/awt/geom/QuadCurve2D.h
@@ -0,0 +1,83 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_geom_QuadCurve2D__
+#define __java_awt_geom_QuadCurve2D__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Rectangle;
+ namespace geom
+ {
+ class AffineTransform;
+ class PathIterator;
+ class Point2D;
+ class QuadCurve2D;
+ class Rectangle2D;
+ }
+ }
+ }
+}
+
+class java::awt::geom::QuadCurve2D : public ::java::lang::Object
+{
+
+public: // actually protected
+ QuadCurve2D();
+public:
+ virtual jdouble getX1() = 0;
+ virtual jdouble getY1() = 0;
+ virtual ::java::awt::geom::Point2D * getP1() = 0;
+ virtual jdouble getCtrlX() = 0;
+ virtual jdouble getCtrlY() = 0;
+ virtual ::java::awt::geom::Point2D * getCtrlPt() = 0;
+ virtual jdouble getX2() = 0;
+ virtual jdouble getY2() = 0;
+ virtual ::java::awt::geom::Point2D * getP2() = 0;
+ virtual void setCurve(jdouble, jdouble, jdouble, jdouble, jdouble, jdouble) = 0;
+ virtual void setCurve(JArray< jdouble > *, jint);
+ virtual void setCurve(::java::awt::geom::Point2D *, ::java::awt::geom::Point2D *, ::java::awt::geom::Point2D *);
+ virtual void setCurve(JArray< ::java::awt::geom::Point2D * > *, jint);
+ virtual void setCurve(::java::awt::geom::QuadCurve2D *);
+ static jdouble getFlatnessSq(jdouble, jdouble, jdouble, jdouble, jdouble, jdouble);
+ static jdouble getFlatness(jdouble, jdouble, jdouble, jdouble, jdouble, jdouble);
+ static jdouble getFlatnessSq(JArray< jdouble > *, jint);
+ static jdouble getFlatness(JArray< jdouble > *, jint);
+ virtual jdouble getFlatnessSq();
+ virtual jdouble getFlatness();
+ virtual void subdivide(::java::awt::geom::QuadCurve2D *, ::java::awt::geom::QuadCurve2D *);
+ static void subdivide(::java::awt::geom::QuadCurve2D *, ::java::awt::geom::QuadCurve2D *, ::java::awt::geom::QuadCurve2D *);
+ static void subdivide(JArray< jdouble > *, jint, JArray< jdouble > *, jint, JArray< jdouble > *, jint);
+ static jint solveQuadratic(JArray< jdouble > *);
+ static jint solveQuadratic(JArray< jdouble > *, JArray< jdouble > *);
+ virtual jboolean contains(jdouble, jdouble);
+ virtual jboolean contains(::java::awt::geom::Point2D *);
+ virtual jboolean intersects(jdouble, jdouble, jdouble, jdouble);
+ virtual jboolean intersects(::java::awt::geom::Rectangle2D *);
+ virtual jboolean contains(jdouble, jdouble, jdouble, jdouble);
+ virtual jboolean contains(::java::awt::geom::Rectangle2D *);
+ virtual ::java::awt::Rectangle * getBounds();
+ virtual ::java::awt::geom::PathIterator * getPathIterator(::java::awt::geom::AffineTransform *);
+ virtual ::java::awt::geom::PathIterator * getPathIterator(::java::awt::geom::AffineTransform *, jdouble);
+ virtual ::java::lang::Object * clone();
+private:
+ jint getAxisIntersections(jdouble, jdouble, jboolean, jdouble);
+public:
+ virtual ::java::awt::geom::Rectangle2D * getBounds2D() = 0;
+private:
+ static jdouble BIG_VALUE;
+ static jdouble EPSILON;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_geom_QuadCurve2D__
diff --git a/libjava/java/awt/geom/Rectangle2D$1.h b/libjava/java/awt/geom/Rectangle2D$1.h
new file mode 100644
index 0000000..4403af4
--- /dev/null
+++ b/libjava/java/awt/geom/Rectangle2D$1.h
@@ -0,0 +1,53 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_geom_Rectangle2D$1__
+#define __java_awt_geom_Rectangle2D$1__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace geom
+ {
+ class AffineTransform;
+ class Rectangle2D;
+ class Rectangle2D$1;
+ }
+ }
+ }
+}
+
+class java::awt::geom::Rectangle2D$1 : public ::java::lang::Object
+{
+
+public: // actually package-private
+ Rectangle2D$1(::java::awt::geom::Rectangle2D *, jdouble, jdouble, jdouble, jdouble, ::java::awt::geom::AffineTransform *);
+public:
+ jint getWindingRule();
+ jboolean isDone();
+ void next();
+ jint currentSegment(JArray< jfloat > *);
+ jint currentSegment(JArray< jdouble > *);
+private:
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) current;
+public: // actually package-private
+ ::java::awt::geom::Rectangle2D * this$0;
+private:
+ jdouble val$maxx;
+ jdouble val$miny;
+ jdouble val$maxy;
+ jdouble val$minx;
+ ::java::awt::geom::AffineTransform * val$at;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_geom_Rectangle2D$1__
diff --git a/libjava/java/awt/geom/Rectangle2D$Double.h b/libjava/java/awt/geom/Rectangle2D$Double.h
new file mode 100644
index 0000000..20105f9
--- /dev/null
+++ b/libjava/java/awt/geom/Rectangle2D$Double.h
@@ -0,0 +1,50 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_geom_Rectangle2D$Double__
+#define __java_awt_geom_Rectangle2D$Double__
+
+#pragma interface
+
+#include <java/awt/geom/Rectangle2D.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace geom
+ {
+ class Rectangle2D;
+ class Rectangle2D$Double;
+ }
+ }
+ }
+}
+
+class java::awt::geom::Rectangle2D$Double : public ::java::awt::geom::Rectangle2D
+{
+
+public:
+ Rectangle2D$Double();
+ Rectangle2D$Double(jdouble, jdouble, jdouble, jdouble);
+ virtual jdouble getX();
+ virtual jdouble getY();
+ virtual jdouble getWidth();
+ virtual jdouble getHeight();
+ virtual jboolean isEmpty();
+ virtual void setRect(jdouble, jdouble, jdouble, jdouble);
+ virtual void setRect(::java::awt::geom::Rectangle2D *);
+ virtual jint outcode(jdouble, jdouble);
+ virtual ::java::awt::geom::Rectangle2D * getBounds2D();
+ virtual ::java::awt::geom::Rectangle2D * createIntersection(::java::awt::geom::Rectangle2D *);
+ virtual ::java::awt::geom::Rectangle2D * createUnion(::java::awt::geom::Rectangle2D *);
+ virtual ::java::lang::String * toString();
+ jdouble __attribute__((aligned(__alignof__( ::java::awt::geom::Rectangle2D)))) x;
+ jdouble y;
+ jdouble width;
+ jdouble height;
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_geom_Rectangle2D$Double__
diff --git a/libjava/java/awt/geom/Rectangle2D$Float.h b/libjava/java/awt/geom/Rectangle2D$Float.h
new file mode 100644
index 0000000..61dbf37
--- /dev/null
+++ b/libjava/java/awt/geom/Rectangle2D$Float.h
@@ -0,0 +1,54 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_geom_Rectangle2D$Float__
+#define __java_awt_geom_Rectangle2D$Float__
+
+#pragma interface
+
+#include <java/awt/geom/Rectangle2D.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace geom
+ {
+ class Rectangle2D;
+ class Rectangle2D$Float;
+ }
+ }
+ }
+}
+
+class java::awt::geom::Rectangle2D$Float : public ::java::awt::geom::Rectangle2D
+{
+
+public:
+ Rectangle2D$Float();
+ Rectangle2D$Float(jfloat, jfloat, jfloat, jfloat);
+public: // actually package-private
+ Rectangle2D$Float(jdouble, jdouble, jdouble, jdouble);
+public:
+ virtual jdouble getX();
+ virtual jdouble getY();
+ virtual jdouble getWidth();
+ virtual jdouble getHeight();
+ virtual jboolean isEmpty();
+ virtual void setRect(jfloat, jfloat, jfloat, jfloat);
+ virtual void setRect(jdouble, jdouble, jdouble, jdouble);
+ virtual void setRect(::java::awt::geom::Rectangle2D *);
+ virtual jint outcode(jdouble, jdouble);
+ virtual ::java::awt::geom::Rectangle2D * getBounds2D();
+ virtual ::java::awt::geom::Rectangle2D * createIntersection(::java::awt::geom::Rectangle2D *);
+ virtual ::java::awt::geom::Rectangle2D * createUnion(::java::awt::geom::Rectangle2D *);
+ virtual ::java::lang::String * toString();
+ jfloat __attribute__((aligned(__alignof__( ::java::awt::geom::Rectangle2D)))) x;
+ jfloat y;
+ jfloat width;
+ jfloat height;
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_geom_Rectangle2D$Float__
diff --git a/libjava/java/awt/geom/Rectangle2D.h b/libjava/java/awt/geom/Rectangle2D.h
new file mode 100644
index 0000000..e81e0a8
--- /dev/null
+++ b/libjava/java/awt/geom/Rectangle2D.h
@@ -0,0 +1,63 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_geom_Rectangle2D__
+#define __java_awt_geom_Rectangle2D__
+
+#pragma interface
+
+#include <java/awt/geom/RectangularShape.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace geom
+ {
+ class AffineTransform;
+ class Line2D;
+ class PathIterator;
+ class Point2D;
+ class Rectangle2D;
+ }
+ }
+ }
+}
+
+class java::awt::geom::Rectangle2D : public ::java::awt::geom::RectangularShape
+{
+
+public: // actually protected
+ Rectangle2D();
+public:
+ virtual void setRect(jdouble, jdouble, jdouble, jdouble) = 0;
+ virtual void setRect(::java::awt::geom::Rectangle2D *);
+ virtual jboolean intersectsLine(jdouble, jdouble, jdouble, jdouble);
+ virtual jboolean intersectsLine(::java::awt::geom::Line2D *);
+ virtual jint outcode(jdouble, jdouble) = 0;
+ virtual jint outcode(::java::awt::geom::Point2D *);
+ virtual void setFrame(jdouble, jdouble, jdouble, jdouble);
+ virtual ::java::awt::geom::Rectangle2D * getBounds2D();
+ virtual jboolean contains(jdouble, jdouble);
+ virtual jboolean intersects(jdouble, jdouble, jdouble, jdouble);
+ virtual jboolean contains(jdouble, jdouble, jdouble, jdouble);
+ virtual ::java::awt::geom::Rectangle2D * createIntersection(::java::awt::geom::Rectangle2D *) = 0;
+ static void intersect(::java::awt::geom::Rectangle2D *, ::java::awt::geom::Rectangle2D *, ::java::awt::geom::Rectangle2D *);
+ virtual ::java::awt::geom::Rectangle2D * createUnion(::java::awt::geom::Rectangle2D *) = 0;
+ static void union$(::java::awt::geom::Rectangle2D *, ::java::awt::geom::Rectangle2D *, ::java::awt::geom::Rectangle2D *);
+ virtual void add(jdouble, jdouble);
+ virtual void add(::java::awt::geom::Point2D *);
+ virtual void add(::java::awt::geom::Rectangle2D *);
+ virtual ::java::awt::geom::PathIterator * getPathIterator(::java::awt::geom::AffineTransform *);
+ virtual ::java::awt::geom::PathIterator * getPathIterator(::java::awt::geom::AffineTransform *, jdouble);
+ virtual jint hashCode();
+ virtual jboolean equals(::java::lang::Object *);
+ static const jint OUT_LEFT = 1;
+ static const jint OUT_TOP = 2;
+ static const jint OUT_RIGHT = 4;
+ static const jint OUT_BOTTOM = 8;
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_geom_Rectangle2D__
diff --git a/libjava/java/awt/geom/RectangularShape.h b/libjava/java/awt/geom/RectangularShape.h
new file mode 100644
index 0000000..18e1360
--- /dev/null
+++ b/libjava/java/awt/geom/RectangularShape.h
@@ -0,0 +1,69 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_geom_RectangularShape__
+#define __java_awt_geom_RectangularShape__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Rectangle;
+ namespace geom
+ {
+ class AffineTransform;
+ class Dimension2D;
+ class PathIterator;
+ class Point2D;
+ class Rectangle2D;
+ class RectangularShape;
+ }
+ }
+ }
+}
+
+class java::awt::geom::RectangularShape : public ::java::lang::Object
+{
+
+public: // actually protected
+ RectangularShape();
+public:
+ virtual jdouble getX() = 0;
+ virtual jdouble getY() = 0;
+ virtual jdouble getWidth() = 0;
+ virtual jdouble getHeight() = 0;
+ virtual jdouble getMinX();
+ virtual jdouble getMinY();
+ virtual jdouble getMaxX();
+ virtual jdouble getMaxY();
+ virtual jdouble getCenterX();
+ virtual jdouble getCenterY();
+ virtual ::java::awt::geom::Rectangle2D * getFrame();
+ virtual jboolean isEmpty() = 0;
+ virtual void setFrame(jdouble, jdouble, jdouble, jdouble) = 0;
+ virtual void setFrame(::java::awt::geom::Point2D *, ::java::awt::geom::Dimension2D *);
+ virtual void setFrame(::java::awt::geom::Rectangle2D *);
+ virtual void setFrameFromDiagonal(jdouble, jdouble, jdouble, jdouble);
+ virtual void setFrameFromDiagonal(::java::awt::geom::Point2D *, ::java::awt::geom::Point2D *);
+ virtual void setFrameFromCenter(jdouble, jdouble, jdouble, jdouble);
+ virtual void setFrameFromCenter(::java::awt::geom::Point2D *, ::java::awt::geom::Point2D *);
+ virtual jboolean contains(::java::awt::geom::Point2D *);
+ virtual jboolean intersects(::java::awt::geom::Rectangle2D *);
+ virtual jboolean contains(::java::awt::geom::Rectangle2D *);
+ virtual ::java::awt::Rectangle * getBounds();
+ virtual ::java::awt::geom::PathIterator * getPathIterator(::java::awt::geom::AffineTransform *, jdouble);
+ virtual ::java::lang::Object * clone();
+ virtual ::java::awt::geom::Rectangle2D * getBounds2D() = 0;
+ virtual jboolean contains(jdouble, jdouble) = 0;
+ virtual jboolean intersects(jdouble, jdouble, jdouble, jdouble) = 0;
+ virtual jboolean contains(jdouble, jdouble, jdouble, jdouble) = 0;
+ virtual ::java::awt::geom::PathIterator * getPathIterator(::java::awt::geom::AffineTransform *) = 0;
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_geom_RectangularShape__
diff --git a/libjava/java/awt/geom/RoundRectangle2D$1.h b/libjava/java/awt/geom/RoundRectangle2D$1.h
new file mode 100644
index 0000000..04bb8a5
--- /dev/null
+++ b/libjava/java/awt/geom/RoundRectangle2D$1.h
@@ -0,0 +1,58 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_geom_RoundRectangle2D$1__
+#define __java_awt_geom_RoundRectangle2D$1__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace geom
+ {
+ class AffineTransform;
+ class Arc2D$Double;
+ class PathIterator;
+ class RoundRectangle2D;
+ class RoundRectangle2D$1;
+ }
+ }
+ }
+}
+
+class java::awt::geom::RoundRectangle2D$1 : public ::java::lang::Object
+{
+
+public: // actually package-private
+ RoundRectangle2D$1(::java::awt::geom::RoundRectangle2D *, ::java::awt::geom::AffineTransform *);
+public:
+ jint currentSegment(JArray< jdouble > *);
+ jint currentSegment(JArray< jfloat > *);
+ jint getWindingRule();
+ jboolean isDone();
+ void next();
+public: // actually package-private
+ jdouble __attribute__((aligned(__alignof__( ::java::lang::Object)))) x;
+ jdouble y;
+ jdouble w;
+ jdouble h;
+ jdouble arcW;
+ jdouble arcH;
+ ::java::awt::geom::Arc2D$Double * arc;
+ ::java::awt::geom::PathIterator * corner;
+ jint step;
+ ::java::awt::geom::RoundRectangle2D * this$0;
+private:
+ ::java::awt::geom::AffineTransform * val$at;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_geom_RoundRectangle2D$1__
diff --git a/libjava/java/awt/geom/RoundRectangle2D$Double.h b/libjava/java/awt/geom/RoundRectangle2D$Double.h
new file mode 100644
index 0000000..08010fd
--- /dev/null
+++ b/libjava/java/awt/geom/RoundRectangle2D$Double.h
@@ -0,0 +1,49 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_geom_RoundRectangle2D$Double__
+#define __java_awt_geom_RoundRectangle2D$Double__
+
+#pragma interface
+
+#include <java/awt/geom/RoundRectangle2D.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace geom
+ {
+ class Rectangle2D;
+ class RoundRectangle2D$Double;
+ }
+ }
+ }
+}
+
+class java::awt::geom::RoundRectangle2D$Double : public ::java::awt::geom::RoundRectangle2D
+{
+
+public:
+ RoundRectangle2D$Double();
+ RoundRectangle2D$Double(jdouble, jdouble, jdouble, jdouble, jdouble, jdouble);
+ virtual jdouble getArcHeight();
+ virtual jdouble getArcWidth();
+ virtual ::java::awt::geom::Rectangle2D * getBounds2D();
+ virtual jdouble getX();
+ virtual jdouble getY();
+ virtual jdouble getWidth();
+ virtual jdouble getHeight();
+ virtual jboolean isEmpty();
+ virtual void setRoundRect(jdouble, jdouble, jdouble, jdouble, jdouble, jdouble);
+ jdouble __attribute__((aligned(__alignof__( ::java::awt::geom::RoundRectangle2D)))) archeight;
+ jdouble arcwidth;
+ jdouble x;
+ jdouble y;
+ jdouble width;
+ jdouble height;
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_geom_RoundRectangle2D$Double__
diff --git a/libjava/java/awt/geom/RoundRectangle2D$Float.h b/libjava/java/awt/geom/RoundRectangle2D$Float.h
new file mode 100644
index 0000000..184c5f4
--- /dev/null
+++ b/libjava/java/awt/geom/RoundRectangle2D$Float.h
@@ -0,0 +1,50 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_geom_RoundRectangle2D$Float__
+#define __java_awt_geom_RoundRectangle2D$Float__
+
+#pragma interface
+
+#include <java/awt/geom/RoundRectangle2D.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace geom
+ {
+ class Rectangle2D;
+ class RoundRectangle2D$Float;
+ }
+ }
+ }
+}
+
+class java::awt::geom::RoundRectangle2D$Float : public ::java::awt::geom::RoundRectangle2D
+{
+
+public:
+ RoundRectangle2D$Float();
+ RoundRectangle2D$Float(jfloat, jfloat, jfloat, jfloat, jfloat, jfloat);
+ virtual jdouble getArcHeight();
+ virtual jdouble getArcWidth();
+ virtual ::java::awt::geom::Rectangle2D * getBounds2D();
+ virtual jdouble getX();
+ virtual jdouble getY();
+ virtual jdouble getWidth();
+ virtual jdouble getHeight();
+ virtual jboolean isEmpty();
+ virtual void setRoundRect(jfloat, jfloat, jfloat, jfloat, jfloat, jfloat);
+ virtual void setRoundRect(jdouble, jdouble, jdouble, jdouble, jdouble, jdouble);
+ jfloat __attribute__((aligned(__alignof__( ::java::awt::geom::RoundRectangle2D)))) archeight;
+ jfloat arcwidth;
+ jfloat x;
+ jfloat y;
+ jfloat width;
+ jfloat height;
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_geom_RoundRectangle2D$Float__
diff --git a/libjava/java/awt/geom/RoundRectangle2D.h b/libjava/java/awt/geom/RoundRectangle2D.h
new file mode 100644
index 0000000..a9092ca
--- /dev/null
+++ b/libjava/java/awt/geom/RoundRectangle2D.h
@@ -0,0 +1,45 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_geom_RoundRectangle2D__
+#define __java_awt_geom_RoundRectangle2D__
+
+#pragma interface
+
+#include <java/awt/geom/RectangularShape.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace geom
+ {
+ class AffineTransform;
+ class PathIterator;
+ class RoundRectangle2D;
+ }
+ }
+ }
+}
+
+class java::awt::geom::RoundRectangle2D : public ::java::awt::geom::RectangularShape
+{
+
+public:
+ virtual jdouble getArcHeight() = 0;
+ virtual jdouble getArcWidth() = 0;
+ virtual void setRoundRect(jdouble, jdouble, jdouble, jdouble, jdouble, jdouble) = 0;
+public: // actually protected
+ RoundRectangle2D();
+public:
+ virtual jboolean contains(jdouble, jdouble);
+ virtual jboolean contains(jdouble, jdouble, jdouble, jdouble);
+ virtual ::java::awt::geom::PathIterator * getPathIterator(::java::awt::geom::AffineTransform *);
+ virtual jboolean intersects(jdouble, jdouble, jdouble, jdouble);
+ virtual void setFrame(jdouble, jdouble, jdouble, jdouble);
+ virtual void setRoundRect(::java::awt::geom::RoundRectangle2D *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_geom_RoundRectangle2D__
diff --git a/libjava/java/awt/im/InputContext.h b/libjava/java/awt/im/InputContext.h
new file mode 100644
index 0000000..59c0204
--- /dev/null
+++ b/libjava/java/awt/im/InputContext.h
@@ -0,0 +1,59 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_im_InputContext__
+#define __java_awt_im_InputContext__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class AWTEvent;
+ class Component;
+ namespace im
+ {
+ class InputContext;
+ namespace spi
+ {
+ class InputMethod;
+ }
+ }
+ }
+ }
+}
+
+class java::awt::im::InputContext : public ::java::lang::Object
+{
+
+public: // actually protected
+ InputContext();
+public:
+ static ::java::awt::im::InputContext * getInstance();
+ virtual jboolean selectInputMethod(::java::util::Locale *);
+ virtual ::java::util::Locale * getLocale();
+ virtual void setCharacterSubsets(JArray< ::java::lang::Character$Subset * > *);
+ virtual void setCompositionEnabled(jboolean);
+ virtual jboolean isCompositionEnabled();
+ virtual void reconvert();
+ virtual void dispatchEvent(::java::awt::AWTEvent *);
+ virtual void removeNotify(::java::awt::Component *);
+ virtual void endComposition();
+ virtual void dispose();
+ virtual ::java::lang::Object * getInputMethodControlObject();
+private:
+ static ::java::util::ArrayList * descriptors;
+ ::java::awt::im::spi::InputMethod * __attribute__((aligned(__alignof__( ::java::lang::Object)))) im;
+ ::java::util::HashMap * recent;
+ JArray< ::java::lang::Character$Subset * > * subsets;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_im_InputContext__
diff --git a/libjava/java/awt/im/InputMethodHighlight.h b/libjava/java/awt/im/InputMethodHighlight.h
new file mode 100644
index 0000000..72eb745
--- /dev/null
+++ b/libjava/java/awt/im/InputMethodHighlight.h
@@ -0,0 +1,50 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_im_InputMethodHighlight__
+#define __java_awt_im_InputMethodHighlight__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace im
+ {
+ class InputMethodHighlight;
+ }
+ }
+ }
+}
+
+class java::awt::im::InputMethodHighlight : public ::java::lang::Object
+{
+
+public:
+ InputMethodHighlight(jboolean, jint);
+ InputMethodHighlight(jboolean, jint, jint);
+ InputMethodHighlight(jboolean, jint, jint, ::java::util::Map *);
+ virtual jboolean isSelected();
+ virtual jint getState();
+ virtual jint getVariation();
+ virtual ::java::util::Map * getStyle();
+ static const jint RAW_TEXT = 0;
+ static const jint CONVERTED_TEXT = 1;
+ static ::java::awt::im::InputMethodHighlight * UNSELECTED_RAW_TEXT_HIGHLIGHT;
+ static ::java::awt::im::InputMethodHighlight * SELECTED_RAW_TEXT_HIGHLIGHT;
+ static ::java::awt::im::InputMethodHighlight * UNSELECTED_CONVERTED_TEXT_HIGHLIGHT;
+ static ::java::awt::im::InputMethodHighlight * SELECTED_CONVERTED_TEXT_HIGHLIGHT;
+private:
+ jboolean __attribute__((aligned(__alignof__( ::java::lang::Object)))) selected;
+ jint state;
+ jint variation;
+ ::java::util::Map * style;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_im_InputMethodHighlight__
diff --git a/libjava/java/awt/im/InputMethodRequests.h b/libjava/java/awt/im/InputMethodRequests.h
new file mode 100644
index 0000000..4552bc9
--- /dev/null
+++ b/libjava/java/awt/im/InputMethodRequests.h
@@ -0,0 +1,50 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_im_InputMethodRequests__
+#define __java_awt_im_InputMethodRequests__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Rectangle;
+ namespace font
+ {
+ class TextHitInfo;
+ }
+ namespace im
+ {
+ class InputMethodRequests;
+ }
+ }
+ namespace text
+ {
+ class AttributedCharacterIterator;
+ class AttributedCharacterIterator$Attribute;
+ }
+ }
+}
+
+class java::awt::im::InputMethodRequests : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::awt::Rectangle * getTextLocation(::java::awt::font::TextHitInfo *) = 0;
+ virtual ::java::awt::font::TextHitInfo * getLocationOffset(jint, jint) = 0;
+ virtual jint getInsertPositionOffset() = 0;
+ virtual ::java::text::AttributedCharacterIterator * getCommittedText(jint, jint, JArray< ::java::text::AttributedCharacterIterator$Attribute * > *) = 0;
+ virtual jint getCommittedTextLength() = 0;
+ virtual ::java::text::AttributedCharacterIterator * cancelLatestCommittedText(JArray< ::java::text::AttributedCharacterIterator$Attribute * > *) = 0;
+ virtual ::java::text::AttributedCharacterIterator * getSelectedText(JArray< ::java::text::AttributedCharacterIterator$Attribute * > *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_awt_im_InputMethodRequests__
diff --git a/libjava/java/awt/im/InputSubset.h b/libjava/java/awt/im/InputSubset.h
new file mode 100644
index 0000000..181a6af
--- /dev/null
+++ b/libjava/java/awt/im/InputSubset.h
@@ -0,0 +1,41 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_im_InputSubset__
+#define __java_awt_im_InputSubset__
+
+#pragma interface
+
+#include <java/lang/Character$Subset.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace im
+ {
+ class InputSubset;
+ }
+ }
+ }
+}
+
+class java::awt::im::InputSubset : public ::java::lang::Character$Subset
+{
+
+ InputSubset(::java::lang::String *);
+public:
+ static ::java::awt::im::InputSubset * LATIN;
+ static ::java::awt::im::InputSubset * LATIN_DIGITS;
+ static ::java::awt::im::InputSubset * TRADITIONAL_HANZI;
+ static ::java::awt::im::InputSubset * SIMPLIFIED_HANZI;
+ static ::java::awt::im::InputSubset * KANJI;
+ static ::java::awt::im::InputSubset * HANJA;
+ static ::java::awt::im::InputSubset * HALFWIDTH_KATAKANA;
+ static ::java::awt::im::InputSubset * FULLWIDTH_LATIN;
+ static ::java::awt::im::InputSubset * FULLWIDTH_DIGITS;
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_im_InputSubset__
diff --git a/libjava/java/awt/im/spi/InputMethod.h b/libjava/java/awt/im/spi/InputMethod.h
new file mode 100644
index 0000000..d48fc67
--- /dev/null
+++ b/libjava/java/awt/im/spi/InputMethod.h
@@ -0,0 +1,55 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_im_spi_InputMethod__
+#define __java_awt_im_spi_InputMethod__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class AWTEvent;
+ class Rectangle;
+ namespace im
+ {
+ namespace spi
+ {
+ class InputMethod;
+ class InputMethodContext;
+ }
+ }
+ }
+ }
+}
+
+class java::awt::im::spi::InputMethod : public ::java::lang::Object
+{
+
+public:
+ virtual void setInputMethodContext(::java::awt::im::spi::InputMethodContext *) = 0;
+ virtual jboolean setLocale(::java::util::Locale *) = 0;
+ virtual ::java::util::Locale * getLocale() = 0;
+ virtual void setCharacterSubsets(JArray< ::java::lang::Character$Subset * > *) = 0;
+ virtual void setCompositionEnabled(jboolean) = 0;
+ virtual jboolean isCompositionEnabled() = 0;
+ virtual void reconvert() = 0;
+ virtual void dispatchEvent(::java::awt::AWTEvent *) = 0;
+ virtual void notifyClientWindowChange(::java::awt::Rectangle *) = 0;
+ virtual void activate() = 0;
+ virtual void deactivate(jboolean) = 0;
+ virtual void hideWindows() = 0;
+ virtual void removeNotify() = 0;
+ virtual void endComposition() = 0;
+ virtual void dispose() = 0;
+ virtual ::java::lang::Object * getControlObject() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_awt_im_spi_InputMethod__
diff --git a/libjava/java/awt/im/spi/InputMethodContext.h b/libjava/java/awt/im/spi/InputMethodContext.h
new file mode 100644
index 0000000..8dcef0e
--- /dev/null
+++ b/libjava/java/awt/im/spi/InputMethodContext.h
@@ -0,0 +1,66 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_im_spi_InputMethodContext__
+#define __java_awt_im_spi_InputMethodContext__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Rectangle;
+ class Window;
+ namespace font
+ {
+ class TextHitInfo;
+ }
+ namespace im
+ {
+ namespace spi
+ {
+ class InputMethod;
+ class InputMethodContext;
+ }
+ }
+ }
+ namespace text
+ {
+ class AttributedCharacterIterator;
+ class AttributedCharacterIterator$Attribute;
+ }
+ }
+ namespace javax
+ {
+ namespace swing
+ {
+ class JFrame;
+ }
+ }
+}
+
+class java::awt::im::spi::InputMethodContext : public ::java::lang::Object
+{
+
+public:
+ virtual void dispatchInputMethodEvent(jint, ::java::text::AttributedCharacterIterator *, jint, ::java::awt::font::TextHitInfo *, ::java::awt::font::TextHitInfo *) = 0;
+ virtual ::java::awt::Window * createInputMethodWindow(::java::lang::String *, jboolean) = 0;
+ virtual ::javax::swing::JFrame * createInputMethodJFrame(::java::lang::String *, jboolean) = 0;
+ virtual void enableClientWindowNotification(::java::awt::im::spi::InputMethod *, jboolean) = 0;
+ virtual ::java::awt::Rectangle * getTextLocation(::java::awt::font::TextHitInfo *) = 0;
+ virtual ::java::awt::font::TextHitInfo * getLocationOffset(jint, jint) = 0;
+ virtual jint getInsertPositionOffset() = 0;
+ virtual ::java::text::AttributedCharacterIterator * getCommittedText(jint, jint, JArray< ::java::text::AttributedCharacterIterator$Attribute * > *) = 0;
+ virtual jint getCommittedTextLength() = 0;
+ virtual ::java::text::AttributedCharacterIterator * cancelLatestCommittedText(JArray< ::java::text::AttributedCharacterIterator$Attribute * > *) = 0;
+ virtual ::java::text::AttributedCharacterIterator * getSelectedText(JArray< ::java::text::AttributedCharacterIterator$Attribute * > *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_awt_im_spi_InputMethodContext__
diff --git a/libjava/java/awt/im/spi/InputMethodDescriptor.h b/libjava/java/awt/im/spi/InputMethodDescriptor.h
new file mode 100644
index 0000000..60d0829
--- /dev/null
+++ b/libjava/java/awt/im/spi/InputMethodDescriptor.h
@@ -0,0 +1,43 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_im_spi_InputMethodDescriptor__
+#define __java_awt_im_spi_InputMethodDescriptor__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Image;
+ namespace im
+ {
+ namespace spi
+ {
+ class InputMethod;
+ class InputMethodDescriptor;
+ }
+ }
+ }
+ }
+}
+
+class java::awt::im::spi::InputMethodDescriptor : public ::java::lang::Object
+{
+
+public:
+ virtual JArray< ::java::util::Locale * > * getAvailableLocales() = 0;
+ virtual jboolean hasDynamicLocaleList() = 0;
+ virtual ::java::lang::String * getInputMethodDisplayName(::java::util::Locale *, ::java::util::Locale *) = 0;
+ virtual ::java::awt::Image * getInputMethodIcon(::java::util::Locale *) = 0;
+ virtual ::java::awt::im::spi::InputMethod * createInputMethod() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_awt_im_spi_InputMethodDescriptor__
diff --git a/libjava/java/awt/image/AffineTransformOp.h b/libjava/java/awt/image/AffineTransformOp.h
new file mode 100644
index 0000000..be0dee4
--- /dev/null
+++ b/libjava/java/awt/image/AffineTransformOp.h
@@ -0,0 +1,68 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_image_AffineTransformOp__
+#define __java_awt_image_AffineTransformOp__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class RenderingHints;
+ namespace geom
+ {
+ class AffineTransform;
+ class Point2D;
+ class Rectangle2D;
+ }
+ namespace image
+ {
+ class AffineTransformOp;
+ class BufferedImage;
+ class ColorModel;
+ class Raster;
+ class WritableRaster;
+ }
+ }
+ }
+}
+
+class java::awt::image::AffineTransformOp : public ::java::lang::Object
+{
+
+public:
+ AffineTransformOp(::java::awt::geom::AffineTransform *, jint);
+ AffineTransformOp(::java::awt::geom::AffineTransform *, ::java::awt::RenderingHints *);
+ virtual ::java::awt::image::BufferedImage * createCompatibleDestImage(::java::awt::image::BufferedImage *, ::java::awt::image::ColorModel *);
+ virtual ::java::awt::image::WritableRaster * createCompatibleDestRaster(::java::awt::image::Raster *);
+ virtual ::java::awt::image::BufferedImage * filter(::java::awt::image::BufferedImage *, ::java::awt::image::BufferedImage *);
+ virtual ::java::awt::image::WritableRaster * filter(::java::awt::image::Raster *, ::java::awt::image::WritableRaster *);
+ virtual ::java::awt::geom::Rectangle2D * getBounds2D(::java::awt::image::BufferedImage *);
+ virtual ::java::awt::geom::Rectangle2D * getBounds2D(::java::awt::image::Raster *);
+ virtual jint getInterpolationType();
+ virtual ::java::awt::geom::Point2D * getPoint2D(::java::awt::geom::Point2D *, ::java::awt::geom::Point2D *);
+ virtual ::java::awt::RenderingHints * getRenderingHints();
+ virtual ::java::awt::geom::AffineTransform * getTransform();
+private:
+ void filterNearest(::java::awt::image::Raster *, ::java::awt::image::WritableRaster *, JArray< jdouble > *, JArray< jdouble > *);
+ void filterBilinear(::java::awt::image::Raster *, ::java::awt::image::WritableRaster *, JArray< jdouble > *, JArray< jdouble > *);
+ void filterBicubic(::java::awt::image::Raster *, ::java::awt::image::WritableRaster *, JArray< jdouble > *, JArray< jdouble > *);
+public:
+ static const jint TYPE_NEAREST_NEIGHBOR = 1;
+ static const jint TYPE_BILINEAR = 2;
+ static const jint TYPE_BICUBIC = 3;
+private:
+ ::java::awt::geom::AffineTransform * __attribute__((aligned(__alignof__( ::java::lang::Object)))) transform;
+ ::java::awt::RenderingHints * hints;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_image_AffineTransformOp__
diff --git a/libjava/java/awt/image/AreaAveragingScaleFilter.h b/libjava/java/awt/image/AreaAveragingScaleFilter.h
new file mode 100644
index 0000000..694ae79a
--- /dev/null
+++ b/libjava/java/awt/image/AreaAveragingScaleFilter.h
@@ -0,0 +1,42 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_image_AreaAveragingScaleFilter__
+#define __java_awt_image_AreaAveragingScaleFilter__
+
+#pragma interface
+
+#include <java/awt/image/ReplicateScaleFilter.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace image
+ {
+ class AreaAveragingScaleFilter;
+ class ColorModel;
+ }
+ }
+ }
+}
+
+class java::awt::image::AreaAveragingScaleFilter : public ::java::awt::image::ReplicateScaleFilter
+{
+
+public:
+ AreaAveragingScaleFilter(jint, jint);
+ virtual void setHints(jint);
+ virtual void setPixels(jint, jint, jint, jint, ::java::awt::image::ColorModel *, JArray< jbyte > *, jint, jint);
+ virtual void setPixels(jint, jint, jint, jint, ::java::awt::image::ColorModel *, JArray< jint > *, jint, jint);
+private:
+ JArray< jbyte > * averagePixels(jint, jint, jint, jint, ::java::awt::image::ColorModel *, JArray< jbyte > *, jint, jint, jdouble, jdouble, jint);
+ JArray< jint > * averagePixels(jint, jint, jint, jint, ::java::awt::image::ColorModel *, JArray< jint > *, jint, jint, jdouble, jdouble, jint);
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_image_AreaAveragingScaleFilter__
diff --git a/libjava/java/awt/image/BandCombineOp.h b/libjava/java/awt/image/BandCombineOp.h
new file mode 100644
index 0000000..0233ef4
--- /dev/null
+++ b/libjava/java/awt/image/BandCombineOp.h
@@ -0,0 +1,52 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_image_BandCombineOp__
+#define __java_awt_image_BandCombineOp__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class RenderingHints;
+ namespace geom
+ {
+ class Point2D;
+ class Rectangle2D;
+ }
+ namespace image
+ {
+ class BandCombineOp;
+ class Raster;
+ class WritableRaster;
+ }
+ }
+ }
+}
+
+class java::awt::image::BandCombineOp : public ::java::lang::Object
+{
+
+public:
+ BandCombineOp(JArray< JArray< jfloat > * > *, ::java::awt::RenderingHints *);
+ virtual ::java::awt::image::WritableRaster * filter(::java::awt::image::Raster *, ::java::awt::image::WritableRaster *);
+ virtual ::java::awt::geom::Rectangle2D * getBounds2D(::java::awt::image::Raster *);
+ virtual ::java::awt::image::WritableRaster * createCompatibleDestRaster(::java::awt::image::Raster *);
+ virtual ::java::awt::geom::Point2D * getPoint2D(::java::awt::geom::Point2D *, ::java::awt::geom::Point2D *);
+ virtual ::java::awt::RenderingHints * getRenderingHints();
+ virtual JArray< JArray< jfloat > * > * getMatrix();
+private:
+ ::java::awt::RenderingHints * __attribute__((aligned(__alignof__( ::java::lang::Object)))) hints;
+ JArray< JArray< jfloat > * > * matrix;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_image_BandCombineOp__
diff --git a/libjava/java/awt/image/BandedSampleModel.h b/libjava/java/awt/image/BandedSampleModel.h
new file mode 100644
index 0000000..5eca819
--- /dev/null
+++ b/libjava/java/awt/image/BandedSampleModel.h
@@ -0,0 +1,65 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_image_BandedSampleModel__
+#define __java_awt_image_BandedSampleModel__
+
+#pragma interface
+
+#include <java/awt/image/ComponentSampleModel.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace image
+ {
+ class BandedSampleModel;
+ class DataBuffer;
+ class SampleModel;
+ }
+ }
+ }
+}
+
+class java::awt::image::BandedSampleModel : public ::java::awt::image::ComponentSampleModel
+{
+
+ static JArray< jint > * createBankArray(jint);
+public:
+ BandedSampleModel(jint, jint, jint, jint);
+ BandedSampleModel(jint, jint, jint, jint, JArray< jint > *, JArray< jint > *);
+ ::java::awt::image::DataBuffer * createDataBuffer();
+ ::java::awt::image::SampleModel * createCompatibleSampleModel(jint, jint);
+ ::java::awt::image::SampleModel * createSubsetSampleModel(JArray< jint > *);
+ ::java::lang::Object * getDataElements(jint, jint, ::java::lang::Object *, ::java::awt::image::DataBuffer *);
+ JArray< jint > * getPixel(jint, jint, JArray< jint > *, ::java::awt::image::DataBuffer *);
+ JArray< jint > * getPixels(jint, jint, jint, jint, JArray< jint > *, ::java::awt::image::DataBuffer *);
+ jint getSample(jint, jint, jint, ::java::awt::image::DataBuffer *);
+ jfloat getSampleFloat(jint, jint, jint, ::java::awt::image::DataBuffer *);
+ jdouble getSampleDouble(jint, jint, jint, ::java::awt::image::DataBuffer *);
+ JArray< jint > * getSamples(jint, jint, jint, jint, jint, JArray< jint > *, ::java::awt::image::DataBuffer *);
+ void setDataElements(jint, jint, ::java::lang::Object *, ::java::awt::image::DataBuffer *);
+ void setPixel(jint, jint, JArray< jint > *, ::java::awt::image::DataBuffer *);
+ void setPixels(jint, jint, jint, jint, JArray< jint > *, ::java::awt::image::DataBuffer *);
+ void setSample(jint, jint, jint, jint, ::java::awt::image::DataBuffer *);
+ void setSample(jint, jint, jint, jfloat, ::java::awt::image::DataBuffer *);
+ void setSample(jint, jint, jint, jdouble, ::java::awt::image::DataBuffer *);
+ void setSamples(jint, jint, jint, jint, jint, JArray< jint > *, ::java::awt::image::DataBuffer *);
+ ::java::lang::String * toString();
+private:
+ JArray< jint > * __attribute__((aligned(__alignof__( ::java::awt::image::ComponentSampleModel)))) bitMasks;
+ JArray< jint > * bitOffsets;
+ JArray< jint > * sampleSize;
+ jint dataBitOffset;
+ jint elemBits;
+ jint numberOfBits;
+ jint numElems;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_image_BandedSampleModel__
diff --git a/libjava/java/awt/image/BufferStrategy.h b/libjava/java/awt/image/BufferStrategy.h
new file mode 100644
index 0000000..682e73e
--- /dev/null
+++ b/libjava/java/awt/image/BufferStrategy.h
@@ -0,0 +1,39 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_image_BufferStrategy__
+#define __java_awt_image_BufferStrategy__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class BufferCapabilities;
+ class Graphics;
+ namespace image
+ {
+ class BufferStrategy;
+ }
+ }
+ }
+}
+
+class java::awt::image::BufferStrategy : public ::java::lang::Object
+{
+
+public:
+ BufferStrategy();
+ virtual ::java::awt::BufferCapabilities * getCapabilities() = 0;
+ virtual ::java::awt::Graphics * getDrawGraphics() = 0;
+ virtual jboolean contentsLost() = 0;
+ virtual jboolean contentsRestored() = 0;
+ virtual void show() = 0;
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_image_BufferStrategy__
diff --git a/libjava/java/awt/image/BufferedImage$1.h b/libjava/java/awt/image/BufferedImage$1.h
new file mode 100644
index 0000000..cdb16e7
--- /dev/null
+++ b/libjava/java/awt/image/BufferedImage$1.h
@@ -0,0 +1,44 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_image_BufferedImage$1__
+#define __java_awt_image_BufferedImage$1__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace image
+ {
+ class BufferedImage;
+ class BufferedImage$1;
+ class ImageConsumer;
+ }
+ }
+ }
+}
+
+class java::awt::image::BufferedImage$1 : public ::java::lang::Object
+{
+
+public: // actually package-private
+ BufferedImage$1(::java::awt::image::BufferedImage *);
+public:
+ void addConsumer(::java::awt::image::ImageConsumer *);
+ jboolean isConsumer(::java::awt::image::ImageConsumer *);
+ void removeConsumer(::java::awt::image::ImageConsumer *);
+ void startProduction(::java::awt::image::ImageConsumer *);
+ void requestTopDownLeftRightResend(::java::awt::image::ImageConsumer *);
+public: // actually package-private
+ ::java::util::Vector * __attribute__((aligned(__alignof__( ::java::lang::Object)))) consumers;
+ ::java::awt::image::BufferedImage * this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_image_BufferedImage$1__
diff --git a/libjava/java/awt/image/BufferedImage.h b/libjava/java/awt/image/BufferedImage.h
new file mode 100644
index 0000000..9c54907
--- /dev/null
+++ b/libjava/java/awt/image/BufferedImage.h
@@ -0,0 +1,124 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_image_BufferedImage__
+#define __java_awt_image_BufferedImage__
+
+#pragma interface
+
+#include <java/awt/Image.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Graphics;
+ class Graphics2D;
+ class Point;
+ class Rectangle;
+ namespace image
+ {
+ class BufferedImage;
+ class ColorModel;
+ class ImageObserver;
+ class ImageProducer;
+ class IndexColorModel;
+ class Raster;
+ class SampleModel;
+ class TileObserver;
+ class WritableRaster;
+ }
+ }
+ }
+}
+
+class java::awt::image::BufferedImage : public ::java::awt::Image
+{
+
+public:
+ BufferedImage(jint, jint, jint);
+ BufferedImage(jint, jint, jint, ::java::awt::image::IndexColorModel *);
+ BufferedImage(::java::awt::image::ColorModel *, ::java::awt::image::WritableRaster *, jboolean, ::java::util::Hashtable *);
+private:
+ void init(::java::awt::image::ColorModel *, ::java::awt::image::WritableRaster *, jboolean, ::java::util::Hashtable *, jint);
+ ::java::awt::image::IndexColorModel * createDefaultIndexedColorModel(jboolean);
+public:
+ virtual void coerceData(jboolean);
+ virtual ::java::awt::image::WritableRaster * copyData(::java::awt::image::WritableRaster *);
+ virtual ::java::awt::Graphics2D * createGraphics();
+ virtual void flush();
+ virtual ::java::awt::image::WritableRaster * getAlphaRaster();
+ virtual ::java::awt::image::ColorModel * getColorModel();
+ virtual ::java::awt::image::Raster * getData();
+ virtual ::java::awt::image::Raster * getData(::java::awt::Rectangle *);
+ virtual ::java::awt::Graphics * getGraphics();
+ virtual jint getHeight();
+ virtual jint getHeight(::java::awt::image::ImageObserver *);
+ virtual jint getMinTileX();
+ virtual jint getMinTileY();
+ virtual jint getMinX();
+ virtual jint getMinY();
+ virtual jint getNumXTiles();
+ virtual jint getNumYTiles();
+ virtual ::java::lang::Object * getProperty(::java::lang::String *);
+ virtual ::java::lang::Object * getProperty(::java::lang::String *, ::java::awt::image::ImageObserver *);
+ virtual JArray< ::java::lang::String * > * getPropertyNames();
+ virtual jint getRGB(jint, jint);
+ virtual JArray< jint > * getRGB(jint, jint, jint, jint, JArray< jint > *, jint, jint);
+ virtual ::java::awt::image::WritableRaster * getRaster();
+ virtual ::java::awt::image::SampleModel * getSampleModel();
+ virtual ::java::awt::image::ImageProducer * getSource();
+ virtual ::java::util::Vector * getSources();
+ virtual ::java::awt::image::BufferedImage * getSubimage(jint, jint, jint, jint);
+ virtual ::java::awt::image::Raster * getTile(jint, jint);
+ virtual jint getTileGridXOffset();
+ virtual jint getTileGridYOffset();
+ virtual jint getTileHeight();
+ virtual jint getTileWidth();
+ virtual jint getType();
+ virtual jint getWidth();
+ virtual jint getWidth(::java::awt::image::ImageObserver *);
+ virtual ::java::awt::image::WritableRaster * getWritableTile(jint, jint);
+ virtual JArray< ::java::awt::Point * > * getWritableTileIndices();
+ virtual jboolean hasTileWriters();
+ virtual jboolean isAlphaPremultiplied();
+ virtual jboolean isTileWritable(jint, jint);
+ virtual void releaseWritableTile(jint, jint);
+ virtual void setData(::java::awt::image::Raster *);
+ virtual void setRGB(jint, jint, jint);
+ virtual void setRGB(jint, jint, jint, jint, JArray< jint > *, jint, jint);
+ virtual ::java::lang::String * toString();
+ virtual void addTileObserver(::java::awt::image::TileObserver *);
+ virtual void removeTileObserver(::java::awt::image::TileObserver *);
+ virtual jint getTransparency();
+ static const jint TYPE_CUSTOM = 0;
+ static const jint TYPE_INT_RGB = 1;
+ static const jint TYPE_INT_ARGB = 2;
+ static const jint TYPE_INT_ARGB_PRE = 3;
+ static const jint TYPE_INT_BGR = 4;
+ static const jint TYPE_3BYTE_BGR = 5;
+ static const jint TYPE_4BYTE_ABGR = 6;
+ static const jint TYPE_4BYTE_ABGR_PRE = 7;
+ static const jint TYPE_USHORT_565_RGB = 8;
+ static const jint TYPE_USHORT_555_RGB = 9;
+ static const jint TYPE_BYTE_GRAY = 10;
+ static const jint TYPE_USHORT_GRAY = 11;
+ static const jint TYPE_BYTE_BINARY = 12;
+ static const jint TYPE_BYTE_INDEXED = 13;
+public: // actually package-private
+ ::java::util::Vector * __attribute__((aligned(__alignof__( ::java::awt::Image)))) tileObservers;
+ ::java::awt::image::WritableRaster * raster;
+ ::java::awt::image::ColorModel * colorModel;
+ ::java::util::Hashtable * properties;
+ jboolean isPremultiplied;
+ jint type;
+private:
+ static JArray< ::java::awt::Point * > * tileIndices;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_image_BufferedImage__
diff --git a/libjava/java/awt/image/BufferedImageFilter.h b/libjava/java/awt/image/BufferedImageFilter.h
new file mode 100644
index 0000000..08da9be
--- /dev/null
+++ b/libjava/java/awt/image/BufferedImageFilter.h
@@ -0,0 +1,42 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_image_BufferedImageFilter__
+#define __java_awt_image_BufferedImageFilter__
+
+#pragma interface
+
+#include <java/awt/image/ImageFilter.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace image
+ {
+ class BufferedImageFilter;
+ class BufferedImageOp;
+ class ColorModel;
+ }
+ }
+ }
+}
+
+class java::awt::image::BufferedImageFilter : public ::java::awt::image::ImageFilter
+{
+
+public:
+ BufferedImageFilter(::java::awt::image::BufferedImageOp *);
+ virtual ::java::awt::image::BufferedImageOp * getBufferedImageOp();
+ virtual void setPixels(jint, jint, jint, jint, ::java::awt::image::ColorModel *, JArray< jbyte > *, jint, jint);
+ virtual void setPixels(jint, jint, jint, jint, ::java::awt::image::ColorModel *, JArray< jint > *, jint, jint);
+private:
+ ::java::awt::image::BufferedImageOp * __attribute__((aligned(__alignof__( ::java::awt::image::ImageFilter)))) op;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_image_BufferedImageFilter__
diff --git a/libjava/java/awt/image/BufferedImageOp.h b/libjava/java/awt/image/BufferedImageOp.h
new file mode 100644
index 0000000..1af69aa
--- /dev/null
+++ b/libjava/java/awt/image/BufferedImageOp.h
@@ -0,0 +1,44 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_image_BufferedImageOp__
+#define __java_awt_image_BufferedImageOp__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class RenderingHints;
+ namespace geom
+ {
+ class Point2D;
+ class Rectangle2D;
+ }
+ namespace image
+ {
+ class BufferedImage;
+ class BufferedImageOp;
+ class ColorModel;
+ }
+ }
+ }
+}
+
+class java::awt::image::BufferedImageOp : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::awt::image::BufferedImage * filter(::java::awt::image::BufferedImage *, ::java::awt::image::BufferedImage *) = 0;
+ virtual ::java::awt::geom::Rectangle2D * getBounds2D(::java::awt::image::BufferedImage *) = 0;
+ virtual ::java::awt::image::BufferedImage * createCompatibleDestImage(::java::awt::image::BufferedImage *, ::java::awt::image::ColorModel *) = 0;
+ virtual ::java::awt::geom::Point2D * getPoint2D(::java::awt::geom::Point2D *, ::java::awt::geom::Point2D *) = 0;
+ virtual ::java::awt::RenderingHints * getRenderingHints() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_awt_image_BufferedImageOp__
diff --git a/libjava/java/awt/image/ByteLookupTable.h b/libjava/java/awt/image/ByteLookupTable.h
new file mode 100644
index 0000000..d34b385
--- /dev/null
+++ b/libjava/java/awt/image/ByteLookupTable.h
@@ -0,0 +1,41 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_image_ByteLookupTable__
+#define __java_awt_image_ByteLookupTable__
+
+#pragma interface
+
+#include <java/awt/image/LookupTable.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace image
+ {
+ class ByteLookupTable;
+ }
+ }
+ }
+}
+
+class java::awt::image::ByteLookupTable : public ::java::awt::image::LookupTable
+{
+
+public:
+ ByteLookupTable(jint, JArray< JArray< jbyte > * > *);
+ ByteLookupTable(jint, JArray< jbyte > *);
+ virtual JArray< JArray< jbyte > * > * getTable();
+ virtual JArray< jint > * lookupPixel(JArray< jint > *, JArray< jint > *);
+ virtual JArray< jbyte > * lookupPixel(JArray< jbyte > *, JArray< jbyte > *);
+private:
+ JArray< JArray< jbyte > * > * __attribute__((aligned(__alignof__( ::java::awt::image::LookupTable)))) data;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_image_ByteLookupTable__
diff --git a/libjava/java/awt/image/ColorConvertOp.h b/libjava/java/awt/image/ColorConvertOp.h
new file mode 100644
index 0000000..6455b46
--- /dev/null
+++ b/libjava/java/awt/image/ColorConvertOp.h
@@ -0,0 +1,70 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_image_ColorConvertOp__
+#define __java_awt_image_ColorConvertOp__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class RenderingHints;
+ namespace color
+ {
+ class ColorSpace;
+ class ICC_Profile;
+ }
+ namespace geom
+ {
+ class Point2D;
+ class Rectangle2D;
+ }
+ namespace image
+ {
+ class BufferedImage;
+ class ColorConvertOp;
+ class ColorModel;
+ class Raster;
+ class WritableRaster;
+ }
+ }
+ }
+}
+
+class java::awt::image::ColorConvertOp : public ::java::lang::Object
+{
+
+public:
+ ColorConvertOp(::java::awt::color::ColorSpace *, ::java::awt::RenderingHints *);
+ ColorConvertOp(::java::awt::color::ColorSpace *, ::java::awt::color::ColorSpace *, ::java::awt::RenderingHints *);
+ ColorConvertOp(JArray< ::java::awt::color::ICC_Profile * > *, ::java::awt::RenderingHints *);
+ ColorConvertOp(::java::awt::RenderingHints *);
+ virtual ::java::awt::image::BufferedImage * filter(::java::awt::image::BufferedImage *, ::java::awt::image::BufferedImage *);
+ virtual ::java::awt::image::WritableRaster * filter(::java::awt::image::Raster *, ::java::awt::image::WritableRaster *);
+ virtual ::java::awt::image::BufferedImage * createCompatibleDestImage(::java::awt::image::BufferedImage *, ::java::awt::image::ColorModel *);
+ virtual ::java::awt::image::WritableRaster * createCompatibleDestRaster(::java::awt::image::Raster *);
+ virtual JArray< ::java::awt::color::ICC_Profile * > * getICC_Profiles();
+ virtual ::java::awt::RenderingHints * getRenderingHints();
+ virtual ::java::awt::geom::Point2D * getPoint2D(::java::awt::geom::Point2D *, ::java::awt::geom::Point2D *);
+ virtual ::java::awt::geom::Rectangle2D * getBounds2D(::java::awt::image::BufferedImage *);
+ virtual ::java::awt::geom::Rectangle2D * getBounds2D(::java::awt::image::Raster *);
+private:
+ void copyimage(::java::awt::image::BufferedImage *, ::java::awt::image::BufferedImage *);
+ void copyraster(::java::awt::image::Raster *, ::java::awt::color::ColorSpace *, ::java::awt::image::WritableRaster *, ::java::awt::color::ColorSpace *);
+ ::java::awt::image::ColorModel * createCompatibleColorModel(::java::awt::image::BufferedImage *, ::java::awt::color::ColorSpace *);
+ ::java::awt::image::WritableRaster * createCompatibleDestRaster(::java::awt::image::Raster *, ::java::awt::color::ColorSpace *, jboolean, jint);
+ ::java::awt::RenderingHints * __attribute__((aligned(__alignof__( ::java::lang::Object)))) hints;
+ JArray< ::java::awt::color::ICC_Profile * > * profiles;
+ JArray< ::java::awt::color::ColorSpace * > * spaces;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_image_ColorConvertOp__
diff --git a/libjava/java/awt/image/ColorModel$SRGBColorModel.h b/libjava/java/awt/image/ColorModel$SRGBColorModel.h
new file mode 100644
index 0000000..90428c4
--- /dev/null
+++ b/libjava/java/awt/image/ColorModel$SRGBColorModel.h
@@ -0,0 +1,39 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_image_ColorModel$SRGBColorModel__
+#define __java_awt_image_ColorModel$SRGBColorModel__
+
+#pragma interface
+
+#include <java/awt/image/DirectColorModel.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace image
+ {
+ class ColorModel$SRGBColorModel;
+ }
+ }
+ }
+}
+
+class java::awt::image::ColorModel$SRGBColorModel : public ::java::awt::image::DirectColorModel
+{
+
+public: // actually package-private
+ ColorModel$SRGBColorModel();
+public:
+ virtual jint getAlpha(::java::lang::Object *);
+ virtual jint getBlue(::java::lang::Object *);
+ virtual jint getGreen(::java::lang::Object *);
+ virtual jint getRed(::java::lang::Object *);
+ virtual jint getRGB(::java::lang::Object *);
+ virtual ::java::lang::Object * getDataElements(jint, ::java::lang::Object *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_image_ColorModel$SRGBColorModel__
diff --git a/libjava/java/awt/image/ColorModel.h b/libjava/java/awt/image/ColorModel.h
new file mode 100644
index 0000000..3ed3b82
--- /dev/null
+++ b/libjava/java/awt/image/ColorModel.h
@@ -0,0 +1,108 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_image_ColorModel__
+#define __java_awt_image_ColorModel__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace color
+ {
+ class ColorSpace;
+ }
+ namespace image
+ {
+ class ColorModel;
+ class Raster;
+ class SampleModel;
+ class WritableRaster;
+ }
+ }
+ }
+}
+
+class java::awt::image::ColorModel : public ::java::lang::Object
+{
+
+public: // actually package-private
+ static JArray< jint > * nArray(jint, jint);
+ static JArray< jbyte > * nArray(jbyte, jint);
+public:
+ ColorModel(jint);
+public: // actually protected
+ ColorModel(jint, JArray< jint > *, ::java::awt::color::ColorSpace *, jboolean, jboolean, jint, jint);
+public:
+ virtual void finalize();
+ static ::java::awt::image::ColorModel * getRGBdefault();
+ virtual jboolean hasAlpha();
+ virtual jboolean isAlphaPremultiplied();
+ virtual jint getPixelSize();
+ virtual jint getComponentSize(jint);
+ virtual JArray< jint > * getComponentSize();
+ virtual jint getTransparency();
+ virtual jint getNumComponents();
+ virtual jint getNumColorComponents();
+ virtual jint getRed(jint) = 0;
+ virtual jint getGreen(jint) = 0;
+ virtual jint getBlue(jint) = 0;
+ virtual jint getAlpha(jint) = 0;
+ virtual jint getRGB(jint);
+public: // actually package-private
+ virtual jint getPixelFromArray(::java::lang::Object *);
+public:
+ virtual jint getRed(::java::lang::Object *);
+ virtual jint getGreen(::java::lang::Object *);
+ virtual jint getBlue(::java::lang::Object *);
+ virtual jint getAlpha(::java::lang::Object *);
+ virtual jint getRGB(::java::lang::Object *);
+ virtual ::java::lang::Object * getDataElements(jint, ::java::lang::Object *);
+ virtual JArray< jint > * getComponents(jint, JArray< jint > *, jint);
+ virtual JArray< jint > * getComponents(::java::lang::Object *, JArray< jint > *, jint);
+ virtual JArray< jint > * getUnnormalizedComponents(JArray< jfloat > *, jint, JArray< jint > *, jint);
+ virtual JArray< jfloat > * getNormalizedComponents(JArray< jint > *, jint, JArray< jfloat > *, jint);
+ virtual JArray< jfloat > * getNormalizedComponents(::java::lang::Object *, JArray< jfloat > *, jint);
+ virtual jint getDataElement(JArray< jint > *, jint);
+ virtual jint getDataElement(JArray< jfloat > *, jint);
+ virtual ::java::lang::Object * getDataElements(JArray< jint > *, jint, ::java::lang::Object *);
+ virtual ::java::lang::Object * getDataElements(JArray< jfloat > *, jint, ::java::lang::Object *);
+ virtual jboolean equals(::java::lang::Object *);
+ virtual ::java::awt::color::ColorSpace * getColorSpace();
+ virtual ::java::awt::image::ColorModel * coerceData(::java::awt::image::WritableRaster *, jboolean);
+public: // actually protected
+ virtual void coerceDataWorker(::java::awt::image::WritableRaster *, jboolean);
+public:
+ virtual jboolean isCompatibleRaster(::java::awt::image::Raster *);
+ virtual ::java::awt::image::WritableRaster * createCompatibleWritableRaster(jint, jint);
+ virtual ::java::awt::image::SampleModel * createCompatibleSampleModel(jint, jint);
+ virtual jboolean isCompatibleSampleModel(::java::awt::image::SampleModel *);
+ virtual jint getTransferType();
+ virtual ::java::awt::image::WritableRaster * getAlphaRaster(::java::awt::image::WritableRaster *);
+public: // actually package-private
+ virtual ::java::lang::String * stringParam();
+public:
+ virtual ::java::lang::String * toString();
+public: // actually protected
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) pixel_bits;
+ jint transferType;
+public: // actually package-private
+ JArray< jint > * bits;
+ ::java::awt::color::ColorSpace * cspace;
+ jint transparency;
+ jboolean hasAlpha__;
+ jboolean isAlphaPremultiplied__;
+private:
+ static ::java::awt::image::ColorModel * S_RGB_MODEL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_image_ColorModel__
diff --git a/libjava/java/awt/image/ComponentColorModel.h b/libjava/java/awt/image/ComponentColorModel.h
new file mode 100644
index 0000000..e40ab1d
--- /dev/null
+++ b/libjava/java/awt/image/ComponentColorModel.h
@@ -0,0 +1,74 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_image_ComponentColorModel__
+#define __java_awt_image_ComponentColorModel__
+
+#pragma interface
+
+#include <java/awt/image/ColorModel.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace color
+ {
+ class ColorSpace;
+ }
+ namespace image
+ {
+ class ColorModel;
+ class ComponentColorModel;
+ class Raster;
+ class SampleModel;
+ class WritableRaster;
+ }
+ }
+ }
+}
+
+class java::awt::image::ComponentColorModel : public ::java::awt::image::ColorModel
+{
+
+ static jint sum(JArray< jint > *);
+ static JArray< jint > * findBits(::java::awt::color::ColorSpace *, jint, jboolean);
+public:
+ ComponentColorModel(::java::awt::color::ColorSpace *, JArray< jint > *, jboolean, jboolean, jint, jint);
+ ComponentColorModel(::java::awt::color::ColorSpace *, jboolean, jboolean, jint, jint);
+ virtual jint getRed(jint);
+ virtual jint getGreen(jint);
+ virtual jint getBlue(jint);
+ virtual jint getAlpha(jint);
+ virtual jint getRGB(jint);
+private:
+ JArray< jfloat > * getRGBFloat(jint);
+ JArray< jfloat > * getRGBFloat(::java::lang::Object *);
+public:
+ virtual jint getRed(::java::lang::Object *);
+ virtual jint getGreen(::java::lang::Object *);
+ virtual jint getBlue(::java::lang::Object *);
+ virtual jint getAlpha(::java::lang::Object *);
+private:
+ jint getRGB(JArray< jfloat > *);
+public:
+ virtual jint getRGB(::java::lang::Object *);
+ virtual ::java::lang::Object * getDataElements(jint, ::java::lang::Object *);
+ virtual JArray< jint > * getComponents(jint, JArray< jint > *, jint);
+ virtual JArray< jint > * getComponents(::java::lang::Object *, JArray< jint > *, jint);
+ virtual jint getDataElement(JArray< jint > *, jint);
+ virtual ::java::lang::Object * getDataElements(JArray< jint > *, jint, ::java::lang::Object *);
+ virtual ::java::awt::image::ColorModel * coerceData(::java::awt::image::WritableRaster *, jboolean);
+ virtual jboolean isCompatibleRaster(::java::awt::image::Raster *);
+ virtual ::java::awt::image::WritableRaster * createCompatibleWritableRaster(jint, jint);
+ virtual ::java::awt::image::SampleModel * createCompatibleSampleModel(jint, jint);
+ virtual jboolean isCompatibleSampleModel(::java::awt::image::SampleModel *);
+ virtual ::java::awt::image::WritableRaster * getAlphaRaster(::java::awt::image::WritableRaster *);
+ virtual jboolean equals(::java::lang::Object *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_image_ComponentColorModel__
diff --git a/libjava/java/awt/image/ComponentSampleModel.h b/libjava/java/awt/image/ComponentSampleModel.h
new file mode 100644
index 0000000..4a1d2c6
--- /dev/null
+++ b/libjava/java/awt/image/ComponentSampleModel.h
@@ -0,0 +1,70 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_image_ComponentSampleModel__
+#define __java_awt_image_ComponentSampleModel__
+
+#pragma interface
+
+#include <java/awt/image/SampleModel.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace image
+ {
+ class ComponentSampleModel;
+ class DataBuffer;
+ class SampleModel;
+ }
+ }
+ }
+}
+
+class java::awt::image::ComponentSampleModel : public ::java::awt::image::SampleModel
+{
+
+public:
+ ComponentSampleModel(jint, jint, jint, jint, jint, JArray< jint > *);
+ ComponentSampleModel(jint, jint, jint, jint, jint, JArray< jint > *, JArray< jint > *);
+ virtual ::java::awt::image::SampleModel * createCompatibleSampleModel(jint, jint);
+ virtual ::java::awt::image::SampleModel * createSubsetSampleModel(JArray< jint > *);
+ virtual ::java::awt::image::DataBuffer * createDataBuffer();
+ virtual jint getOffset(jint, jint);
+ virtual jint getOffset(jint, jint, jint);
+ virtual JArray< jint > * getSampleSize();
+ virtual jint getSampleSize(jint);
+ virtual JArray< jint > * getBankIndices();
+ virtual JArray< jint > * getBandOffsets();
+ virtual jint getScanlineStride();
+ virtual jint getPixelStride();
+ virtual jint getNumDataElements();
+ virtual ::java::lang::Object * getDataElements(jint, jint, ::java::lang::Object *, ::java::awt::image::DataBuffer *);
+ virtual ::java::lang::Object * getDataElements(jint, jint, jint, jint, ::java::lang::Object *, ::java::awt::image::DataBuffer *);
+ virtual void setDataElements(jint, jint, jint, jint, ::java::lang::Object *, ::java::awt::image::DataBuffer *);
+ virtual JArray< jint > * getPixel(jint, jint, JArray< jint > *, ::java::awt::image::DataBuffer *);
+ virtual JArray< jint > * getPixels(jint, jint, jint, jint, JArray< jint > *, ::java::awt::image::DataBuffer *);
+ virtual jint getSample(jint, jint, jint, ::java::awt::image::DataBuffer *);
+ virtual void setDataElements(jint, jint, ::java::lang::Object *, ::java::awt::image::DataBuffer *);
+ virtual void setPixel(jint, jint, JArray< jint > *, ::java::awt::image::DataBuffer *);
+ virtual void setSample(jint, jint, jint, jint, ::java::awt::image::DataBuffer *);
+ virtual jboolean equals(::java::lang::Object *);
+ virtual jint hashCode();
+public: // actually protected
+ JArray< jint > * __attribute__((aligned(__alignof__( ::java::awt::image::SampleModel)))) bandOffsets;
+ JArray< jint > * bankIndices;
+ jint numBands;
+ jint numBanks;
+ jint scanlineStride;
+ jint pixelStride;
+private:
+ jboolean tightPixelPacking;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_image_ComponentSampleModel__
diff --git a/libjava/java/awt/image/ConvolveOp.h b/libjava/java/awt/image/ConvolveOp.h
new file mode 100644
index 0000000..e72a703
--- /dev/null
+++ b/libjava/java/awt/image/ConvolveOp.h
@@ -0,0 +1,64 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_image_ConvolveOp__
+#define __java_awt_image_ConvolveOp__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class RenderingHints;
+ namespace geom
+ {
+ class Point2D;
+ class Rectangle2D;
+ }
+ namespace image
+ {
+ class BufferedImage;
+ class ColorModel;
+ class ConvolveOp;
+ class Kernel;
+ class Raster;
+ class WritableRaster;
+ }
+ }
+ }
+}
+
+class java::awt::image::ConvolveOp : public ::java::lang::Object
+{
+
+public:
+ ConvolveOp(::java::awt::image::Kernel *, jint, ::java::awt::RenderingHints *);
+ ConvolveOp(::java::awt::image::Kernel *);
+ virtual ::java::awt::image::BufferedImage * filter(::java::awt::image::BufferedImage *, ::java::awt::image::BufferedImage *);
+ virtual ::java::awt::image::BufferedImage * createCompatibleDestImage(::java::awt::image::BufferedImage *, ::java::awt::image::ColorModel *);
+ virtual ::java::awt::RenderingHints * getRenderingHints();
+ virtual jint getEdgeCondition();
+ virtual ::java::awt::image::Kernel * getKernel();
+ virtual ::java::awt::image::WritableRaster * filter(::java::awt::image::Raster *, ::java::awt::image::WritableRaster *);
+private:
+ void fillEdge(::java::awt::image::Raster *, ::java::awt::image::WritableRaster *, jint, jint, jint, jint, jint);
+public:
+ virtual ::java::awt::image::WritableRaster * createCompatibleDestRaster(::java::awt::image::Raster *);
+ virtual ::java::awt::geom::Rectangle2D * getBounds2D(::java::awt::image::BufferedImage *);
+ virtual ::java::awt::geom::Rectangle2D * getBounds2D(::java::awt::image::Raster *);
+ virtual ::java::awt::geom::Point2D * getPoint2D(::java::awt::geom::Point2D *, ::java::awt::geom::Point2D *);
+ static const jint EDGE_ZERO_FILL = 0;
+ static const jint EDGE_NO_OP = 1;
+private:
+ ::java::awt::image::Kernel * __attribute__((aligned(__alignof__( ::java::lang::Object)))) kernel;
+ jint edge;
+ ::java::awt::RenderingHints * hints;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_image_ConvolveOp__
diff --git a/libjava/java/awt/image/CropImageFilter.h b/libjava/java/awt/image/CropImageFilter.h
new file mode 100644
index 0000000..23720db
--- /dev/null
+++ b/libjava/java/awt/image/CropImageFilter.h
@@ -0,0 +1,45 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_image_CropImageFilter__
+#define __java_awt_image_CropImageFilter__
+
+#pragma interface
+
+#include <java/awt/image/ImageFilter.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace image
+ {
+ class ColorModel;
+ class CropImageFilter;
+ }
+ }
+ }
+}
+
+class java::awt::image::CropImageFilter : public ::java::awt::image::ImageFilter
+{
+
+public:
+ CropImageFilter(jint, jint, jint, jint);
+ virtual void setDimensions(jint, jint);
+ virtual void setProperties(::java::util::Hashtable *);
+ virtual void setPixels(jint, jint, jint, jint, ::java::awt::image::ColorModel *, JArray< jbyte > *, jint, jint);
+ virtual void setPixels(jint, jint, jint, jint, ::java::awt::image::ColorModel *, JArray< jint > *, jint, jint);
+public: // actually package-private
+ jint __attribute__((aligned(__alignof__( ::java::awt::image::ImageFilter)))) x;
+ jint y;
+ jint width;
+ jint height;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_image_CropImageFilter__
diff --git a/libjava/java/awt/image/DataBuffer.h b/libjava/java/awt/image/DataBuffer.h
new file mode 100644
index 0000000..5bb4ac2
--- /dev/null
+++ b/libjava/java/awt/image/DataBuffer.h
@@ -0,0 +1,70 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_image_DataBuffer__
+#define __java_awt_image_DataBuffer__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace image
+ {
+ class DataBuffer;
+ }
+ }
+ }
+}
+
+class java::awt::image::DataBuffer : public ::java::lang::Object
+{
+
+public: // actually protected
+ DataBuffer(jint, jint);
+ DataBuffer(jint, jint, jint);
+ DataBuffer(jint, jint, jint, jint);
+ DataBuffer(jint, jint, jint, JArray< jint > *);
+public:
+ static jint getDataTypeSize(jint);
+ virtual jint getDataType();
+ virtual jint getSize();
+ virtual jint getOffset();
+ virtual JArray< jint > * getOffsets();
+ virtual jint getNumBanks();
+ virtual jint getElem(jint);
+ virtual jint getElem(jint, jint) = 0;
+ virtual void setElem(jint, jint);
+ virtual void setElem(jint, jint, jint) = 0;
+ virtual jfloat getElemFloat(jint);
+ virtual jfloat getElemFloat(jint, jint);
+ virtual void setElemFloat(jint, jfloat);
+ virtual void setElemFloat(jint, jint, jfloat);
+ virtual jdouble getElemDouble(jint);
+ virtual jdouble getElemDouble(jint, jint);
+ virtual void setElemDouble(jint, jdouble);
+ virtual void setElemDouble(jint, jint, jdouble);
+ static const jint TYPE_BYTE = 0;
+ static const jint TYPE_USHORT = 1;
+ static const jint TYPE_SHORT = 2;
+ static const jint TYPE_INT = 3;
+ static const jint TYPE_FLOAT = 4;
+ static const jint TYPE_DOUBLE = 5;
+ static const jint TYPE_UNDEFINED = 32;
+public: // actually protected
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) dataType;
+ jint banks;
+ jint offset;
+ jint size;
+ JArray< jint > * offsets;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_image_DataBuffer__
diff --git a/libjava/java/awt/image/DataBufferByte.h b/libjava/java/awt/image/DataBufferByte.h
new file mode 100644
index 0000000..224be27
--- /dev/null
+++ b/libjava/java/awt/image/DataBufferByte.h
@@ -0,0 +1,50 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_image_DataBufferByte__
+#define __java_awt_image_DataBufferByte__
+
+#pragma interface
+
+#include <java/awt/image/DataBuffer.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace image
+ {
+ class DataBufferByte;
+ }
+ }
+ }
+}
+
+class java::awt::image::DataBufferByte : public ::java::awt::image::DataBuffer
+{
+
+public:
+ DataBufferByte(jint);
+ DataBufferByte(jint, jint);
+ DataBufferByte(JArray< jbyte > *, jint);
+ DataBufferByte(JArray< jbyte > *, jint, jint);
+ DataBufferByte(JArray< JArray< jbyte > * > *, jint);
+ DataBufferByte(JArray< JArray< jbyte > * > *, jint, JArray< jint > *);
+ JArray< jbyte > * getData();
+ JArray< jbyte > * getData(jint);
+ JArray< JArray< jbyte > * > * getBankData();
+ jint getElem(jint);
+ jint getElem(jint, jint);
+ void setElem(jint, jint);
+ void setElem(jint, jint, jint);
+private:
+ JArray< jbyte > * __attribute__((aligned(__alignof__( ::java::awt::image::DataBuffer)))) data;
+ JArray< JArray< jbyte > * > * bankData;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_image_DataBufferByte__
diff --git a/libjava/java/awt/image/DataBufferDouble.h b/libjava/java/awt/image/DataBufferDouble.h
new file mode 100644
index 0000000..056c5e4
--- /dev/null
+++ b/libjava/java/awt/image/DataBufferDouble.h
@@ -0,0 +1,58 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_image_DataBufferDouble__
+#define __java_awt_image_DataBufferDouble__
+
+#pragma interface
+
+#include <java/awt/image/DataBuffer.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace image
+ {
+ class DataBufferDouble;
+ }
+ }
+ }
+}
+
+class java::awt::image::DataBufferDouble : public ::java::awt::image::DataBuffer
+{
+
+public:
+ DataBufferDouble(jint);
+ DataBufferDouble(jint, jint);
+ DataBufferDouble(JArray< jdouble > *, jint);
+ DataBufferDouble(JArray< jdouble > *, jint, jint);
+ DataBufferDouble(JArray< JArray< jdouble > * > *, jint);
+ DataBufferDouble(JArray< JArray< jdouble > * > *, jint, JArray< jint > *);
+ JArray< jdouble > * getData();
+ JArray< jdouble > * getData(jint);
+ JArray< JArray< jdouble > * > * getBankData();
+ jint getElem(jint);
+ jint getElem(jint, jint);
+ void setElem(jint, jint);
+ void setElem(jint, jint, jint);
+ jfloat getElemFloat(jint);
+ jfloat getElemFloat(jint, jint);
+ void setElemFloat(jint, jfloat);
+ void setElemFloat(jint, jint, jfloat);
+ jdouble getElemDouble(jint);
+ jdouble getElemDouble(jint, jint);
+ void setElemDouble(jint, jdouble);
+ void setElemDouble(jint, jint, jdouble);
+private:
+ JArray< jdouble > * __attribute__((aligned(__alignof__( ::java::awt::image::DataBuffer)))) data;
+ JArray< JArray< jdouble > * > * bankData;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_image_DataBufferDouble__
diff --git a/libjava/java/awt/image/DataBufferFloat.h b/libjava/java/awt/image/DataBufferFloat.h
new file mode 100644
index 0000000..621e359
--- /dev/null
+++ b/libjava/java/awt/image/DataBufferFloat.h
@@ -0,0 +1,58 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_image_DataBufferFloat__
+#define __java_awt_image_DataBufferFloat__
+
+#pragma interface
+
+#include <java/awt/image/DataBuffer.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace image
+ {
+ class DataBufferFloat;
+ }
+ }
+ }
+}
+
+class java::awt::image::DataBufferFloat : public ::java::awt::image::DataBuffer
+{
+
+public:
+ DataBufferFloat(jint);
+ DataBufferFloat(jint, jint);
+ DataBufferFloat(JArray< jfloat > *, jint);
+ DataBufferFloat(JArray< jfloat > *, jint, jint);
+ DataBufferFloat(JArray< JArray< jfloat > * > *, jint);
+ DataBufferFloat(JArray< JArray< jfloat > * > *, jint, JArray< jint > *);
+ JArray< jfloat > * getData();
+ JArray< jfloat > * getData(jint);
+ JArray< JArray< jfloat > * > * getBankData();
+ jint getElem(jint);
+ jint getElem(jint, jint);
+ void setElem(jint, jint);
+ void setElem(jint, jint, jint);
+ jfloat getElemFloat(jint);
+ jfloat getElemFloat(jint, jint);
+ void setElemFloat(jint, jfloat);
+ void setElemFloat(jint, jint, jfloat);
+ jdouble getElemDouble(jint);
+ jdouble getElemDouble(jint, jint);
+ void setElemDouble(jint, jdouble);
+ void setElemDouble(jint, jint, jdouble);
+private:
+ JArray< jfloat > * __attribute__((aligned(__alignof__( ::java::awt::image::DataBuffer)))) data;
+ JArray< JArray< jfloat > * > * bankData;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_image_DataBufferFloat__
diff --git a/libjava/java/awt/image/DataBufferInt.h b/libjava/java/awt/image/DataBufferInt.h
new file mode 100644
index 0000000..0526f60
--- /dev/null
+++ b/libjava/java/awt/image/DataBufferInt.h
@@ -0,0 +1,50 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_image_DataBufferInt__
+#define __java_awt_image_DataBufferInt__
+
+#pragma interface
+
+#include <java/awt/image/DataBuffer.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace image
+ {
+ class DataBufferInt;
+ }
+ }
+ }
+}
+
+class java::awt::image::DataBufferInt : public ::java::awt::image::DataBuffer
+{
+
+public:
+ DataBufferInt(jint);
+ DataBufferInt(jint, jint);
+ DataBufferInt(JArray< jint > *, jint);
+ DataBufferInt(JArray< jint > *, jint, jint);
+ DataBufferInt(JArray< JArray< jint > * > *, jint);
+ DataBufferInt(JArray< JArray< jint > * > *, jint, JArray< jint > *);
+ JArray< jint > * getData();
+ JArray< jint > * getData(jint);
+ JArray< JArray< jint > * > * getBankData();
+ jint getElem(jint);
+ jint getElem(jint, jint);
+ void setElem(jint, jint);
+ void setElem(jint, jint, jint);
+private:
+ JArray< jint > * __attribute__((aligned(__alignof__( ::java::awt::image::DataBuffer)))) data;
+ JArray< JArray< jint > * > * bankData;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_image_DataBufferInt__
diff --git a/libjava/java/awt/image/DataBufferShort.h b/libjava/java/awt/image/DataBufferShort.h
new file mode 100644
index 0000000..c660671
--- /dev/null
+++ b/libjava/java/awt/image/DataBufferShort.h
@@ -0,0 +1,50 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_image_DataBufferShort__
+#define __java_awt_image_DataBufferShort__
+
+#pragma interface
+
+#include <java/awt/image/DataBuffer.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace image
+ {
+ class DataBufferShort;
+ }
+ }
+ }
+}
+
+class java::awt::image::DataBufferShort : public ::java::awt::image::DataBuffer
+{
+
+public:
+ DataBufferShort(jint);
+ DataBufferShort(jint, jint);
+ DataBufferShort(JArray< jshort > *, jint);
+ DataBufferShort(JArray< jshort > *, jint, jint);
+ DataBufferShort(JArray< JArray< jshort > * > *, jint);
+ DataBufferShort(JArray< JArray< jshort > * > *, jint, JArray< jint > *);
+ JArray< jshort > * getData();
+ JArray< jshort > * getData(jint);
+ JArray< JArray< jshort > * > * getBankData();
+ jint getElem(jint);
+ jint getElem(jint, jint);
+ void setElem(jint, jint);
+ void setElem(jint, jint, jint);
+private:
+ JArray< jshort > * __attribute__((aligned(__alignof__( ::java::awt::image::DataBuffer)))) data;
+ JArray< JArray< jshort > * > * bankData;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_image_DataBufferShort__
diff --git a/libjava/java/awt/image/DataBufferUShort.h b/libjava/java/awt/image/DataBufferUShort.h
new file mode 100644
index 0000000..e67d26b
--- /dev/null
+++ b/libjava/java/awt/image/DataBufferUShort.h
@@ -0,0 +1,50 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_image_DataBufferUShort__
+#define __java_awt_image_DataBufferUShort__
+
+#pragma interface
+
+#include <java/awt/image/DataBuffer.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace image
+ {
+ class DataBufferUShort;
+ }
+ }
+ }
+}
+
+class java::awt::image::DataBufferUShort : public ::java::awt::image::DataBuffer
+{
+
+public:
+ DataBufferUShort(jint);
+ DataBufferUShort(jint, jint);
+ DataBufferUShort(JArray< jshort > *, jint);
+ DataBufferUShort(JArray< jshort > *, jint, jint);
+ DataBufferUShort(JArray< JArray< jshort > * > *, jint);
+ DataBufferUShort(JArray< JArray< jshort > * > *, jint, JArray< jint > *);
+ JArray< jshort > * getData();
+ JArray< jshort > * getData(jint);
+ JArray< JArray< jshort > * > * getBankData();
+ jint getElem(jint);
+ jint getElem(jint, jint);
+ void setElem(jint, jint);
+ void setElem(jint, jint, jint);
+private:
+ JArray< jshort > * __attribute__((aligned(__alignof__( ::java::awt::image::DataBuffer)))) data;
+ JArray< JArray< jshort > * > * bankData;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_image_DataBufferUShort__
diff --git a/libjava/java/awt/image/DirectColorModel.h b/libjava/java/awt/image/DirectColorModel.h
new file mode 100644
index 0000000..476ab07
--- /dev/null
+++ b/libjava/java/awt/image/DirectColorModel.h
@@ -0,0 +1,77 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_image_DirectColorModel__
+#define __java_awt_image_DirectColorModel__
+
+#pragma interface
+
+#include <java/awt/image/PackedColorModel.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace color
+ {
+ class ColorSpace;
+ }
+ namespace image
+ {
+ class ColorModel;
+ class DirectColorModel;
+ class Raster;
+ class WritableRaster;
+ }
+ }
+ }
+}
+
+class java::awt::image::DirectColorModel : public ::java::awt::image::PackedColorModel
+{
+
+public:
+ DirectColorModel(jint, jint, jint, jint);
+ DirectColorModel(jint, jint, jint, jint, jint);
+ DirectColorModel(::java::awt::color::ColorSpace *, jint, jint, jint, jint, jint, jboolean, jint);
+ virtual jint getRedMask();
+ virtual jint getGreenMask();
+ virtual jint getBlueMask();
+ virtual jint getAlphaMask();
+ virtual jint getRed(jint);
+ virtual jint getGreen(jint);
+ virtual jint getBlue(jint);
+ virtual jint getAlpha(jint);
+private:
+ jint extractAndNormalizeSample(jint, jint);
+ jint extractAndScaleSample(jint, jint);
+public:
+ virtual jint getRGB(jint);
+ virtual jint getRed(::java::lang::Object *);
+ virtual jint getGreen(::java::lang::Object *);
+ virtual jint getBlue(::java::lang::Object *);
+ virtual jint getAlpha(::java::lang::Object *);
+ virtual jint getRGB(::java::lang::Object *);
+ virtual ::java::lang::Object * getDataElements(jint, ::java::lang::Object *);
+private:
+ jint valueToField(jint, jint, jint);
+ jint value16ToField(jint, jint);
+public:
+ virtual JArray< jint > * getComponents(jint, JArray< jint > *, jint);
+ virtual JArray< jint > * getComponents(::java::lang::Object *, JArray< jint > *, jint);
+ virtual ::java::awt::image::WritableRaster * createCompatibleWritableRaster(jint, jint);
+ virtual jint getDataElement(JArray< jint > *, jint);
+ virtual ::java::lang::Object * getDataElements(JArray< jint > *, jint, ::java::lang::Object *);
+ virtual ::java::awt::image::ColorModel * coerceData(::java::awt::image::WritableRaster *, jboolean);
+ virtual jboolean isCompatibleRaster(::java::awt::image::Raster *);
+public: // actually package-private
+ virtual ::java::lang::String * stringParam();
+public:
+ virtual ::java::lang::String * toString();
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_image_DirectColorModel__
diff --git a/libjava/java/awt/image/FilteredImageSource.h b/libjava/java/awt/image/FilteredImageSource.h
new file mode 100644
index 0000000..93174c4
--- /dev/null
+++ b/libjava/java/awt/image/FilteredImageSource.h
@@ -0,0 +1,45 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_image_FilteredImageSource__
+#define __java_awt_image_FilteredImageSource__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace image
+ {
+ class FilteredImageSource;
+ class ImageConsumer;
+ class ImageFilter;
+ class ImageProducer;
+ }
+ }
+ }
+}
+
+class java::awt::image::FilteredImageSource : public ::java::lang::Object
+{
+
+public:
+ FilteredImageSource(::java::awt::image::ImageProducer *, ::java::awt::image::ImageFilter *);
+ virtual void addConsumer(::java::awt::image::ImageConsumer *);
+ virtual jboolean isConsumer(::java::awt::image::ImageConsumer *);
+ virtual void removeConsumer(::java::awt::image::ImageConsumer *);
+ virtual void startProduction(::java::awt::image::ImageConsumer *);
+ virtual void requestTopDownLeftRightResend(::java::awt::image::ImageConsumer *);
+public: // actually package-private
+ ::java::awt::image::ImageProducer * __attribute__((aligned(__alignof__( ::java::lang::Object)))) ip;
+ ::java::awt::image::ImageFilter * filter;
+ ::java::util::Hashtable * consumers;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_image_FilteredImageSource__
diff --git a/libjava/java/awt/image/ImageConsumer.h b/libjava/java/awt/image/ImageConsumer.h
new file mode 100644
index 0000000..ffca9fc
--- /dev/null
+++ b/libjava/java/awt/image/ImageConsumer.h
@@ -0,0 +1,50 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_image_ImageConsumer__
+#define __java_awt_image_ImageConsumer__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace image
+ {
+ class ColorModel;
+ class ImageConsumer;
+ }
+ }
+ }
+}
+
+class java::awt::image::ImageConsumer : public ::java::lang::Object
+{
+
+public:
+ virtual void setDimensions(jint, jint) = 0;
+ virtual void setProperties(::java::util::Hashtable *) = 0;
+ virtual void setColorModel(::java::awt::image::ColorModel *) = 0;
+ virtual void setHints(jint) = 0;
+ virtual void setPixels(jint, jint, jint, jint, ::java::awt::image::ColorModel *, JArray< jbyte > *, jint, jint) = 0;
+ virtual void setPixels(jint, jint, jint, jint, ::java::awt::image::ColorModel *, JArray< jint > *, jint, jint) = 0;
+ virtual void imageComplete(jint) = 0;
+ static const jint RANDOMPIXELORDER = 1;
+ static const jint TOPDOWNLEFTRIGHT = 2;
+ static const jint COMPLETESCANLINES = 4;
+ static const jint SINGLEPASS = 8;
+ static const jint SINGLEFRAME = 16;
+ static const jint IMAGEERROR = 1;
+ static const jint SINGLEFRAMEDONE = 2;
+ static const jint STATICIMAGEDONE = 3;
+ static const jint IMAGEABORTED = 4;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_awt_image_ImageConsumer__
diff --git a/libjava/java/awt/image/ImageFilter.h b/libjava/java/awt/image/ImageFilter.h
new file mode 100644
index 0000000..84b6f53
--- /dev/null
+++ b/libjava/java/awt/image/ImageFilter.h
@@ -0,0 +1,50 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_image_ImageFilter__
+#define __java_awt_image_ImageFilter__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace image
+ {
+ class ColorModel;
+ class ImageConsumer;
+ class ImageFilter;
+ class ImageProducer;
+ }
+ }
+ }
+}
+
+class java::awt::image::ImageFilter : public ::java::lang::Object
+{
+
+public:
+ ImageFilter();
+ virtual void resendTopDownLeftRight(::java::awt::image::ImageProducer *);
+ virtual ::java::lang::Object * clone();
+ virtual ::java::awt::image::ImageFilter * getFilterInstance(::java::awt::image::ImageConsumer *);
+ virtual void setDimensions(jint, jint);
+ virtual void setProperties(::java::util::Hashtable *);
+ virtual void setColorModel(::java::awt::image::ColorModel *);
+ virtual void setHints(jint);
+ virtual void setPixels(jint, jint, jint, jint, ::java::awt::image::ColorModel *, JArray< jbyte > *, jint, jint);
+ virtual void setPixels(jint, jint, jint, jint, ::java::awt::image::ColorModel *, JArray< jint > *, jint, jint);
+ virtual void imageComplete(jint);
+public: // actually protected
+ ::java::awt::image::ImageConsumer * __attribute__((aligned(__alignof__( ::java::lang::Object)))) consumer;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_image_ImageFilter__
diff --git a/libjava/java/awt/image/ImageObserver.h b/libjava/java/awt/image/ImageObserver.h
new file mode 100644
index 0000000..563666a
--- /dev/null
+++ b/libjava/java/awt/image/ImageObserver.h
@@ -0,0 +1,41 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_image_ImageObserver__
+#define __java_awt_image_ImageObserver__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Image;
+ namespace image
+ {
+ class ImageObserver;
+ }
+ }
+ }
+}
+
+class java::awt::image::ImageObserver : public ::java::lang::Object
+{
+
+public:
+ virtual jboolean imageUpdate(::java::awt::Image *, jint, jint, jint, jint, jint) = 0;
+ static const jint WIDTH = 1;
+ static const jint HEIGHT = 2;
+ static const jint PROPERTIES = 4;
+ static const jint SOMEBITS = 8;
+ static const jint FRAMEBITS = 16;
+ static const jint ALLBITS = 32;
+ static const jint ERROR = 64;
+ static const jint ABORT = 128;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_awt_image_ImageObserver__
diff --git a/libjava/java/awt/image/ImageProducer.h b/libjava/java/awt/image/ImageProducer.h
new file mode 100644
index 0000000..108f61f
--- /dev/null
+++ b/libjava/java/awt/image/ImageProducer.h
@@ -0,0 +1,37 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_image_ImageProducer__
+#define __java_awt_image_ImageProducer__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace image
+ {
+ class ImageConsumer;
+ class ImageProducer;
+ }
+ }
+ }
+}
+
+class java::awt::image::ImageProducer : public ::java::lang::Object
+{
+
+public:
+ virtual void addConsumer(::java::awt::image::ImageConsumer *) = 0;
+ virtual jboolean isConsumer(::java::awt::image::ImageConsumer *) = 0;
+ virtual void removeConsumer(::java::awt::image::ImageConsumer *) = 0;
+ virtual void startProduction(::java::awt::image::ImageConsumer *) = 0;
+ virtual void requestTopDownLeftRightResend(::java::awt::image::ImageConsumer *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_awt_image_ImageProducer__
diff --git a/libjava/java/awt/image/ImagingOpException.h b/libjava/java/awt/image/ImagingOpException.h
new file mode 100644
index 0000000..9ce5116
--- /dev/null
+++ b/libjava/java/awt/image/ImagingOpException.h
@@ -0,0 +1,35 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_image_ImagingOpException__
+#define __java_awt_image_ImagingOpException__
+
+#pragma interface
+
+#include <java/lang/RuntimeException.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace image
+ {
+ class ImagingOpException;
+ }
+ }
+ }
+}
+
+class java::awt::image::ImagingOpException : public ::java::lang::RuntimeException
+{
+
+public:
+ ImagingOpException(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = 8026288481846276658LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_image_ImagingOpException__
diff --git a/libjava/java/awt/image/IndexColorModel.h b/libjava/java/awt/image/IndexColorModel.h
new file mode 100644
index 0000000..cbb2fac
--- /dev/null
+++ b/libjava/java/awt/image/IndexColorModel.h
@@ -0,0 +1,72 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_image_IndexColorModel__
+#define __java_awt_image_IndexColorModel__
+
+#pragma interface
+
+#include <java/awt/image/ColorModel.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace image
+ {
+ class BufferedImage;
+ class IndexColorModel;
+ class Raster;
+ class SampleModel;
+ }
+ }
+ namespace math
+ {
+ class BigInteger;
+ }
+ }
+}
+
+class java::awt::image::IndexColorModel : public ::java::awt::image::ColorModel
+{
+
+public:
+ IndexColorModel(jint, jint, JArray< jbyte > *, JArray< jbyte > *, JArray< jbyte > *);
+ IndexColorModel(jint, jint, JArray< jbyte > *, JArray< jbyte > *, JArray< jbyte > *, jint);
+ IndexColorModel(jint, jint, JArray< jbyte > *, JArray< jbyte > *, JArray< jbyte > *, JArray< jbyte > *);
+ IndexColorModel(jint, jint, JArray< jbyte > *, jint, jboolean);
+ IndexColorModel(jint, jint, JArray< jbyte > *, jint, jboolean, jint);
+ IndexColorModel(jint, jint, JArray< jint > *, jint, jboolean, jint, jint);
+ IndexColorModel(jint, jint, JArray< jint > *, jint, jint, ::java::math::BigInteger *);
+ virtual jint getMapSize();
+ virtual jint getTransparentPixel();
+ virtual void getReds(JArray< jbyte > *);
+ virtual void getGreens(JArray< jbyte > *);
+ virtual void getBlues(JArray< jbyte > *);
+ virtual void getAlphas(JArray< jbyte > *);
+ virtual jint getRed(jint);
+ virtual jint getGreen(jint);
+ virtual jint getBlue(jint);
+ virtual jint getAlpha(jint);
+ virtual jint getRGB(jint);
+ virtual void getRGBs(JArray< jint > *);
+ virtual jboolean isValid(jint);
+ virtual jboolean isValid();
+ virtual ::java::math::BigInteger * getValidPixels();
+ virtual ::java::awt::image::BufferedImage * convertToIntDiscrete(::java::awt::image::Raster *, jboolean);
+ virtual ::java::awt::image::SampleModel * createCompatibleSampleModel(jint, jint);
+private:
+ void setTransparentPixel(jint);
+ jint __attribute__((aligned(__alignof__( ::java::awt::image::ColorModel)))) map_size;
+ jboolean opaque;
+ jint trans;
+ JArray< jint > * rgb;
+ ::java::math::BigInteger * validBits;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_image_IndexColorModel__
diff --git a/libjava/java/awt/image/Kernel.h b/libjava/java/awt/image/Kernel.h
new file mode 100644
index 0000000..f0bacc1
--- /dev/null
+++ b/libjava/java/awt/image/Kernel.h
@@ -0,0 +1,45 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_image_Kernel__
+#define __java_awt_image_Kernel__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace image
+ {
+ class Kernel;
+ }
+ }
+ }
+}
+
+class java::awt::image::Kernel : public ::java::lang::Object
+{
+
+public:
+ Kernel(jint, jint, JArray< jfloat > *);
+ virtual jint getXOrigin();
+ virtual jint getYOrigin();
+ virtual jint getWidth();
+ virtual jint getHeight();
+ virtual JArray< jfloat > * getKernelData(JArray< jfloat > *);
+ virtual ::java::lang::Object * clone();
+private:
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) width;
+ jint height;
+ JArray< jfloat > * data;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_image_Kernel__
diff --git a/libjava/java/awt/image/LookupOp.h b/libjava/java/awt/image/LookupOp.h
new file mode 100644
index 0000000..0754604
--- /dev/null
+++ b/libjava/java/awt/image/LookupOp.h
@@ -0,0 +1,56 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_image_LookupOp__
+#define __java_awt_image_LookupOp__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class RenderingHints;
+ namespace geom
+ {
+ class Point2D;
+ class Rectangle2D;
+ }
+ namespace image
+ {
+ class BufferedImage;
+ class ColorModel;
+ class LookupOp;
+ class LookupTable;
+ class Raster;
+ class WritableRaster;
+ }
+ }
+ }
+}
+
+class java::awt::image::LookupOp : public ::java::lang::Object
+{
+
+public:
+ LookupOp(::java::awt::image::LookupTable *, ::java::awt::RenderingHints *);
+ virtual ::java::awt::image::BufferedImage * filter(::java::awt::image::BufferedImage *, ::java::awt::image::BufferedImage *);
+ virtual ::java::awt::geom::Rectangle2D * getBounds2D(::java::awt::image::BufferedImage *);
+ virtual ::java::awt::image::BufferedImage * createCompatibleDestImage(::java::awt::image::BufferedImage *, ::java::awt::image::ColorModel *);
+ virtual ::java::awt::geom::Point2D * getPoint2D(::java::awt::geom::Point2D *, ::java::awt::geom::Point2D *);
+ virtual ::java::awt::image::LookupTable * getTable();
+ virtual ::java::awt::RenderingHints * getRenderingHints();
+ virtual ::java::awt::image::WritableRaster * filter(::java::awt::image::Raster *, ::java::awt::image::WritableRaster *);
+ virtual ::java::awt::geom::Rectangle2D * getBounds2D(::java::awt::image::Raster *);
+ virtual ::java::awt::image::WritableRaster * createCompatibleDestRaster(::java::awt::image::Raster *);
+private:
+ ::java::awt::image::LookupTable * __attribute__((aligned(__alignof__( ::java::lang::Object)))) lut;
+ ::java::awt::RenderingHints * hints;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_image_LookupOp__
diff --git a/libjava/java/awt/image/LookupTable.h b/libjava/java/awt/image/LookupTable.h
new file mode 100644
index 0000000..2fcd645
--- /dev/null
+++ b/libjava/java/awt/image/LookupTable.h
@@ -0,0 +1,42 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_image_LookupTable__
+#define __java_awt_image_LookupTable__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace image
+ {
+ class LookupTable;
+ }
+ }
+ }
+}
+
+class java::awt::image::LookupTable : public ::java::lang::Object
+{
+
+public: // actually protected
+ LookupTable(jint, jint);
+public:
+ virtual jint getNumComponents();
+ virtual jint getOffset();
+ virtual JArray< jint > * lookupPixel(JArray< jint > *, JArray< jint > *) = 0;
+public: // actually package-private
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) offset;
+ jint numComponents;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_image_LookupTable__
diff --git a/libjava/java/awt/image/MemoryImageSource.h b/libjava/java/awt/image/MemoryImageSource.h
new file mode 100644
index 0000000..e717ee8
--- /dev/null
+++ b/libjava/java/awt/image/MemoryImageSource.h
@@ -0,0 +1,69 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_image_MemoryImageSource__
+#define __java_awt_image_MemoryImageSource__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace image
+ {
+ class ColorModel;
+ class ImageConsumer;
+ class MemoryImageSource;
+ }
+ }
+ }
+}
+
+class java::awt::image::MemoryImageSource : public ::java::lang::Object
+{
+
+public:
+ MemoryImageSource(jint, jint, ::java::awt::image::ColorModel *, JArray< jbyte > *, jint, jint);
+ MemoryImageSource(jint, jint, ::java::awt::image::ColorModel *, JArray< jbyte > *, jint, jint, ::java::util::Hashtable *);
+ MemoryImageSource(jint, jint, ::java::awt::image::ColorModel *, JArray< jint > *, jint, jint);
+ MemoryImageSource(jint, jint, ::java::awt::image::ColorModel *, JArray< jint > *, jint, jint, ::java::util::Hashtable *);
+ MemoryImageSource(jint, jint, JArray< jint > *, jint, jint, ::java::util::Hashtable *);
+ MemoryImageSource(jint, jint, JArray< jint > *, jint, jint);
+ virtual void addConsumer(::java::awt::image::ImageConsumer *);
+ virtual jboolean isConsumer(::java::awt::image::ImageConsumer *);
+ virtual void removeConsumer(::java::awt::image::ImageConsumer *);
+ virtual void startProduction(::java::awt::image::ImageConsumer *);
+ virtual void requestTopDownLeftRightResend(::java::awt::image::ImageConsumer *);
+ virtual void setAnimated(jboolean);
+ virtual void setFullBufferUpdates(jboolean);
+ virtual void newPixels();
+private:
+ void sendPicture(::java::awt::image::ImageConsumer *);
+public:
+ virtual void newPixels(jint, jint, jint, jint);
+ virtual void newPixels(jint, jint, jint, jint, jboolean);
+ virtual void newPixels(JArray< jbyte > *, ::java::awt::image::ColorModel *, jint, jint);
+ virtual void newPixels(JArray< jint > *, ::java::awt::image::ColorModel *, jint, jint);
+private:
+ jboolean __attribute__((aligned(__alignof__( ::java::lang::Object)))) animated;
+ jboolean fullbuffers;
+ JArray< jint > * pixeli;
+ jint width;
+ jint height;
+ jint offset;
+ jint scansize;
+ JArray< jbyte > * pixelb;
+ ::java::awt::image::ColorModel * cm;
+ ::java::util::Hashtable * props;
+ ::java::util::Vector * consumers;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_image_MemoryImageSource__
diff --git a/libjava/java/awt/image/MultiPixelPackedSampleModel.h b/libjava/java/awt/image/MultiPixelPackedSampleModel.h
new file mode 100644
index 0000000..377ceaf
--- /dev/null
+++ b/libjava/java/awt/image/MultiPixelPackedSampleModel.h
@@ -0,0 +1,68 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_image_MultiPixelPackedSampleModel__
+#define __java_awt_image_MultiPixelPackedSampleModel__
+
+#pragma interface
+
+#include <java/awt/image/SampleModel.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace image
+ {
+ class DataBuffer;
+ class MultiPixelPackedSampleModel;
+ class SampleModel;
+ }
+ }
+ }
+}
+
+class java::awt::image::MultiPixelPackedSampleModel : public ::java::awt::image::SampleModel
+{
+
+public:
+ MultiPixelPackedSampleModel(jint, jint, jint, jint);
+ MultiPixelPackedSampleModel(jint, jint, jint, jint, jint, jint);
+ virtual ::java::awt::image::SampleModel * createCompatibleSampleModel(jint, jint);
+ virtual ::java::awt::image::DataBuffer * createDataBuffer();
+ virtual jint getNumDataElements();
+ virtual JArray< jint > * getSampleSize();
+ virtual jint getSampleSize(jint);
+ virtual jint getOffset(jint, jint);
+ virtual jint getBitOffset(jint);
+ virtual jint getDataBitOffset();
+ virtual jint getScanlineStride();
+ virtual jint getPixelBitStride();
+ virtual jint getTransferType();
+ virtual ::java::awt::image::SampleModel * createSubsetSampleModel(JArray< jint > *);
+ virtual ::java::lang::Object * getDataElements(jint, jint, ::java::lang::Object *, ::java::awt::image::DataBuffer *);
+ virtual JArray< jint > * getPixel(jint, jint, JArray< jint > *, ::java::awt::image::DataBuffer *);
+ virtual jint getSample(jint, jint, jint, ::java::awt::image::DataBuffer *);
+ virtual void setDataElements(jint, jint, ::java::lang::Object *, ::java::awt::image::DataBuffer *);
+ virtual void setPixel(jint, jint, JArray< jint > *, ::java::awt::image::DataBuffer *);
+ virtual void setSample(jint, jint, jint, jint, ::java::awt::image::DataBuffer *);
+ virtual jboolean equals(::java::lang::Object *);
+ virtual jint hashCode();
+ virtual ::java::lang::String * toString();
+private:
+ jint __attribute__((aligned(__alignof__( ::java::awt::image::SampleModel)))) scanlineStride;
+ JArray< jint > * bitMasks;
+ JArray< jint > * bitOffsets;
+ JArray< jint > * sampleSize;
+ jint dataBitOffset;
+ jint elemBits;
+ jint numberOfBits;
+ jint numElems;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_image_MultiPixelPackedSampleModel__
diff --git a/libjava/java/awt/image/PackedColorModel.h b/libjava/java/awt/image/PackedColorModel.h
new file mode 100644
index 0000000..2d98aa9
--- /dev/null
+++ b/libjava/java/awt/image/PackedColorModel.h
@@ -0,0 +1,59 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_image_PackedColorModel__
+#define __java_awt_image_PackedColorModel__
+
+#pragma interface
+
+#include <java/awt/image/ColorModel.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace color
+ {
+ class ColorSpace;
+ }
+ namespace image
+ {
+ class PackedColorModel;
+ class SampleModel;
+ class WritableRaster;
+ }
+ }
+ }
+}
+
+class java::awt::image::PackedColorModel : public ::java::awt::image::ColorModel
+{
+
+public:
+ PackedColorModel(::java::awt::color::ColorSpace *, jint, JArray< jint > *, jint, jboolean, jint, jint);
+private:
+ static JArray< jint > * calcBitsPerComponent(JArray< jint > *, jint);
+ void initMasks(JArray< jint > *, jint);
+public:
+ PackedColorModel(::java::awt::color::ColorSpace *, jint, jint, jint, jint, jint, jboolean, jint, jint);
+private:
+ static JArray< jint > * makeColorMaskArray(jint, jint, jint);
+public:
+ virtual jint getMask(jint);
+ virtual JArray< jint > * getMasks();
+ virtual ::java::awt::image::SampleModel * createCompatibleSampleModel(jint, jint);
+ virtual jboolean isCompatibleSampleModel(::java::awt::image::SampleModel *);
+ virtual ::java::awt::image::WritableRaster * getAlphaRaster(::java::awt::image::WritableRaster *);
+ virtual jboolean equals(::java::lang::Object *);
+private:
+ JArray< jint > * __attribute__((aligned(__alignof__( ::java::awt::image::ColorModel)))) masks;
+public: // actually package-private
+ JArray< jint > * shifts;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_image_PackedColorModel__
diff --git a/libjava/java/awt/image/PixelGrabber$1.h b/libjava/java/awt/image/PixelGrabber$1.h
new file mode 100644
index 0000000..cf22efa
--- /dev/null
+++ b/libjava/java/awt/image/PixelGrabber$1.h
@@ -0,0 +1,38 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_image_PixelGrabber$1__
+#define __java_awt_image_PixelGrabber$1__
+
+#pragma interface
+
+#include <java/lang/Thread.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace image
+ {
+ class PixelGrabber;
+ class PixelGrabber$1;
+ }
+ }
+ }
+}
+
+class java::awt::image::PixelGrabber$1 : public ::java::lang::Thread
+{
+
+public: // actually package-private
+ PixelGrabber$1(::java::awt::image::PixelGrabber *);
+public:
+ void run();
+public: // actually package-private
+ ::java::awt::image::PixelGrabber * __attribute__((aligned(__alignof__( ::java::lang::Thread)))) this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_image_PixelGrabber$1__
diff --git a/libjava/java/awt/image/PixelGrabber.h b/libjava/java/awt/image/PixelGrabber.h
new file mode 100644
index 0000000..f530f34
--- /dev/null
+++ b/libjava/java/awt/image/PixelGrabber.h
@@ -0,0 +1,82 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_image_PixelGrabber__
+#define __java_awt_image_PixelGrabber__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Image;
+ namespace image
+ {
+ class ColorModel;
+ class ImageProducer;
+ class PixelGrabber;
+ }
+ }
+ }
+}
+
+class java::awt::image::PixelGrabber : public ::java::lang::Object
+{
+
+public:
+ PixelGrabber(::java::awt::Image *, jint, jint, jint, jint, JArray< jint > *, jint, jint);
+ PixelGrabber(::java::awt::image::ImageProducer *, jint, jint, jint, jint, JArray< jint > *, jint, jint);
+ PixelGrabber(::java::awt::Image *, jint, jint, jint, jint, jboolean);
+ virtual void startGrabbing();
+ virtual void abortGrabbing();
+ virtual jboolean grabPixels();
+ virtual jboolean grabPixels(jlong);
+private:
+ jboolean setObserverStatus();
+public:
+ virtual jint getStatus();
+ virtual jint getWidth();
+ virtual jint getHeight();
+ virtual ::java::lang::Object * getPixels();
+ virtual ::java::awt::image::ColorModel * getColorModel();
+ virtual void setDimensions(jint, jint);
+ virtual void setProperties(::java::util::Hashtable *);
+ virtual void setColorModel(::java::awt::image::ColorModel *);
+ virtual void setHints(jint);
+ virtual void setPixels(jint, jint, jint, jint, ::java::awt::image::ColorModel *, JArray< jbyte > *, jint, jint);
+ virtual void setPixels(jint, jint, jint, jint, ::java::awt::image::ColorModel *, JArray< jint > *, jint, jint);
+ virtual void imageComplete(jint);
+ virtual jint status();
+public: // actually package-private
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) x;
+ jint y;
+ jint offset;
+ jint width;
+ jint height;
+ jint scansize;
+ jboolean forceRGB;
+ ::java::awt::image::ColorModel * model;
+ jint hints;
+ ::java::util::Hashtable * props;
+ JArray< jint > * int_pixel_buffer;
+ jboolean ints_delivered;
+ JArray< jbyte > * byte_pixel_buffer;
+ jboolean bytes_delivered;
+ ::java::awt::image::ImageProducer * ip;
+ jint observerStatus;
+ jint consumerStatus;
+private:
+ ::java::lang::Thread * grabberThread;
+public: // actually package-private
+ jboolean grabbing;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_image_PixelGrabber__
diff --git a/libjava/java/awt/image/PixelInterleavedSampleModel.h b/libjava/java/awt/image/PixelInterleavedSampleModel.h
new file mode 100644
index 0000000..42ba582
--- /dev/null
+++ b/libjava/java/awt/image/PixelInterleavedSampleModel.h
@@ -0,0 +1,37 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_image_PixelInterleavedSampleModel__
+#define __java_awt_image_PixelInterleavedSampleModel__
+
+#pragma interface
+
+#include <java/awt/image/ComponentSampleModel.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace image
+ {
+ class PixelInterleavedSampleModel;
+ class SampleModel;
+ }
+ }
+ }
+}
+
+class java::awt::image::PixelInterleavedSampleModel : public ::java::awt::image::ComponentSampleModel
+{
+
+public:
+ PixelInterleavedSampleModel(jint, jint, jint, jint, jint, JArray< jint > *);
+ virtual ::java::awt::image::SampleModel * createCompatibleSampleModel(jint, jint);
+ virtual ::java::awt::image::SampleModel * createSubsetSampleModel(JArray< jint > *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_image_PixelInterleavedSampleModel__
diff --git a/libjava/java/awt/image/RGBImageFilter.h b/libjava/java/awt/image/RGBImageFilter.h
new file mode 100644
index 0000000..34aea65
--- /dev/null
+++ b/libjava/java/awt/image/RGBImageFilter.h
@@ -0,0 +1,48 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_image_RGBImageFilter__
+#define __java_awt_image_RGBImageFilter__
+
+#pragma interface
+
+#include <java/awt/image/ImageFilter.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace image
+ {
+ class ColorModel;
+ class IndexColorModel;
+ class RGBImageFilter;
+ }
+ }
+ }
+}
+
+class java::awt::image::RGBImageFilter : public ::java::awt::image::ImageFilter
+{
+
+public:
+ RGBImageFilter();
+ virtual void setColorModel(::java::awt::image::ColorModel *);
+ virtual void substituteColorModel(::java::awt::image::ColorModel *, ::java::awt::image::ColorModel *);
+ virtual ::java::awt::image::IndexColorModel * filterIndexColorModel(::java::awt::image::IndexColorModel *);
+ virtual void filterRGBPixels(jint, jint, jint, jint, JArray< jint > *, jint, jint);
+ virtual void setPixels(jint, jint, jint, jint, ::java::awt::image::ColorModel *, JArray< jbyte > *, jint, jint);
+ virtual void setPixels(jint, jint, jint, jint, ::java::awt::image::ColorModel *, JArray< jint > *, jint, jint);
+ virtual jint filterRGB(jint, jint, jint) = 0;
+public: // actually protected
+ ::java::awt::image::ColorModel * __attribute__((aligned(__alignof__( ::java::awt::image::ImageFilter)))) origmodel;
+ ::java::awt::image::ColorModel * newmodel;
+ jboolean canFilterIndexColorModel;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_image_RGBImageFilter__
diff --git a/libjava/java/awt/image/Raster.h b/libjava/java/awt/image/Raster.h
new file mode 100644
index 0000000..2c187d5
--- /dev/null
+++ b/libjava/java/awt/image/Raster.h
@@ -0,0 +1,104 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_image_Raster__
+#define __java_awt_image_Raster__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Point;
+ class Rectangle;
+ namespace image
+ {
+ class DataBuffer;
+ class Raster;
+ class SampleModel;
+ class WritableRaster;
+ }
+ }
+ }
+}
+
+class java::awt::image::Raster : public ::java::lang::Object
+{
+
+public: // actually protected
+ Raster(::java::awt::image::SampleModel *, ::java::awt::Point *);
+ Raster(::java::awt::image::SampleModel *, ::java::awt::image::DataBuffer *, ::java::awt::Point *);
+ Raster(::java::awt::image::SampleModel *, ::java::awt::image::DataBuffer *, ::java::awt::Rectangle *, ::java::awt::Point *, ::java::awt::image::Raster *);
+public:
+ static ::java::awt::image::WritableRaster * createInterleavedRaster(jint, jint, jint, jint, ::java::awt::Point *);
+ static ::java::awt::image::WritableRaster * createInterleavedRaster(jint, jint, jint, jint, jint, JArray< jint > *, ::java::awt::Point *);
+ static ::java::awt::image::WritableRaster * createBandedRaster(jint, jint, jint, jint, ::java::awt::Point *);
+ static ::java::awt::image::WritableRaster * createBandedRaster(jint, jint, jint, jint, JArray< jint > *, JArray< jint > *, ::java::awt::Point *);
+ static ::java::awt::image::WritableRaster * createPackedRaster(jint, jint, jint, JArray< jint > *, ::java::awt::Point *);
+ static ::java::awt::image::WritableRaster * createPackedRaster(jint, jint, jint, jint, jint, ::java::awt::Point *);
+ static ::java::awt::image::WritableRaster * createInterleavedRaster(::java::awt::image::DataBuffer *, jint, jint, jint, jint, JArray< jint > *, ::java::awt::Point *);
+ static ::java::awt::image::WritableRaster * createBandedRaster(::java::awt::image::DataBuffer *, jint, jint, jint, JArray< jint > *, JArray< jint > *, ::java::awt::Point *);
+ static ::java::awt::image::WritableRaster * createPackedRaster(::java::awt::image::DataBuffer *, jint, jint, jint, JArray< jint > *, ::java::awt::Point *);
+ static ::java::awt::image::WritableRaster * createPackedRaster(::java::awt::image::DataBuffer *, jint, jint, jint, ::java::awt::Point *);
+ static ::java::awt::image::Raster * createRaster(::java::awt::image::SampleModel *, ::java::awt::image::DataBuffer *, ::java::awt::Point *);
+ static ::java::awt::image::WritableRaster * createWritableRaster(::java::awt::image::SampleModel *, ::java::awt::Point *);
+ static ::java::awt::image::WritableRaster * createWritableRaster(::java::awt::image::SampleModel *, ::java::awt::image::DataBuffer *, ::java::awt::Point *);
+ virtual ::java::awt::image::Raster * getParent();
+ virtual jint getSampleModelTranslateX();
+ virtual jint getSampleModelTranslateY();
+ virtual ::java::awt::image::WritableRaster * createCompatibleWritableRaster();
+ virtual ::java::awt::image::WritableRaster * createCompatibleWritableRaster(jint, jint);
+ virtual ::java::awt::image::WritableRaster * createCompatibleWritableRaster(::java::awt::Rectangle *);
+ virtual ::java::awt::image::WritableRaster * createCompatibleWritableRaster(jint, jint, jint, jint);
+ virtual ::java::awt::image::Raster * createTranslatedChild(jint, jint);
+ virtual ::java::awt::image::Raster * createChild(jint, jint, jint, jint, jint, jint, JArray< jint > *);
+ virtual ::java::awt::Rectangle * getBounds();
+ virtual jint getMinX();
+ virtual jint getMinY();
+ virtual jint getWidth();
+ virtual jint getHeight();
+ virtual jint getNumBands();
+ virtual jint getNumDataElements();
+ virtual jint getTransferType();
+ virtual ::java::awt::image::DataBuffer * getDataBuffer();
+ virtual ::java::awt::image::SampleModel * getSampleModel();
+ virtual ::java::lang::Object * getDataElements(jint, jint, ::java::lang::Object *);
+ virtual ::java::lang::Object * getDataElements(jint, jint, jint, jint, ::java::lang::Object *);
+ virtual JArray< jint > * getPixel(jint, jint, JArray< jint > *);
+ virtual JArray< jfloat > * getPixel(jint, jint, JArray< jfloat > *);
+ virtual JArray< jdouble > * getPixel(jint, jint, JArray< jdouble > *);
+ virtual JArray< jint > * getPixels(jint, jint, jint, jint, JArray< jint > *);
+ virtual JArray< jfloat > * getPixels(jint, jint, jint, jint, JArray< jfloat > *);
+ virtual JArray< jdouble > * getPixels(jint, jint, jint, jint, JArray< jdouble > *);
+ virtual jint getSample(jint, jint, jint);
+ virtual jfloat getSampleFloat(jint, jint, jint);
+ virtual jdouble getSampleDouble(jint, jint, jint);
+ virtual JArray< jint > * getSamples(jint, jint, jint, jint, jint, JArray< jint > *);
+ virtual JArray< jfloat > * getSamples(jint, jint, jint, jint, jint, JArray< jfloat > *);
+ virtual JArray< jdouble > * getSamples(jint, jint, jint, jint, jint, JArray< jdouble > *);
+ virtual ::java::lang::String * toString();
+private:
+ static jint getTypeBits(jint);
+public: // actually protected
+ ::java::awt::image::SampleModel * __attribute__((aligned(__alignof__( ::java::lang::Object)))) sampleModel;
+ ::java::awt::image::DataBuffer * dataBuffer;
+ jint minX;
+ jint minY;
+ jint width;
+ jint height;
+ jint sampleModelTranslateX;
+ jint sampleModelTranslateY;
+ jint numBands;
+ jint numDataElements;
+ ::java::awt::image::Raster * parent;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_image_Raster__
diff --git a/libjava/java/awt/image/RasterFormatException.h b/libjava/java/awt/image/RasterFormatException.h
new file mode 100644
index 0000000..acfe394
--- /dev/null
+++ b/libjava/java/awt/image/RasterFormatException.h
@@ -0,0 +1,35 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_image_RasterFormatException__
+#define __java_awt_image_RasterFormatException__
+
+#pragma interface
+
+#include <java/lang/RuntimeException.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace image
+ {
+ class RasterFormatException;
+ }
+ }
+ }
+}
+
+class java::awt::image::RasterFormatException : public ::java::lang::RuntimeException
+{
+
+public:
+ RasterFormatException(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = 96598996116164315LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_image_RasterFormatException__
diff --git a/libjava/java/awt/image/RasterOp.h b/libjava/java/awt/image/RasterOp.h
new file mode 100644
index 0000000..a54b9b0
--- /dev/null
+++ b/libjava/java/awt/image/RasterOp.h
@@ -0,0 +1,44 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_image_RasterOp__
+#define __java_awt_image_RasterOp__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class RenderingHints;
+ namespace geom
+ {
+ class Point2D;
+ class Rectangle2D;
+ }
+ namespace image
+ {
+ class Raster;
+ class RasterOp;
+ class WritableRaster;
+ }
+ }
+ }
+}
+
+class java::awt::image::RasterOp : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::awt::image::WritableRaster * filter(::java::awt::image::Raster *, ::java::awt::image::WritableRaster *) = 0;
+ virtual ::java::awt::geom::Rectangle2D * getBounds2D(::java::awt::image::Raster *) = 0;
+ virtual ::java::awt::image::WritableRaster * createCompatibleDestRaster(::java::awt::image::Raster *) = 0;
+ virtual ::java::awt::geom::Point2D * getPoint2D(::java::awt::geom::Point2D *, ::java::awt::geom::Point2D *) = 0;
+ virtual ::java::awt::RenderingHints * getRenderingHints() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_awt_image_RasterOp__
diff --git a/libjava/java/awt/image/RenderedImage.h b/libjava/java/awt/image/RenderedImage.h
new file mode 100644
index 0000000..f47ca93
--- /dev/null
+++ b/libjava/java/awt/image/RenderedImage.h
@@ -0,0 +1,59 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_image_RenderedImage__
+#define __java_awt_image_RenderedImage__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Rectangle;
+ namespace image
+ {
+ class ColorModel;
+ class Raster;
+ class RenderedImage;
+ class SampleModel;
+ class WritableRaster;
+ }
+ }
+ }
+}
+
+class java::awt::image::RenderedImage : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::util::Vector * getSources() = 0;
+ virtual ::java::lang::Object * getProperty(::java::lang::String *) = 0;
+ virtual JArray< ::java::lang::String * > * getPropertyNames() = 0;
+ virtual ::java::awt::image::ColorModel * getColorModel() = 0;
+ virtual ::java::awt::image::SampleModel * getSampleModel() = 0;
+ virtual jint getWidth() = 0;
+ virtual jint getHeight() = 0;
+ virtual jint getMinX() = 0;
+ virtual jint getMinY() = 0;
+ virtual jint getNumXTiles() = 0;
+ virtual jint getNumYTiles() = 0;
+ virtual jint getMinTileX() = 0;
+ virtual jint getMinTileY() = 0;
+ virtual jint getTileWidth() = 0;
+ virtual jint getTileHeight() = 0;
+ virtual jint getTileGridXOffset() = 0;
+ virtual jint getTileGridYOffset() = 0;
+ virtual ::java::awt::image::Raster * getTile(jint, jint) = 0;
+ virtual ::java::awt::image::Raster * getData() = 0;
+ virtual ::java::awt::image::Raster * getData(::java::awt::Rectangle *) = 0;
+ virtual ::java::awt::image::WritableRaster * copyData(::java::awt::image::WritableRaster *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_awt_image_RenderedImage__
diff --git a/libjava/java/awt/image/ReplicateScaleFilter.h b/libjava/java/awt/image/ReplicateScaleFilter.h
new file mode 100644
index 0000000..d518d79
--- /dev/null
+++ b/libjava/java/awt/image/ReplicateScaleFilter.h
@@ -0,0 +1,50 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_image_ReplicateScaleFilter__
+#define __java_awt_image_ReplicateScaleFilter__
+
+#pragma interface
+
+#include <java/awt/image/ImageFilter.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace image
+ {
+ class ColorModel;
+ class ReplicateScaleFilter;
+ }
+ }
+ }
+}
+
+class java::awt::image::ReplicateScaleFilter : public ::java::awt::image::ImageFilter
+{
+
+public:
+ ReplicateScaleFilter(jint, jint);
+ virtual void setDimensions(jint, jint);
+ virtual void setProperties(::java::util::Hashtable *);
+ virtual void setPixels(jint, jint, jint, jint, ::java::awt::image::ColorModel *, JArray< jbyte > *, jint, jint);
+ virtual void setPixels(jint, jint, jint, jint, ::java::awt::image::ColorModel *, JArray< jint > *, jint, jint);
+private:
+ void setupSources();
+public: // actually protected
+ jint __attribute__((aligned(__alignof__( ::java::awt::image::ImageFilter)))) destHeight;
+ jint destWidth;
+ jint srcHeight;
+ jint srcWidth;
+ JArray< jint > * srcrows;
+ JArray< jint > * srccols;
+ ::java::lang::Object * outpixbuf;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_image_ReplicateScaleFilter__
diff --git a/libjava/java/awt/image/RescaleOp.h b/libjava/java/awt/image/RescaleOp.h
new file mode 100644
index 0000000..ba67ec9
--- /dev/null
+++ b/libjava/java/awt/image/RescaleOp.h
@@ -0,0 +1,64 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_image_RescaleOp__
+#define __java_awt_image_RescaleOp__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class RenderingHints;
+ namespace geom
+ {
+ class Point2D;
+ class Rectangle2D;
+ }
+ namespace image
+ {
+ class BufferedImage;
+ class ColorModel;
+ class Raster;
+ class RescaleOp;
+ class WritableRaster;
+ }
+ }
+ }
+}
+
+class java::awt::image::RescaleOp : public ::java::lang::Object
+{
+
+public:
+ RescaleOp(JArray< jfloat > *, JArray< jfloat > *, ::java::awt::RenderingHints *);
+ RescaleOp(jfloat, jfloat, ::java::awt::RenderingHints *);
+ virtual JArray< jfloat > * getScaleFactors(JArray< jfloat > *);
+ virtual JArray< jfloat > * getOffsets(JArray< jfloat > *);
+ virtual jint getNumFactors();
+ virtual ::java::awt::RenderingHints * getRenderingHints();
+ virtual ::java::awt::image::BufferedImage * filter(::java::awt::image::BufferedImage *, ::java::awt::image::BufferedImage *);
+ virtual ::java::awt::image::WritableRaster * filter(::java::awt::image::Raster *, ::java::awt::image::WritableRaster *);
+private:
+ ::java::awt::image::WritableRaster * filter(::java::awt::image::Raster *, ::java::awt::image::WritableRaster *, JArray< jboolean > *);
+public:
+ virtual ::java::awt::image::BufferedImage * createCompatibleDestImage(::java::awt::image::BufferedImage *, ::java::awt::image::ColorModel *);
+ virtual ::java::awt::image::WritableRaster * createCompatibleDestRaster(::java::awt::image::Raster *);
+ virtual ::java::awt::geom::Rectangle2D * getBounds2D(::java::awt::image::BufferedImage *);
+ virtual ::java::awt::geom::Rectangle2D * getBounds2D(::java::awt::image::Raster *);
+ virtual ::java::awt::geom::Point2D * getPoint2D(::java::awt::geom::Point2D *, ::java::awt::geom::Point2D *);
+private:
+ JArray< jfloat > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) scale;
+ JArray< jfloat > * offsets;
+ ::java::awt::RenderingHints * hints;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_image_RescaleOp__
diff --git a/libjava/java/awt/image/SampleModel.h b/libjava/java/awt/image/SampleModel.h
new file mode 100644
index 0000000..5d51a65
--- /dev/null
+++ b/libjava/java/awt/image/SampleModel.h
@@ -0,0 +1,80 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_image_SampleModel__
+#define __java_awt_image_SampleModel__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace image
+ {
+ class DataBuffer;
+ class SampleModel;
+ }
+ }
+ }
+}
+
+class java::awt::image::SampleModel : public ::java::lang::Object
+{
+
+public:
+ SampleModel(jint, jint, jint, jint);
+ virtual jint getWidth();
+ virtual jint getHeight();
+ virtual jint getNumBands();
+ virtual jint getNumDataElements() = 0;
+ virtual jint getDataType();
+ virtual jint getTransferType();
+ virtual JArray< jint > * getPixel(jint, jint, JArray< jint > *, ::java::awt::image::DataBuffer *);
+ virtual ::java::lang::Object * getDataElements(jint, jint, ::java::lang::Object *, ::java::awt::image::DataBuffer *) = 0;
+ virtual ::java::lang::Object * getDataElements(jint, jint, jint, jint, ::java::lang::Object *, ::java::awt::image::DataBuffer *);
+ virtual void setDataElements(jint, jint, ::java::lang::Object *, ::java::awt::image::DataBuffer *) = 0;
+ virtual void setDataElements(jint, jint, jint, jint, ::java::lang::Object *, ::java::awt::image::DataBuffer *);
+ virtual JArray< jfloat > * getPixel(jint, jint, JArray< jfloat > *, ::java::awt::image::DataBuffer *);
+ virtual JArray< jdouble > * getPixel(jint, jint, JArray< jdouble > *, ::java::awt::image::DataBuffer *);
+ virtual JArray< jint > * getPixels(jint, jint, jint, jint, JArray< jint > *, ::java::awt::image::DataBuffer *);
+ virtual JArray< jfloat > * getPixels(jint, jint, jint, jint, JArray< jfloat > *, ::java::awt::image::DataBuffer *);
+ virtual JArray< jdouble > * getPixels(jint, jint, jint, jint, JArray< jdouble > *, ::java::awt::image::DataBuffer *);
+ virtual jint getSample(jint, jint, jint, ::java::awt::image::DataBuffer *) = 0;
+ virtual jfloat getSampleFloat(jint, jint, jint, ::java::awt::image::DataBuffer *);
+ virtual jdouble getSampleDouble(jint, jint, jint, ::java::awt::image::DataBuffer *);
+ virtual JArray< jint > * getSamples(jint, jint, jint, jint, jint, JArray< jint > *, ::java::awt::image::DataBuffer *);
+ virtual JArray< jfloat > * getSamples(jint, jint, jint, jint, jint, JArray< jfloat > *, ::java::awt::image::DataBuffer *);
+ virtual JArray< jdouble > * getSamples(jint, jint, jint, jint, jint, JArray< jdouble > *, ::java::awt::image::DataBuffer *);
+ virtual void setPixel(jint, jint, JArray< jint > *, ::java::awt::image::DataBuffer *);
+ virtual void setPixel(jint, jint, JArray< jfloat > *, ::java::awt::image::DataBuffer *);
+ virtual void setPixel(jint, jint, JArray< jdouble > *, ::java::awt::image::DataBuffer *);
+ virtual void setPixels(jint, jint, jint, jint, JArray< jint > *, ::java::awt::image::DataBuffer *);
+ virtual void setPixels(jint, jint, jint, jint, JArray< jfloat > *, ::java::awt::image::DataBuffer *);
+ virtual void setPixels(jint, jint, jint, jint, JArray< jdouble > *, ::java::awt::image::DataBuffer *);
+ virtual void setSample(jint, jint, jint, jint, ::java::awt::image::DataBuffer *) = 0;
+ virtual void setSample(jint, jint, jint, jfloat, ::java::awt::image::DataBuffer *);
+ virtual void setSample(jint, jint, jint, jdouble, ::java::awt::image::DataBuffer *);
+ virtual void setSamples(jint, jint, jint, jint, jint, JArray< jint > *, ::java::awt::image::DataBuffer *);
+ virtual void setSamples(jint, jint, jint, jint, jint, JArray< jfloat > *, ::java::awt::image::DataBuffer *);
+ virtual void setSamples(jint, jint, jint, jint, jint, JArray< jdouble > *, ::java::awt::image::DataBuffer *);
+ virtual ::java::awt::image::SampleModel * createCompatibleSampleModel(jint, jint) = 0;
+ virtual ::java::awt::image::SampleModel * createSubsetSampleModel(JArray< jint > *) = 0;
+ virtual ::java::awt::image::DataBuffer * createDataBuffer() = 0;
+ virtual JArray< jint > * getSampleSize() = 0;
+ virtual jint getSampleSize(jint) = 0;
+public: // actually protected
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) width;
+ jint height;
+ jint numBands;
+ jint dataType;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_image_SampleModel__
diff --git a/libjava/java/awt/image/ShortLookupTable.h b/libjava/java/awt/image/ShortLookupTable.h
new file mode 100644
index 0000000..053331b
--- /dev/null
+++ b/libjava/java/awt/image/ShortLookupTable.h
@@ -0,0 +1,41 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_image_ShortLookupTable__
+#define __java_awt_image_ShortLookupTable__
+
+#pragma interface
+
+#include <java/awt/image/LookupTable.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace image
+ {
+ class ShortLookupTable;
+ }
+ }
+ }
+}
+
+class java::awt::image::ShortLookupTable : public ::java::awt::image::LookupTable
+{
+
+public:
+ ShortLookupTable(jint, JArray< JArray< jshort > * > *);
+ ShortLookupTable(jint, JArray< jshort > *);
+ virtual JArray< JArray< jshort > * > * getTable();
+ virtual JArray< jint > * lookupPixel(JArray< jint > *, JArray< jint > *);
+ virtual JArray< jshort > * lookupPixel(JArray< jshort > *, JArray< jshort > *);
+private:
+ JArray< JArray< jshort > * > * __attribute__((aligned(__alignof__( ::java::awt::image::LookupTable)))) data;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_image_ShortLookupTable__
diff --git a/libjava/java/awt/image/SinglePixelPackedSampleModel.h b/libjava/java/awt/image/SinglePixelPackedSampleModel.h
new file mode 100644
index 0000000..6995032
--- /dev/null
+++ b/libjava/java/awt/image/SinglePixelPackedSampleModel.h
@@ -0,0 +1,65 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_image_SinglePixelPackedSampleModel__
+#define __java_awt_image_SinglePixelPackedSampleModel__
+
+#pragma interface
+
+#include <java/awt/image/SampleModel.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace image
+ {
+ class DataBuffer;
+ class SampleModel;
+ class SinglePixelPackedSampleModel;
+ }
+ }
+ }
+}
+
+class java::awt::image::SinglePixelPackedSampleModel : public ::java::awt::image::SampleModel
+{
+
+public:
+ SinglePixelPackedSampleModel(jint, jint, jint, JArray< jint > *);
+ SinglePixelPackedSampleModel(jint, jint, jint, jint, JArray< jint > *);
+ virtual jint getNumDataElements();
+ virtual ::java::awt::image::SampleModel * createCompatibleSampleModel(jint, jint);
+ virtual ::java::awt::image::DataBuffer * createDataBuffer();
+ virtual JArray< jint > * getSampleSize();
+ virtual jint getSampleSize(jint);
+ virtual jint getOffset(jint, jint);
+ virtual JArray< jint > * getBitOffsets();
+ virtual JArray< jint > * getBitMasks();
+ virtual jint getScanlineStride();
+ virtual ::java::awt::image::SampleModel * createSubsetSampleModel(JArray< jint > *);
+ virtual ::java::lang::Object * getDataElements(jint, jint, ::java::lang::Object *, ::java::awt::image::DataBuffer *);
+ virtual ::java::lang::Object * getDataElements(jint, jint, jint, jint, ::java::lang::Object *, ::java::awt::image::DataBuffer *);
+ virtual JArray< jint > * getPixel(jint, jint, JArray< jint > *, ::java::awt::image::DataBuffer *);
+ virtual JArray< jint > * getPixels(jint, jint, jint, jint, JArray< jint > *, ::java::awt::image::DataBuffer *);
+ virtual jint getSample(jint, jint, jint, ::java::awt::image::DataBuffer *);
+ virtual void setDataElements(jint, jint, ::java::lang::Object *, ::java::awt::image::DataBuffer *);
+ virtual void setPixel(jint, jint, JArray< jint > *, ::java::awt::image::DataBuffer *);
+ virtual void setPixels(jint, jint, jint, jint, JArray< jint > *, ::java::awt::image::DataBuffer *);
+ virtual void setSample(jint, jint, jint, jint, ::java::awt::image::DataBuffer *);
+ virtual jboolean equals(::java::lang::Object *);
+ virtual jint hashCode();
+ virtual ::java::lang::String * toString();
+private:
+ jint __attribute__((aligned(__alignof__( ::java::awt::image::SampleModel)))) scanlineStride;
+ JArray< jint > * bitMasks;
+ JArray< jint > * bitOffsets;
+ JArray< jint > * sampleSize;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_image_SinglePixelPackedSampleModel__
diff --git a/libjava/java/awt/image/TileObserver.h b/libjava/java/awt/image/TileObserver.h
new file mode 100644
index 0000000..9f7d0a1
--- /dev/null
+++ b/libjava/java/awt/image/TileObserver.h
@@ -0,0 +1,33 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_image_TileObserver__
+#define __java_awt_image_TileObserver__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace image
+ {
+ class TileObserver;
+ class WritableRenderedImage;
+ }
+ }
+ }
+}
+
+class java::awt::image::TileObserver : public ::java::lang::Object
+{
+
+public:
+ virtual void tileUpdate(::java::awt::image::WritableRenderedImage *, jint, jint, jboolean) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_awt_image_TileObserver__
diff --git a/libjava/java/awt/image/VolatileImage.h b/libjava/java/awt/image/VolatileImage.h
new file mode 100644
index 0000000..ed28928
--- /dev/null
+++ b/libjava/java/awt/image/VolatileImage.h
@@ -0,0 +1,55 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_image_VolatileImage__
+#define __java_awt_image_VolatileImage__
+
+#pragma interface
+
+#include <java/awt/Image.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Graphics;
+ class Graphics2D;
+ class GraphicsConfiguration;
+ class ImageCapabilities;
+ namespace image
+ {
+ class BufferedImage;
+ class ImageProducer;
+ class VolatileImage;
+ }
+ }
+ }
+}
+
+class java::awt::image::VolatileImage : public ::java::awt::Image
+{
+
+public:
+ VolatileImage();
+ virtual ::java::awt::image::BufferedImage * getSnapshot() = 0;
+ virtual jint getWidth() = 0;
+ virtual jint getHeight() = 0;
+ virtual ::java::awt::image::ImageProducer * getSource();
+ virtual void flush();
+ virtual ::java::awt::Graphics * getGraphics();
+ virtual ::java::awt::Graphics2D * createGraphics() = 0;
+ virtual jint validate(::java::awt::GraphicsConfiguration *) = 0;
+ virtual jboolean contentsLost() = 0;
+ virtual ::java::awt::ImageCapabilities * getCapabilities() = 0;
+ virtual jint getTransparency();
+ static const jint IMAGE_OK = 0;
+ static const jint IMAGE_RESTORED = 1;
+ static const jint IMAGE_INCOMPATIBLE = 2;
+public: // actually protected
+ jint __attribute__((aligned(__alignof__( ::java::awt::Image)))) transparency;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_image_VolatileImage__
diff --git a/libjava/java/awt/image/WritableRaster.h b/libjava/java/awt/image/WritableRaster.h
new file mode 100644
index 0000000..5db229c
--- /dev/null
+++ b/libjava/java/awt/image/WritableRaster.h
@@ -0,0 +1,63 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_image_WritableRaster__
+#define __java_awt_image_WritableRaster__
+
+#pragma interface
+
+#include <java/awt/image/Raster.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Point;
+ class Rectangle;
+ namespace image
+ {
+ class DataBuffer;
+ class Raster;
+ class SampleModel;
+ class WritableRaster;
+ }
+ }
+ }
+}
+
+class java::awt::image::WritableRaster : public ::java::awt::image::Raster
+{
+
+public: // actually protected
+ WritableRaster(::java::awt::image::SampleModel *, ::java::awt::Point *);
+ WritableRaster(::java::awt::image::SampleModel *, ::java::awt::image::DataBuffer *, ::java::awt::Point *);
+ WritableRaster(::java::awt::image::SampleModel *, ::java::awt::image::DataBuffer *, ::java::awt::Rectangle *, ::java::awt::Point *, ::java::awt::image::WritableRaster *);
+public:
+ virtual ::java::awt::image::WritableRaster * getWritableParent();
+ virtual ::java::awt::image::WritableRaster * createWritableTranslatedChild(jint, jint);
+ virtual ::java::awt::image::WritableRaster * createWritableChild(jint, jint, jint, jint, jint, jint, JArray< jint > *);
+ virtual ::java::awt::image::Raster * createChild(jint, jint, jint, jint, jint, jint, JArray< jint > *);
+ virtual void setDataElements(jint, jint, ::java::lang::Object *);
+ virtual void setDataElements(jint, jint, ::java::awt::image::Raster *);
+ virtual void setDataElements(jint, jint, jint, jint, ::java::lang::Object *);
+ virtual void setRect(::java::awt::image::Raster *);
+ virtual void setRect(jint, jint, ::java::awt::image::Raster *);
+ virtual void setPixel(jint, jint, JArray< jint > *);
+ virtual void setPixel(jint, jint, JArray< jfloat > *);
+ virtual void setPixel(jint, jint, JArray< jdouble > *);
+ virtual void setPixels(jint, jint, jint, jint, JArray< jint > *);
+ virtual void setPixels(jint, jint, jint, jint, JArray< jfloat > *);
+ virtual void setPixels(jint, jint, jint, jint, JArray< jdouble > *);
+ virtual void setSample(jint, jint, jint, jint);
+ virtual void setSample(jint, jint, jint, jfloat);
+ virtual void setSample(jint, jint, jint, jdouble);
+ virtual void setSamples(jint, jint, jint, jint, jint, JArray< jint > *);
+ virtual void setSamples(jint, jint, jint, jint, jint, JArray< jfloat > *);
+ virtual void setSamples(jint, jint, jint, jint, jint, JArray< jdouble > *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_image_WritableRaster__
diff --git a/libjava/java/awt/image/WritableRenderedImage.h b/libjava/java/awt/image/WritableRenderedImage.h
new file mode 100644
index 0000000..f9b2481
--- /dev/null
+++ b/libjava/java/awt/image/WritableRenderedImage.h
@@ -0,0 +1,69 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_image_WritableRenderedImage__
+#define __java_awt_image_WritableRenderedImage__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Point;
+ class Rectangle;
+ namespace image
+ {
+ class ColorModel;
+ class Raster;
+ class SampleModel;
+ class TileObserver;
+ class WritableRaster;
+ class WritableRenderedImage;
+ }
+ }
+ }
+}
+
+class java::awt::image::WritableRenderedImage : public ::java::lang::Object
+{
+
+public:
+ virtual void addTileObserver(::java::awt::image::TileObserver *) = 0;
+ virtual void removeTileObserver(::java::awt::image::TileObserver *) = 0;
+ virtual ::java::awt::image::WritableRaster * getWritableTile(jint, jint) = 0;
+ virtual void releaseWritableTile(jint, jint) = 0;
+ virtual jboolean isTileWritable(jint, jint) = 0;
+ virtual JArray< ::java::awt::Point * > * getWritableTileIndices() = 0;
+ virtual jboolean hasTileWriters() = 0;
+ virtual void setData(::java::awt::image::Raster *) = 0;
+ virtual ::java::util::Vector * getSources() = 0;
+ virtual ::java::lang::Object * getProperty(::java::lang::String *) = 0;
+ virtual JArray< ::java::lang::String * > * getPropertyNames() = 0;
+ virtual ::java::awt::image::ColorModel * getColorModel() = 0;
+ virtual ::java::awt::image::SampleModel * getSampleModel() = 0;
+ virtual jint getWidth() = 0;
+ virtual jint getHeight() = 0;
+ virtual jint getMinX() = 0;
+ virtual jint getMinY() = 0;
+ virtual jint getNumXTiles() = 0;
+ virtual jint getNumYTiles() = 0;
+ virtual jint getMinTileX() = 0;
+ virtual jint getMinTileY() = 0;
+ virtual jint getTileWidth() = 0;
+ virtual jint getTileHeight() = 0;
+ virtual jint getTileGridXOffset() = 0;
+ virtual jint getTileGridYOffset() = 0;
+ virtual ::java::awt::image::Raster * getTile(jint, jint) = 0;
+ virtual ::java::awt::image::Raster * getData() = 0;
+ virtual ::java::awt::image::Raster * getData(::java::awt::Rectangle *) = 0;
+ virtual ::java::awt::image::WritableRaster * copyData(::java::awt::image::WritableRaster *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_awt_image_WritableRenderedImage__
diff --git a/libjava/java/awt/image/renderable/ContextualRenderedImageFactory.h b/libjava/java/awt/image/renderable/ContextualRenderedImageFactory.h
new file mode 100644
index 0000000..d7ac129
--- /dev/null
+++ b/libjava/java/awt/image/renderable/ContextualRenderedImageFactory.h
@@ -0,0 +1,52 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_image_renderable_ContextualRenderedImageFactory__
+#define __java_awt_image_renderable_ContextualRenderedImageFactory__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class RenderingHints;
+ namespace geom
+ {
+ class Rectangle2D;
+ }
+ namespace image
+ {
+ class RenderedImage;
+ namespace renderable
+ {
+ class ContextualRenderedImageFactory;
+ class ParameterBlock;
+ class RenderContext;
+ class RenderableImage;
+ }
+ }
+ }
+ }
+}
+
+class java::awt::image::renderable::ContextualRenderedImageFactory : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::awt::image::renderable::RenderContext * mapRenderContext(jint, ::java::awt::image::renderable::RenderContext *, ::java::awt::image::renderable::ParameterBlock *, ::java::awt::image::renderable::RenderableImage *) = 0;
+ virtual ::java::awt::image::RenderedImage * create(::java::awt::image::renderable::RenderContext *, ::java::awt::image::renderable::ParameterBlock *) = 0;
+ virtual ::java::awt::geom::Rectangle2D * getBounds2D(::java::awt::image::renderable::ParameterBlock *) = 0;
+ virtual ::java::lang::Object * getProperty(::java::awt::image::renderable::ParameterBlock *, ::java::lang::String *) = 0;
+ virtual JArray< ::java::lang::String * > * getPropertyNames() = 0;
+ virtual jboolean isDynamic() = 0;
+ virtual ::java::awt::image::RenderedImage * create(::java::awt::image::renderable::ParameterBlock *, ::java::awt::RenderingHints *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_awt_image_renderable_ContextualRenderedImageFactory__
diff --git a/libjava/java/awt/image/renderable/ParameterBlock.h b/libjava/java/awt/image/renderable/ParameterBlock.h
new file mode 100644
index 0000000..cafafbd
--- /dev/null
+++ b/libjava/java/awt/image/renderable/ParameterBlock.h
@@ -0,0 +1,87 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_image_renderable_ParameterBlock__
+#define __java_awt_image_renderable_ParameterBlock__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace image
+ {
+ class RenderedImage;
+ namespace renderable
+ {
+ class ParameterBlock;
+ class RenderableImage;
+ }
+ }
+ }
+ }
+}
+
+class java::awt::image::renderable::ParameterBlock : public ::java::lang::Object
+{
+
+public:
+ ParameterBlock();
+ ParameterBlock(::java::util::Vector *);
+ ParameterBlock(::java::util::Vector *, ::java::util::Vector *);
+ virtual ::java::lang::Object * shallowClone();
+ virtual ::java::lang::Object * clone();
+ virtual ::java::awt::image::renderable::ParameterBlock * addSource(::java::lang::Object *);
+ virtual ::java::lang::Object * getSource(jint);
+ virtual ::java::awt::image::renderable::ParameterBlock * setSource(::java::lang::Object *, jint);
+ virtual ::java::awt::image::RenderedImage * getRenderedSource(jint);
+ virtual ::java::awt::image::renderable::RenderableImage * getRenderableSource(jint);
+ virtual jint getNumSources();
+ virtual ::java::util::Vector * getSources();
+ virtual void setSources(::java::util::Vector *);
+ virtual void removeSources();
+ virtual jint getNumParameters();
+ virtual ::java::util::Vector * getParameters();
+ virtual void setParameters(::java::util::Vector *);
+ virtual void removeParameters();
+ virtual ::java::awt::image::renderable::ParameterBlock * add(::java::lang::Object *);
+ virtual ::java::awt::image::renderable::ParameterBlock * add(jbyte);
+ virtual ::java::awt::image::renderable::ParameterBlock * add(jchar);
+ virtual ::java::awt::image::renderable::ParameterBlock * add(jshort);
+ virtual ::java::awt::image::renderable::ParameterBlock * add(jint);
+ virtual ::java::awt::image::renderable::ParameterBlock * add(jlong);
+ virtual ::java::awt::image::renderable::ParameterBlock * add(jfloat);
+ virtual ::java::awt::image::renderable::ParameterBlock * add(jdouble);
+ virtual ::java::awt::image::renderable::ParameterBlock * set(::java::lang::Object *, jint);
+ virtual ::java::awt::image::renderable::ParameterBlock * set(jbyte, jint);
+ virtual ::java::awt::image::renderable::ParameterBlock * set(jchar, jint);
+ virtual ::java::awt::image::renderable::ParameterBlock * set(jshort, jint);
+ virtual ::java::awt::image::renderable::ParameterBlock * set(jint, jint);
+ virtual ::java::awt::image::renderable::ParameterBlock * set(jlong, jint);
+ virtual ::java::awt::image::renderable::ParameterBlock * set(jfloat, jint);
+ virtual ::java::awt::image::renderable::ParameterBlock * set(jdouble, jint);
+ virtual ::java::lang::Object * getObjectParameter(jint);
+ virtual jbyte getByteParameter(jint);
+ virtual jchar getCharParameter(jint);
+ virtual jshort getShortParameter(jint);
+ virtual jint getIntParameter(jint);
+ virtual jlong getLongParameter(jint);
+ virtual jfloat getFloatParameter(jint);
+ virtual jdouble getDoubleParameter(jint);
+ virtual JArray< ::java::lang::Class * > * getParamClasses();
+private:
+ static const jlong serialVersionUID = -7577115551785240750LL;
+public: // actually protected
+ ::java::util::Vector * __attribute__((aligned(__alignof__( ::java::lang::Object)))) sources;
+ ::java::util::Vector * parameters;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_image_renderable_ParameterBlock__
diff --git a/libjava/java/awt/image/renderable/RenderContext.h b/libjava/java/awt/image/renderable/RenderContext.h
new file mode 100644
index 0000000..4923ebc
--- /dev/null
+++ b/libjava/java/awt/image/renderable/RenderContext.h
@@ -0,0 +1,60 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_image_renderable_RenderContext__
+#define __java_awt_image_renderable_RenderContext__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class RenderingHints;
+ class Shape;
+ namespace geom
+ {
+ class AffineTransform;
+ }
+ namespace image
+ {
+ namespace renderable
+ {
+ class RenderContext;
+ }
+ }
+ }
+ }
+}
+
+class java::awt::image::renderable::RenderContext : public ::java::lang::Object
+{
+
+public:
+ RenderContext(::java::awt::geom::AffineTransform *, ::java::awt::Shape *, ::java::awt::RenderingHints *);
+ RenderContext(::java::awt::geom::AffineTransform *);
+ RenderContext(::java::awt::geom::AffineTransform *, ::java::awt::RenderingHints *);
+ RenderContext(::java::awt::geom::AffineTransform *, ::java::awt::Shape *);
+ virtual ::java::awt::RenderingHints * getRenderingHints();
+ virtual void setRenderingHints(::java::awt::RenderingHints *);
+ virtual void setTransform(::java::awt::geom::AffineTransform *);
+ virtual void preConcatenateTransform(::java::awt::geom::AffineTransform *);
+ virtual void preConcetenateTransform(::java::awt::geom::AffineTransform *);
+ virtual void concatenateTransform(::java::awt::geom::AffineTransform *);
+ virtual void concetenateTransform(::java::awt::geom::AffineTransform *);
+ virtual ::java::awt::geom::AffineTransform * getTransform();
+ virtual void setAreaOfInterest(::java::awt::Shape *);
+ virtual ::java::awt::Shape * getAreaOfInterest();
+ virtual ::java::lang::Object * clone();
+private:
+ ::java::awt::geom::AffineTransform * __attribute__((aligned(__alignof__( ::java::lang::Object)))) xform;
+ ::java::awt::Shape * aoi;
+ ::java::awt::RenderingHints * hints;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_image_renderable_RenderContext__
diff --git a/libjava/java/awt/image/renderable/RenderableImage.h b/libjava/java/awt/image/renderable/RenderableImage.h
new file mode 100644
index 0000000..c7fed51
--- /dev/null
+++ b/libjava/java/awt/image/renderable/RenderableImage.h
@@ -0,0 +1,51 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_image_renderable_RenderableImage__
+#define __java_awt_image_renderable_RenderableImage__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class RenderingHints;
+ namespace image
+ {
+ class RenderedImage;
+ namespace renderable
+ {
+ class RenderContext;
+ class RenderableImage;
+ }
+ }
+ }
+ }
+}
+
+class java::awt::image::renderable::RenderableImage : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::util::Vector * getSources() = 0;
+ virtual ::java::lang::Object * getProperty(::java::lang::String *) = 0;
+ virtual JArray< ::java::lang::String * > * getPropertyNames() = 0;
+ virtual jboolean isDynamic() = 0;
+ virtual jfloat getWidth() = 0;
+ virtual jfloat getHeight() = 0;
+ virtual jfloat getMinX() = 0;
+ virtual jfloat getMinY() = 0;
+ virtual ::java::awt::image::RenderedImage * createScaledRendering(jint, jint, ::java::awt::RenderingHints *) = 0;
+ virtual ::java::awt::image::RenderedImage * createDefaultRendering() = 0;
+ virtual ::java::awt::image::RenderedImage * createRendering(::java::awt::image::renderable::RenderContext *) = 0;
+ static ::java::lang::String * HINTS_OBSERVED;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_awt_image_renderable_RenderableImage__
diff --git a/libjava/java/awt/image/renderable/RenderableImageOp.h b/libjava/java/awt/image/renderable/RenderableImageOp.h
new file mode 100644
index 0000000..edc766d
--- /dev/null
+++ b/libjava/java/awt/image/renderable/RenderableImageOp.h
@@ -0,0 +1,59 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_image_renderable_RenderableImageOp__
+#define __java_awt_image_renderable_RenderableImageOp__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class RenderingHints;
+ namespace image
+ {
+ class RenderedImage;
+ namespace renderable
+ {
+ class ContextualRenderedImageFactory;
+ class ParameterBlock;
+ class RenderContext;
+ class RenderableImageOp;
+ }
+ }
+ }
+ }
+}
+
+class java::awt::image::renderable::RenderableImageOp : public ::java::lang::Object
+{
+
+public:
+ RenderableImageOp(::java::awt::image::renderable::ContextualRenderedImageFactory *, ::java::awt::image::renderable::ParameterBlock *);
+ virtual ::java::util::Vector * getSources();
+ virtual ::java::lang::Object * getProperty(::java::lang::String *);
+ virtual JArray< ::java::lang::String * > * getPropertyNames();
+ virtual jboolean isDynamic();
+ virtual jfloat getWidth();
+ virtual jfloat getHeight();
+ virtual jfloat getMinX();
+ virtual jfloat getMinY();
+ virtual ::java::awt::image::renderable::ParameterBlock * setParameterBlock(::java::awt::image::renderable::ParameterBlock *);
+ virtual ::java::awt::image::renderable::ParameterBlock * getParameterBlock();
+ virtual ::java::awt::image::RenderedImage * createScaledRendering(jint, jint, ::java::awt::RenderingHints *);
+ virtual ::java::awt::image::RenderedImage * createDefaultRendering();
+ virtual ::java::awt::image::RenderedImage * createRendering(::java::awt::image::renderable::RenderContext *);
+private:
+ ::java::awt::image::renderable::ContextualRenderedImageFactory * __attribute__((aligned(__alignof__( ::java::lang::Object)))) crif;
+ ::java::awt::image::renderable::ParameterBlock * block;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_image_renderable_RenderableImageOp__
diff --git a/libjava/java/awt/image/renderable/RenderableImageProducer.h b/libjava/java/awt/image/renderable/RenderableImageProducer.h
new file mode 100644
index 0000000..4e1968f
--- /dev/null
+++ b/libjava/java/awt/image/renderable/RenderableImageProducer.h
@@ -0,0 +1,50 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_image_renderable_RenderableImageProducer__
+#define __java_awt_image_renderable_RenderableImageProducer__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace image
+ {
+ class ImageConsumer;
+ namespace renderable
+ {
+ class RenderContext;
+ class RenderableImage;
+ class RenderableImageProducer;
+ }
+ }
+ }
+ }
+}
+
+class java::awt::image::renderable::RenderableImageProducer : public ::java::lang::Object
+{
+
+public:
+ RenderableImageProducer(::java::awt::image::renderable::RenderableImage *, ::java::awt::image::renderable::RenderContext *);
+ virtual void setRenderContext(::java::awt::image::renderable::RenderContext *);
+ virtual void addConsumer(::java::awt::image::ImageConsumer *);
+ virtual jboolean isConsumer(::java::awt::image::ImageConsumer *);
+ virtual void removeConsumer(::java::awt::image::ImageConsumer *);
+ virtual void startProduction(::java::awt::image::ImageConsumer *);
+ virtual void requestTopDownLeftRightResend(::java::awt::image::ImageConsumer *);
+ virtual void run();
+private:
+ ::java::awt::image::renderable::RenderableImage * __attribute__((aligned(__alignof__( ::java::lang::Object)))) image;
+ ::java::awt::image::renderable::RenderContext * context;
+ ::java::util::ArrayList * consumers;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_image_renderable_RenderableImageProducer__
diff --git a/libjava/java/awt/image/renderable/RenderedImageFactory.h b/libjava/java/awt/image/renderable/RenderedImageFactory.h
new file mode 100644
index 0000000..3e2eb93499
--- /dev/null
+++ b/libjava/java/awt/image/renderable/RenderedImageFactory.h
@@ -0,0 +1,38 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_image_renderable_RenderedImageFactory__
+#define __java_awt_image_renderable_RenderedImageFactory__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class RenderingHints;
+ namespace image
+ {
+ class RenderedImage;
+ namespace renderable
+ {
+ class ParameterBlock;
+ class RenderedImageFactory;
+ }
+ }
+ }
+ }
+}
+
+class java::awt::image::renderable::RenderedImageFactory : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::awt::image::RenderedImage * create(::java::awt::image::renderable::ParameterBlock *, ::java::awt::RenderingHints *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_awt_image_renderable_RenderedImageFactory__
diff --git a/libjava/java/awt/peer/ButtonPeer.h b/libjava/java/awt/peer/ButtonPeer.h
new file mode 100644
index 0000000..1f5c203
--- /dev/null
+++ b/libjava/java/awt/peer/ButtonPeer.h
@@ -0,0 +1,110 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_peer_ButtonPeer__
+#define __java_awt_peer_ButtonPeer__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class AWTEvent;
+ class BufferCapabilities;
+ class BufferCapabilities$FlipContents;
+ class Color;
+ class Component;
+ class Cursor;
+ class Dimension;
+ class Font;
+ class FontMetrics;
+ class Graphics;
+ class GraphicsConfiguration;
+ class Image;
+ class Point;
+ class Rectangle;
+ class Toolkit;
+ namespace event
+ {
+ class PaintEvent;
+ }
+ namespace image
+ {
+ class ColorModel;
+ class ImageObserver;
+ class ImageProducer;
+ class VolatileImage;
+ }
+ namespace peer
+ {
+ class ButtonPeer;
+ class ContainerPeer;
+ }
+ }
+ }
+}
+
+class java::awt::peer::ButtonPeer : public ::java::lang::Object
+{
+
+public:
+ virtual void setLabel(::java::lang::String *) = 0;
+ virtual jint checkImage(::java::awt::Image *, jint, jint, ::java::awt::image::ImageObserver *) = 0;
+ virtual ::java::awt::Image * createImage(::java::awt::image::ImageProducer *) = 0;
+ virtual ::java::awt::Image * createImage(jint, jint) = 0;
+ virtual void disable() = 0;
+ virtual void dispose() = 0;
+ virtual void enable() = 0;
+ virtual ::java::awt::image::ColorModel * getColorModel() = 0;
+ virtual ::java::awt::FontMetrics * getFontMetrics(::java::awt::Font *) = 0;
+ virtual ::java::awt::Graphics * getGraphics() = 0;
+ virtual ::java::awt::Point * getLocationOnScreen() = 0;
+ virtual ::java::awt::Dimension * getMinimumSize() = 0;
+ virtual ::java::awt::Dimension * getPreferredSize() = 0;
+ virtual ::java::awt::Toolkit * getToolkit() = 0;
+ virtual void handleEvent(::java::awt::AWTEvent *) = 0;
+ virtual void hide() = 0;
+ virtual jboolean isFocusTraversable() = 0;
+ virtual jboolean isFocusable() = 0;
+ virtual ::java::awt::Dimension * minimumSize() = 0;
+ virtual ::java::awt::Dimension * preferredSize() = 0;
+ virtual void paint(::java::awt::Graphics *) = 0;
+ virtual jboolean prepareImage(::java::awt::Image *, jint, jint, ::java::awt::image::ImageObserver *) = 0;
+ virtual void print(::java::awt::Graphics *) = 0;
+ virtual void repaint(jlong, jint, jint, jint, jint) = 0;
+ virtual void requestFocus() = 0;
+ virtual jboolean requestFocus(::java::awt::Component *, jboolean, jboolean, jlong) = 0;
+ virtual void reshape(jint, jint, jint, jint) = 0;
+ virtual void setBackground(::java::awt::Color *) = 0;
+ virtual void setBounds(jint, jint, jint, jint) = 0;
+ virtual void setCursor(::java::awt::Cursor *) = 0;
+ virtual void setEnabled(jboolean) = 0;
+ virtual void setFont(::java::awt::Font *) = 0;
+ virtual void setForeground(::java::awt::Color *) = 0;
+ virtual void setVisible(jboolean) = 0;
+ virtual void show() = 0;
+ virtual ::java::awt::GraphicsConfiguration * getGraphicsConfiguration() = 0;
+ virtual void setEventMask(jlong) = 0;
+ virtual jboolean isObscured() = 0;
+ virtual jboolean canDetermineObscurity() = 0;
+ virtual void coalescePaintEvent(::java::awt::event::PaintEvent *) = 0;
+ virtual void updateCursorImmediately() = 0;
+ virtual jboolean handlesWheelScrolling() = 0;
+ virtual ::java::awt::image::VolatileImage * createVolatileImage(jint, jint) = 0;
+ virtual void createBuffers(jint, ::java::awt::BufferCapabilities *) = 0;
+ virtual ::java::awt::Image * getBackBuffer() = 0;
+ virtual void flip(::java::awt::BufferCapabilities$FlipContents *) = 0;
+ virtual void destroyBuffers() = 0;
+ virtual ::java::awt::Rectangle * getBounds() = 0;
+ virtual void reparent(::java::awt::peer::ContainerPeer *) = 0;
+ virtual void setBounds(jint, jint, jint, jint, jint) = 0;
+ virtual jboolean isReparentSupported() = 0;
+ virtual void layout() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_awt_peer_ButtonPeer__
diff --git a/libjava/java/awt/peer/CanvasPeer.h b/libjava/java/awt/peer/CanvasPeer.h
new file mode 100644
index 0000000..503b48a
--- /dev/null
+++ b/libjava/java/awt/peer/CanvasPeer.h
@@ -0,0 +1,109 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_peer_CanvasPeer__
+#define __java_awt_peer_CanvasPeer__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class AWTEvent;
+ class BufferCapabilities;
+ class BufferCapabilities$FlipContents;
+ class Color;
+ class Component;
+ class Cursor;
+ class Dimension;
+ class Font;
+ class FontMetrics;
+ class Graphics;
+ class GraphicsConfiguration;
+ class Image;
+ class Point;
+ class Rectangle;
+ class Toolkit;
+ namespace event
+ {
+ class PaintEvent;
+ }
+ namespace image
+ {
+ class ColorModel;
+ class ImageObserver;
+ class ImageProducer;
+ class VolatileImage;
+ }
+ namespace peer
+ {
+ class CanvasPeer;
+ class ContainerPeer;
+ }
+ }
+ }
+}
+
+class java::awt::peer::CanvasPeer : public ::java::lang::Object
+{
+
+public:
+ virtual jint checkImage(::java::awt::Image *, jint, jint, ::java::awt::image::ImageObserver *) = 0;
+ virtual ::java::awt::Image * createImage(::java::awt::image::ImageProducer *) = 0;
+ virtual ::java::awt::Image * createImage(jint, jint) = 0;
+ virtual void disable() = 0;
+ virtual void dispose() = 0;
+ virtual void enable() = 0;
+ virtual ::java::awt::image::ColorModel * getColorModel() = 0;
+ virtual ::java::awt::FontMetrics * getFontMetrics(::java::awt::Font *) = 0;
+ virtual ::java::awt::Graphics * getGraphics() = 0;
+ virtual ::java::awt::Point * getLocationOnScreen() = 0;
+ virtual ::java::awt::Dimension * getMinimumSize() = 0;
+ virtual ::java::awt::Dimension * getPreferredSize() = 0;
+ virtual ::java::awt::Toolkit * getToolkit() = 0;
+ virtual void handleEvent(::java::awt::AWTEvent *) = 0;
+ virtual void hide() = 0;
+ virtual jboolean isFocusTraversable() = 0;
+ virtual jboolean isFocusable() = 0;
+ virtual ::java::awt::Dimension * minimumSize() = 0;
+ virtual ::java::awt::Dimension * preferredSize() = 0;
+ virtual void paint(::java::awt::Graphics *) = 0;
+ virtual jboolean prepareImage(::java::awt::Image *, jint, jint, ::java::awt::image::ImageObserver *) = 0;
+ virtual void print(::java::awt::Graphics *) = 0;
+ virtual void repaint(jlong, jint, jint, jint, jint) = 0;
+ virtual void requestFocus() = 0;
+ virtual jboolean requestFocus(::java::awt::Component *, jboolean, jboolean, jlong) = 0;
+ virtual void reshape(jint, jint, jint, jint) = 0;
+ virtual void setBackground(::java::awt::Color *) = 0;
+ virtual void setBounds(jint, jint, jint, jint) = 0;
+ virtual void setCursor(::java::awt::Cursor *) = 0;
+ virtual void setEnabled(jboolean) = 0;
+ virtual void setFont(::java::awt::Font *) = 0;
+ virtual void setForeground(::java::awt::Color *) = 0;
+ virtual void setVisible(jboolean) = 0;
+ virtual void show() = 0;
+ virtual ::java::awt::GraphicsConfiguration * getGraphicsConfiguration() = 0;
+ virtual void setEventMask(jlong) = 0;
+ virtual jboolean isObscured() = 0;
+ virtual jboolean canDetermineObscurity() = 0;
+ virtual void coalescePaintEvent(::java::awt::event::PaintEvent *) = 0;
+ virtual void updateCursorImmediately() = 0;
+ virtual jboolean handlesWheelScrolling() = 0;
+ virtual ::java::awt::image::VolatileImage * createVolatileImage(jint, jint) = 0;
+ virtual void createBuffers(jint, ::java::awt::BufferCapabilities *) = 0;
+ virtual ::java::awt::Image * getBackBuffer() = 0;
+ virtual void flip(::java::awt::BufferCapabilities$FlipContents *) = 0;
+ virtual void destroyBuffers() = 0;
+ virtual ::java::awt::Rectangle * getBounds() = 0;
+ virtual void reparent(::java::awt::peer::ContainerPeer *) = 0;
+ virtual void setBounds(jint, jint, jint, jint, jint) = 0;
+ virtual jboolean isReparentSupported() = 0;
+ virtual void layout() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_awt_peer_CanvasPeer__
diff --git a/libjava/java/awt/peer/CheckboxMenuItemPeer.h b/libjava/java/awt/peer/CheckboxMenuItemPeer.h
new file mode 100644
index 0000000..84a5ba9
--- /dev/null
+++ b/libjava/java/awt/peer/CheckboxMenuItemPeer.h
@@ -0,0 +1,39 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_peer_CheckboxMenuItemPeer__
+#define __java_awt_peer_CheckboxMenuItemPeer__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Font;
+ namespace peer
+ {
+ class CheckboxMenuItemPeer;
+ }
+ }
+ }
+}
+
+class java::awt::peer::CheckboxMenuItemPeer : public ::java::lang::Object
+{
+
+public:
+ virtual void setState(jboolean) = 0;
+ virtual void disable() = 0;
+ virtual void enable() = 0;
+ virtual void setEnabled(jboolean) = 0;
+ virtual void setLabel(::java::lang::String *) = 0;
+ virtual void dispose() = 0;
+ virtual void setFont(::java::awt::Font *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_awt_peer_CheckboxMenuItemPeer__
diff --git a/libjava/java/awt/peer/CheckboxPeer.h b/libjava/java/awt/peer/CheckboxPeer.h
new file mode 100644
index 0000000..a397322
--- /dev/null
+++ b/libjava/java/awt/peer/CheckboxPeer.h
@@ -0,0 +1,113 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_peer_CheckboxPeer__
+#define __java_awt_peer_CheckboxPeer__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class AWTEvent;
+ class BufferCapabilities;
+ class BufferCapabilities$FlipContents;
+ class CheckboxGroup;
+ class Color;
+ class Component;
+ class Cursor;
+ class Dimension;
+ class Font;
+ class FontMetrics;
+ class Graphics;
+ class GraphicsConfiguration;
+ class Image;
+ class Point;
+ class Rectangle;
+ class Toolkit;
+ namespace event
+ {
+ class PaintEvent;
+ }
+ namespace image
+ {
+ class ColorModel;
+ class ImageObserver;
+ class ImageProducer;
+ class VolatileImage;
+ }
+ namespace peer
+ {
+ class CheckboxPeer;
+ class ContainerPeer;
+ }
+ }
+ }
+}
+
+class java::awt::peer::CheckboxPeer : public ::java::lang::Object
+{
+
+public:
+ virtual void setCheckboxGroup(::java::awt::CheckboxGroup *) = 0;
+ virtual void setLabel(::java::lang::String *) = 0;
+ virtual void setState(jboolean) = 0;
+ virtual jint checkImage(::java::awt::Image *, jint, jint, ::java::awt::image::ImageObserver *) = 0;
+ virtual ::java::awt::Image * createImage(::java::awt::image::ImageProducer *) = 0;
+ virtual ::java::awt::Image * createImage(jint, jint) = 0;
+ virtual void disable() = 0;
+ virtual void dispose() = 0;
+ virtual void enable() = 0;
+ virtual ::java::awt::image::ColorModel * getColorModel() = 0;
+ virtual ::java::awt::FontMetrics * getFontMetrics(::java::awt::Font *) = 0;
+ virtual ::java::awt::Graphics * getGraphics() = 0;
+ virtual ::java::awt::Point * getLocationOnScreen() = 0;
+ virtual ::java::awt::Dimension * getMinimumSize() = 0;
+ virtual ::java::awt::Dimension * getPreferredSize() = 0;
+ virtual ::java::awt::Toolkit * getToolkit() = 0;
+ virtual void handleEvent(::java::awt::AWTEvent *) = 0;
+ virtual void hide() = 0;
+ virtual jboolean isFocusTraversable() = 0;
+ virtual jboolean isFocusable() = 0;
+ virtual ::java::awt::Dimension * minimumSize() = 0;
+ virtual ::java::awt::Dimension * preferredSize() = 0;
+ virtual void paint(::java::awt::Graphics *) = 0;
+ virtual jboolean prepareImage(::java::awt::Image *, jint, jint, ::java::awt::image::ImageObserver *) = 0;
+ virtual void print(::java::awt::Graphics *) = 0;
+ virtual void repaint(jlong, jint, jint, jint, jint) = 0;
+ virtual void requestFocus() = 0;
+ virtual jboolean requestFocus(::java::awt::Component *, jboolean, jboolean, jlong) = 0;
+ virtual void reshape(jint, jint, jint, jint) = 0;
+ virtual void setBackground(::java::awt::Color *) = 0;
+ virtual void setBounds(jint, jint, jint, jint) = 0;
+ virtual void setCursor(::java::awt::Cursor *) = 0;
+ virtual void setEnabled(jboolean) = 0;
+ virtual void setFont(::java::awt::Font *) = 0;
+ virtual void setForeground(::java::awt::Color *) = 0;
+ virtual void setVisible(jboolean) = 0;
+ virtual void show() = 0;
+ virtual ::java::awt::GraphicsConfiguration * getGraphicsConfiguration() = 0;
+ virtual void setEventMask(jlong) = 0;
+ virtual jboolean isObscured() = 0;
+ virtual jboolean canDetermineObscurity() = 0;
+ virtual void coalescePaintEvent(::java::awt::event::PaintEvent *) = 0;
+ virtual void updateCursorImmediately() = 0;
+ virtual jboolean handlesWheelScrolling() = 0;
+ virtual ::java::awt::image::VolatileImage * createVolatileImage(jint, jint) = 0;
+ virtual void createBuffers(jint, ::java::awt::BufferCapabilities *) = 0;
+ virtual ::java::awt::Image * getBackBuffer() = 0;
+ virtual void flip(::java::awt::BufferCapabilities$FlipContents *) = 0;
+ virtual void destroyBuffers() = 0;
+ virtual ::java::awt::Rectangle * getBounds() = 0;
+ virtual void reparent(::java::awt::peer::ContainerPeer *) = 0;
+ virtual void setBounds(jint, jint, jint, jint, jint) = 0;
+ virtual jboolean isReparentSupported() = 0;
+ virtual void layout() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_awt_peer_CheckboxPeer__
diff --git a/libjava/java/awt/peer/ChoicePeer.h b/libjava/java/awt/peer/ChoicePeer.h
new file mode 100644
index 0000000..78dca41
--- /dev/null
+++ b/libjava/java/awt/peer/ChoicePeer.h
@@ -0,0 +1,114 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_peer_ChoicePeer__
+#define __java_awt_peer_ChoicePeer__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class AWTEvent;
+ class BufferCapabilities;
+ class BufferCapabilities$FlipContents;
+ class Color;
+ class Component;
+ class Cursor;
+ class Dimension;
+ class Font;
+ class FontMetrics;
+ class Graphics;
+ class GraphicsConfiguration;
+ class Image;
+ class Point;
+ class Rectangle;
+ class Toolkit;
+ namespace event
+ {
+ class PaintEvent;
+ }
+ namespace image
+ {
+ class ColorModel;
+ class ImageObserver;
+ class ImageProducer;
+ class VolatileImage;
+ }
+ namespace peer
+ {
+ class ChoicePeer;
+ class ContainerPeer;
+ }
+ }
+ }
+}
+
+class java::awt::peer::ChoicePeer : public ::java::lang::Object
+{
+
+public:
+ virtual void add(::java::lang::String *, jint) = 0;
+ virtual void addItem(::java::lang::String *, jint) = 0;
+ virtual void remove(jint) = 0;
+ virtual void removeAll() = 0;
+ virtual void select(jint) = 0;
+ virtual jint checkImage(::java::awt::Image *, jint, jint, ::java::awt::image::ImageObserver *) = 0;
+ virtual ::java::awt::Image * createImage(::java::awt::image::ImageProducer *) = 0;
+ virtual ::java::awt::Image * createImage(jint, jint) = 0;
+ virtual void disable() = 0;
+ virtual void dispose() = 0;
+ virtual void enable() = 0;
+ virtual ::java::awt::image::ColorModel * getColorModel() = 0;
+ virtual ::java::awt::FontMetrics * getFontMetrics(::java::awt::Font *) = 0;
+ virtual ::java::awt::Graphics * getGraphics() = 0;
+ virtual ::java::awt::Point * getLocationOnScreen() = 0;
+ virtual ::java::awt::Dimension * getMinimumSize() = 0;
+ virtual ::java::awt::Dimension * getPreferredSize() = 0;
+ virtual ::java::awt::Toolkit * getToolkit() = 0;
+ virtual void handleEvent(::java::awt::AWTEvent *) = 0;
+ virtual void hide() = 0;
+ virtual jboolean isFocusTraversable() = 0;
+ virtual jboolean isFocusable() = 0;
+ virtual ::java::awt::Dimension * minimumSize() = 0;
+ virtual ::java::awt::Dimension * preferredSize() = 0;
+ virtual void paint(::java::awt::Graphics *) = 0;
+ virtual jboolean prepareImage(::java::awt::Image *, jint, jint, ::java::awt::image::ImageObserver *) = 0;
+ virtual void print(::java::awt::Graphics *) = 0;
+ virtual void repaint(jlong, jint, jint, jint, jint) = 0;
+ virtual void requestFocus() = 0;
+ virtual jboolean requestFocus(::java::awt::Component *, jboolean, jboolean, jlong) = 0;
+ virtual void reshape(jint, jint, jint, jint) = 0;
+ virtual void setBackground(::java::awt::Color *) = 0;
+ virtual void setBounds(jint, jint, jint, jint) = 0;
+ virtual void setCursor(::java::awt::Cursor *) = 0;
+ virtual void setEnabled(jboolean) = 0;
+ virtual void setFont(::java::awt::Font *) = 0;
+ virtual void setForeground(::java::awt::Color *) = 0;
+ virtual void setVisible(jboolean) = 0;
+ virtual void show() = 0;
+ virtual ::java::awt::GraphicsConfiguration * getGraphicsConfiguration() = 0;
+ virtual void setEventMask(jlong) = 0;
+ virtual jboolean isObscured() = 0;
+ virtual jboolean canDetermineObscurity() = 0;
+ virtual void coalescePaintEvent(::java::awt::event::PaintEvent *) = 0;
+ virtual void updateCursorImmediately() = 0;
+ virtual jboolean handlesWheelScrolling() = 0;
+ virtual ::java::awt::image::VolatileImage * createVolatileImage(jint, jint) = 0;
+ virtual void createBuffers(jint, ::java::awt::BufferCapabilities *) = 0;
+ virtual ::java::awt::Image * getBackBuffer() = 0;
+ virtual void flip(::java::awt::BufferCapabilities$FlipContents *) = 0;
+ virtual void destroyBuffers() = 0;
+ virtual ::java::awt::Rectangle * getBounds() = 0;
+ virtual void reparent(::java::awt::peer::ContainerPeer *) = 0;
+ virtual void setBounds(jint, jint, jint, jint, jint) = 0;
+ virtual jboolean isReparentSupported() = 0;
+ virtual void layout() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_awt_peer_ChoicePeer__
diff --git a/libjava/java/awt/peer/ComponentPeer.h b/libjava/java/awt/peer/ComponentPeer.h
new file mode 100644
index 0000000..3d3c22d
--- /dev/null
+++ b/libjava/java/awt/peer/ComponentPeer.h
@@ -0,0 +1,109 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_peer_ComponentPeer__
+#define __java_awt_peer_ComponentPeer__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class AWTEvent;
+ class BufferCapabilities;
+ class BufferCapabilities$FlipContents;
+ class Color;
+ class Component;
+ class Cursor;
+ class Dimension;
+ class Font;
+ class FontMetrics;
+ class Graphics;
+ class GraphicsConfiguration;
+ class Image;
+ class Point;
+ class Rectangle;
+ class Toolkit;
+ namespace event
+ {
+ class PaintEvent;
+ }
+ namespace image
+ {
+ class ColorModel;
+ class ImageObserver;
+ class ImageProducer;
+ class VolatileImage;
+ }
+ namespace peer
+ {
+ class ComponentPeer;
+ class ContainerPeer;
+ }
+ }
+ }
+}
+
+class java::awt::peer::ComponentPeer : public ::java::lang::Object
+{
+
+public:
+ virtual jint checkImage(::java::awt::Image *, jint, jint, ::java::awt::image::ImageObserver *) = 0;
+ virtual ::java::awt::Image * createImage(::java::awt::image::ImageProducer *) = 0;
+ virtual ::java::awt::Image * createImage(jint, jint) = 0;
+ virtual void disable() = 0;
+ virtual void dispose() = 0;
+ virtual void enable() = 0;
+ virtual ::java::awt::image::ColorModel * getColorModel() = 0;
+ virtual ::java::awt::FontMetrics * getFontMetrics(::java::awt::Font *) = 0;
+ virtual ::java::awt::Graphics * getGraphics() = 0;
+ virtual ::java::awt::Point * getLocationOnScreen() = 0;
+ virtual ::java::awt::Dimension * getMinimumSize() = 0;
+ virtual ::java::awt::Dimension * getPreferredSize() = 0;
+ virtual ::java::awt::Toolkit * getToolkit() = 0;
+ virtual void handleEvent(::java::awt::AWTEvent *) = 0;
+ virtual void hide() = 0;
+ virtual jboolean isFocusTraversable() = 0;
+ virtual jboolean isFocusable() = 0;
+ virtual ::java::awt::Dimension * minimumSize() = 0;
+ virtual ::java::awt::Dimension * preferredSize() = 0;
+ virtual void paint(::java::awt::Graphics *) = 0;
+ virtual jboolean prepareImage(::java::awt::Image *, jint, jint, ::java::awt::image::ImageObserver *) = 0;
+ virtual void print(::java::awt::Graphics *) = 0;
+ virtual void repaint(jlong, jint, jint, jint, jint) = 0;
+ virtual void requestFocus() = 0;
+ virtual jboolean requestFocus(::java::awt::Component *, jboolean, jboolean, jlong) = 0;
+ virtual void reshape(jint, jint, jint, jint) = 0;
+ virtual void setBackground(::java::awt::Color *) = 0;
+ virtual void setBounds(jint, jint, jint, jint) = 0;
+ virtual void setCursor(::java::awt::Cursor *) = 0;
+ virtual void setEnabled(jboolean) = 0;
+ virtual void setFont(::java::awt::Font *) = 0;
+ virtual void setForeground(::java::awt::Color *) = 0;
+ virtual void setVisible(jboolean) = 0;
+ virtual void show() = 0;
+ virtual ::java::awt::GraphicsConfiguration * getGraphicsConfiguration() = 0;
+ virtual void setEventMask(jlong) = 0;
+ virtual jboolean isObscured() = 0;
+ virtual jboolean canDetermineObscurity() = 0;
+ virtual void coalescePaintEvent(::java::awt::event::PaintEvent *) = 0;
+ virtual void updateCursorImmediately() = 0;
+ virtual jboolean handlesWheelScrolling() = 0;
+ virtual ::java::awt::image::VolatileImage * createVolatileImage(jint, jint) = 0;
+ virtual void createBuffers(jint, ::java::awt::BufferCapabilities *) = 0;
+ virtual ::java::awt::Image * getBackBuffer() = 0;
+ virtual void flip(::java::awt::BufferCapabilities$FlipContents *) = 0;
+ virtual void destroyBuffers() = 0;
+ virtual ::java::awt::Rectangle * getBounds() = 0;
+ virtual void reparent(::java::awt::peer::ContainerPeer *) = 0;
+ virtual void setBounds(jint, jint, jint, jint, jint) = 0;
+ virtual jboolean isReparentSupported() = 0;
+ virtual void layout() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_awt_peer_ComponentPeer__
diff --git a/libjava/java/awt/peer/ContainerPeer.h b/libjava/java/awt/peer/ContainerPeer.h
new file mode 100644
index 0000000..6d6e9df
--- /dev/null
+++ b/libjava/java/awt/peer/ContainerPeer.h
@@ -0,0 +1,119 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_peer_ContainerPeer__
+#define __java_awt_peer_ContainerPeer__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class AWTEvent;
+ class BufferCapabilities;
+ class BufferCapabilities$FlipContents;
+ class Color;
+ class Component;
+ class Cursor;
+ class Dimension;
+ class Font;
+ class FontMetrics;
+ class Graphics;
+ class GraphicsConfiguration;
+ class Image;
+ class Insets;
+ class Point;
+ class Rectangle;
+ class Toolkit;
+ namespace event
+ {
+ class PaintEvent;
+ }
+ namespace image
+ {
+ class ColorModel;
+ class ImageObserver;
+ class ImageProducer;
+ class VolatileImage;
+ }
+ namespace peer
+ {
+ class ContainerPeer;
+ }
+ }
+ }
+}
+
+class java::awt::peer::ContainerPeer : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::awt::Insets * insets() = 0;
+ virtual ::java::awt::Insets * getInsets() = 0;
+ virtual void beginValidate() = 0;
+ virtual void endValidate() = 0;
+ virtual void beginLayout() = 0;
+ virtual void endLayout() = 0;
+ virtual jboolean isPaintPending() = 0;
+ virtual jboolean isRestackSupported() = 0;
+ virtual void cancelPendingPaint(jint, jint, jint, jint) = 0;
+ virtual void restack() = 0;
+ virtual jint checkImage(::java::awt::Image *, jint, jint, ::java::awt::image::ImageObserver *) = 0;
+ virtual ::java::awt::Image * createImage(::java::awt::image::ImageProducer *) = 0;
+ virtual ::java::awt::Image * createImage(jint, jint) = 0;
+ virtual void disable() = 0;
+ virtual void dispose() = 0;
+ virtual void enable() = 0;
+ virtual ::java::awt::image::ColorModel * getColorModel() = 0;
+ virtual ::java::awt::FontMetrics * getFontMetrics(::java::awt::Font *) = 0;
+ virtual ::java::awt::Graphics * getGraphics() = 0;
+ virtual ::java::awt::Point * getLocationOnScreen() = 0;
+ virtual ::java::awt::Dimension * getMinimumSize() = 0;
+ virtual ::java::awt::Dimension * getPreferredSize() = 0;
+ virtual ::java::awt::Toolkit * getToolkit() = 0;
+ virtual void handleEvent(::java::awt::AWTEvent *) = 0;
+ virtual void hide() = 0;
+ virtual jboolean isFocusTraversable() = 0;
+ virtual jboolean isFocusable() = 0;
+ virtual ::java::awt::Dimension * minimumSize() = 0;
+ virtual ::java::awt::Dimension * preferredSize() = 0;
+ virtual void paint(::java::awt::Graphics *) = 0;
+ virtual jboolean prepareImage(::java::awt::Image *, jint, jint, ::java::awt::image::ImageObserver *) = 0;
+ virtual void print(::java::awt::Graphics *) = 0;
+ virtual void repaint(jlong, jint, jint, jint, jint) = 0;
+ virtual void requestFocus() = 0;
+ virtual jboolean requestFocus(::java::awt::Component *, jboolean, jboolean, jlong) = 0;
+ virtual void reshape(jint, jint, jint, jint) = 0;
+ virtual void setBackground(::java::awt::Color *) = 0;
+ virtual void setBounds(jint, jint, jint, jint) = 0;
+ virtual void setCursor(::java::awt::Cursor *) = 0;
+ virtual void setEnabled(jboolean) = 0;
+ virtual void setFont(::java::awt::Font *) = 0;
+ virtual void setForeground(::java::awt::Color *) = 0;
+ virtual void setVisible(jboolean) = 0;
+ virtual void show() = 0;
+ virtual ::java::awt::GraphicsConfiguration * getGraphicsConfiguration() = 0;
+ virtual void setEventMask(jlong) = 0;
+ virtual jboolean isObscured() = 0;
+ virtual jboolean canDetermineObscurity() = 0;
+ virtual void coalescePaintEvent(::java::awt::event::PaintEvent *) = 0;
+ virtual void updateCursorImmediately() = 0;
+ virtual jboolean handlesWheelScrolling() = 0;
+ virtual ::java::awt::image::VolatileImage * createVolatileImage(jint, jint) = 0;
+ virtual void createBuffers(jint, ::java::awt::BufferCapabilities *) = 0;
+ virtual ::java::awt::Image * getBackBuffer() = 0;
+ virtual void flip(::java::awt::BufferCapabilities$FlipContents *) = 0;
+ virtual void destroyBuffers() = 0;
+ virtual ::java::awt::Rectangle * getBounds() = 0;
+ virtual void reparent(::java::awt::peer::ContainerPeer *) = 0;
+ virtual void setBounds(jint, jint, jint, jint, jint) = 0;
+ virtual jboolean isReparentSupported() = 0;
+ virtual void layout() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_awt_peer_ContainerPeer__
diff --git a/libjava/java/awt/peer/DialogPeer.h b/libjava/java/awt/peer/DialogPeer.h
new file mode 100644
index 0000000..2212ec9
--- /dev/null
+++ b/libjava/java/awt/peer/DialogPeer.h
@@ -0,0 +1,126 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_peer_DialogPeer__
+#define __java_awt_peer_DialogPeer__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class AWTEvent;
+ class BufferCapabilities;
+ class BufferCapabilities$FlipContents;
+ class Color;
+ class Component;
+ class Cursor;
+ class Dimension;
+ class Font;
+ class FontMetrics;
+ class Graphics;
+ class GraphicsConfiguration;
+ class Image;
+ class Insets;
+ class Point;
+ class Rectangle;
+ class Toolkit;
+ namespace event
+ {
+ class PaintEvent;
+ }
+ namespace image
+ {
+ class ColorModel;
+ class ImageObserver;
+ class ImageProducer;
+ class VolatileImage;
+ }
+ namespace peer
+ {
+ class ContainerPeer;
+ class DialogPeer;
+ }
+ }
+ }
+}
+
+class java::awt::peer::DialogPeer : public ::java::lang::Object
+{
+
+public:
+ virtual void setResizable(jboolean) = 0;
+ virtual void setTitle(::java::lang::String *) = 0;
+ virtual void toBack() = 0;
+ virtual void toFront() = 0;
+ virtual void updateAlwaysOnTop() = 0;
+ virtual jboolean requestWindowFocus() = 0;
+ virtual ::java::awt::Insets * insets() = 0;
+ virtual ::java::awt::Insets * getInsets() = 0;
+ virtual void beginValidate() = 0;
+ virtual void endValidate() = 0;
+ virtual void beginLayout() = 0;
+ virtual void endLayout() = 0;
+ virtual jboolean isPaintPending() = 0;
+ virtual jboolean isRestackSupported() = 0;
+ virtual void cancelPendingPaint(jint, jint, jint, jint) = 0;
+ virtual void restack() = 0;
+ virtual jint checkImage(::java::awt::Image *, jint, jint, ::java::awt::image::ImageObserver *) = 0;
+ virtual ::java::awt::Image * createImage(::java::awt::image::ImageProducer *) = 0;
+ virtual ::java::awt::Image * createImage(jint, jint) = 0;
+ virtual void disable() = 0;
+ virtual void dispose() = 0;
+ virtual void enable() = 0;
+ virtual ::java::awt::image::ColorModel * getColorModel() = 0;
+ virtual ::java::awt::FontMetrics * getFontMetrics(::java::awt::Font *) = 0;
+ virtual ::java::awt::Graphics * getGraphics() = 0;
+ virtual ::java::awt::Point * getLocationOnScreen() = 0;
+ virtual ::java::awt::Dimension * getMinimumSize() = 0;
+ virtual ::java::awt::Dimension * getPreferredSize() = 0;
+ virtual ::java::awt::Toolkit * getToolkit() = 0;
+ virtual void handleEvent(::java::awt::AWTEvent *) = 0;
+ virtual void hide() = 0;
+ virtual jboolean isFocusTraversable() = 0;
+ virtual jboolean isFocusable() = 0;
+ virtual ::java::awt::Dimension * minimumSize() = 0;
+ virtual ::java::awt::Dimension * preferredSize() = 0;
+ virtual void paint(::java::awt::Graphics *) = 0;
+ virtual jboolean prepareImage(::java::awt::Image *, jint, jint, ::java::awt::image::ImageObserver *) = 0;
+ virtual void print(::java::awt::Graphics *) = 0;
+ virtual void repaint(jlong, jint, jint, jint, jint) = 0;
+ virtual void requestFocus() = 0;
+ virtual jboolean requestFocus(::java::awt::Component *, jboolean, jboolean, jlong) = 0;
+ virtual void reshape(jint, jint, jint, jint) = 0;
+ virtual void setBackground(::java::awt::Color *) = 0;
+ virtual void setBounds(jint, jint, jint, jint) = 0;
+ virtual void setCursor(::java::awt::Cursor *) = 0;
+ virtual void setEnabled(jboolean) = 0;
+ virtual void setFont(::java::awt::Font *) = 0;
+ virtual void setForeground(::java::awt::Color *) = 0;
+ virtual void setVisible(jboolean) = 0;
+ virtual void show() = 0;
+ virtual ::java::awt::GraphicsConfiguration * getGraphicsConfiguration() = 0;
+ virtual void setEventMask(jlong) = 0;
+ virtual jboolean isObscured() = 0;
+ virtual jboolean canDetermineObscurity() = 0;
+ virtual void coalescePaintEvent(::java::awt::event::PaintEvent *) = 0;
+ virtual void updateCursorImmediately() = 0;
+ virtual jboolean handlesWheelScrolling() = 0;
+ virtual ::java::awt::image::VolatileImage * createVolatileImage(jint, jint) = 0;
+ virtual void createBuffers(jint, ::java::awt::BufferCapabilities *) = 0;
+ virtual ::java::awt::Image * getBackBuffer() = 0;
+ virtual void flip(::java::awt::BufferCapabilities$FlipContents *) = 0;
+ virtual void destroyBuffers() = 0;
+ virtual ::java::awt::Rectangle * getBounds() = 0;
+ virtual void reparent(::java::awt::peer::ContainerPeer *) = 0;
+ virtual void setBounds(jint, jint, jint, jint, jint) = 0;
+ virtual jboolean isReparentSupported() = 0;
+ virtual void layout() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_awt_peer_DialogPeer__
diff --git a/libjava/java/awt/peer/FileDialogPeer.h b/libjava/java/awt/peer/FileDialogPeer.h
new file mode 100644
index 0000000..b2419e4
--- /dev/null
+++ b/libjava/java/awt/peer/FileDialogPeer.h
@@ -0,0 +1,129 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_peer_FileDialogPeer__
+#define __java_awt_peer_FileDialogPeer__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class AWTEvent;
+ class BufferCapabilities;
+ class BufferCapabilities$FlipContents;
+ class Color;
+ class Component;
+ class Cursor;
+ class Dimension;
+ class Font;
+ class FontMetrics;
+ class Graphics;
+ class GraphicsConfiguration;
+ class Image;
+ class Insets;
+ class Point;
+ class Rectangle;
+ class Toolkit;
+ namespace event
+ {
+ class PaintEvent;
+ }
+ namespace image
+ {
+ class ColorModel;
+ class ImageObserver;
+ class ImageProducer;
+ class VolatileImage;
+ }
+ namespace peer
+ {
+ class ContainerPeer;
+ class FileDialogPeer;
+ }
+ }
+ }
+}
+
+class java::awt::peer::FileDialogPeer : public ::java::lang::Object
+{
+
+public:
+ virtual void setFile(::java::lang::String *) = 0;
+ virtual void setDirectory(::java::lang::String *) = 0;
+ virtual void setFilenameFilter(::java::io::FilenameFilter *) = 0;
+ virtual void setResizable(jboolean) = 0;
+ virtual void setTitle(::java::lang::String *) = 0;
+ virtual void toBack() = 0;
+ virtual void toFront() = 0;
+ virtual void updateAlwaysOnTop() = 0;
+ virtual jboolean requestWindowFocus() = 0;
+ virtual ::java::awt::Insets * insets() = 0;
+ virtual ::java::awt::Insets * getInsets() = 0;
+ virtual void beginValidate() = 0;
+ virtual void endValidate() = 0;
+ virtual void beginLayout() = 0;
+ virtual void endLayout() = 0;
+ virtual jboolean isPaintPending() = 0;
+ virtual jboolean isRestackSupported() = 0;
+ virtual void cancelPendingPaint(jint, jint, jint, jint) = 0;
+ virtual void restack() = 0;
+ virtual jint checkImage(::java::awt::Image *, jint, jint, ::java::awt::image::ImageObserver *) = 0;
+ virtual ::java::awt::Image * createImage(::java::awt::image::ImageProducer *) = 0;
+ virtual ::java::awt::Image * createImage(jint, jint) = 0;
+ virtual void disable() = 0;
+ virtual void dispose() = 0;
+ virtual void enable() = 0;
+ virtual ::java::awt::image::ColorModel * getColorModel() = 0;
+ virtual ::java::awt::FontMetrics * getFontMetrics(::java::awt::Font *) = 0;
+ virtual ::java::awt::Graphics * getGraphics() = 0;
+ virtual ::java::awt::Point * getLocationOnScreen() = 0;
+ virtual ::java::awt::Dimension * getMinimumSize() = 0;
+ virtual ::java::awt::Dimension * getPreferredSize() = 0;
+ virtual ::java::awt::Toolkit * getToolkit() = 0;
+ virtual void handleEvent(::java::awt::AWTEvent *) = 0;
+ virtual void hide() = 0;
+ virtual jboolean isFocusTraversable() = 0;
+ virtual jboolean isFocusable() = 0;
+ virtual ::java::awt::Dimension * minimumSize() = 0;
+ virtual ::java::awt::Dimension * preferredSize() = 0;
+ virtual void paint(::java::awt::Graphics *) = 0;
+ virtual jboolean prepareImage(::java::awt::Image *, jint, jint, ::java::awt::image::ImageObserver *) = 0;
+ virtual void print(::java::awt::Graphics *) = 0;
+ virtual void repaint(jlong, jint, jint, jint, jint) = 0;
+ virtual void requestFocus() = 0;
+ virtual jboolean requestFocus(::java::awt::Component *, jboolean, jboolean, jlong) = 0;
+ virtual void reshape(jint, jint, jint, jint) = 0;
+ virtual void setBackground(::java::awt::Color *) = 0;
+ virtual void setBounds(jint, jint, jint, jint) = 0;
+ virtual void setCursor(::java::awt::Cursor *) = 0;
+ virtual void setEnabled(jboolean) = 0;
+ virtual void setFont(::java::awt::Font *) = 0;
+ virtual void setForeground(::java::awt::Color *) = 0;
+ virtual void setVisible(jboolean) = 0;
+ virtual void show() = 0;
+ virtual ::java::awt::GraphicsConfiguration * getGraphicsConfiguration() = 0;
+ virtual void setEventMask(jlong) = 0;
+ virtual jboolean isObscured() = 0;
+ virtual jboolean canDetermineObscurity() = 0;
+ virtual void coalescePaintEvent(::java::awt::event::PaintEvent *) = 0;
+ virtual void updateCursorImmediately() = 0;
+ virtual jboolean handlesWheelScrolling() = 0;
+ virtual ::java::awt::image::VolatileImage * createVolatileImage(jint, jint) = 0;
+ virtual void createBuffers(jint, ::java::awt::BufferCapabilities *) = 0;
+ virtual ::java::awt::Image * getBackBuffer() = 0;
+ virtual void flip(::java::awt::BufferCapabilities$FlipContents *) = 0;
+ virtual void destroyBuffers() = 0;
+ virtual ::java::awt::Rectangle * getBounds() = 0;
+ virtual void reparent(::java::awt::peer::ContainerPeer *) = 0;
+ virtual void setBounds(jint, jint, jint, jint, jint) = 0;
+ virtual jboolean isReparentSupported() = 0;
+ virtual void layout() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_awt_peer_FileDialogPeer__
diff --git a/libjava/java/awt/peer/FontPeer.h b/libjava/java/awt/peer/FontPeer.h
new file mode 100644
index 0000000..00f6f8a
--- /dev/null
+++ b/libjava/java/awt/peer/FontPeer.h
@@ -0,0 +1,31 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_peer_FontPeer__
+#define __java_awt_peer_FontPeer__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace peer
+ {
+ class FontPeer;
+ }
+ }
+ }
+}
+
+class java::awt::peer::FontPeer : public ::java::lang::Object
+{
+
+public:
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_awt_peer_FontPeer__
diff --git a/libjava/java/awt/peer/FramePeer.h b/libjava/java/awt/peer/FramePeer.h
new file mode 100644
index 0000000..a80ca55
--- /dev/null
+++ b/libjava/java/awt/peer/FramePeer.h
@@ -0,0 +1,133 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_peer_FramePeer__
+#define __java_awt_peer_FramePeer__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class AWTEvent;
+ class BufferCapabilities;
+ class BufferCapabilities$FlipContents;
+ class Color;
+ class Component;
+ class Cursor;
+ class Dimension;
+ class Font;
+ class FontMetrics;
+ class Graphics;
+ class GraphicsConfiguration;
+ class Image;
+ class Insets;
+ class MenuBar;
+ class Point;
+ class Rectangle;
+ class Toolkit;
+ namespace event
+ {
+ class PaintEvent;
+ }
+ namespace image
+ {
+ class ColorModel;
+ class ImageObserver;
+ class ImageProducer;
+ class VolatileImage;
+ }
+ namespace peer
+ {
+ class ContainerPeer;
+ class FramePeer;
+ }
+ }
+ }
+}
+
+class java::awt::peer::FramePeer : public ::java::lang::Object
+{
+
+public:
+ virtual void setIconImage(::java::awt::Image *) = 0;
+ virtual void setMenuBar(::java::awt::MenuBar *) = 0;
+ virtual void setResizable(jboolean) = 0;
+ virtual void setTitle(::java::lang::String *) = 0;
+ virtual jint getState() = 0;
+ virtual void setState(jint) = 0;
+ virtual void setMaximizedBounds(::java::awt::Rectangle *) = 0;
+ virtual jboolean isRestackSupported() = 0;
+ virtual void setBoundsPrivate(jint, jint, jint, jint) = 0;
+ virtual void toBack() = 0;
+ virtual void toFront() = 0;
+ virtual void updateAlwaysOnTop() = 0;
+ virtual jboolean requestWindowFocus() = 0;
+ virtual ::java::awt::Insets * insets() = 0;
+ virtual ::java::awt::Insets * getInsets() = 0;
+ virtual void beginValidate() = 0;
+ virtual void endValidate() = 0;
+ virtual void beginLayout() = 0;
+ virtual void endLayout() = 0;
+ virtual jboolean isPaintPending() = 0;
+ virtual void cancelPendingPaint(jint, jint, jint, jint) = 0;
+ virtual void restack() = 0;
+ virtual jint checkImage(::java::awt::Image *, jint, jint, ::java::awt::image::ImageObserver *) = 0;
+ virtual ::java::awt::Image * createImage(::java::awt::image::ImageProducer *) = 0;
+ virtual ::java::awt::Image * createImage(jint, jint) = 0;
+ virtual void disable() = 0;
+ virtual void dispose() = 0;
+ virtual void enable() = 0;
+ virtual ::java::awt::image::ColorModel * getColorModel() = 0;
+ virtual ::java::awt::FontMetrics * getFontMetrics(::java::awt::Font *) = 0;
+ virtual ::java::awt::Graphics * getGraphics() = 0;
+ virtual ::java::awt::Point * getLocationOnScreen() = 0;
+ virtual ::java::awt::Dimension * getMinimumSize() = 0;
+ virtual ::java::awt::Dimension * getPreferredSize() = 0;
+ virtual ::java::awt::Toolkit * getToolkit() = 0;
+ virtual void handleEvent(::java::awt::AWTEvent *) = 0;
+ virtual void hide() = 0;
+ virtual jboolean isFocusTraversable() = 0;
+ virtual jboolean isFocusable() = 0;
+ virtual ::java::awt::Dimension * minimumSize() = 0;
+ virtual ::java::awt::Dimension * preferredSize() = 0;
+ virtual void paint(::java::awt::Graphics *) = 0;
+ virtual jboolean prepareImage(::java::awt::Image *, jint, jint, ::java::awt::image::ImageObserver *) = 0;
+ virtual void print(::java::awt::Graphics *) = 0;
+ virtual void repaint(jlong, jint, jint, jint, jint) = 0;
+ virtual void requestFocus() = 0;
+ virtual jboolean requestFocus(::java::awt::Component *, jboolean, jboolean, jlong) = 0;
+ virtual void reshape(jint, jint, jint, jint) = 0;
+ virtual void setBackground(::java::awt::Color *) = 0;
+ virtual void setBounds(jint, jint, jint, jint) = 0;
+ virtual void setCursor(::java::awt::Cursor *) = 0;
+ virtual void setEnabled(jboolean) = 0;
+ virtual void setFont(::java::awt::Font *) = 0;
+ virtual void setForeground(::java::awt::Color *) = 0;
+ virtual void setVisible(jboolean) = 0;
+ virtual void show() = 0;
+ virtual ::java::awt::GraphicsConfiguration * getGraphicsConfiguration() = 0;
+ virtual void setEventMask(jlong) = 0;
+ virtual jboolean isObscured() = 0;
+ virtual jboolean canDetermineObscurity() = 0;
+ virtual void coalescePaintEvent(::java::awt::event::PaintEvent *) = 0;
+ virtual void updateCursorImmediately() = 0;
+ virtual jboolean handlesWheelScrolling() = 0;
+ virtual ::java::awt::image::VolatileImage * createVolatileImage(jint, jint) = 0;
+ virtual void createBuffers(jint, ::java::awt::BufferCapabilities *) = 0;
+ virtual ::java::awt::Image * getBackBuffer() = 0;
+ virtual void flip(::java::awt::BufferCapabilities$FlipContents *) = 0;
+ virtual void destroyBuffers() = 0;
+ virtual ::java::awt::Rectangle * getBounds() = 0;
+ virtual void reparent(::java::awt::peer::ContainerPeer *) = 0;
+ virtual void setBounds(jint, jint, jint, jint, jint) = 0;
+ virtual jboolean isReparentSupported() = 0;
+ virtual void layout() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_awt_peer_FramePeer__
diff --git a/libjava/java/awt/peer/LabelPeer.h b/libjava/java/awt/peer/LabelPeer.h
new file mode 100644
index 0000000..426772d
--- /dev/null
+++ b/libjava/java/awt/peer/LabelPeer.h
@@ -0,0 +1,111 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_peer_LabelPeer__
+#define __java_awt_peer_LabelPeer__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class AWTEvent;
+ class BufferCapabilities;
+ class BufferCapabilities$FlipContents;
+ class Color;
+ class Component;
+ class Cursor;
+ class Dimension;
+ class Font;
+ class FontMetrics;
+ class Graphics;
+ class GraphicsConfiguration;
+ class Image;
+ class Point;
+ class Rectangle;
+ class Toolkit;
+ namespace event
+ {
+ class PaintEvent;
+ }
+ namespace image
+ {
+ class ColorModel;
+ class ImageObserver;
+ class ImageProducer;
+ class VolatileImage;
+ }
+ namespace peer
+ {
+ class ContainerPeer;
+ class LabelPeer;
+ }
+ }
+ }
+}
+
+class java::awt::peer::LabelPeer : public ::java::lang::Object
+{
+
+public:
+ virtual void setAlignment(jint) = 0;
+ virtual void setText(::java::lang::String *) = 0;
+ virtual jint checkImage(::java::awt::Image *, jint, jint, ::java::awt::image::ImageObserver *) = 0;
+ virtual ::java::awt::Image * createImage(::java::awt::image::ImageProducer *) = 0;
+ virtual ::java::awt::Image * createImage(jint, jint) = 0;
+ virtual void disable() = 0;
+ virtual void dispose() = 0;
+ virtual void enable() = 0;
+ virtual ::java::awt::image::ColorModel * getColorModel() = 0;
+ virtual ::java::awt::FontMetrics * getFontMetrics(::java::awt::Font *) = 0;
+ virtual ::java::awt::Graphics * getGraphics() = 0;
+ virtual ::java::awt::Point * getLocationOnScreen() = 0;
+ virtual ::java::awt::Dimension * getMinimumSize() = 0;
+ virtual ::java::awt::Dimension * getPreferredSize() = 0;
+ virtual ::java::awt::Toolkit * getToolkit() = 0;
+ virtual void handleEvent(::java::awt::AWTEvent *) = 0;
+ virtual void hide() = 0;
+ virtual jboolean isFocusTraversable() = 0;
+ virtual jboolean isFocusable() = 0;
+ virtual ::java::awt::Dimension * minimumSize() = 0;
+ virtual ::java::awt::Dimension * preferredSize() = 0;
+ virtual void paint(::java::awt::Graphics *) = 0;
+ virtual jboolean prepareImage(::java::awt::Image *, jint, jint, ::java::awt::image::ImageObserver *) = 0;
+ virtual void print(::java::awt::Graphics *) = 0;
+ virtual void repaint(jlong, jint, jint, jint, jint) = 0;
+ virtual void requestFocus() = 0;
+ virtual jboolean requestFocus(::java::awt::Component *, jboolean, jboolean, jlong) = 0;
+ virtual void reshape(jint, jint, jint, jint) = 0;
+ virtual void setBackground(::java::awt::Color *) = 0;
+ virtual void setBounds(jint, jint, jint, jint) = 0;
+ virtual void setCursor(::java::awt::Cursor *) = 0;
+ virtual void setEnabled(jboolean) = 0;
+ virtual void setFont(::java::awt::Font *) = 0;
+ virtual void setForeground(::java::awt::Color *) = 0;
+ virtual void setVisible(jboolean) = 0;
+ virtual void show() = 0;
+ virtual ::java::awt::GraphicsConfiguration * getGraphicsConfiguration() = 0;
+ virtual void setEventMask(jlong) = 0;
+ virtual jboolean isObscured() = 0;
+ virtual jboolean canDetermineObscurity() = 0;
+ virtual void coalescePaintEvent(::java::awt::event::PaintEvent *) = 0;
+ virtual void updateCursorImmediately() = 0;
+ virtual jboolean handlesWheelScrolling() = 0;
+ virtual ::java::awt::image::VolatileImage * createVolatileImage(jint, jint) = 0;
+ virtual void createBuffers(jint, ::java::awt::BufferCapabilities *) = 0;
+ virtual ::java::awt::Image * getBackBuffer() = 0;
+ virtual void flip(::java::awt::BufferCapabilities$FlipContents *) = 0;
+ virtual void destroyBuffers() = 0;
+ virtual ::java::awt::Rectangle * getBounds() = 0;
+ virtual void reparent(::java::awt::peer::ContainerPeer *) = 0;
+ virtual void setBounds(jint, jint, jint, jint, jint) = 0;
+ virtual jboolean isReparentSupported() = 0;
+ virtual void layout() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_awt_peer_LabelPeer__
diff --git a/libjava/java/awt/peer/LightweightPeer.h b/libjava/java/awt/peer/LightweightPeer.h
new file mode 100644
index 0000000..9c743d9
--- /dev/null
+++ b/libjava/java/awt/peer/LightweightPeer.h
@@ -0,0 +1,109 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_peer_LightweightPeer__
+#define __java_awt_peer_LightweightPeer__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class AWTEvent;
+ class BufferCapabilities;
+ class BufferCapabilities$FlipContents;
+ class Color;
+ class Component;
+ class Cursor;
+ class Dimension;
+ class Font;
+ class FontMetrics;
+ class Graphics;
+ class GraphicsConfiguration;
+ class Image;
+ class Point;
+ class Rectangle;
+ class Toolkit;
+ namespace event
+ {
+ class PaintEvent;
+ }
+ namespace image
+ {
+ class ColorModel;
+ class ImageObserver;
+ class ImageProducer;
+ class VolatileImage;
+ }
+ namespace peer
+ {
+ class ContainerPeer;
+ class LightweightPeer;
+ }
+ }
+ }
+}
+
+class java::awt::peer::LightweightPeer : public ::java::lang::Object
+{
+
+public:
+ virtual jint checkImage(::java::awt::Image *, jint, jint, ::java::awt::image::ImageObserver *) = 0;
+ virtual ::java::awt::Image * createImage(::java::awt::image::ImageProducer *) = 0;
+ virtual ::java::awt::Image * createImage(jint, jint) = 0;
+ virtual void disable() = 0;
+ virtual void dispose() = 0;
+ virtual void enable() = 0;
+ virtual ::java::awt::image::ColorModel * getColorModel() = 0;
+ virtual ::java::awt::FontMetrics * getFontMetrics(::java::awt::Font *) = 0;
+ virtual ::java::awt::Graphics * getGraphics() = 0;
+ virtual ::java::awt::Point * getLocationOnScreen() = 0;
+ virtual ::java::awt::Dimension * getMinimumSize() = 0;
+ virtual ::java::awt::Dimension * getPreferredSize() = 0;
+ virtual ::java::awt::Toolkit * getToolkit() = 0;
+ virtual void handleEvent(::java::awt::AWTEvent *) = 0;
+ virtual void hide() = 0;
+ virtual jboolean isFocusTraversable() = 0;
+ virtual jboolean isFocusable() = 0;
+ virtual ::java::awt::Dimension * minimumSize() = 0;
+ virtual ::java::awt::Dimension * preferredSize() = 0;
+ virtual void paint(::java::awt::Graphics *) = 0;
+ virtual jboolean prepareImage(::java::awt::Image *, jint, jint, ::java::awt::image::ImageObserver *) = 0;
+ virtual void print(::java::awt::Graphics *) = 0;
+ virtual void repaint(jlong, jint, jint, jint, jint) = 0;
+ virtual void requestFocus() = 0;
+ virtual jboolean requestFocus(::java::awt::Component *, jboolean, jboolean, jlong) = 0;
+ virtual void reshape(jint, jint, jint, jint) = 0;
+ virtual void setBackground(::java::awt::Color *) = 0;
+ virtual void setBounds(jint, jint, jint, jint) = 0;
+ virtual void setCursor(::java::awt::Cursor *) = 0;
+ virtual void setEnabled(jboolean) = 0;
+ virtual void setFont(::java::awt::Font *) = 0;
+ virtual void setForeground(::java::awt::Color *) = 0;
+ virtual void setVisible(jboolean) = 0;
+ virtual void show() = 0;
+ virtual ::java::awt::GraphicsConfiguration * getGraphicsConfiguration() = 0;
+ virtual void setEventMask(jlong) = 0;
+ virtual jboolean isObscured() = 0;
+ virtual jboolean canDetermineObscurity() = 0;
+ virtual void coalescePaintEvent(::java::awt::event::PaintEvent *) = 0;
+ virtual void updateCursorImmediately() = 0;
+ virtual jboolean handlesWheelScrolling() = 0;
+ virtual ::java::awt::image::VolatileImage * createVolatileImage(jint, jint) = 0;
+ virtual void createBuffers(jint, ::java::awt::BufferCapabilities *) = 0;
+ virtual ::java::awt::Image * getBackBuffer() = 0;
+ virtual void flip(::java::awt::BufferCapabilities$FlipContents *) = 0;
+ virtual void destroyBuffers() = 0;
+ virtual ::java::awt::Rectangle * getBounds() = 0;
+ virtual void reparent(::java::awt::peer::ContainerPeer *) = 0;
+ virtual void setBounds(jint, jint, jint, jint, jint) = 0;
+ virtual jboolean isReparentSupported() = 0;
+ virtual void layout() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_awt_peer_LightweightPeer__
diff --git a/libjava/java/awt/peer/ListPeer.h b/libjava/java/awt/peer/ListPeer.h
new file mode 100644
index 0000000..3dd6bad
--- /dev/null
+++ b/libjava/java/awt/peer/ListPeer.h
@@ -0,0 +1,126 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_peer_ListPeer__
+#define __java_awt_peer_ListPeer__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class AWTEvent;
+ class BufferCapabilities;
+ class BufferCapabilities$FlipContents;
+ class Color;
+ class Component;
+ class Cursor;
+ class Dimension;
+ class Font;
+ class FontMetrics;
+ class Graphics;
+ class GraphicsConfiguration;
+ class Image;
+ class Point;
+ class Rectangle;
+ class Toolkit;
+ namespace event
+ {
+ class PaintEvent;
+ }
+ namespace image
+ {
+ class ColorModel;
+ class ImageObserver;
+ class ImageProducer;
+ class VolatileImage;
+ }
+ namespace peer
+ {
+ class ContainerPeer;
+ class ListPeer;
+ }
+ }
+ }
+}
+
+class java::awt::peer::ListPeer : public ::java::lang::Object
+{
+
+public:
+ virtual void add(::java::lang::String *, jint) = 0;
+ virtual void addItem(::java::lang::String *, jint) = 0;
+ virtual void clear() = 0;
+ virtual void delItems(jint, jint) = 0;
+ virtual void deselect(jint) = 0;
+ virtual JArray< jint > * getSelectedIndexes() = 0;
+ virtual void makeVisible(jint) = 0;
+ virtual ::java::awt::Dimension * minimumSize(jint) = 0;
+ virtual ::java::awt::Dimension * preferredSize(jint) = 0;
+ virtual void removeAll() = 0;
+ virtual void select(jint) = 0;
+ virtual void setMultipleMode(jboolean) = 0;
+ virtual void setMultipleSelections(jboolean) = 0;
+ virtual ::java::awt::Dimension * getPreferredSize(jint) = 0;
+ virtual ::java::awt::Dimension * getMinimumSize(jint) = 0;
+ virtual jint checkImage(::java::awt::Image *, jint, jint, ::java::awt::image::ImageObserver *) = 0;
+ virtual ::java::awt::Image * createImage(::java::awt::image::ImageProducer *) = 0;
+ virtual ::java::awt::Image * createImage(jint, jint) = 0;
+ virtual void disable() = 0;
+ virtual void dispose() = 0;
+ virtual void enable() = 0;
+ virtual ::java::awt::image::ColorModel * getColorModel() = 0;
+ virtual ::java::awt::FontMetrics * getFontMetrics(::java::awt::Font *) = 0;
+ virtual ::java::awt::Graphics * getGraphics() = 0;
+ virtual ::java::awt::Point * getLocationOnScreen() = 0;
+ virtual ::java::awt::Dimension * getMinimumSize() = 0;
+ virtual ::java::awt::Dimension * getPreferredSize() = 0;
+ virtual ::java::awt::Toolkit * getToolkit() = 0;
+ virtual void handleEvent(::java::awt::AWTEvent *) = 0;
+ virtual void hide() = 0;
+ virtual jboolean isFocusTraversable() = 0;
+ virtual jboolean isFocusable() = 0;
+ virtual ::java::awt::Dimension * minimumSize() = 0;
+ virtual ::java::awt::Dimension * preferredSize() = 0;
+ virtual void paint(::java::awt::Graphics *) = 0;
+ virtual jboolean prepareImage(::java::awt::Image *, jint, jint, ::java::awt::image::ImageObserver *) = 0;
+ virtual void print(::java::awt::Graphics *) = 0;
+ virtual void repaint(jlong, jint, jint, jint, jint) = 0;
+ virtual void requestFocus() = 0;
+ virtual jboolean requestFocus(::java::awt::Component *, jboolean, jboolean, jlong) = 0;
+ virtual void reshape(jint, jint, jint, jint) = 0;
+ virtual void setBackground(::java::awt::Color *) = 0;
+ virtual void setBounds(jint, jint, jint, jint) = 0;
+ virtual void setCursor(::java::awt::Cursor *) = 0;
+ virtual void setEnabled(jboolean) = 0;
+ virtual void setFont(::java::awt::Font *) = 0;
+ virtual void setForeground(::java::awt::Color *) = 0;
+ virtual void setVisible(jboolean) = 0;
+ virtual void show() = 0;
+ virtual ::java::awt::GraphicsConfiguration * getGraphicsConfiguration() = 0;
+ virtual void setEventMask(jlong) = 0;
+ virtual jboolean isObscured() = 0;
+ virtual jboolean canDetermineObscurity() = 0;
+ virtual void coalescePaintEvent(::java::awt::event::PaintEvent *) = 0;
+ virtual void updateCursorImmediately() = 0;
+ virtual jboolean handlesWheelScrolling() = 0;
+ virtual ::java::awt::image::VolatileImage * createVolatileImage(jint, jint) = 0;
+ virtual void createBuffers(jint, ::java::awt::BufferCapabilities *) = 0;
+ virtual ::java::awt::Image * getBackBuffer() = 0;
+ virtual void flip(::java::awt::BufferCapabilities$FlipContents *) = 0;
+ virtual void destroyBuffers() = 0;
+ virtual ::java::awt::Rectangle * getBounds() = 0;
+ virtual void reparent(::java::awt::peer::ContainerPeer *) = 0;
+ virtual void setBounds(jint, jint, jint, jint, jint) = 0;
+ virtual jboolean isReparentSupported() = 0;
+ virtual void layout() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_awt_peer_ListPeer__
diff --git a/libjava/java/awt/peer/MenuBarPeer.h b/libjava/java/awt/peer/MenuBarPeer.h
new file mode 100644
index 0000000..e7d84c0
--- /dev/null
+++ b/libjava/java/awt/peer/MenuBarPeer.h
@@ -0,0 +1,38 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_peer_MenuBarPeer__
+#define __java_awt_peer_MenuBarPeer__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Font;
+ class Menu;
+ namespace peer
+ {
+ class MenuBarPeer;
+ }
+ }
+ }
+}
+
+class java::awt::peer::MenuBarPeer : public ::java::lang::Object
+{
+
+public:
+ virtual void addMenu(::java::awt::Menu *) = 0;
+ virtual void addHelpMenu(::java::awt::Menu *) = 0;
+ virtual void delMenu(jint) = 0;
+ virtual void dispose() = 0;
+ virtual void setFont(::java::awt::Font *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_awt_peer_MenuBarPeer__
diff --git a/libjava/java/awt/peer/MenuComponentPeer.h b/libjava/java/awt/peer/MenuComponentPeer.h
new file mode 100644
index 0000000..a0a1ea1
--- /dev/null
+++ b/libjava/java/awt/peer/MenuComponentPeer.h
@@ -0,0 +1,34 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_peer_MenuComponentPeer__
+#define __java_awt_peer_MenuComponentPeer__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Font;
+ namespace peer
+ {
+ class MenuComponentPeer;
+ }
+ }
+ }
+}
+
+class java::awt::peer::MenuComponentPeer : public ::java::lang::Object
+{
+
+public:
+ virtual void dispose() = 0;
+ virtual void setFont(::java::awt::Font *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_awt_peer_MenuComponentPeer__
diff --git a/libjava/java/awt/peer/MenuItemPeer.h b/libjava/java/awt/peer/MenuItemPeer.h
new file mode 100644
index 0000000..8c9a9ee
--- /dev/null
+++ b/libjava/java/awt/peer/MenuItemPeer.h
@@ -0,0 +1,38 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_peer_MenuItemPeer__
+#define __java_awt_peer_MenuItemPeer__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Font;
+ namespace peer
+ {
+ class MenuItemPeer;
+ }
+ }
+ }
+}
+
+class java::awt::peer::MenuItemPeer : public ::java::lang::Object
+{
+
+public:
+ virtual void disable() = 0;
+ virtual void enable() = 0;
+ virtual void setEnabled(jboolean) = 0;
+ virtual void setLabel(::java::lang::String *) = 0;
+ virtual void dispose() = 0;
+ virtual void setFont(::java::awt::Font *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_awt_peer_MenuItemPeer__
diff --git a/libjava/java/awt/peer/MenuPeer.h b/libjava/java/awt/peer/MenuPeer.h
new file mode 100644
index 0000000..4c813b1
--- /dev/null
+++ b/libjava/java/awt/peer/MenuPeer.h
@@ -0,0 +1,42 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_peer_MenuPeer__
+#define __java_awt_peer_MenuPeer__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Font;
+ class MenuItem;
+ namespace peer
+ {
+ class MenuPeer;
+ }
+ }
+ }
+}
+
+class java::awt::peer::MenuPeer : public ::java::lang::Object
+{
+
+public:
+ virtual void addItem(::java::awt::MenuItem *) = 0;
+ virtual void addSeparator() = 0;
+ virtual void delItem(jint) = 0;
+ virtual void disable() = 0;
+ virtual void enable() = 0;
+ virtual void setEnabled(jboolean) = 0;
+ virtual void setLabel(::java::lang::String *) = 0;
+ virtual void dispose() = 0;
+ virtual void setFont(::java::awt::Font *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_awt_peer_MenuPeer__
diff --git a/libjava/java/awt/peer/MouseInfoPeer.h b/libjava/java/awt/peer/MouseInfoPeer.h
new file mode 100644
index 0000000..18f0c59
--- /dev/null
+++ b/libjava/java/awt/peer/MouseInfoPeer.h
@@ -0,0 +1,35 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_peer_MouseInfoPeer__
+#define __java_awt_peer_MouseInfoPeer__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Point;
+ class Window;
+ namespace peer
+ {
+ class MouseInfoPeer;
+ }
+ }
+ }
+}
+
+class java::awt::peer::MouseInfoPeer : public ::java::lang::Object
+{
+
+public:
+ virtual jint fillPointWithCoords(::java::awt::Point *) = 0;
+ virtual jboolean isWindowUnderMouse(::java::awt::Window *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_awt_peer_MouseInfoPeer__
diff --git a/libjava/java/awt/peer/PanelPeer.h b/libjava/java/awt/peer/PanelPeer.h
new file mode 100644
index 0000000..57e4ff7
--- /dev/null
+++ b/libjava/java/awt/peer/PanelPeer.h
@@ -0,0 +1,120 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_peer_PanelPeer__
+#define __java_awt_peer_PanelPeer__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class AWTEvent;
+ class BufferCapabilities;
+ class BufferCapabilities$FlipContents;
+ class Color;
+ class Component;
+ class Cursor;
+ class Dimension;
+ class Font;
+ class FontMetrics;
+ class Graphics;
+ class GraphicsConfiguration;
+ class Image;
+ class Insets;
+ class Point;
+ class Rectangle;
+ class Toolkit;
+ namespace event
+ {
+ class PaintEvent;
+ }
+ namespace image
+ {
+ class ColorModel;
+ class ImageObserver;
+ class ImageProducer;
+ class VolatileImage;
+ }
+ namespace peer
+ {
+ class ContainerPeer;
+ class PanelPeer;
+ }
+ }
+ }
+}
+
+class java::awt::peer::PanelPeer : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::awt::Insets * insets() = 0;
+ virtual ::java::awt::Insets * getInsets() = 0;
+ virtual void beginValidate() = 0;
+ virtual void endValidate() = 0;
+ virtual void beginLayout() = 0;
+ virtual void endLayout() = 0;
+ virtual jboolean isPaintPending() = 0;
+ virtual jboolean isRestackSupported() = 0;
+ virtual void cancelPendingPaint(jint, jint, jint, jint) = 0;
+ virtual void restack() = 0;
+ virtual jint checkImage(::java::awt::Image *, jint, jint, ::java::awt::image::ImageObserver *) = 0;
+ virtual ::java::awt::Image * createImage(::java::awt::image::ImageProducer *) = 0;
+ virtual ::java::awt::Image * createImage(jint, jint) = 0;
+ virtual void disable() = 0;
+ virtual void dispose() = 0;
+ virtual void enable() = 0;
+ virtual ::java::awt::image::ColorModel * getColorModel() = 0;
+ virtual ::java::awt::FontMetrics * getFontMetrics(::java::awt::Font *) = 0;
+ virtual ::java::awt::Graphics * getGraphics() = 0;
+ virtual ::java::awt::Point * getLocationOnScreen() = 0;
+ virtual ::java::awt::Dimension * getMinimumSize() = 0;
+ virtual ::java::awt::Dimension * getPreferredSize() = 0;
+ virtual ::java::awt::Toolkit * getToolkit() = 0;
+ virtual void handleEvent(::java::awt::AWTEvent *) = 0;
+ virtual void hide() = 0;
+ virtual jboolean isFocusTraversable() = 0;
+ virtual jboolean isFocusable() = 0;
+ virtual ::java::awt::Dimension * minimumSize() = 0;
+ virtual ::java::awt::Dimension * preferredSize() = 0;
+ virtual void paint(::java::awt::Graphics *) = 0;
+ virtual jboolean prepareImage(::java::awt::Image *, jint, jint, ::java::awt::image::ImageObserver *) = 0;
+ virtual void print(::java::awt::Graphics *) = 0;
+ virtual void repaint(jlong, jint, jint, jint, jint) = 0;
+ virtual void requestFocus() = 0;
+ virtual jboolean requestFocus(::java::awt::Component *, jboolean, jboolean, jlong) = 0;
+ virtual void reshape(jint, jint, jint, jint) = 0;
+ virtual void setBackground(::java::awt::Color *) = 0;
+ virtual void setBounds(jint, jint, jint, jint) = 0;
+ virtual void setCursor(::java::awt::Cursor *) = 0;
+ virtual void setEnabled(jboolean) = 0;
+ virtual void setFont(::java::awt::Font *) = 0;
+ virtual void setForeground(::java::awt::Color *) = 0;
+ virtual void setVisible(jboolean) = 0;
+ virtual void show() = 0;
+ virtual ::java::awt::GraphicsConfiguration * getGraphicsConfiguration() = 0;
+ virtual void setEventMask(jlong) = 0;
+ virtual jboolean isObscured() = 0;
+ virtual jboolean canDetermineObscurity() = 0;
+ virtual void coalescePaintEvent(::java::awt::event::PaintEvent *) = 0;
+ virtual void updateCursorImmediately() = 0;
+ virtual jboolean handlesWheelScrolling() = 0;
+ virtual ::java::awt::image::VolatileImage * createVolatileImage(jint, jint) = 0;
+ virtual void createBuffers(jint, ::java::awt::BufferCapabilities *) = 0;
+ virtual ::java::awt::Image * getBackBuffer() = 0;
+ virtual void flip(::java::awt::BufferCapabilities$FlipContents *) = 0;
+ virtual void destroyBuffers() = 0;
+ virtual ::java::awt::Rectangle * getBounds() = 0;
+ virtual void reparent(::java::awt::peer::ContainerPeer *) = 0;
+ virtual void setBounds(jint, jint, jint, jint, jint) = 0;
+ virtual jboolean isReparentSupported() = 0;
+ virtual void layout() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_awt_peer_PanelPeer__
diff --git a/libjava/java/awt/peer/PopupMenuPeer.h b/libjava/java/awt/peer/PopupMenuPeer.h
new file mode 100644
index 0000000..e8bdd57
--- /dev/null
+++ b/libjava/java/awt/peer/PopupMenuPeer.h
@@ -0,0 +1,46 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_peer_PopupMenuPeer__
+#define __java_awt_peer_PopupMenuPeer__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Component;
+ class Event;
+ class Font;
+ class MenuItem;
+ namespace peer
+ {
+ class PopupMenuPeer;
+ }
+ }
+ }
+}
+
+class java::awt::peer::PopupMenuPeer : public ::java::lang::Object
+{
+
+public:
+ virtual void show(::java::awt::Component *, jint, jint) = 0;
+ virtual void show(::java::awt::Event *) = 0;
+ virtual void addItem(::java::awt::MenuItem *) = 0;
+ virtual void addSeparator() = 0;
+ virtual void delItem(jint) = 0;
+ virtual void disable() = 0;
+ virtual void enable() = 0;
+ virtual void setEnabled(jboolean) = 0;
+ virtual void setLabel(::java::lang::String *) = 0;
+ virtual void dispose() = 0;
+ virtual void setFont(::java::awt::Font *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_awt_peer_PopupMenuPeer__
diff --git a/libjava/java/awt/peer/RobotPeer.h b/libjava/java/awt/peer/RobotPeer.h
new file mode 100644
index 0000000..f0f810a
--- /dev/null
+++ b/libjava/java/awt/peer/RobotPeer.h
@@ -0,0 +1,42 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_peer_RobotPeer__
+#define __java_awt_peer_RobotPeer__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Rectangle;
+ namespace peer
+ {
+ class RobotPeer;
+ }
+ }
+ }
+}
+
+class java::awt::peer::RobotPeer : public ::java::lang::Object
+{
+
+public:
+ virtual void mouseMove(jint, jint) = 0;
+ virtual void mousePress(jint) = 0;
+ virtual void mouseRelease(jint) = 0;
+ virtual void mouseWheel(jint) = 0;
+ virtual void keyPress(jint) = 0;
+ virtual void keyRelease(jint) = 0;
+ virtual jint getRGBPixel(jint, jint) = 0;
+ virtual JArray< jint > * getRGBPixels(::java::awt::Rectangle *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_awt_peer_RobotPeer__
diff --git a/libjava/java/awt/peer/ScrollPanePeer.h b/libjava/java/awt/peer/ScrollPanePeer.h
new file mode 100644
index 0000000..f6387a5
--- /dev/null
+++ b/libjava/java/awt/peer/ScrollPanePeer.h
@@ -0,0 +1,127 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_peer_ScrollPanePeer__
+#define __java_awt_peer_ScrollPanePeer__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class AWTEvent;
+ class Adjustable;
+ class BufferCapabilities;
+ class BufferCapabilities$FlipContents;
+ class Color;
+ class Component;
+ class Cursor;
+ class Dimension;
+ class Font;
+ class FontMetrics;
+ class Graphics;
+ class GraphicsConfiguration;
+ class Image;
+ class Insets;
+ class Point;
+ class Rectangle;
+ class Toolkit;
+ namespace event
+ {
+ class PaintEvent;
+ }
+ namespace image
+ {
+ class ColorModel;
+ class ImageObserver;
+ class ImageProducer;
+ class VolatileImage;
+ }
+ namespace peer
+ {
+ class ContainerPeer;
+ class ScrollPanePeer;
+ }
+ }
+ }
+}
+
+class java::awt::peer::ScrollPanePeer : public ::java::lang::Object
+{
+
+public:
+ virtual jint getHScrollbarHeight() = 0;
+ virtual jint getVScrollbarWidth() = 0;
+ virtual void setScrollPosition(jint, jint) = 0;
+ virtual void childResized(jint, jint) = 0;
+ virtual void setUnitIncrement(::java::awt::Adjustable *, jint) = 0;
+ virtual void setValue(::java::awt::Adjustable *, jint) = 0;
+ virtual ::java::awt::Insets * insets() = 0;
+ virtual ::java::awt::Insets * getInsets() = 0;
+ virtual void beginValidate() = 0;
+ virtual void endValidate() = 0;
+ virtual void beginLayout() = 0;
+ virtual void endLayout() = 0;
+ virtual jboolean isPaintPending() = 0;
+ virtual jboolean isRestackSupported() = 0;
+ virtual void cancelPendingPaint(jint, jint, jint, jint) = 0;
+ virtual void restack() = 0;
+ virtual jint checkImage(::java::awt::Image *, jint, jint, ::java::awt::image::ImageObserver *) = 0;
+ virtual ::java::awt::Image * createImage(::java::awt::image::ImageProducer *) = 0;
+ virtual ::java::awt::Image * createImage(jint, jint) = 0;
+ virtual void disable() = 0;
+ virtual void dispose() = 0;
+ virtual void enable() = 0;
+ virtual ::java::awt::image::ColorModel * getColorModel() = 0;
+ virtual ::java::awt::FontMetrics * getFontMetrics(::java::awt::Font *) = 0;
+ virtual ::java::awt::Graphics * getGraphics() = 0;
+ virtual ::java::awt::Point * getLocationOnScreen() = 0;
+ virtual ::java::awt::Dimension * getMinimumSize() = 0;
+ virtual ::java::awt::Dimension * getPreferredSize() = 0;
+ virtual ::java::awt::Toolkit * getToolkit() = 0;
+ virtual void handleEvent(::java::awt::AWTEvent *) = 0;
+ virtual void hide() = 0;
+ virtual jboolean isFocusTraversable() = 0;
+ virtual jboolean isFocusable() = 0;
+ virtual ::java::awt::Dimension * minimumSize() = 0;
+ virtual ::java::awt::Dimension * preferredSize() = 0;
+ virtual void paint(::java::awt::Graphics *) = 0;
+ virtual jboolean prepareImage(::java::awt::Image *, jint, jint, ::java::awt::image::ImageObserver *) = 0;
+ virtual void print(::java::awt::Graphics *) = 0;
+ virtual void repaint(jlong, jint, jint, jint, jint) = 0;
+ virtual void requestFocus() = 0;
+ virtual jboolean requestFocus(::java::awt::Component *, jboolean, jboolean, jlong) = 0;
+ virtual void reshape(jint, jint, jint, jint) = 0;
+ virtual void setBackground(::java::awt::Color *) = 0;
+ virtual void setBounds(jint, jint, jint, jint) = 0;
+ virtual void setCursor(::java::awt::Cursor *) = 0;
+ virtual void setEnabled(jboolean) = 0;
+ virtual void setFont(::java::awt::Font *) = 0;
+ virtual void setForeground(::java::awt::Color *) = 0;
+ virtual void setVisible(jboolean) = 0;
+ virtual void show() = 0;
+ virtual ::java::awt::GraphicsConfiguration * getGraphicsConfiguration() = 0;
+ virtual void setEventMask(jlong) = 0;
+ virtual jboolean isObscured() = 0;
+ virtual jboolean canDetermineObscurity() = 0;
+ virtual void coalescePaintEvent(::java::awt::event::PaintEvent *) = 0;
+ virtual void updateCursorImmediately() = 0;
+ virtual jboolean handlesWheelScrolling() = 0;
+ virtual ::java::awt::image::VolatileImage * createVolatileImage(jint, jint) = 0;
+ virtual void createBuffers(jint, ::java::awt::BufferCapabilities *) = 0;
+ virtual ::java::awt::Image * getBackBuffer() = 0;
+ virtual void flip(::java::awt::BufferCapabilities$FlipContents *) = 0;
+ virtual void destroyBuffers() = 0;
+ virtual ::java::awt::Rectangle * getBounds() = 0;
+ virtual void reparent(::java::awt::peer::ContainerPeer *) = 0;
+ virtual void setBounds(jint, jint, jint, jint, jint) = 0;
+ virtual jboolean isReparentSupported() = 0;
+ virtual void layout() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_awt_peer_ScrollPanePeer__
diff --git a/libjava/java/awt/peer/ScrollbarPeer.h b/libjava/java/awt/peer/ScrollbarPeer.h
new file mode 100644
index 0000000..9e0c7c7
--- /dev/null
+++ b/libjava/java/awt/peer/ScrollbarPeer.h
@@ -0,0 +1,112 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_peer_ScrollbarPeer__
+#define __java_awt_peer_ScrollbarPeer__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class AWTEvent;
+ class BufferCapabilities;
+ class BufferCapabilities$FlipContents;
+ class Color;
+ class Component;
+ class Cursor;
+ class Dimension;
+ class Font;
+ class FontMetrics;
+ class Graphics;
+ class GraphicsConfiguration;
+ class Image;
+ class Point;
+ class Rectangle;
+ class Toolkit;
+ namespace event
+ {
+ class PaintEvent;
+ }
+ namespace image
+ {
+ class ColorModel;
+ class ImageObserver;
+ class ImageProducer;
+ class VolatileImage;
+ }
+ namespace peer
+ {
+ class ContainerPeer;
+ class ScrollbarPeer;
+ }
+ }
+ }
+}
+
+class java::awt::peer::ScrollbarPeer : public ::java::lang::Object
+{
+
+public:
+ virtual void setLineIncrement(jint) = 0;
+ virtual void setPageIncrement(jint) = 0;
+ virtual void setValues(jint, jint, jint, jint) = 0;
+ virtual jint checkImage(::java::awt::Image *, jint, jint, ::java::awt::image::ImageObserver *) = 0;
+ virtual ::java::awt::Image * createImage(::java::awt::image::ImageProducer *) = 0;
+ virtual ::java::awt::Image * createImage(jint, jint) = 0;
+ virtual void disable() = 0;
+ virtual void dispose() = 0;
+ virtual void enable() = 0;
+ virtual ::java::awt::image::ColorModel * getColorModel() = 0;
+ virtual ::java::awt::FontMetrics * getFontMetrics(::java::awt::Font *) = 0;
+ virtual ::java::awt::Graphics * getGraphics() = 0;
+ virtual ::java::awt::Point * getLocationOnScreen() = 0;
+ virtual ::java::awt::Dimension * getMinimumSize() = 0;
+ virtual ::java::awt::Dimension * getPreferredSize() = 0;
+ virtual ::java::awt::Toolkit * getToolkit() = 0;
+ virtual void handleEvent(::java::awt::AWTEvent *) = 0;
+ virtual void hide() = 0;
+ virtual jboolean isFocusTraversable() = 0;
+ virtual jboolean isFocusable() = 0;
+ virtual ::java::awt::Dimension * minimumSize() = 0;
+ virtual ::java::awt::Dimension * preferredSize() = 0;
+ virtual void paint(::java::awt::Graphics *) = 0;
+ virtual jboolean prepareImage(::java::awt::Image *, jint, jint, ::java::awt::image::ImageObserver *) = 0;
+ virtual void print(::java::awt::Graphics *) = 0;
+ virtual void repaint(jlong, jint, jint, jint, jint) = 0;
+ virtual void requestFocus() = 0;
+ virtual jboolean requestFocus(::java::awt::Component *, jboolean, jboolean, jlong) = 0;
+ virtual void reshape(jint, jint, jint, jint) = 0;
+ virtual void setBackground(::java::awt::Color *) = 0;
+ virtual void setBounds(jint, jint, jint, jint) = 0;
+ virtual void setCursor(::java::awt::Cursor *) = 0;
+ virtual void setEnabled(jboolean) = 0;
+ virtual void setFont(::java::awt::Font *) = 0;
+ virtual void setForeground(::java::awt::Color *) = 0;
+ virtual void setVisible(jboolean) = 0;
+ virtual void show() = 0;
+ virtual ::java::awt::GraphicsConfiguration * getGraphicsConfiguration() = 0;
+ virtual void setEventMask(jlong) = 0;
+ virtual jboolean isObscured() = 0;
+ virtual jboolean canDetermineObscurity() = 0;
+ virtual void coalescePaintEvent(::java::awt::event::PaintEvent *) = 0;
+ virtual void updateCursorImmediately() = 0;
+ virtual jboolean handlesWheelScrolling() = 0;
+ virtual ::java::awt::image::VolatileImage * createVolatileImage(jint, jint) = 0;
+ virtual void createBuffers(jint, ::java::awt::BufferCapabilities *) = 0;
+ virtual ::java::awt::Image * getBackBuffer() = 0;
+ virtual void flip(::java::awt::BufferCapabilities$FlipContents *) = 0;
+ virtual void destroyBuffers() = 0;
+ virtual ::java::awt::Rectangle * getBounds() = 0;
+ virtual void reparent(::java::awt::peer::ContainerPeer *) = 0;
+ virtual void setBounds(jint, jint, jint, jint, jint) = 0;
+ virtual jboolean isReparentSupported() = 0;
+ virtual void layout() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_awt_peer_ScrollbarPeer__
diff --git a/libjava/java/awt/peer/TextAreaPeer.h b/libjava/java/awt/peer/TextAreaPeer.h
new file mode 100644
index 0000000..1954909
--- /dev/null
+++ b/libjava/java/awt/peer/TextAreaPeer.h
@@ -0,0 +1,133 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_peer_TextAreaPeer__
+#define __java_awt_peer_TextAreaPeer__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class AWTEvent;
+ class BufferCapabilities;
+ class BufferCapabilities$FlipContents;
+ class Color;
+ class Component;
+ class Cursor;
+ class Dimension;
+ class Font;
+ class FontMetrics;
+ class Graphics;
+ class GraphicsConfiguration;
+ class Image;
+ class Point;
+ class Rectangle;
+ class Toolkit;
+ namespace event
+ {
+ class PaintEvent;
+ }
+ namespace im
+ {
+ class InputMethodRequests;
+ }
+ namespace image
+ {
+ class ColorModel;
+ class ImageObserver;
+ class ImageProducer;
+ class VolatileImage;
+ }
+ namespace peer
+ {
+ class ContainerPeer;
+ class TextAreaPeer;
+ }
+ }
+ }
+}
+
+class java::awt::peer::TextAreaPeer : public ::java::lang::Object
+{
+
+public:
+ virtual void insert(::java::lang::String *, jint) = 0;
+ virtual void insertText(::java::lang::String *, jint) = 0;
+ virtual ::java::awt::Dimension * minimumSize(jint, jint) = 0;
+ virtual ::java::awt::Dimension * getMinimumSize(jint, jint) = 0;
+ virtual ::java::awt::Dimension * preferredSize(jint, jint) = 0;
+ virtual ::java::awt::Dimension * getPreferredSize(jint, jint) = 0;
+ virtual void replaceRange(::java::lang::String *, jint, jint) = 0;
+ virtual void replaceText(::java::lang::String *, jint, jint) = 0;
+ virtual jint getSelectionEnd() = 0;
+ virtual jint getSelectionStart() = 0;
+ virtual ::java::lang::String * getText() = 0;
+ virtual void setText(::java::lang::String *) = 0;
+ virtual void select(jint, jint) = 0;
+ virtual void setEditable(jboolean) = 0;
+ virtual jint getCaretPosition() = 0;
+ virtual void setCaretPosition(jint) = 0;
+ virtual jint getIndexAtPoint(jint, jint) = 0;
+ virtual ::java::awt::Rectangle * getCharacterBounds(jint) = 0;
+ virtual jlong filterEvents(jlong) = 0;
+ virtual ::java::awt::im::InputMethodRequests * getInputMethodRequests() = 0;
+ virtual jint checkImage(::java::awt::Image *, jint, jint, ::java::awt::image::ImageObserver *) = 0;
+ virtual ::java::awt::Image * createImage(::java::awt::image::ImageProducer *) = 0;
+ virtual ::java::awt::Image * createImage(jint, jint) = 0;
+ virtual void disable() = 0;
+ virtual void dispose() = 0;
+ virtual void enable() = 0;
+ virtual ::java::awt::image::ColorModel * getColorModel() = 0;
+ virtual ::java::awt::FontMetrics * getFontMetrics(::java::awt::Font *) = 0;
+ virtual ::java::awt::Graphics * getGraphics() = 0;
+ virtual ::java::awt::Point * getLocationOnScreen() = 0;
+ virtual ::java::awt::Dimension * getMinimumSize() = 0;
+ virtual ::java::awt::Dimension * getPreferredSize() = 0;
+ virtual ::java::awt::Toolkit * getToolkit() = 0;
+ virtual void handleEvent(::java::awt::AWTEvent *) = 0;
+ virtual void hide() = 0;
+ virtual jboolean isFocusTraversable() = 0;
+ virtual jboolean isFocusable() = 0;
+ virtual ::java::awt::Dimension * minimumSize() = 0;
+ virtual ::java::awt::Dimension * preferredSize() = 0;
+ virtual void paint(::java::awt::Graphics *) = 0;
+ virtual jboolean prepareImage(::java::awt::Image *, jint, jint, ::java::awt::image::ImageObserver *) = 0;
+ virtual void print(::java::awt::Graphics *) = 0;
+ virtual void repaint(jlong, jint, jint, jint, jint) = 0;
+ virtual void requestFocus() = 0;
+ virtual jboolean requestFocus(::java::awt::Component *, jboolean, jboolean, jlong) = 0;
+ virtual void reshape(jint, jint, jint, jint) = 0;
+ virtual void setBackground(::java::awt::Color *) = 0;
+ virtual void setBounds(jint, jint, jint, jint) = 0;
+ virtual void setCursor(::java::awt::Cursor *) = 0;
+ virtual void setEnabled(jboolean) = 0;
+ virtual void setFont(::java::awt::Font *) = 0;
+ virtual void setForeground(::java::awt::Color *) = 0;
+ virtual void setVisible(jboolean) = 0;
+ virtual void show() = 0;
+ virtual ::java::awt::GraphicsConfiguration * getGraphicsConfiguration() = 0;
+ virtual void setEventMask(jlong) = 0;
+ virtual jboolean isObscured() = 0;
+ virtual jboolean canDetermineObscurity() = 0;
+ virtual void coalescePaintEvent(::java::awt::event::PaintEvent *) = 0;
+ virtual void updateCursorImmediately() = 0;
+ virtual jboolean handlesWheelScrolling() = 0;
+ virtual ::java::awt::image::VolatileImage * createVolatileImage(jint, jint) = 0;
+ virtual void createBuffers(jint, ::java::awt::BufferCapabilities *) = 0;
+ virtual ::java::awt::Image * getBackBuffer() = 0;
+ virtual void flip(::java::awt::BufferCapabilities$FlipContents *) = 0;
+ virtual void destroyBuffers() = 0;
+ virtual ::java::awt::Rectangle * getBounds() = 0;
+ virtual void reparent(::java::awt::peer::ContainerPeer *) = 0;
+ virtual void setBounds(jint, jint, jint, jint, jint) = 0;
+ virtual jboolean isReparentSupported() = 0;
+ virtual void layout() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_awt_peer_TextAreaPeer__
diff --git a/libjava/java/awt/peer/TextComponentPeer.h b/libjava/java/awt/peer/TextComponentPeer.h
new file mode 100644
index 0000000..37e0310
--- /dev/null
+++ b/libjava/java/awt/peer/TextComponentPeer.h
@@ -0,0 +1,125 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_peer_TextComponentPeer__
+#define __java_awt_peer_TextComponentPeer__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class AWTEvent;
+ class BufferCapabilities;
+ class BufferCapabilities$FlipContents;
+ class Color;
+ class Component;
+ class Cursor;
+ class Dimension;
+ class Font;
+ class FontMetrics;
+ class Graphics;
+ class GraphicsConfiguration;
+ class Image;
+ class Point;
+ class Rectangle;
+ class Toolkit;
+ namespace event
+ {
+ class PaintEvent;
+ }
+ namespace im
+ {
+ class InputMethodRequests;
+ }
+ namespace image
+ {
+ class ColorModel;
+ class ImageObserver;
+ class ImageProducer;
+ class VolatileImage;
+ }
+ namespace peer
+ {
+ class ContainerPeer;
+ class TextComponentPeer;
+ }
+ }
+ }
+}
+
+class java::awt::peer::TextComponentPeer : public ::java::lang::Object
+{
+
+public:
+ virtual jint getSelectionEnd() = 0;
+ virtual jint getSelectionStart() = 0;
+ virtual ::java::lang::String * getText() = 0;
+ virtual void setText(::java::lang::String *) = 0;
+ virtual void select(jint, jint) = 0;
+ virtual void setEditable(jboolean) = 0;
+ virtual jint getCaretPosition() = 0;
+ virtual void setCaretPosition(jint) = 0;
+ virtual jint getIndexAtPoint(jint, jint) = 0;
+ virtual ::java::awt::Rectangle * getCharacterBounds(jint) = 0;
+ virtual jlong filterEvents(jlong) = 0;
+ virtual ::java::awt::im::InputMethodRequests * getInputMethodRequests() = 0;
+ virtual jint checkImage(::java::awt::Image *, jint, jint, ::java::awt::image::ImageObserver *) = 0;
+ virtual ::java::awt::Image * createImage(::java::awt::image::ImageProducer *) = 0;
+ virtual ::java::awt::Image * createImage(jint, jint) = 0;
+ virtual void disable() = 0;
+ virtual void dispose() = 0;
+ virtual void enable() = 0;
+ virtual ::java::awt::image::ColorModel * getColorModel() = 0;
+ virtual ::java::awt::FontMetrics * getFontMetrics(::java::awt::Font *) = 0;
+ virtual ::java::awt::Graphics * getGraphics() = 0;
+ virtual ::java::awt::Point * getLocationOnScreen() = 0;
+ virtual ::java::awt::Dimension * getMinimumSize() = 0;
+ virtual ::java::awt::Dimension * getPreferredSize() = 0;
+ virtual ::java::awt::Toolkit * getToolkit() = 0;
+ virtual void handleEvent(::java::awt::AWTEvent *) = 0;
+ virtual void hide() = 0;
+ virtual jboolean isFocusTraversable() = 0;
+ virtual jboolean isFocusable() = 0;
+ virtual ::java::awt::Dimension * minimumSize() = 0;
+ virtual ::java::awt::Dimension * preferredSize() = 0;
+ virtual void paint(::java::awt::Graphics *) = 0;
+ virtual jboolean prepareImage(::java::awt::Image *, jint, jint, ::java::awt::image::ImageObserver *) = 0;
+ virtual void print(::java::awt::Graphics *) = 0;
+ virtual void repaint(jlong, jint, jint, jint, jint) = 0;
+ virtual void requestFocus() = 0;
+ virtual jboolean requestFocus(::java::awt::Component *, jboolean, jboolean, jlong) = 0;
+ virtual void reshape(jint, jint, jint, jint) = 0;
+ virtual void setBackground(::java::awt::Color *) = 0;
+ virtual void setBounds(jint, jint, jint, jint) = 0;
+ virtual void setCursor(::java::awt::Cursor *) = 0;
+ virtual void setEnabled(jboolean) = 0;
+ virtual void setFont(::java::awt::Font *) = 0;
+ virtual void setForeground(::java::awt::Color *) = 0;
+ virtual void setVisible(jboolean) = 0;
+ virtual void show() = 0;
+ virtual ::java::awt::GraphicsConfiguration * getGraphicsConfiguration() = 0;
+ virtual void setEventMask(jlong) = 0;
+ virtual jboolean isObscured() = 0;
+ virtual jboolean canDetermineObscurity() = 0;
+ virtual void coalescePaintEvent(::java::awt::event::PaintEvent *) = 0;
+ virtual void updateCursorImmediately() = 0;
+ virtual jboolean handlesWheelScrolling() = 0;
+ virtual ::java::awt::image::VolatileImage * createVolatileImage(jint, jint) = 0;
+ virtual void createBuffers(jint, ::java::awt::BufferCapabilities *) = 0;
+ virtual ::java::awt::Image * getBackBuffer() = 0;
+ virtual void flip(::java::awt::BufferCapabilities$FlipContents *) = 0;
+ virtual void destroyBuffers() = 0;
+ virtual ::java::awt::Rectangle * getBounds() = 0;
+ virtual void reparent(::java::awt::peer::ContainerPeer *) = 0;
+ virtual void setBounds(jint, jint, jint, jint, jint) = 0;
+ virtual jboolean isReparentSupported() = 0;
+ virtual void layout() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_awt_peer_TextComponentPeer__
diff --git a/libjava/java/awt/peer/TextFieldPeer.h b/libjava/java/awt/peer/TextFieldPeer.h
new file mode 100644
index 0000000..a371892
--- /dev/null
+++ b/libjava/java/awt/peer/TextFieldPeer.h
@@ -0,0 +1,131 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_peer_TextFieldPeer__
+#define __java_awt_peer_TextFieldPeer__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class AWTEvent;
+ class BufferCapabilities;
+ class BufferCapabilities$FlipContents;
+ class Color;
+ class Component;
+ class Cursor;
+ class Dimension;
+ class Font;
+ class FontMetrics;
+ class Graphics;
+ class GraphicsConfiguration;
+ class Image;
+ class Point;
+ class Rectangle;
+ class Toolkit;
+ namespace event
+ {
+ class PaintEvent;
+ }
+ namespace im
+ {
+ class InputMethodRequests;
+ }
+ namespace image
+ {
+ class ColorModel;
+ class ImageObserver;
+ class ImageProducer;
+ class VolatileImage;
+ }
+ namespace peer
+ {
+ class ContainerPeer;
+ class TextFieldPeer;
+ }
+ }
+ }
+}
+
+class java::awt::peer::TextFieldPeer : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::awt::Dimension * minimumSize(jint) = 0;
+ virtual ::java::awt::Dimension * preferredSize(jint) = 0;
+ virtual ::java::awt::Dimension * getMinimumSize(jint) = 0;
+ virtual ::java::awt::Dimension * getPreferredSize(jint) = 0;
+ virtual void setEchoChar(jchar) = 0;
+ virtual void setEchoCharacter(jchar) = 0;
+ virtual jint getSelectionEnd() = 0;
+ virtual jint getSelectionStart() = 0;
+ virtual ::java::lang::String * getText() = 0;
+ virtual void setText(::java::lang::String *) = 0;
+ virtual void select(jint, jint) = 0;
+ virtual void setEditable(jboolean) = 0;
+ virtual jint getCaretPosition() = 0;
+ virtual void setCaretPosition(jint) = 0;
+ virtual jint getIndexAtPoint(jint, jint) = 0;
+ virtual ::java::awt::Rectangle * getCharacterBounds(jint) = 0;
+ virtual jlong filterEvents(jlong) = 0;
+ virtual ::java::awt::im::InputMethodRequests * getInputMethodRequests() = 0;
+ virtual jint checkImage(::java::awt::Image *, jint, jint, ::java::awt::image::ImageObserver *) = 0;
+ virtual ::java::awt::Image * createImage(::java::awt::image::ImageProducer *) = 0;
+ virtual ::java::awt::Image * createImage(jint, jint) = 0;
+ virtual void disable() = 0;
+ virtual void dispose() = 0;
+ virtual void enable() = 0;
+ virtual ::java::awt::image::ColorModel * getColorModel() = 0;
+ virtual ::java::awt::FontMetrics * getFontMetrics(::java::awt::Font *) = 0;
+ virtual ::java::awt::Graphics * getGraphics() = 0;
+ virtual ::java::awt::Point * getLocationOnScreen() = 0;
+ virtual ::java::awt::Dimension * getMinimumSize() = 0;
+ virtual ::java::awt::Dimension * getPreferredSize() = 0;
+ virtual ::java::awt::Toolkit * getToolkit() = 0;
+ virtual void handleEvent(::java::awt::AWTEvent *) = 0;
+ virtual void hide() = 0;
+ virtual jboolean isFocusTraversable() = 0;
+ virtual jboolean isFocusable() = 0;
+ virtual ::java::awt::Dimension * minimumSize() = 0;
+ virtual ::java::awt::Dimension * preferredSize() = 0;
+ virtual void paint(::java::awt::Graphics *) = 0;
+ virtual jboolean prepareImage(::java::awt::Image *, jint, jint, ::java::awt::image::ImageObserver *) = 0;
+ virtual void print(::java::awt::Graphics *) = 0;
+ virtual void repaint(jlong, jint, jint, jint, jint) = 0;
+ virtual void requestFocus() = 0;
+ virtual jboolean requestFocus(::java::awt::Component *, jboolean, jboolean, jlong) = 0;
+ virtual void reshape(jint, jint, jint, jint) = 0;
+ virtual void setBackground(::java::awt::Color *) = 0;
+ virtual void setBounds(jint, jint, jint, jint) = 0;
+ virtual void setCursor(::java::awt::Cursor *) = 0;
+ virtual void setEnabled(jboolean) = 0;
+ virtual void setFont(::java::awt::Font *) = 0;
+ virtual void setForeground(::java::awt::Color *) = 0;
+ virtual void setVisible(jboolean) = 0;
+ virtual void show() = 0;
+ virtual ::java::awt::GraphicsConfiguration * getGraphicsConfiguration() = 0;
+ virtual void setEventMask(jlong) = 0;
+ virtual jboolean isObscured() = 0;
+ virtual jboolean canDetermineObscurity() = 0;
+ virtual void coalescePaintEvent(::java::awt::event::PaintEvent *) = 0;
+ virtual void updateCursorImmediately() = 0;
+ virtual jboolean handlesWheelScrolling() = 0;
+ virtual ::java::awt::image::VolatileImage * createVolatileImage(jint, jint) = 0;
+ virtual void createBuffers(jint, ::java::awt::BufferCapabilities *) = 0;
+ virtual ::java::awt::Image * getBackBuffer() = 0;
+ virtual void flip(::java::awt::BufferCapabilities$FlipContents *) = 0;
+ virtual void destroyBuffers() = 0;
+ virtual ::java::awt::Rectangle * getBounds() = 0;
+ virtual void reparent(::java::awt::peer::ContainerPeer *) = 0;
+ virtual void setBounds(jint, jint, jint, jint, jint) = 0;
+ virtual jboolean isReparentSupported() = 0;
+ virtual void layout() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_awt_peer_TextFieldPeer__
diff --git a/libjava/java/awt/peer/WindowPeer.h b/libjava/java/awt/peer/WindowPeer.h
new file mode 100644
index 0000000..c900a1c
--- /dev/null
+++ b/libjava/java/awt/peer/WindowPeer.h
@@ -0,0 +1,124 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_peer_WindowPeer__
+#define __java_awt_peer_WindowPeer__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class AWTEvent;
+ class BufferCapabilities;
+ class BufferCapabilities$FlipContents;
+ class Color;
+ class Component;
+ class Cursor;
+ class Dimension;
+ class Font;
+ class FontMetrics;
+ class Graphics;
+ class GraphicsConfiguration;
+ class Image;
+ class Insets;
+ class Point;
+ class Rectangle;
+ class Toolkit;
+ namespace event
+ {
+ class PaintEvent;
+ }
+ namespace image
+ {
+ class ColorModel;
+ class ImageObserver;
+ class ImageProducer;
+ class VolatileImage;
+ }
+ namespace peer
+ {
+ class ContainerPeer;
+ class WindowPeer;
+ }
+ }
+ }
+}
+
+class java::awt::peer::WindowPeer : public ::java::lang::Object
+{
+
+public:
+ virtual void toBack() = 0;
+ virtual void toFront() = 0;
+ virtual void updateAlwaysOnTop() = 0;
+ virtual jboolean requestWindowFocus() = 0;
+ virtual ::java::awt::Insets * insets() = 0;
+ virtual ::java::awt::Insets * getInsets() = 0;
+ virtual void beginValidate() = 0;
+ virtual void endValidate() = 0;
+ virtual void beginLayout() = 0;
+ virtual void endLayout() = 0;
+ virtual jboolean isPaintPending() = 0;
+ virtual jboolean isRestackSupported() = 0;
+ virtual void cancelPendingPaint(jint, jint, jint, jint) = 0;
+ virtual void restack() = 0;
+ virtual jint checkImage(::java::awt::Image *, jint, jint, ::java::awt::image::ImageObserver *) = 0;
+ virtual ::java::awt::Image * createImage(::java::awt::image::ImageProducer *) = 0;
+ virtual ::java::awt::Image * createImage(jint, jint) = 0;
+ virtual void disable() = 0;
+ virtual void dispose() = 0;
+ virtual void enable() = 0;
+ virtual ::java::awt::image::ColorModel * getColorModel() = 0;
+ virtual ::java::awt::FontMetrics * getFontMetrics(::java::awt::Font *) = 0;
+ virtual ::java::awt::Graphics * getGraphics() = 0;
+ virtual ::java::awt::Point * getLocationOnScreen() = 0;
+ virtual ::java::awt::Dimension * getMinimumSize() = 0;
+ virtual ::java::awt::Dimension * getPreferredSize() = 0;
+ virtual ::java::awt::Toolkit * getToolkit() = 0;
+ virtual void handleEvent(::java::awt::AWTEvent *) = 0;
+ virtual void hide() = 0;
+ virtual jboolean isFocusTraversable() = 0;
+ virtual jboolean isFocusable() = 0;
+ virtual ::java::awt::Dimension * minimumSize() = 0;
+ virtual ::java::awt::Dimension * preferredSize() = 0;
+ virtual void paint(::java::awt::Graphics *) = 0;
+ virtual jboolean prepareImage(::java::awt::Image *, jint, jint, ::java::awt::image::ImageObserver *) = 0;
+ virtual void print(::java::awt::Graphics *) = 0;
+ virtual void repaint(jlong, jint, jint, jint, jint) = 0;
+ virtual void requestFocus() = 0;
+ virtual jboolean requestFocus(::java::awt::Component *, jboolean, jboolean, jlong) = 0;
+ virtual void reshape(jint, jint, jint, jint) = 0;
+ virtual void setBackground(::java::awt::Color *) = 0;
+ virtual void setBounds(jint, jint, jint, jint) = 0;
+ virtual void setCursor(::java::awt::Cursor *) = 0;
+ virtual void setEnabled(jboolean) = 0;
+ virtual void setFont(::java::awt::Font *) = 0;
+ virtual void setForeground(::java::awt::Color *) = 0;
+ virtual void setVisible(jboolean) = 0;
+ virtual void show() = 0;
+ virtual ::java::awt::GraphicsConfiguration * getGraphicsConfiguration() = 0;
+ virtual void setEventMask(jlong) = 0;
+ virtual jboolean isObscured() = 0;
+ virtual jboolean canDetermineObscurity() = 0;
+ virtual void coalescePaintEvent(::java::awt::event::PaintEvent *) = 0;
+ virtual void updateCursorImmediately() = 0;
+ virtual jboolean handlesWheelScrolling() = 0;
+ virtual ::java::awt::image::VolatileImage * createVolatileImage(jint, jint) = 0;
+ virtual void createBuffers(jint, ::java::awt::BufferCapabilities *) = 0;
+ virtual ::java::awt::Image * getBackBuffer() = 0;
+ virtual void flip(::java::awt::BufferCapabilities$FlipContents *) = 0;
+ virtual void destroyBuffers() = 0;
+ virtual ::java::awt::Rectangle * getBounds() = 0;
+ virtual void reparent(::java::awt::peer::ContainerPeer *) = 0;
+ virtual void setBounds(jint, jint, jint, jint, jint) = 0;
+ virtual jboolean isReparentSupported() = 0;
+ virtual void layout() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_awt_peer_WindowPeer__
diff --git a/libjava/java/awt/print/Book.h b/libjava/java/awt/print/Book.h
new file mode 100644
index 0000000..cda2861
--- /dev/null
+++ b/libjava/java/awt/print/Book.h
@@ -0,0 +1,44 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_print_Book__
+#define __java_awt_print_Book__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace print
+ {
+ class Book;
+ class PageFormat;
+ class Printable;
+ }
+ }
+ }
+}
+
+class java::awt::print::Book : public ::java::lang::Object
+{
+
+public:
+ Book();
+ virtual jint getNumberOfPages();
+ virtual ::java::awt::print::PageFormat * getPageFormat(jint);
+ virtual ::java::awt::print::Printable * getPrintable(jint);
+ virtual void append(::java::awt::print::Printable *, ::java::awt::print::PageFormat *);
+ virtual void append(::java::awt::print::Printable *, ::java::awt::print::PageFormat *, jint);
+ virtual void setPage(jint, ::java::awt::print::Printable *, ::java::awt::print::PageFormat *);
+public: // actually package-private
+ ::java::util::Vector * __attribute__((aligned(__alignof__( ::java::lang::Object)))) printables;
+ ::java::util::Vector * page_formats;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_print_Book__
diff --git a/libjava/java/awt/print/NoPrinterJob.h b/libjava/java/awt/print/NoPrinterJob.h
new file mode 100644
index 0000000..aac0af3
--- /dev/null
+++ b/libjava/java/awt/print/NoPrinterJob.h
@@ -0,0 +1,51 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_print_NoPrinterJob__
+#define __java_awt_print_NoPrinterJob__
+
+#pragma interface
+
+#include <java/awt/print/PrinterJob.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace print
+ {
+ class NoPrinterJob;
+ class PageFormat;
+ class Pageable;
+ class Printable;
+ }
+ }
+ }
+}
+
+class java::awt::print::NoPrinterJob : public ::java::awt::print::PrinterJob
+{
+
+public: // actually package-private
+ NoPrinterJob();
+public:
+ virtual jint getCopies();
+ virtual void setCopies(jint);
+ virtual ::java::lang::String * getJobName();
+ virtual void setJobName(::java::lang::String *);
+ virtual ::java::lang::String * getUserName();
+ virtual void cancel();
+ virtual jboolean isCancelled();
+ virtual ::java::awt::print::PageFormat * defaultPage(::java::awt::print::PageFormat *);
+ virtual ::java::awt::print::PageFormat * pageDialog(::java::awt::print::PageFormat *);
+ virtual void print();
+ virtual jboolean printDialog();
+ virtual void setPageable(::java::awt::print::Pageable *);
+ virtual void setPrintable(::java::awt::print::Printable *);
+ virtual void setPrintable(::java::awt::print::Printable *, ::java::awt::print::PageFormat *);
+ virtual ::java::awt::print::PageFormat * validatePage(::java::awt::print::PageFormat *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_print_NoPrinterJob__
diff --git a/libjava/java/awt/print/PageFormat.h b/libjava/java/awt/print/PageFormat.h
new file mode 100644
index 0000000..0f4af7b
--- /dev/null
+++ b/libjava/java/awt/print/PageFormat.h
@@ -0,0 +1,54 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_print_PageFormat__
+#define __java_awt_print_PageFormat__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace print
+ {
+ class PageFormat;
+ class Paper;
+ }
+ }
+ }
+}
+
+class java::awt::print::PageFormat : public ::java::lang::Object
+{
+
+public:
+ PageFormat();
+ virtual jdouble getWidth();
+ virtual jdouble getHeight();
+ virtual jdouble getImageableX();
+ virtual jdouble getImageableY();
+ virtual jdouble getImageableWidth();
+ virtual jdouble getImageableHeight();
+ virtual ::java::awt::print::Paper * getPaper();
+ virtual void setPaper(::java::awt::print::Paper *);
+ virtual jint getOrientation();
+ virtual void setOrientation(jint);
+ virtual JArray< jdouble > * getMatrix();
+ virtual ::java::lang::Object * clone();
+ static const jint LANDSCAPE = 0;
+ static const jint PORTRAIT = 1;
+ static const jint REVERSE_LANDSCAPE = 2;
+private:
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) orientation;
+ ::java::awt::print::Paper * paper;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_print_PageFormat__
diff --git a/libjava/java/awt/print/Pageable.h b/libjava/java/awt/print/Pageable.h
new file mode 100644
index 0000000..b97d4e5
--- /dev/null
+++ b/libjava/java/awt/print/Pageable.h
@@ -0,0 +1,37 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_print_Pageable__
+#define __java_awt_print_Pageable__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace print
+ {
+ class PageFormat;
+ class Pageable;
+ class Printable;
+ }
+ }
+ }
+}
+
+class java::awt::print::Pageable : public ::java::lang::Object
+{
+
+public:
+ virtual jint getNumberOfPages() = 0;
+ virtual ::java::awt::print::PageFormat * getPageFormat(jint) = 0;
+ virtual ::java::awt::print::Printable * getPrintable(jint) = 0;
+ static const jint UNKNOWN_NUMBER_OF_PAGES = -1;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_awt_print_Pageable__
diff --git a/libjava/java/awt/print/Paper.h b/libjava/java/awt/print/Paper.h
new file mode 100644
index 0000000..3d7d376
--- /dev/null
+++ b/libjava/java/awt/print/Paper.h
@@ -0,0 +1,49 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_print_Paper__
+#define __java_awt_print_Paper__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace print
+ {
+ class Paper;
+ }
+ }
+ }
+}
+
+class java::awt::print::Paper : public ::java::lang::Object
+{
+
+public:
+ Paper();
+ virtual jdouble getHeight();
+ virtual jdouble getWidth();
+ virtual jdouble getImageableX();
+ virtual jdouble getImageableY();
+ virtual jdouble getImageableWidth();
+ virtual jdouble getImageableHeight();
+ virtual void setSize(jdouble, jdouble);
+ virtual void setImageableArea(jdouble, jdouble, jdouble, jdouble);
+ virtual ::java::lang::Object * clone();
+private:
+ jdouble __attribute__((aligned(__alignof__( ::java::lang::Object)))) height;
+ jdouble width;
+ jdouble imageableX;
+ jdouble imageableY;
+ jdouble imageableWidth;
+ jdouble imageableHeight;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_print_Paper__
diff --git a/libjava/java/awt/print/Printable.h b/libjava/java/awt/print/Printable.h
new file mode 100644
index 0000000..4160afc
--- /dev/null
+++ b/libjava/java/awt/print/Printable.h
@@ -0,0 +1,36 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_print_Printable__
+#define __java_awt_print_Printable__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Graphics;
+ namespace print
+ {
+ class PageFormat;
+ class Printable;
+ }
+ }
+ }
+}
+
+class java::awt::print::Printable : public ::java::lang::Object
+{
+
+public:
+ virtual jint print(::java::awt::Graphics *, ::java::awt::print::PageFormat *, jint) = 0;
+ static const jint PAGE_EXISTS = 0;
+ static const jint NO_SUCH_PAGE = 1;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_awt_print_Printable__
diff --git a/libjava/java/awt/print/PrinterAbortException.h b/libjava/java/awt/print/PrinterAbortException.h
new file mode 100644
index 0000000..f8475d9
--- /dev/null
+++ b/libjava/java/awt/print/PrinterAbortException.h
@@ -0,0 +1,36 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_print_PrinterAbortException__
+#define __java_awt_print_PrinterAbortException__
+
+#pragma interface
+
+#include <java/awt/print/PrinterException.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace print
+ {
+ class PrinterAbortException;
+ }
+ }
+ }
+}
+
+class java::awt::print::PrinterAbortException : public ::java::awt::print::PrinterException
+{
+
+public:
+ PrinterAbortException();
+ PrinterAbortException(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = 4725169026278854136LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_print_PrinterAbortException__
diff --git a/libjava/java/awt/print/PrinterException.h b/libjava/java/awt/print/PrinterException.h
new file mode 100644
index 0000000..009ec51
--- /dev/null
+++ b/libjava/java/awt/print/PrinterException.h
@@ -0,0 +1,36 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_print_PrinterException__
+#define __java_awt_print_PrinterException__
+
+#pragma interface
+
+#include <java/lang/Exception.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace print
+ {
+ class PrinterException;
+ }
+ }
+ }
+}
+
+class java::awt::print::PrinterException : public ::java::lang::Exception
+{
+
+public:
+ PrinterException();
+ PrinterException(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = -3757589981158265819LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_print_PrinterException__
diff --git a/libjava/java/awt/print/PrinterGraphics.h b/libjava/java/awt/print/PrinterGraphics.h
new file mode 100644
index 0000000..74541c0
--- /dev/null
+++ b/libjava/java/awt/print/PrinterGraphics.h
@@ -0,0 +1,33 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_print_PrinterGraphics__
+#define __java_awt_print_PrinterGraphics__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace print
+ {
+ class PrinterGraphics;
+ class PrinterJob;
+ }
+ }
+ }
+}
+
+class java::awt::print::PrinterGraphics : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::awt::print::PrinterJob * getPrinterJob() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_awt_print_PrinterGraphics__
diff --git a/libjava/java/awt/print/PrinterIOException.h b/libjava/java/awt/print/PrinterIOException.h
new file mode 100644
index 0000000..46d7908
--- /dev/null
+++ b/libjava/java/awt/print/PrinterIOException.h
@@ -0,0 +1,38 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_print_PrinterIOException__
+#define __java_awt_print_PrinterIOException__
+
+#pragma interface
+
+#include <java/awt/print/PrinterException.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace print
+ {
+ class PrinterIOException;
+ }
+ }
+ }
+}
+
+class java::awt::print::PrinterIOException : public ::java::awt::print::PrinterException
+{
+
+public:
+ PrinterIOException(::java::io::IOException *);
+ virtual ::java::io::IOException * getIOException();
+ virtual ::java::lang::Throwable * getCause();
+private:
+ static const jlong serialVersionUID = 5850870712125932846LL;
+ ::java::io::IOException * __attribute__((aligned(__alignof__( ::java::awt::print::PrinterException)))) mException;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_print_PrinterIOException__
diff --git a/libjava/java/awt/print/PrinterJob.h b/libjava/java/awt/print/PrinterJob.h
new file mode 100644
index 0000000..a319de3
--- /dev/null
+++ b/libjava/java/awt/print/PrinterJob.h
@@ -0,0 +1,74 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_print_PrinterJob__
+#define __java_awt_print_PrinterJob__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace print
+ {
+ class PageFormat;
+ class Pageable;
+ class Printable;
+ class PrinterJob;
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace print
+ {
+ class PrintService;
+ namespace attribute
+ {
+ class PrintRequestAttributeSet;
+ }
+ }
+ }
+}
+
+class java::awt::print::PrinterJob : public ::java::lang::Object
+{
+
+public:
+ static ::java::awt::print::PrinterJob * getPrinterJob();
+ PrinterJob();
+ virtual jint getCopies() = 0;
+ virtual void setCopies(jint) = 0;
+ virtual ::java::lang::String * getJobName() = 0;
+ virtual void setJobName(::java::lang::String *) = 0;
+ virtual ::java::lang::String * getUserName() = 0;
+ virtual void cancel() = 0;
+ virtual jboolean isCancelled() = 0;
+ virtual ::java::awt::print::PageFormat * defaultPage();
+ virtual ::java::awt::print::PageFormat * defaultPage(::java::awt::print::PageFormat *) = 0;
+ virtual ::java::awt::print::PageFormat * pageDialog(::java::awt::print::PageFormat *) = 0;
+ virtual ::java::awt::print::PageFormat * pageDialog(::javax::print::attribute::PrintRequestAttributeSet *);
+ virtual void print() = 0;
+ virtual void print(::javax::print::attribute::PrintRequestAttributeSet *);
+ virtual jboolean printDialog() = 0;
+ virtual jboolean printDialog(::javax::print::attribute::PrintRequestAttributeSet *);
+ virtual void setPageable(::java::awt::print::Pageable *) = 0;
+ virtual void setPrintable(::java::awt::print::Printable *) = 0;
+ virtual void setPrintable(::java::awt::print::Printable *, ::java::awt::print::PageFormat *) = 0;
+ virtual ::java::awt::print::PageFormat * validatePage(::java::awt::print::PageFormat *) = 0;
+ static JArray< ::javax::print::PrintService * > * lookupPrintServices();
+ virtual ::javax::print::PrintService * getPrintService();
+ virtual void setPrintService(::javax::print::PrintService *);
+private:
+ ::javax::print::PrintService * __attribute__((aligned(__alignof__( ::java::lang::Object)))) printer;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_print_PrinterJob__
diff --git a/libjava/java/beans/AppletInitializer.h b/libjava/java/beans/AppletInitializer.h
new file mode 100644
index 0000000..f0ea44f
--- /dev/null
+++ b/libjava/java/beans/AppletInitializer.h
@@ -0,0 +1,38 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_beans_AppletInitializer__
+#define __java_beans_AppletInitializer__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace applet
+ {
+ class Applet;
+ }
+ namespace beans
+ {
+ class AppletInitializer;
+ namespace beancontext
+ {
+ class BeanContext;
+ }
+ }
+ }
+}
+
+class java::beans::AppletInitializer : public ::java::lang::Object
+{
+
+public:
+ virtual void activate(::java::applet::Applet *) = 0;
+ virtual void initialize(::java::applet::Applet *, ::java::beans::beancontext::BeanContext *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_beans_AppletInitializer__
diff --git a/libjava/java/beans/BeanDescriptor.h b/libjava/java/beans/BeanDescriptor.h
new file mode 100644
index 0000000..b1779b9
--- /dev/null
+++ b/libjava/java/beans/BeanDescriptor.h
@@ -0,0 +1,36 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_beans_BeanDescriptor__
+#define __java_beans_BeanDescriptor__
+
+#pragma interface
+
+#include <java/beans/FeatureDescriptor.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace beans
+ {
+ class BeanDescriptor;
+ }
+ }
+}
+
+class java::beans::BeanDescriptor : public ::java::beans::FeatureDescriptor
+{
+
+public:
+ BeanDescriptor(::java::lang::Class *);
+ BeanDescriptor(::java::lang::Class *, ::java::lang::Class *);
+ virtual ::java::lang::Class * getBeanClass();
+ virtual ::java::lang::Class * getCustomizerClass();
+public: // actually package-private
+ ::java::lang::Class * __attribute__((aligned(__alignof__( ::java::beans::FeatureDescriptor)))) beanClass;
+ ::java::lang::Class * customizerClass;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_beans_BeanDescriptor__
diff --git a/libjava/java/beans/BeanInfo.h b/libjava/java/beans/BeanInfo.h
new file mode 100644
index 0000000..dda4720
--- /dev/null
+++ b/libjava/java/beans/BeanInfo.h
@@ -0,0 +1,50 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_beans_BeanInfo__
+#define __java_beans_BeanInfo__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Image;
+ }
+ namespace beans
+ {
+ class BeanDescriptor;
+ class BeanInfo;
+ class EventSetDescriptor;
+ class MethodDescriptor;
+ class PropertyDescriptor;
+ }
+ }
+}
+
+class java::beans::BeanInfo : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::beans::BeanDescriptor * getBeanDescriptor() = 0;
+ virtual JArray< ::java::beans::EventSetDescriptor * > * getEventSetDescriptors() = 0;
+ virtual jint getDefaultEventIndex() = 0;
+ virtual JArray< ::java::beans::PropertyDescriptor * > * getPropertyDescriptors() = 0;
+ virtual jint getDefaultPropertyIndex() = 0;
+ virtual JArray< ::java::beans::MethodDescriptor * > * getMethodDescriptors() = 0;
+ virtual JArray< ::java::beans::BeanInfo * > * getAdditionalBeanInfo() = 0;
+ virtual ::java::awt::Image * getIcon(jint) = 0;
+ static const jint ICON_COLOR_16x16 = 1;
+ static const jint ICON_COLOR_32x32 = 2;
+ static const jint ICON_MONO_16x16 = 3;
+ static const jint ICON_MONO_32x32 = 4;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_beans_BeanInfo__
diff --git a/libjava/java/beans/Beans.h b/libjava/java/beans/Beans.h
new file mode 100644
index 0000000..ed2fbad
--- /dev/null
+++ b/libjava/java/beans/Beans.h
@@ -0,0 +1,47 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_beans_Beans__
+#define __java_beans_Beans__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace beans
+ {
+ class AppletInitializer;
+ class Beans;
+ namespace beancontext
+ {
+ class BeanContext;
+ }
+ }
+ }
+}
+
+class java::beans::Beans : public ::java::lang::Object
+{
+
+public:
+ Beans();
+ static ::java::lang::Object * instantiate(::java::lang::ClassLoader *, ::java::lang::String *);
+ static ::java::lang::Object * instantiate(::java::lang::ClassLoader *, ::java::lang::String *, ::java::beans::beancontext::BeanContext *);
+ static ::java::lang::Object * instantiate(::java::lang::ClassLoader *, ::java::lang::String *, ::java::beans::beancontext::BeanContext *, ::java::beans::AppletInitializer *);
+ static ::java::lang::Object * getInstanceOf(::java::lang::Object *, ::java::lang::Class *);
+ static jboolean isInstanceOf(::java::lang::Object *, ::java::lang::Class *);
+ static jboolean isGuiAvailable();
+ static jboolean isDesignTime();
+ static void setGuiAvailable(jboolean);
+ static void setDesignTime(jboolean);
+public: // actually package-private
+ static jboolean designTime;
+ static jboolean guiAvailable;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_beans_Beans__
diff --git a/libjava/java/beans/Customizer.h b/libjava/java/beans/Customizer.h
new file mode 100644
index 0000000..fbdae5a
--- /dev/null
+++ b/libjava/java/beans/Customizer.h
@@ -0,0 +1,32 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_beans_Customizer__
+#define __java_beans_Customizer__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace beans
+ {
+ class Customizer;
+ class PropertyChangeListener;
+ }
+ }
+}
+
+class java::beans::Customizer : public ::java::lang::Object
+{
+
+public:
+ virtual void setObject(::java::lang::Object *) = 0;
+ virtual void addPropertyChangeListener(::java::beans::PropertyChangeListener *) = 0;
+ virtual void removePropertyChangeListener(::java::beans::PropertyChangeListener *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_beans_Customizer__
diff --git a/libjava/java/beans/DefaultPersistenceDelegate.h b/libjava/java/beans/DefaultPersistenceDelegate.h
new file mode 100644
index 0000000..b0225b5
--- /dev/null
+++ b/libjava/java/beans/DefaultPersistenceDelegate.h
@@ -0,0 +1,41 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_beans_DefaultPersistenceDelegate__
+#define __java_beans_DefaultPersistenceDelegate__
+
+#pragma interface
+
+#include <java/beans/PersistenceDelegate.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace beans
+ {
+ class DefaultPersistenceDelegate;
+ class Encoder;
+ class Expression;
+ }
+ }
+}
+
+class java::beans::DefaultPersistenceDelegate : public ::java::beans::PersistenceDelegate
+{
+
+public:
+ DefaultPersistenceDelegate();
+ DefaultPersistenceDelegate(JArray< ::java::lang::String * > *);
+public: // actually protected
+ virtual jboolean mutatesTo(::java::lang::Object *, ::java::lang::Object *);
+ virtual ::java::beans::Expression * instantiate(::java::lang::Object *, ::java::beans::Encoder *);
+ virtual void initialize(::java::lang::Class *, ::java::lang::Object *, ::java::lang::Object *, ::java::beans::Encoder *);
+private:
+ JArray< ::java::lang::String * > * __attribute__((aligned(__alignof__( ::java::beans::PersistenceDelegate)))) constructorPropertyNames;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_beans_DefaultPersistenceDelegate__
diff --git a/libjava/java/beans/DesignMode.h b/libjava/java/beans/DesignMode.h
new file mode 100644
index 0000000..a88d844
--- /dev/null
+++ b/libjava/java/beans/DesignMode.h
@@ -0,0 +1,31 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_beans_DesignMode__
+#define __java_beans_DesignMode__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace beans
+ {
+ class DesignMode;
+ }
+ }
+}
+
+class java::beans::DesignMode : public ::java::lang::Object
+{
+
+public:
+ virtual void setDesignTime(jboolean) = 0;
+ virtual jboolean isDesignTime() = 0;
+ static ::java::lang::String * PROPERTYNAME;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_beans_DesignMode__
diff --git a/libjava/java/beans/Encoder$1.h b/libjava/java/beans/Encoder$1.h
new file mode 100644
index 0000000..8748597
--- /dev/null
+++ b/libjava/java/beans/Encoder$1.h
@@ -0,0 +1,34 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_beans_Encoder$1__
+#define __java_beans_Encoder$1__
+
+#pragma interface
+
+#include <java/beans/PersistenceDelegate.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace beans
+ {
+ class Encoder;
+ class Encoder$1;
+ class Expression;
+ }
+ }
+}
+
+class java::beans::Encoder$1 : public ::java::beans::PersistenceDelegate
+{
+
+public: // actually package-private
+ Encoder$1();
+public: // actually protected
+ ::java::beans::Expression * instantiate(::java::lang::Object *, ::java::beans::Encoder *);
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_beans_Encoder$1__
diff --git a/libjava/java/beans/Encoder.h b/libjava/java/beans/Encoder.h
new file mode 100644
index 0000000..345e98c
--- /dev/null
+++ b/libjava/java/beans/Encoder.h
@@ -0,0 +1,57 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_beans_Encoder__
+#define __java_beans_Encoder__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace beans
+ {
+ class Encoder;
+ class ExceptionListener;
+ class Expression;
+ class PersistenceDelegate;
+ class Statement;
+ }
+ }
+}
+
+class java::beans::Encoder : public ::java::lang::Object
+{
+
+public:
+ Encoder();
+private:
+ static void setupDefaultPersistenceDelegates();
+public: // actually protected
+ virtual void writeObject(::java::lang::Object *);
+public:
+ virtual void setExceptionListener(::java::beans::ExceptionListener *);
+ virtual ::java::beans::ExceptionListener * getExceptionListener();
+ virtual ::java::beans::PersistenceDelegate * getPersistenceDelegate(::java::lang::Class *);
+ virtual void setPersistenceDelegate(::java::lang::Class *, ::java::beans::PersistenceDelegate *);
+ virtual ::java::lang::Object * remove(::java::lang::Object *);
+ virtual ::java::lang::Object * get(::java::lang::Object *);
+ virtual void writeStatement(::java::beans::Statement *);
+ virtual void writeExpression(::java::beans::Expression *);
+public: // actually package-private
+ virtual jboolean isImmutableType(::java::lang::Class *);
+ virtual void putCandidate(::java::lang::Object *, ::java::lang::Object *);
+private:
+ static ::java::beans::PersistenceDelegate * defaultPersistenceDelegate;
+ static ::java::beans::PersistenceDelegate * fakePersistenceDelegate;
+ static ::java::util::HashMap * delegates;
+ ::java::util::IdentityHashMap * __attribute__((aligned(__alignof__( ::java::lang::Object)))) candidates;
+ ::java::beans::ExceptionListener * exceptionListener;
+ jint accessCounter;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_beans_Encoder__
diff --git a/libjava/java/beans/EventHandler.h b/libjava/java/beans/EventHandler.h
new file mode 100644
index 0000000..b97ac51
--- /dev/null
+++ b/libjava/java/beans/EventHandler.h
@@ -0,0 +1,54 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_beans_EventHandler__
+#define __java_beans_EventHandler__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace beans
+ {
+ class EventHandler;
+ }
+ }
+}
+
+class java::beans::EventHandler : public ::java::lang::Object
+{
+
+ ::java::lang::String * capitalize(::java::lang::String *);
+public:
+ EventHandler(::java::lang::Object *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
+ virtual ::java::lang::String * getEventPropertyName();
+ virtual ::java::lang::String * getListenerMethodName();
+ virtual ::java::lang::Object * getTarget();
+ virtual ::java::lang::String * getAction();
+private:
+ JArray< ::java::lang::Object * > * getProperty(::java::lang::Object *, ::java::lang::String *);
+public:
+ virtual ::java::lang::Object * invoke(::java::lang::Object *, ::java::lang::reflect::Method *, JArray< ::java::lang::Object * > *);
+private:
+ ::java::lang::Class * initClass(::java::lang::Class *);
+ ::java::lang::Class * nextClass(::java::lang::Class *);
+public:
+ static ::java::lang::Object * create(::java::lang::Class *, ::java::lang::Object *, ::java::lang::String *);
+ static ::java::lang::Object * create(::java::lang::Class *, ::java::lang::Object *, ::java::lang::String *, ::java::lang::String *);
+ static ::java::lang::Object * create(::java::lang::Class *, ::java::lang::Object *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
+private:
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) listenerMethod;
+ ::java::lang::Object * target;
+ ::java::lang::String * action;
+ ::java::lang::String * property;
+ ::java::lang::Class * targetClass;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_beans_EventHandler__
diff --git a/libjava/java/beans/EventSetDescriptor.h b/libjava/java/beans/EventSetDescriptor.h
new file mode 100644
index 0000000..fb99b60
--- /dev/null
+++ b/libjava/java/beans/EventSetDescriptor.h
@@ -0,0 +1,60 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_beans_EventSetDescriptor__
+#define __java_beans_EventSetDescriptor__
+
+#pragma interface
+
+#include <java/beans/FeatureDescriptor.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace beans
+ {
+ class EventSetDescriptor;
+ class MethodDescriptor;
+ }
+ }
+}
+
+class java::beans::EventSetDescriptor : public ::java::beans::FeatureDescriptor
+{
+
+public:
+ EventSetDescriptor(::java::lang::Class *, ::java::lang::String *, ::java::lang::Class *, ::java::lang::String *);
+ EventSetDescriptor(::java::lang::Class *, ::java::lang::String *, ::java::lang::Class *, JArray< ::java::lang::String * > *, ::java::lang::String *, ::java::lang::String *);
+ EventSetDescriptor(::java::lang::Class *, ::java::lang::String *, ::java::lang::Class *, JArray< ::java::lang::String * > *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
+ EventSetDescriptor(::java::lang::String *, ::java::lang::Class *, JArray< ::java::lang::reflect::Method * > *, ::java::lang::reflect::Method *, ::java::lang::reflect::Method *, ::java::lang::reflect::Method *);
+ EventSetDescriptor(::java::lang::String *, ::java::lang::Class *, JArray< ::java::lang::reflect::Method * > *, ::java::lang::reflect::Method *, ::java::lang::reflect::Method *);
+ EventSetDescriptor(::java::lang::String *, ::java::lang::Class *, JArray< ::java::beans::MethodDescriptor * > *, ::java::lang::reflect::Method *, ::java::lang::reflect::Method *);
+ virtual ::java::lang::Class * getListenerType();
+ virtual JArray< ::java::lang::reflect::Method * > * getListenerMethods();
+ virtual JArray< ::java::beans::MethodDescriptor * > * getListenerMethodDescriptors();
+ virtual ::java::lang::reflect::Method * getAddListenerMethod();
+ virtual ::java::lang::reflect::Method * getRemoveListenerMethod();
+ virtual ::java::lang::reflect::Method * getGetListenerMethod();
+ virtual void setUnicast(jboolean);
+ virtual jboolean isUnicast();
+ virtual void setInDefaultEventSet(jboolean);
+ virtual jboolean isInDefaultEventSet();
+private:
+ void checkAddListenerUnicast();
+ void checkMethods();
+ void findMethods(::java::lang::Class *, ::java::lang::Class *, JArray< ::java::lang::String * > *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
+ ::java::lang::reflect::Method * __attribute__((aligned(__alignof__( ::java::beans::FeatureDescriptor)))) addListenerMethod;
+ ::java::lang::reflect::Method * removeListenerMethod;
+ ::java::lang::Class * listenerType;
+ JArray< ::java::beans::MethodDescriptor * > * listenerMethodDescriptors;
+ JArray< ::java::lang::reflect::Method * > * listenerMethods;
+ ::java::lang::reflect::Method * getListenerMethod;
+ jboolean unicast;
+ jboolean inDefaultEventSet;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_beans_EventSetDescriptor__
diff --git a/libjava/java/beans/ExceptionListener.h b/libjava/java/beans/ExceptionListener.h
new file mode 100644
index 0000000..4356957
--- /dev/null
+++ b/libjava/java/beans/ExceptionListener.h
@@ -0,0 +1,29 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_beans_ExceptionListener__
+#define __java_beans_ExceptionListener__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace beans
+ {
+ class ExceptionListener;
+ }
+ }
+}
+
+class java::beans::ExceptionListener : public ::java::lang::Object
+{
+
+public:
+ virtual void exceptionThrown(::java::lang::Exception *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_beans_ExceptionListener__
diff --git a/libjava/java/beans/ExplicitInfo.h b/libjava/java/beans/ExplicitInfo.h
new file mode 100644
index 0000000..16860b4
--- /dev/null
+++ b/libjava/java/beans/ExplicitInfo.h
@@ -0,0 +1,60 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_beans_ExplicitInfo__
+#define __java_beans_ExplicitInfo__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Image;
+ }
+ namespace beans
+ {
+ class BeanDescriptor;
+ class BeanInfo;
+ class EventSetDescriptor;
+ class ExplicitInfo;
+ class MethodDescriptor;
+ class PropertyDescriptor;
+ }
+ }
+}
+
+class java::beans::ExplicitInfo : public ::java::lang::Object
+{
+
+public: // actually package-private
+ ExplicitInfo(::java::lang::Class *, ::java::lang::Class *);
+ static void flushCaches();
+ static ::java::beans::BeanInfo * findExplicitBeanInfo(::java::lang::Class *);
+ static ::java::beans::BeanInfo * reallyFindExplicitBeanInfo(::java::lang::Class *);
+private:
+ static ::java::beans::BeanInfo * getBeanInfo(::java::lang::ClassLoader *, ::java::lang::String *);
+public: // actually package-private
+ ::java::beans::BeanDescriptor * __attribute__((aligned(__alignof__( ::java::lang::Object)))) explicitBeanDescriptor;
+ JArray< ::java::beans::BeanInfo * > * explicitBeanInfo;
+ JArray< ::java::beans::PropertyDescriptor * > * explicitPropertyDescriptors;
+ JArray< ::java::beans::EventSetDescriptor * > * explicitEventSetDescriptors;
+ JArray< ::java::beans::MethodDescriptor * > * explicitMethodDescriptors;
+ jint defaultProperty;
+ jint defaultEvent;
+ JArray< ::java::awt::Image * > * im;
+ ::java::lang::Class * propertyStopClass;
+ ::java::lang::Class * eventStopClass;
+ ::java::lang::Class * methodStopClass;
+ static ::java::util::Hashtable * explicitBeanInfos;
+ static ::java::util::Vector * emptyBeanInfos;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_beans_ExplicitInfo__
diff --git a/libjava/java/beans/Expression.h b/libjava/java/beans/Expression.h
new file mode 100644
index 0000000..50fce15
--- /dev/null
+++ b/libjava/java/beans/Expression.h
@@ -0,0 +1,39 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_beans_Expression__
+#define __java_beans_Expression__
+
+#pragma interface
+
+#include <java/beans/Statement.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace beans
+ {
+ class Expression;
+ }
+ }
+}
+
+class java::beans::Expression : public ::java::beans::Statement
+{
+
+public:
+ Expression(::java::lang::Object *, ::java::lang::Object *, ::java::lang::String *, JArray< ::java::lang::Object * > *);
+ Expression(::java::lang::Object *, ::java::lang::String *, JArray< ::java::lang::Object * > *);
+ virtual ::java::lang::Object * getValue();
+ virtual void setValue(::java::lang::Object *);
+ virtual ::java::lang::String * toString();
+private:
+ static ::java::lang::Object * UNSET;
+ ::java::lang::Object * __attribute__((aligned(__alignof__( ::java::beans::Statement)))) value;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_beans_Expression__
diff --git a/libjava/java/beans/FeatureDescriptor.h b/libjava/java/beans/FeatureDescriptor.h
new file mode 100644
index 0000000..8f5f932
--- /dev/null
+++ b/libjava/java/beans/FeatureDescriptor.h
@@ -0,0 +1,53 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_beans_FeatureDescriptor__
+#define __java_beans_FeatureDescriptor__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace beans
+ {
+ class FeatureDescriptor;
+ }
+ }
+}
+
+class java::beans::FeatureDescriptor : public ::java::lang::Object
+{
+
+public:
+ FeatureDescriptor();
+ virtual ::java::lang::String * getName();
+ virtual void setName(::java::lang::String *);
+ virtual ::java::lang::String * getDisplayName();
+ virtual void setDisplayName(::java::lang::String *);
+ virtual ::java::lang::String * getShortDescription();
+ virtual void setShortDescription(::java::lang::String *);
+ virtual jboolean isExpert();
+ virtual void setExpert(jboolean);
+ virtual jboolean isHidden();
+ virtual void setHidden(jboolean);
+ virtual jboolean isPreferred();
+ virtual void setPreferred(jboolean);
+ virtual ::java::lang::Object * getValue(::java::lang::String *);
+ virtual void setValue(::java::lang::String *, ::java::lang::Object *);
+ virtual ::java::util::Enumeration * attributeNames();
+public: // actually package-private
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) name;
+ ::java::lang::String * displayName;
+ ::java::lang::String * shortDescription;
+ jboolean expert;
+ jboolean hidden;
+ jboolean preferred;
+ ::java::util::Hashtable * valueHash;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_beans_FeatureDescriptor__
diff --git a/libjava/java/beans/IndexedPropertyChangeEvent.h b/libjava/java/beans/IndexedPropertyChangeEvent.h
new file mode 100644
index 0000000..85082d1
--- /dev/null
+++ b/libjava/java/beans/IndexedPropertyChangeEvent.h
@@ -0,0 +1,34 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_beans_IndexedPropertyChangeEvent__
+#define __java_beans_IndexedPropertyChangeEvent__
+
+#pragma interface
+
+#include <java/beans/PropertyChangeEvent.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace beans
+ {
+ class IndexedPropertyChangeEvent;
+ }
+ }
+}
+
+class java::beans::IndexedPropertyChangeEvent : public ::java::beans::PropertyChangeEvent
+{
+
+public:
+ IndexedPropertyChangeEvent(::java::lang::Object *, ::java::lang::String *, ::java::lang::Object *, ::java::lang::Object *, jint);
+ virtual jint getIndex();
+private:
+ static const jlong serialVersionUID = -320227448495806870LL;
+ jint __attribute__((aligned(__alignof__( ::java::beans::PropertyChangeEvent)))) index;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_beans_IndexedPropertyChangeEvent__
diff --git a/libjava/java/beans/IndexedPropertyDescriptor.h b/libjava/java/beans/IndexedPropertyDescriptor.h
new file mode 100644
index 0000000..843eb1b
--- /dev/null
+++ b/libjava/java/beans/IndexedPropertyDescriptor.h
@@ -0,0 +1,42 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_beans_IndexedPropertyDescriptor__
+#define __java_beans_IndexedPropertyDescriptor__
+
+#pragma interface
+
+#include <java/beans/PropertyDescriptor.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace beans
+ {
+ class IndexedPropertyDescriptor;
+ }
+ }
+}
+
+class java::beans::IndexedPropertyDescriptor : public ::java::beans::PropertyDescriptor
+{
+
+public:
+ IndexedPropertyDescriptor(::java::lang::String *, ::java::lang::Class *);
+ IndexedPropertyDescriptor(::java::lang::String *, ::java::lang::Class *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
+ IndexedPropertyDescriptor(::java::lang::String *, ::java::lang::reflect::Method *, ::java::lang::reflect::Method *, ::java::lang::reflect::Method *, ::java::lang::reflect::Method *);
+ virtual ::java::lang::Class * getIndexedPropertyType();
+ virtual ::java::lang::reflect::Method * getIndexedReadMethod();
+ virtual void setIndexedReadMethod(::java::lang::reflect::Method *);
+ virtual ::java::lang::reflect::Method * getIndexedWriteMethod();
+ virtual void setIndexedWriteMethod(::java::lang::reflect::Method *);
+private:
+ void findMethods(::java::lang::Class *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
+ ::java::lang::Class * __attribute__((aligned(__alignof__( ::java::beans::PropertyDescriptor)))) indexedPropertyType;
+ ::java::lang::reflect::Method * setIndex;
+ ::java::lang::reflect::Method * getIndex;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_beans_IndexedPropertyDescriptor__
diff --git a/libjava/java/beans/IntrospectionException.h b/libjava/java/beans/IntrospectionException.h
new file mode 100644
index 0000000..87df2fd
--- /dev/null
+++ b/libjava/java/beans/IntrospectionException.h
@@ -0,0 +1,32 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_beans_IntrospectionException__
+#define __java_beans_IntrospectionException__
+
+#pragma interface
+
+#include <java/lang/Exception.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace beans
+ {
+ class IntrospectionException;
+ }
+ }
+}
+
+class java::beans::IntrospectionException : public ::java::lang::Exception
+{
+
+public:
+ IntrospectionException(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = -3728150539969542619LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_beans_IntrospectionException__
diff --git a/libjava/java/beans/Introspector.h b/libjava/java/beans/Introspector.h
new file mode 100644
index 0000000..989c513
--- /dev/null
+++ b/libjava/java/beans/Introspector.h
@@ -0,0 +1,64 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_beans_Introspector__
+#define __java_beans_Introspector__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace beans
+ {
+ class BeanInfoEmbryo;
+ }
+ }
+ }
+ namespace java
+ {
+ namespace beans
+ {
+ class BeanInfo;
+ class ExplicitInfo;
+ class Introspector;
+ }
+ }
+}
+
+class java::beans::Introspector : public ::java::lang::Object
+{
+
+ Introspector();
+public:
+ static ::java::beans::BeanInfo * getBeanInfo(::java::lang::Class *);
+ static ::java::beans::BeanInfo * getBeanInfo(::java::lang::Class *, jint);
+ static void flushCaches();
+ static void flushFromCaches(::java::lang::Class *);
+private:
+ static void merge(::gnu::java::beans::BeanInfoEmbryo *, ::java::beans::ExplicitInfo *);
+public:
+ static ::java::beans::BeanInfo * getBeanInfo(::java::lang::Class *, ::java::lang::Class *);
+ static JArray< ::java::lang::String * > * getBeanInfoSearchPath();
+ static void setBeanInfoSearchPath(JArray< ::java::lang::String * > *);
+ static ::java::lang::String * decapitalize(::java::lang::String *);
+public: // actually package-private
+ static ::java::beans::BeanInfo * copyBeanInfo(::java::beans::BeanInfo *);
+public:
+ static const jint USE_ALL_BEANINFO = 1;
+ static const jint IGNORE_IMMEDIATE_BEANINFO = 2;
+ static const jint IGNORE_ALL_BEANINFO = 3;
+public: // actually package-private
+ static JArray< ::java::lang::String * > * beanInfoSearchPath;
+ static ::java::util::Hashtable * beanInfoCache;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_beans_Introspector__
diff --git a/libjava/java/beans/MethodDescriptor.h b/libjava/java/beans/MethodDescriptor.h
new file mode 100644
index 0000000..cf3ca4a
--- /dev/null
+++ b/libjava/java/beans/MethodDescriptor.h
@@ -0,0 +1,39 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_beans_MethodDescriptor__
+#define __java_beans_MethodDescriptor__
+
+#pragma interface
+
+#include <java/beans/FeatureDescriptor.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace beans
+ {
+ class MethodDescriptor;
+ class ParameterDescriptor;
+ }
+ }
+}
+
+class java::beans::MethodDescriptor : public ::java::beans::FeatureDescriptor
+{
+
+public:
+ MethodDescriptor(::java::lang::reflect::Method *);
+ MethodDescriptor(::java::lang::reflect::Method *, JArray< ::java::beans::ParameterDescriptor * > *);
+ virtual JArray< ::java::beans::ParameterDescriptor * > * getParameterDescriptors();
+ virtual ::java::lang::reflect::Method * getMethod();
+private:
+ ::java::lang::reflect::Method * __attribute__((aligned(__alignof__( ::java::beans::FeatureDescriptor)))) m;
+ JArray< ::java::beans::ParameterDescriptor * > * parameterDescriptors;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_beans_MethodDescriptor__
diff --git a/libjava/java/beans/ParameterDescriptor.h b/libjava/java/beans/ParameterDescriptor.h
new file mode 100644
index 0000000..66e201e
--- /dev/null
+++ b/libjava/java/beans/ParameterDescriptor.h
@@ -0,0 +1,29 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_beans_ParameterDescriptor__
+#define __java_beans_ParameterDescriptor__
+
+#pragma interface
+
+#include <java/beans/FeatureDescriptor.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace beans
+ {
+ class ParameterDescriptor;
+ }
+ }
+}
+
+class java::beans::ParameterDescriptor : public ::java::beans::FeatureDescriptor
+{
+
+public:
+ ParameterDescriptor();
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_beans_ParameterDescriptor__
diff --git a/libjava/java/beans/PersistenceDelegate.h b/libjava/java/beans/PersistenceDelegate.h
new file mode 100644
index 0000000..93b7865
--- /dev/null
+++ b/libjava/java/beans/PersistenceDelegate.h
@@ -0,0 +1,39 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_beans_PersistenceDelegate__
+#define __java_beans_PersistenceDelegate__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace beans
+ {
+ class Encoder;
+ class Expression;
+ class PersistenceDelegate;
+ }
+ }
+}
+
+class java::beans::PersistenceDelegate : public ::java::lang::Object
+{
+
+public:
+ PersistenceDelegate();
+public: // actually protected
+ virtual void initialize(::java::lang::Class *, ::java::lang::Object *, ::java::lang::Object *, ::java::beans::Encoder *);
+public:
+ virtual void writeObject(::java::lang::Object *, ::java::beans::Encoder *);
+public: // actually protected
+ virtual jboolean mutatesTo(::java::lang::Object *, ::java::lang::Object *);
+ virtual ::java::beans::Expression * instantiate(::java::lang::Object *, ::java::beans::Encoder *) = 0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_beans_PersistenceDelegate__
diff --git a/libjava/java/beans/PropertyChangeEvent.h b/libjava/java/beans/PropertyChangeEvent.h
new file mode 100644
index 0000000..6ea9155
--- /dev/null
+++ b/libjava/java/beans/PropertyChangeEvent.h
@@ -0,0 +1,45 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_beans_PropertyChangeEvent__
+#define __java_beans_PropertyChangeEvent__
+
+#pragma interface
+
+#include <java/util/EventObject.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace beans
+ {
+ class PropertyChangeEvent;
+ }
+ }
+}
+
+class java::beans::PropertyChangeEvent : public ::java::util::EventObject
+{
+
+public:
+ PropertyChangeEvent(::java::lang::Object *, ::java::lang::String *, ::java::lang::Object *, ::java::lang::Object *);
+ virtual ::java::lang::String * getPropertyName();
+ virtual ::java::lang::Object * getNewValue();
+ virtual ::java::lang::Object * getOldValue();
+ virtual void setPropagationId(::java::lang::Object *);
+ virtual ::java::lang::Object * getPropagationId();
+public: // actually package-private
+ virtual ::java::beans::PropertyChangeEvent * rollback();
+private:
+ static const jlong serialVersionUID = 7042693688939648123LL;
+public: // actually package-private
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::util::EventObject)))) propertyName;
+ ::java::lang::Object * newValue;
+ ::java::lang::Object * oldValue;
+private:
+ ::java::lang::Object * propagationId;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_beans_PropertyChangeEvent__
diff --git a/libjava/java/beans/PropertyChangeListener.h b/libjava/java/beans/PropertyChangeListener.h
new file mode 100644
index 0000000..c72b2be
--- /dev/null
+++ b/libjava/java/beans/PropertyChangeListener.h
@@ -0,0 +1,30 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_beans_PropertyChangeListener__
+#define __java_beans_PropertyChangeListener__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace beans
+ {
+ class PropertyChangeEvent;
+ class PropertyChangeListener;
+ }
+ }
+}
+
+class java::beans::PropertyChangeListener : public ::java::lang::Object
+{
+
+public:
+ virtual void propertyChange(::java::beans::PropertyChangeEvent *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_beans_PropertyChangeListener__
diff --git a/libjava/java/beans/PropertyChangeListenerProxy.h b/libjava/java/beans/PropertyChangeListenerProxy.h
new file mode 100644
index 0000000..14cce8e
--- /dev/null
+++ b/libjava/java/beans/PropertyChangeListenerProxy.h
@@ -0,0 +1,36 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_beans_PropertyChangeListenerProxy__
+#define __java_beans_PropertyChangeListenerProxy__
+
+#pragma interface
+
+#include <java/util/EventListenerProxy.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace beans
+ {
+ class PropertyChangeEvent;
+ class PropertyChangeListener;
+ class PropertyChangeListenerProxy;
+ }
+ }
+}
+
+class java::beans::PropertyChangeListenerProxy : public ::java::util::EventListenerProxy
+{
+
+public:
+ PropertyChangeListenerProxy(::java::lang::String *, ::java::beans::PropertyChangeListener *);
+ virtual void propertyChange(::java::beans::PropertyChangeEvent *);
+ virtual ::java::lang::String * getPropertyName();
+public: // actually package-private
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::util::EventListenerProxy)))) propertyName;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_beans_PropertyChangeListenerProxy__
diff --git a/libjava/java/beans/PropertyChangeSupport.h b/libjava/java/beans/PropertyChangeSupport.h
new file mode 100644
index 0000000..ae037a8
--- /dev/null
+++ b/libjava/java/beans/PropertyChangeSupport.h
@@ -0,0 +1,56 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_beans_PropertyChangeSupport__
+#define __java_beans_PropertyChangeSupport__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace beans
+ {
+ class PropertyChangeEvent;
+ class PropertyChangeListener;
+ class PropertyChangeSupport;
+ }
+ }
+}
+
+class java::beans::PropertyChangeSupport : public ::java::lang::Object
+{
+
+public:
+ PropertyChangeSupport(::java::lang::Object *);
+ virtual void addPropertyChangeListener(::java::beans::PropertyChangeListener *);
+ virtual void removePropertyChangeListener(::java::beans::PropertyChangeListener *);
+ virtual JArray< ::java::beans::PropertyChangeListener * > * getPropertyChangeListeners();
+ virtual void addPropertyChangeListener(::java::lang::String *, ::java::beans::PropertyChangeListener *);
+ virtual void removePropertyChangeListener(::java::lang::String *, ::java::beans::PropertyChangeListener *);
+ virtual JArray< ::java::beans::PropertyChangeListener * > * getPropertyChangeListeners(::java::lang::String *);
+ virtual void firePropertyChange(::java::lang::String *, ::java::lang::Object *, ::java::lang::Object *);
+ virtual void firePropertyChange(::java::lang::String *, jint, jint);
+ virtual void firePropertyChange(::java::lang::String *, jboolean, jboolean);
+ virtual void firePropertyChange(::java::beans::PropertyChangeEvent *);
+ virtual void fireIndexedPropertyChange(::java::lang::String *, jint, ::java::lang::Object *, ::java::lang::Object *);
+ virtual void fireIndexedPropertyChange(::java::lang::String *, jint, jint, jint);
+ virtual void fireIndexedPropertyChange(::java::lang::String *, jint, jboolean, jboolean);
+ virtual jboolean hasListeners(::java::lang::String *);
+private:
+ void writeObject(::java::io::ObjectOutputStream *);
+ void readObject(::java::io::ObjectInputStream *);
+ static const jlong serialVersionUID = 6401253773779951803LL;
+ ::java::util::Hashtable * __attribute__((aligned(__alignof__( ::java::lang::Object)))) children;
+ ::java::lang::Object * source;
+ static const jint propertyChangeSupportSerializedDataVersion = 2;
+ ::java::util::Vector * listeners;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_beans_PropertyChangeSupport__
diff --git a/libjava/java/beans/PropertyDescriptor.h b/libjava/java/beans/PropertyDescriptor.h
new file mode 100644
index 0000000..242c3d5
--- /dev/null
+++ b/libjava/java/beans/PropertyDescriptor.h
@@ -0,0 +1,64 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_beans_PropertyDescriptor__
+#define __java_beans_PropertyDescriptor__
+
+#pragma interface
+
+#include <java/beans/FeatureDescriptor.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace beans
+ {
+ class PropertyDescriptor;
+ class PropertyEditor;
+ }
+ }
+}
+
+class java::beans::PropertyDescriptor : public ::java::beans::FeatureDescriptor
+{
+
+public: // actually package-private
+ PropertyDescriptor(::java::lang::String *);
+public:
+ PropertyDescriptor(::java::lang::String *, ::java::lang::Class *);
+ PropertyDescriptor(::java::lang::String *, ::java::lang::Class *, ::java::lang::String *, ::java::lang::String *);
+ PropertyDescriptor(::java::lang::String *, ::java::lang::reflect::Method *, ::java::lang::reflect::Method *);
+ virtual ::java::lang::Class * getPropertyType();
+ virtual ::java::lang::reflect::Method * getReadMethod();
+ virtual void setReadMethod(::java::lang::reflect::Method *);
+ virtual ::java::lang::reflect::Method * getWriteMethod();
+ virtual void setWriteMethod(::java::lang::reflect::Method *);
+ virtual jboolean isBound();
+ virtual void setBound(jboolean);
+ virtual jboolean isConstrained();
+ virtual void setConstrained(jboolean);
+ virtual ::java::lang::Class * getPropertyEditorClass();
+ virtual void setPropertyEditorClass(::java::lang::Class *);
+ virtual ::java::beans::PropertyEditor * createPropertyEditor(::java::lang::Object *);
+private:
+ ::java::lang::reflect::Constructor * findConstructor(::java::lang::Class *, JArray< ::java::lang::Class * > *);
+ ::java::beans::PropertyEditor * instantiateClass(::java::lang::reflect::Constructor *, JArray< ::java::lang::Object * > *);
+ void findMethods(::java::lang::Class *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
+ ::java::lang::Class * checkMethods(::java::lang::reflect::Method *, ::java::lang::reflect::Method *);
+public:
+ virtual jint hashCode();
+ virtual jboolean equals(::java::lang::Object *);
+public: // actually package-private
+ ::java::lang::Class * __attribute__((aligned(__alignof__( ::java::beans::FeatureDescriptor)))) propertyType;
+ ::java::lang::reflect::Method * getMethod;
+ ::java::lang::reflect::Method * setMethod;
+ ::java::lang::Class * propertyEditorClass;
+ jboolean bound;
+ jboolean constrained;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_beans_PropertyDescriptor__
diff --git a/libjava/java/beans/PropertyEditor.h b/libjava/java/beans/PropertyEditor.h
new file mode 100644
index 0000000..4fab8c8
--- /dev/null
+++ b/libjava/java/beans/PropertyEditor.h
@@ -0,0 +1,49 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_beans_PropertyEditor__
+#define __java_beans_PropertyEditor__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Component;
+ class Graphics;
+ class Rectangle;
+ }
+ namespace beans
+ {
+ class PropertyChangeListener;
+ class PropertyEditor;
+ }
+ }
+}
+
+class java::beans::PropertyEditor : public ::java::lang::Object
+{
+
+public:
+ virtual void setValue(::java::lang::Object *) = 0;
+ virtual ::java::lang::Object * getValue() = 0;
+ virtual void setAsText(::java::lang::String *) = 0;
+ virtual ::java::lang::String * getAsText() = 0;
+ virtual JArray< ::java::lang::String * > * getTags() = 0;
+ virtual jboolean isPaintable() = 0;
+ virtual void paintValue(::java::awt::Graphics *, ::java::awt::Rectangle *) = 0;
+ virtual jboolean supportsCustomEditor() = 0;
+ virtual ::java::awt::Component * getCustomEditor() = 0;
+ virtual void addPropertyChangeListener(::java::beans::PropertyChangeListener *) = 0;
+ virtual void removePropertyChangeListener(::java::beans::PropertyChangeListener *) = 0;
+ virtual ::java::lang::String * getJavaInitializationString() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_beans_PropertyEditor__
diff --git a/libjava/java/beans/PropertyEditorManager.h b/libjava/java/beans/PropertyEditorManager.h
new file mode 100644
index 0000000..88985b3
--- /dev/null
+++ b/libjava/java/beans/PropertyEditorManager.h
@@ -0,0 +1,40 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_beans_PropertyEditorManager__
+#define __java_beans_PropertyEditorManager__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace beans
+ {
+ class PropertyEditor;
+ class PropertyEditorManager;
+ }
+ }
+}
+
+class java::beans::PropertyEditorManager : public ::java::lang::Object
+{
+
+public:
+ PropertyEditorManager();
+ static void registerEditor(::java::lang::Class *, ::java::lang::Class *);
+ static ::java::beans::PropertyEditor * findEditor(::java::lang::Class *);
+ static JArray< ::java::lang::String * > * getEditorSearchPath();
+ static void setEditorSearchPath(JArray< ::java::lang::String * > *);
+public: // actually package-private
+ static ::java::util::Hashtable * editors;
+ static JArray< ::java::lang::String * > * editorSearchPath;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_beans_PropertyEditorManager__
diff --git a/libjava/java/beans/PropertyEditorSupport.h b/libjava/java/beans/PropertyEditorSupport.h
new file mode 100644
index 0000000..6250051
--- /dev/null
+++ b/libjava/java/beans/PropertyEditorSupport.h
@@ -0,0 +1,60 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_beans_PropertyEditorSupport__
+#define __java_beans_PropertyEditorSupport__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Component;
+ class Graphics;
+ class Rectangle;
+ }
+ namespace beans
+ {
+ class PropertyChangeListener;
+ class PropertyChangeSupport;
+ class PropertyEditorSupport;
+ }
+ }
+}
+
+class java::beans::PropertyEditorSupport : public ::java::lang::Object
+{
+
+public:
+ PropertyEditorSupport();
+ PropertyEditorSupport(::java::lang::Object *);
+ virtual void setValue(::java::lang::Object *);
+ virtual ::java::lang::Object * getValue();
+ virtual jboolean isPaintable();
+ virtual void paintValue(::java::awt::Graphics *, ::java::awt::Rectangle *);
+ virtual ::java::lang::String * getJavaInitializationString();
+ virtual ::java::lang::String * getAsText();
+ virtual void setAsText(::java::lang::String *);
+ virtual JArray< ::java::lang::String * > * getTags();
+ virtual ::java::awt::Component * getCustomEditor();
+ virtual jboolean supportsCustomEditor();
+ virtual void addPropertyChangeListener(::java::beans::PropertyChangeListener *);
+ virtual void removePropertyChangeListener(::java::beans::PropertyChangeListener *);
+ virtual void firePropertyChange();
+ virtual ::java::lang::Object * getSource();
+ virtual void setSource(::java::lang::Object *);
+public: // actually package-private
+ ::java::lang::Object * __attribute__((aligned(__alignof__( ::java::lang::Object)))) eventSource;
+ ::java::lang::Object * value;
+ ::java::beans::PropertyChangeSupport * pSupport;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_beans_PropertyEditorSupport__
diff --git a/libjava/java/beans/PropertyVetoException.h b/libjava/java/beans/PropertyVetoException.h
new file mode 100644
index 0000000..7de4006
--- /dev/null
+++ b/libjava/java/beans/PropertyVetoException.h
@@ -0,0 +1,35 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_beans_PropertyVetoException__
+#define __java_beans_PropertyVetoException__
+
+#pragma interface
+
+#include <java/lang/Exception.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace beans
+ {
+ class PropertyChangeEvent;
+ class PropertyVetoException;
+ }
+ }
+}
+
+class java::beans::PropertyVetoException : public ::java::lang::Exception
+{
+
+public:
+ PropertyVetoException(::java::lang::String *, ::java::beans::PropertyChangeEvent *);
+ virtual ::java::beans::PropertyChangeEvent * getPropertyChangeEvent();
+private:
+ static const jlong serialVersionUID = 129596057694162164LL;
+ ::java::beans::PropertyChangeEvent * __attribute__((aligned(__alignof__( ::java::lang::Exception)))) evt;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_beans_PropertyVetoException__
diff --git a/libjava/java/beans/SimpleBeanInfo.h b/libjava/java/beans/SimpleBeanInfo.h
new file mode 100644
index 0000000..ea77e47
--- /dev/null
+++ b/libjava/java/beans/SimpleBeanInfo.h
@@ -0,0 +1,49 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_beans_SimpleBeanInfo__
+#define __java_beans_SimpleBeanInfo__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Image;
+ }
+ namespace beans
+ {
+ class BeanDescriptor;
+ class BeanInfo;
+ class EventSetDescriptor;
+ class MethodDescriptor;
+ class PropertyDescriptor;
+ class SimpleBeanInfo;
+ }
+ }
+}
+
+class java::beans::SimpleBeanInfo : public ::java::lang::Object
+{
+
+public:
+ SimpleBeanInfo();
+ virtual ::java::beans::BeanDescriptor * getBeanDescriptor();
+ virtual JArray< ::java::beans::EventSetDescriptor * > * getEventSetDescriptors();
+ virtual jint getDefaultEventIndex();
+ virtual JArray< ::java::beans::PropertyDescriptor * > * getPropertyDescriptors();
+ virtual jint getDefaultPropertyIndex();
+ virtual JArray< ::java::beans::MethodDescriptor * > * getMethodDescriptors();
+ virtual JArray< ::java::beans::BeanInfo * > * getAdditionalBeanInfo();
+ virtual ::java::awt::Image * getIcon(jint);
+ virtual ::java::awt::Image * loadImage(::java::lang::String *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_beans_SimpleBeanInfo__
diff --git a/libjava/java/beans/Statement.h b/libjava/java/beans/Statement.h
new file mode 100644
index 0000000..3df8477
--- /dev/null
+++ b/libjava/java/beans/Statement.h
@@ -0,0 +1,52 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_beans_Statement__
+#define __java_beans_Statement__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace beans
+ {
+ class Statement;
+ }
+ }
+}
+
+class java::beans::Statement : public ::java::lang::Object
+{
+
+public:
+ Statement(::java::lang::Object *, ::java::lang::String *, JArray< ::java::lang::Object * > *);
+ virtual void execute();
+private:
+ ::java::lang::Class * unwrap(::java::lang::Class *);
+ jboolean compatible(JArray< ::java::lang::Class * > *, JArray< ::java::lang::Class * > *);
+ jboolean moreSpecific(JArray< ::java::lang::Class * > *, JArray< ::java::lang::Class * > *);
+public: // actually package-private
+ virtual ::java::lang::Object * doExecute();
+public:
+ virtual JArray< ::java::lang::Object * > * getArguments();
+ virtual ::java::lang::String * getMethodName();
+ virtual ::java::lang::Object * getTarget();
+ virtual ::java::lang::String * toString();
+private:
+ ::java::lang::Object * __attribute__((aligned(__alignof__( ::java::lang::Object)))) target;
+ ::java::lang::String * methodName;
+ JArray< ::java::lang::Object * > * arguments;
+ ::java::lang::reflect::Method * method;
+ ::java::lang::reflect::Constructor * ctor;
+ static JArray< ::java::lang::Class * > * wrappers;
+ static JArray< ::java::lang::Class * > * natives;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_beans_Statement__
diff --git a/libjava/java/beans/VetoableChangeListener.h b/libjava/java/beans/VetoableChangeListener.h
new file mode 100644
index 0000000..2bf9d1d
--- /dev/null
+++ b/libjava/java/beans/VetoableChangeListener.h
@@ -0,0 +1,30 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_beans_VetoableChangeListener__
+#define __java_beans_VetoableChangeListener__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace beans
+ {
+ class PropertyChangeEvent;
+ class VetoableChangeListener;
+ }
+ }
+}
+
+class java::beans::VetoableChangeListener : public ::java::lang::Object
+{
+
+public:
+ virtual void vetoableChange(::java::beans::PropertyChangeEvent *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_beans_VetoableChangeListener__
diff --git a/libjava/java/beans/VetoableChangeListenerProxy.h b/libjava/java/beans/VetoableChangeListenerProxy.h
new file mode 100644
index 0000000..f713ac4
--- /dev/null
+++ b/libjava/java/beans/VetoableChangeListenerProxy.h
@@ -0,0 +1,36 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_beans_VetoableChangeListenerProxy__
+#define __java_beans_VetoableChangeListenerProxy__
+
+#pragma interface
+
+#include <java/util/EventListenerProxy.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace beans
+ {
+ class PropertyChangeEvent;
+ class VetoableChangeListener;
+ class VetoableChangeListenerProxy;
+ }
+ }
+}
+
+class java::beans::VetoableChangeListenerProxy : public ::java::util::EventListenerProxy
+{
+
+public:
+ VetoableChangeListenerProxy(::java::lang::String *, ::java::beans::VetoableChangeListener *);
+ virtual void vetoableChange(::java::beans::PropertyChangeEvent *);
+ virtual ::java::lang::String * getPropertyName();
+public: // actually package-private
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::util::EventListenerProxy)))) propertyName;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_beans_VetoableChangeListenerProxy__
diff --git a/libjava/java/beans/VetoableChangeSupport.h b/libjava/java/beans/VetoableChangeSupport.h
new file mode 100644
index 0000000..9dfdbc5
--- /dev/null
+++ b/libjava/java/beans/VetoableChangeSupport.h
@@ -0,0 +1,53 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_beans_VetoableChangeSupport__
+#define __java_beans_VetoableChangeSupport__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace beans
+ {
+ class PropertyChangeEvent;
+ class VetoableChangeListener;
+ class VetoableChangeSupport;
+ }
+ }
+}
+
+class java::beans::VetoableChangeSupport : public ::java::lang::Object
+{
+
+public:
+ VetoableChangeSupport(::java::lang::Object *);
+ virtual void addVetoableChangeListener(::java::beans::VetoableChangeListener *);
+ virtual void removeVetoableChangeListener(::java::beans::VetoableChangeListener *);
+ virtual JArray< ::java::beans::VetoableChangeListener * > * getVetoableChangeListeners();
+ virtual void addVetoableChangeListener(::java::lang::String *, ::java::beans::VetoableChangeListener *);
+ virtual void removeVetoableChangeListener(::java::lang::String *, ::java::beans::VetoableChangeListener *);
+ virtual JArray< ::java::beans::VetoableChangeListener * > * getVetoableChangeListeners(::java::lang::String *);
+ virtual void fireVetoableChange(::java::lang::String *, ::java::lang::Object *, ::java::lang::Object *);
+ virtual void fireVetoableChange(::java::lang::String *, jint, jint);
+ virtual void fireVetoableChange(::java::lang::String *, jboolean, jboolean);
+ virtual void fireVetoableChange(::java::beans::PropertyChangeEvent *);
+ virtual jboolean hasListeners(::java::lang::String *);
+private:
+ void writeObject(::java::io::ObjectOutputStream *);
+ void readObject(::java::io::ObjectInputStream *);
+ static const jlong serialVersionUID = -5090210921595982017LL;
+ ::java::util::Hashtable * __attribute__((aligned(__alignof__( ::java::lang::Object)))) children;
+ ::java::lang::Object * source;
+ static const jint vetoableChangeSupportSerializedDataVersion = 2;
+ ::java::util::Vector * listeners;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_beans_VetoableChangeSupport__
diff --git a/libjava/java/beans/Visibility.h b/libjava/java/beans/Visibility.h
new file mode 100644
index 0000000..df5f7a6
--- /dev/null
+++ b/libjava/java/beans/Visibility.h
@@ -0,0 +1,32 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_beans_Visibility__
+#define __java_beans_Visibility__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace beans
+ {
+ class Visibility;
+ }
+ }
+}
+
+class java::beans::Visibility : public ::java::lang::Object
+{
+
+public:
+ virtual jboolean needsGui() = 0;
+ virtual jboolean avoidingGui() = 0;
+ virtual void dontUseGui() = 0;
+ virtual void okToUseGui() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_beans_Visibility__
diff --git a/libjava/java/beans/XMLDecoder.h b/libjava/java/beans/XMLDecoder.h
new file mode 100644
index 0000000..f5055c4
--- /dev/null
+++ b/libjava/java/beans/XMLDecoder.h
@@ -0,0 +1,47 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_beans_XMLDecoder__
+#define __java_beans_XMLDecoder__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace beans
+ {
+ class ExceptionListener;
+ class XMLDecoder;
+ }
+ }
+}
+
+class java::beans::XMLDecoder : public ::java::lang::Object
+{
+
+public:
+ XMLDecoder(::java::io::InputStream *);
+ XMLDecoder(::java::io::InputStream *, ::java::lang::Object *);
+ XMLDecoder(::java::io::InputStream *, ::java::lang::Object *, ::java::beans::ExceptionListener *);
+ XMLDecoder(::java::io::InputStream *, ::java::lang::Object *, ::java::beans::ExceptionListener *, ::java::lang::ClassLoader *);
+ virtual void close();
+ virtual ::java::beans::ExceptionListener * getExceptionListener();
+ virtual ::java::lang::Object * getOwner();
+ virtual ::java::lang::Object * readObject();
+ virtual void setExceptionListener(::java::beans::ExceptionListener *);
+ virtual void setOwner(::java::lang::Object *);
+private:
+ ::java::lang::Object * __attribute__((aligned(__alignof__( ::java::lang::Object)))) owner;
+ ::java::beans::ExceptionListener * exceptionListener;
+ ::java::io::InputStream * inputStream;
+ jboolean isStreamClosed;
+ ::java::lang::ClassLoader * classLoader;
+ ::java::util::Iterator * iterator;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_beans_XMLDecoder__
diff --git a/libjava/java/beans/XMLEncoder.h b/libjava/java/beans/XMLEncoder.h
new file mode 100644
index 0000000..3a6e01d
--- /dev/null
+++ b/libjava/java/beans/XMLEncoder.h
@@ -0,0 +1,58 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_beans_XMLEncoder__
+#define __java_beans_XMLEncoder__
+
+#pragma interface
+
+#include <java/beans/Encoder.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace beans
+ {
+ namespace encoder
+ {
+ class ScanEngine;
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace beans
+ {
+ class Expression;
+ class Statement;
+ class XMLEncoder;
+ }
+ }
+}
+
+class java::beans::XMLEncoder : public ::java::beans::Encoder
+{
+
+public:
+ XMLEncoder(::java::io::OutputStream *);
+ virtual void close();
+ virtual void flush();
+ virtual void writeExpression(::java::beans::Expression *);
+ virtual void writeStatement(::java::beans::Statement *);
+ virtual void writeObject(::java::lang::Object *);
+ virtual void setOwner(::java::lang::Object *);
+ virtual ::java::lang::Object * getOwner();
+public: // actually package-private
+ ::java::lang::Object * __attribute__((aligned(__alignof__( ::java::beans::Encoder)))) owner;
+ ::java::lang::Exception * exception;
+ ::gnu::java::beans::encoder::ScanEngine * scanEngine;
+private:
+ jint accessCounter;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_beans_XMLEncoder__
diff --git a/libjava/java/beans/beancontext/BeanContext.h b/libjava/java/beans/beancontext/BeanContext.h
new file mode 100644
index 0000000..e9935e0
--- /dev/null
+++ b/libjava/java/beans/beancontext/BeanContext.h
@@ -0,0 +1,72 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_beans_beancontext_BeanContext__
+#define __java_beans_beancontext_BeanContext__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace beans
+ {
+ class PropertyChangeListener;
+ class VetoableChangeListener;
+ namespace beancontext
+ {
+ class BeanContext;
+ class BeanContextChild;
+ class BeanContextMembershipListener;
+ }
+ }
+ namespace net
+ {
+ class URL;
+ }
+ }
+}
+
+class java::beans::beancontext::BeanContext : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::lang::Object * instantiateChild(::java::lang::String *) = 0;
+ virtual ::java::net::URL * getResource(::java::lang::String *, ::java::beans::beancontext::BeanContextChild *) = 0;
+ virtual ::java::io::InputStream * getResourceAsStream(::java::lang::String *, ::java::beans::beancontext::BeanContextChild *) = 0;
+ virtual void addBeanContextMembershipListener(::java::beans::beancontext::BeanContextMembershipListener *) = 0;
+ virtual void removeBeanContextMembershipListener(::java::beans::beancontext::BeanContextMembershipListener *) = 0;
+ virtual jboolean add(::java::lang::Object *) = 0;
+ virtual jboolean addAll(::java::util::Collection *) = 0;
+ virtual void clear() = 0;
+ virtual jboolean contains(::java::lang::Object *) = 0;
+ virtual jboolean containsAll(::java::util::Collection *) = 0;
+ virtual jboolean isEmpty() = 0;
+ virtual ::java::util::Iterator * iterator() = 0;
+ virtual jboolean remove(::java::lang::Object *) = 0;
+ virtual jboolean removeAll(::java::util::Collection *) = 0;
+ virtual jboolean retainAll(::java::util::Collection *) = 0;
+ virtual jint size() = 0;
+ virtual JArray< ::java::lang::Object * > * toArray() = 0;
+ virtual JArray< ::java::lang::Object * > * toArray(JArray< ::java::lang::Object * > *) = 0;
+ virtual void setBeanContext(::java::beans::beancontext::BeanContext *) = 0;
+ virtual ::java::beans::beancontext::BeanContext * getBeanContext() = 0;
+ virtual void addPropertyChangeListener(::java::lang::String *, ::java::beans::PropertyChangeListener *) = 0;
+ virtual void removePropertyChangeListener(::java::lang::String *, ::java::beans::PropertyChangeListener *) = 0;
+ virtual void addVetoableChangeListener(::java::lang::String *, ::java::beans::VetoableChangeListener *) = 0;
+ virtual void removeVetoableChangeListener(::java::lang::String *, ::java::beans::VetoableChangeListener *) = 0;
+ virtual jboolean needsGui() = 0;
+ virtual jboolean avoidingGui() = 0;
+ virtual void dontUseGui() = 0;
+ virtual void okToUseGui() = 0;
+ virtual void setDesignTime(jboolean) = 0;
+ virtual jboolean isDesignTime() = 0;
+ static ::java::lang::Object * globalHierarchyLock;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_beans_beancontext_BeanContext__
diff --git a/libjava/java/beans/beancontext/BeanContextChild.h b/libjava/java/beans/beancontext/BeanContextChild.h
new file mode 100644
index 0000000..0e1c868
--- /dev/null
+++ b/libjava/java/beans/beancontext/BeanContextChild.h
@@ -0,0 +1,40 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_beans_beancontext_BeanContextChild__
+#define __java_beans_beancontext_BeanContextChild__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace beans
+ {
+ class PropertyChangeListener;
+ class VetoableChangeListener;
+ namespace beancontext
+ {
+ class BeanContext;
+ class BeanContextChild;
+ }
+ }
+ }
+}
+
+class java::beans::beancontext::BeanContextChild : public ::java::lang::Object
+{
+
+public:
+ virtual void setBeanContext(::java::beans::beancontext::BeanContext *) = 0;
+ virtual ::java::beans::beancontext::BeanContext * getBeanContext() = 0;
+ virtual void addPropertyChangeListener(::java::lang::String *, ::java::beans::PropertyChangeListener *) = 0;
+ virtual void removePropertyChangeListener(::java::lang::String *, ::java::beans::PropertyChangeListener *) = 0;
+ virtual void addVetoableChangeListener(::java::lang::String *, ::java::beans::VetoableChangeListener *) = 0;
+ virtual void removeVetoableChangeListener(::java::lang::String *, ::java::beans::VetoableChangeListener *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_beans_beancontext_BeanContextChild__
diff --git a/libjava/java/beans/beancontext/BeanContextChildComponentProxy.h b/libjava/java/beans/beancontext/BeanContextChildComponentProxy.h
new file mode 100644
index 0000000..7e51566
--- /dev/null
+++ b/libjava/java/beans/beancontext/BeanContextChildComponentProxy.h
@@ -0,0 +1,36 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_beans_beancontext_BeanContextChildComponentProxy__
+#define __java_beans_beancontext_BeanContextChildComponentProxy__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Component;
+ }
+ namespace beans
+ {
+ namespace beancontext
+ {
+ class BeanContextChildComponentProxy;
+ }
+ }
+ }
+}
+
+class java::beans::beancontext::BeanContextChildComponentProxy : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::awt::Component * getComponent() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_beans_beancontext_BeanContextChildComponentProxy__
diff --git a/libjava/java/beans/beancontext/BeanContextChildSupport.h b/libjava/java/beans/beancontext/BeanContextChildSupport.h
new file mode 100644
index 0000000..646217b
--- /dev/null
+++ b/libjava/java/beans/beancontext/BeanContextChildSupport.h
@@ -0,0 +1,67 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_beans_beancontext_BeanContextChildSupport__
+#define __java_beans_beancontext_BeanContextChildSupport__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace beans
+ {
+ class PropertyChangeListener;
+ class PropertyChangeSupport;
+ class VetoableChangeListener;
+ class VetoableChangeSupport;
+ namespace beancontext
+ {
+ class BeanContext;
+ class BeanContextChild;
+ class BeanContextChildSupport;
+ class BeanContextServiceAvailableEvent;
+ class BeanContextServiceRevokedEvent;
+ }
+ }
+ }
+}
+
+class java::beans::beancontext::BeanContextChildSupport : public ::java::lang::Object
+{
+
+public:
+ BeanContextChildSupport();
+ BeanContextChildSupport(::java::beans::beancontext::BeanContextChild *);
+ virtual void setBeanContext(::java::beans::beancontext::BeanContext *);
+ virtual ::java::beans::beancontext::BeanContext * getBeanContext();
+ virtual ::java::beans::beancontext::BeanContextChild * getBeanContextChildPeer();
+ virtual jboolean isDelegated();
+ virtual void addPropertyChangeListener(::java::lang::String *, ::java::beans::PropertyChangeListener *);
+ virtual void removePropertyChangeListener(::java::lang::String *, ::java::beans::PropertyChangeListener *);
+ virtual void addVetoableChangeListener(::java::lang::String *, ::java::beans::VetoableChangeListener *);
+ virtual void removeVetoableChangeListener(::java::lang::String *, ::java::beans::VetoableChangeListener *);
+ virtual void firePropertyChange(::java::lang::String *, ::java::lang::Object *, ::java::lang::Object *);
+ virtual void fireVetoableChange(::java::lang::String *, ::java::lang::Object *, ::java::lang::Object *);
+ virtual void serviceRevoked(::java::beans::beancontext::BeanContextServiceRevokedEvent *);
+ virtual void serviceAvailable(::java::beans::beancontext::BeanContextServiceAvailableEvent *);
+ virtual jboolean validatePendingSetBeanContext(::java::beans::beancontext::BeanContext *);
+public: // actually protected
+ virtual void releaseBeanContextResources();
+ virtual void initializeBeanContextResources();
+public: // actually package-private
+ static const jlong serialVersionUID = 6328947014421475877LL;
+public:
+ ::java::beans::beancontext::BeanContextChild * __attribute__((aligned(__alignof__( ::java::lang::Object)))) beanContextChildPeer;
+public: // actually protected
+ ::java::beans::beancontext::BeanContext * beanContext;
+ jboolean rejectedSetBCOnce;
+ ::java::beans::PropertyChangeSupport * pcSupport;
+ ::java::beans::VetoableChangeSupport * vcSupport;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_beans_beancontext_BeanContextChildSupport__
diff --git a/libjava/java/beans/beancontext/BeanContextContainerProxy.h b/libjava/java/beans/beancontext/BeanContextContainerProxy.h
new file mode 100644
index 0000000..c3574f5
--- /dev/null
+++ b/libjava/java/beans/beancontext/BeanContextContainerProxy.h
@@ -0,0 +1,36 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_beans_beancontext_BeanContextContainerProxy__
+#define __java_beans_beancontext_BeanContextContainerProxy__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Container;
+ }
+ namespace beans
+ {
+ namespace beancontext
+ {
+ class BeanContextContainerProxy;
+ }
+ }
+ }
+}
+
+class java::beans::beancontext::BeanContextContainerProxy : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::awt::Container * getContainer() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_beans_beancontext_BeanContextContainerProxy__
diff --git a/libjava/java/beans/beancontext/BeanContextEvent.h b/libjava/java/beans/beancontext/BeanContextEvent.h
new file mode 100644
index 0000000..a74c1da
--- /dev/null
+++ b/libjava/java/beans/beancontext/BeanContextEvent.h
@@ -0,0 +1,43 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_beans_beancontext_BeanContextEvent__
+#define __java_beans_beancontext_BeanContextEvent__
+
+#pragma interface
+
+#include <java/util/EventObject.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace beans
+ {
+ namespace beancontext
+ {
+ class BeanContext;
+ class BeanContextEvent;
+ }
+ }
+ }
+}
+
+class java::beans::beancontext::BeanContextEvent : public ::java::util::EventObject
+{
+
+public: // actually protected
+ BeanContextEvent(::java::beans::beancontext::BeanContext *);
+public:
+ virtual ::java::beans::beancontext::BeanContext * getBeanContext();
+ virtual ::java::beans::beancontext::BeanContext * getPropagatedFrom();
+ virtual jboolean isPropagated();
+ virtual void setPropagatedFrom(::java::beans::beancontext::BeanContext *);
+private:
+ static const jlong serialVersionUID = 7267998073569045052LL;
+public: // actually protected
+ ::java::beans::beancontext::BeanContext * __attribute__((aligned(__alignof__( ::java::util::EventObject)))) propagatedFrom;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_beans_beancontext_BeanContextEvent__
diff --git a/libjava/java/beans/beancontext/BeanContextMembershipEvent.h b/libjava/java/beans/beancontext/BeanContextMembershipEvent.h
new file mode 100644
index 0000000..8b6c933
--- /dev/null
+++ b/libjava/java/beans/beancontext/BeanContextMembershipEvent.h
@@ -0,0 +1,45 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_beans_beancontext_BeanContextMembershipEvent__
+#define __java_beans_beancontext_BeanContextMembershipEvent__
+
+#pragma interface
+
+#include <java/beans/beancontext/BeanContextEvent.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace beans
+ {
+ namespace beancontext
+ {
+ class BeanContext;
+ class BeanContextMembershipEvent;
+ }
+ }
+ }
+}
+
+class java::beans::beancontext::BeanContextMembershipEvent : public ::java::beans::beancontext::BeanContextEvent
+{
+
+public:
+ BeanContextMembershipEvent(::java::beans::beancontext::BeanContext *, ::java::util::Collection *);
+ BeanContextMembershipEvent(::java::beans::beancontext::BeanContext *, JArray< ::java::lang::Object * > *);
+ virtual jint size();
+ virtual ::java::util::Iterator * iterator();
+ virtual JArray< ::java::lang::Object * > * toArray();
+ virtual jboolean contains(::java::lang::Object *);
+private:
+ static const jlong serialVersionUID = 3499346510334590959LL;
+public: // actually protected
+ ::java::util::Collection * __attribute__((aligned(__alignof__( ::java::beans::beancontext::BeanContextEvent)))) children;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_beans_beancontext_BeanContextMembershipEvent__
diff --git a/libjava/java/beans/beancontext/BeanContextMembershipListener.h b/libjava/java/beans/beancontext/BeanContextMembershipListener.h
new file mode 100644
index 0000000..89efed8
--- /dev/null
+++ b/libjava/java/beans/beancontext/BeanContextMembershipListener.h
@@ -0,0 +1,34 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_beans_beancontext_BeanContextMembershipListener__
+#define __java_beans_beancontext_BeanContextMembershipListener__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace beans
+ {
+ namespace beancontext
+ {
+ class BeanContextMembershipEvent;
+ class BeanContextMembershipListener;
+ }
+ }
+ }
+}
+
+class java::beans::beancontext::BeanContextMembershipListener : public ::java::lang::Object
+{
+
+public:
+ virtual void childrenAdded(::java::beans::beancontext::BeanContextMembershipEvent *) = 0;
+ virtual void childrenRemoved(::java::beans::beancontext::BeanContextMembershipEvent *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_beans_beancontext_BeanContextMembershipListener__
diff --git a/libjava/java/beans/beancontext/BeanContextProxy.h b/libjava/java/beans/beancontext/BeanContextProxy.h
new file mode 100644
index 0000000..3d18c0a
--- /dev/null
+++ b/libjava/java/beans/beancontext/BeanContextProxy.h
@@ -0,0 +1,33 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_beans_beancontext_BeanContextProxy__
+#define __java_beans_beancontext_BeanContextProxy__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace beans
+ {
+ namespace beancontext
+ {
+ class BeanContextChild;
+ class BeanContextProxy;
+ }
+ }
+ }
+}
+
+class java::beans::beancontext::BeanContextProxy : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::beans::beancontext::BeanContextChild * getBeanContextProxy() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_beans_beancontext_BeanContextProxy__
diff --git a/libjava/java/beans/beancontext/BeanContextServiceAvailableEvent.h b/libjava/java/beans/beancontext/BeanContextServiceAvailableEvent.h
new file mode 100644
index 0000000..7b69fe8
--- /dev/null
+++ b/libjava/java/beans/beancontext/BeanContextServiceAvailableEvent.h
@@ -0,0 +1,41 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_beans_beancontext_BeanContextServiceAvailableEvent__
+#define __java_beans_beancontext_BeanContextServiceAvailableEvent__
+
+#pragma interface
+
+#include <java/beans/beancontext/BeanContextEvent.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace beans
+ {
+ namespace beancontext
+ {
+ class BeanContextServiceAvailableEvent;
+ class BeanContextServices;
+ }
+ }
+ }
+}
+
+class java::beans::beancontext::BeanContextServiceAvailableEvent : public ::java::beans::beancontext::BeanContextEvent
+{
+
+public:
+ BeanContextServiceAvailableEvent(::java::beans::beancontext::BeanContextServices *, ::java::lang::Class *);
+ virtual ::java::util::Iterator * getCurrentServiceSelectors();
+ virtual ::java::lang::Class * getServiceClass();
+ virtual ::java::beans::beancontext::BeanContextServices * getSourceAsBeanContextServices();
+private:
+ static const jlong serialVersionUID = -5333985775656400778LL;
+public: // actually protected
+ ::java::lang::Class * __attribute__((aligned(__alignof__( ::java::beans::beancontext::BeanContextEvent)))) serviceClass;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_beans_beancontext_BeanContextServiceAvailableEvent__
diff --git a/libjava/java/beans/beancontext/BeanContextServiceProvider.h b/libjava/java/beans/beancontext/BeanContextServiceProvider.h
new file mode 100644
index 0000000..937bd5d
--- /dev/null
+++ b/libjava/java/beans/beancontext/BeanContextServiceProvider.h
@@ -0,0 +1,35 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_beans_beancontext_BeanContextServiceProvider__
+#define __java_beans_beancontext_BeanContextServiceProvider__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace beans
+ {
+ namespace beancontext
+ {
+ class BeanContextServiceProvider;
+ class BeanContextServices;
+ }
+ }
+ }
+}
+
+class java::beans::beancontext::BeanContextServiceProvider : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::lang::Object * getService(::java::beans::beancontext::BeanContextServices *, ::java::lang::Object *, ::java::lang::Class *, ::java::lang::Object *) = 0;
+ virtual void releaseService(::java::beans::beancontext::BeanContextServices *, ::java::lang::Object *, ::java::lang::Object *) = 0;
+ virtual ::java::util::Iterator * getCurrentServiceSelectors(::java::beans::beancontext::BeanContextServices *, ::java::lang::Class *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_beans_beancontext_BeanContextServiceProvider__
diff --git a/libjava/java/beans/beancontext/BeanContextServiceProviderBeanInfo.h b/libjava/java/beans/beancontext/BeanContextServiceProviderBeanInfo.h
new file mode 100644
index 0000000..952edd1
--- /dev/null
+++ b/libjava/java/beans/beancontext/BeanContextServiceProviderBeanInfo.h
@@ -0,0 +1,51 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_beans_beancontext_BeanContextServiceProviderBeanInfo__
+#define __java_beans_beancontext_BeanContextServiceProviderBeanInfo__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Image;
+ }
+ namespace beans
+ {
+ class BeanDescriptor;
+ class BeanInfo;
+ class EventSetDescriptor;
+ class MethodDescriptor;
+ class PropertyDescriptor;
+ namespace beancontext
+ {
+ class BeanContextServiceProviderBeanInfo;
+ }
+ }
+ }
+}
+
+class java::beans::beancontext::BeanContextServiceProviderBeanInfo : public ::java::lang::Object
+{
+
+public:
+ virtual JArray< ::java::beans::BeanInfo * > * getServicesBeanInfo() = 0;
+ virtual ::java::beans::BeanDescriptor * getBeanDescriptor() = 0;
+ virtual JArray< ::java::beans::EventSetDescriptor * > * getEventSetDescriptors() = 0;
+ virtual jint getDefaultEventIndex() = 0;
+ virtual JArray< ::java::beans::PropertyDescriptor * > * getPropertyDescriptors() = 0;
+ virtual jint getDefaultPropertyIndex() = 0;
+ virtual JArray< ::java::beans::MethodDescriptor * > * getMethodDescriptors() = 0;
+ virtual JArray< ::java::beans::BeanInfo * > * getAdditionalBeanInfo() = 0;
+ virtual ::java::awt::Image * getIcon(jint) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_beans_beancontext_BeanContextServiceProviderBeanInfo__
diff --git a/libjava/java/beans/beancontext/BeanContextServiceRevokedEvent.h b/libjava/java/beans/beancontext/BeanContextServiceRevokedEvent.h
new file mode 100644
index 0000000..700da3a
--- /dev/null
+++ b/libjava/java/beans/beancontext/BeanContextServiceRevokedEvent.h
@@ -0,0 +1,44 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_beans_beancontext_BeanContextServiceRevokedEvent__
+#define __java_beans_beancontext_BeanContextServiceRevokedEvent__
+
+#pragma interface
+
+#include <java/beans/beancontext/BeanContextEvent.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace beans
+ {
+ namespace beancontext
+ {
+ class BeanContextServiceRevokedEvent;
+ class BeanContextServices;
+ }
+ }
+ }
+}
+
+class java::beans::beancontext::BeanContextServiceRevokedEvent : public ::java::beans::beancontext::BeanContextEvent
+{
+
+public:
+ BeanContextServiceRevokedEvent(::java::beans::beancontext::BeanContextServices *, ::java::lang::Class *, jboolean);
+ virtual ::java::lang::Class * getServiceClass();
+ virtual jboolean isServiceClass(::java::lang::Class *);
+ virtual ::java::beans::beancontext::BeanContextServices * getSourceAsBeanContextServices();
+ virtual jboolean isCurrentServiceInvalidNow();
+private:
+ static const jlong serialVersionUID = -1295543154724961754LL;
+public: // actually protected
+ ::java::lang::Class * __attribute__((aligned(__alignof__( ::java::beans::beancontext::BeanContextEvent)))) serviceClass;
+private:
+ jboolean invalidateRefs;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_beans_beancontext_BeanContextServiceRevokedEvent__
diff --git a/libjava/java/beans/beancontext/BeanContextServiceRevokedListener.h b/libjava/java/beans/beancontext/BeanContextServiceRevokedListener.h
new file mode 100644
index 0000000..c74f48a
--- /dev/null
+++ b/libjava/java/beans/beancontext/BeanContextServiceRevokedListener.h
@@ -0,0 +1,33 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_beans_beancontext_BeanContextServiceRevokedListener__
+#define __java_beans_beancontext_BeanContextServiceRevokedListener__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace beans
+ {
+ namespace beancontext
+ {
+ class BeanContextServiceRevokedEvent;
+ class BeanContextServiceRevokedListener;
+ }
+ }
+ }
+}
+
+class java::beans::beancontext::BeanContextServiceRevokedListener : public ::java::lang::Object
+{
+
+public:
+ virtual void serviceRevoked(::java::beans::beancontext::BeanContextServiceRevokedEvent *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_beans_beancontext_BeanContextServiceRevokedListener__
diff --git a/libjava/java/beans/beancontext/BeanContextServices.h b/libjava/java/beans/beancontext/BeanContextServices.h
new file mode 100644
index 0000000..fd67419
--- /dev/null
+++ b/libjava/java/beans/beancontext/BeanContextServices.h
@@ -0,0 +1,88 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_beans_beancontext_BeanContextServices__
+#define __java_beans_beancontext_BeanContextServices__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace beans
+ {
+ class PropertyChangeListener;
+ class VetoableChangeListener;
+ namespace beancontext
+ {
+ class BeanContext;
+ class BeanContextChild;
+ class BeanContextMembershipListener;
+ class BeanContextServiceAvailableEvent;
+ class BeanContextServiceProvider;
+ class BeanContextServiceRevokedEvent;
+ class BeanContextServiceRevokedListener;
+ class BeanContextServices;
+ class BeanContextServicesListener;
+ }
+ }
+ namespace net
+ {
+ class URL;
+ }
+ }
+}
+
+class java::beans::beancontext::BeanContextServices : public ::java::lang::Object
+{
+
+public:
+ virtual jboolean addService(::java::lang::Class *, ::java::beans::beancontext::BeanContextServiceProvider *) = 0;
+ virtual void revokeService(::java::lang::Class *, ::java::beans::beancontext::BeanContextServiceProvider *, jboolean) = 0;
+ virtual void releaseService(::java::beans::beancontext::BeanContextChild *, ::java::lang::Object *, ::java::lang::Object *) = 0;
+ virtual ::java::lang::Object * getService(::java::beans::beancontext::BeanContextChild *, ::java::lang::Object *, ::java::lang::Class *, ::java::lang::Object *, ::java::beans::beancontext::BeanContextServiceRevokedListener *) = 0;
+ virtual ::java::util::Iterator * getCurrentServiceClasses() = 0;
+ virtual ::java::util::Iterator * getCurrentServiceSelectors(::java::lang::Class *) = 0;
+ virtual jboolean hasService(::java::lang::Class *) = 0;
+ virtual void addBeanContextServicesListener(::java::beans::beancontext::BeanContextServicesListener *) = 0;
+ virtual void removeBeanContextServicesListener(::java::beans::beancontext::BeanContextServicesListener *) = 0;
+ virtual ::java::lang::Object * instantiateChild(::java::lang::String *) = 0;
+ virtual ::java::net::URL * getResource(::java::lang::String *, ::java::beans::beancontext::BeanContextChild *) = 0;
+ virtual ::java::io::InputStream * getResourceAsStream(::java::lang::String *, ::java::beans::beancontext::BeanContextChild *) = 0;
+ virtual void addBeanContextMembershipListener(::java::beans::beancontext::BeanContextMembershipListener *) = 0;
+ virtual void removeBeanContextMembershipListener(::java::beans::beancontext::BeanContextMembershipListener *) = 0;
+ virtual jboolean add(::java::lang::Object *) = 0;
+ virtual jboolean addAll(::java::util::Collection *) = 0;
+ virtual void clear() = 0;
+ virtual jboolean contains(::java::lang::Object *) = 0;
+ virtual jboolean containsAll(::java::util::Collection *) = 0;
+ virtual jboolean isEmpty() = 0;
+ virtual ::java::util::Iterator * iterator() = 0;
+ virtual jboolean remove(::java::lang::Object *) = 0;
+ virtual jboolean removeAll(::java::util::Collection *) = 0;
+ virtual jboolean retainAll(::java::util::Collection *) = 0;
+ virtual jint size() = 0;
+ virtual JArray< ::java::lang::Object * > * toArray() = 0;
+ virtual JArray< ::java::lang::Object * > * toArray(JArray< ::java::lang::Object * > *) = 0;
+ virtual void setBeanContext(::java::beans::beancontext::BeanContext *) = 0;
+ virtual ::java::beans::beancontext::BeanContext * getBeanContext() = 0;
+ virtual void addPropertyChangeListener(::java::lang::String *, ::java::beans::PropertyChangeListener *) = 0;
+ virtual void removePropertyChangeListener(::java::lang::String *, ::java::beans::PropertyChangeListener *) = 0;
+ virtual void addVetoableChangeListener(::java::lang::String *, ::java::beans::VetoableChangeListener *) = 0;
+ virtual void removeVetoableChangeListener(::java::lang::String *, ::java::beans::VetoableChangeListener *) = 0;
+ virtual jboolean needsGui() = 0;
+ virtual jboolean avoidingGui() = 0;
+ virtual void dontUseGui() = 0;
+ virtual void okToUseGui() = 0;
+ virtual void setDesignTime(jboolean) = 0;
+ virtual jboolean isDesignTime() = 0;
+ virtual void serviceAvailable(::java::beans::beancontext::BeanContextServiceAvailableEvent *) = 0;
+ virtual void serviceRevoked(::java::beans::beancontext::BeanContextServiceRevokedEvent *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_beans_beancontext_BeanContextServices__
diff --git a/libjava/java/beans/beancontext/BeanContextServicesListener.h b/libjava/java/beans/beancontext/BeanContextServicesListener.h
new file mode 100644
index 0000000..2be3753
--- /dev/null
+++ b/libjava/java/beans/beancontext/BeanContextServicesListener.h
@@ -0,0 +1,35 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_beans_beancontext_BeanContextServicesListener__
+#define __java_beans_beancontext_BeanContextServicesListener__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace beans
+ {
+ namespace beancontext
+ {
+ class BeanContextServiceAvailableEvent;
+ class BeanContextServiceRevokedEvent;
+ class BeanContextServicesListener;
+ }
+ }
+ }
+}
+
+class java::beans::beancontext::BeanContextServicesListener : public ::java::lang::Object
+{
+
+public:
+ virtual void serviceAvailable(::java::beans::beancontext::BeanContextServiceAvailableEvent *) = 0;
+ virtual void serviceRevoked(::java::beans::beancontext::BeanContextServiceRevokedEvent *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_beans_beancontext_BeanContextServicesListener__
diff --git a/libjava/java/beans/beancontext/BeanContextServicesSupport$BCSSChild.h b/libjava/java/beans/beancontext/BeanContextServicesSupport$BCSSChild.h
new file mode 100644
index 0000000..d74827c
--- /dev/null
+++ b/libjava/java/beans/beancontext/BeanContextServicesSupport$BCSSChild.h
@@ -0,0 +1,38 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_beans_beancontext_BeanContextServicesSupport$BCSSChild__
+#define __java_beans_beancontext_BeanContextServicesSupport$BCSSChild__
+
+#pragma interface
+
+#include <java/beans/beancontext/BeanContextSupport$BCSChild.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace beans
+ {
+ namespace beancontext
+ {
+ class BeanContextServicesSupport;
+ class BeanContextServicesSupport$BCSSChild;
+ }
+ }
+ }
+}
+
+class java::beans::beancontext::BeanContextServicesSupport$BCSSChild : public ::java::beans::beancontext::BeanContextSupport$BCSChild
+{
+
+public: // actually package-private
+ BeanContextServicesSupport$BCSSChild(::java::beans::beancontext::BeanContextServicesSupport *, ::java::lang::Object *, ::java::lang::Object *);
+private:
+ static const jlong serialVersionUID = -3263851306889194873LL;
+public: // actually package-private
+ ::java::beans::beancontext::BeanContextServicesSupport * __attribute__((aligned(__alignof__( ::java::beans::beancontext::BeanContextSupport$BCSChild)))) this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_beans_beancontext_BeanContextServicesSupport$BCSSChild__
diff --git a/libjava/java/beans/beancontext/BeanContextServicesSupport$BCSSProxyServiceProvider.h b/libjava/java/beans/beancontext/BeanContextServicesSupport$BCSSProxyServiceProvider.h
new file mode 100644
index 0000000..f5b8392
--- /dev/null
+++ b/libjava/java/beans/beancontext/BeanContextServicesSupport$BCSSProxyServiceProvider.h
@@ -0,0 +1,46 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_beans_beancontext_BeanContextServicesSupport$BCSSProxyServiceProvider__
+#define __java_beans_beancontext_BeanContextServicesSupport$BCSSProxyServiceProvider__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace beans
+ {
+ namespace beancontext
+ {
+ class BeanContextServiceProvider;
+ class BeanContextServiceRevokedEvent;
+ class BeanContextServices;
+ class BeanContextServicesSupport;
+ class BeanContextServicesSupport$BCSSProxyServiceProvider;
+ }
+ }
+ }
+}
+
+class java::beans::beancontext::BeanContextServicesSupport$BCSSProxyServiceProvider : public ::java::lang::Object
+{
+
+ BeanContextServicesSupport$BCSSProxyServiceProvider(::java::beans::beancontext::BeanContextServicesSupport *, ::java::beans::beancontext::BeanContextServiceProvider *);
+public:
+ virtual ::java::util::Iterator * getCurrentServiceSelectors(::java::beans::beancontext::BeanContextServices *, ::java::lang::Class *);
+ virtual ::java::lang::Object * getService(::java::beans::beancontext::BeanContextServices *, ::java::lang::Object *, ::java::lang::Class *, ::java::lang::Object *);
+ virtual void releaseService(::java::beans::beancontext::BeanContextServices *, ::java::lang::Object *, ::java::lang::Object *);
+ virtual void serviceRevoked(::java::beans::beancontext::BeanContextServiceRevokedEvent *);
+private:
+ static const jlong serialVersionUID = 7078212910685744490LL;
+ ::java::beans::beancontext::BeanContextServiceProvider * __attribute__((aligned(__alignof__( ::java::lang::Object)))) provider;
+public: // actually package-private
+ ::java::beans::beancontext::BeanContextServicesSupport * this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_beans_beancontext_BeanContextServicesSupport$BCSSProxyServiceProvider__
diff --git a/libjava/java/beans/beancontext/BeanContextServicesSupport$BCSSServiceProvider.h b/libjava/java/beans/beancontext/BeanContextServicesSupport$BCSSServiceProvider.h
new file mode 100644
index 0000000..999ce91
--- /dev/null
+++ b/libjava/java/beans/beancontext/BeanContextServicesSupport$BCSSServiceProvider.h
@@ -0,0 +1,46 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_beans_beancontext_BeanContextServicesSupport$BCSSServiceProvider__
+#define __java_beans_beancontext_BeanContextServicesSupport$BCSSServiceProvider__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace beans
+ {
+ namespace beancontext
+ {
+ class BeanContextServiceProvider;
+ class BeanContextServicesSupport$BCSSServiceProvider;
+ }
+ }
+ }
+}
+
+class java::beans::beancontext::BeanContextServicesSupport$BCSSServiceProvider : public ::java::lang::Object
+{
+
+ BeanContextServicesSupport$BCSSServiceProvider(::java::lang::Class *, ::java::beans::beancontext::BeanContextServiceProvider *);
+public: // actually protected
+ virtual ::java::beans::beancontext::BeanContextServiceProvider * getServiceProvider();
+private:
+ ::java::lang::Class * getServiceClass();
+public: // actually package-private
+ static ::java::lang::Class * access$0(::java::beans::beancontext::BeanContextServicesSupport$BCSSServiceProvider *);
+ BeanContextServicesSupport$BCSSServiceProvider(::java::lang::Class *, ::java::beans::beancontext::BeanContextServiceProvider *, ::java::beans::beancontext::BeanContextServicesSupport$BCSSServiceProvider *);
+private:
+ static const jlong serialVersionUID = 861278251667444782LL;
+public: // actually protected
+ ::java::beans::beancontext::BeanContextServiceProvider * __attribute__((aligned(__alignof__( ::java::lang::Object)))) serviceProvider;
+private:
+ ::java::lang::Class * serviceClass;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_beans_beancontext_BeanContextServicesSupport$BCSSServiceProvider__
diff --git a/libjava/java/beans/beancontext/BeanContextServicesSupport$Request.h b/libjava/java/beans/beancontext/BeanContextServicesSupport$Request.h
new file mode 100644
index 0000000..64fb227
--- /dev/null
+++ b/libjava/java/beans/beancontext/BeanContextServicesSupport$Request.h
@@ -0,0 +1,37 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_beans_beancontext_BeanContextServicesSupport$Request__
+#define __java_beans_beancontext_BeanContextServicesSupport$Request__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace beans
+ {
+ namespace beancontext
+ {
+ class BeanContextServicesSupport$Request;
+ }
+ }
+ }
+}
+
+class java::beans::beancontext::BeanContextServicesSupport$Request : public ::java::lang::Object
+{
+
+public:
+ BeanContextServicesSupport$Request(::java::lang::Object *);
+ virtual jboolean equals(::java::lang::Object *);
+ virtual ::java::lang::Object * getRequestor();
+private:
+ ::java::lang::Object * __attribute__((aligned(__alignof__( ::java::lang::Object)))) requestor;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_beans_beancontext_BeanContextServicesSupport$Request__
diff --git a/libjava/java/beans/beancontext/BeanContextServicesSupport$ServiceLease.h b/libjava/java/beans/beancontext/BeanContextServicesSupport$ServiceLease.h
new file mode 100644
index 0000000..0f6a32e
--- /dev/null
+++ b/libjava/java/beans/beancontext/BeanContextServicesSupport$ServiceLease.h
@@ -0,0 +1,37 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_beans_beancontext_BeanContextServicesSupport$ServiceLease__
+#define __java_beans_beancontext_BeanContextServicesSupport$ServiceLease__
+
+#pragma interface
+
+#include <java/beans/beancontext/BeanContextServicesSupport$Request.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace beans
+ {
+ namespace beancontext
+ {
+ class BeanContextServicesSupport$ServiceLease;
+ }
+ }
+ }
+}
+
+class java::beans::beancontext::BeanContextServicesSupport$ServiceLease : public ::java::beans::beancontext::BeanContextServicesSupport$Request
+{
+
+public:
+ BeanContextServicesSupport$ServiceLease(::java::lang::Object *, ::java::lang::Object *);
+ virtual jboolean equals(::java::lang::Object *);
+ virtual ::java::lang::Object * getService();
+private:
+ ::java::lang::Object * __attribute__((aligned(__alignof__( ::java::beans::beancontext::BeanContextServicesSupport$Request)))) service;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_beans_beancontext_BeanContextServicesSupport$ServiceLease__
diff --git a/libjava/java/beans/beancontext/BeanContextServicesSupport$ServiceRequest.h b/libjava/java/beans/beancontext/BeanContextServicesSupport$ServiceRequest.h
new file mode 100644
index 0000000..24465df
--- /dev/null
+++ b/libjava/java/beans/beancontext/BeanContextServicesSupport$ServiceRequest.h
@@ -0,0 +1,38 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_beans_beancontext_BeanContextServicesSupport$ServiceRequest__
+#define __java_beans_beancontext_BeanContextServicesSupport$ServiceRequest__
+
+#pragma interface
+
+#include <java/beans/beancontext/BeanContextServicesSupport$Request.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace beans
+ {
+ namespace beancontext
+ {
+ class BeanContextServiceRevokedListener;
+ class BeanContextServicesSupport$ServiceRequest;
+ }
+ }
+ }
+}
+
+class java::beans::beancontext::BeanContextServicesSupport$ServiceRequest : public ::java::beans::beancontext::BeanContextServicesSupport$Request
+{
+
+public:
+ BeanContextServicesSupport$ServiceRequest(::java::lang::Object *, ::java::beans::beancontext::BeanContextServiceRevokedListener *);
+ virtual jboolean equals(::java::lang::Object *);
+ virtual ::java::beans::beancontext::BeanContextServiceRevokedListener * getListener();
+private:
+ ::java::beans::beancontext::BeanContextServiceRevokedListener * __attribute__((aligned(__alignof__( ::java::beans::beancontext::BeanContextServicesSupport$Request)))) listener;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_beans_beancontext_BeanContextServicesSupport$ServiceRequest__
diff --git a/libjava/java/beans/beancontext/BeanContextServicesSupport.h b/libjava/java/beans/beancontext/BeanContextServicesSupport.h
new file mode 100644
index 0000000..f165831
--- /dev/null
+++ b/libjava/java/beans/beancontext/BeanContextServicesSupport.h
@@ -0,0 +1,90 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_beans_beancontext_BeanContextServicesSupport__
+#define __java_beans_beancontext_BeanContextServicesSupport__
+
+#pragma interface
+
+#include <java/beans/beancontext/BeanContextSupport.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace beans
+ {
+ namespace beancontext
+ {
+ class BeanContextChild;
+ class BeanContextServiceAvailableEvent;
+ class BeanContextServiceProvider;
+ class BeanContextServiceRevokedEvent;
+ class BeanContextServiceRevokedListener;
+ class BeanContextServices;
+ class BeanContextServicesListener;
+ class BeanContextServicesSupport;
+ class BeanContextServicesSupport$BCSSProxyServiceProvider;
+ class BeanContextServicesSupport$BCSSServiceProvider;
+ class BeanContextSupport$BCSChild;
+ }
+ }
+ }
+}
+
+class java::beans::beancontext::BeanContextServicesSupport : public ::java::beans::beancontext::BeanContextSupport
+{
+
+public:
+ BeanContextServicesSupport();
+ BeanContextServicesSupport(::java::beans::beancontext::BeanContextServices *);
+ BeanContextServicesSupport(::java::beans::beancontext::BeanContextServices *, ::java::util::Locale *);
+ BeanContextServicesSupport(::java::beans::beancontext::BeanContextServices *, ::java::util::Locale *, jboolean);
+ BeanContextServicesSupport(::java::beans::beancontext::BeanContextServices *, ::java::util::Locale *, jboolean, jboolean);
+ virtual void addBeanContextServicesListener(::java::beans::beancontext::BeanContextServicesListener *);
+ virtual jboolean addService(::java::lang::Class *, ::java::beans::beancontext::BeanContextServiceProvider *);
+public: // actually protected
+ virtual jboolean addService(::java::lang::Class *, ::java::beans::beancontext::BeanContextServiceProvider *, jboolean);
+ virtual void bcsPreDeserializationHook(::java::io::ObjectInputStream *);
+ virtual void bcsPreSerializationHook(::java::io::ObjectOutputStream *);
+ virtual void childJustRemovedHook(::java::lang::Object *, ::java::beans::beancontext::BeanContextSupport$BCSChild *);
+ virtual ::java::beans::beancontext::BeanContextSupport$BCSChild * createBCSChild(::java::lang::Object *, ::java::lang::Object *);
+ virtual ::java::beans::beancontext::BeanContextServicesSupport$BCSSServiceProvider * createBCSSServiceProvider(::java::lang::Class *, ::java::beans::beancontext::BeanContextServiceProvider *);
+ virtual void fireServiceAdded(::java::beans::beancontext::BeanContextServiceAvailableEvent *);
+ virtual void fireServiceAdded(::java::lang::Class *);
+ virtual void fireServiceRevoked(::java::beans::beancontext::BeanContextServiceRevokedEvent *);
+ virtual void fireServiceRevoked(::java::lang::Class *, jboolean);
+public:
+ virtual ::java::beans::beancontext::BeanContextServices * getBeanContextServicesPeer();
+public: // actually protected
+ static ::java::beans::beancontext::BeanContextServicesListener * getChildBeanContextServicesListener(::java::lang::Object *);
+public:
+ virtual ::java::util::Iterator * getCurrentServiceClasses();
+ virtual ::java::util::Iterator * getCurrentServiceSelectors(::java::lang::Class *);
+ virtual ::java::lang::Object * getService(::java::beans::beancontext::BeanContextChild *, ::java::lang::Object *, ::java::lang::Class *, ::java::lang::Object *, ::java::beans::beancontext::BeanContextServiceRevokedListener *);
+ virtual jboolean hasService(::java::lang::Class *);
+ virtual void initialize();
+public: // actually protected
+ virtual void initializeBeanContextResources();
+ virtual void releaseBeanContextResources();
+public:
+ virtual void releaseService(::java::beans::beancontext::BeanContextChild *, ::java::lang::Object *, ::java::lang::Object *);
+ virtual void removeBeanContextServicesListener(::java::beans::beancontext::BeanContextServicesListener *);
+ virtual void revokeService(::java::lang::Class *, ::java::beans::beancontext::BeanContextServiceProvider *, jboolean);
+ virtual void serviceAvailable(::java::beans::beancontext::BeanContextServiceAvailableEvent *);
+ virtual void serviceRevoked(::java::beans::beancontext::BeanContextServiceRevokedEvent *);
+private:
+ static const jlong serialVersionUID = -8494482757288719206LL;
+public: // actually protected
+ ::java::util::ArrayList * __attribute__((aligned(__alignof__( ::java::beans::beancontext::BeanContextSupport)))) bcsListeners;
+ ::java::beans::beancontext::BeanContextServicesSupport$BCSSProxyServiceProvider * proxy;
+ jint serializable;
+ ::java::util::HashMap * services;
+private:
+ ::java::util::HashMap * serviceUsers;
+ ::java::util::HashMap * serviceRequests;
+ ::java::util::HashMap * serviceLeases;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_beans_beancontext_BeanContextServicesSupport__
diff --git a/libjava/java/beans/beancontext/BeanContextSupport$BCSChild.h b/libjava/java/beans/beancontext/BeanContextSupport$BCSChild.h
new file mode 100644
index 0000000..40720fb
--- /dev/null
+++ b/libjava/java/beans/beancontext/BeanContextSupport$BCSChild.h
@@ -0,0 +1,44 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_beans_beancontext_BeanContextSupport$BCSChild__
+#define __java_beans_beancontext_BeanContextSupport$BCSChild__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace beans
+ {
+ namespace beancontext
+ {
+ class BeanContextSupport;
+ class BeanContextSupport$BCSChild;
+ }
+ }
+ }
+}
+
+class java::beans::beancontext::BeanContextSupport$BCSChild : public ::java::lang::Object
+{
+
+public: // actually package-private
+ BeanContextSupport$BCSChild(::java::beans::beancontext::BeanContextSupport *, ::java::lang::Object *, ::java::lang::Object *);
+private:
+ ::java::lang::Object * getTargetChild();
+public: // actually package-private
+ static ::java::lang::Object * access$0(::java::beans::beancontext::BeanContextSupport$BCSChild *);
+private:
+ static const jlong serialVersionUID = -5815286101609939109LL;
+ ::java::lang::Object * __attribute__((aligned(__alignof__( ::java::lang::Object)))) targetChild;
+ ::java::lang::Object * peer;
+public: // actually package-private
+ ::java::beans::beancontext::BeanContextSupport * this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_beans_beancontext_BeanContextSupport$BCSChild__
diff --git a/libjava/java/beans/beancontext/BeanContextSupport$BCSIterator.h b/libjava/java/beans/beancontext/BeanContextSupport$BCSIterator.h
new file mode 100644
index 0000000..5516979
--- /dev/null
+++ b/libjava/java/beans/beancontext/BeanContextSupport$BCSIterator.h
@@ -0,0 +1,39 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_beans_beancontext_BeanContextSupport$BCSIterator__
+#define __java_beans_beancontext_BeanContextSupport$BCSIterator__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace beans
+ {
+ namespace beancontext
+ {
+ class BeanContextSupport$BCSIterator;
+ }
+ }
+ }
+}
+
+class java::beans::beancontext::BeanContextSupport$BCSIterator : public ::java::lang::Object
+{
+
+public: // actually package-private
+ BeanContextSupport$BCSIterator(::java::util::Iterator *);
+public:
+ jboolean hasNext();
+ ::java::lang::Object * next();
+ void remove();
+private:
+ ::java::util::Iterator * __attribute__((aligned(__alignof__( ::java::lang::Object)))) child;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_beans_beancontext_BeanContextSupport$BCSIterator__
diff --git a/libjava/java/beans/beancontext/BeanContextSupport.h b/libjava/java/beans/beancontext/BeanContextSupport.h
new file mode 100644
index 0000000..36678b5
--- /dev/null
+++ b/libjava/java/beans/beancontext/BeanContextSupport.h
@@ -0,0 +1,136 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_beans_beancontext_BeanContextSupport__
+#define __java_beans_beancontext_BeanContextSupport__
+
+#pragma interface
+
+#include <java/beans/beancontext/BeanContextChildSupport.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace beans
+ {
+ class PropertyChangeEvent;
+ class PropertyChangeListener;
+ class VetoableChangeListener;
+ class Visibility;
+ namespace beancontext
+ {
+ class BeanContext;
+ class BeanContextChild;
+ class BeanContextMembershipEvent;
+ class BeanContextMembershipListener;
+ class BeanContextSupport;
+ class BeanContextSupport$BCSChild;
+ }
+ }
+ namespace net
+ {
+ class URL;
+ }
+ }
+}
+
+class java::beans::beancontext::BeanContextSupport : public ::java::beans::beancontext::BeanContextChildSupport
+{
+
+ void readObject(::java::io::ObjectInputStream *);
+ void writeObject(::java::io::ObjectOutputStream *);
+public:
+ BeanContextSupport();
+ BeanContextSupport(::java::beans::beancontext::BeanContext *);
+ BeanContextSupport(::java::beans::beancontext::BeanContext *, ::java::util::Locale *);
+ BeanContextSupport(::java::beans::beancontext::BeanContext *, ::java::util::Locale *, jboolean);
+ BeanContextSupport(::java::beans::beancontext::BeanContext *, ::java::util::Locale *, jboolean, jboolean);
+ virtual jboolean add(::java::lang::Object *);
+ virtual jboolean addAll(::java::util::Collection *);
+ virtual void addBeanContextMembershipListener(::java::beans::beancontext::BeanContextMembershipListener *);
+ virtual jboolean avoidingGui();
+public: // actually protected
+ virtual ::java::util::Iterator * bcsChildren();
+ virtual void bcsPreDeserializationHook(::java::io::ObjectInputStream *);
+ virtual void bcsPreSerializationHook(::java::io::ObjectOutputStream *);
+ virtual void childDeserializedHook(::java::lang::Object *, ::java::beans::beancontext::BeanContextSupport$BCSChild *);
+ virtual void childJustAddedHook(::java::lang::Object *, ::java::beans::beancontext::BeanContextSupport$BCSChild *);
+ virtual void childJustRemovedHook(::java::lang::Object *, ::java::beans::beancontext::BeanContextSupport$BCSChild *);
+ static jboolean classEquals(::java::lang::Class *, ::java::lang::Class *);
+public:
+ virtual void clear();
+ virtual jboolean contains(::java::lang::Object *);
+ virtual jboolean containsAll(::java::util::Collection *);
+ virtual jboolean containsKey(::java::lang::Object *);
+public: // actually protected
+ virtual JArray< ::java::lang::Object * > * copyChildren();
+ virtual ::java::beans::beancontext::BeanContextSupport$BCSChild * createBCSChild(::java::lang::Object *, ::java::lang::Object *);
+ virtual void deserialize(::java::io::ObjectInputStream *, ::java::util::Collection *);
+public:
+ virtual void dontUseGui();
+public: // actually protected
+ virtual void fireChildrenAdded(::java::beans::beancontext::BeanContextMembershipEvent *);
+ virtual void fireChildrenRemoved(::java::beans::beancontext::BeanContextMembershipEvent *);
+public:
+ virtual ::java::beans::beancontext::BeanContext * getBeanContextPeer();
+public: // actually protected
+ static ::java::beans::beancontext::BeanContextChild * getChildBeanContextChild(::java::lang::Object *);
+ static ::java::beans::beancontext::BeanContextMembershipListener * getChildBeanContextMembershipListener(::java::lang::Object *);
+ static ::java::beans::PropertyChangeListener * getChildPropertyChangeListener(::java::lang::Object *);
+ static ::java::io::Serializable * getChildSerializable(::java::lang::Object *);
+ static ::java::beans::VetoableChangeListener * getChildVetoableChangeListener(::java::lang::Object *);
+ static ::java::beans::Visibility * getChildVisibility(::java::lang::Object *);
+public:
+ virtual ::java::util::Locale * getLocale();
+ virtual ::java::net::URL * getResource(::java::lang::String *, ::java::beans::beancontext::BeanContextChild *);
+ virtual ::java::io::InputStream * getResourceAsStream(::java::lang::String *, ::java::beans::beancontext::BeanContextChild *);
+public: // actually protected
+ virtual void initialize();
+public:
+ virtual ::java::lang::Object * instantiateChild(::java::lang::String *);
+ virtual jboolean isDesignTime();
+ virtual jboolean isEmpty();
+ virtual jboolean isSerializing();
+ virtual ::java::util::Iterator * iterator();
+ virtual jboolean needsGui();
+ virtual void okToUseGui();
+ virtual void propertyChange(::java::beans::PropertyChangeEvent *);
+ virtual void readChildren(::java::io::ObjectInputStream *);
+ virtual jboolean remove(::java::lang::Object *);
+public: // actually protected
+ virtual jboolean remove(::java::lang::Object *, jboolean);
+public:
+ virtual jboolean removeAll(::java::util::Collection *);
+ virtual void removeBeanContextMembershipListener(::java::beans::beancontext::BeanContextMembershipListener *);
+ virtual jboolean retainAll(::java::util::Collection *);
+public: // actually protected
+ virtual void serialize(::java::io::ObjectOutputStream *, ::java::util::Collection *);
+public:
+ virtual void setDesignTime(jboolean);
+ virtual void setLocale(::java::util::Locale *);
+ virtual jint size();
+ virtual JArray< ::java::lang::Object * > * toArray();
+ virtual JArray< ::java::lang::Object * > * toArray(JArray< ::java::lang::Object * > *);
+public: // actually protected
+ virtual jboolean validatePendingAdd(::java::lang::Object *);
+ virtual jboolean validatePendingRemove(::java::lang::Object *);
+public:
+ virtual void vetoableChange(::java::beans::PropertyChangeEvent *);
+ virtual void writeChildren(::java::io::ObjectOutputStream *);
+private:
+ static const jlong serialVersionUID = -4879613978649577204LL;
+public: // actually protected
+ ::java::util::ArrayList * __attribute__((aligned(__alignof__( ::java::beans::beancontext::BeanContextChildSupport)))) bcmListeners;
+ ::java::util::HashMap * children;
+ jboolean designTime;
+ ::java::util::Locale * locale;
+ jboolean okToUseGui__;
+private:
+ jboolean serializing;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_beans_beancontext_BeanContextSupport__
diff --git a/libjava/java/io/BufferedInputStream.h b/libjava/java/io/BufferedInputStream.h
new file mode 100644
index 0000000..d2851da
--- /dev/null
+++ b/libjava/java/io/BufferedInputStream.h
@@ -0,0 +1,43 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_io_BufferedInputStream__
+#define __java_io_BufferedInputStream__
+
+#pragma interface
+
+#include <java/io/FilterInputStream.h>
+#include <gcj/array.h>
+
+
+class java::io::BufferedInputStream : public ::java::io::FilterInputStream
+{
+
+public:
+ BufferedInputStream(::java::io::InputStream *);
+ BufferedInputStream(::java::io::InputStream *, jint);
+ virtual jint available();
+ virtual void close();
+ virtual void mark(jint);
+ virtual jboolean markSupported();
+ virtual jint read();
+ virtual jint read(JArray< jbyte > *, jint, jint);
+ virtual void reset();
+ virtual jlong skip(jlong);
+public: // actually package-private
+ virtual jboolean refill();
+private:
+ static const jint DEFAULT_BUFFER_SIZE = 2048;
+public: // actually protected
+ JArray< jbyte > * __attribute__((aligned(__alignof__( ::java::io::FilterInputStream)))) buf;
+ jint count;
+ jint pos;
+ jint markpos;
+ jint marklimit;
+private:
+ jint bufferSize;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_io_BufferedInputStream__
diff --git a/libjava/java/io/BufferedOutputStream.h b/libjava/java/io/BufferedOutputStream.h
new file mode 100644
index 0000000..ce34567
--- /dev/null
+++ b/libjava/java/io/BufferedOutputStream.h
@@ -0,0 +1,31 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_io_BufferedOutputStream__
+#define __java_io_BufferedOutputStream__
+
+#pragma interface
+
+#include <java/io/FilterOutputStream.h>
+#include <gcj/array.h>
+
+
+class java::io::BufferedOutputStream : public ::java::io::FilterOutputStream
+{
+
+public:
+ BufferedOutputStream(::java::io::OutputStream *);
+ BufferedOutputStream(::java::io::OutputStream *, jint);
+ virtual void flush();
+ virtual void write(jint);
+ virtual void write(JArray< jbyte > *, jint, jint);
+private:
+ static const jint DEFAULT_BUFFER_SIZE = 512;
+public: // actually protected
+ JArray< jbyte > * __attribute__((aligned(__alignof__( ::java::io::FilterOutputStream)))) buf;
+ jint count;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_io_BufferedOutputStream__
diff --git a/libjava/java/io/BufferedReader.h b/libjava/java/io/BufferedReader.h
new file mode 100644
index 0000000..66d7766
--- /dev/null
+++ b/libjava/java/io/BufferedReader.h
@@ -0,0 +1,49 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_io_BufferedReader__
+#define __java_io_BufferedReader__
+
+#pragma interface
+
+#include <java/io/Reader.h>
+#include <gcj/array.h>
+
+
+class java::io::BufferedReader : public ::java::io::Reader
+{
+
+public:
+ BufferedReader(::java::io::Reader *);
+ BufferedReader(::java::io::Reader *, jint);
+ virtual void close();
+ virtual jboolean markSupported();
+ virtual void mark(jint);
+ virtual void reset();
+ virtual jboolean ready();
+ virtual jint read(JArray< jchar > *, jint, jint);
+private:
+ jint fill();
+public:
+ virtual jint read();
+private:
+ jint lineEnd(jint);
+public:
+ virtual ::java::lang::String * readLine();
+ virtual jlong skip(jlong);
+private:
+ void checkStatus();
+public: // actually package-private
+ ::java::io::Reader * __attribute__((aligned(__alignof__( ::java::io::Reader)))) in;
+ JArray< jchar > * buffer;
+ jint pos;
+ jint limit;
+ jint markPos;
+ static const jint DEFAULT_BUFFER_SIZE = 8192;
+private:
+ ::java::lang::StringBuffer * sbuf;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_io_BufferedReader__
diff --git a/libjava/java/io/BufferedWriter.h b/libjava/java/io/BufferedWriter.h
new file mode 100644
index 0000000..68cfa09
--- /dev/null
+++ b/libjava/java/io/BufferedWriter.h
@@ -0,0 +1,36 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_io_BufferedWriter__
+#define __java_io_BufferedWriter__
+
+#pragma interface
+
+#include <java/io/Writer.h>
+#include <gcj/array.h>
+
+
+class java::io::BufferedWriter : public ::java::io::Writer
+{
+
+public:
+ BufferedWriter(::java::io::Writer *);
+ BufferedWriter(::java::io::Writer *, jint);
+ virtual void close();
+ virtual void flush();
+ virtual void newLine();
+ virtual void write(jint);
+ virtual void write(JArray< jchar > *, jint, jint);
+ virtual void write(::java::lang::String *, jint, jint);
+private:
+ void localFlush();
+ static const jint DEFAULT_BUFFER_SIZE = 8192;
+ ::java::io::Writer * __attribute__((aligned(__alignof__( ::java::io::Writer)))) out;
+public: // actually package-private
+ JArray< jchar > * buffer;
+ jint count;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_io_BufferedWriter__
diff --git a/libjava/java/io/ByteArrayInputStream.h b/libjava/java/io/ByteArrayInputStream.h
new file mode 100644
index 0000000..85411b3
--- /dev/null
+++ b/libjava/java/io/ByteArrayInputStream.h
@@ -0,0 +1,35 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_io_ByteArrayInputStream__
+#define __java_io_ByteArrayInputStream__
+
+#pragma interface
+
+#include <java/io/InputStream.h>
+#include <gcj/array.h>
+
+
+class java::io::ByteArrayInputStream : public ::java::io::InputStream
+{
+
+public:
+ ByteArrayInputStream(JArray< jbyte > *);
+ ByteArrayInputStream(JArray< jbyte > *, jint, jint);
+ virtual jint available();
+ virtual void mark(jint);
+ virtual jboolean markSupported();
+ virtual jint read();
+ virtual jint read(JArray< jbyte > *, jint, jint);
+ virtual void reset();
+ virtual jlong skip(jlong);
+public: // actually protected
+ JArray< jbyte > * __attribute__((aligned(__alignof__( ::java::io::InputStream)))) buf;
+ jint pos;
+ jint mark__;
+ jint count;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_io_ByteArrayInputStream__
diff --git a/libjava/java/io/ByteArrayOutputStream.h b/libjava/java/io/ByteArrayOutputStream.h
new file mode 100644
index 0000000..907c3d4
--- /dev/null
+++ b/libjava/java/io/ByteArrayOutputStream.h
@@ -0,0 +1,41 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_io_ByteArrayOutputStream__
+#define __java_io_ByteArrayOutputStream__
+
+#pragma interface
+
+#include <java/io/OutputStream.h>
+#include <gcj/array.h>
+
+
+class java::io::ByteArrayOutputStream : public ::java::io::OutputStream
+{
+
+public:
+ ByteArrayOutputStream();
+ ByteArrayOutputStream(jint);
+ virtual void reset();
+ virtual jint size();
+ virtual JArray< jbyte > * toByteArray();
+ virtual ::java::lang::String * toString();
+ virtual ::java::lang::String * toString(::java::lang::String *);
+ virtual ::java::lang::String * toString(jint);
+private:
+ void resize(jint);
+public:
+ virtual void write(jint);
+ virtual void write(JArray< jbyte > *, jint, jint);
+ virtual void writeTo(::java::io::OutputStream *);
+public: // actually protected
+ JArray< jbyte > * __attribute__((aligned(__alignof__( ::java::io::OutputStream)))) buf;
+ jint count;
+private:
+ static const jint DEFAULT_INITIAL_BUFFER_SIZE = 32;
+ static jint initial_buffer_size;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_io_ByteArrayOutputStream__
diff --git a/libjava/java/io/CharArrayReader.h b/libjava/java/io/CharArrayReader.h
new file mode 100644
index 0000000..f8b8f5d
--- /dev/null
+++ b/libjava/java/io/CharArrayReader.h
@@ -0,0 +1,36 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_io_CharArrayReader__
+#define __java_io_CharArrayReader__
+
+#pragma interface
+
+#include <java/io/Reader.h>
+#include <gcj/array.h>
+
+
+class java::io::CharArrayReader : public ::java::io::Reader
+{
+
+public:
+ CharArrayReader(JArray< jchar > *);
+ CharArrayReader(JArray< jchar > *, jint, jint);
+ virtual void close();
+ virtual void mark(jint);
+ virtual jboolean markSupported();
+ virtual jint read();
+ virtual jint read(JArray< jchar > *, jint, jint);
+ virtual jboolean ready();
+ virtual void reset();
+ virtual jlong skip(jlong);
+public: // actually protected
+ JArray< jchar > * __attribute__((aligned(__alignof__( ::java::io::Reader)))) buf;
+ jint pos;
+ jint markedPos;
+ jint count;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_io_CharArrayReader__
diff --git a/libjava/java/io/CharArrayWriter.h b/libjava/java/io/CharArrayWriter.h
new file mode 100644
index 0000000..35f49d2
--- /dev/null
+++ b/libjava/java/io/CharArrayWriter.h
@@ -0,0 +1,50 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_io_CharArrayWriter__
+#define __java_io_CharArrayWriter__
+
+#pragma interface
+
+#include <java/io/Writer.h>
+#include <gcj/array.h>
+
+
+class java::io::CharArrayWriter : public ::java::io::Writer
+{
+
+public:
+ CharArrayWriter();
+ CharArrayWriter(jint);
+ virtual void close();
+ virtual void flush();
+ virtual void reset();
+ virtual jint size();
+ virtual JArray< jchar > * toCharArray();
+ virtual ::java::lang::String * toString();
+ virtual void write(jint);
+ virtual void write(JArray< jchar > *, jint, jint);
+ virtual void write(::java::lang::String *, jint, jint);
+ virtual void writeTo(::java::io::Writer *);
+ virtual ::java::io::CharArrayWriter * target$append(jchar);
+ virtual ::java::io::CharArrayWriter * target$append(::java::lang::CharSequence *);
+ virtual ::java::io::CharArrayWriter * target$append(::java::lang::CharSequence *, jint, jint);
+private:
+ void resize(jint);
+public:
+ virtual ::java::lang::Appendable * append(::java::lang::CharSequence *, jint, jint);
+ virtual ::java::io::Writer * target$append(::java::lang::CharSequence *, jint, jint);
+ virtual ::java::lang::Appendable * append(::java::lang::CharSequence *);
+ virtual ::java::io::Writer * target$append(::java::lang::CharSequence *);
+ virtual ::java::lang::Appendable * append(jchar);
+ virtual ::java::io::Writer * target$append(jchar);
+private:
+ static const jint DEFAULT_INITIAL_BUFFER_SIZE = 32;
+public: // actually protected
+ JArray< jchar > * __attribute__((aligned(__alignof__( ::java::io::Writer)))) buf;
+ jint count;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_io_CharArrayWriter__
diff --git a/libjava/java/io/CharConversionException.h b/libjava/java/io/CharConversionException.h
new file mode 100644
index 0000000..95034a8
--- /dev/null
+++ b/libjava/java/io/CharConversionException.h
@@ -0,0 +1,23 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_io_CharConversionException__
+#define __java_io_CharConversionException__
+
+#pragma interface
+
+#include <java/io/IOException.h>
+
+class java::io::CharConversionException : public ::java::io::IOException
+{
+
+public:
+ CharConversionException();
+ CharConversionException(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = -8680016352018427031LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_io_CharConversionException__
diff --git a/libjava/java/io/Closeable.h b/libjava/java/io/Closeable.h
new file mode 100644
index 0000000..4668f50
--- /dev/null
+++ b/libjava/java/io/Closeable.h
@@ -0,0 +1,19 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_io_Closeable__
+#define __java_io_Closeable__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::io::Closeable : public ::java::lang::Object
+{
+
+public:
+ virtual void close() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_io_Closeable__
diff --git a/libjava/java/io/DataInput.h b/libjava/java/io/DataInput.h
new file mode 100644
index 0000000..9cb4952
--- /dev/null
+++ b/libjava/java/io/DataInput.h
@@ -0,0 +1,35 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_io_DataInput__
+#define __java_io_DataInput__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+
+class java::io::DataInput : public ::java::lang::Object
+{
+
+public:
+ virtual jboolean readBoolean() = 0;
+ virtual jbyte readByte() = 0;
+ virtual jint readUnsignedByte() = 0;
+ virtual jchar readChar() = 0;
+ virtual jshort readShort() = 0;
+ virtual jint readUnsignedShort() = 0;
+ virtual jint readInt() = 0;
+ virtual jlong readLong() = 0;
+ virtual jfloat readFloat() = 0;
+ virtual jdouble readDouble() = 0;
+ virtual ::java::lang::String * readLine() = 0;
+ virtual ::java::lang::String * readUTF() = 0;
+ virtual void readFully(JArray< jbyte > *) = 0;
+ virtual void readFully(JArray< jbyte > *, jint, jint) = 0;
+ virtual jint skipBytes(jint) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_io_DataInput__
diff --git a/libjava/java/io/DataInputStream.h b/libjava/java/io/DataInputStream.h
new file mode 100644
index 0000000..a7b8459
--- /dev/null
+++ b/libjava/java/io/DataInputStream.h
@@ -0,0 +1,51 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_io_DataInputStream__
+#define __java_io_DataInputStream__
+
+#pragma interface
+
+#include <java/io/FilterInputStream.h>
+#include <gcj/array.h>
+
+
+class java::io::DataInputStream : public ::java::io::FilterInputStream
+{
+
+public:
+ DataInputStream(::java::io::InputStream *);
+ virtual jint read(JArray< jbyte > *);
+ virtual jint read(JArray< jbyte > *, jint, jint);
+ virtual jboolean readBoolean();
+ virtual jbyte readByte();
+ virtual jchar readChar();
+ virtual jdouble readDouble();
+ virtual jfloat readFloat();
+ virtual void readFully(JArray< jbyte > *);
+ virtual void readFully(JArray< jbyte > *, jint, jint);
+ virtual jint readInt();
+ virtual ::java::lang::String * readLine();
+ virtual jlong readLong();
+ virtual jshort readShort();
+ virtual jint readUnsignedByte();
+ virtual jint readUnsignedShort();
+ virtual ::java::lang::String * readUTF();
+ static ::java::lang::String * readUTF(::java::io::DataInput *);
+ virtual jint skipBytes(jint);
+public: // actually package-private
+ static jboolean convertToBoolean(jint);
+ static jbyte convertToByte(jint);
+ static jint convertToUnsignedByte(jint);
+ static jchar convertToChar(JArray< jbyte > *);
+ static jshort convertToShort(JArray< jbyte > *);
+ static jint convertToUnsignedShort(JArray< jbyte > *);
+ static jint convertToInt(JArray< jbyte > *);
+ static jlong convertToLong(JArray< jbyte > *);
+ static ::java::lang::String * convertFromUTF(JArray< jbyte > *);
+ JArray< jbyte > * __attribute__((aligned(__alignof__( ::java::io::FilterInputStream)))) buf;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_io_DataInputStream__
diff --git a/libjava/java/io/DataOutput.h b/libjava/java/io/DataOutput.h
new file mode 100644
index 0000000..f18f5e4
--- /dev/null
+++ b/libjava/java/io/DataOutput.h
@@ -0,0 +1,34 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_io_DataOutput__
+#define __java_io_DataOutput__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+
+class java::io::DataOutput : public ::java::lang::Object
+{
+
+public:
+ virtual void writeBoolean(jboolean) = 0;
+ virtual void writeByte(jint) = 0;
+ virtual void writeChar(jint) = 0;
+ virtual void writeShort(jint) = 0;
+ virtual void writeInt(jint) = 0;
+ virtual void writeLong(jlong) = 0;
+ virtual void writeFloat(jfloat) = 0;
+ virtual void writeDouble(jdouble) = 0;
+ virtual void writeBytes(::java::lang::String *) = 0;
+ virtual void writeChars(::java::lang::String *) = 0;
+ virtual void writeUTF(::java::lang::String *) = 0;
+ virtual void write(jint) = 0;
+ virtual void write(JArray< jbyte > *) = 0;
+ virtual void write(JArray< jbyte > *, jint, jint) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_io_DataOutput__
diff --git a/libjava/java/io/DataOutputStream.h b/libjava/java/io/DataOutputStream.h
new file mode 100644
index 0000000..0d89dca
--- /dev/null
+++ b/libjava/java/io/DataOutputStream.h
@@ -0,0 +1,44 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_io_DataOutputStream__
+#define __java_io_DataOutputStream__
+
+#pragma interface
+
+#include <java/io/FilterOutputStream.h>
+#include <gcj/array.h>
+
+
+class java::io::DataOutputStream : public ::java::io::FilterOutputStream
+{
+
+public:
+ DataOutputStream(::java::io::OutputStream *);
+ virtual void flush();
+ virtual jint size();
+ virtual void write(jint);
+ virtual void write(JArray< jbyte > *, jint, jint);
+ virtual void writeBoolean(jboolean);
+ virtual void writeByte(jint);
+ virtual void writeShort(jint);
+ virtual void writeChar(jint);
+ virtual void writeInt(jint);
+ virtual void writeLong(jlong);
+ virtual void writeFloat(jfloat);
+ virtual void writeDouble(jdouble);
+ virtual void writeBytes(::java::lang::String *);
+ virtual void writeChars(::java::lang::String *);
+private:
+ jint getUTFlength(::java::lang::String *, jint, jint);
+public:
+ virtual void writeUTF(::java::lang::String *);
+public: // actually protected
+ jint __attribute__((aligned(__alignof__( ::java::io::FilterOutputStream)))) written;
+private:
+ JArray< jbyte > * buf;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_io_DataOutputStream__
diff --git a/libjava/java/io/DeleteFileHelper$1.h b/libjava/java/io/DeleteFileHelper$1.h
new file mode 100644
index 0000000..48f5671
--- /dev/null
+++ b/libjava/java/io/DeleteFileHelper$1.h
@@ -0,0 +1,21 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_io_DeleteFileHelper$1__
+#define __java_io_DeleteFileHelper$1__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::io::DeleteFileHelper$1 : public ::java::lang::Object
+{
+
+public: // actually package-private
+ DeleteFileHelper$1();
+public:
+ ::java::lang::Object * run();
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_io_DeleteFileHelper$1__
diff --git a/libjava/java/io/DeleteFileHelper.h b/libjava/java/io/DeleteFileHelper.h
new file mode 100644
index 0000000..9b61c3a
--- /dev/null
+++ b/libjava/java/io/DeleteFileHelper.h
@@ -0,0 +1,28 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_io_DeleteFileHelper__
+#define __java_io_DeleteFileHelper__
+
+#pragma interface
+
+#include <java/lang/Thread.h>
+
+class java::io::DeleteFileHelper : public ::java::lang::Thread
+{
+
+public: // actually package-private
+ static void add(::java::io::File *);
+private:
+ static void deleteFiles();
+public: // actually package-private
+ DeleteFileHelper();
+public:
+ void run();
+private:
+ static ::java::util::ArrayList * filesToDelete;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_io_DeleteFileHelper__
diff --git a/libjava/java/io/EOFException.h b/libjava/java/io/EOFException.h
new file mode 100644
index 0000000..be4b255
--- /dev/null
+++ b/libjava/java/io/EOFException.h
@@ -0,0 +1,23 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_io_EOFException__
+#define __java_io_EOFException__
+
+#pragma interface
+
+#include <java/io/IOException.h>
+
+class java::io::EOFException : public ::java::io::IOException
+{
+
+public:
+ EOFException();
+ EOFException(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = 6433858223774886977LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_io_EOFException__
diff --git a/libjava/java/io/Externalizable.h b/libjava/java/io/Externalizable.h
new file mode 100644
index 0000000..b74cf08
--- /dev/null
+++ b/libjava/java/io/Externalizable.h
@@ -0,0 +1,20 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_io_Externalizable__
+#define __java_io_Externalizable__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::io::Externalizable : public ::java::lang::Object
+{
+
+public:
+ virtual void readExternal(::java::io::ObjectInput *) = 0;
+ virtual void writeExternal(::java::io::ObjectOutput *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_io_Externalizable__
diff --git a/libjava/java/io/File.h b/libjava/java/io/File.h
new file mode 100644
index 0000000..35ca3b7
--- /dev/null
+++ b/libjava/java/io/File.h
@@ -0,0 +1,150 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_io_File__
+#define __java_io_File__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace net
+ {
+ class URI;
+ class URL;
+ }
+ }
+}
+
+class java::io::File : public ::java::lang::Object
+{
+
+ jlong attr(jint);
+ jboolean _access(jint);
+ jboolean _stat(jint);
+ static void init_native();
+public:
+ virtual jboolean canRead();
+ virtual jboolean canWrite();
+private:
+ jboolean performCreate();
+public:
+ virtual jboolean createNewFile();
+private:
+ jboolean performDelete();
+public:
+ virtual jboolean delete$();
+ virtual jboolean equals(::java::lang::Object *);
+private:
+ jboolean internalExists();
+public:
+ virtual jboolean exists();
+ File(::java::lang::String *);
+private:
+ ::java::lang::String * normalizePath(::java::lang::String *);
+public:
+ File(::java::lang::String *, ::java::lang::String *);
+ File(::java::io::File *, ::java::lang::String *);
+ File(::java::net::URI *);
+ virtual ::java::lang::String * getAbsolutePath();
+ virtual ::java::io::File * getAbsoluteFile();
+ virtual ::java::lang::String * getCanonicalPath();
+ virtual ::java::io::File * getCanonicalFile();
+ virtual ::java::lang::String * getName();
+ virtual ::java::lang::String * getParent();
+ virtual ::java::io::File * getParentFile();
+ virtual ::java::lang::String * getPath();
+ virtual jint hashCode();
+ virtual jboolean isAbsolute();
+private:
+ jboolean internalIsDirectory();
+public:
+ virtual jboolean isDirectory();
+ virtual jboolean isFile();
+ virtual jboolean isHidden();
+ virtual jlong lastModified();
+ virtual jlong length();
+private:
+ JArray< ::java::lang::Object * > * performList(::java::io::FilenameFilter *, ::java::io::FileFilter *, ::java::lang::Class *);
+public:
+ virtual JArray< ::java::lang::String * > * list(::java::io::FilenameFilter *);
+ virtual JArray< ::java::lang::String * > * list();
+ virtual JArray< ::java::io::File * > * listFiles();
+ virtual JArray< ::java::io::File * > * listFiles(::java::io::FilenameFilter *);
+ virtual JArray< ::java::io::File * > * listFiles(::java::io::FileFilter *);
+ virtual ::java::lang::String * toString();
+ virtual ::java::net::URI * toURI();
+ virtual ::java::net::URL * toURL();
+private:
+ jboolean performMkdir();
+public:
+ virtual jboolean mkdir();
+private:
+ static jboolean mkdirs(::java::io::File *);
+public:
+ virtual jboolean mkdirs();
+private:
+ static ::java::lang::String * nextValue();
+public:
+ static ::java::io::File * createTempFile(::java::lang::String *, ::java::lang::String *, ::java::io::File *);
+private:
+ jboolean performSetReadOnly();
+public:
+ virtual jboolean setReadOnly();
+private:
+ static JArray< ::java::io::File * > * performListRoots();
+public:
+ static JArray< ::java::io::File * > * listRoots();
+ static ::java::io::File * createTempFile(::java::lang::String *, ::java::lang::String *);
+ virtual jint compareTo(::java::io::File *);
+ virtual jint compareTo(::java::lang::Object *);
+private:
+ jboolean performRenameTo(::java::io::File *);
+public:
+ virtual jboolean renameTo(::java::io::File *);
+private:
+ jboolean performSetLastModified(jlong);
+public:
+ virtual jboolean setLastModified(jlong);
+private:
+ void checkWrite();
+ void checkRead();
+public:
+ virtual void deleteOnExit();
+private:
+ void writeObject(::java::io::ObjectOutputStream *);
+ void readObject(::java::io::ObjectInputStream *);
+ static const jlong serialVersionUID = 301077366599181567LL;
+ static const jint READ = 0;
+ static const jint WRITE = 1;
+ static const jint EXISTS = 2;
+ static const jint DIRECTORY = 0;
+ static const jint ISFILE = 1;
+ static const jint ISHIDDEN = 2;
+ static const jint MODIFIED = 0;
+ static const jint LENGTH = 1;
+public:
+ static ::java::lang::String * separator;
+private:
+ static ::java::lang::String * dupSeparator;
+public:
+ static jchar separatorChar;
+ static ::java::lang::String * pathSeparator;
+ static jchar pathSeparatorChar;
+public: // actually package-private
+ static ::java::lang::String * tmpdir;
+ static jint maxPathLen;
+ static jboolean caseSensitive;
+private:
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) path;
+ static jlong counter;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_io_File__
diff --git a/libjava/java/io/FileDescriptor.h b/libjava/java/io/FileDescriptor.h
new file mode 100644
index 0000000..a3863f3
--- /dev/null
+++ b/libjava/java/io/FileDescriptor.h
@@ -0,0 +1,43 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_io_FileDescriptor__
+#define __java_io_FileDescriptor__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace nio
+ {
+ namespace channels
+ {
+ class ByteChannel;
+ }
+ }
+ }
+}
+
+class java::io::FileDescriptor : public ::java::lang::Object
+{
+
+public:
+ FileDescriptor();
+public: // actually package-private
+ FileDescriptor(::java::nio::channels::ByteChannel *);
+public:
+ void sync();
+ jboolean valid();
+ static ::java::io::FileDescriptor * in;
+ static ::java::io::FileDescriptor * out;
+ static ::java::io::FileDescriptor * err;
+public: // actually package-private
+ ::java::nio::channels::ByteChannel * __attribute__((aligned(__alignof__( ::java::lang::Object)))) channel;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_io_FileDescriptor__
diff --git a/libjava/java/io/FileDescriptor.java b/libjava/java/io/FileDescriptor.java
new file mode 100644
index 0000000..d300c9c
--- /dev/null
+++ b/libjava/java/io/FileDescriptor.java
@@ -0,0 +1,139 @@
+/* FileDescriptor.java -- Opaque file handle class
+ Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004
+ Free Software Foundation, Inc.
+
+This file is part of GNU Classpath.
+
+GNU Classpath is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+
+GNU Classpath is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU Classpath; see the file COPYING. If not, write to the
+Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+02110-1301 USA.
+
+Linking this library statically or dynamically with other modules is
+making a combined work based on this library. Thus, the terms and
+conditions of the GNU General Public License cover the whole
+combination.
+
+As a special exception, the copyright holders of this library give you
+permission to link this library with independent modules to produce an
+executable, regardless of the license terms of these independent
+modules, and to copy and distribute the resulting executable under
+terms of your choice, provided that you also meet, for each linked
+independent module, the terms and conditions of the license of that
+module. An independent module is a module which is not derived from
+or based on this library. If you modify this library, you may extend
+this exception to your version of the library, but you are not
+obligated to do so. If you do not wish to do so, delete this
+exception statement from your version. */
+
+
+package java.io;
+
+import gnu.java.nio.channels.FileChannelImpl;
+
+import java.nio.channels.ByteChannel;
+import java.nio.channels.FileChannel;
+
+/**
+ * This class represents an opaque file handle as a Java class. It should
+ * be used only to pass to other methods that expect an object of this
+ * type. No system specific information can be obtained from this object.
+ *
+ * @author Aaron M. Renn (arenn@urbanophile.com)
+ * @author Tom Tromey (tromey@cygnus.com)
+ * @date September 24, 1998
+ */
+public final class FileDescriptor
+{
+ /**
+ * A <code>FileDescriptor</code> representing the system standard input
+ * stream. This will usually be accessed through the
+ * <code>System.in</code>variable.
+ */
+ public static final FileDescriptor in
+ = new FileDescriptor (FileChannelImpl.in);
+
+ /**
+ * A <code>FileDescriptor</code> representing the system standard output
+ * stream. This will usually be accessed through the
+ * <code>System.out</code>variable.
+ */
+ public static final FileDescriptor out
+ = new FileDescriptor (FileChannelImpl.out);
+
+ /**
+ * A <code>FileDescriptor</code> representing the system standard error
+ * stream. This will usually be accessed through the
+ * <code>System.err</code>variable.
+ */
+ public static final FileDescriptor err
+ = new FileDescriptor (FileChannelImpl.err);
+
+ final ByteChannel channel;
+
+ /**
+ * This method is used to initialize an invalid FileDescriptor object.
+ */
+ public FileDescriptor()
+ {
+ channel = null;
+ }
+
+ /**
+ * This method is used to initialize a FileDescriptor object.
+ */
+ FileDescriptor(ByteChannel channel)
+ {
+ this.channel = channel;
+ }
+
+
+ /**
+ * This method forces all data that has not yet been physically written to
+ * the underlying storage medium associated with this
+ * <code>FileDescriptor</code>
+ * to be written out. This method will not return until all data has
+ * been fully written to the underlying device. If the device does not
+ * support this functionality or if an error occurs, then an exception
+ * will be thrown.
+ */
+ public void sync () throws SyncFailedException
+ {
+ if (channel instanceof FileChannel)
+ {
+ try
+ {
+ ((FileChannel) channel).force(true);
+ }
+ catch (IOException ex)
+ {
+ if (ex instanceof SyncFailedException)
+ throw (SyncFailedException) ex;
+ else
+ throw new SyncFailedException(ex.toString());
+ }
+ }
+ }
+
+ /**
+ * This methods tests whether or not this object represents a valid open
+ * native file handle.
+ *
+ * @return <code>true</code> if this object represents a valid
+ * native file handle, <code>false</code> otherwise
+ */
+ public boolean valid ()
+ {
+ return channel != null && channel.isOpen();
+ }
+}
diff --git a/libjava/java/io/FileFilter.h b/libjava/java/io/FileFilter.h
new file mode 100644
index 0000000..e90e437
--- /dev/null
+++ b/libjava/java/io/FileFilter.h
@@ -0,0 +1,19 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_io_FileFilter__
+#define __java_io_FileFilter__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::io::FileFilter : public ::java::lang::Object
+{
+
+public:
+ virtual jboolean accept(::java::io::File *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_io_FileFilter__
diff --git a/libjava/java/io/FileInputStream.h b/libjava/java/io/FileInputStream.h
new file mode 100644
index 0000000..01efe56
--- /dev/null
+++ b/libjava/java/io/FileInputStream.h
@@ -0,0 +1,67 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_io_FileInputStream__
+#define __java_io_FileInputStream__
+
+#pragma interface
+
+#include <java/io/InputStream.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace nio
+ {
+ namespace channels
+ {
+ class FileChannelImpl;
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace nio
+ {
+ namespace channels
+ {
+ class FileChannel;
+ }
+ }
+ }
+}
+
+class java::io::FileInputStream : public ::java::io::InputStream
+{
+
+public:
+ FileInputStream(::java::lang::String *);
+ FileInputStream(::java::io::File *);
+ FileInputStream(::java::io::FileDescriptor *);
+public: // actually package-private
+ FileInputStream(::gnu::java::nio::channels::FileChannelImpl *);
+public:
+ virtual jint available();
+ virtual void close();
+public: // actually protected
+ virtual void finalize();
+public:
+ virtual ::java::io::FileDescriptor * getFD();
+ virtual jint read();
+ virtual jint read(JArray< jbyte > *);
+ virtual jint read(JArray< jbyte > *, jint, jint);
+ virtual jlong skip(jlong);
+ virtual ::java::nio::channels::FileChannel * getChannel();
+private:
+ ::java::io::FileDescriptor * __attribute__((aligned(__alignof__( ::java::io::InputStream)))) fd;
+ ::gnu::java::nio::channels::FileChannelImpl * ch;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_io_FileInputStream__
diff --git a/libjava/java/io/FileInputStream.java b/libjava/java/io/FileInputStream.java
new file mode 100644
index 0000000..8ca38b0
--- /dev/null
+++ b/libjava/java/io/FileInputStream.java
@@ -0,0 +1,309 @@
+/* FileInputStream.java -- An input stream that reads from disk files.
+ Copyright (C) 1998, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
+
+This file is part of GNU Classpath.
+
+GNU Classpath is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+
+GNU Classpath is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU Classpath; see the file COPYING. If not, write to the
+Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+02110-1301 USA.
+
+Linking this library statically or dynamically with other modules is
+making a combined work based on this library. Thus, the terms and
+conditions of the GNU General Public License cover the whole
+combination.
+
+As a special exception, the copyright holders of this library give you
+permission to link this library with independent modules to produce an
+executable, regardless of the license terms of these independent
+modules, and to copy and distribute the resulting executable under
+terms of your choice, provided that you also meet, for each linked
+independent module, the terms and conditions of the license of that
+module. An independent module is a module which is not derived from
+or based on this library. If you modify this library, you may extend
+this exception to your version of the library, but you are not
+obligated to do so. If you do not wish to do so, delete this
+exception statement from your version. */
+
+
+package java.io;
+
+import gnu.java.nio.channels.FileChannelImpl;
+
+import java.nio.channels.FileChannel;
+
+/* Written using "Java Class Libraries", 2nd edition, ISBN 0-201-31002-3
+ * "The Java Language Specification", ISBN 0-201-63451-1
+ * plus online API docs for JDK 1.2 beta from http://www.javasoft.com.
+ * Status: Believed complete and correct.
+ */
+
+/**
+ * This class is a stream that reads its bytes from a file.
+ *
+ * @author Aaron M. Renn (arenn@urbanophile.com)
+ * @author Warren Levy (warrenl@cygnus.com)
+ */
+public class FileInputStream extends InputStream
+{
+ /**
+ * This is the native file handle for the file this stream is reading from
+ */
+ private FileDescriptor fd;
+
+ private FileChannelImpl ch;
+
+ /**
+ * This method initializes a <code>FileInputStream</code> to read from the
+ * specified named file. A security check is first made to determine
+ * whether or not access to this file is allowed. This is done by
+ * calling the <code>checkRead()</code> method of the
+ * <code>SecurityManager</code>
+ * (if one exists) with the name of this file. An exception is thrown
+ * if reading is not allowed. If the file does not exist, an exception
+ * is also thrown.
+ *
+ * @param name The name of the file this stream should read from
+ *
+ * @exception SecurityException If read access to the file is not allowed
+ * @exception FileNotFoundException If the file does not exist
+ * or if it is a directory
+ */
+ public FileInputStream(String name) throws FileNotFoundException
+ {
+ this(new File(name));
+ }
+
+ /**
+ * This method initializes a <code>FileInputStream</code> to read from the
+ * specified <code>File</code> object. A security check is first
+ * made to determine
+ * whether or not access to this file is allowed. This is done by
+ * calling the <code>checkRead()</code> method of the
+ * <code>SecurityManager</code>
+ * (if one exists) with the name of this file. An exception is thrown
+ * if reading is not allowed. If the file does not exist, an exception
+ * is also thrown.
+ *
+ * @param file The <code>File</code> object this stream should read from
+ *
+ * @exception SecurityException If read access to the file is not allowed
+ * @exception FileNotFoundException If the file does not exist
+ * or if it is a directory.
+ */
+ public FileInputStream(File file) throws FileNotFoundException
+ {
+ SecurityManager s = System.getSecurityManager();
+ if (s != null)
+ s.checkRead(file.getPath());
+
+ ch = FileChannelImpl.create(file, FileChannelImpl.READ);
+ }
+
+ /**
+ * This method initializes a <code>FileInputStream</code> to read from the
+ * specified <code>FileDescriptor</code> object. A security
+ * check is first made to
+ * determine whether or not access to this file is allowed. This is done by
+ * calling the <code>checkRead()</code> method of the
+ * <code>SecurityManager</code>
+ * (if one exists) with the specified <code>FileDescriptor</code>
+ * An exception is
+ * thrown if reading is not allowed.
+ *
+ * @param fdObj The <code>FileDescriptor</code> object this stream
+ * should read from
+ *
+ * @exception SecurityException If read access to the file is not allowed
+ */
+ public FileInputStream(FileDescriptor fdObj)
+ {
+ SecurityManager s = System.getSecurityManager();
+ if (s != null)
+ s.checkRead(fdObj);
+
+ fd = fdObj;
+ ch = (FileChannelImpl) fdObj.channel;
+ }
+
+ FileInputStream(FileChannelImpl ch)
+ {
+ this.ch = ch;
+ }
+
+ /**
+ * This method returns the number of bytes that can be read from this
+ * stream before a read can block. A return of 0 indicates that blocking
+ * might (or might not) occur on the very next read attempt.
+ * <p>
+ * This method returns the number of unread bytes remaining in the file if
+ * the descriptor being read from is an actual file. If this method is
+ * reading from a ''special'' file such a the standard input, this method
+ * will return the appropriate value for the stream being read.
+ * <p>
+ * Be aware that reads on plain files that do not reside locally might
+ * possibly block even if this method says they should not. For example,
+ * a remote server might crash, preventing an NFS mounted file from being
+ * read.
+ *
+ * @return The number of bytes that can be read before blocking could occur
+ *
+ * @exception IOException If an error occurs
+ */
+ public int available() throws IOException
+ {
+ return ch.available();
+ }
+
+ /**
+ * This method closes the stream. Any futher attempts to read from the
+ * stream will likely generate an IOException since the underlying file
+ * will be closed.
+ *
+ * @exception IOException If an error occurs.
+ */
+ public void close() throws IOException
+ {
+ ch.close();
+ }
+
+ protected void finalize() throws IOException
+ {
+ // We don't actually need this, but we include it because it is
+ // mentioned in the JCL.
+ }
+
+ /**
+ * This method returns a <code>FileDescriptor</code> object representing the
+ * underlying native file handle of the file this stream is reading
+ * from
+ *
+ * @return A <code>FileDescriptor</code> for this stream
+ *
+ * @exception IOException If an error occurs
+ */
+ public final FileDescriptor getFD() throws IOException
+ {
+ synchronized (this)
+ {
+ if (fd == null)
+ fd = new FileDescriptor (ch);
+ return fd;
+ }
+ }
+
+ /**
+ * This method reads an unsigned byte from the input stream and returns it
+ * as an int in the range of 0-255. This method also will return -1 if
+ * the end of the stream has been reached.
+ * <p>
+ * This method will block until the byte can be read.
+ *
+ * @return The byte read or -1 if end of stream
+ *
+ * @exception IOException If an error occurs
+ */
+ public int read() throws IOException
+ {
+ return ch.read();
+ }
+
+ /**
+ * This method reads bytes from a stream and stores them into a caller
+ * supplied buffer. This method attempts to completely fill the buffer,
+ * but can return before doing so. The actual number of bytes read is
+ * returned as an int. A -1 is returned to indicate the end of the stream.
+ * <p>
+ * This method will block until some data can be read.
+ * <p>
+ * This method operates by calling an overloaded read method like so:
+ * <code>read(buf, 0, buf.length)</code>
+ *
+ * @param buf The buffer into which the bytes read will be stored.
+ *
+ * @return The number of bytes read or -1 if end of stream.
+ *
+ * @exception IOException If an error occurs.
+ */
+ public int read(byte[] buf) throws IOException
+ {
+ return read(buf, 0, buf.length);
+ }
+
+ /**
+ * This method read bytes from a stream and stores them into a caller
+ * supplied buffer. It starts storing the data at index
+ * <code>offset</code> into
+ * the buffer and attempts to read <code>len</code> bytes. This method can
+ * return before reading the number of bytes requested. The actual number
+ * of bytes read is returned as an int. A -1 is returned to indicate the
+ * end of the stream.
+ * <p>
+ * This method will block until some data can be read.
+ *
+ * @param buf The array into which the bytes read should be stored
+ * @param offset The offset into the array to start storing bytes
+ * @param len The requested number of bytes to read
+ *
+ * @return The actual number of bytes read, or -1 if end of stream.
+ *
+ * @exception IOException If an error occurs.
+ */
+ public int read(byte[] buf, int offset, int len) throws IOException
+ {
+ if (offset < 0
+ || len < 0
+ || offset + len > buf.length)
+ throw new ArrayIndexOutOfBoundsException();
+
+ return ch.read(buf, offset, len);
+ }
+
+ /**
+ * This method skips the specified number of bytes in the stream. It
+ * returns the actual number of bytes skipped, which may be less than the
+ * requested amount.
+ * <p>
+ * @param numBytes The requested number of bytes to skip
+ *
+ * @return The actual number of bytes skipped.
+ *
+ * @exception IOException If an error occurs
+ */
+ public synchronized long skip (long numBytes) throws IOException
+ {
+ if (numBytes < 0)
+ throw new IllegalArgumentException ("Can't skip negative bytes: " +
+ numBytes);
+
+ if (numBytes == 0)
+ return 0;
+
+ long oldPos = ch.position ();
+ ch.position(oldPos + numBytes);
+ return ch.position() - oldPos;
+ }
+
+ /**
+ * This method creates a java.nio.channels.FileChannel.
+ * Nio does not allow one to create a file channel directly.
+ * A file channel must be created by first creating an instance of
+ * Input/Output/RandomAccessFile and invoking the getChannel() method on it.
+ */
+ public synchronized FileChannel getChannel ()
+ {
+ return ch;
+ }
+
+} // class FileInputStream
+
diff --git a/libjava/java/io/FileNotFoundException.h b/libjava/java/io/FileNotFoundException.h
new file mode 100644
index 0000000..794160d
--- /dev/null
+++ b/libjava/java/io/FileNotFoundException.h
@@ -0,0 +1,23 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_io_FileNotFoundException__
+#define __java_io_FileNotFoundException__
+
+#pragma interface
+
+#include <java/io/IOException.h>
+
+class java::io::FileNotFoundException : public ::java::io::IOException
+{
+
+public:
+ FileNotFoundException();
+ FileNotFoundException(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = -897856973823710492LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_io_FileNotFoundException__
diff --git a/libjava/java/io/FileOutputStream.h b/libjava/java/io/FileOutputStream.h
new file mode 100644
index 0000000..b2bf0d9
--- /dev/null
+++ b/libjava/java/io/FileOutputStream.h
@@ -0,0 +1,66 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_io_FileOutputStream__
+#define __java_io_FileOutputStream__
+
+#pragma interface
+
+#include <java/io/OutputStream.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace nio
+ {
+ namespace channels
+ {
+ class FileChannelImpl;
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace nio
+ {
+ namespace channels
+ {
+ class FileChannel;
+ }
+ }
+ }
+}
+
+class java::io::FileOutputStream : public ::java::io::OutputStream
+{
+
+public:
+ FileOutputStream(::java::lang::String *, jboolean);
+ FileOutputStream(::java::lang::String *);
+ FileOutputStream(::java::io::File *);
+ FileOutputStream(::java::io::File *, jboolean);
+ FileOutputStream(::java::io::FileDescriptor *);
+public: // actually package-private
+ FileOutputStream(::gnu::java::nio::channels::FileChannelImpl *);
+public: // actually protected
+ virtual void finalize();
+public:
+ virtual ::java::io::FileDescriptor * getFD();
+ virtual void write(jint);
+ virtual void write(JArray< jbyte > *);
+ virtual void write(JArray< jbyte > *, jint, jint);
+ virtual void close();
+ virtual ::java::nio::channels::FileChannel * getChannel();
+private:
+ ::java::io::FileDescriptor * __attribute__((aligned(__alignof__( ::java::io::OutputStream)))) fd;
+ ::gnu::java::nio::channels::FileChannelImpl * ch;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_io_FileOutputStream__
diff --git a/libjava/java/io/FileOutputStream.java b/libjava/java/io/FileOutputStream.java
new file mode 100644
index 0000000..10ea6b5
--- /dev/null
+++ b/libjava/java/io/FileOutputStream.java
@@ -0,0 +1,296 @@
+/* FileOutputStream.java -- Writes to a file on disk.
+ Copyright (C) 1998, 2001, 2003, 2004, 2005 Free Software Foundation, Inc.
+
+This file is part of GNU Classpath.
+
+GNU Classpath is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+
+GNU Classpath is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU Classpath; see the file COPYING. If not, write to the
+Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+02110-1301 USA.
+
+Linking this library statically or dynamically with other modules is
+making a combined work based on this library. Thus, the terms and
+conditions of the GNU General Public License cover the whole
+combination.
+
+As a special exception, the copyright holders of this library give you
+permission to link this library with independent modules to produce an
+executable, regardless of the license terms of these independent
+modules, and to copy and distribute the resulting executable under
+terms of your choice, provided that you also meet, for each linked
+independent module, the terms and conditions of the license of that
+module. An independent module is a module which is not derived from
+or based on this library. If you modify this library, you may extend
+this exception to your version of the library, but you are not
+obligated to do so. If you do not wish to do so, delete this
+exception statement from your version. */
+
+
+package java.io;
+
+import gnu.java.nio.channels.FileChannelImpl;
+
+import java.nio.channels.FileChannel;
+
+/* Written using "Java Class Libraries", 2nd edition, ISBN 0-201-31002-3
+ * "The Java Language Specification", ISBN 0-201-63451-1
+ * Status: Complete to version 1.1.
+ */
+
+/**
+ * This classes allows a stream of data to be written to a disk file or
+ * any open <code>FileDescriptor</code>.
+ *
+ * @author Aaron M. Renn (arenn@urbanophile.com)
+ * @author Tom Tromey (tromey@cygnus.com)
+ */
+public class FileOutputStream extends OutputStream
+{
+ private FileDescriptor fd;
+
+ private FileChannelImpl ch;
+
+ /**
+ * This method initializes a <code>FileOutputStream</code> object to write
+ * to the named file. The file is created if it does not exist, and
+ * the bytes written are written starting at the beginning of the file if
+ * the <code>append</code> argument is <code>false</code> or at the end
+ * of the file if the <code>append</code> argument is true.
+ * <p>
+ * Before opening a file, a security check is performed by calling the
+ * <code>checkWrite</code> method of the <code>SecurityManager</code> (if
+ * one exists) with the name of the file to be opened. An exception is
+ * thrown if writing is not allowed.
+ *
+ * @param path The name of the file this stream should write to
+ * @param append <code>true</code> to append bytes to the end of the file,
+ * or <code>false</code> to write bytes to the beginning
+ *
+ * @exception SecurityException If write access to the file is not allowed
+ * @exception FileNotFoundException If a non-security error occurs
+ */
+ public FileOutputStream (String path, boolean append)
+ throws SecurityException, FileNotFoundException
+ {
+ this (new File(path), append);
+ }
+
+ /**
+ * This method initializes a <code>FileOutputStream</code> object to write
+ * to the named file. The file is created if it does not exist, and
+ * the bytes written are written starting at the beginning of the file.
+ * <p>
+ * Before opening a file, a security check is performed by calling the
+ * <code>checkWrite</code> method of the <code>SecurityManager</code> (if
+ * one exists) with the name of the file to be opened. An exception is
+ * thrown if writing is not allowed.
+ *
+ * @param path The name of the file this stream should write to
+ *
+ * @exception SecurityException If write access to the file is not allowed
+ * @exception FileNotFoundException If a non-security error occurs
+ */
+ public FileOutputStream (String path)
+ throws SecurityException, FileNotFoundException
+ {
+ this (path, false);
+ }
+
+ /**
+ * This method initializes a <code>FileOutputStream</code> object to write
+ * to the specified <code>File</code> object. The file is created if it
+ * does not exist, and the bytes written are written starting at the
+ * beginning of the file.
+ * <p>
+ * Before opening a file, a security check is performed by calling the
+ * <code>checkWrite</code> method of the <code>SecurityManager</code> (if
+ * one exists) with the name of the file to be opened. An exception is
+ * thrown if writing is not allowed.
+ *
+ * @param file The <code>File</code> object this stream should write to
+ *
+ * @exception SecurityException If write access to the file is not allowed
+ * @exception FileNotFoundException If a non-security error occurs
+ */
+ public FileOutputStream (File file)
+ throws SecurityException, FileNotFoundException
+ {
+ this (file, false);
+ }
+
+ /**
+ * This method initializes a <code>FileOutputStream</code> object to write
+ * to the specified <code>File</code> object. The file is created if it
+ * does not exist, and the bytes written are written starting at the
+ * beginning of the file if the <code>append</code> parameter is
+ * <code>false</code>. Otherwise bytes are written at the end of the
+ * file.
+ * <p>
+ * Before opening a file, a security check is performed by calling the
+ * <code>checkWrite</code> method of the <code>SecurityManager</code> (if
+ * one exists) with the name of the file to be opened. An exception is
+ * thrown if writing is not allowed.
+ *
+ * @param file The <code>File</code> object this stream should write to
+ * @param append <code>true</code> to append bytes to the end of the file,
+ * or <code>false</code> to write bytes to the beginning
+ *
+ * @exception SecurityException If write access to the file is not allowed
+ * @exception FileNotFoundException If a non-security error occurs
+ */
+ public FileOutputStream (File file, boolean append)
+ throws FileNotFoundException
+ {
+ SecurityManager s = System.getSecurityManager();
+ if (s != null)
+ s.checkWrite(file.getPath());
+
+ ch = FileChannelImpl.create(file, (append
+ ? FileChannelImpl.WRITE
+ | FileChannelImpl.APPEND
+ : FileChannelImpl.WRITE));
+ }
+
+ /**
+ * This method initializes a <code>FileOutputStream</code> object to write
+ * to the file represented by the specified <code>FileDescriptor</code>
+ * object. This method does not create any underlying disk file or
+ * reposition the file pointer of the given descriptor. It assumes that
+ * this descriptor is ready for writing as is.
+ * <p>
+ * Before opening a file, a security check is performed by calling the
+ * <code>checkWrite</code> method of the <code>SecurityManager</code> (if
+ * one exists) with the specified <code>FileDescriptor</code> as an argument.
+ * An exception is thrown if writing is not allowed.
+ *
+ * @param fdObj The <code>FileDescriptor</code> this stream should write to
+ *
+ * @exception SecurityException If write access to the file is not allowed
+ */
+ public FileOutputStream (FileDescriptor fdObj)
+ throws SecurityException
+ {
+ // Hmm, no other exception but this one to throw, but if the descriptor
+ // isn't valid, we surely don't have "permission" to write to it.
+ if (!fdObj.valid())
+ throw new SecurityException("Invalid FileDescriptor");
+
+ SecurityManager s = System.getSecurityManager();
+ if (s != null)
+ s.checkWrite(fdObj);
+
+ fd = fdObj;
+ ch = (FileChannelImpl) fdObj.channel;
+ }
+
+ FileOutputStream(FileChannelImpl ch)
+ {
+ this.ch = ch;
+ }
+
+ protected void finalize () throws IOException
+ {
+ // We don't actually need this, but we include it because it is
+ // mentioned in the JCL.
+ }
+
+ /**
+ * This method returns a <code>FileDescriptor</code> object representing
+ * the file that is currently being written to
+ *
+ * @return A <code>FileDescriptor</code> object for this stream
+ *
+ * @exception IOException If an error occurs
+ */
+ public final FileDescriptor getFD () throws IOException
+ {
+ synchronized (this)
+ {
+ if (fd == null)
+ fd = new FileDescriptor (ch);
+ return fd;
+ }
+ }
+
+ /**
+ * This method writes a single byte of data to the file.
+ *
+ * @param b The byte of data to write, passed as an <code>int</code>
+ *
+ * @exception IOException If an error occurs
+ */
+ public void write (int b) throws IOException
+ {
+ ch.write (b);
+ }
+
+ /**
+ * This method writes all the bytes in the specified array to the
+ * file.
+ *
+ * @param buf The array of bytes to write to the file
+ *
+ * @exception IOException If an error occurs
+ */
+ public void write (byte[] buf)
+ throws IOException
+ {
+ write (buf, 0, buf.length);
+ }
+
+ /**
+ * This method writes <code>len</code> bytes from the byte array
+ * <code>buf</code> to the file starting at index <code>offset</code>.
+ *
+ * @param buf The array of bytes to write to the file
+ * @param offset The offset into the array to start writing bytes from
+ * @param len The number of bytes to write to the file
+ *
+ * @exception IOException If an error occurs
+ */
+ public void write (byte[] buf, int offset, int len)
+ throws IOException
+ {
+ if (offset < 0
+ || len < 0
+ || offset + len > buf.length)
+ throw new ArrayIndexOutOfBoundsException ();
+
+ ch.write (buf, offset, len);
+ }
+
+ /**
+ * This method closes the underlying file. Any further attempts to
+ * write to this stream will likely generate an exception since the
+ * file is closed.
+ *
+ * @exception IOException If an error occurs
+ */
+ public void close () throws IOException
+ {
+ ch.close();
+ }
+
+ /**
+ * This method creates a java.nio.channels.FileChannel.
+ * Nio does not allow one to create a file channel directly.
+ * A file channel must be created by first creating an instance of
+ * Input/Output/RandomAccessFile and invoking the getChannel() method on it.
+ */
+ public synchronized FileChannel getChannel()
+ {
+ return ch;
+ }
+
+} // class FileOutputStream
+
diff --git a/libjava/java/io/FilePermission.h b/libjava/java/io/FilePermission.h
new file mode 100644
index 0000000..bace152
--- /dev/null
+++ b/libjava/java/io/FilePermission.h
@@ -0,0 +1,43 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_io_FilePermission__
+#define __java_io_FilePermission__
+
+#pragma interface
+
+#include <java/security/Permission.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class Permission;
+ }
+ }
+}
+
+class java::io::FilePermission : public ::java::security::Permission
+{
+
+ void checkPerms();
+public:
+ FilePermission(::java::lang::String *, ::java::lang::String *);
+ ::java::lang::String * getActions();
+ jint hashCode();
+ jboolean equals(::java::lang::Object *);
+ jboolean implies(::java::security::Permission *);
+private:
+ static const jlong serialVersionUID = 7930732926638008763LL;
+ static ::java::lang::String * ALL_FILES;
+ jboolean __attribute__((aligned(__alignof__( ::java::security::Permission)))) readPerm;
+ jboolean writePerm;
+ jboolean executePerm;
+ jboolean deletePerm;
+ ::java::lang::String * actionsString;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_io_FilePermission__
diff --git a/libjava/java/io/FileReader.h b/libjava/java/io/FileReader.h
new file mode 100644
index 0000000..4d1fba2
--- /dev/null
+++ b/libjava/java/io/FileReader.h
@@ -0,0 +1,21 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_io_FileReader__
+#define __java_io_FileReader__
+
+#pragma interface
+
+#include <java/io/InputStreamReader.h>
+
+class java::io::FileReader : public ::java::io::InputStreamReader
+{
+
+public:
+ FileReader(::java::io::File *);
+ FileReader(::java::io::FileDescriptor *);
+ FileReader(::java::lang::String *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_io_FileReader__
diff --git a/libjava/java/io/FileWriter.h b/libjava/java/io/FileWriter.h
new file mode 100644
index 0000000..b75ea00
--- /dev/null
+++ b/libjava/java/io/FileWriter.h
@@ -0,0 +1,23 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_io_FileWriter__
+#define __java_io_FileWriter__
+
+#pragma interface
+
+#include <java/io/OutputStreamWriter.h>
+
+class java::io::FileWriter : public ::java::io::OutputStreamWriter
+{
+
+public:
+ FileWriter(::java::io::File *);
+ FileWriter(::java::io::File *, jboolean);
+ FileWriter(::java::io::FileDescriptor *);
+ FileWriter(::java::lang::String *);
+ FileWriter(::java::lang::String *, jboolean);
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_io_FileWriter__
diff --git a/libjava/java/io/FilenameFilter.h b/libjava/java/io/FilenameFilter.h
new file mode 100644
index 0000000..2337ed32
--- /dev/null
+++ b/libjava/java/io/FilenameFilter.h
@@ -0,0 +1,19 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_io_FilenameFilter__
+#define __java_io_FilenameFilter__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::io::FilenameFilter : public ::java::lang::Object
+{
+
+public:
+ virtual jboolean accept(::java::io::File *, ::java::lang::String *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_io_FilenameFilter__
diff --git a/libjava/java/io/FilterInputStream.h b/libjava/java/io/FilterInputStream.h
new file mode 100644
index 0000000..1116639
--- /dev/null
+++ b/libjava/java/io/FilterInputStream.h
@@ -0,0 +1,34 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_io_FilterInputStream__
+#define __java_io_FilterInputStream__
+
+#pragma interface
+
+#include <java/io/InputStream.h>
+#include <gcj/array.h>
+
+
+class java::io::FilterInputStream : public ::java::io::InputStream
+{
+
+public: // actually protected
+ FilterInputStream(::java::io::InputStream *);
+public:
+ virtual void mark(jint);
+ virtual jboolean markSupported();
+ virtual void reset();
+ virtual jint available();
+ virtual jlong skip(jlong);
+ virtual jint read();
+ virtual jint read(JArray< jbyte > *);
+ virtual jint read(JArray< jbyte > *, jint, jint);
+ virtual void close();
+public: // actually protected
+ ::java::io::InputStream * __attribute__((aligned(__alignof__( ::java::io::InputStream)))) in;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_io_FilterInputStream__
diff --git a/libjava/java/io/FilterOutputStream.h b/libjava/java/io/FilterOutputStream.h
new file mode 100644
index 0000000..571b255
--- /dev/null
+++ b/libjava/java/io/FilterOutputStream.h
@@ -0,0 +1,29 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_io_FilterOutputStream__
+#define __java_io_FilterOutputStream__
+
+#pragma interface
+
+#include <java/io/OutputStream.h>
+#include <gcj/array.h>
+
+
+class java::io::FilterOutputStream : public ::java::io::OutputStream
+{
+
+public:
+ FilterOutputStream(::java::io::OutputStream *);
+ virtual void close();
+ virtual void flush();
+ virtual void write(jint);
+ virtual void write(JArray< jbyte > *);
+ virtual void write(JArray< jbyte > *, jint, jint);
+public: // actually protected
+ ::java::io::OutputStream * __attribute__((aligned(__alignof__( ::java::io::OutputStream)))) out;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_io_FilterOutputStream__
diff --git a/libjava/java/io/FilterReader.h b/libjava/java/io/FilterReader.h
new file mode 100644
index 0000000..52a1995
--- /dev/null
+++ b/libjava/java/io/FilterReader.h
@@ -0,0 +1,33 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_io_FilterReader__
+#define __java_io_FilterReader__
+
+#pragma interface
+
+#include <java/io/Reader.h>
+#include <gcj/array.h>
+
+
+class java::io::FilterReader : public ::java::io::Reader
+{
+
+public: // actually protected
+ FilterReader(::java::io::Reader *);
+public:
+ virtual void mark(jint);
+ virtual jboolean markSupported();
+ virtual void reset();
+ virtual jboolean ready();
+ virtual jlong skip(jlong);
+ virtual jint read();
+ virtual jint read(JArray< jchar > *, jint, jint);
+ virtual void close();
+public: // actually protected
+ ::java::io::Reader * __attribute__((aligned(__alignof__( ::java::io::Reader)))) in;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_io_FilterReader__
diff --git a/libjava/java/io/FilterWriter.h b/libjava/java/io/FilterWriter.h
new file mode 100644
index 0000000..146f015
--- /dev/null
+++ b/libjava/java/io/FilterWriter.h
@@ -0,0 +1,30 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_io_FilterWriter__
+#define __java_io_FilterWriter__
+
+#pragma interface
+
+#include <java/io/Writer.h>
+#include <gcj/array.h>
+
+
+class java::io::FilterWriter : public ::java::io::Writer
+{
+
+public: // actually protected
+ FilterWriter(::java::io::Writer *);
+public:
+ virtual void close();
+ virtual void flush();
+ virtual void write(jint);
+ virtual void write(JArray< jchar > *, jint, jint);
+ virtual void write(::java::lang::String *, jint, jint);
+public: // actually protected
+ ::java::io::Writer * __attribute__((aligned(__alignof__( ::java::io::Writer)))) out;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_io_FilterWriter__
diff --git a/libjava/java/io/Flushable.h b/libjava/java/io/Flushable.h
new file mode 100644
index 0000000..2acd25d
--- /dev/null
+++ b/libjava/java/io/Flushable.h
@@ -0,0 +1,19 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_io_Flushable__
+#define __java_io_Flushable__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::io::Flushable : public ::java::lang::Object
+{
+
+public:
+ virtual void flush() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_io_Flushable__
diff --git a/libjava/java/io/IOException.h b/libjava/java/io/IOException.h
new file mode 100644
index 0000000..bdd92e0
--- /dev/null
+++ b/libjava/java/io/IOException.h
@@ -0,0 +1,23 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_io_IOException__
+#define __java_io_IOException__
+
+#pragma interface
+
+#include <java/lang/Exception.h>
+
+class java::io::IOException : public ::java::lang::Exception
+{
+
+public:
+ IOException();
+ IOException(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = 7818375828146090155LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_io_IOException__
diff --git a/libjava/java/io/InputStream.h b/libjava/java/io/InputStream.h
new file mode 100644
index 0000000..263af2c
--- /dev/null
+++ b/libjava/java/io/InputStream.h
@@ -0,0 +1,30 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_io_InputStream__
+#define __java_io_InputStream__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+
+class java::io::InputStream : public ::java::lang::Object
+{
+
+public:
+ InputStream();
+ virtual jint available();
+ virtual void close();
+ virtual void mark(jint);
+ virtual jboolean markSupported();
+ virtual jint read() = 0;
+ virtual jint read(JArray< jbyte > *);
+ virtual jint read(JArray< jbyte > *, jint, jint);
+ virtual void reset();
+ virtual jlong skip(jlong);
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_io_InputStream__
diff --git a/libjava/java/io/InputStreamReader.h b/libjava/java/io/InputStreamReader.h
new file mode 100644
index 0000000..46050d5
--- /dev/null
+++ b/libjava/java/io/InputStreamReader.h
@@ -0,0 +1,65 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_io_InputStreamReader__
+#define __java_io_InputStreamReader__
+
+#pragma interface
+
+#include <java/io/Reader.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace gcj
+ {
+ namespace convert
+ {
+ class BytesToUnicode;
+ }
+ }
+ }
+ namespace java
+ {
+ namespace nio
+ {
+ namespace charset
+ {
+ class Charset;
+ class CharsetDecoder;
+ }
+ }
+ }
+}
+
+class java::io::InputStreamReader : public ::java::io::Reader
+{
+
+public:
+ InputStreamReader(::java::io::InputStream *);
+ InputStreamReader(::java::io::InputStream *, ::java::lang::String *);
+ InputStreamReader(::java::io::InputStream *, ::java::nio::charset::Charset *);
+ InputStreamReader(::java::io::InputStream *, ::java::nio::charset::CharsetDecoder *);
+private:
+ InputStreamReader(::java::io::InputStream *, ::gnu::gcj::convert::BytesToUnicode *);
+public:
+ virtual void close();
+ virtual ::java::lang::String * getEncoding();
+ virtual jboolean ready();
+ virtual jint read(JArray< jchar > *, jint, jint);
+ virtual jint read();
+private:
+ jint refill(JArray< jchar > *, jint, jint);
+public: // actually package-private
+ ::java::io::BufferedInputStream * __attribute__((aligned(__alignof__( ::java::io::Reader)))) in;
+ JArray< jchar > * work;
+ jint wpos;
+ jint wcount;
+ ::gnu::gcj::convert::BytesToUnicode * converter;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_io_InputStreamReader__
diff --git a/libjava/java/io/InterruptedIOException.h b/libjava/java/io/InterruptedIOException.h
new file mode 100644
index 0000000..40922cd
--- /dev/null
+++ b/libjava/java/io/InterruptedIOException.h
@@ -0,0 +1,26 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_io_InterruptedIOException__
+#define __java_io_InterruptedIOException__
+
+#pragma interface
+
+#include <java/io/IOException.h>
+
+class java::io::InterruptedIOException : public ::java::io::IOException
+{
+
+public:
+ InterruptedIOException();
+ InterruptedIOException(::java::lang::String *);
+public: // actually package-private
+ InterruptedIOException(::java::lang::String *, jint);
+private:
+ static const jlong serialVersionUID = 4020568460727500567LL;
+public:
+ jint __attribute__((aligned(__alignof__( ::java::io::IOException)))) bytesTransferred;
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_io_InterruptedIOException__
diff --git a/libjava/java/io/InvalidClassException.h b/libjava/java/io/InvalidClassException.h
new file mode 100644
index 0000000..6216a9a
--- /dev/null
+++ b/libjava/java/io/InvalidClassException.h
@@ -0,0 +1,25 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_io_InvalidClassException__
+#define __java_io_InvalidClassException__
+
+#pragma interface
+
+#include <java/io/ObjectStreamException.h>
+
+class java::io::InvalidClassException : public ::java::io::ObjectStreamException
+{
+
+public:
+ InvalidClassException(::java::lang::String *);
+ InvalidClassException(::java::lang::String *, ::java::lang::String *);
+ virtual ::java::lang::String * getMessage();
+private:
+ static const jlong serialVersionUID = -4333316296251054416LL;
+public:
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::io::ObjectStreamException)))) classname;
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_io_InvalidClassException__
diff --git a/libjava/java/io/InvalidObjectException.h b/libjava/java/io/InvalidObjectException.h
new file mode 100644
index 0000000..550dd43
--- /dev/null
+++ b/libjava/java/io/InvalidObjectException.h
@@ -0,0 +1,22 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_io_InvalidObjectException__
+#define __java_io_InvalidObjectException__
+
+#pragma interface
+
+#include <java/io/ObjectStreamException.h>
+
+class java::io::InvalidObjectException : public ::java::io::ObjectStreamException
+{
+
+public:
+ InvalidObjectException(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = 3233174318281839583LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_io_InvalidObjectException__
diff --git a/libjava/java/io/LineNumberInputStream.h b/libjava/java/io/LineNumberInputStream.h
new file mode 100644
index 0000000..676893d
--- /dev/null
+++ b/libjava/java/io/LineNumberInputStream.h
@@ -0,0 +1,34 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_io_LineNumberInputStream__
+#define __java_io_LineNumberInputStream__
+
+#pragma interface
+
+#include <java/io/FilterInputStream.h>
+#include <gcj/array.h>
+
+
+class java::io::LineNumberInputStream : public ::java::io::FilterInputStream
+{
+
+public:
+ LineNumberInputStream(::java::io::InputStream *);
+ virtual jint available();
+ virtual jint getLineNumber();
+ virtual void mark(jint);
+ virtual jint read();
+ virtual jint read(JArray< jbyte > *, jint, jint);
+ virtual void reset();
+ virtual void setLineNumber(jint);
+ virtual jlong skip(jlong);
+private:
+ jint __attribute__((aligned(__alignof__( ::java::io::FilterInputStream)))) lineNumber;
+ jint markLineNumber;
+ jboolean justReadReturnChar;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_io_LineNumberInputStream__
diff --git a/libjava/java/io/LineNumberReader.h b/libjava/java/io/LineNumberReader.h
new file mode 100644
index 0000000..33564c9
--- /dev/null
+++ b/libjava/java/io/LineNumberReader.h
@@ -0,0 +1,41 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_io_LineNumberReader__
+#define __java_io_LineNumberReader__
+
+#pragma interface
+
+#include <java/io/BufferedReader.h>
+#include <gcj/array.h>
+
+
+class java::io::LineNumberReader : public ::java::io::BufferedReader
+{
+
+public:
+ LineNumberReader(::java::io::Reader *);
+ LineNumberReader(::java::io::Reader *, jint);
+ virtual jint getLineNumber();
+ virtual void setLineNumber(jint);
+ virtual void mark(jint);
+ virtual void reset();
+private:
+ jint fill();
+public:
+ virtual jint read();
+ virtual jint read(JArray< jchar > *, jint, jint);
+private:
+ void skipRedundantLF();
+public:
+ virtual ::java::lang::String * readLine();
+ virtual jlong skip(jlong);
+private:
+ jint __attribute__((aligned(__alignof__( ::java::io::BufferedReader)))) lineNumber;
+ jboolean matchedNewLine;
+ jint savedLineNumber;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_io_LineNumberReader__
diff --git a/libjava/java/io/NotActiveException.h b/libjava/java/io/NotActiveException.h
new file mode 100644
index 0000000..9020e4e
--- /dev/null
+++ b/libjava/java/io/NotActiveException.h
@@ -0,0 +1,23 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_io_NotActiveException__
+#define __java_io_NotActiveException__
+
+#pragma interface
+
+#include <java/io/ObjectStreamException.h>
+
+class java::io::NotActiveException : public ::java::io::ObjectStreamException
+{
+
+public:
+ NotActiveException();
+ NotActiveException(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = -3893467273049808895LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_io_NotActiveException__
diff --git a/libjava/java/io/NotSerializableException.h b/libjava/java/io/NotSerializableException.h
new file mode 100644
index 0000000..55699b4
--- /dev/null
+++ b/libjava/java/io/NotSerializableException.h
@@ -0,0 +1,23 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_io_NotSerializableException__
+#define __java_io_NotSerializableException__
+
+#pragma interface
+
+#include <java/io/ObjectStreamException.h>
+
+class java::io::NotSerializableException : public ::java::io::ObjectStreamException
+{
+
+public:
+ NotSerializableException();
+ NotSerializableException(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = 2906642554793891381LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_io_NotSerializableException__
diff --git a/libjava/java/io/ObjectInput.h b/libjava/java/io/ObjectInput.h
new file mode 100644
index 0000000..7cfac20
--- /dev/null
+++ b/libjava/java/io/ObjectInput.h
@@ -0,0 +1,42 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_io_ObjectInput__
+#define __java_io_ObjectInput__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+
+class java::io::ObjectInput : public ::java::lang::Object
+{
+
+public:
+ virtual jint available() = 0;
+ virtual jint read() = 0;
+ virtual jint read(JArray< jbyte > *) = 0;
+ virtual jint read(JArray< jbyte > *, jint, jint) = 0;
+ virtual ::java::lang::Object * readObject() = 0;
+ virtual jlong skip(jlong) = 0;
+ virtual void close() = 0;
+ virtual jboolean readBoolean() = 0;
+ virtual jbyte readByte() = 0;
+ virtual jint readUnsignedByte() = 0;
+ virtual jchar readChar() = 0;
+ virtual jshort readShort() = 0;
+ virtual jint readUnsignedShort() = 0;
+ virtual jint readInt() = 0;
+ virtual jlong readLong() = 0;
+ virtual jfloat readFloat() = 0;
+ virtual jdouble readDouble() = 0;
+ virtual ::java::lang::String * readLine() = 0;
+ virtual ::java::lang::String * readUTF() = 0;
+ virtual void readFully(JArray< jbyte > *) = 0;
+ virtual void readFully(JArray< jbyte > *, jint, jint) = 0;
+ virtual jint skipBytes(jint) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_io_ObjectInput__
diff --git a/libjava/java/io/ObjectInputStream$1.h b/libjava/java/io/ObjectInputStream$1.h
new file mode 100644
index 0000000..3a3241a
--- /dev/null
+++ b/libjava/java/io/ObjectInputStream$1.h
@@ -0,0 +1,26 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_io_ObjectInputStream$1__
+#define __java_io_ObjectInputStream$1__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::io::ObjectInputStream$1 : public ::java::lang::Object
+{
+
+public: // actually package-private
+ ObjectInputStream$1(::java::io::ObjectInputStream *, ::java::lang::Class *);
+public:
+ ::java::lang::Object * run();
+public: // actually package-private
+ ::java::io::ObjectInputStream * __attribute__((aligned(__alignof__( ::java::lang::Object)))) this$0;
+private:
+ ::java::lang::Class * val$local_constructor_class;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_io_ObjectInputStream$1__
diff --git a/libjava/java/io/ObjectInputStream$2.h b/libjava/java/io/ObjectInputStream$2.h
new file mode 100644
index 0000000..70fbf58
--- /dev/null
+++ b/libjava/java/io/ObjectInputStream$2.h
@@ -0,0 +1,42 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_io_ObjectInputStream$2__
+#define __java_io_ObjectInputStream$2__
+
+#pragma interface
+
+#include <java/io/ObjectInputStream$GetField.h>
+#include <gcj/array.h>
+
+
+class java::io::ObjectInputStream$2 : public ::java::io::ObjectInputStream$GetField
+{
+
+public: // actually package-private
+ ObjectInputStream$2(::java::io::ObjectInputStream *, ::java::io::ObjectStreamClass *, JArray< jbyte > *, JArray< ::java::lang::Object * > *);
+public:
+ ::java::io::ObjectStreamClass * getObjectStreamClass();
+ jboolean defaulted(::java::lang::String *);
+ jboolean get(::java::lang::String *, jboolean);
+ jchar get(::java::lang::String *, jchar);
+ jbyte get(::java::lang::String *, jbyte);
+ jshort get(::java::lang::String *, jshort);
+ jint get(::java::lang::String *, jint);
+ jlong get(::java::lang::String *, jlong);
+ jfloat get(::java::lang::String *, jfloat);
+ jdouble get(::java::lang::String *, jdouble);
+ ::java::lang::Object * get(::java::lang::String *, ::java::lang::Object *);
+private:
+ ::java::io::ObjectStreamField * getField(::java::lang::String *, ::java::lang::Class *);
+public: // actually package-private
+ ::java::io::ObjectInputStream * __attribute__((aligned(__alignof__( ::java::io::ObjectInputStream$GetField)))) this$0;
+private:
+ ::java::io::ObjectStreamClass * val$clazz;
+ JArray< jbyte > * val$prim_field_data;
+ JArray< ::java::lang::Object * > * val$objs;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_io_ObjectInputStream$2__
diff --git a/libjava/java/io/ObjectInputStream$GetField.h b/libjava/java/io/ObjectInputStream$GetField.h
new file mode 100644
index 0000000..d61509c
--- /dev/null
+++ b/libjava/java/io/ObjectInputStream$GetField.h
@@ -0,0 +1,30 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_io_ObjectInputStream$GetField__
+#define __java_io_ObjectInputStream$GetField__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::io::ObjectInputStream$GetField : public ::java::lang::Object
+{
+
+public:
+ ObjectInputStream$GetField();
+ virtual ::java::io::ObjectStreamClass * getObjectStreamClass() = 0;
+ virtual jboolean defaulted(::java::lang::String *) = 0;
+ virtual jboolean get(::java::lang::String *, jboolean) = 0;
+ virtual jchar get(::java::lang::String *, jchar) = 0;
+ virtual jbyte get(::java::lang::String *, jbyte) = 0;
+ virtual jshort get(::java::lang::String *, jshort) = 0;
+ virtual jint get(::java::lang::String *, jint) = 0;
+ virtual jlong get(::java::lang::String *, jlong) = 0;
+ virtual jfloat get(::java::lang::String *, jfloat) = 0;
+ virtual jdouble get(::java::lang::String *, jdouble) = 0;
+ virtual ::java::lang::Object * get(::java::lang::String *, ::java::lang::Object *) = 0;
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_io_ObjectInputStream$GetField__
diff --git a/libjava/java/io/ObjectInputStream$ValidatorAndPriority.h b/libjava/java/io/ObjectInputStream$ValidatorAndPriority.h
new file mode 100644
index 0000000..02e6ae6
--- /dev/null
+++ b/libjava/java/io/ObjectInputStream$ValidatorAndPriority.h
@@ -0,0 +1,25 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_io_ObjectInputStream$ValidatorAndPriority__
+#define __java_io_ObjectInputStream$ValidatorAndPriority__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::io::ObjectInputStream$ValidatorAndPriority : public ::java::lang::Object
+{
+
+public: // actually package-private
+ ObjectInputStream$ValidatorAndPriority(::java::io::ObjectInputValidation *, jint);
+public:
+ jint compareTo(::java::lang::Object *);
+public: // actually package-private
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) priority;
+ ::java::io::ObjectInputValidation * validator;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_io_ObjectInputStream$ValidatorAndPriority__
diff --git a/libjava/java/io/ObjectInputStream.h b/libjava/java/io/ObjectInputStream.h
new file mode 100644
index 0000000..b27764a
--- /dev/null
+++ b/libjava/java/io/ObjectInputStream.h
@@ -0,0 +1,103 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_io_ObjectInputStream__
+#define __java_io_ObjectInputStream__
+
+#pragma interface
+
+#include <java/io/InputStream.h>
+#include <gcj/array.h>
+
+
+class java::io::ObjectInputStream : public ::java::io::InputStream
+{
+
+public:
+ ObjectInputStream(::java::io::InputStream *);
+ virtual ::java::lang::Object * readObject();
+private:
+ ::java::lang::Object * parseContent(jbyte);
+ void checkTypeConsistency(::java::lang::String *, JArray< ::java::io::ObjectStreamField * > *, JArray< ::java::io::ObjectStreamField * > *);
+public: // actually protected
+ virtual ::java::io::ObjectStreamClass * readClassDescriptor();
+public:
+ virtual void defaultReadObject();
+ virtual void registerValidation(::java::io::ObjectInputValidation *, jint);
+public: // actually protected
+ virtual ::java::lang::Class * resolveClass(::java::io::ObjectStreamClass *);
+private:
+ ::java::lang::ClassLoader * currentLoader();
+ ::java::io::ObjectStreamClass * lookupClass(::java::lang::Class *);
+ JArray< ::java::io::ObjectStreamClass * > * hierarchy(::java::lang::Class *);
+public: // actually protected
+ virtual ::java::lang::Object * resolveObject(::java::lang::Object *);
+ virtual ::java::lang::Class * resolveProxyClass(JArray< ::java::lang::String * > *);
+ virtual jboolean enableResolveObject(jboolean);
+ virtual void readStreamHeader();
+public:
+ virtual jint read();
+ virtual jint read(JArray< jbyte > *, jint, jint);
+ virtual jint available();
+ virtual void close();
+ virtual jboolean readBoolean();
+ virtual jbyte readByte();
+ virtual jint readUnsignedByte();
+ virtual jshort readShort();
+ virtual jint readUnsignedShort();
+ virtual jchar readChar();
+ virtual jint readInt();
+ virtual jlong readLong();
+ virtual jfloat readFloat();
+ virtual jdouble readDouble();
+ virtual void readFully(JArray< jbyte > *);
+ virtual void readFully(JArray< jbyte > *, jint, jint);
+ virtual jint skipBytes(jint);
+ virtual ::java::lang::String * readLine();
+ virtual ::java::lang::String * readUTF();
+ virtual ::java::io::ObjectInputStream$GetField * readFields();
+public: // actually protected
+ ObjectInputStream();
+ virtual ::java::lang::Object * readObjectOverride();
+private:
+ jint assignNewHandle(::java::lang::Object *);
+ void rememberHandle(::java::lang::Object *, jint);
+ ::java::lang::Object * lookupHandle(jint);
+ ::java::lang::Object * processResolution(::java::io::ObjectStreamClass *, ::java::lang::Object *, jint);
+ void clearHandles();
+ void readNextBlock();
+ void readNextBlock(jbyte);
+ void readArrayElements(::java::lang::Object *, ::java::lang::Class *);
+ void readFields(::java::lang::Object *, ::java::io::ObjectStreamClass *);
+ jboolean setBlockDataMode(jboolean);
+ ::java::lang::Object * newObject(::java::lang::Class *, ::java::lang::reflect::Constructor *);
+ void invokeValidators();
+ void callReadMethod(::java::lang::reflect::Method *, ::java::lang::Class *, ::java::lang::Object *);
+ void dumpElement(::java::lang::String *);
+ void dumpElementln(::java::lang::String *);
+ static const jint BUFFER_SIZE = 1024;
+ ::java::io::DataInputStream * __attribute__((aligned(__alignof__( ::java::io::InputStream)))) realInputStream;
+ ::java::io::DataInputStream * dataInputStream;
+ ::java::io::DataInputStream * blockDataInput;
+ jint blockDataPosition;
+ jint blockDataBytes;
+ JArray< jbyte > * blockData;
+ jboolean useSubclassMethod;
+ jint nextOID;
+ jboolean resolveEnabled;
+ ::java::util::Vector * objectLookupTable;
+ ::java::lang::Object * currentObject;
+ ::java::io::ObjectStreamClass * currentObjectStreamClass;
+ ::java::util::TreeSet * currentObjectValidators;
+ jboolean readDataFromBlock;
+ jboolean fieldsAlreadyRead;
+ ::java::util::Hashtable * classLookupTable;
+ ::java::io::ObjectInputStream$GetField * prereadFields;
+ static jboolean dump;
+ jint depth;
+ static const jboolean DEBUG = 0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_io_ObjectInputStream__
diff --git a/libjava/java/io/ObjectInputStream.java b/libjava/java/io/ObjectInputStream.java
deleted file mode 100644
index 54661a9..0000000
--- a/libjava/java/io/ObjectInputStream.java
+++ /dev/null
@@ -1,1979 +0,0 @@
-/* ObjectInputStream.java -- Class used to read serialized objects
- Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2005
- Free Software Foundation, Inc.
-
-This file is part of GNU Classpath.
-
-GNU Classpath is free software; you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 2, or (at your option)
-any later version.
-
-GNU Classpath is distributed in the hope that it will be useful, but
-WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with GNU Classpath; see the file COPYING. If not, write to the
-Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
-02110-1301 USA.
-
-Linking this library statically or dynamically with other modules is
-making a combined work based on this library. Thus, the terms and
-conditions of the GNU General Public License cover the whole
-combination.
-
-As a special exception, the copyright holders of this library give you
-permission to link this library with independent modules to produce an
-executable, regardless of the license terms of these independent
-modules, and to copy and distribute the resulting executable under
-terms of your choice, provided that you also meet, for each linked
-independent module, the terms and conditions of the license of that
-module. An independent module is a module which is not derived from
-or based on this library. If you modify this library, you may extend
-this exception to your version of the library, but you are not
-obligated to do so. If you do not wish to do so, delete this
-exception statement from your version. */
-
-
-package java.io;
-
-import gnu.classpath.Configuration;
-import gnu.java.io.ObjectIdentityWrapper;
-
-import java.lang.reflect.Array;
-import java.lang.reflect.Constructor;
-import java.lang.reflect.Field;
-import java.lang.reflect.InvocationTargetException;
-import java.lang.reflect.Method;
-import java.lang.reflect.Modifier;
-import java.lang.reflect.Proxy;
-import java.security.AccessController;
-import java.security.PrivilegedAction;
-import java.util.Arrays;
-import java.util.Hashtable;
-import java.util.Vector;
-
-public class ObjectInputStream extends InputStream
- implements ObjectInput, ObjectStreamConstants
-{
- /**
- * Creates a new <code>ObjectInputStream</code> that will do all of
- * its reading from <code>in</code>. This method also checks
- * the stream by reading the header information (stream magic number
- * and stream version).
- *
- * @exception IOException Reading stream header from underlying
- * stream cannot be completed.
- *
- * @exception StreamCorruptedException An invalid stream magic
- * number or stream version was read from the stream.
- *
- * @see #readStreamHeader()
- */
- public ObjectInputStream(InputStream in)
- throws IOException, StreamCorruptedException
- {
- if (Configuration.DEBUG)
- {
- String val = System.getProperty("gcj.dumpobjects");
- if (dump == false && val != null && !val.equals(""))
- {
- dump = true;
- System.out.println ("Serialization debugging enabled");
- }
- else if (dump == true && (val == null || val.equals("")))
- {
- dump = false;
- System.out.println ("Serialization debugging disabled");
- }
- }
-
- this.resolveEnabled = false;
- this.isDeserializing = false;
- this.blockDataPosition = 0;
- this.blockDataBytes = 0;
- this.blockData = new byte[BUFFER_SIZE];
- this.blockDataInput = new DataInputStream(this);
- this.realInputStream = new DataInputStream(in);
- this.nextOID = baseWireHandle;
- this.objectLookupTable = new Hashtable();
- this.validators = new Vector();
- this.classLookupTable = new Hashtable();
- setBlockDataMode(true);
- readStreamHeader();
- }
-
-
- /**
- * Returns the next deserialized object read from the underlying stream.
- *
- * This method can be overriden by a class by implementing
- * <code>private void readObject (ObjectInputStream)</code>.
- *
- * If an exception is thrown from this method, the stream is left in
- * an undefined state. This method can also throw Errors and
- * RuntimeExceptions if caused by existing readResolve() user code.
- *
- * @return The object read from the underlying stream.
- *
- * @exception ClassNotFoundException The class that an object being
- * read in belongs to cannot be found.
- *
- * @exception IOException Exception from underlying
- * <code>InputStream</code>.
- */
- public final Object readObject() throws ClassNotFoundException, IOException
- {
- if (this.useSubclassMethod)
- return readObjectOverride();
-
- boolean was_deserializing;
-
- Object ret_val;
- was_deserializing = this.isDeserializing;
-
- boolean is_consumed = false;
- boolean old_mode = setBlockDataMode(false);
-
- this.isDeserializing = true;
-
- byte marker = this.realInputStream.readByte();
-
- depth += 2;
-
- if(dump) dumpElement("MARKER: 0x" + Integer.toHexString(marker) + " ");
-
- try
- {
- switch (marker)
- {
- case TC_ENDBLOCKDATA:
- {
- ret_val = null;
- is_consumed = true;
- break;
- }
-
- case TC_BLOCKDATA:
- case TC_BLOCKDATALONG:
- {
- if (marker == TC_BLOCKDATALONG)
- { if(dump) dumpElementln("BLOCKDATALONG"); }
- else
- { if(dump) dumpElementln("BLOCKDATA"); }
- readNextBlock(marker);
- throw new StreamCorruptedException("Unexpected blockData");
- }
-
- case TC_NULL:
- {
- if(dump) dumpElementln("NULL");
- ret_val = null;
- break;
- }
-
- case TC_REFERENCE:
- {
- if(dump) dumpElement("REFERENCE ");
- Integer oid = new Integer(this.realInputStream.readInt());
- if(dump) dumpElementln(Integer.toHexString(oid.intValue()));
- ret_val = ((ObjectIdentityWrapper)
- this.objectLookupTable.get(oid)).object;
- break;
- }
-
- case TC_CLASS:
- {
- if(dump) dumpElementln("CLASS");
- ObjectStreamClass osc = (ObjectStreamClass)readObject();
- Class clazz = osc.forClass();
- assignNewHandle(clazz);
- ret_val = clazz;
- break;
- }
-
- case TC_PROXYCLASSDESC:
- {
- if(dump) dumpElementln("PROXYCLASS");
- int n_intf = this.realInputStream.readInt();
- String[] intfs = new String[n_intf];
- for (int i = 0; i < n_intf; i++)
- {
- intfs[i] = this.realInputStream.readUTF();
- }
-
- boolean oldmode = setBlockDataMode(true);
- Class cl = resolveProxyClass(intfs);
- setBlockDataMode(oldmode);
-
- ObjectStreamClass osc = lookupClass(cl);
- if (osc.firstNonSerializableParentConstructor == null)
- {
- osc.realClassIsSerializable = true;
- osc.fields = osc.fieldMapping = new ObjectStreamField[0];
- try
- {
- osc.firstNonSerializableParentConstructor =
- Object.class.getConstructor(new Class[0]);
- }
- catch (NoSuchMethodException x)
- {
- throw (InternalError)
- new InternalError("Object ctor missing").initCause(x);
- }
- }
- assignNewHandle(osc);
-
- if (!is_consumed)
- {
- byte b = this.realInputStream.readByte();
- if (b != TC_ENDBLOCKDATA)
- throw new IOException("Data annotated to class was not consumed." + b);
- }
- else
- is_consumed = false;
- ObjectStreamClass superosc = (ObjectStreamClass)readObject();
- osc.setSuperclass(superosc);
- ret_val = osc;
- break;
- }
-
- case TC_CLASSDESC:
- {
- ObjectStreamClass osc = readClassDescriptor();
-
- if (!is_consumed)
- {
- byte b = this.realInputStream.readByte();
- if (b != TC_ENDBLOCKDATA)
- throw new IOException("Data annotated to class was not consumed." + b);
- }
- else
- is_consumed = false;
-
- osc.setSuperclass ((ObjectStreamClass)readObject());
- ret_val = osc;
- break;
- }
-
- case TC_STRING:
- case TC_LONGSTRING:
- {
- if(dump) dumpElement("STRING=");
- String s = this.realInputStream.readUTF();
- if(dump) dumpElementln(s);
- ret_val = processResolution(null, s, assignNewHandle(s));
- break;
- }
-
- case TC_ARRAY:
- {
- if(dump) dumpElementln("ARRAY");
- ObjectStreamClass osc = (ObjectStreamClass)readObject();
- Class componentType = osc.forClass().getComponentType();
- if(dump) dumpElement("ARRAY LENGTH=");
- int length = this.realInputStream.readInt();
- if(dump) dumpElementln (length + "; COMPONENT TYPE=" + componentType);
- Object array = Array.newInstance(componentType, length);
- int handle = assignNewHandle(array);
- readArrayElements(array, componentType);
- if(dump)
- for (int i = 0, len = Array.getLength(array); i < len; i++)
- dumpElementln(" ELEMENT[" + i + "]=" + Array.get(array, i));
- ret_val = processResolution(null, array, handle);
- break;
- }
-
- case TC_OBJECT:
- {
- if(dump) dumpElementln("OBJECT");
- ObjectStreamClass osc = (ObjectStreamClass)readObject();
- Class clazz = osc.forClass();
-
- if (!osc.realClassIsSerializable)
- throw new NotSerializableException
- (clazz + " is not Serializable, and thus cannot be deserialized.");
-
- if (osc.realClassIsExternalizable)
- {
- Externalizable obj = osc.newInstance();
-
- int handle = assignNewHandle(obj);
-
- boolean read_from_blocks = ((osc.getFlags() & SC_BLOCK_DATA) != 0);
-
- boolean oldmode = this.readDataFromBlock;
- if (read_from_blocks)
- setBlockDataMode(true);
-
- obj.readExternal(this);
-
- if (read_from_blocks)
- {
- setBlockDataMode(oldmode);
- if (!oldmode)
- if (this.realInputStream.readByte() != TC_ENDBLOCKDATA)
- throw new IOException("No end of block data seen for class with readExternal (ObjectInputStream) method.");
- }
-
- ret_val = processResolution(osc, obj, handle);
- break;
- } // end if (osc.realClassIsExternalizable)
-
- Object obj = newObject(clazz, osc.firstNonSerializableParentConstructor);
-
- int handle = assignNewHandle(obj);
- Object prevObject = this.currentObject;
- ObjectStreamClass prevObjectStreamClass = this.currentObjectStreamClass;
-
- this.currentObject = obj;
- ObjectStreamClass[] hierarchy =
- inputGetObjectStreamClasses(clazz);
-
- for (int i = 0; i < hierarchy.length; i++)
- {
- this.currentObjectStreamClass = hierarchy[i];
-
- if(dump) dumpElementln("Reading fields of " + this.currentObjectStreamClass.getName ());
-
- // XXX: should initialize fields in classes in the hierarchy
- // that aren't in the stream
- // should skip over classes in the stream that aren't in the
- // real classes hierarchy
-
- Method readObjectMethod = this.currentObjectStreamClass.readObjectMethod;
- if (readObjectMethod != null)
- {
- fieldsAlreadyRead = false;
- boolean oldmode = setBlockDataMode(true);
- callReadMethod(readObjectMethod, this.currentObjectStreamClass.forClass(), obj);
- setBlockDataMode(oldmode);
- }
- else
- {
- readFields(obj, currentObjectStreamClass);
- }
-
- if (this.currentObjectStreamClass.hasWriteMethod())
- {
- if(dump) dumpElement("ENDBLOCKDATA? ");
- try
- {
- // FIXME: XXX: This try block is to
- // catch EOF which is thrown for some
- // objects. That indicates a bug in
- // the logic.
-
- if (this.realInputStream.readByte() != TC_ENDBLOCKDATA)
- throw new IOException
- ("No end of block data seen for class with readObject (ObjectInputStream) method.");
- if(dump) dumpElementln("yes");
- }
-// catch (EOFException e)
-// {
-// if(dump) dumpElementln("no, got EOFException");
-// }
- catch (IOException e)
- {
- if(dump) dumpElementln("no, got IOException");
- }
- }
- }
-
- this.currentObject = prevObject;
- this.currentObjectStreamClass = prevObjectStreamClass;
- ret_val = processResolution(osc, obj, handle);
-
- break;
- }
-
- case TC_RESET:
- if(dump) dumpElementln("RESET");
- clearHandles();
- ret_val = readObject();
- break;
-
- case TC_EXCEPTION:
- {
- if(dump) dumpElement("EXCEPTION=");
- Exception e = (Exception)readObject();
- if(dump) dumpElementln(e.toString());
- clearHandles();
- throw new WriteAbortedException("Exception thrown during writing of stream", e);
- }
-
- default:
- throw new IOException("Unknown marker on stream: " + marker);
- }
- }
- finally
- {
- setBlockDataMode(old_mode);
-
- this.isDeserializing = was_deserializing;
-
- depth -= 2;
-
- if (! was_deserializing)
- {
- if (validators.size() > 0)
- invokeValidators();
- }
- }
-
- return ret_val;
- }
-
- /**
- * This method makes a partial check of types for the fields
- * contained given in arguments. It checks primitive types of
- * fields1 against non primitive types of fields2. This method
- * assumes the two lists has already been sorted according to
- * the Java specification.
- *
- * @param name Name of the class owning the given fields.
- * @param fields1 First list to check.
- * @param fields2 Second list to check.
- * @throws InvalidClassException if a field in fields1, which has a primitive type, is a present
- * in the non primitive part in fields2.
- */
- private void checkTypeConsistency(String name, ObjectStreamField[] fields1, ObjectStreamField[] fields2)
- throws InvalidClassException
- {
- int nonPrimitive = 0;
-
- for (nonPrimitive = 0;
- nonPrimitive < fields1.length
- && fields1[nonPrimitive].isPrimitive(); nonPrimitive++)
- {
- }
-
- if (nonPrimitive == fields1.length)
- return;
-
- int i = 0;
- ObjectStreamField f1;
- ObjectStreamField f2;
-
- while (i < fields2.length
- && nonPrimitive < fields1.length)
- {
- f1 = fields1[nonPrimitive];
- f2 = fields2[i];
-
- if (!f2.isPrimitive())
- break;
-
- int compVal = f1.getName().compareTo (f2.getName());
-
- if (compVal < 0)
- {
- nonPrimitive++;
- }
- else if (compVal > 0)
- {
- i++;
- }
- else
- {
- throw new InvalidClassException
- ("invalid field type for " + f2.getName() +
- " in class " + name);
- }
- }
- }
-
- /**
- * This method reads a class descriptor from the real input stream
- * and use these data to create a new instance of ObjectStreamClass.
- * Fields are sorted and ordered for the real read which occurs for
- * each instance of the described class. Be aware that if you call that
- * method you must ensure that the stream is synchronized, in the other
- * case it may be completely desynchronized.
- *
- * @return A new instance of ObjectStreamClass containing the freshly
- * created descriptor.
- * @throws ClassNotFoundException if the required class to build the
- * descriptor has not been found in the system.
- * @throws IOException An input/output error occured.
- * @throws InvalidClassException If there was a compatibility problem
- * between the class present in the system and the serialized class.
- */
- protected ObjectStreamClass readClassDescriptor()
- throws ClassNotFoundException, IOException
- {
- if(dump) dumpElement("CLASSDESC NAME=");
- String name = this.realInputStream.readUTF();
- if(dump) dumpElement(name + "; UID=");
- long uid = this.realInputStream.readLong ();
- if(dump) dumpElement(Long.toHexString(uid) + "; FLAGS=");
- byte flags = this.realInputStream.readByte ();
- if(dump) dumpElement(Integer.toHexString(flags) + "; FIELD COUNT=");
- short field_count = this.realInputStream.readShort();
- if(dump) dumpElementln(Short.toString(field_count));
- ObjectStreamField[] fields = new ObjectStreamField[field_count];
- ObjectStreamClass osc = new ObjectStreamClass(name, uid,
- flags, fields);
- assignNewHandle(osc);
-
- if (callersClassLoader == null)
- callersClassLoader = currentLoader();
-
- for (int i = 0; i < field_count; i++)
- {
- if(dump) dumpElement(" TYPE CODE=");
- char type_code = (char)this.realInputStream.readByte();
- if(dump) dumpElement(type_code + "; FIELD NAME=");
- String field_name = this.realInputStream.readUTF();
- if(dump) dumpElementln(field_name);
- String class_name;
-
- // If the type code is an array or an object we must
- // decode a String here. In the other case we convert
- // the type code and pass it to ObjectStreamField.
- // Type codes are decoded by gnu.java.lang.reflect.TypeSignature.
- if (type_code == 'L' || type_code == '[')
- class_name = (String)readObject();
- else
- class_name = String.valueOf(type_code);
-
- fields[i] =
- new ObjectStreamField(field_name, class_name, callersClassLoader);
- }
-
- /* Now that fields have been read we may resolve the class
- * (and read annotation if needed). */
- Class clazz;
- try
- {
- clazz = resolveClass(osc);
- }
- catch (ClassNotFoundException cnfe)
- {
- // Maybe it was an primitive class?
- if (name.equals("void"))
- clazz = Void.TYPE;
- else if (name.equals("boolean"))
- clazz = Boolean.TYPE;
- else if (name.equals("byte"))
- clazz = Byte.TYPE;
- else if (name.equals("short"))
- clazz = Short.TYPE;
- else if (name.equals("char"))
- clazz = Character.TYPE;
- else if (name.equals("int"))
- clazz = Integer.TYPE;
- else if (name.equals("long"))
- clazz = Long.TYPE;
- else if (name.equals("float"))
- clazz = Float.TYPE;
- else if (name.equals("double"))
- clazz = Double.TYPE;
- else
- throw cnfe;
- }
-
- boolean oldmode = setBlockDataMode(true);
- osc.setClass(clazz, lookupClass(clazz.getSuperclass()));
- classLookupTable.put(clazz, osc);
- setBlockDataMode(oldmode);
-
- // find the first non-serializable, non-abstract
- // class in clazz's inheritance hierarchy
- Class first_nonserial = clazz.getSuperclass();
- // Maybe it is a primitive class, those don't have a super class,
- // or Object itself. Otherwise we can keep getting the superclass
- // till we hit the Object class, or some other non-serializable class.
-
- if (first_nonserial == null)
- first_nonserial = clazz;
- else
- while (Serializable.class.isAssignableFrom(first_nonserial)
- || Modifier.isAbstract(first_nonserial.getModifiers()))
- first_nonserial = first_nonserial.getSuperclass();
-
- final Class local_constructor_class = first_nonserial;
-
- osc.firstNonSerializableParentConstructor =
- (Constructor)AccessController.doPrivileged(new PrivilegedAction()
- {
- public Object run()
- {
- try
- {
- Constructor c = local_constructor_class.
- getDeclaredConstructor(new Class[0]);
- if (Modifier.isPrivate(c.getModifiers()))
- return null;
- return c;
- }
- catch (NoSuchMethodException e)
- {
- // error will be reported later, in newObject()
- return null;
- }
- }
- });
-
- osc.realClassIsSerializable = Serializable.class.isAssignableFrom(clazz);
- osc.realClassIsExternalizable = Externalizable.class.isAssignableFrom(clazz);
-
- ObjectStreamField[] stream_fields = osc.fields;
- ObjectStreamField[] real_fields = ObjectStreamClass.lookupForClassObject(clazz).fields;
- ObjectStreamField[] fieldmapping = new ObjectStreamField[2 * Math.max(stream_fields.length, real_fields.length)];
-
- int stream_idx = 0;
- int real_idx = 0;
- int map_idx = 0;
-
- /*
- * Check that there is no type inconsistencies between the lists.
- * A special checking must be done for the two groups: primitive types and
- * not primitive types.
- */
- checkTypeConsistency(name, real_fields, stream_fields);
- checkTypeConsistency(name, stream_fields, real_fields);
-
-
- while (stream_idx < stream_fields.length
- || real_idx < real_fields.length)
- {
- ObjectStreamField stream_field = null;
- ObjectStreamField real_field = null;
-
- if (stream_idx == stream_fields.length)
- {
- real_field = real_fields[real_idx++];
- }
- else if (real_idx == real_fields.length)
- {
- stream_field = stream_fields[stream_idx++];
- }
- else
- {
- int comp_val =
- real_fields[real_idx].compareTo (stream_fields[stream_idx]);
-
- if (comp_val < 0)
- {
- real_field = real_fields[real_idx++];
- }
- else if (comp_val > 0)
- {
- stream_field = stream_fields[stream_idx++];
- }
- else
- {
- stream_field = stream_fields[stream_idx++];
- real_field = real_fields[real_idx++];
- if (stream_field.getType() != real_field.getType())
- throw new InvalidClassException
- ("invalid field type for " + real_field.getName() +
- " in class " + name);
- }
- }
-
- /* If some of stream_fields does not correspond to any of real_fields,
- * or the opposite, then fieldmapping will go short.
- */
- if (map_idx == fieldmapping.length)
- {
- ObjectStreamField[] newfieldmapping =
- new ObjectStreamField[fieldmapping.length + 2];
- System.arraycopy(fieldmapping, 0,
- newfieldmapping, 0, fieldmapping.length);
- fieldmapping = newfieldmapping;
- }
- fieldmapping[map_idx++] = stream_field;
- fieldmapping[map_idx++] = real_field;
- }
- osc.fieldMapping = fieldmapping;
-
- return osc;
- }
-
- /**
- * Reads the current objects non-transient, non-static fields from
- * the current class from the underlying output stream.
- *
- * This method is intended to be called from within a object's
- * <code>private void readObject (ObjectInputStream)</code>
- * method.
- *
- * @exception ClassNotFoundException The class that an object being
- * read in belongs to cannot be found.
- *
- * @exception NotActiveException This method was called from a
- * context other than from the current object's and current class's
- * <code>private void readObject (ObjectInputStream)</code>
- * method.
- *
- * @exception IOException Exception from underlying
- * <code>OutputStream</code>.
- */
- public void defaultReadObject()
- throws ClassNotFoundException, IOException, NotActiveException
- {
- if (this.currentObject == null || this.currentObjectStreamClass == null)
- throw new NotActiveException("defaultReadObject called by non-active"
- + " class and/or object");
-
- if (fieldsAlreadyRead)
- throw new NotActiveException("defaultReadObject called but fields "
- + "already read from stream (by "
- + "defaultReadObject or readFields)");
-
- boolean oldmode = setBlockDataMode(false);
- readFields(this.currentObject, this.currentObjectStreamClass);
- setBlockDataMode(oldmode);
-
- fieldsAlreadyRead = true;
- }
-
-
- /**
- * Registers a <code>ObjectInputValidation</code> to be carried out
- * on the object graph currently being deserialized before it is
- * returned to the original caller of <code>readObject ()</code>.
- * The order of validation for multiple
- * <code>ObjectInputValidation</code>s can be controled using
- * <code>priority</code>. Validators with higher priorities are
- * called first.
- *
- * @see java.io.ObjectInputValidation
- *
- * @exception InvalidObjectException <code>validator</code> is
- * <code>null</code>
- *
- * @exception NotActiveException an attempt was made to add a
- * validator outside of the <code>readObject</code> method of the
- * object currently being deserialized
- */
- public void registerValidation(ObjectInputValidation validator,
- int priority)
- throws InvalidObjectException, NotActiveException
- {
- if (this.currentObject == null || this.currentObjectStreamClass == null)
- throw new NotActiveException("registerValidation called by non-active "
- + "class and/or object");
-
- if (validator == null)
- throw new InvalidObjectException("attempt to add a null "
- + "ObjectInputValidation object");
-
- this.validators.addElement(new ValidatorAndPriority (validator,
- priority));
- }
-
-
- /**
- * Called when a class is being deserialized. This is a hook to
- * allow subclasses to read in information written by the
- * <code>annotateClass (Class)</code> method of an
- * <code>ObjectOutputStream</code>.
- *
- * This implementation looks up the active call stack for a
- * <code>ClassLoader</code>; if a <code>ClassLoader</code> is found,
- * it is used to load the class associated with <code>osc</code>,
- * otherwise, the default system <code>ClassLoader</code> is used.
- *
- * @exception IOException Exception from underlying
- * <code>OutputStream</code>.
- *
- * @see java.io.ObjectOutputStream#annotateClass (java.lang.Class)
- */
- protected Class resolveClass(ObjectStreamClass osc)
- throws ClassNotFoundException, IOException
- {
- if (callersClassLoader == null)
- {
- callersClassLoader = currentLoader ();
- if (Configuration.DEBUG && dump)
- {
- dumpElementln ("CallersClassLoader = " + callersClassLoader);
- }
- }
-
- return Class.forName(osc.getName(), true, callersClassLoader);
- }
-
- /**
- * Returns the most recent user defined ClassLoader on the execution stack
- * or null if none is found.
- */
- // GCJ LOCAL: native method.
- private native ClassLoader currentLoader();
-
- /**
- * Lookup a class stored in the local hashtable. If it is not
- * use the global lookup function in ObjectStreamClass to build
- * the ObjectStreamClass. This method is requested according to
- * the behaviour detected in the JDK by Kaffe's team.
- *
- * @param clazz Class to lookup in the hash table or for which
- * we must build a descriptor.
- * @return A valid instance of ObjectStreamClass corresponding
- * to the specified class.
- */
- private ObjectStreamClass lookupClass(Class clazz)
- {
- if (clazz == null)
- return null;
-
- ObjectStreamClass oclazz;
- oclazz = (ObjectStreamClass)classLookupTable.get(clazz);
- if (oclazz == null)
- return ObjectStreamClass.lookup(clazz);
- else
- return oclazz;
- }
-
- /**
- * Reconstruct class hierarchy the same way
- * {@link java.io.ObjectStreamClass.getObjectStreamClasses(java.lang.Class)} does
- * but using lookupClass instead of ObjectStreamClass.lookup. This
- * dup is necessary localize the lookup table. Hopefully some future
- * rewritings will be able to prevent this.
- *
- * @param clazz This is the class for which we want the hierarchy.
- *
- * @return An array of valid {@link java.io.ObjectStreamClass} instances which
- * represent the class hierarchy for clazz.
- */
- private ObjectStreamClass[] inputGetObjectStreamClasses(Class clazz)
- {
- ObjectStreamClass osc = lookupClass(clazz);
-
- if (osc == null)
- return new ObjectStreamClass[0];
- else
- {
- Vector oscs = new Vector();
-
- while (osc != null)
- {
- oscs.addElement(osc);
- osc = osc.getSuper();
- }
-
- int count = oscs.size();
- ObjectStreamClass[] sorted_oscs = new ObjectStreamClass[count];
-
- for (int i = count - 1; i >= 0; i--)
- sorted_oscs[count - i - 1] = (ObjectStreamClass) oscs.elementAt(i);
-
- return sorted_oscs;
- }
- }
-
- /**
- * Allows subclasses to resolve objects that are read from the
- * stream with other objects to be returned in their place. This
- * method is called the first time each object is encountered.
- *
- * This method must be enabled before it will be called in the
- * serialization process.
- *
- * @exception IOException Exception from underlying
- * <code>OutputStream</code>.
- *
- * @see #enableResolveObject(boolean)
- */
- protected Object resolveObject(Object obj) throws IOException
- {
- return obj;
- }
-
-
- protected Class resolveProxyClass(String[] intfs)
- throws IOException, ClassNotFoundException
- {
- ClassLoader cl = currentLoader();
-
- Class[] clss = new Class[intfs.length];
- if(cl == null)
- {
- for (int i = 0; i < intfs.length; i++)
- clss[i] = Class.forName(intfs[i]);
- cl = ClassLoader.getSystemClassLoader();
- }
- else
- for (int i = 0; i < intfs.length; i++)
- clss[i] = cl.loadClass(intfs[i]);
- try
- {
- return Proxy.getProxyClass(cl, clss);
- }
- catch (IllegalArgumentException e)
- {
- throw new ClassNotFoundException(null, e);
- }
- }
-
- /**
- * If <code>enable</code> is <code>true</code> and this object is
- * trusted, then <code>resolveObject (Object)</code> will be called
- * in subsequent calls to <code>readObject (Object)</code>.
- * Otherwise, <code>resolveObject (Object)</code> will not be called.
- *
- * @exception SecurityException This class is not trusted.
- */
- protected boolean enableResolveObject (boolean enable)
- throws SecurityException
- {
- if (enable)
- {
- SecurityManager sm = System.getSecurityManager();
- if (sm != null)
- sm.checkPermission(new SerializablePermission("enableSubstitution"));
- }
-
- boolean old_val = this.resolveEnabled;
- this.resolveEnabled = enable;
- return old_val;
- }
-
- /**
- * Reads stream magic and stream version information from the
- * underlying stream.
- *
- * @exception IOException Exception from underlying stream.
- *
- * @exception StreamCorruptedException An invalid stream magic
- * number or stream version was read from the stream.
- */
- protected void readStreamHeader()
- throws IOException, StreamCorruptedException
- {
- if(dump) dumpElement("STREAM MAGIC ");
- if (this.realInputStream.readShort() != STREAM_MAGIC)
- throw new StreamCorruptedException("Invalid stream magic number");
-
- if(dump) dumpElementln("STREAM VERSION ");
- if (this.realInputStream.readShort() != STREAM_VERSION)
- throw new StreamCorruptedException("Invalid stream version number");
- }
-
- public int read() throws IOException
- {
- if (this.readDataFromBlock)
- {
- if (this.blockDataPosition >= this.blockDataBytes)
- readNextBlock();
- return (this.blockData[this.blockDataPosition++] & 0xff);
- }
- else
- return this.realInputStream.read();
- }
-
- public int read(byte[] data, int offset, int length) throws IOException
- {
- if (this.readDataFromBlock)
- {
- if (this.blockDataPosition + length > this.blockDataBytes)
- {
- int remain = this.blockDataBytes - this.blockDataPosition;
- if (remain != 0)
- {
- System.arraycopy(this.blockData, this.blockDataPosition,
- data, offset, remain);
- offset += remain;
- length -= remain;
- }
- readNextBlock ();
- }
-
- System.arraycopy(this.blockData, this.blockDataPosition,
- data, offset, length);
- this.blockDataPosition += length;
-
- return length;
- }
- else
- return this.realInputStream.read(data, offset, length);
- }
-
- public int available() throws IOException
- {
- if (this.readDataFromBlock)
- {
- if (this.blockDataPosition >= this.blockDataBytes)
- readNextBlock ();
-
- return this.blockDataBytes - this.blockDataPosition;
- }
- else
- return this.realInputStream.available();
- }
-
- public void close() throws IOException
- {
- this.realInputStream.close();
- }
-
- public boolean readBoolean() throws IOException
- {
- boolean switchmode = true;
- boolean oldmode = this.readDataFromBlock;
- if (!oldmode || this.blockDataBytes - this.blockDataPosition >= 1)
- switchmode = false;
- if (switchmode)
- oldmode = setBlockDataMode (true);
- boolean value = this.dataInputStream.readBoolean ();
- if (switchmode)
- setBlockDataMode (oldmode);
- return value;
- }
-
- public byte readByte() throws IOException
- {
- boolean switchmode = true;
- boolean oldmode = this.readDataFromBlock;
- if (!oldmode || this.blockDataBytes - this.blockDataPosition >= 1)
- switchmode = false;
- if (switchmode)
- oldmode = setBlockDataMode(true);
- byte value = this.dataInputStream.readByte();
- if (switchmode)
- setBlockDataMode(oldmode);
- return value;
- }
-
- public int readUnsignedByte() throws IOException
- {
- boolean switchmode = true;
- boolean oldmode = this.readDataFromBlock;
- if (!oldmode || this.blockDataBytes - this.blockDataPosition >= 1)
- switchmode = false;
- if (switchmode)
- oldmode = setBlockDataMode(true);
- int value = this.dataInputStream.readUnsignedByte();
- if (switchmode)
- setBlockDataMode(oldmode);
- return value;
- }
-
- public short readShort() throws IOException
- {
- boolean switchmode = true;
- boolean oldmode = this.readDataFromBlock;
- if (!oldmode || this.blockDataBytes - this.blockDataPosition >= 2)
- switchmode = false;
- if (switchmode)
- oldmode = setBlockDataMode(true);
- short value = this.dataInputStream.readShort();
- if (switchmode)
- setBlockDataMode(oldmode);
- return value;
- }
-
- public int readUnsignedShort() throws IOException
- {
- boolean switchmode = true;
- boolean oldmode = this.readDataFromBlock;
- if (!oldmode || this.blockDataBytes - this.blockDataPosition >= 2)
- switchmode = false;
- if (switchmode)
- oldmode = setBlockDataMode(true);
- int value = this.dataInputStream.readUnsignedShort();
- if (switchmode)
- setBlockDataMode(oldmode);
- return value;
- }
-
- public char readChar() throws IOException
- {
- boolean switchmode = true;
- boolean oldmode = this.readDataFromBlock;
- if (!oldmode || this.blockDataBytes - this.blockDataPosition >= 2)
- switchmode = false;
- if (switchmode)
- oldmode = setBlockDataMode(true);
- char value = this.dataInputStream.readChar();
- if (switchmode)
- setBlockDataMode(oldmode);
- return value;
- }
-
- public int readInt() throws IOException
- {
- boolean switchmode = true;
- boolean oldmode = this.readDataFromBlock;
- if (!oldmode || this.blockDataBytes - this.blockDataPosition >= 4)
- switchmode = false;
- if (switchmode)
- oldmode = setBlockDataMode(true);
- int value = this.dataInputStream.readInt();
- if (switchmode)
- setBlockDataMode(oldmode);
- return value;
- }
-
- public long readLong() throws IOException
- {
- boolean switchmode = true;
- boolean oldmode = this.readDataFromBlock;
- if (!oldmode || this.blockDataBytes - this.blockDataPosition >= 8)
- switchmode = false;
- if (switchmode)
- oldmode = setBlockDataMode(true);
- long value = this.dataInputStream.readLong();
- if (switchmode)
- setBlockDataMode(oldmode);
- return value;
- }
-
- public float readFloat() throws IOException
- {
- boolean switchmode = true;
- boolean oldmode = this.readDataFromBlock;
- if (!oldmode || this.blockDataBytes - this.blockDataPosition >= 4)
- switchmode = false;
- if (switchmode)
- oldmode = setBlockDataMode(true);
- float value = this.dataInputStream.readFloat();
- if (switchmode)
- setBlockDataMode(oldmode);
- return value;
- }
-
- public double readDouble() throws IOException
- {
- boolean switchmode = true;
- boolean oldmode = this.readDataFromBlock;
- if (!oldmode || this.blockDataBytes - this.blockDataPosition >= 8)
- switchmode = false;
- if (switchmode)
- oldmode = setBlockDataMode(true);
- double value = this.dataInputStream.readDouble();
- if (switchmode)
- setBlockDataMode(oldmode);
- return value;
- }
-
- public void readFully(byte data[]) throws IOException
- {
- this.dataInputStream.readFully(data);
- }
-
- public void readFully(byte data[], int offset, int size)
- throws IOException
- {
- this.dataInputStream.readFully(data, offset, size);
- }
-
- public int skipBytes(int len) throws IOException
- {
- return this.dataInputStream.skipBytes(len);
- }
-
- /**
- * @deprecated
- * @see java.io.DataInputStream#readLine ()
- */
- public String readLine() throws IOException
- {
- return this.dataInputStream.readLine();
- }
-
- public String readUTF() throws IOException
- {
- return this.dataInputStream.readUTF();
- }
-
- /**
- * This class allows a class to specify exactly which fields should
- * be read, and what values should be read for these fields.
- *
- * XXX: finish up comments
- */
- public abstract static class GetField
- {
- public abstract ObjectStreamClass getObjectStreamClass();
-
- public abstract boolean defaulted(String name)
- throws IOException, IllegalArgumentException;
-
- public abstract boolean get(String name, boolean defvalue)
- throws IOException, IllegalArgumentException;
-
- public abstract char get(String name, char defvalue)
- throws IOException, IllegalArgumentException;
-
- public abstract byte get(String name, byte defvalue)
- throws IOException, IllegalArgumentException;
-
- public abstract short get(String name, short defvalue)
- throws IOException, IllegalArgumentException;
-
- public abstract int get(String name, int defvalue)
- throws IOException, IllegalArgumentException;
-
- public abstract long get(String name, long defvalue)
- throws IOException, IllegalArgumentException;
-
- public abstract float get(String name, float defvalue)
- throws IOException, IllegalArgumentException;
-
- public abstract double get(String name, double defvalue)
- throws IOException, IllegalArgumentException;
-
- public abstract Object get(String name, Object defvalue)
- throws IOException, IllegalArgumentException;
- }
-
- /**
- * This method should be called by a method called 'readObject' in the
- * deserializing class (if present). It cannot (and should not)be called
- * outside of it. Its goal is to read all fields in the real input stream
- * and keep them accessible through the {@link #GetField} class. Calling
- * this method will not alter the deserializing object.
- *
- * @return A valid freshly created 'GetField' instance to get access to
- * the deserialized stream.
- * @throws IOException An input/output exception occured.
- * @throws ClassNotFoundException
- * @throws NotActiveException
- */
- public GetField readFields()
- throws IOException, ClassNotFoundException, NotActiveException
- {
- if (this.currentObject == null || this.currentObjectStreamClass == null)
- throw new NotActiveException("readFields called by non-active class and/or object");
-
- if (prereadFields != null)
- return prereadFields;
-
- if (fieldsAlreadyRead)
- throw new NotActiveException("readFields called but fields already read from"
- + " stream (by defaultReadObject or readFields)");
-
- final ObjectStreamClass clazz = this.currentObjectStreamClass;
- final byte[] prim_field_data = new byte[clazz.primFieldSize];
- final Object[] objs = new Object[clazz.objectFieldCount];
-
- // Apparently Block data is not used with GetField as per
- // empirical evidence against JDK 1.2. Also see Mauve test
- // java.io.ObjectInputOutput.Test.GetPutField.
- boolean oldmode = setBlockDataMode(false);
- readFully(prim_field_data);
- for (int i = 0; i < objs.length; ++ i)
- objs[i] = readObject();
- setBlockDataMode(oldmode);
-
- prereadFields = new GetField()
- {
- public ObjectStreamClass getObjectStreamClass()
- {
- return clazz;
- }
-
- public boolean defaulted(String name)
- throws IOException, IllegalArgumentException
- {
- ObjectStreamField f = clazz.getField(name);
-
- /* First if we have a serialized field use the descriptor */
- if (f != null)
- {
- /* It is in serialPersistentFields but setClass tells us
- * it should not be set. This value is defaulted.
- */
- if (f.isPersistent() && !f.isToSet())
- return true;
-
- return false;
- }
-
- /* This is not a serialized field. There should be
- * a default value only if the field really exists.
- */
- try
- {
- return (clazz.forClass().getDeclaredField (name) != null);
- }
- catch (NoSuchFieldException e)
- {
- throw new IllegalArgumentException(e.getMessage());
- }
- }
-
- public boolean get(String name, boolean defvalue)
- throws IOException, IllegalArgumentException
- {
- ObjectStreamField field = getField(name, Boolean.TYPE);
-
- if (field == null)
- return defvalue;
-
- return prim_field_data[field.getOffset()] == 0 ? false : true;
- }
-
- public char get(String name, char defvalue)
- throws IOException, IllegalArgumentException
- {
- ObjectStreamField field = getField(name, Character.TYPE);
-
- if (field == null)
- return defvalue;
-
- int off = field.getOffset();
-
- return (char)(((prim_field_data[off++] & 0xFF) << 8)
- | (prim_field_data[off] & 0xFF));
- }
-
- public byte get(String name, byte defvalue)
- throws IOException, IllegalArgumentException
- {
- ObjectStreamField field = getField(name, Byte.TYPE);
-
- if (field == null)
- return defvalue;
-
- return prim_field_data[field.getOffset()];
- }
-
- public short get(String name, short defvalue)
- throws IOException, IllegalArgumentException
- {
- ObjectStreamField field = getField(name, Short.TYPE);
-
- if (field == null)
- return defvalue;
-
- int off = field.getOffset();
-
- return (short)(((prim_field_data[off++] & 0xFF) << 8)
- | (prim_field_data[off] & 0xFF));
- }
-
- public int get(String name, int defvalue)
- throws IOException, IllegalArgumentException
- {
- ObjectStreamField field = getField(name, Integer.TYPE);
-
- if (field == null)
- return defvalue;
-
- int off = field.getOffset();
-
- return ((prim_field_data[off++] & 0xFF) << 24)
- | ((prim_field_data[off++] & 0xFF) << 16)
- | ((prim_field_data[off++] & 0xFF) << 8)
- | (prim_field_data[off] & 0xFF);
- }
-
- public long get(String name, long defvalue)
- throws IOException, IllegalArgumentException
- {
- ObjectStreamField field = getField(name, Long.TYPE);
-
- if (field == null)
- return defvalue;
-
- int off = field.getOffset();
-
- return (long)(((prim_field_data[off++] & 0xFFL) << 56)
- | ((prim_field_data[off++] & 0xFFL) << 48)
- | ((prim_field_data[off++] & 0xFFL) << 40)
- | ((prim_field_data[off++] & 0xFFL) << 32)
- | ((prim_field_data[off++] & 0xFF) << 24)
- | ((prim_field_data[off++] & 0xFF) << 16)
- | ((prim_field_data[off++] & 0xFF) << 8)
- | (prim_field_data[off] & 0xFF));
- }
-
- public float get(String name, float defvalue)
- throws IOException, IllegalArgumentException
- {
- ObjectStreamField field = getField(name, Float.TYPE);
-
- if (field == null)
- return defvalue;
-
- int off = field.getOffset();
-
- return Float.intBitsToFloat(((prim_field_data[off++] & 0xFF) << 24)
- | ((prim_field_data[off++] & 0xFF) << 16)
- | ((prim_field_data[off++] & 0xFF) << 8)
- | (prim_field_data[off] & 0xFF));
- }
-
- public double get(String name, double defvalue)
- throws IOException, IllegalArgumentException
- {
- ObjectStreamField field = getField(name, Double.TYPE);
-
- if (field == null)
- return defvalue;
-
- int off = field.getOffset();
-
- return Double.longBitsToDouble
- ( (long) (((prim_field_data[off++] & 0xFFL) << 56)
- | ((prim_field_data[off++] & 0xFFL) << 48)
- | ((prim_field_data[off++] & 0xFFL) << 40)
- | ((prim_field_data[off++] & 0xFFL) << 32)
- | ((prim_field_data[off++] & 0xFF) << 24)
- | ((prim_field_data[off++] & 0xFF) << 16)
- | ((prim_field_data[off++] & 0xFF) << 8)
- | (prim_field_data[off] & 0xFF)));
- }
-
- public Object get(String name, Object defvalue)
- throws IOException, IllegalArgumentException
- {
- ObjectStreamField field =
- getField(name, defvalue == null ? null : defvalue.getClass ());
-
- if (field == null)
- return defvalue;
-
- return objs[field.getOffset()];
- }
-
- private ObjectStreamField getField(String name, Class type)
- throws IllegalArgumentException
- {
- ObjectStreamField field = clazz.getField(name);
- boolean illegal = false;
-
- try
- {
- try
- {
- Class field_type = field.getType();
-
- if (type == field_type ||
- (type == null && !field_type.isPrimitive()))
- {
- /* See defaulted */
- return field;
- }
-
- illegal = true;
- throw new IllegalArgumentException
- ("Field requested is of type "
- + field_type.getName()
- + ", but requested type was "
- + (type == null ? "Object" : type.getName()));
- }
- catch (NullPointerException _)
- {
- /* Here we catch NullPointerException, because it may
- only come from the call 'field.getType()'. If field
- is null, we have to return null and classpath ethic
- say we must try to avoid 'if (xxx == null)'.
- */
- }
- catch (IllegalArgumentException e)
- {
- throw e;
- }
-
- return null;
- }
- finally
- {
- /* If this is an unassigned field we should return
- * the default value.
- */
- if (!illegal && field != null && !field.isToSet() && field.isPersistent())
- return null;
-
- /* We do not want to modify transient fields. They should
- * be left to 0.
- */
- try
- {
- Field f = clazz.forClass().getDeclaredField(name);
- if (Modifier.isTransient(f.getModifiers()))
- throw new IllegalArgumentException
- ("no such field (non transient) " + name);
- if (field == null && f.getType() != type)
- throw new IllegalArgumentException
- ("Invalid requested type for field " + name);
- }
- catch (NoSuchFieldException e)
- {
- if (field == null)
- throw new IllegalArgumentException(e.getMessage());
- }
-
- }
- }
- };
-
- fieldsAlreadyRead = true;
- return prereadFields;
- }
-
- /**
- * Protected constructor that allows subclasses to override
- * deserialization. This constructor should be called by subclasses
- * that wish to override <code>readObject (Object)</code>. This
- * method does a security check <i>NOTE: currently not
- * implemented</i>, then sets a flag that informs
- * <code>readObject (Object)</code> to call the subclasses
- * <code>readObjectOverride (Object)</code> method.
- *
- * @see #readObjectOverride()
- */
- protected ObjectInputStream()
- throws IOException, SecurityException
- {
- SecurityManager sec_man = System.getSecurityManager();
- if (sec_man != null)
- sec_man.checkPermission(SUBCLASS_IMPLEMENTATION_PERMISSION);
- this.useSubclassMethod = true;
- }
-
- /**
- * This method allows subclasses to override the default
- * de serialization mechanism provided by
- * <code>ObjectInputStream</code>. To make this method be used for
- * writing objects, subclasses must invoke the 0-argument
- * constructor on this class from their constructor.
- *
- * @see #ObjectInputStream()
- */
- protected Object readObjectOverride()
- throws ClassNotFoundException, IOException, OptionalDataException
- {
- throw new IOException("Subclass of ObjectInputStream must implement readObjectOverride");
- }
-
- /**
- * Assigns the next available handle to <code>obj</code>.
- *
- * @param obj The object for which we want a new handle.
- * @return A valid handle for the specified object.
- */
- private int assignNewHandle(Object obj)
- {
- this.objectLookupTable.put(new Integer(this.nextOID),
- new ObjectIdentityWrapper(obj));
- return this.nextOID++;
- }
-
- private Object processResolution(ObjectStreamClass osc, Object obj, int handle)
- throws IOException
- {
- if (osc != null && obj instanceof Serializable)
- {
- try
- {
- Method m = osc.readResolveMethod;
- if(m != null)
- {
- obj = m.invoke(obj, new Object[] {});
- }
- }
- catch (IllegalAccessException ignore)
- {
- }
- catch (InvocationTargetException exception)
- {
- Throwable cause = exception.getCause();
- if (cause instanceof ObjectStreamException)
- throw (ObjectStreamException) cause;
- else if (cause instanceof RuntimeException)
- throw (RuntimeException) cause;
- else if (cause instanceof Error)
- throw (Error) cause;
- }
- }
-
- if (this.resolveEnabled)
- obj = resolveObject(obj);
-
- this.objectLookupTable.put(new Integer(handle),
- new ObjectIdentityWrapper(obj));
-
- return obj;
- }
-
- private void clearHandles()
- {
- this.objectLookupTable.clear();
- this.nextOID = baseWireHandle;
- }
-
- private void readNextBlock() throws IOException
- {
- readNextBlock(this.realInputStream.readByte());
- }
-
- private void readNextBlock(byte marker) throws IOException
- {
- if (marker == TC_BLOCKDATA)
- {
- if(dump) dumpElement("BLOCK DATA SIZE=");
- this.blockDataBytes = this.realInputStream.readUnsignedByte();
- if(dump) dumpElementln (Integer.toString(this.blockDataBytes));
- }
- else if (marker == TC_BLOCKDATALONG)
- {
- if(dump) dumpElement("BLOCK DATA LONG SIZE=");
- this.blockDataBytes = this.realInputStream.readInt();
- if(dump) dumpElementln (Integer.toString(this.blockDataBytes));
- }
- else
- {
- throw new EOFException("Attempt to read primitive data, but no data block is active.");
- }
-
- if (this.blockData.length < this.blockDataBytes)
- this.blockData = new byte[this.blockDataBytes];
-
- this.realInputStream.readFully (this.blockData, 0, this.blockDataBytes);
- this.blockDataPosition = 0;
- }
-
- private void readArrayElements (Object array, Class clazz)
- throws ClassNotFoundException, IOException
- {
- if (clazz.isPrimitive())
- {
- if (clazz == Boolean.TYPE)
- {
- boolean[] cast_array = (boolean[])array;
- for (int i=0; i < cast_array.length; i++)
- cast_array[i] = this.realInputStream.readBoolean();
- return;
- }
- if (clazz == Byte.TYPE)
- {
- byte[] cast_array = (byte[])array;
- for (int i=0; i < cast_array.length; i++)
- cast_array[i] = this.realInputStream.readByte();
- return;
- }
- if (clazz == Character.TYPE)
- {
- char[] cast_array = (char[])array;
- for (int i=0; i < cast_array.length; i++)
- cast_array[i] = this.realInputStream.readChar();
- return;
- }
- if (clazz == Double.TYPE)
- {
- double[] cast_array = (double[])array;
- for (int i=0; i < cast_array.length; i++)
- cast_array[i] = this.realInputStream.readDouble();
- return;
- }
- if (clazz == Float.TYPE)
- {
- float[] cast_array = (float[])array;
- for (int i=0; i < cast_array.length; i++)
- cast_array[i] = this.realInputStream.readFloat();
- return;
- }
- if (clazz == Integer.TYPE)
- {
- int[] cast_array = (int[])array;
- for (int i=0; i < cast_array.length; i++)
- cast_array[i] = this.realInputStream.readInt();
- return;
- }
- if (clazz == Long.TYPE)
- {
- long[] cast_array = (long[])array;
- for (int i=0; i < cast_array.length; i++)
- cast_array[i] = this.realInputStream.readLong();
- return;
- }
- if (clazz == Short.TYPE)
- {
- short[] cast_array = (short[])array;
- for (int i=0; i < cast_array.length; i++)
- cast_array[i] = this.realInputStream.readShort();
- return;
- }
- }
- else
- {
- Object[] cast_array = (Object[])array;
- for (int i=0; i < cast_array.length; i++)
- cast_array[i] = readObject();
- }
- }
-
- private void readFields (Object obj, ObjectStreamClass stream_osc)
- throws ClassNotFoundException, IOException
- {
- ObjectStreamField[] fields = stream_osc.fieldMapping;
-
- for (int i = 0; i < fields.length; i += 2)
- {
- ObjectStreamField stream_field = fields[i];
- ObjectStreamField real_field = fields[i + 1];
- boolean read_value = (stream_field != null && stream_field.getOffset() >= 0 && stream_field.isToSet());
- boolean set_value = (real_field != null && real_field.isToSet());
- String field_name;
- char type;
-
- if (stream_field != null)
- {
- field_name = stream_field.getName();
- type = stream_field.getTypeCode();
- }
- else
- {
- field_name = real_field.getName();
- type = real_field.getTypeCode();
- }
-
- switch(type)
- {
- case 'Z':
- {
- boolean value =
- read_value ? this.realInputStream.readBoolean() : false;
- if (dump && read_value && set_value)
- dumpElementln(" " + field_name + ": " + value);
- if (set_value)
- real_field.setBooleanField(obj, value);
- break;
- }
- case 'B':
- {
- byte value =
- read_value ? this.realInputStream.readByte() : 0;
- if (dump && read_value && set_value)
- dumpElementln(" " + field_name + ": " + value);
- if (set_value)
- real_field.setByteField(obj, value);
- break;
- }
- case 'C':
- {
- char value =
- read_value ? this.realInputStream.readChar(): 0;
- if (dump && read_value && set_value)
- dumpElementln(" " + field_name + ": " + value);
- if (set_value)
- real_field.setCharField(obj, value);
- break;
- }
- case 'D':
- {
- double value =
- read_value ? this.realInputStream.readDouble() : 0;
- if (dump && read_value && set_value)
- dumpElementln(" " + field_name + ": " + value);
- if (set_value)
- real_field.setDoubleField(obj, value);
- break;
- }
- case 'F':
- {
- float value =
- read_value ? this.realInputStream.readFloat() : 0;
- if (dump && read_value && set_value)
- dumpElementln(" " + field_name + ": " + value);
- if (set_value)
- real_field.setFloatField(obj, value);
- break;
- }
- case 'I':
- {
- int value =
- read_value ? this.realInputStream.readInt() : 0;
- if (dump && read_value && set_value)
- dumpElementln(" " + field_name + ": " + value);
- if (set_value)
- real_field.setIntField(obj, value);
- break;
- }
- case 'J':
- {
- long value =
- read_value ? this.realInputStream.readLong() : 0;
- if (dump && read_value && set_value)
- dumpElementln(" " + field_name + ": " + value);
- if (set_value)
- real_field.setLongField(obj, value);
- break;
- }
- case 'S':
- {
- short value =
- read_value ? this.realInputStream.readShort() : 0;
- if (dump && read_value && set_value)
- dumpElementln(" " + field_name + ": " + value);
- if (set_value)
- real_field.setShortField(obj, value);
- break;
- }
- case 'L':
- case '[':
- {
- Object value =
- read_value ? readObject() : null;
- if (set_value)
- real_field.setObjectField(obj, value);
- break;
- }
- default:
- throw new InternalError("Invalid type code: " + type);
- }
- }
- }
-
- // Toggles writing primitive data to block-data buffer.
- private boolean setBlockDataMode (boolean on)
- {
- boolean oldmode = this.readDataFromBlock;
- this.readDataFromBlock = on;
-
- if (on)
- this.dataInputStream = this.blockDataInput;
- else
- this.dataInputStream = this.realInputStream;
- return oldmode;
- }
-
- // returns a new instance of REAL_CLASS that has been constructed
- // only to the level of CONSTRUCTOR_CLASS (a super class of REAL_CLASS)
- private Object newObject (Class real_class, Constructor constructor)
- throws ClassNotFoundException, IOException
- {
- if (constructor == null)
- throw new InvalidClassException("Missing accessible no-arg base class constructor for " + real_class.getName());
- try
- {
- return allocateObject(real_class, constructor.getDeclaringClass(), constructor);
- }
- catch (InstantiationException e)
- {
- throw new ClassNotFoundException
- ("Instance of " + real_class + " could not be created");
- }
- }
-
- // runs all registered ObjectInputValidations in prioritized order
- // on OBJ
- private void invokeValidators() throws InvalidObjectException
- {
- Object[] validators = new Object[this.validators.size()];
- this.validators.copyInto (validators);
- Arrays.sort (validators);
-
- try
- {
- for (int i=0; i < validators.length; i++)
- ((ObjectInputValidation)validators[i]).validateObject();
- }
- finally
- {
- this.validators.removeAllElements();
- }
- }
-
- private void callReadMethod (Method readObject, Class klass, Object obj)
- throws ClassNotFoundException, IOException
- {
- try
- {
- readObject.invoke(obj, new Object[] { this });
- }
- catch (InvocationTargetException x)
- {
- /* Rethrow if possible. */
- Throwable exception = x.getTargetException();
- if (exception instanceof RuntimeException)
- throw (RuntimeException) exception;
- if (exception instanceof IOException)
- throw (IOException) exception;
- if (exception instanceof ClassNotFoundException)
- throw (ClassNotFoundException) exception;
-
- throw new IOException("Exception thrown from readObject() on " +
- klass + ": " + exception.getClass().getName());
- }
- catch (Exception x)
- {
- throw new IOException("Failure invoking readObject() on " +
- klass + ": " + x.getClass().getName());
- }
-
- // Invalidate fields which has been read through readFields.
- prereadFields = null;
- }
-
- private native Object allocateObject(Class clazz, Class constr_clazz, Constructor constructor)
- throws InstantiationException;
-
- private static final int BUFFER_SIZE = 1024;
-
- private DataInputStream realInputStream;
- private DataInputStream dataInputStream;
- private DataInputStream blockDataInput;
- private int blockDataPosition;
- private int blockDataBytes;
- private byte[] blockData;
- private boolean useSubclassMethod;
- private int nextOID;
- private boolean resolveEnabled;
- private Hashtable objectLookupTable;
- private Object currentObject;
- private ObjectStreamClass currentObjectStreamClass;
- private boolean readDataFromBlock;
- private boolean isDeserializing;
- private boolean fieldsAlreadyRead;
- private Vector validators;
- private Hashtable classLookupTable;
- private GetField prereadFields;
-
- private ClassLoader callersClassLoader;
- private static boolean dump;
-
- // The nesting depth for debugging output
- private int depth = 0;
-
- private void dumpElement (String msg)
- {
- System.out.print(msg);
- }
-
- private void dumpElementln (String msg)
- {
- System.out.println(msg);
- for (int i = 0; i < depth; i++)
- System.out.print (" ");
- System.out.print (Thread.currentThread() + ": ");
- }
-
- static
- {
- if (Configuration.INIT_LOAD_LIBRARY)
- {
- System.loadLibrary ("javaio");
- }
- }
-
- // used to keep a prioritized list of object validators
- private static final class ValidatorAndPriority implements Comparable
- {
- int priority;
- ObjectInputValidation validator;
-
- ValidatorAndPriority (ObjectInputValidation validator, int priority)
- {
- this.priority = priority;
- this.validator = validator;
- }
-
- public int compareTo (Object o)
- {
- ValidatorAndPriority vap = (ValidatorAndPriority)o;
- return this.priority - vap.priority;
- }
- }
-}
-
diff --git a/libjava/java/io/ObjectInputValidation.h b/libjava/java/io/ObjectInputValidation.h
new file mode 100644
index 0000000..6b0df7d
--- /dev/null
+++ b/libjava/java/io/ObjectInputValidation.h
@@ -0,0 +1,19 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_io_ObjectInputValidation__
+#define __java_io_ObjectInputValidation__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::io::ObjectInputValidation : public ::java::lang::Object
+{
+
+public:
+ virtual void validateObject() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_io_ObjectInputValidation__
diff --git a/libjava/java/io/ObjectOutput.h b/libjava/java/io/ObjectOutput.h
new file mode 100644
index 0000000..ec45c01
--- /dev/null
+++ b/libjava/java/io/ObjectOutput.h
@@ -0,0 +1,37 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_io_ObjectOutput__
+#define __java_io_ObjectOutput__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+
+class java::io::ObjectOutput : public ::java::lang::Object
+{
+
+public:
+ virtual void write(jint) = 0;
+ virtual void write(JArray< jbyte > *) = 0;
+ virtual void write(JArray< jbyte > *, jint, jint) = 0;
+ virtual void writeObject(::java::lang::Object *) = 0;
+ virtual void flush() = 0;
+ virtual void close() = 0;
+ virtual void writeBoolean(jboolean) = 0;
+ virtual void writeByte(jint) = 0;
+ virtual void writeChar(jint) = 0;
+ virtual void writeShort(jint) = 0;
+ virtual void writeInt(jint) = 0;
+ virtual void writeLong(jlong) = 0;
+ virtual void writeFloat(jfloat) = 0;
+ virtual void writeDouble(jdouble) = 0;
+ virtual void writeBytes(::java::lang::String *) = 0;
+ virtual void writeChars(::java::lang::String *) = 0;
+ virtual void writeUTF(::java::lang::String *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_io_ObjectOutput__
diff --git a/libjava/java/io/ObjectOutputStream$1.h b/libjava/java/io/ObjectOutputStream$1.h
new file mode 100644
index 0000000..5890abf
--- /dev/null
+++ b/libjava/java/io/ObjectOutputStream$1.h
@@ -0,0 +1,41 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_io_ObjectOutputStream$1__
+#define __java_io_ObjectOutputStream$1__
+
+#pragma interface
+
+#include <java/io/ObjectOutputStream$PutField.h>
+#include <gcj/array.h>
+
+
+class java::io::ObjectOutputStream$1 : public ::java::io::ObjectOutputStream$PutField
+{
+
+public: // actually package-private
+ ObjectOutputStream$1(::java::io::ObjectOutputStream *);
+private:
+ ::java::io::ObjectStreamField * getField(::java::lang::String *);
+public:
+ void put(::java::lang::String *, jboolean);
+ void put(::java::lang::String *, jbyte);
+ void put(::java::lang::String *, jchar);
+ void put(::java::lang::String *, jdouble);
+ void put(::java::lang::String *, jfloat);
+ void put(::java::lang::String *, jint);
+ void put(::java::lang::String *, jlong);
+ void put(::java::lang::String *, jshort);
+ void put(::java::lang::String *, ::java::lang::Object *);
+ void write(::java::io::ObjectOutput *);
+private:
+ void checkType(::java::io::ObjectStreamField *, jchar);
+ JArray< jbyte > * __attribute__((aligned(__alignof__( ::java::io::ObjectOutputStream$PutField)))) prim_field_data;
+ JArray< ::java::lang::Object * > * objs;
+public: // actually package-private
+ ::java::io::ObjectOutputStream * this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_io_ObjectOutputStream$1__
diff --git a/libjava/java/io/ObjectOutputStream$PutField.h b/libjava/java/io/ObjectOutputStream$PutField.h
new file mode 100644
index 0000000..790bb0e
--- /dev/null
+++ b/libjava/java/io/ObjectOutputStream$PutField.h
@@ -0,0 +1,29 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_io_ObjectOutputStream$PutField__
+#define __java_io_ObjectOutputStream$PutField__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::io::ObjectOutputStream$PutField : public ::java::lang::Object
+{
+
+public:
+ ObjectOutputStream$PutField();
+ virtual void put(::java::lang::String *, jboolean) = 0;
+ virtual void put(::java::lang::String *, jbyte) = 0;
+ virtual void put(::java::lang::String *, jchar) = 0;
+ virtual void put(::java::lang::String *, jdouble) = 0;
+ virtual void put(::java::lang::String *, jfloat) = 0;
+ virtual void put(::java::lang::String *, jint) = 0;
+ virtual void put(::java::lang::String *, jlong) = 0;
+ virtual void put(::java::lang::String *, jshort) = 0;
+ virtual void put(::java::lang::String *, ::java::lang::Object *) = 0;
+ virtual void write(::java::io::ObjectOutput *) = 0;
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_io_ObjectOutputStream$PutField__
diff --git a/libjava/java/io/ObjectOutputStream.h b/libjava/java/io/ObjectOutputStream.h
new file mode 100644
index 0000000..273f04b
--- /dev/null
+++ b/libjava/java/io/ObjectOutputStream.h
@@ -0,0 +1,122 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_io_ObjectOutputStream__
+#define __java_io_ObjectOutputStream__
+
+#pragma interface
+
+#include <java/io/OutputStream.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace io
+ {
+ class ObjectIdentityMap2Int;
+ }
+ namespace security
+ {
+ namespace action
+ {
+ class SetAccessibleAction;
+ }
+ }
+ }
+ }
+}
+
+class java::io::ObjectOutputStream : public ::java::io::OutputStream
+{
+
+public:
+ ObjectOutputStream(::java::io::OutputStream *);
+ virtual void writeObject(::java::lang::Object *);
+public: // actually protected
+ virtual void writeClassDescriptor(::java::io::ObjectStreamClass *);
+public:
+ virtual void defaultWriteObject();
+private:
+ void markFieldsWritten();
+public:
+ virtual void reset();
+private:
+ void reset(jboolean);
+public:
+ virtual void useProtocolVersion(jint);
+public: // actually protected
+ virtual void annotateClass(::java::lang::Class *);
+ virtual void annotateProxyClass(::java::lang::Class *);
+ virtual ::java::lang::Object * replaceObject(::java::lang::Object *);
+ virtual jboolean enableReplaceObject(jboolean);
+ virtual void writeStreamHeader();
+ ObjectOutputStream();
+ virtual void writeObjectOverride(::java::lang::Object *);
+public:
+ virtual void write(jint);
+ virtual void write(JArray< jbyte > *);
+ virtual void write(JArray< jbyte > *, jint, jint);
+ virtual void flush();
+public: // actually protected
+ virtual void drain();
+public:
+ virtual void close();
+ virtual void writeBoolean(jboolean);
+ virtual void writeByte(jint);
+ virtual void writeShort(jint);
+ virtual void writeChar(jint);
+ virtual void writeInt(jint);
+ virtual void writeLong(jlong);
+ virtual void writeFloat(jfloat);
+ virtual void writeDouble(jdouble);
+ virtual void writeBytes(::java::lang::String *);
+ virtual void writeChars(::java::lang::String *);
+ virtual void writeUTF(::java::lang::String *);
+ virtual ::java::io::ObjectOutputStream$PutField * putFields();
+ virtual void writeFields();
+private:
+ void writeBlockDataHeader(jint);
+ jint findHandle(::java::lang::Object *);
+ jint assignNewHandle(::java::lang::Object *);
+ void clearHandles();
+ void writeArraySizeAndElements(::java::lang::Object *, ::java::lang::Class *);
+ void writeFields(::java::lang::Object *, ::java::io::ObjectStreamClass *);
+ void writeFields(::java::lang::Object *, JArray< ::java::io::ObjectStreamField * > *);
+public: // actually package-private
+ virtual jboolean setBlockDataMode(jboolean);
+private:
+ void callWriteMethod(::java::lang::Object *, ::java::io::ObjectStreamClass *);
+ void dumpElementln(::java::lang::String *);
+ static const jint BUFFER_SIZE = 1024;
+ static jint defaultProtocolVersion;
+ ::java::io::DataOutputStream * __attribute__((aligned(__alignof__( ::java::io::OutputStream)))) dataOutput;
+ jboolean writeDataAsBlocks;
+ ::java::io::DataOutputStream * realOutput;
+ ::java::io::DataOutputStream * blockDataOutput;
+ JArray< jbyte > * blockData;
+ jint blockDataCount;
+ ::java::lang::Object * currentObject;
+public: // actually package-private
+ ::java::io::ObjectStreamClass * currentObjectStreamClass;
+private:
+ ::java::io::ObjectOutputStream$PutField * currentPutField;
+ jboolean fieldsAlreadyWritten;
+ jboolean replacementEnabled;
+ jboolean isSerializing;
+ jint nextOID;
+ ::gnu::java::io::ObjectIdentityMap2Int * OIDLookupTable;
+ jint protocolVersion;
+ jboolean useSubclassMethod;
+ ::gnu::java::security::action::SetAccessibleAction * setAccessible;
+ jint depth;
+ jboolean dump;
+ static const jboolean DEBUG = 0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_io_ObjectOutputStream__
diff --git a/libjava/java/io/ObjectStreamClass$1.h b/libjava/java/io/ObjectStreamClass$1.h
new file mode 100644
index 0000000..c57bb25
--- /dev/null
+++ b/libjava/java/io/ObjectStreamClass$1.h
@@ -0,0 +1,24 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_io_ObjectStreamClass$1__
+#define __java_io_ObjectStreamClass$1__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::io::ObjectStreamClass$1 : public ::java::lang::Object
+{
+
+public: // actually package-private
+ ObjectStreamClass$1(::java::io::ObjectStreamClass *);
+public:
+ jint compare(::java::lang::Object *, ::java::lang::Object *);
+public: // actually package-private
+ ::java::io::ObjectStreamClass * __attribute__((aligned(__alignof__( ::java::lang::Object)))) this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_io_ObjectStreamClass$1__
diff --git a/libjava/java/io/ObjectStreamClass$2.h b/libjava/java/io/ObjectStreamClass$2.h
new file mode 100644
index 0000000..2152ca0
--- /dev/null
+++ b/libjava/java/io/ObjectStreamClass$2.h
@@ -0,0 +1,26 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_io_ObjectStreamClass$2__
+#define __java_io_ObjectStreamClass$2__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::io::ObjectStreamClass$2 : public ::java::lang::Object
+{
+
+public: // actually package-private
+ ObjectStreamClass$2(::java::io::ObjectStreamClass *, ::java::lang::reflect::Constructor *);
+public:
+ ::java::lang::Object * run();
+public: // actually package-private
+ ::java::io::ObjectStreamClass * __attribute__((aligned(__alignof__( ::java::lang::Object)))) this$0;
+private:
+ ::java::lang::reflect::Constructor * val$c;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_io_ObjectStreamClass$2__
diff --git a/libjava/java/io/ObjectStreamClass$InterfaceComparator.h b/libjava/java/io/ObjectStreamClass$InterfaceComparator.h
new file mode 100644
index 0000000..7faddc7
--- /dev/null
+++ b/libjava/java/io/ObjectStreamClass$InterfaceComparator.h
@@ -0,0 +1,23 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_io_ObjectStreamClass$InterfaceComparator__
+#define __java_io_ObjectStreamClass$InterfaceComparator__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::io::ObjectStreamClass$InterfaceComparator : public ::java::lang::Object
+{
+
+ ObjectStreamClass$InterfaceComparator();
+public:
+ jint compare(::java::lang::Object *, ::java::lang::Object *);
+public: // actually package-private
+ ObjectStreamClass$InterfaceComparator(::java::io::ObjectStreamClass$InterfaceComparator *);
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_io_ObjectStreamClass$InterfaceComparator__
diff --git a/libjava/java/io/ObjectStreamClass$MemberComparator.h b/libjava/java/io/ObjectStreamClass$MemberComparator.h
new file mode 100644
index 0000000..81a8ca4
--- /dev/null
+++ b/libjava/java/io/ObjectStreamClass$MemberComparator.h
@@ -0,0 +1,23 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_io_ObjectStreamClass$MemberComparator__
+#define __java_io_ObjectStreamClass$MemberComparator__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::io::ObjectStreamClass$MemberComparator : public ::java::lang::Object
+{
+
+ ObjectStreamClass$MemberComparator();
+public:
+ jint compare(::java::lang::Object *, ::java::lang::Object *);
+public: // actually package-private
+ ObjectStreamClass$MemberComparator(::java::io::ObjectStreamClass$MemberComparator *);
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_io_ObjectStreamClass$MemberComparator__
diff --git a/libjava/java/io/ObjectStreamClass.h b/libjava/java/io/ObjectStreamClass.h
new file mode 100644
index 0000000..7638f7b
--- /dev/null
+++ b/libjava/java/io/ObjectStreamClass.h
@@ -0,0 +1,113 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_io_ObjectStreamClass__
+#define __java_io_ObjectStreamClass__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace io
+ {
+ class NullOutputStream;
+ }
+ }
+ }
+}
+
+class java::io::ObjectStreamClass : public ::java::lang::Object
+{
+
+public:
+ static ::java::io::ObjectStreamClass * lookup(::java::lang::Class *);
+public: // actually package-private
+ static ::java::io::ObjectStreamClass * lookupForClassObject(::java::lang::Class *);
+public:
+ virtual ::java::lang::String * getName();
+ virtual ::java::lang::Class * forClass();
+ virtual jlong getSerialVersionUID();
+ virtual JArray< ::java::io::ObjectStreamField * > * getFields();
+ virtual ::java::io::ObjectStreamField * getField(::java::lang::String *);
+ virtual ::java::lang::String * toString();
+public: // actually package-private
+ virtual jboolean hasWriteMethod();
+ virtual jboolean isSerializable();
+ virtual jboolean isExternalizable();
+ virtual jboolean isEnum();
+ virtual ::java::io::ObjectStreamClass * getSuper();
+ virtual JArray< ::java::io::ObjectStreamClass * > * hierarchy();
+ virtual jint getFlags();
+ ObjectStreamClass(::java::lang::String *, jlong, jbyte, JArray< ::java::io::ObjectStreamField * > *);
+ virtual void setClass(::java::lang::Class *, ::java::io::ObjectStreamClass *);
+ virtual void setSuperclass(::java::io::ObjectStreamClass *);
+ virtual void calculateOffsets();
+private:
+ ::java::lang::reflect::Method * findMethod(JArray< ::java::lang::reflect::Method * > *, ::java::lang::String *, JArray< ::java::lang::Class * > *, ::java::lang::Class *, jboolean);
+ static jboolean inSamePackage(::java::lang::Class *, ::java::lang::Class *);
+ static ::java::lang::reflect::Method * findAccessibleMethod(::java::lang::String *, ::java::lang::Class *);
+ static jboolean loadedByBootOrApplicationClassLoader(::java::lang::Class *);
+ void cacheMethods();
+ ObjectStreamClass(::java::lang::Class *);
+ void setFlags(::java::lang::Class *);
+ void setFields(::java::lang::Class *);
+ jlong getClassUID(::java::lang::Class *);
+public: // actually package-private
+ virtual jlong getClassUIDFromField(::java::lang::Class *);
+ virtual jlong calculateClassUID(::java::lang::Class *);
+private:
+ JArray< ::java::io::ObjectStreamField * > * getSerialPersistentFields(::java::lang::Class *);
+public: // actually package-private
+ virtual ::java::io::Externalizable * newInstance();
+ static JArray< ::java::io::ObjectStreamField * > * INVALID_FIELDS;
+private:
+ JArray< ::java::io::ObjectStreamClass * > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) hierarchy__;
+public: // actually package-private
+ static JArray< ::java::lang::Class * > * noArgs;
+ static ::java::util::Hashtable * methodCache;
+ static JArray< ::java::lang::Class * > * readObjectSignature;
+ static JArray< ::java::lang::Class * > * writeObjectSignature;
+ static ::java::util::Hashtable * uidCache;
+public:
+ static JArray< ::java::io::ObjectStreamField * > * NO_FIELDS;
+private:
+ static ::java::util::Hashtable * classLookupTable;
+ static ::gnu::java::io::NullOutputStream * nullOutputStream;
+ static ::java::util::Comparator * interfaceComparator;
+ static ::java::util::Comparator * memberComparator;
+ static JArray< ::java::lang::Class * > * writeMethodArgTypes;
+ ::java::io::ObjectStreamClass * superClass;
+ ::java::lang::Class * clazz;
+ ::java::lang::String * name;
+ jlong uid;
+ jbyte flags;
+public: // actually package-private
+ JArray< ::java::io::ObjectStreamField * > * fields;
+ jint primFieldSize;
+ jint objectFieldCount;
+ ::java::lang::reflect::Method * readObjectMethod;
+ ::java::lang::reflect::Method * readResolveMethod;
+ ::java::lang::reflect::Method * writeReplaceMethod;
+ ::java::lang::reflect::Method * writeObjectMethod;
+ jboolean realClassIsSerializable;
+ jboolean realClassIsExternalizable;
+ JArray< ::java::io::ObjectStreamField * > * fieldMapping;
+ ::java::lang::reflect::Constructor * firstNonSerializableParentConstructor;
+private:
+ ::java::lang::reflect::Constructor * constructor;
+public: // actually package-private
+ jboolean isProxyClass;
+private:
+ static const jlong serialVersionUID = -6120832682080437368LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_io_ObjectStreamClass__
diff --git a/libjava/java/io/ObjectStreamConstants.h b/libjava/java/io/ObjectStreamConstants.h
new file mode 100644
index 0000000..f4e9508
--- /dev/null
+++ b/libjava/java/io/ObjectStreamConstants.h
@@ -0,0 +1,47 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_io_ObjectStreamConstants__
+#define __java_io_ObjectStreamConstants__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::io::ObjectStreamConstants : public ::java::lang::Object
+{
+
+public:
+ static const jint PROTOCOL_VERSION_1 = 1;
+ static const jint PROTOCOL_VERSION_2 = 2;
+ static const jshort STREAM_MAGIC = -21267;
+ static const jshort STREAM_VERSION = 5;
+ static const jbyte TC_NULL = 112;
+ static const jbyte TC_REFERENCE = 113;
+ static const jbyte TC_CLASSDESC = 114;
+ static const jbyte TC_OBJECT = 115;
+ static const jbyte TC_STRING = 116;
+ static const jbyte TC_ARRAY = 117;
+ static const jbyte TC_CLASS = 118;
+ static const jbyte TC_BLOCKDATA = 119;
+ static const jbyte TC_ENDBLOCKDATA = 120;
+ static const jbyte TC_RESET = 121;
+ static const jbyte TC_BLOCKDATALONG = 122;
+ static const jbyte TC_EXCEPTION = 123;
+ static const jbyte TC_LONGSTRING = 124;
+ static const jbyte TC_PROXYCLASSDESC = 125;
+ static const jbyte TC_ENUM = 126;
+ static const jbyte TC_BASE = 112;
+ static const jbyte TC_MAX = 126;
+ static const jint baseWireHandle = 8257536;
+ static const jbyte SC_WRITE_METHOD = 1;
+ static const jbyte SC_SERIALIZABLE = 2;
+ static const jbyte SC_EXTERNALIZABLE = 4;
+ static const jbyte SC_BLOCK_DATA = 8;
+ static const jbyte SC_ENUM = 16;
+ static ::java::io::SerializablePermission * SUBSTITUTION_PERMISSION;
+ static ::java::io::SerializablePermission * SUBCLASS_IMPLEMENTATION_PERMISSION;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_io_ObjectStreamConstants__
diff --git a/libjava/java/io/ObjectStreamException.h b/libjava/java/io/ObjectStreamException.h
new file mode 100644
index 0000000..4ce5833
--- /dev/null
+++ b/libjava/java/io/ObjectStreamException.h
@@ -0,0 +1,23 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_io_ObjectStreamException__
+#define __java_io_ObjectStreamException__
+
+#pragma interface
+
+#include <java/io/IOException.h>
+
+class java::io::ObjectStreamException : public ::java::io::IOException
+{
+
+public: // actually protected
+ ObjectStreamException();
+ ObjectStreamException(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = 7260898174833392607LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_io_ObjectStreamException__
diff --git a/libjava/java/io/ObjectStreamField$1.h b/libjava/java/io/ObjectStreamField$1.h
new file mode 100644
index 0000000..e17f3c1
--- /dev/null
+++ b/libjava/java/io/ObjectStreamField$1.h
@@ -0,0 +1,26 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_io_ObjectStreamField$1__
+#define __java_io_ObjectStreamField$1__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::io::ObjectStreamField$1 : public ::java::lang::Object
+{
+
+public: // actually package-private
+ ObjectStreamField$1(::java::io::ObjectStreamField *, ::java::lang::reflect::Field *);
+public:
+ ::java::lang::Object * run();
+public: // actually package-private
+ ::java::io::ObjectStreamField * __attribute__((aligned(__alignof__( ::java::lang::Object)))) this$0;
+private:
+ ::java::lang::reflect::Field * val$f;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_io_ObjectStreamField$1__
diff --git a/libjava/java/io/ObjectStreamField.h b/libjava/java/io/ObjectStreamField.h
new file mode 100644
index 0000000..5b3116f
--- /dev/null
+++ b/libjava/java/io/ObjectStreamField.h
@@ -0,0 +1,67 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_io_ObjectStreamField__
+#define __java_io_ObjectStreamField__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::io::ObjectStreamField : public ::java::lang::Object
+{
+
+public: // actually package-private
+ ObjectStreamField(::java::lang::reflect::Field *);
+public:
+ ObjectStreamField(::java::lang::String *, ::java::lang::Class *);
+ ObjectStreamField(::java::lang::String *, ::java::lang::Class *, jboolean);
+public: // actually package-private
+ ObjectStreamField(::java::lang::String *, ::java::lang::String *);
+ virtual void resolveType(::java::lang::ClassLoader *);
+public:
+ virtual ::java::lang::String * getName();
+ virtual ::java::lang::Class * getType();
+ virtual jchar getTypeCode();
+ virtual ::java::lang::String * getTypeString();
+ virtual jint getOffset();
+public: // actually protected
+ virtual void setOffset(jint);
+public:
+ virtual jboolean isUnshared();
+ virtual jboolean isPrimitive();
+ virtual jint compareTo(::java::lang::Object *);
+public: // actually package-private
+ virtual void setPersistent(jboolean);
+ virtual jboolean isPersistent();
+ virtual void setToSet(jboolean);
+ virtual jboolean isToSet();
+ virtual void lookupField(::java::lang::Class *);
+ virtual void checkFieldType();
+public:
+ virtual ::java::lang::String * toString();
+public: // actually package-private
+ virtual void setBooleanField(::java::lang::Object *, jboolean);
+ virtual void setByteField(::java::lang::Object *, jbyte);
+ virtual void setCharField(::java::lang::Object *, jchar);
+ virtual void setShortField(::java::lang::Object *, jshort);
+ virtual void setIntField(::java::lang::Object *, jint);
+ virtual void setLongField(::java::lang::Object *, jlong);
+ virtual void setFloatField(::java::lang::Object *, jfloat);
+ virtual void setDoubleField(::java::lang::Object *, jdouble);
+ virtual void setObjectField(::java::lang::Object *, ::java::lang::Object *);
+private:
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) name;
+ ::java::lang::Class * type;
+ ::java::lang::String * typename$;
+ jint offset;
+ jboolean unshared;
+ jboolean persistent;
+ jboolean toset;
+public: // actually package-private
+ ::java::lang::reflect::Field * field;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_io_ObjectStreamField__
diff --git a/libjava/java/io/OptionalDataException.h b/libjava/java/io/OptionalDataException.h
new file mode 100644
index 0000000..b12a839
--- /dev/null
+++ b/libjava/java/io/OptionalDataException.h
@@ -0,0 +1,24 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_io_OptionalDataException__
+#define __java_io_OptionalDataException__
+
+#pragma interface
+
+#include <java/io/ObjectStreamException.h>
+
+class java::io::OptionalDataException : public ::java::io::ObjectStreamException
+{
+
+public: // actually package-private
+ OptionalDataException(jboolean, jint);
+private:
+ static const jlong serialVersionUID = -8011121865681257820LL;
+public:
+ jboolean __attribute__((aligned(__alignof__( ::java::io::ObjectStreamException)))) eof;
+ jint length;
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_io_OptionalDataException__
diff --git a/libjava/java/io/OutputStream.h b/libjava/java/io/OutputStream.h
new file mode 100644
index 0000000..28f1585
--- /dev/null
+++ b/libjava/java/io/OutputStream.h
@@ -0,0 +1,26 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_io_OutputStream__
+#define __java_io_OutputStream__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+
+class java::io::OutputStream : public ::java::lang::Object
+{
+
+public:
+ OutputStream();
+ virtual void write(jint) = 0;
+ virtual void write(JArray< jbyte > *);
+ virtual void write(JArray< jbyte > *, jint, jint);
+ virtual void flush();
+ virtual void close();
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_io_OutputStream__
diff --git a/libjava/java/io/OutputStreamWriter.h b/libjava/java/io/OutputStreamWriter.h
new file mode 100644
index 0000000..8ad6c8e
--- /dev/null
+++ b/libjava/java/io/OutputStreamWriter.h
@@ -0,0 +1,65 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_io_OutputStreamWriter__
+#define __java_io_OutputStreamWriter__
+
+#pragma interface
+
+#include <java/io/Writer.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace gcj
+ {
+ namespace convert
+ {
+ class UnicodeToBytes;
+ }
+ }
+ }
+ namespace java
+ {
+ namespace nio
+ {
+ namespace charset
+ {
+ class Charset;
+ class CharsetEncoder;
+ }
+ }
+ }
+}
+
+class java::io::OutputStreamWriter : public ::java::io::Writer
+{
+
+ OutputStreamWriter(::java::io::OutputStream *, ::gnu::gcj::convert::UnicodeToBytes *);
+public:
+ OutputStreamWriter(::java::io::OutputStream *, ::java::lang::String *);
+ OutputStreamWriter(::java::io::OutputStream *);
+ OutputStreamWriter(::java::io::OutputStream *, ::java::nio::charset::Charset *);
+ OutputStreamWriter(::java::io::OutputStream *, ::java::nio::charset::CharsetEncoder *);
+ virtual void close();
+ virtual ::java::lang::String * getEncoding();
+ virtual void flush();
+ virtual void write(JArray< jchar > *, jint, jint);
+private:
+ void writeChars(JArray< jchar > *, jint, jint);
+public:
+ virtual void write(::java::lang::String *, jint, jint);
+ virtual void write(jint);
+public: // actually package-private
+ ::java::io::BufferedOutputStream * __attribute__((aligned(__alignof__( ::java::io::Writer)))) out;
+ ::gnu::gcj::convert::UnicodeToBytes * converter;
+private:
+ JArray< jchar > * work;
+ jint wcount;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_io_OutputStreamWriter__
diff --git a/libjava/java/io/PipedInputStream.h b/libjava/java/io/PipedInputStream.h
new file mode 100644
index 0000000..9531667
--- /dev/null
+++ b/libjava/java/io/PipedInputStream.h
@@ -0,0 +1,43 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_io_PipedInputStream__
+#define __java_io_PipedInputStream__
+
+#pragma interface
+
+#include <java/io/InputStream.h>
+#include <gcj/array.h>
+
+
+class java::io::PipedInputStream : public ::java::io::InputStream
+{
+
+public:
+ PipedInputStream();
+ PipedInputStream(::java::io::PipedOutputStream *);
+ virtual void connect(::java::io::PipedOutputStream *);
+public: // actually protected
+ virtual void receive(jint);
+public: // actually package-private
+ virtual void receive(JArray< jbyte > *, jint, jint);
+public:
+ virtual jint read();
+ virtual jint read(JArray< jbyte > *, jint, jint);
+ virtual jint available();
+ virtual void close();
+public: // actually package-private
+ ::java::io::PipedOutputStream * __attribute__((aligned(__alignof__( ::java::io::InputStream)))) source;
+ jboolean closed;
+public: // actually protected
+ static const jint PIPE_SIZE = 1024;
+ JArray< jbyte > * buffer;
+ jint in;
+ jint out;
+private:
+ JArray< jbyte > * read_buf;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_io_PipedInputStream__
diff --git a/libjava/java/io/PipedOutputStream.h b/libjava/java/io/PipedOutputStream.h
new file mode 100644
index 0000000..79e069e
--- /dev/null
+++ b/libjava/java/io/PipedOutputStream.h
@@ -0,0 +1,31 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_io_PipedOutputStream__
+#define __java_io_PipedOutputStream__
+
+#pragma interface
+
+#include <java/io/OutputStream.h>
+#include <gcj/array.h>
+
+
+class java::io::PipedOutputStream : public ::java::io::OutputStream
+{
+
+public:
+ PipedOutputStream();
+ PipedOutputStream(::java::io::PipedInputStream *);
+ virtual void connect(::java::io::PipedInputStream *);
+ virtual void write(jint);
+ virtual void write(JArray< jbyte > *, jint, jint);
+ virtual void flush();
+ virtual void close();
+public: // actually package-private
+ ::java::io::PipedInputStream * __attribute__((aligned(__alignof__( ::java::io::OutputStream)))) sink;
+ jboolean closed;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_io_PipedOutputStream__
diff --git a/libjava/java/io/PipedReader.h b/libjava/java/io/PipedReader.h
new file mode 100644
index 0000000..1eac2f7
--- /dev/null
+++ b/libjava/java/io/PipedReader.h
@@ -0,0 +1,39 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_io_PipedReader__
+#define __java_io_PipedReader__
+
+#pragma interface
+
+#include <java/io/Reader.h>
+#include <gcj/array.h>
+
+
+class java::io::PipedReader : public ::java::io::Reader
+{
+
+public:
+ PipedReader();
+ PipedReader(::java::io::PipedWriter *);
+ virtual void connect(::java::io::PipedWriter *);
+public: // actually package-private
+ virtual void receive(JArray< jchar > *, jint, jint);
+public:
+ virtual jint read();
+ virtual jint read(JArray< jchar > *, jint, jint);
+ virtual jboolean ready();
+ virtual void close();
+public: // actually package-private
+ ::java::io::PipedWriter * __attribute__((aligned(__alignof__( ::java::io::Reader)))) source;
+ jboolean closed;
+ static const jint PIPE_SIZE = 2048;
+ JArray< jchar > * buffer;
+ jint in;
+ jint out;
+ JArray< jchar > * read_buf;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_io_PipedReader__
diff --git a/libjava/java/io/PipedWriter.h b/libjava/java/io/PipedWriter.h
new file mode 100644
index 0000000..d1aac55
--- /dev/null
+++ b/libjava/java/io/PipedWriter.h
@@ -0,0 +1,32 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_io_PipedWriter__
+#define __java_io_PipedWriter__
+
+#pragma interface
+
+#include <java/io/Writer.h>
+#include <gcj/array.h>
+
+
+class java::io::PipedWriter : public ::java::io::Writer
+{
+
+public:
+ PipedWriter();
+ PipedWriter(::java::io::PipedReader *);
+ virtual void connect(::java::io::PipedReader *);
+ virtual void write(jint);
+ virtual void write(JArray< jchar > *, jint, jint);
+ virtual void flush();
+ virtual void close();
+public: // actually package-private
+ ::java::io::PipedReader * __attribute__((aligned(__alignof__( ::java::io::Writer)))) sink;
+ jboolean closed;
+ JArray< jchar > * read_buf;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_io_PipedWriter__
diff --git a/libjava/java/io/PrintStream.h b/libjava/java/io/PrintStream.h
new file mode 100644
index 0000000..3740fc7
--- /dev/null
+++ b/libjava/java/io/PrintStream.h
@@ -0,0 +1,89 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_io_PrintStream__
+#define __java_io_PrintStream__
+
+#pragma interface
+
+#include <java/io/FilterOutputStream.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace gcj
+ {
+ namespace convert
+ {
+ class UnicodeToBytes;
+ }
+ }
+ }
+}
+
+class java::io::PrintStream : public ::java::io::FilterOutputStream
+{
+
+public:
+ PrintStream(::java::io::OutputStream *);
+ PrintStream(::java::io::OutputStream *, jboolean);
+ PrintStream(::java::io::OutputStream *, jboolean, ::java::lang::String *);
+ virtual jboolean checkError();
+public: // actually protected
+ virtual void setError();
+public:
+ virtual void close();
+ virtual void flush();
+private:
+ void print(::java::lang::String *, jboolean);
+ void print(JArray< jchar > *, jint, jint, jboolean);
+ void writeChars(JArray< jchar > *, jint, jint);
+ void writeChars(::java::lang::String *, jint, jint);
+public:
+ virtual void print(jboolean);
+ virtual void print(jint);
+ virtual void print(jlong);
+ virtual void print(jfloat);
+ virtual void print(jdouble);
+ virtual void print(::java::lang::Object *);
+ virtual void print(::java::lang::String *);
+ virtual void print(jchar);
+ virtual void print(JArray< jchar > *);
+ virtual void println();
+ virtual void println(jboolean);
+ virtual void println(jint);
+ virtual void println(jlong);
+ virtual void println(jfloat);
+ virtual void println(jdouble);
+ virtual void println(::java::lang::Object *);
+ virtual void println(::java::lang::String *);
+ virtual void println(jchar);
+ virtual void println(JArray< jchar > *);
+ virtual void write(jint);
+ virtual void write(JArray< jbyte > *, jint, jint);
+ virtual ::java::io::PrintStream * target$append(jchar);
+ virtual ::java::io::PrintStream * target$append(::java::lang::CharSequence *);
+ virtual ::java::io::PrintStream * target$append(::java::lang::CharSequence *, jint, jint);
+ virtual ::java::io::PrintStream * printf(::java::lang::String *, JArray< ::java::lang::Object * > *);
+ virtual ::java::io::PrintStream * printf(::java::util::Locale *, ::java::lang::String *, JArray< ::java::lang::Object * > *);
+ virtual ::java::io::PrintStream * format(::java::lang::String *, JArray< ::java::lang::Object * > *);
+ virtual ::java::io::PrintStream * format(::java::util::Locale *, ::java::lang::String *, JArray< ::java::lang::Object * > *);
+ virtual ::java::lang::Appendable * append(::java::lang::CharSequence *, jint, jint);
+ virtual ::java::lang::Appendable * append(::java::lang::CharSequence *);
+ virtual ::java::lang::Appendable * append(jchar);
+private:
+ static JArray< jchar > * line_separator;
+public: // actually package-private
+ ::gnu::gcj::convert::UnicodeToBytes * __attribute__((aligned(__alignof__( ::java::io::FilterOutputStream)))) converter;
+ JArray< jchar > * work;
+ JArray< jbyte > * work_bytes;
+private:
+ jboolean error_occurred;
+ jboolean auto_flush;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_io_PrintStream__
diff --git a/libjava/java/io/PrintStream.java b/libjava/java/io/PrintStream.java
index dc26eda..d3f386d 100644
--- a/libjava/java/io/PrintStream.java
+++ b/libjava/java/io/PrintStream.java
@@ -38,6 +38,9 @@ exception statement from your version. */
package java.io;
+import java.util.Formatter;
+import java.util.Locale;
+
import gnu.gcj.convert.UnicodeToBytes;
/* Written using "Java Class Libraries", 2nd edition, ISBN 0-201-31002-3
@@ -58,7 +61,7 @@ import gnu.gcj.convert.UnicodeToBytes;
* @author Aaron M. Renn (arenn@urbanophile.com)
* @author Tom Tromey (tromey@cygnus.com)
*/
-public class PrintStream extends FilterOutputStream
+public class PrintStream extends FilterOutputStream implements Appendable
{
/* Notice the implementation is quite similar to OutputStreamWriter.
* This leads to some minor duplication, because neither inherits
@@ -562,5 +565,52 @@ public class PrintStream extends FilterOutputStream
setError ();
}
}
+
+ /** @since 1.5 */
+ public PrintStream append(char c)
+ {
+ print(c);
+ return this;
+ }
+
+ /** @since 1.5 */
+ public PrintStream append(CharSequence cs)
+ {
+ print(cs == null ? "null" : cs.toString());
+ return this;
+ }
+
+ /** @since 1.5 */
+ public PrintStream append(CharSequence cs, int start, int end)
+ {
+ print(cs == null ? "null" : cs.subSequence(start, end).toString());
+ return this;
+ }
+
+ /** @since 1.5 */
+ public PrintStream printf(String format, Object... args)
+ {
+ return format(format, args);
+ }
+
+ /** @since 1.5 */
+ public PrintStream printf(Locale locale, String format, Object... args)
+ {
+ return format(locale, format, args);
+ }
+
+ /** @since 1.5 */
+ public PrintStream format(String format, Object... args)
+ {
+ return format(Locale.getDefault(), format, args);
+ }
+
+ /** @since 1.5 */
+ public PrintStream format(Locale locale, String format, Object... args)
+ {
+ Formatter f = new Formatter(this, locale);
+ f.format(format, args);
+ return this;
+ }
} // class PrintStream
diff --git a/libjava/java/io/PrintWriter.h b/libjava/java/io/PrintWriter.h
new file mode 100644
index 0000000..2cbbd04
--- /dev/null
+++ b/libjava/java/io/PrintWriter.h
@@ -0,0 +1,80 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_io_PrintWriter__
+#define __java_io_PrintWriter__
+
+#pragma interface
+
+#include <java/io/Writer.h>
+#include <gcj/array.h>
+
+
+class java::io::PrintWriter : public ::java::io::Writer
+{
+
+public:
+ PrintWriter(::java::io::Writer *);
+ PrintWriter(::java::io::Writer *, jboolean);
+ PrintWriter(::java::io::OutputStream *);
+ PrintWriter(::java::io::OutputStream *, jboolean);
+ PrintWriter(::java::lang::String *);
+ PrintWriter(::java::lang::String *, ::java::lang::String *);
+ PrintWriter(::java::io::File *);
+ PrintWriter(::java::io::File *, ::java::lang::String *);
+public: // actually protected
+ virtual void setError();
+public:
+ virtual jboolean checkError();
+ virtual void flush();
+ virtual void close();
+ virtual void print(::java::lang::String *);
+ virtual void print(jchar);
+ virtual void print(JArray< jchar > *);
+ virtual void print(jboolean);
+ virtual void print(jint);
+ virtual void print(jlong);
+ virtual void print(jfloat);
+ virtual void print(jdouble);
+ virtual void print(::java::lang::Object *);
+ virtual void println();
+ virtual void println(jboolean);
+ virtual void println(jint);
+ virtual void println(jlong);
+ virtual void println(jfloat);
+ virtual void println(jdouble);
+ virtual void println(::java::lang::Object *);
+ virtual void println(::java::lang::String *);
+ virtual void println(jchar);
+ virtual void println(JArray< jchar > *);
+ virtual void write(jint);
+ virtual void write(JArray< jchar > *, jint, jint);
+ virtual void write(::java::lang::String *, jint, jint);
+ virtual void write(JArray< jchar > *);
+ virtual void write(::java::lang::String *);
+ virtual ::java::io::PrintWriter * target$append(jchar);
+ virtual ::java::io::PrintWriter * target$append(::java::lang::CharSequence *);
+ virtual ::java::io::PrintWriter * target$append(::java::lang::CharSequence *, jint, jint);
+ virtual ::java::io::PrintWriter * printf(::java::lang::String *, JArray< ::java::lang::Object * > *);
+ virtual ::java::io::PrintWriter * printf(::java::util::Locale *, ::java::lang::String *, JArray< ::java::lang::Object * > *);
+ virtual ::java::io::PrintWriter * format(::java::lang::String *, JArray< ::java::lang::Object * > *);
+ virtual ::java::io::PrintWriter * format(::java::util::Locale *, ::java::lang::String *, JArray< ::java::lang::Object * > *);
+ virtual ::java::lang::Appendable * append(::java::lang::CharSequence *, jint, jint);
+ virtual ::java::io::Writer * target$append(::java::lang::CharSequence *, jint, jint);
+ virtual ::java::lang::Appendable * append(::java::lang::CharSequence *);
+ virtual ::java::io::Writer * target$append(::java::lang::CharSequence *);
+ virtual ::java::lang::Appendable * append(jchar);
+ virtual ::java::io::Writer * target$append(jchar);
+private:
+ jboolean __attribute__((aligned(__alignof__( ::java::io::Writer)))) autoflush;
+ jboolean error;
+ jboolean closed;
+public: // actually protected
+ ::java::io::Writer * out;
+private:
+ static JArray< jchar > * line_separator;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_io_PrintWriter__
diff --git a/libjava/java/io/PushbackInputStream.h b/libjava/java/io/PushbackInputStream.h
new file mode 100644
index 0000000..032bfce
--- /dev/null
+++ b/libjava/java/io/PushbackInputStream.h
@@ -0,0 +1,38 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_io_PushbackInputStream__
+#define __java_io_PushbackInputStream__
+
+#pragma interface
+
+#include <java/io/FilterInputStream.h>
+#include <gcj/array.h>
+
+
+class java::io::PushbackInputStream : public ::java::io::FilterInputStream
+{
+
+public:
+ PushbackInputStream(::java::io::InputStream *);
+ PushbackInputStream(::java::io::InputStream *, jint);
+ virtual jint available();
+ virtual void close();
+ virtual jboolean markSupported();
+ virtual void reset();
+ virtual jint read();
+ virtual jint read(JArray< jbyte > *, jint, jint);
+ virtual void unread(jint);
+ virtual void unread(JArray< jbyte > *);
+ virtual void unread(JArray< jbyte > *, jint, jint);
+ virtual jlong skip(jlong);
+private:
+ static const jint DEFAULT_BUFFER_SIZE = 1;
+public: // actually protected
+ JArray< jbyte > * __attribute__((aligned(__alignof__( ::java::io::FilterInputStream)))) buf;
+ jint pos;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_io_PushbackInputStream__
diff --git a/libjava/java/io/PushbackReader.h b/libjava/java/io/PushbackReader.h
new file mode 100644
index 0000000..8d1c2ee
--- /dev/null
+++ b/libjava/java/io/PushbackReader.h
@@ -0,0 +1,38 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_io_PushbackReader__
+#define __java_io_PushbackReader__
+
+#pragma interface
+
+#include <java/io/FilterReader.h>
+#include <gcj/array.h>
+
+
+class java::io::PushbackReader : public ::java::io::FilterReader
+{
+
+public:
+ PushbackReader(::java::io::Reader *);
+ PushbackReader(::java::io::Reader *, jint);
+ virtual void close();
+ virtual void mark(jint);
+ virtual jboolean markSupported();
+ virtual void reset();
+ virtual jboolean ready();
+ virtual jlong skip(jlong);
+ virtual jint read();
+ virtual jint read(JArray< jchar > *, jint, jint);
+ virtual void unread(jint);
+ virtual void unread(JArray< jchar > *);
+ virtual void unread(JArray< jchar > *, jint, jint);
+private:
+ static const jint DEFAULT_BUFFER_SIZE = 1;
+ JArray< jchar > * __attribute__((aligned(__alignof__( ::java::io::FilterReader)))) buf;
+ jint pos;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_io_PushbackReader__
diff --git a/libjava/java/io/RandomAccessFile.h b/libjava/java/io/RandomAccessFile.h
new file mode 100644
index 0000000..6b6076d
--- /dev/null
+++ b/libjava/java/io/RandomAccessFile.h
@@ -0,0 +1,93 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_io_RandomAccessFile__
+#define __java_io_RandomAccessFile__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace nio
+ {
+ namespace channels
+ {
+ class FileChannelImpl;
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace nio
+ {
+ namespace channels
+ {
+ class FileChannel;
+ }
+ }
+ }
+}
+
+class java::io::RandomAccessFile : public ::java::lang::Object
+{
+
+public:
+ RandomAccessFile(::java::io::File *, ::java::lang::String *);
+ RandomAccessFile(::java::lang::String *, ::java::lang::String *);
+ virtual void close();
+ virtual ::java::io::FileDescriptor * getFD();
+ virtual jlong getFilePointer();
+ virtual void setLength(jlong);
+ virtual jlong length();
+ virtual jint read();
+ virtual jint read(JArray< jbyte > *);
+ virtual jint read(JArray< jbyte > *, jint, jint);
+ virtual jboolean readBoolean();
+ virtual jbyte readByte();
+ virtual jchar readChar();
+ virtual jdouble readDouble();
+ virtual jfloat readFloat();
+ virtual void readFully(JArray< jbyte > *);
+ virtual void readFully(JArray< jbyte > *, jint, jint);
+ virtual jint readInt();
+ virtual ::java::lang::String * readLine();
+ virtual jlong readLong();
+ virtual jshort readShort();
+ virtual jint readUnsignedByte();
+ virtual jint readUnsignedShort();
+ virtual ::java::lang::String * readUTF();
+ virtual void seek(jlong);
+ virtual jint skipBytes(jint);
+ virtual void write(jint);
+ virtual void write(JArray< jbyte > *);
+ virtual void write(JArray< jbyte > *, jint, jint);
+ virtual void writeBoolean(jboolean);
+ virtual void writeByte(jint);
+ virtual void writeShort(jint);
+ virtual void writeChar(jint);
+ virtual void writeInt(jint);
+ virtual void writeLong(jlong);
+ virtual void writeFloat(jfloat);
+ virtual void writeDouble(jdouble);
+ virtual void writeBytes(::java::lang::String *);
+ virtual void writeChars(::java::lang::String *);
+ virtual void writeUTF(::java::lang::String *);
+ virtual ::java::nio::channels::FileChannel * getChannel();
+private:
+ ::gnu::java::nio::channels::FileChannelImpl * __attribute__((aligned(__alignof__( ::java::lang::Object)))) ch;
+ ::java::io::FileDescriptor * fd;
+ ::java::io::DataOutputStream * out;
+ ::java::io::DataInputStream * in;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_io_RandomAccessFile__
diff --git a/libjava/java/io/RandomAccessFile.java b/libjava/java/io/RandomAccessFile.java
new file mode 100644
index 0000000..d719a1e
--- /dev/null
+++ b/libjava/java/io/RandomAccessFile.java
@@ -0,0 +1,1036 @@
+/* RandomAccessFile.java -- Class supporting random file I/O
+ Copyright (C) 1998, 1999, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
+
+This file is part of GNU Classpath.
+
+GNU Classpath is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+
+GNU Classpath is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU Classpath; see the file COPYING. If not, write to the
+Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+02110-1301 USA.
+
+Linking this library statically or dynamically with other modules is
+making a combined work based on this library. Thus, the terms and
+conditions of the GNU General Public License cover the whole
+combination.
+
+As a special exception, the copyright holders of this library give you
+permission to link this library with independent modules to produce an
+executable, regardless of the license terms of these independent
+modules, and to copy and distribute the resulting executable under
+terms of your choice, provided that you also meet, for each linked
+independent module, the terms and conditions of the license of that
+module. An independent module is a module which is not derived from
+or based on this library. If you modify this library, you may extend
+this exception to your version of the library, but you are not
+obligated to do so. If you do not wish to do so, delete this
+exception statement from your version. */
+
+
+package java.io;
+
+import gnu.java.nio.channels.FileChannelImpl;
+
+import java.nio.channels.FileChannel;
+
+/* Written using "Java Class Libraries", 2nd edition, ISBN 0-201-31002-3
+ * "The Java Language Specification", ISBN 0-201-63451-1
+ * Status: Believe complete and correct to 1.1.
+ */
+
+/**
+ * This class allows reading and writing of files at random locations.
+ * Most Java I/O classes are either pure sequential input or output. This
+ * class fulfills the need to be able to read the bytes of a file in an
+ * arbitrary order. In addition, this class implements the
+ * <code>DataInput</code> and <code>DataOutput</code> interfaces to allow
+ * the reading and writing of Java primitives.
+ *
+ * @author Aaron M. Renn (arenn@urbanophile.com)
+ * @author Tom Tromey (tromey@cygnus.com)
+ */
+public class RandomAccessFile implements DataOutput, DataInput, Closeable
+{
+
+ // The underlying file.
+ private FileChannelImpl ch;
+ private FileDescriptor fd;
+ // The corresponding input and output streams.
+ private DataOutputStream out;
+ private DataInputStream in;
+
+
+ /**
+ * This method initializes a new instance of <code>RandomAccessFile</code>
+ * to read from the specified <code>File</code> object with the specified
+ * access mode. The access mode is either "r" for read only access or "rw"
+ * for read-write access.
+ * <p>
+ * Note that a <code>SecurityManager</code> check is made prior to
+ * opening the file to determine whether or not this file is allowed to
+ * be read or written.
+ *
+ * @param file The <code>File</code> object to read and/or write.
+ * @param mode "r" for read only or "rw" for read-write access to the file
+ *
+ * @exception IllegalArgumentException If <code>mode</code> has an
+ * illegal value
+ * @exception SecurityException If the requested access to the file
+ * is not allowed
+ * @exception FileNotFoundException If the file is a directory, or
+ * any other error occurs
+ */
+ public RandomAccessFile (File file, String mode)
+ throws FileNotFoundException
+ {
+ int fdmode;
+ if (mode.equals("r"))
+ fdmode = FileChannelImpl.READ;
+ else if (mode.equals("rw"))
+ fdmode = FileChannelImpl.READ | FileChannelImpl.WRITE;
+ else if (mode.equals("rws"))
+ {
+ fdmode = (FileChannelImpl.READ | FileChannelImpl.WRITE
+ | FileChannelImpl.SYNC);
+ }
+ else if (mode.equals("rwd"))
+ {
+ fdmode = (FileChannelImpl.READ | FileChannelImpl.WRITE
+ | FileChannelImpl.DSYNC);
+ }
+ else
+ throw new IllegalArgumentException ("invalid mode: " + mode);
+
+ final String fileName = file.getPath();
+
+ // The obligatory SecurityManager stuff
+ SecurityManager s = System.getSecurityManager();
+ if (s != null)
+ {
+ s.checkRead(fileName);
+
+ if ((fdmode & FileChannelImpl.WRITE) != 0)
+ s.checkWrite(fileName);
+ }
+
+ ch = FileChannelImpl.create(file, fdmode);
+ fd = new FileDescriptor(ch);
+ if ((fdmode & FileChannelImpl.WRITE) != 0)
+ out = new DataOutputStream (new FileOutputStream (fd));
+ else
+ out = null;
+ in = new DataInputStream (new FileInputStream (fd));
+ }
+
+ /**
+ * This method initializes a new instance of <code>RandomAccessFile</code>
+ * to read from the specified file name with the specified access mode.
+ * The access mode is either "r" for read only access, "rw" for read
+ * write access, "rws" for synchronized read/write access of both
+ * content and metadata, or "rwd" for read/write access
+ * where only content is required to be synchronous.
+ * <p>
+ * Note that a <code>SecurityManager</code> check is made prior to
+ * opening the file to determine whether or not this file is allowed to
+ * be read or written.
+ *
+ * @param fileName The name of the file to read and/or write
+ * @param mode "r", "rw", "rws", or "rwd"
+ *
+ * @exception IllegalArgumentException If <code>mode</code> has an
+ * illegal value
+ * @exception SecurityException If the requested access to the file
+ * is not allowed
+ * @exception FileNotFoundException If the file is a directory or
+ * any other error occurs
+ */
+ public RandomAccessFile (String fileName, String mode)
+ throws FileNotFoundException
+ {
+ this (new File(fileName), mode);
+ }
+
+ /**
+ * This method closes the file and frees up all file related system
+ * resources. Since most operating systems put a limit on how many files
+ * may be opened at any given time, it is a good idea to close all files
+ * when no longer needed to avoid hitting this limit
+ */
+ public void close () throws IOException
+ {
+ ch.close();
+ }
+
+ /**
+ * This method returns a <code>FileDescriptor</code> object that
+ * represents the native file handle for this file.
+ *
+ * @return The <code>FileDescriptor</code> object for this file
+ *
+ * @exception IOException If an error occurs
+ */
+ public final FileDescriptor getFD () throws IOException
+ {
+ synchronized (this)
+ {
+ if (fd == null)
+ fd = new FileDescriptor (ch);
+ return fd;
+ }
+ }
+
+ /**
+ * This method returns the current offset in the file at which the next
+ * read or write will occur
+ *
+ * @return The current file position
+ *
+ * @exception IOException If an error occurs
+ */
+ public long getFilePointer () throws IOException
+ {
+ return ch.position();
+ }
+
+ /**
+ * This method sets the length of the file to the specified length.
+ * If the currently length of the file is longer than the specified
+ * length, then the file is truncated to the specified length (the
+ * file position is set to the end of file in this case). If the
+ * current length of the file is shorter than the specified length,
+ * the file is extended with bytes of an undefined value (the file
+ * position is unchanged in this case).
+ * <p>
+ * The file must be open for write access for this operation to succeed.
+ *
+ * @param newLen The new length of the file
+ *
+ * @exception IOException If an error occurs
+ */
+ public void setLength (long newLen) throws IOException
+ {
+ // FIXME: Extending a file should probably be done by one method call.
+
+ // FileChannel.truncate() can only shrink a file.
+ // To expand it we need to seek forward and write at least one byte.
+ if (newLen < length())
+ ch.truncate (newLen);
+ else if (newLen > length())
+ {
+ long pos = getFilePointer();
+ seek(newLen - 1);
+ write(0);
+ seek(pos);
+ }
+ }
+
+ /**
+ * This method returns the length of the file in bytes
+ *
+ * @return The length of the file
+ *
+ * @exception IOException If an error occurs
+ */
+ public long length () throws IOException
+ {
+ return ch.size();
+ }
+
+ /**
+ * This method reads a single byte of data from the file and returns it
+ * as an integer.
+ *
+ * @return The byte read as an int, or -1 if the end of the file was reached.
+ *
+ * @exception IOException If an error occurs
+ */
+ public int read () throws IOException
+ {
+ return in.read();
+ }
+
+ /**
+ * This method reads bytes from the file into the specified array. The
+ * bytes are stored starting at the beginning of the array and up to
+ * <code>buf.length</code> bytes can be read.
+ *
+ * @param buffer The buffer to read bytes from the file into
+ *
+ * @return The actual number of bytes read or -1 if end of file
+ *
+ * @exception IOException If an error occurs
+ */
+ public int read (byte[] buffer) throws IOException
+ {
+ return in.read (buffer);
+ }
+
+ /**
+ * This methods reads up to <code>len</code> bytes from the file into the
+ * specified array starting at position <code>offset</code> into the array.
+ *
+ * @param buffer The array to read the bytes into
+ * @param offset The index into the array to start storing bytes
+ * @param len The requested number of bytes to read
+ *
+ * @return The actual number of bytes read, or -1 if end of file
+ *
+ * @exception IOException If an error occurs
+ */
+ public int read (byte[] buffer, int offset, int len) throws IOException
+ {
+ return in.read (buffer, offset, len);
+ }
+
+ /**
+ * This method reads a Java boolean value from an input stream. It does
+ * so by reading a single byte of data. If that byte is zero, then the
+ * value returned is <code>false</code> If the byte is non-zero, then
+ * the value returned is <code>true</code>
+ * <p>
+ * This method can read a <code>boolean</code> written by an object
+ * implementing the
+ * <code>writeBoolean()</code> method in the <code>DataOutput</code>
+ * interface.
+ *
+ * @return The <code>boolean</code> value read
+ *
+ * @exception EOFException If end of file is reached before reading the
+ * boolean
+ * @exception IOException If any other error occurs
+ */
+ public final boolean readBoolean () throws IOException
+ {
+ return in.readBoolean ();
+ }
+
+ /**
+ * This method reads a Java byte value from an input stream. The value
+ * is in the range of -128 to 127.
+ * <p>
+ * This method can read a <code>byte</code> written by an object
+ * implementing the
+ * <code>writeByte()</code> method in the <code>DataOutput</code> interface.
+ *
+ * @return The <code>byte</code> value read
+ *
+ * @exception EOFException If end of file is reached before reading the byte
+ * @exception IOException If any other error occurs
+ *
+ * @see DataOutput
+ */
+ public final byte readByte () throws IOException
+ {
+ return in.readByte ();
+ }
+
+ /**
+ * This method reads a Java <code>char</code> value from an input stream.
+ * It operates by reading two bytes from the stream and converting them to
+ * a single 16-bit Java <code>char</code> The two bytes are stored most
+ * significant byte first (i.e., "big endian") regardless of the native
+ * host byte ordering.
+ * <p>
+ * As an example, if <code>byte1</code> and <code>byte2</code> represent
+ * the first
+ * and second byte read from the stream respectively, they will be
+ * transformed to a <code>char</code> in the following manner:
+ * <p>
+ * <code>(char)(((byte1 &amp; 0xFF) &lt;&lt; 8) | (byte2 &amp; 0xFF)</code>
+ * <p>
+ * This method can read a <code>char</code> written by an object
+ * implementing the
+ * <code>writeChar()</code> method in the <code>DataOutput</code> interface.
+ *
+ * @return The <code>char</code> value read
+ *
+ * @exception EOFException If end of file is reached before reading the char
+ * @exception IOException If any other error occurs
+ *
+ * @see DataOutput
+ */
+ public final char readChar () throws IOException
+ {
+ return in.readChar();
+ }
+
+ /**
+ * This method reads a Java double value from an input stream. It operates
+ * by first reading a <code>logn</code> value from the stream by calling the
+ * <code>readLong()</code> method in this interface, then
+ * converts that <code>long</code>
+ * to a <code>double</code> using the <code>longBitsToDouble</code>
+ * method in the class <code>java.lang.Double</code>
+ * <p>
+ * This method can read a <code>double</code> written by an object
+ * implementing the
+ * <code>writeDouble()</code> method in the <code>DataOutput</code>
+ * interface.
+ *
+ * @return The <code>double</code> value read
+ *
+ * @exception EOFException If end of file is reached before reading
+ * the double
+ * @exception IOException If any other error occurs
+ *
+ * @see java.lang.Double
+ * @see DataOutput
+ */
+ public final double readDouble () throws IOException
+ {
+ return in.readDouble ();
+ }
+
+ /**
+ * This method reads a Java float value from an input stream. It operates
+ * by first reading an <code>int</code> value from the stream by calling the
+ * <code>readInt()</code> method in this interface, then converts
+ * that <code>int</code>
+ * to a <code>float</code> using the <code>intBitsToFloat</code> method in
+ * the class <code>java.lang.Float</code>
+ * <p>
+ * This method can read a <code>float</code> written by an object
+ * implementing the
+ * <code>writeFloat()</code> method in the <code>DataOutput</code> interface.
+ *
+ * @return The <code>float</code> value read
+ *
+ * @exception EOFException If end of file is reached before reading the float
+ * @exception IOException If any other error occurs
+ *
+ * @see java.lang.Float
+ * @see DataOutput
+ */
+ public final float readFloat () throws IOException
+ {
+ return in.readFloat();
+ }
+
+ /**
+ * This method reads raw bytes into the passed array until the array is
+ * full. Note that this method blocks until the data is available and
+ * throws an exception if there is not enough data left in the stream to
+ * fill the buffer
+ *
+ * @param buffer The buffer into which to read the data
+ *
+ * @exception EOFException If end of file is reached before filling the
+ * buffer
+ * @exception IOException If any other error occurs
+ */
+ public final void readFully (byte[] buffer) throws IOException
+ {
+ in.readFully(buffer);
+ }
+
+ /**
+ * This method reads raw bytes into the passed array <code>buf</code>
+ * starting
+ * <code>offset</code> bytes into the buffer. The number of bytes read
+ * will be
+ * exactly <code>len</code> Note that this method blocks until the data is
+ * available and throws an exception if there is not enough data left in
+ * the stream to read <code>len</code> bytes.
+ *
+ * @param buffer The buffer into which to read the data
+ * @param offset The offset into the buffer to start storing data
+ * @param count The number of bytes to read into the buffer
+ *
+ * @exception EOFException If end of file is reached before filling
+ * the buffer
+ * @exception IOException If any other error occurs
+ */
+ public final void readFully (byte[] buffer, int offset, int count)
+ throws IOException
+ {
+ in.readFully (buffer, offset, count);
+ }
+
+ /**
+ * This method reads a Java <code>int</code> value from an input stream
+ * It operates by reading four bytes from the stream and converting them to
+ * a single Java <code>int</code> The bytes are stored most
+ * significant byte first (i.e., "big endian") regardless of the native
+ * host byte ordering.
+ * <p>
+ * As an example, if <code>byte1</code> through <code>byte4</code>
+ * represent the first
+ * four bytes read from the stream, they will be
+ * transformed to an <code>int</code> in the following manner:
+ * <p>
+ * <code>(int)(((byte1 &amp; 0xFF) &lt;&lt; 24) + ((byte2 &amp; 0xFF) &lt;&lt; 16) +
+ * ((byte3 &amp; 0xFF) &lt;&lt; 8) + (byte4 &amp; 0xFF)))</code>
+ * <p>
+ * The value returned is in the range of 0 to 65535.
+ * <p>
+ * This method can read an <code>int</code> written by an object
+ * implementing the
+ * <code>writeInt()</code> method in the <code>DataOutput</code> interface.
+ *
+ * @return The <code>int</code> value read
+ *
+ * @exception EOFException If end of file is reached before reading the int
+ * @exception IOException If any other error occurs
+ *
+ * @see DataOutput
+ */
+ public final int readInt () throws IOException
+ {
+ return in.readInt();
+ }
+
+ /**
+ * This method reads the next line of text data from an input stream.
+ * It operates by reading bytes and converting those bytes to
+ * <code>char</code>
+ * values by treating the byte read as the low eight bits of the
+ * <code>char</code>
+ * and using <code>0</code> as the high eight bits. Because of this, it does
+ * not support the full 16-bit Unicode character set.
+ * <p>
+ * The reading of bytes ends when either the end of file or a line terminator
+ * is encountered. The bytes read are then returned as a <code>String</code>
+ * A line terminator is a byte sequence consisting of either
+ * <code>\r</code> <code>\n</code> or <code>\r\n</code> These
+ * termination charaters are
+ * discarded and are not returned as part of the string.
+ * <p>
+ * This method can read data that was written by an object implementing the
+ * <code>writeLine()</code> method in <code>DataOutput</code>
+ *
+ * @return The line read as a <code>String</code>
+ *
+ * @exception IOException If an error occurs
+ *
+ * @see DataOutput
+ */
+ public final String readLine () throws IOException
+ {
+ return in.readLine ();
+ }
+
+ /**
+ * This method reads a Java long value from an input stream
+ * It operates by reading eight bytes from the stream and converting them to
+ * a single Java <code>long</code> The bytes are stored most
+ * significant byte first (i.e., "big endian") regardless of the native
+ * host byte ordering.
+ * <p>
+ * As an example, if <code>byte1</code> through <code>byte8</code>
+ * represent the first
+ * eight bytes read from the stream, they will be
+ * transformed to an <code>long</code> in the following manner:
+ * <p>
+ * <code>
+ * (long)((((long)byte1 &amp; 0xFF) &lt;&lt; 56) + (((long)byte2 &amp; 0xFF) &lt;&lt; 48) +
+ * (((long)byte3 &amp; 0xFF) &lt;&lt; 40) + (((long)byte4 &amp; 0xFF) &lt;&lt; 32) +
+ * (((long)byte5 &amp; 0xFF) &lt;&lt; 24) + (((long)byte6 &amp; 0xFF) &lt;&lt; 16) +
+ * (((long)byte7 &amp; 0xFF) &lt;&lt; 8) + ((long)byte9 &amp; 0xFF)))</code>
+ * <p>
+ * The value returned is in the range of 0 to 65535.
+ * <p>
+ * This method can read an <code>long</code> written by an object
+ * implementing the
+ * <code>writeLong()</code> method in the <code>DataOutput</code> interface.
+ *
+ * @return The <code>long</code> value read
+ *
+ * @exception EOFException If end of file is reached before reading the long
+ * @exception IOException If any other error occurs
+ *
+ * @see DataOutput
+ */
+ public final long readLong () throws IOException
+ {
+ return in.readLong();
+ }
+
+ /**
+ * This method reads a signed 16-bit value into a Java in from the stream.
+ * It operates by reading two bytes from the stream and converting them to
+ * a single 16-bit Java <code>short</code> The two bytes are stored most
+ * significant byte first (i.e., "big endian") regardless of the native
+ * host byte ordering.
+ * <p>
+ * As an example, if <code>byte1</code> and <code>byte2</code>
+ * represent the first
+ * and second byte read from the stream respectively, they will be
+ * transformed to a <code>short</code> in the following manner:
+ * <p>
+ * <code>(short)(((byte1 &amp; 0xFF) &lt;&lt; 8) | (byte2 &amp; 0xFF)</code>
+ * <p>
+ * The value returned is in the range of -32768 to 32767.
+ * <p>
+ * This method can read a <code>short</code> written by an object
+ * implementing the
+ * <code>writeShort()</code> method in the <code>DataOutput</code> interface.
+ *
+ * @return The <code>short</code> value read
+ *
+ * @exception EOFException If end of file is reached before reading the value
+ * @exception IOException If any other error occurs
+ *
+ * @see DataOutput
+ */
+ public final short readShort () throws IOException
+ {
+ return in.readShort();
+ }
+
+ /**
+ * This method reads 8 unsigned bits into a Java <code>int</code> value
+ * from the
+ * stream. The value returned is in the range of 0 to 255.
+ * <p>
+ * This method can read an unsigned byte written by an object implementing
+ * the <code>writeUnsignedByte()</code> method in the
+ * <code>DataOutput</code> interface.
+ *
+ * @return The unsigned bytes value read as a Java <code>int</code>
+ *
+ * @exception EOFException If end of file is reached before reading the value
+ * @exception IOException If any other error occurs
+ *
+ * @see DataOutput
+ */
+ public final int readUnsignedByte () throws IOException
+ {
+ return in.readUnsignedByte();
+ }
+
+ /**
+ * This method reads 16 unsigned bits into a Java int value from the stream.
+ * It operates by reading two bytes from the stream and converting them to
+ * a single Java <code>int</code> The two bytes are stored most
+ * significant byte first (i.e., "big endian") regardless of the native
+ * host byte ordering.
+ * <p>
+ * As an example, if <code>byte1</code> and <code>byte2</code>
+ * represent the first
+ * and second byte read from the stream respectively, they will be
+ * transformed to an <code>int</code> in the following manner:
+ * <p>
+ * <code>(int)(((byte1 &amp; 0xFF) &lt;&lt; 8) + (byte2 &amp; 0xFF))</code>
+ * <p>
+ * The value returned is in the range of 0 to 65535.
+ * <p>
+ * This method can read an unsigned short written by an object implementing
+ * the <code>writeUnsignedShort()</code> method in the
+ * <code>DataOutput</code> interface.
+ *
+ * @return The unsigned short value read as a Java <code>int</code>
+ *
+ * @exception EOFException If end of file is reached before reading the value
+ * @exception IOException If any other error occurs
+ */
+ public final int readUnsignedShort () throws IOException
+ {
+ return in.readUnsignedShort();
+ }
+
+ /**
+ * This method reads a <code>String</code> from an input stream that
+ * is encoded in
+ * a modified UTF-8 format. This format has a leading two byte sequence
+ * that contains the remaining number of bytes to read. This two byte
+ * sequence is read using the <code>readUnsignedShort()</code> method of this
+ * interface.
+ * <p>
+ * After the number of remaining bytes have been determined, these bytes
+ * are read an transformed into <code>char</code> values.
+ * These <code>char</code> values
+ * are encoded in the stream using either a one, two, or three byte format.
+ * The particular format in use can be determined by examining the first
+ * byte read.
+ * <p>
+ * If the first byte has a high order bit of 0 then
+ * that character consists on only one byte. This character value consists
+ * of seven bits that are at positions 0 through 6 of the byte. As an
+ * example, if <code>byte1</code> is the byte read from the stream, it would
+ * be converted to a <code>char</code> like so:
+ * <p>
+ * <code>(char)byte1</code>
+ * <p>
+ * If the first byte has <code>110</code> as its high order bits, then the
+ * character consists of two bytes. The bits that make up the character
+ * value are in positions 0 through 4 of the first byte and bit positions
+ * 0 through 5 of the second byte. (The second byte should have
+ * 10 as its high order bits). These values are in most significant
+ * byte first (i.e., "big endian") order.
+ * <p>
+ * As an example, if <code>byte1</code> and <code>byte2</code>
+ * are the first two bytes
+ * read respectively, and the high order bits of them match the patterns
+ * which indicate a two byte character encoding, then they would be
+ * converted to a Java <code>char</code> like so:
+ * <p>
+ * <code>(char)(((byte1 & 0x1F) << 6) | (byte2 & 0x3F))</code>
+ * <p>
+ * If the first byte has a <code>1110</code> as its high order bits, then the
+ * character consists of three bytes. The bits that make up the character
+ * value are in positions 0 through 3 of the first byte and bit positions
+ * 0 through 5 of the other two bytes. (The second and third bytes should
+ * have <code>10</code> as their high order bits). These values are in most
+ * significant byte first (i.e., "big endian") order.
+ * <p>
+ * As an example, if <code>byte1</code> <code>byte2</code>
+ * and <code>byte3</code> are the
+ * three bytes read, and the high order bits of them match the patterns
+ * which indicate a three byte character encoding, then they would be
+ * converted to a Java <code>char</code> like so:
+ * <p>
+ * <code>(char)(((byte1 & 0x0F) << 12) | ((byte2 & 0x3F) << 6) |
+ * (byte3 & 0x3F))</code>
+ * <p>
+ * Note that all characters are encoded in the method that requires the
+ * fewest number of bytes with the exception of the character with the
+ * value of <code>&#92;u0000</code> which is encoded as two bytes. This is
+ * a modification of the UTF standard used to prevent C language style
+ * <code>NUL</code> values from appearing in the byte stream.
+ * <p>
+ * This method can read data that was written by an object implementing the
+ * <code>writeUTF()</code> method in <code>DataOutput</code>
+ *
+ * @return The <code>String</code> read
+ *
+ * @exception EOFException If end of file is reached before reading the
+ * String
+ * @exception UTFDataFormatException If the data is not in UTF-8 format
+ * @exception IOException If any other error occurs
+ *
+ * @see DataOutput
+ */
+ public final String readUTF () throws IOException
+ {
+ return in.readUTF();
+ }
+
+ /**
+ * This method sets the current file position to the specified offset
+ * from the beginning of the file. Note that some operating systems will
+ * allow the file pointer to be set past the current end of the file.
+ *
+ * @param pos The offset from the beginning of the file at which to set
+ * the file pointer
+ *
+ * @exception IOException If an error occurs
+ */
+ public void seek (long pos) throws IOException
+ {
+ ch.position(pos);
+ }
+
+ /**
+ * This method attempts to skip and discard the specified number of bytes
+ * in the input stream. It may actually skip fewer bytes than requested.
+ * The actual number of bytes skipped is returned. This method will not
+ * skip any bytes if passed a negative number of bytes to skip.
+ *
+ * @param numBytes The requested number of bytes to skip.
+ *
+ * @return The number of bytes actually skipped.
+ *
+ * @exception IOException If an error occurs.
+ */
+ public int skipBytes (int numBytes) throws IOException
+ {
+ if (numBytes < 0)
+ throw new IllegalArgumentException ("Can't skip negative bytes: " +
+ numBytes);
+
+ if (numBytes == 0)
+ return 0;
+
+ long oldPos = ch.position();
+ long newPos = oldPos + numBytes;
+ long size = ch.size();
+ if (newPos > size)
+ newPos = size;
+ ch.position(newPos);
+ return (int) (ch.position() - oldPos);
+ }
+
+ /**
+ * This method writes a single byte of data to the file. The file must
+ * be open for read-write in order for this operation to succeed.
+ *
+ * @param oneByte The byte of data to write, passed as an int.
+ *
+ * @exception IOException If an error occurs
+ */
+ public void write (int oneByte) throws IOException
+ {
+ if (out == null)
+ throw new IOException("Bad file descriptor");
+
+ out.write(oneByte);
+ }
+
+ /**
+ * This method writes all the bytes in the specified array to the file.
+ * The file must be open read-write in order for this operation to succeed.
+ *
+ * @param buffer The array of bytes to write to the file
+ */
+ public void write (byte[] buffer) throws IOException
+ {
+ if (out == null)
+ throw new IOException("Bad file descriptor");
+
+ out.write(buffer);
+ }
+
+ /**
+ * This method writes <code>len</code> bytes to the file from the specified
+ * array starting at index <code>offset</code> into the array.
+ *
+ * @param buffer The array of bytes to write to the file
+ * @param offset The index into the array to start writing file
+ * @param len The number of bytes to write
+ *
+ * @exception IOException If an error occurs
+ */
+ public void write (byte[] buffer, int offset, int len) throws IOException
+ {
+ if (out == null)
+ throw new IOException("Bad file descriptor");
+
+ out.write (buffer, offset, len);
+ }
+
+ /**
+ * This method writes a Java <code>boolean</code> to the underlying output
+ * stream. For a value of <code>true</code>, 1 is written to the stream.
+ * For a value of <code>false</code>, 0 is written.
+ *
+ * @param val The <code>boolean</code> value to write to the stream
+ *
+ * @exception IOException If an error occurs
+ */
+ public final void writeBoolean (boolean val) throws IOException
+ {
+ if (out == null)
+ throw new IOException("Bad file descriptor");
+
+ out.writeBoolean(val);
+ }
+
+ /**
+ * This method writes a Java <code>byte</code> value to the underlying
+ * output stream.
+ *
+ * @param val The <code>byte</code> to write to the stream, passed
+ * as an <code>int</code>.
+ *
+ * @exception IOException If an error occurs
+ */
+ public final void writeByte (int val) throws IOException
+ {
+ if (out == null)
+ throw new IOException("Bad file descriptor");
+
+ out.writeByte(val);
+ }
+
+ /**
+ * This method writes a Java <code>short</code> to the stream, high byte
+ * first. This method requires two bytes to encode the value.
+ *
+ * @param val The <code>short</code> value to write to the stream,
+ * passed as an <code>int</code>.
+ *
+ * @exception IOException If an error occurs
+ */
+ public final void writeShort (int val) throws IOException
+ {
+ if (out == null)
+ throw new IOException("Bad file descriptor");
+
+ out.writeShort(val);
+ }
+
+ /**
+ * This method writes a single <code>char</code> value to the stream,
+ * high byte first.
+ *
+ * @param val The <code>char</code> value to write, passed as
+ * an <code>int</code>.
+ *
+ * @exception IOException If an error occurs
+ */
+ public final void writeChar (int val) throws IOException
+ {
+ if (out == null)
+ throw new IOException("Bad file descriptor");
+
+ out.writeChar(val);
+ }
+
+ /**
+ * This method writes a Java <code>int</code> to the stream, high bytes
+ * first. This method requires four bytes to encode the value.
+ *
+ * @param val The <code>int</code> value to write to the stream.
+ *
+ * @exception IOException If an error occurs
+ */
+ public final void writeInt (int val) throws IOException
+ {
+ if (out == null)
+ throw new IOException("Bad file descriptor");
+
+ out.writeInt(val);
+ }
+
+ /**
+ * This method writes a Java <code>long</code> to the stream, high bytes
+ * first. This method requires eight bytes to encode the value.
+ *
+ * @param val The <code>long</code> value to write to the stream.
+ *
+ * @exception IOException If an error occurs
+ */
+ public final void writeLong (long val) throws IOException
+ {
+ if (out == null)
+ throw new IOException("Bad file descriptor");
+
+ out.writeLong(val);
+ }
+
+ /**
+ * This method writes a Java <code>float</code> value to the stream. This
+ * value is written by first calling the method
+ * <code>Float.floatToIntBits</code>
+ * to retrieve an <code>int</code> representing the floating point number,
+ * then writing this <code>int</code> value to the stream exactly the same
+ * as the <code>writeInt()</code> method does.
+ *
+ * @param val The floating point number to write to the stream.
+ *
+ * @exception IOException If an error occurs
+ *
+ * @see #writeInt(int)
+ */
+ public final void writeFloat (float val) throws IOException
+ {
+ if (out == null)
+ throw new IOException("Bad file descriptor");
+
+ out.writeFloat(val);
+ }
+
+ /**
+ * This method writes a Java <code>double</code> value to the stream. This
+ * value is written by first calling the method
+ * <code>Double.doubleToLongBits</code>
+ * to retrieve an <code>long</code> representing the floating point number,
+ * then writing this <code>long</code> value to the stream exactly the same
+ * as the <code>writeLong()</code> method does.
+ *
+ * @param val The double precision floating point number to write to the
+ * stream.
+ *
+ * @exception IOException If an error occurs
+ *
+ * @see #writeLong(long)
+ */
+ public final void writeDouble (double val) throws IOException
+ {
+ if (out == null)
+ throw new IOException("Bad file descriptor");
+
+ out.writeDouble(val);
+ }
+
+ /**
+ * This method writes all the bytes in a <code>String</code> out to the
+ * stream. One byte is written for each character in the <code>String</code>.
+ * The high eight bits of each character are discarded.
+ *
+ * @param val The <code>String</code> to write to the stream
+ *
+ * @exception IOException If an error occurs
+ */
+ public final void writeBytes (String val) throws IOException
+ {
+ if (out == null)
+ throw new IOException("Bad file descriptor");
+
+ out.writeBytes(val);
+ }
+
+ /**
+ * This method writes all the characters in a <code>String</code> to the
+ * stream. There will be two bytes for each character value. The high
+ * byte of the character will be written first.
+ *
+ * @param val The <code>String</code> to write to the stream.
+ *
+ * @exception IOException If an error occurs
+ */
+ public final void writeChars (String val) throws IOException
+ {
+ if (out == null)
+ throw new IOException("Bad file descriptor");
+
+ out.writeChars(val);
+ }
+
+ /**
+ * This method writes a Java <code>String</code> to the stream in a modified
+ * UTF-8 format. First, two bytes are written to the stream indicating the
+ * number of bytes to follow. Note that this is the number of bytes in the
+ * encoded <code>String</code> not the <code>String</code> length. Next
+ * come the encoded characters. Each character in the <code>String</code>
+ * is encoded as either one, two or three bytes. For characters in the
+ * range of <code>&#92;u0001</code> to <code>&#92;u007F</code>,
+ * one byte is used. The character
+ * value goes into bits 0-7 and bit eight is 0. For characters in the range
+ * of <code>&#92;u0080</code> to <code>&#92;u007FF</code>, two
+ * bytes are used. Bits
+ * 6-10 of the character value are encoded bits 0-4 of the first byte, with
+ * the high bytes having a value of "110". Bits 0-5 of the character value
+ * are stored in bits 0-5 of the second byte, with the high bits set to
+ * "10". This type of encoding is also done for the null character
+ * <code>&#92;u0000</code>. This eliminates any C style NUL character values
+ * in the output. All remaining characters are stored as three bytes.
+ * Bits 12-15 of the character value are stored in bits 0-3 of the first
+ * byte. The high bits of the first bytes are set to "1110". Bits 6-11
+ * of the character value are stored in bits 0-5 of the second byte. The
+ * high bits of the second byte are set to "10". And bits 0-5 of the
+ * character value are stored in bits 0-5 of byte three, with the high bits
+ * of that byte set to "10".
+ *
+ * @param val The <code>String</code> to write to the output in UTF format
+ *
+ * @exception IOException If an error occurs
+ */
+ public final void writeUTF (String val) throws IOException
+ {
+ if (out == null)
+ throw new IOException("Bad file descriptor");
+
+ out.writeUTF(val);
+ }
+
+ /**
+ * This method creates a java.nio.channels.FileChannel.
+ * Nio does not allow one to create a file channel directly.
+ * A file channel must be created by first creating an instance of
+ * Input/Output/RandomAccessFile and invoking the getChannel() method on it.
+ */
+ public final synchronized FileChannel getChannel ()
+ {
+ return ch;
+ }
+}
diff --git a/libjava/java/io/Reader.h b/libjava/java/io/Reader.h
new file mode 100644
index 0000000..678bc91
--- /dev/null
+++ b/libjava/java/io/Reader.h
@@ -0,0 +1,46 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_io_Reader__
+#define __java_io_Reader__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace nio
+ {
+ class CharBuffer;
+ }
+ }
+}
+
+class java::io::Reader : public ::java::lang::Object
+{
+
+public: // actually protected
+ Reader();
+ Reader(::java::lang::Object *);
+public:
+ virtual jint read(JArray< jchar > *, jint, jint) = 0;
+ virtual jint read(JArray< jchar > *);
+ virtual jint read();
+ virtual jint read(::java::nio::CharBuffer *);
+ virtual void close() = 0;
+ virtual jboolean markSupported();
+ virtual void mark(jint);
+ virtual void reset();
+ virtual jboolean ready();
+ virtual jlong skip(jlong);
+public: // actually protected
+ ::java::lang::Object * __attribute__((aligned(__alignof__( ::java::lang::Object)))) lock;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_io_Reader__
diff --git a/libjava/java/io/SequenceInputStream.h b/libjava/java/io/SequenceInputStream.h
new file mode 100644
index 0000000..f5baa7d
--- /dev/null
+++ b/libjava/java/io/SequenceInputStream.h
@@ -0,0 +1,32 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_io_SequenceInputStream__
+#define __java_io_SequenceInputStream__
+
+#pragma interface
+
+#include <java/io/InputStream.h>
+#include <gcj/array.h>
+
+
+class java::io::SequenceInputStream : public ::java::io::InputStream
+{
+
+public:
+ SequenceInputStream(::java::util::Enumeration *);
+ SequenceInputStream(::java::io::InputStream *, ::java::io::InputStream *);
+ virtual jint available();
+ virtual void close();
+ virtual jint read();
+ virtual jint read(JArray< jbyte > *, jint, jint);
+private:
+ ::java::io::InputStream * getNextStream();
+ ::java::io::InputStream * __attribute__((aligned(__alignof__( ::java::io::InputStream)))) in;
+ ::java::io::InputStream * in2;
+ ::java::util::Enumeration * e;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_io_SequenceInputStream__
diff --git a/libjava/java/io/Serializable.h b/libjava/java/io/Serializable.h
new file mode 100644
index 0000000..12c36e5
--- /dev/null
+++ b/libjava/java/io/Serializable.h
@@ -0,0 +1,18 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_io_Serializable__
+#define __java_io_Serializable__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::io::Serializable : public ::java::lang::Object
+{
+
+public:
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_io_Serializable__
diff --git a/libjava/java/io/SerializablePermission.h b/libjava/java/io/SerializablePermission.h
new file mode 100644
index 0000000..04c3dce
--- /dev/null
+++ b/libjava/java/io/SerializablePermission.h
@@ -0,0 +1,27 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_io_SerializablePermission__
+#define __java_io_SerializablePermission__
+
+#pragma interface
+
+#include <java/security/BasicPermission.h>
+#include <gcj/array.h>
+
+
+class java::io::SerializablePermission : public ::java::security::BasicPermission
+{
+
+public:
+ SerializablePermission(::java::lang::String *);
+ SerializablePermission(::java::lang::String *, ::java::lang::String *);
+public: // actually package-private
+ static const jlong serialVersionUID = 8537212141160296410LL;
+private:
+ static JArray< ::java::lang::String * > * legal_names;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_io_SerializablePermission__
diff --git a/libjava/java/io/StreamCorruptedException.h b/libjava/java/io/StreamCorruptedException.h
new file mode 100644
index 0000000..79b0d02
--- /dev/null
+++ b/libjava/java/io/StreamCorruptedException.h
@@ -0,0 +1,23 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_io_StreamCorruptedException__
+#define __java_io_StreamCorruptedException__
+
+#pragma interface
+
+#include <java/io/ObjectStreamException.h>
+
+class java::io::StreamCorruptedException : public ::java::io::ObjectStreamException
+{
+
+public:
+ StreamCorruptedException();
+ StreamCorruptedException(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = 8983558202217591746LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_io_StreamCorruptedException__
diff --git a/libjava/java/io/StreamTokenizer.h b/libjava/java/io/StreamTokenizer.h
new file mode 100644
index 0000000..ad9496c
--- /dev/null
+++ b/libjava/java/io/StreamTokenizer.h
@@ -0,0 +1,72 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_io_StreamTokenizer__
+#define __java_io_StreamTokenizer__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+
+class java::io::StreamTokenizer : public ::java::lang::Object
+{
+
+public:
+ StreamTokenizer(::java::io::InputStream *);
+ StreamTokenizer(::java::io::Reader *);
+ virtual void commentChar(jint);
+ virtual void eolIsSignificant(jboolean);
+ virtual jint lineno();
+ virtual void lowerCaseMode(jboolean);
+private:
+ jboolean isWhitespace(jint);
+ jboolean isAlphabetic(jint);
+ jboolean isNumeric(jint);
+ jboolean isQuote(jint);
+ jboolean isComment(jint);
+public:
+ virtual jint nextToken();
+private:
+ void resetChar(jint);
+public:
+ virtual void ordinaryChar(jint);
+ virtual void ordinaryChars(jint, jint);
+ virtual void parseNumbers();
+ virtual void pushBack();
+ virtual void quoteChar(jint);
+ virtual void resetSyntax();
+ virtual void slashSlashComments(jboolean);
+ virtual void slashStarComments(jboolean);
+ virtual ::java::lang::String * toString();
+ virtual void whitespaceChars(jint, jint);
+ virtual void wordChars(jint, jint);
+ static const jint TT_EOF = -1;
+ static const jint TT_EOL = 10;
+ static const jint TT_NUMBER = -2;
+ static const jint TT_WORD = -3;
+private:
+ static const jint TT_NONE = -4;
+public:
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) ttype;
+ ::java::lang::String * sval;
+ jdouble nval;
+private:
+ jboolean eolSignificant;
+ jboolean lowerCase;
+ jboolean slashSlash;
+ jboolean slashStar;
+ JArray< jboolean > * whitespace;
+ JArray< jboolean > * alphabetic;
+ JArray< jboolean > * numeric;
+ JArray< jboolean > * quote;
+ JArray< jboolean > * comment;
+ ::java::io::PushbackReader * in;
+ jboolean pushedBack;
+ jint lineNumber;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_io_StreamTokenizer__
diff --git a/libjava/java/io/StringBufferInputStream.h b/libjava/java/io/StringBufferInputStream.h
new file mode 100644
index 0000000..077bc4d
--- /dev/null
+++ b/libjava/java/io/StringBufferInputStream.h
@@ -0,0 +1,31 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_io_StringBufferInputStream__
+#define __java_io_StringBufferInputStream__
+
+#pragma interface
+
+#include <java/io/InputStream.h>
+#include <gcj/array.h>
+
+
+class java::io::StringBufferInputStream : public ::java::io::InputStream
+{
+
+public:
+ StringBufferInputStream(::java::lang::String *);
+ virtual jint available();
+ virtual jint read();
+ virtual jint read(JArray< jbyte > *, jint, jint);
+ virtual void reset();
+ virtual jlong skip(jlong);
+public: // actually protected
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::io::InputStream)))) buffer;
+ jint pos;
+ jint count;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_io_StringBufferInputStream__
diff --git a/libjava/java/io/StringReader.h b/libjava/java/io/StringReader.h
new file mode 100644
index 0000000..57a2d3f
--- /dev/null
+++ b/libjava/java/io/StringReader.h
@@ -0,0 +1,35 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_io_StringReader__
+#define __java_io_StringReader__
+
+#pragma interface
+
+#include <java/io/Reader.h>
+#include <gcj/array.h>
+
+
+class java::io::StringReader : public ::java::io::Reader
+{
+
+public:
+ StringReader(::java::lang::String *);
+ virtual void close();
+ virtual void mark(jint);
+ virtual jboolean markSupported();
+ virtual jint read();
+ virtual jint read(JArray< jchar > *, jint, jint);
+ virtual jboolean ready();
+ virtual void reset();
+ virtual jlong skip(jlong);
+private:
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::io::Reader)))) buf;
+ jint pos;
+ jint markedPos;
+ jint count;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_io_StringReader__
diff --git a/libjava/java/io/StringWriter.h b/libjava/java/io/StringWriter.h
new file mode 100644
index 0000000..16e6de5
--- /dev/null
+++ b/libjava/java/io/StringWriter.h
@@ -0,0 +1,43 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_io_StringWriter__
+#define __java_io_StringWriter__
+
+#pragma interface
+
+#include <java/io/Writer.h>
+#include <gcj/array.h>
+
+
+class java::io::StringWriter : public ::java::io::Writer
+{
+
+public:
+ virtual void close();
+ virtual void flush();
+ virtual ::java::lang::StringBuffer * getBuffer();
+ StringWriter();
+ StringWriter(jint);
+ virtual ::java::lang::String * toString();
+ virtual void write(jint);
+ virtual void write(JArray< jchar > *, jint, jint);
+ virtual void write(::java::lang::String *);
+ virtual void write(::java::lang::String *, jint, jint);
+ virtual ::java::io::StringWriter * target$append(jchar);
+ virtual ::java::io::StringWriter * target$append(::java::lang::CharSequence *);
+ virtual ::java::io::StringWriter * target$append(::java::lang::CharSequence *, jint, jint);
+ virtual ::java::lang::Appendable * append(::java::lang::CharSequence *, jint, jint);
+ virtual ::java::io::Writer * target$append(::java::lang::CharSequence *, jint, jint);
+ virtual ::java::lang::Appendable * append(::java::lang::CharSequence *);
+ virtual ::java::io::Writer * target$append(::java::lang::CharSequence *);
+ virtual ::java::lang::Appendable * append(jchar);
+ virtual ::java::io::Writer * target$append(jchar);
+private:
+ static const jint DEFAULT_BUFFER_SIZE = 16;
+ ::java::lang::StringBuffer * __attribute__((aligned(__alignof__( ::java::io::Writer)))) buffer;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_io_StringWriter__
diff --git a/libjava/java/io/SyncFailedException.h b/libjava/java/io/SyncFailedException.h
new file mode 100644
index 0000000..1088ca2
--- /dev/null
+++ b/libjava/java/io/SyncFailedException.h
@@ -0,0 +1,22 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_io_SyncFailedException__
+#define __java_io_SyncFailedException__
+
+#pragma interface
+
+#include <java/io/IOException.h>
+
+class java::io::SyncFailedException : public ::java::io::IOException
+{
+
+public:
+ SyncFailedException(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = -2353342684412443330LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_io_SyncFailedException__
diff --git a/libjava/java/io/UTFDataFormatException.h b/libjava/java/io/UTFDataFormatException.h
new file mode 100644
index 0000000..48f8cf7
--- /dev/null
+++ b/libjava/java/io/UTFDataFormatException.h
@@ -0,0 +1,23 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_io_UTFDataFormatException__
+#define __java_io_UTFDataFormatException__
+
+#pragma interface
+
+#include <java/io/IOException.h>
+
+class java::io::UTFDataFormatException : public ::java::io::IOException
+{
+
+public:
+ UTFDataFormatException();
+ UTFDataFormatException(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = 420743449228280612LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_io_UTFDataFormatException__
diff --git a/libjava/java/io/UnsupportedEncodingException.h b/libjava/java/io/UnsupportedEncodingException.h
new file mode 100644
index 0000000..6291af2
--- /dev/null
+++ b/libjava/java/io/UnsupportedEncodingException.h
@@ -0,0 +1,23 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_io_UnsupportedEncodingException__
+#define __java_io_UnsupportedEncodingException__
+
+#pragma interface
+
+#include <java/io/IOException.h>
+
+class java::io::UnsupportedEncodingException : public ::java::io::IOException
+{
+
+public:
+ UnsupportedEncodingException();
+ UnsupportedEncodingException(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = -4274276298326136670LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_io_UnsupportedEncodingException__
diff --git a/libjava/java/io/VMObjectInputStream.h b/libjava/java/io/VMObjectInputStream.h
new file mode 100644
index 0000000..307dd55
--- /dev/null
+++ b/libjava/java/io/VMObjectInputStream.h
@@ -0,0 +1,21 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_io_VMObjectInputStream__
+#define __java_io_VMObjectInputStream__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::io::VMObjectInputStream : public ::java::lang::Object
+{
+
+public: // actually package-private
+ VMObjectInputStream();
+ static ::java::lang::Object * allocateObject(::java::lang::Class *, ::java::lang::Class *, ::java::lang::reflect::Constructor *);
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_io_VMObjectInputStream__
diff --git a/libjava/java/io/VMObjectInputStream.java b/libjava/java/io/VMObjectInputStream.java
new file mode 100644
index 0000000..77bdf71
--- /dev/null
+++ b/libjava/java/io/VMObjectInputStream.java
@@ -0,0 +1,56 @@
+/* ObjectInputStream.java -- Class used to read serialized objects
+ Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2005
+ Free Software Foundation, Inc.
+
+This file is part of GNU Classpath.
+
+GNU Classpath is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+
+GNU Classpath is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU Classpath; see the file COPYING. If not, write to the
+Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+02110-1301 USA.
+
+Linking this library statically or dynamically with other modules is
+making a combined work based on this library. Thus, the terms and
+conditions of the GNU General Public License cover the whole
+combination.
+
+As a special exception, the copyright holders of this library give you
+permission to link this library with independent modules to produce an
+executable, regardless of the license terms of these independent
+modules, and to copy and distribute the resulting executable under
+terms of your choice, provided that you also meet, for each linked
+independent module, the terms and conditions of the license of that
+module. An independent module is a module which is not derived from
+or based on this library. If you modify this library, you may extend
+this exception to your version of the library, but you are not
+obligated to do so. If you do not wish to do so, delete this
+exception statement from your version. */
+
+
+package java.io;
+
+import gnu.classpath.Configuration;
+import java.lang.reflect.Constructor;
+
+final class VMObjectInputStream
+{
+ /**
+ * Allocates a new Object of type clazz but without running the
+ * default constructor on it. It then calls the given constructor on
+ * it. The given constructor method comes from the constr_clazz
+ * which is a super class of the given clazz.
+ */
+ static native Object allocateObject(Class clazz, Class constr_clazz,
+ Constructor constructor)
+ throws InstantiationException;
+}
diff --git a/libjava/java/io/VMObjectStreamClass.h b/libjava/java/io/VMObjectStreamClass.h
new file mode 100644
index 0000000..5f2ef2c
--- /dev/null
+++ b/libjava/java/io/VMObjectStreamClass.h
@@ -0,0 +1,30 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_io_VMObjectStreamClass__
+#define __java_io_VMObjectStreamClass__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::io::VMObjectStreamClass : public ::java::lang::Object
+{
+
+public: // actually package-private
+ VMObjectStreamClass();
+ static jboolean hasClassInitializer(::java::lang::Class *);
+ static void setDoubleNative(::java::lang::reflect::Field *, ::java::lang::Object *, jdouble);
+ static void setFloatNative(::java::lang::reflect::Field *, ::java::lang::Object *, jfloat);
+ static void setLongNative(::java::lang::reflect::Field *, ::java::lang::Object *, jlong);
+ static void setIntNative(::java::lang::reflect::Field *, ::java::lang::Object *, jint);
+ static void setShortNative(::java::lang::reflect::Field *, ::java::lang::Object *, jshort);
+ static void setCharNative(::java::lang::reflect::Field *, ::java::lang::Object *, jchar);
+ static void setByteNative(::java::lang::reflect::Field *, ::java::lang::Object *, jbyte);
+ static void setBooleanNative(::java::lang::reflect::Field *, ::java::lang::Object *, jboolean);
+ static void setObjectNative(::java::lang::reflect::Field *, ::java::lang::Object *, ::java::lang::Object *);
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_io_VMObjectStreamClass__
diff --git a/libjava/java/io/WriteAbortedException.h b/libjava/java/io/WriteAbortedException.h
new file mode 100644
index 0000000..712c04d
--- /dev/null
+++ b/libjava/java/io/WriteAbortedException.h
@@ -0,0 +1,25 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_io_WriteAbortedException__
+#define __java_io_WriteAbortedException__
+
+#pragma interface
+
+#include <java/io/ObjectStreamException.h>
+
+class java::io::WriteAbortedException : public ::java::io::ObjectStreamException
+{
+
+public:
+ WriteAbortedException(::java::lang::String *, ::java::lang::Exception *);
+ virtual ::java::lang::String * getMessage();
+ virtual ::java::lang::Throwable * getCause();
+private:
+ static const jlong serialVersionUID = -3326426625597282442LL;
+public:
+ ::java::lang::Exception * __attribute__((aligned(__alignof__( ::java::io::ObjectStreamException)))) detail;
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_io_WriteAbortedException__
diff --git a/libjava/java/io/Writer.h b/libjava/java/io/Writer.h
new file mode 100644
index 0000000..61156647
--- /dev/null
+++ b/libjava/java/io/Writer.h
@@ -0,0 +1,39 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_io_Writer__
+#define __java_io_Writer__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+
+class java::io::Writer : public ::java::lang::Object
+{
+
+public: // actually protected
+ Writer();
+ Writer(::java::lang::Object *);
+public:
+ virtual void flush() = 0;
+ virtual void close() = 0;
+ virtual void write(jint);
+ virtual void write(JArray< jchar > *);
+ virtual void write(JArray< jchar > *, jint, jint) = 0;
+ virtual void write(::java::lang::String *);
+ virtual void write(::java::lang::String *, jint, jint);
+ virtual ::java::io::Writer * target$append(jchar);
+ virtual ::java::io::Writer * target$append(::java::lang::CharSequence *);
+ virtual ::java::io::Writer * target$append(::java::lang::CharSequence *, jint, jint);
+ virtual ::java::lang::Appendable * append(::java::lang::CharSequence *, jint, jint);
+ virtual ::java::lang::Appendable * append(::java::lang::CharSequence *);
+ virtual ::java::lang::Appendable * append(jchar);
+public: // actually protected
+ ::java::lang::Object * __attribute__((aligned(__alignof__( ::java::lang::Object)))) lock;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_io_Writer__
diff --git a/libjava/java/io/natObjectInputStream.cc b/libjava/java/io/natObjectInputStream.cc
index 2d1a556..6212396 100644
--- a/libjava/java/io/natObjectInputStream.cc
+++ b/libjava/java/io/natObjectInputStream.cc
@@ -1,6 +1,6 @@
-// natObjectInputStream.cc - Native part of ObjectInputStream class.
+// natObjectInputStream.cc - Native part of VMObjectInputStream class.
-/* Copyright (C) 1998, 1999, 2000, 2001, 2005 Free Software Foundation
+/* Copyright (C) 1998, 1999, 2000, 2001, 2005, 2006 Free Software Foundation
This ObjectInputStream is part of libgcj.
@@ -14,8 +14,7 @@ details. */
#include <jvm.h>
#include <gcj/method.h>
-#include <java/io/ObjectInputStream$GetField.h>
-#include <java/io/ObjectInputStream.h>
+#include <java/io/VMObjectInputStream.h>
#include <java/io/IOException.h>
#include <java/lang/Class.h>
#include <java/lang/reflect/Modifier.h>
@@ -32,7 +31,7 @@ details. */
#endif
jobject
-java::io::ObjectInputStream::allocateObject (jclass klass, jclass,
+java::io::VMObjectInputStream::allocateObject (jclass klass, jclass,
::java::lang::reflect::Constructor *ctr)
{
jobject obj = NULL;
@@ -69,12 +68,3 @@ java::io::ObjectInputStream::allocateObject (jclass klass, jclass,
return obj;
}
-
-java::lang::ClassLoader *
-java::io::ObjectInputStream::currentLoader ()
-{
- jclass caller = _Jv_StackTrace::GetCallingClass (&ObjectInputStream::class$);
- if (caller)
- return caller->getClassLoaderInternal();
- return NULL;
-}
diff --git a/libjava/java/lang/AbstractMethodError.h b/libjava/java/lang/AbstractMethodError.h
new file mode 100644
index 0000000..92a757d
--- /dev/null
+++ b/libjava/java/lang/AbstractMethodError.h
@@ -0,0 +1,23 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_AbstractMethodError__
+#define __java_lang_AbstractMethodError__
+
+#pragma interface
+
+#include <java/lang/IncompatibleClassChangeError.h>
+
+class java::lang::AbstractMethodError : public ::java::lang::IncompatibleClassChangeError
+{
+
+public:
+ AbstractMethodError();
+ AbstractMethodError(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = -1654391082989018462LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_AbstractMethodError__
diff --git a/libjava/java/lang/Appendable.h b/libjava/java/lang/Appendable.h
new file mode 100644
index 0000000..d304ff9
--- /dev/null
+++ b/libjava/java/lang/Appendable.h
@@ -0,0 +1,21 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_Appendable__
+#define __java_lang_Appendable__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::lang::Appendable : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::lang::Appendable * append(jchar) = 0;
+ virtual ::java::lang::Appendable * append(::java::lang::CharSequence *) = 0;
+ virtual ::java::lang::Appendable * append(::java::lang::CharSequence *, jint, jint) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_lang_Appendable__
diff --git a/libjava/java/lang/ArithmeticException.h b/libjava/java/lang/ArithmeticException.h
new file mode 100644
index 0000000..8d784ad
--- /dev/null
+++ b/libjava/java/lang/ArithmeticException.h
@@ -0,0 +1,23 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_ArithmeticException__
+#define __java_lang_ArithmeticException__
+
+#pragma interface
+
+#include <java/lang/RuntimeException.h>
+
+class java::lang::ArithmeticException : public ::java::lang::RuntimeException
+{
+
+public:
+ ArithmeticException();
+ ArithmeticException(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = 2256477558314496007LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_ArithmeticException__
diff --git a/libjava/java/lang/ArrayIndexOutOfBoundsException.h b/libjava/java/lang/ArrayIndexOutOfBoundsException.h
new file mode 100644
index 0000000..8e65f70
--- /dev/null
+++ b/libjava/java/lang/ArrayIndexOutOfBoundsException.h
@@ -0,0 +1,24 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_ArrayIndexOutOfBoundsException__
+#define __java_lang_ArrayIndexOutOfBoundsException__
+
+#pragma interface
+
+#include <java/lang/IndexOutOfBoundsException.h>
+
+class java::lang::ArrayIndexOutOfBoundsException : public ::java::lang::IndexOutOfBoundsException
+{
+
+public:
+ ArrayIndexOutOfBoundsException();
+ ArrayIndexOutOfBoundsException(::java::lang::String *);
+ ArrayIndexOutOfBoundsException(jint);
+private:
+ static const jlong serialVersionUID = -5116101128118950844LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_ArrayIndexOutOfBoundsException__
diff --git a/libjava/java/lang/ArrayStoreException.h b/libjava/java/lang/ArrayStoreException.h
new file mode 100644
index 0000000..8e120d1
--- /dev/null
+++ b/libjava/java/lang/ArrayStoreException.h
@@ -0,0 +1,23 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_ArrayStoreException__
+#define __java_lang_ArrayStoreException__
+
+#pragma interface
+
+#include <java/lang/RuntimeException.h>
+
+class java::lang::ArrayStoreException : public ::java::lang::RuntimeException
+{
+
+public:
+ ArrayStoreException();
+ ArrayStoreException(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = -4522193890499838241LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_ArrayStoreException__
diff --git a/libjava/java/lang/AssertionError.h b/libjava/java/lang/AssertionError.h
new file mode 100644
index 0000000..0154c04
--- /dev/null
+++ b/libjava/java/lang/AssertionError.h
@@ -0,0 +1,29 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_AssertionError__
+#define __java_lang_AssertionError__
+
+#pragma interface
+
+#include <java/lang/Error.h>
+
+class java::lang::AssertionError : public ::java::lang::Error
+{
+
+public:
+ AssertionError();
+ AssertionError(::java::lang::Object *);
+ AssertionError(jboolean);
+ AssertionError(jchar);
+ AssertionError(jint);
+ AssertionError(jlong);
+ AssertionError(jfloat);
+ AssertionError(jdouble);
+private:
+ static const jlong serialVersionUID = -5013299493970297370LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_AssertionError__
diff --git a/libjava/java/lang/Boolean.h b/libjava/java/lang/Boolean.h
new file mode 100644
index 0000000..a8476f7
--- /dev/null
+++ b/libjava/java/lang/Boolean.h
@@ -0,0 +1,40 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_Boolean__
+#define __java_lang_Boolean__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::lang::Boolean : public ::java::lang::Object
+{
+
+public:
+ Boolean(jboolean);
+ Boolean(::java::lang::String *);
+ jboolean booleanValue();
+ static ::java::lang::Boolean * valueOf(jboolean);
+ static ::java::lang::Boolean * valueOf(::java::lang::String *);
+ static ::java::lang::String * toString(jboolean);
+ ::java::lang::String * toString();
+ jint hashCode();
+ jboolean equals(::java::lang::Object *);
+ static jboolean getBoolean(::java::lang::String *);
+ jint target$compareTo(::java::lang::Boolean *);
+ static jboolean parseBoolean(::java::lang::String *);
+ jint compareTo(::java::lang::Object *);
+private:
+ static const jlong serialVersionUID = -3665804199014368530LL;
+public:
+ static ::java::lang::Boolean * TRUE;
+ static ::java::lang::Boolean * FALSE;
+ static ::java::lang::Class * TYPE;
+private:
+ jboolean __attribute__((aligned(__alignof__( ::java::lang::Object)))) value;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_Boolean__
diff --git a/libjava/java/lang/Byte.h b/libjava/java/lang/Byte.h
new file mode 100644
index 0000000..2caccd7
--- /dev/null
+++ b/libjava/java/lang/Byte.h
@@ -0,0 +1,51 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_Byte__
+#define __java_lang_Byte__
+
+#pragma interface
+
+#include <java/lang/Number.h>
+#include <gcj/array.h>
+
+
+class java::lang::Byte : public ::java::lang::Number
+{
+
+public:
+ Byte(jbyte);
+ Byte(::java::lang::String *);
+ static ::java::lang::String * toString(jbyte);
+ static jbyte parseByte(::java::lang::String *);
+ static jbyte parseByte(::java::lang::String *, jint);
+ static ::java::lang::Byte * valueOf(::java::lang::String *, jint);
+ static ::java::lang::Byte * valueOf(::java::lang::String *);
+ static ::java::lang::Byte * valueOf(jbyte);
+ static ::java::lang::Byte * decode(::java::lang::String *);
+ jbyte byteValue();
+ jshort shortValue();
+ jint intValue();
+ jlong longValue();
+ jfloat floatValue();
+ jdouble doubleValue();
+ ::java::lang::String * toString();
+ jint hashCode();
+ jboolean equals(::java::lang::Object *);
+ jint target$compareTo(::java::lang::Byte *);
+ jint compareTo(::java::lang::Object *);
+private:
+ static const jlong serialVersionUID = -7183698231559129828LL;
+public:
+ static const jbyte MIN_VALUE = -128;
+ static const jbyte MAX_VALUE = 127;
+ static ::java::lang::Class * TYPE;
+ static const jint SIZE = 8;
+private:
+ static JArray< ::java::lang::Byte * > * byteCache;
+ jbyte __attribute__((aligned(__alignof__( ::java::lang::Number)))) value;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_Byte__
diff --git a/libjava/java/lang/CharSequence.h b/libjava/java/lang/CharSequence.h
new file mode 100644
index 0000000..1348b56
--- /dev/null
+++ b/libjava/java/lang/CharSequence.h
@@ -0,0 +1,22 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_CharSequence__
+#define __java_lang_CharSequence__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::lang::CharSequence : public ::java::lang::Object
+{
+
+public:
+ virtual jchar charAt(jint) = 0;
+ virtual jint length() = 0;
+ virtual ::java::lang::CharSequence * subSequence(jint, jint) = 0;
+ virtual ::java::lang::String * toString() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_lang_CharSequence__
diff --git a/libjava/java/lang/Character$Subset.h b/libjava/java/lang/Character$Subset.h
new file mode 100644
index 0000000..93f2ba1c
--- /dev/null
+++ b/libjava/java/lang/Character$Subset.h
@@ -0,0 +1,26 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_Character$Subset__
+#define __java_lang_Character$Subset__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::lang::Character$Subset : public ::java::lang::Object
+{
+
+public: // actually protected
+ Character$Subset(::java::lang::String *);
+public:
+ virtual jboolean equals(::java::lang::Object *);
+ virtual jint hashCode();
+ virtual ::java::lang::String * toString();
+private:
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) name;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_Character$Subset__
diff --git a/libjava/java/lang/Character$UnicodeBlock.h b/libjava/java/lang/Character$UnicodeBlock.h
new file mode 100644
index 0000000..43fa6b4
--- /dev/null
+++ b/libjava/java/lang/Character$UnicodeBlock.h
@@ -0,0 +1,161 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_Character$UnicodeBlock__
+#define __java_lang_Character$UnicodeBlock__
+
+#pragma interface
+
+#include <java/lang/Character$Subset.h>
+#include <gcj/array.h>
+
+
+class java::lang::Character$UnicodeBlock : public ::java::lang::Character$Subset
+{
+
+ Character$UnicodeBlock(jint, jint, ::java::lang::String *, ::java::lang::String *);
+public:
+ static ::java::lang::Character$UnicodeBlock * of(jchar);
+ static ::java::lang::Character$UnicodeBlock * of(jint);
+ static ::java::lang::Character$UnicodeBlock * forName(::java::lang::String *);
+private:
+ jint __attribute__((aligned(__alignof__( ::java::lang::Character$Subset)))) start;
+ jint end;
+ ::java::lang::String * canonicalName;
+ static const jint CANONICAL_NAME = 0;
+ static const jint NO_SPACES_NAME = 1;
+ static const jint CONSTANT_NAME = 2;
+public:
+ static ::java::lang::Character$UnicodeBlock * BASIC_LATIN;
+ static ::java::lang::Character$UnicodeBlock * LATIN_1_SUPPLEMENT;
+ static ::java::lang::Character$UnicodeBlock * LATIN_EXTENDED_A;
+ static ::java::lang::Character$UnicodeBlock * LATIN_EXTENDED_B;
+ static ::java::lang::Character$UnicodeBlock * IPA_EXTENSIONS;
+ static ::java::lang::Character$UnicodeBlock * SPACING_MODIFIER_LETTERS;
+ static ::java::lang::Character$UnicodeBlock * COMBINING_DIACRITICAL_MARKS;
+ static ::java::lang::Character$UnicodeBlock * GREEK;
+ static ::java::lang::Character$UnicodeBlock * CYRILLIC;
+ static ::java::lang::Character$UnicodeBlock * CYRILLIC_SUPPLEMENTARY;
+ static ::java::lang::Character$UnicodeBlock * ARMENIAN;
+ static ::java::lang::Character$UnicodeBlock * HEBREW;
+ static ::java::lang::Character$UnicodeBlock * ARABIC;
+ static ::java::lang::Character$UnicodeBlock * SYRIAC;
+ static ::java::lang::Character$UnicodeBlock * THAANA;
+ static ::java::lang::Character$UnicodeBlock * DEVANAGARI;
+ static ::java::lang::Character$UnicodeBlock * BENGALI;
+ static ::java::lang::Character$UnicodeBlock * GURMUKHI;
+ static ::java::lang::Character$UnicodeBlock * GUJARATI;
+ static ::java::lang::Character$UnicodeBlock * ORIYA;
+ static ::java::lang::Character$UnicodeBlock * TAMIL;
+ static ::java::lang::Character$UnicodeBlock * TELUGU;
+ static ::java::lang::Character$UnicodeBlock * KANNADA;
+ static ::java::lang::Character$UnicodeBlock * MALAYALAM;
+ static ::java::lang::Character$UnicodeBlock * SINHALA;
+ static ::java::lang::Character$UnicodeBlock * THAI;
+ static ::java::lang::Character$UnicodeBlock * LAO;
+ static ::java::lang::Character$UnicodeBlock * TIBETAN;
+ static ::java::lang::Character$UnicodeBlock * MYANMAR;
+ static ::java::lang::Character$UnicodeBlock * GEORGIAN;
+ static ::java::lang::Character$UnicodeBlock * HANGUL_JAMO;
+ static ::java::lang::Character$UnicodeBlock * ETHIOPIC;
+ static ::java::lang::Character$UnicodeBlock * CHEROKEE;
+ static ::java::lang::Character$UnicodeBlock * UNIFIED_CANADIAN_ABORIGINAL_SYLLABICS;
+ static ::java::lang::Character$UnicodeBlock * OGHAM;
+ static ::java::lang::Character$UnicodeBlock * RUNIC;
+ static ::java::lang::Character$UnicodeBlock * TAGALOG;
+ static ::java::lang::Character$UnicodeBlock * HANUNOO;
+ static ::java::lang::Character$UnicodeBlock * BUHID;
+ static ::java::lang::Character$UnicodeBlock * TAGBANWA;
+ static ::java::lang::Character$UnicodeBlock * KHMER;
+ static ::java::lang::Character$UnicodeBlock * MONGOLIAN;
+ static ::java::lang::Character$UnicodeBlock * LIMBU;
+ static ::java::lang::Character$UnicodeBlock * TAI_LE;
+ static ::java::lang::Character$UnicodeBlock * KHMER_SYMBOLS;
+ static ::java::lang::Character$UnicodeBlock * PHONETIC_EXTENSIONS;
+ static ::java::lang::Character$UnicodeBlock * LATIN_EXTENDED_ADDITIONAL;
+ static ::java::lang::Character$UnicodeBlock * GREEK_EXTENDED;
+ static ::java::lang::Character$UnicodeBlock * GENERAL_PUNCTUATION;
+ static ::java::lang::Character$UnicodeBlock * SUPERSCRIPTS_AND_SUBSCRIPTS;
+ static ::java::lang::Character$UnicodeBlock * CURRENCY_SYMBOLS;
+ static ::java::lang::Character$UnicodeBlock * COMBINING_MARKS_FOR_SYMBOLS;
+ static ::java::lang::Character$UnicodeBlock * LETTERLIKE_SYMBOLS;
+ static ::java::lang::Character$UnicodeBlock * NUMBER_FORMS;
+ static ::java::lang::Character$UnicodeBlock * ARROWS;
+ static ::java::lang::Character$UnicodeBlock * MATHEMATICAL_OPERATORS;
+ static ::java::lang::Character$UnicodeBlock * MISCELLANEOUS_TECHNICAL;
+ static ::java::lang::Character$UnicodeBlock * CONTROL_PICTURES;
+ static ::java::lang::Character$UnicodeBlock * OPTICAL_CHARACTER_RECOGNITION;
+ static ::java::lang::Character$UnicodeBlock * ENCLOSED_ALPHANUMERICS;
+ static ::java::lang::Character$UnicodeBlock * BOX_DRAWING;
+ static ::java::lang::Character$UnicodeBlock * BLOCK_ELEMENTS;
+ static ::java::lang::Character$UnicodeBlock * GEOMETRIC_SHAPES;
+ static ::java::lang::Character$UnicodeBlock * MISCELLANEOUS_SYMBOLS;
+ static ::java::lang::Character$UnicodeBlock * DINGBATS;
+ static ::java::lang::Character$UnicodeBlock * MISCELLANEOUS_MATHEMATICAL_SYMBOLS_A;
+ static ::java::lang::Character$UnicodeBlock * SUPPLEMENTAL_ARROWS_A;
+ static ::java::lang::Character$UnicodeBlock * BRAILLE_PATTERNS;
+ static ::java::lang::Character$UnicodeBlock * SUPPLEMENTAL_ARROWS_B;
+ static ::java::lang::Character$UnicodeBlock * MISCELLANEOUS_MATHEMATICAL_SYMBOLS_B;
+ static ::java::lang::Character$UnicodeBlock * SUPPLEMENTAL_MATHEMATICAL_OPERATORS;
+ static ::java::lang::Character$UnicodeBlock * MISCELLANEOUS_SYMBOLS_AND_ARROWS;
+ static ::java::lang::Character$UnicodeBlock * CJK_RADICALS_SUPPLEMENT;
+ static ::java::lang::Character$UnicodeBlock * KANGXI_RADICALS;
+ static ::java::lang::Character$UnicodeBlock * IDEOGRAPHIC_DESCRIPTION_CHARACTERS;
+ static ::java::lang::Character$UnicodeBlock * CJK_SYMBOLS_AND_PUNCTUATION;
+ static ::java::lang::Character$UnicodeBlock * HIRAGANA;
+ static ::java::lang::Character$UnicodeBlock * KATAKANA;
+ static ::java::lang::Character$UnicodeBlock * BOPOMOFO;
+ static ::java::lang::Character$UnicodeBlock * HANGUL_COMPATIBILITY_JAMO;
+ static ::java::lang::Character$UnicodeBlock * KANBUN;
+ static ::java::lang::Character$UnicodeBlock * BOPOMOFO_EXTENDED;
+ static ::java::lang::Character$UnicodeBlock * KATAKANA_PHONETIC_EXTENSIONS;
+ static ::java::lang::Character$UnicodeBlock * ENCLOSED_CJK_LETTERS_AND_MONTHS;
+ static ::java::lang::Character$UnicodeBlock * CJK_COMPATIBILITY;
+ static ::java::lang::Character$UnicodeBlock * CJK_UNIFIED_IDEOGRAPHS_EXTENSION_A;
+ static ::java::lang::Character$UnicodeBlock * YIJING_HEXAGRAM_SYMBOLS;
+ static ::java::lang::Character$UnicodeBlock * CJK_UNIFIED_IDEOGRAPHS;
+ static ::java::lang::Character$UnicodeBlock * YI_SYLLABLES;
+ static ::java::lang::Character$UnicodeBlock * YI_RADICALS;
+ static ::java::lang::Character$UnicodeBlock * HANGUL_SYLLABLES;
+ static ::java::lang::Character$UnicodeBlock * HIGH_SURROGATES;
+ static ::java::lang::Character$UnicodeBlock * HIGH_PRIVATE_USE_SURROGATES;
+ static ::java::lang::Character$UnicodeBlock * LOW_SURROGATES;
+ static ::java::lang::Character$UnicodeBlock * PRIVATE_USE_AREA;
+ static ::java::lang::Character$UnicodeBlock * CJK_COMPATIBILITY_IDEOGRAPHS;
+ static ::java::lang::Character$UnicodeBlock * ALPHABETIC_PRESENTATION_FORMS;
+ static ::java::lang::Character$UnicodeBlock * ARABIC_PRESENTATION_FORMS_A;
+ static ::java::lang::Character$UnicodeBlock * VARIATION_SELECTORS;
+ static ::java::lang::Character$UnicodeBlock * COMBINING_HALF_MARKS;
+ static ::java::lang::Character$UnicodeBlock * CJK_COMPATIBILITY_FORMS;
+ static ::java::lang::Character$UnicodeBlock * SMALL_FORM_VARIANTS;
+ static ::java::lang::Character$UnicodeBlock * ARABIC_PRESENTATION_FORMS_B;
+ static ::java::lang::Character$UnicodeBlock * HALFWIDTH_AND_FULLWIDTH_FORMS;
+ static ::java::lang::Character$UnicodeBlock * SPECIALS;
+ static ::java::lang::Character$UnicodeBlock * LINEAR_B_SYLLABARY;
+ static ::java::lang::Character$UnicodeBlock * LINEAR_B_IDEOGRAMS;
+ static ::java::lang::Character$UnicodeBlock * AEGEAN_NUMBERS;
+ static ::java::lang::Character$UnicodeBlock * OLD_ITALIC;
+ static ::java::lang::Character$UnicodeBlock * GOTHIC;
+ static ::java::lang::Character$UnicodeBlock * UGARITIC;
+ static ::java::lang::Character$UnicodeBlock * DESERET;
+ static ::java::lang::Character$UnicodeBlock * SHAVIAN;
+ static ::java::lang::Character$UnicodeBlock * OSMANYA;
+ static ::java::lang::Character$UnicodeBlock * CYPRIOT_SYLLABARY;
+ static ::java::lang::Character$UnicodeBlock * BYZANTINE_MUSICAL_SYMBOLS;
+ static ::java::lang::Character$UnicodeBlock * MUSICAL_SYMBOLS;
+ static ::java::lang::Character$UnicodeBlock * TAI_XUAN_JING_SYMBOLS;
+ static ::java::lang::Character$UnicodeBlock * MATHEMATICAL_ALPHANUMERIC_SYMBOLS;
+ static ::java::lang::Character$UnicodeBlock * CJK_UNIFIED_IDEOGRAPHS_EXTENSION_B;
+ static ::java::lang::Character$UnicodeBlock * CJK_COMPATIBILITY_IDEOGRAPHS_SUPPLEMENT;
+ static ::java::lang::Character$UnicodeBlock * TAGS;
+ static ::java::lang::Character$UnicodeBlock * VARIATION_SELECTORS_SUPPLEMENT;
+ static ::java::lang::Character$UnicodeBlock * SUPPLEMENTARY_PRIVATE_USE_AREA_A;
+ static ::java::lang::Character$UnicodeBlock * SUPPLEMENTARY_PRIVATE_USE_AREA_B;
+ static ::java::lang::Character$UnicodeBlock * SURROGATES_AREA;
+private:
+ static JArray< ::java::lang::Character$UnicodeBlock * > * sets;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_Character$UnicodeBlock__
diff --git a/libjava/java/lang/Character.h b/libjava/java/lang/Character.h
new file mode 100644
index 0000000..ed913ab
--- /dev/null
+++ b/libjava/java/lang/Character.h
@@ -0,0 +1,175 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_Character__
+#define __java_lang_Character__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+
+class java::lang::Character : public ::java::lang::Object
+{
+
+ static jchar readChar(jchar);
+ static jchar readCodePoint(jint);
+public:
+ Character(jchar);
+ jchar charValue();
+ jint hashCode();
+ jboolean equals(::java::lang::Object *);
+ ::java::lang::String * toString();
+ static ::java::lang::String * toString(jchar);
+ static jboolean isLowerCase(jchar);
+ static jboolean isLowerCase(jint);
+ static jboolean isUpperCase(jchar);
+ static jboolean isUpperCase(jint);
+ static jboolean isTitleCase(jchar);
+ static jboolean isTitleCase(jint);
+ static jboolean isDigit(jchar);
+ static jboolean isDigit(jint);
+ static jboolean isDefined(jchar);
+ static jboolean isDefined(jint);
+ static jboolean isLetter(jchar);
+ static jboolean isLetter(jint);
+ static jboolean isLetterOrDigit(jchar);
+ static jboolean isLetterOrDigit(jint);
+ static jboolean isJavaLetter(jchar);
+ static jboolean isJavaIdentifierStart(jint);
+ static jboolean isJavaLetterOrDigit(jchar);
+ static jboolean isJavaIdentifierStart(jchar);
+ static jboolean isJavaIdentifierPart(jchar);
+ static jboolean isJavaIdentifierPart(jint);
+ static jboolean isUnicodeIdentifierStart(jchar);
+ static jboolean isUnicodeIdentifierStart(jint);
+ static jboolean isUnicodeIdentifierPart(jchar);
+ static jboolean isUnicodeIdentifierPart(jint);
+ static jboolean isIdentifierIgnorable(jchar);
+ static jboolean isIdentifierIgnorable(jint);
+ static jchar toLowerCase(jchar);
+ static jint toLowerCase(jint);
+ static jchar toUpperCase(jchar);
+ static jint toUpperCase(jint);
+ static jchar toTitleCase(jchar);
+ static jint toTitleCase(jint);
+ static jint digit(jchar, jint);
+ static jint digit(jint, jint);
+ static jint getNumericValue(jchar);
+ static jint getNumericValue(jint);
+ static jboolean isSpace(jchar);
+ static jboolean isSpaceChar(jchar);
+ static jboolean isSpaceChar(jint);
+ static jboolean isWhitespace(jchar);
+ static jboolean isWhitespace(jint);
+ static jboolean isISOControl(jchar);
+ static jboolean isISOControl(jint);
+ static jint getType(jchar);
+ static jint getType(jint);
+ static jchar forDigit(jint, jint);
+ static jbyte getDirectionality(jchar);
+ static jbyte getDirectionality(jint);
+ static jboolean isMirrored(jchar);
+ static jboolean isMirrored(jint);
+ jint compareTo(::java::lang::Character *);
+ jint compareTo(::java::lang::Object *);
+ static ::java::lang::Character * valueOf(jchar);
+ static jchar reverseBytes(jchar);
+ static JArray< jchar > * toChars(jint);
+ static jint toChars(jint, JArray< jchar > *, jint);
+ static jint charCount(jint);
+ static jboolean isSupplementaryCodePoint(jint);
+ static jboolean isValidCodePoint(jint);
+ static jboolean isHighSurrogate(jchar);
+ static jboolean isLowSurrogate(jchar);
+ static jboolean isSurrogatePair(jchar, jchar);
+ static jint toCodePoint(jchar, jchar);
+ static jint codePointAt(::java::lang::CharSequence *, jint);
+ static jint codePointAt(JArray< jchar > *, jint);
+ static jint codePointAt(JArray< jchar > *, jint, jint);
+ static jint codePointBefore(JArray< jchar > *, jint);
+ static jint codePointBefore(JArray< jchar > *, jint, jint);
+ static jint codePointBefore(::java::lang::CharSequence *, jint);
+private:
+ jchar __attribute__((aligned(__alignof__( ::java::lang::Object)))) value;
+ static const jlong serialVersionUID = 3786198910865385080LL;
+public:
+ static const jint MIN_RADIX = 2;
+ static const jint MAX_RADIX = 36;
+ static const jchar MIN_VALUE = 0;
+ static const jchar MAX_VALUE = 65535;
+ static ::java::lang::Class * TYPE;
+ static const jint SIZE = 16;
+private:
+ static const jint MAX_CACHE = 127;
+ static JArray< ::java::lang::Character * > * charCache;
+public:
+ static const jbyte UPPERCASE_LETTER = 1;
+ static const jbyte LOWERCASE_LETTER = 2;
+ static const jbyte TITLECASE_LETTER = 3;
+ static const jbyte NON_SPACING_MARK = 6;
+ static const jbyte COMBINING_SPACING_MARK = 8;
+ static const jbyte ENCLOSING_MARK = 7;
+ static const jbyte DECIMAL_DIGIT_NUMBER = 9;
+ static const jbyte LETTER_NUMBER = 10;
+ static const jbyte OTHER_NUMBER = 11;
+ static const jbyte SPACE_SEPARATOR = 12;
+ static const jbyte LINE_SEPARATOR = 13;
+ static const jbyte PARAGRAPH_SEPARATOR = 14;
+ static const jbyte CONTROL = 15;
+ static const jbyte FORMAT = 16;
+ static const jbyte SURROGATE = 19;
+ static const jbyte PRIVATE_USE = 18;
+ static const jbyte UNASSIGNED = 0;
+ static const jbyte MODIFIER_LETTER = 4;
+ static const jbyte OTHER_LETTER = 5;
+ static const jbyte CONNECTOR_PUNCTUATION = 23;
+ static const jbyte DASH_PUNCTUATION = 20;
+ static const jbyte START_PUNCTUATION = 21;
+ static const jbyte END_PUNCTUATION = 22;
+ static const jbyte INITIAL_QUOTE_PUNCTUATION = 29;
+ static const jbyte FINAL_QUOTE_PUNCTUATION = 30;
+ static const jbyte OTHER_PUNCTUATION = 24;
+ static const jbyte MATH_SYMBOL = 25;
+ static const jbyte CURRENCY_SYMBOL = 26;
+ static const jbyte MODIFIER_SYMBOL = 27;
+ static const jbyte OTHER_SYMBOL = 28;
+ static const jbyte DIRECTIONALITY_UNDEFINED = -1;
+ static const jbyte DIRECTIONALITY_LEFT_TO_RIGHT = 0;
+ static const jbyte DIRECTIONALITY_RIGHT_TO_LEFT = 1;
+ static const jbyte DIRECTIONALITY_RIGHT_TO_LEFT_ARABIC = 2;
+ static const jbyte DIRECTIONALITY_EUROPEAN_NUMBER = 3;
+ static const jbyte DIRECTIONALITY_EUROPEAN_NUMBER_SEPARATOR = 4;
+ static const jbyte DIRECTIONALITY_EUROPEAN_NUMBER_TERMINATOR = 5;
+ static const jbyte DIRECTIONALITY_ARABIC_NUMBER = 6;
+ static const jbyte DIRECTIONALITY_COMMON_NUMBER_SEPARATOR = 7;
+ static const jbyte DIRECTIONALITY_NONSPACING_MARK = 8;
+ static const jbyte DIRECTIONALITY_BOUNDARY_NEUTRAL = 9;
+ static const jbyte DIRECTIONALITY_PARAGRAPH_SEPARATOR = 10;
+ static const jbyte DIRECTIONALITY_SEGMENT_SEPARATOR = 11;
+ static const jbyte DIRECTIONALITY_WHITESPACE = 12;
+ static const jbyte DIRECTIONALITY_OTHER_NEUTRALS = 13;
+ static const jbyte DIRECTIONALITY_LEFT_TO_RIGHT_EMBEDDING = 14;
+ static const jbyte DIRECTIONALITY_LEFT_TO_RIGHT_OVERRIDE = 15;
+ static const jbyte DIRECTIONALITY_RIGHT_TO_LEFT_EMBEDDING = 16;
+ static const jbyte DIRECTIONALITY_RIGHT_TO_LEFT_OVERRIDE = 17;
+ static const jbyte DIRECTIONALITY_POP_DIRECTIONAL_FORMAT = 18;
+private:
+ static const jint TYPE_MASK = 31;
+ static const jint NO_BREAK_MASK = 32;
+ static const jint MIRROR_MASK = 64;
+public:
+ static const jint MIN_SUPPLEMENTARY_CODE_POINT = 65536;
+ static const jint MIN_CODE_POINT = 0;
+ static const jint MAX_CODE_POINT = 1114111;
+ static const jchar MIN_HIGH_SURROGATE = 55296;
+ static const jchar MAX_HIGH_SURROGATE = 56319;
+ static const jchar MIN_LOW_SURROGATE = 56320;
+ static const jchar MAX_LOW_SURROGATE = 57343;
+ static const jchar MIN_SURROGATE = 55296;
+ static const jchar MAX_SURROGATE = 57343;
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_Character__
diff --git a/libjava/java/lang/Class.h b/libjava/java/lang/Class.h
index 82a66fb..d0cf5af 100644
--- a/libjava/java/lang/Class.h
+++ b/libjava/java/lang/Class.h
@@ -192,6 +192,24 @@ struct _Jv_TypeAssertion
_Jv_Utf8Const *op2;
};
+typedef enum
+{
+ JV_CLASS_ATTR,
+ JV_METHOD_ATTR,
+ JV_FIELD_ATTR,
+ JV_DONE_ATTR
+} jv_attr_type;
+
+typedef enum
+{
+ JV_INNER_CLASSES_KIND,
+ JV_ENCLOSING_METHOD_KIND,
+ JV_SIGNATURE_KIND,
+ JV_ANNOTATIONS_KIND,
+ JV_PARAMETER_ANNOTATIONS_KIND,
+ JV_ANNOTATION_DEFAULT_KIND
+} jv_attr_kind;
+
#define JV_PRIMITIVE_VTABLE ((_Jv_VTable *) -1)
#define JV_CLASS(Obj) ((jclass) (*(_Jv_VTable **) Obj)->clas)
@@ -341,6 +359,15 @@ private:
java::lang::reflect::Method *_getMethod (jstring, JArray<jclass> *);
java::lang::reflect::Method *_getDeclaredMethod (jstring, JArray<jclass> *);
+ jstring getReflectionSignature (jint /*jv_attr_type*/ type,
+ jint obj_index);
+ jstring getReflectionSignature (::java::lang::reflect::Method *);
+ jstring getReflectionSignature (::java::lang::reflect::Constructor *);
+ jstring getReflectionSignature (::java::lang::reflect::Field *);
+
+ jstring getClassSignature();
+ jobject getMethodDefaultValue (::java::lang::reflect::Method *);
+
public:
JArray<java::lang::reflect::Field *> *getFields (void);
@@ -403,10 +430,34 @@ public:
JArray<java::lang::reflect::TypeVariable *> *getTypeParameters (void);
+ jint getEnclosingMethodData(void);
java::lang::Class *getEnclosingClass (void);
java::lang::reflect::Constructor *getEnclosingConstructor (void);
java::lang::reflect::Method *getEnclosingMethod (void);
- jboolean isEnum (void);
+ jobjectArray getDeclaredAnnotations(jint, jint, jint);
+ jobjectArray getDeclaredAnnotations(::java::lang::reflect::Method *,
+ jboolean);
+ jobjectArray getDeclaredAnnotations(::java::lang::reflect::Constructor *,
+ jboolean);
+ jobjectArray getDeclaredAnnotations(::java::lang::reflect::Field *);
+ JArray< ::java::lang::annotation::Annotation *> *getDeclaredAnnotationsInternal();
+
+ jboolean isEnum (void)
+ {
+ return (accflags & 0x4000) != 0;
+ }
+ jboolean isSynthetic (void)
+ {
+ return (accflags & 0x1000) != 0;
+ }
+ jboolean isAnnotation (void)
+ {
+ return (accflags & 0x2000) != 0;
+ }
+
+ jboolean isAnonymousClass();
+ jboolean isLocalClass();
+ jboolean isMemberClass();
// FIXME: this probably shouldn't be public.
jint size (void)
@@ -428,6 +479,20 @@ public:
// types. See prims.cc.
Class ();
+ // Given the BC ABI version, return the size of an Class initializer.
+ static jlong initializerSize (jlong ABI)
+ {
+ unsigned long version = ABI & 0xfffff;
+ int abi_rev = version % 100;
+
+ // The reflection_data field was added by abi_rev 1.
+ if (abi_rev == 0)
+ return ((char*)(&::java::lang::Class::class$.reflection_data)
+ - (char*)&::java::lang::Class::class$);
+
+ return sizeof (::java::lang::Class);
+ }
+
static java::lang::Class class$;
private:
@@ -444,6 +509,9 @@ private:
notifyAll ();
}
+ jint findInnerClassAttribute();
+ jint findDeclaredClasses(JArray<jclass> *, jboolean, jint);
+
// Friend functions implemented in natClass.cc.
friend _Jv_Method *::_Jv_GetMethodLocal (jclass klass, _Jv_Utf8Const *name,
_Jv_Utf8Const *signature);
@@ -562,6 +630,11 @@ private:
friend void ::_Jv_CopyClassesToSystemLoader (gnu::gcj::runtime::SystemClassLoader *);
+ friend class java::lang::reflect::Field;
+ friend class java::lang::reflect::Method;
+ friend class java::lang::reflect::Constructor;
+ friend class java::lang::reflect::VMProxy;
+
// Chain for class pool. This also doubles as the ABI version
// number. It is only used for this purpose at class registration
// time, and only for precompiled classes.
@@ -644,6 +717,8 @@ private:
void *aux_info;
// Execution engine.
_Jv_ExecutionEngine *engine;
+ // Reflection data.
+ unsigned char *reflection_data;
};
// Inline functions that are friends of java::lang::Class
diff --git a/libjava/java/lang/Class.java b/libjava/java/lang/Class.java
index f301f35..a071ee3 100644
--- a/libjava/java/lang/Class.java
+++ b/libjava/java/lang/Class.java
@@ -38,12 +38,14 @@ exception statement from your version. */
package java.lang;
+import gnu.java.lang.reflect.ClassSignatureParser;
import java.io.InputStream;
import java.io.Serializable;
import java.lang.annotation.Annotation;
import java.lang.reflect.Constructor;
import java.lang.reflect.Field;
import java.lang.reflect.GenericDeclaration;
+import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Member;
import java.lang.reflect.Method;
import java.lang.reflect.Type;
@@ -53,6 +55,11 @@ import java.security.ProtectionDomain;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashSet;
+import java.util.HashMap;
+import java.util.Collection;
+import java.lang.reflect.AnnotatedElement;
+import java.lang.annotation.Annotation;
+import java.lang.annotation.Inherited;
/**
* A Class represents a Java type. There will never be multiple Class
@@ -83,7 +90,8 @@ import java.util.HashSet;
* @since 1.0
* @see ClassLoader
*/
-public final class Class implements Type, GenericDeclaration, Serializable
+public final class Class<T>
+ implements Type, AnnotatedElement, GenericDeclaration, Serializable
{
/**
* Class is non-instantiable from Java code; only the VM can create
@@ -112,7 +120,7 @@ public final class Class implements Type, GenericDeclaration, Serializable
* @throws ExceptionInInitializerError if the class loads, but an exception
* occurs during initialization
*/
- public static native Class forName (String className)
+ public static native Class<?> forName (String className)
throws ClassNotFoundException;
// A private internal method that is called by compiler-generated code.
@@ -147,8 +155,8 @@ public final class Class implements Type, GenericDeclaration, Serializable
* @see ClassLoader
* @since 1.2
*/
- public static native Class forName (String className, boolean initialize,
- ClassLoader loader)
+ public static native Class<?> forName (String className, boolean initialize,
+ ClassLoader loader)
throws ClassNotFoundException;
/**
@@ -163,7 +171,7 @@ public final class Class implements Type, GenericDeclaration, Serializable
* @throws SecurityException if the security check fails
* @since 1.1
*/
- public Class[] getClasses()
+ public Class<?>[] getClasses()
{
memberAccessCheck(Member.PUBLIC);
return internalGetClasses();
@@ -172,16 +180,16 @@ public final class Class implements Type, GenericDeclaration, Serializable
/**
* Like <code>getClasses()</code> but without the security checks.
*/
- private Class[] internalGetClasses()
+ private Class<?>[] internalGetClasses()
{
- ArrayList list = new ArrayList();
+ ArrayList<Class> list = new ArrayList<Class>();
list.addAll(Arrays.asList(getDeclaredClasses(true)));
Class superClass = getSuperclass();
if (superClass != null)
list.addAll(Arrays.asList(superClass.internalGetClasses()));
- return (Class[])list.toArray(new Class[list.size()]);
+ return list.toArray(new Class<?>[list.size()]);
}
-
+
/**
* Get the ClassLoader that loaded this class. If the class was loaded
* by the bootstrap classloader, this method will return null.
@@ -216,7 +224,7 @@ public final class Class implements Type, GenericDeclaration, Serializable
* @see Array
* @since 1.1
*/
- public native Class getComponentType ();
+ public native Class<?> getComponentType ();
/**
* Get a public constructor declared in this class. If the constructor takes
@@ -232,7 +240,7 @@ public final class Class implements Type, GenericDeclaration, Serializable
* @see #getConstructors()
* @since 1.1
*/
- public native Constructor getConstructor(Class[] args)
+ public native Constructor<T> getConstructor(Class<?>... args)
throws NoSuchMethodException;
/**
@@ -247,7 +255,7 @@ public final class Class implements Type, GenericDeclaration, Serializable
* @throws SecurityException if the security check fails
* @since 1.1
*/
- public Constructor[] getConstructors()
+ public Constructor<?>[] getConstructors()
{
memberAccessCheck(Member.PUBLIC);
return getDeclaredConstructors(true);
@@ -267,7 +275,7 @@ public final class Class implements Type, GenericDeclaration, Serializable
* @see #getDeclaredConstructors()
* @since 1.1
*/
- public native Constructor getDeclaredConstructor(Class[] args)
+ public native Constructor<T> getDeclaredConstructor(Class<?>... args)
throws NoSuchMethodException;
/**
@@ -282,13 +290,13 @@ public final class Class implements Type, GenericDeclaration, Serializable
* @throws SecurityException if the security check fails
* @since 1.1
*/
- public Class[] getDeclaredClasses()
+ public Class<?>[] getDeclaredClasses()
{
memberAccessCheck(Member.DECLARED);
return getDeclaredClasses(false);
}
- native Class[] getDeclaredClasses (boolean publicOnly);
+ native Class<?>[] getDeclaredClasses (boolean publicOnly);
/**
* Get all the declared constructors of this class. This returns an array of
@@ -302,13 +310,13 @@ public final class Class implements Type, GenericDeclaration, Serializable
* @throws SecurityException if the security check fails
* @since 1.1
*/
- public Constructor[] getDeclaredConstructors()
+ public Constructor<?>[] getDeclaredConstructors()
{
memberAccessCheck(Member.DECLARED);
return getDeclaredConstructors(false);
}
- native Constructor[] getDeclaredConstructors (boolean publicOnly);
+ native Constructor<?>[] getDeclaredConstructors (boolean publicOnly);
/**
* Get a field declared in this class, where name is its simple name. The
@@ -369,7 +377,7 @@ public final class Class implements Type, GenericDeclaration, Serializable
* @see #getDeclaredMethods()
* @since 1.1
*/
- public Method getDeclaredMethod(String methodName, Class[] args)
+ public Method getDeclaredMethod(String methodName, Class<?>... args)
throws NoSuchMethodException
{
memberAccessCheck(Member.DECLARED);
@@ -409,7 +417,7 @@ public final class Class implements Type, GenericDeclaration, Serializable
* @since 1.1
*/
// This is marked as unimplemented in the JCL book.
- public native Class getDeclaringClass ();
+ public native Class<?> getDeclaringClass ();
private native Field getField (String fieldName, int hash)
throws NoSuchFieldException;
@@ -498,7 +506,7 @@ public final class Class implements Type, GenericDeclaration, Serializable
*
* @return the interfaces this class directly implements
*/
- public native Class[] getInterfaces ();
+ public native Class<?>[] getInterfaces ();
private final native void getSignature(StringBuffer buffer);
private static final native String getSignature(Class[] args,
@@ -528,7 +536,7 @@ public final class Class implements Type, GenericDeclaration, Serializable
* @see #getMethods()
* @since 1.1
*/
- public Method getMethod(String methodName, Class[] args)
+ public Method getMethod(String methodName, Class<?>... args)
throws NoSuchMethodException
{
memberAccessCheck(Member.PUBLIC);
@@ -701,7 +709,7 @@ public final class Class implements Type, GenericDeclaration, Serializable
*
* @return the direct superclass of this class
*/
- public native Class getSuperclass ();
+ public native Class<? super T> getSuperclass ();
/**
* Return whether this class is an array type.
@@ -725,7 +733,7 @@ public final class Class implements Type, GenericDeclaration, Serializable
* @throws NullPointerException if c is null
* @since 1.1
*/
- public native boolean isAssignableFrom (Class c);
+ public native boolean isAssignableFrom (Class<?> c);
/**
* Discover whether an Object is an instance of this Class. Think of it
@@ -783,7 +791,7 @@ public final class Class implements Type, GenericDeclaration, Serializable
* @throws ExceptionInInitializerError if class initialization caused by
* this call fails with an exception
*/
- public native Object newInstance ()
+ public native T newInstance ()
throws InstantiationException, IllegalAccessException;
// We need a native method to retrieve the protection domain, because we
@@ -930,6 +938,123 @@ public final class Class implements Type, GenericDeclaration, Serializable
}
}
+
+ /**
+ * <p>
+ * Casts this class to represent a subclass of the specified class.
+ * This method is useful for `narrowing' the type of a class so that
+ * the class object, and instances of that class, can match the contract
+ * of a more restrictive method. For example, if this class has the
+ * static type of <code>Class&lt;Object&gt;</code>, and a dynamic type of
+ * <code>Class&lt;Rectangle&gt;</code>, then, assuming <code>Shape</code> is
+ * a superclass of <code>Rectangle</code>, this method can be used on
+ * this class with the parameter, <code>Class&lt;Shape&gt;</code>, to retain
+ * the same instance but with the type
+ * <code>Class&lt;? extends Shape&gt;</code>.
+ * </p>
+ * <p>
+ * If this class can be converted to an instance which is parameterised
+ * over a subtype of the supplied type, <code>U</code>, then this method
+ * returns an appropriately cast reference to this object. Otherwise,
+ * a <code>ClassCastException</code> is thrown.
+ * </p>
+ *
+ * @param klass the class object, the parameterized type (<code>U</code>) of
+ * which should be a superclass of the parameterized type of
+ * this instance.
+ * @return a reference to this object, appropriately cast.
+ * @throws ClassCastException if this class can not be converted to one
+ * which represents a subclass of the specified
+ * type, <code>U</code>.
+ * @since 1.5
+ */
+ public <U> Class<? extends U> asSubclass(Class<U> klass)
+ {
+ if (! klass.isAssignableFrom(this))
+ throw new ClassCastException();
+ return (Class<? extends U>) this;
+ }
+
+ /**
+ * Returns the specified object, cast to this <code>Class</code>' type.
+ *
+ * @param obj the object to cast
+ * @throws ClassCastException if obj is not an instance of this class
+ * @since 1.5
+ */
+ public T cast(Object obj)
+ {
+ if (obj != null && ! isInstance(obj))
+ throw new ClassCastException();
+ return (T) obj;
+ }
+
+ /**
+ * Returns the enumeration constants of this class, or
+ * null if this class is not an <code>Enum</code>.
+ *
+ * @return an array of <code>Enum</code> constants
+ * associated with this class, or null if this
+ * class is not an <code>enum</code>.
+ * @since 1.5
+ */
+ public T[] getEnumConstants()
+ {
+ if (isEnum())
+ {
+ try
+ {
+ return (T[]) getMethod("values").invoke(null);
+ }
+ catch (NoSuchMethodException exception)
+ {
+ throw new Error("Enum lacks values() method");
+ }
+ catch (IllegalAccessException exception)
+ {
+ throw new Error("Unable to access Enum class");
+ }
+ catch (InvocationTargetException exception)
+ {
+ throw new
+ RuntimeException("The values method threw an exception",
+ exception);
+ }
+ }
+ else
+ {
+ return null;
+ }
+ }
+
+ /**
+ * Returns true if this class is an <code>Enum</code>.
+ *
+ * @return true if this is an enumeration class.
+ * @since 1.5
+ */
+ public native boolean isEnum();
+
+
+ /**
+ * Returns true if this class is a synthetic class, generated by
+ * the compiler.
+ *
+ * @return true if this is a synthetic class.
+ * @since 1.5
+ */
+ public native boolean isSynthetic();
+
+
+ /**
+ * Returns true if this class is an <code>Annotation</code>.
+ *
+ * @return true if this is an annotation class.
+ * @since 1.5
+ */
+ public native boolean isAnnotation();
+
+
/**
* Returns the simple name for this class, as used in the source
* code. For normal classes, this is the content returned by
@@ -945,25 +1070,22 @@ public final class Class implements Type, GenericDeclaration, Serializable
*/
public String getSimpleName()
{
- // FIXME write real implementation
- return "";
- }
-
- /**
- * Returns all annotations directly defined by this class. If there are
- * no annotations associated with this class, then a zero-length array
- * will be returned. The returned array may be modified by the client
- * code, but this will have no effect on the annotation content of this
- * class, and hence no effect on the return value of this method for
- * future callers.
- *
- * @return the annotations directly defined by this class.
- * @since 1.5
- */
- public Annotation[] getDeclaredAnnotations()
- {
- // FIXME write real implementation
- return new Annotation[0];
+ StringBuffer sb = new StringBuffer();
+ Class klass = this;
+ int arrayCount = 0;
+ while (klass.isArray())
+ {
+ klass = klass.getComponentType();
+ ++arrayCount;
+ }
+ if (! klass.isAnonymousClass())
+ {
+ String fullName = klass.getName();
+ sb.append(fullName, fullName.lastIndexOf(".") + 1, fullName.length());
+ }
+ while (arrayCount-- > 0)
+ sb.append("[]");
+ return sb.toString();
}
/**
@@ -974,12 +1096,7 @@ public final class Class implements Type, GenericDeclaration, Serializable
* a top-level class.
* @since 1.5
*/
- /* FIXME[GENERICS]: Should return Class<?> */
- public Class getEnclosingClass()
- {
- // FIXME write real implementation
- return null;
- }
+ public native Class<?> getEnclosingClass();
/**
* Returns the constructor which immediately encloses this class. If
@@ -992,12 +1109,7 @@ public final class Class implements Type, GenericDeclaration, Serializable
* is returned.
* @since 1.5
*/
- /* FIXME[GENERICS]: Should return Constructor<?> */
- public Constructor getEnclosingConstructor()
- {
- // FIXME write real implementation
- return null;
- }
+ public native Constructor<T> getEnclosingConstructor();
/**
* Returns the method which immediately encloses this class. If
@@ -1010,10 +1122,100 @@ public final class Class implements Type, GenericDeclaration, Serializable
* is returned.
* @since 1.5
*/
- public Method getEnclosingMethod()
+ public native Method getEnclosingMethod();
+
+ private native String getClassSignature();
+
+ /**
+ * <p>
+ * Returns an array of <code>Type</code> objects which represent the
+ * interfaces directly implemented by this class or extended by this
+ * interface.
+ * </p>
+ * <p>
+ * If one of the superinterfaces is a parameterized type, then the
+ * object returned for this interface reflects the actual type
+ * parameters used in the source code. Type parameters are created
+ * using the semantics specified by the <code>ParameterizedType</code>
+ * interface, and only if an instance has not already been created.
+ * </p>
+ * <p>
+ * The order of the interfaces in the array matches the order in which
+ * the interfaces are declared. For classes which represent an array,
+ * an array of two interfaces, <code>Cloneable</code> and
+ * <code>Serializable</code>, is always returned, with the objects in
+ * that order. A class representing a primitive type or void always
+ * returns an array of zero size.
+ * </p>
+ *
+ * @return an array of interfaces implemented or extended by this class.
+ * @throws GenericSignatureFormatError if the generic signature of one
+ * of the interfaces does not comply with that specified by the Java
+ * Virtual Machine specification, 3rd edition.
+ * @throws TypeNotPresentException if any of the superinterfaces refers
+ * to a non-existant type.
+ * @throws MalformedParameterizedTypeException if any of the interfaces
+ * refer to a parameterized type that can not be instantiated for
+ * some reason.
+ * @since 1.5
+ * @see java.lang.reflect.ParameterizedType
+ */
+ public Type[] getGenericInterfaces()
{
- // FIXME write real implementation
- return null;
+ if (isPrimitive())
+ return new Type[0];
+
+ String sig = getClassSignature();
+ if (sig == null)
+ return getInterfaces();
+
+ ClassSignatureParser p = new ClassSignatureParser(this, sig);
+ return p.getInterfaceTypes();
+ }
+
+ /**
+ * <p>
+ * Returns a <code>Type</code> object representing the direct superclass,
+ * whether class, interface, primitive type or void, of this class.
+ * If this class is an array class, then a class instance representing
+ * the <code>Object</code> class is returned. If this class is primitive,
+ * an interface, or a representation of either the <code>Object</code>
+ * class or void, then <code>null</code> is returned.
+ * </p>
+ * <p>
+ * If the superclass is a parameterized type, then the
+ * object returned for this interface reflects the actual type
+ * parameters used in the source code. Type parameters are created
+ * using the semantics specified by the <code>ParameterizedType</code>
+ * interface, and only if an instance has not already been created.
+ * </p>
+ *
+ * @return the superclass of this class.
+ * @throws GenericSignatureFormatError if the generic signature of the
+ * class does not comply with that specified by the Java
+ * Virtual Machine specification, 3rd edition.
+ * @throws TypeNotPresentException if the superclass refers
+ * to a non-existant type.
+ * @throws MalformedParameterizedTypeException if the superclass
+ * refers to a parameterized type that can not be instantiated for
+ * some reason.
+ * @since 1.5
+ * @see java.lang.reflect.ParameterizedType
+ */
+ public Type getGenericSuperclass()
+ {
+ if (isArray())
+ return Object.class;
+
+ if (isPrimitive() || isInterface() || this == Object.class)
+ return null;
+
+ String sig = getClassSignature();
+ if (sig == null)
+ return getSuperclass();
+
+ ClassSignatureParser p = new ClassSignatureParser(this, sig);
+ return p.getSuperclassType();
}
/**
@@ -1022,29 +1224,129 @@ public final class Class implements Type, GenericDeclaration, Serializable
* An array of size zero is returned if this class has no type
* variables.
*
- * @return the type variables associated with this class.
+ * @return the type variables associated with this class.
* @throws GenericSignatureFormatError if the generic signature does
* not conform to the format specified in the Virtual Machine
* specification, version 3.
* @since 1.5
*/
- /* FIXME[GENERICS]: Should return TypeVariable<Class<T>> */
- public TypeVariable[] getTypeParameters()
+ public TypeVariable<Class<T>>[] getTypeParameters()
{
- // FIXME - provide real implementation.
- return new TypeVariable[0];
+ String sig = getClassSignature();
+ if (sig == null)
+ return (TypeVariable<Class<T>>[])new TypeVariable[0];
+
+ ClassSignatureParser p = new ClassSignatureParser(this, sig);
+ return p.getTypeParameters();
}
/**
- * Returns true if this class is an <code>Enum</code>.
+ * Returns this class' annotation for the specified annotation type,
+ * or <code>null</code> if no such annotation exists.
*
- * @return true if this is an enumeration class.
+ * @param annotationClass the type of annotation to look for.
+ * @return this class' annotation for the specified type, or
+ * <code>null</code> if no such annotation exists.
* @since 1.5
*/
- public boolean isEnum()
+ public <A extends Annotation> A getAnnotation(Class<A> annotationClass)
{
- // FIXME - provide real implementation.
- return false;
+ A foundAnnotation = null;
+ Annotation[] annotations = getAnnotations();
+ for (Annotation annotation : annotations)
+ if (annotation.annotationType() == annotationClass)
+ foundAnnotation = (A) annotation;
+ return foundAnnotation;
}
+ /**
+ * Returns all annotations associated with this class. If there are
+ * no annotations associated with this class, then a zero-length array
+ * will be returned. The returned array may be modified by the client
+ * code, but this will have no effect on the annotation content of this
+ * class, and hence no effect on the return value of this method for
+ * future callers.
+ *
+ * @return this class' annotations.
+ * @since 1.5
+ */
+ public Annotation[] getAnnotations()
+ {
+ HashMap<Class, Annotation> map = new HashMap<Class, Annotation>();
+ for (Annotation a : getDeclaredAnnotations())
+ map.put((Class) a.annotationType(), a);
+ for (Class<? super T> s = getSuperclass();
+ s != null;
+ s = s.getSuperclass())
+ {
+ for (Annotation a : s.getDeclaredAnnotations())
+ {
+ Class k = (Class) a.annotationType();
+ if (! map.containsKey(k) && k.isAnnotationPresent(Inherited.class))
+ map.put(k, a);
+ }
+ }
+ Collection<Annotation> v = map.values();
+ return v.toArray(new Annotation[v.size()]);
+ }
+
+ /**
+ * Returns all annotations directly defined by this class. If there are
+ * no annotations associated with this class, then a zero-length array
+ * will be returned. The returned array may be modified by the client
+ * code, but this will have no effect on the annotation content of this
+ * class, and hence no effect on the return value of this method for
+ * future callers.
+ *
+ * @return the annotations directly defined by this class.
+ * @since 1.5
+ */
+ public Annotation[] getDeclaredAnnotations()
+ {
+ Annotation[] result = getDeclaredAnnotationsInternal();
+ if (result == null)
+ result = new Annotation[0];
+ return result;
+ }
+
+ private native Annotation[] getDeclaredAnnotationsInternal();
+
+ /**
+ * Returns true if an annotation for the specified type is associated
+ * with this class. This is primarily a short-hand for using marker
+ * annotations.
+ *
+ * @param annotationClass the type of annotation to look for.
+ * @return true if an annotation exists for the specified type.
+ * @since 1.5
+ */
+ public boolean isAnnotationPresent(Class<? extends Annotation>
+ annotationClass)
+ {
+ return getAnnotation(annotationClass) != null;
+ }
+
+ /**
+ * Returns true if this object represents an anonymous class.
+ *
+ * @return true if this object represents an anonymous class.
+ * @since 1.5
+ */
+ public native boolean isAnonymousClass();
+
+ /**
+ * Returns true if this object represents an local class.
+ *
+ * @return true if this object represents an local class.
+ * @since 1.5
+ */
+ public native boolean isLocalClass();
+
+ /**
+ * Returns true if this object represents an member class.
+ *
+ * @return true if this object represents an member class.
+ * @since 1.5
+ */
+ public native boolean isMemberClass();
}
diff --git a/libjava/java/lang/ClassCastException.h b/libjava/java/lang/ClassCastException.h
new file mode 100644
index 0000000..55c0bcc
--- /dev/null
+++ b/libjava/java/lang/ClassCastException.h
@@ -0,0 +1,23 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_ClassCastException__
+#define __java_lang_ClassCastException__
+
+#pragma interface
+
+#include <java/lang/RuntimeException.h>
+
+class java::lang::ClassCastException : public ::java::lang::RuntimeException
+{
+
+public:
+ ClassCastException();
+ ClassCastException(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = -9223365651070458532LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_ClassCastException__
diff --git a/libjava/java/lang/ClassCircularityError.h b/libjava/java/lang/ClassCircularityError.h
new file mode 100644
index 0000000..81d6f93
--- /dev/null
+++ b/libjava/java/lang/ClassCircularityError.h
@@ -0,0 +1,23 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_ClassCircularityError__
+#define __java_lang_ClassCircularityError__
+
+#pragma interface
+
+#include <java/lang/LinkageError.h>
+
+class java::lang::ClassCircularityError : public ::java::lang::LinkageError
+{
+
+public:
+ ClassCircularityError();
+ ClassCircularityError(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = 1054362542914539689LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_ClassCircularityError__
diff --git a/libjava/java/lang/ClassFormatError.h b/libjava/java/lang/ClassFormatError.h
new file mode 100644
index 0000000..ee6664f
--- /dev/null
+++ b/libjava/java/lang/ClassFormatError.h
@@ -0,0 +1,23 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_ClassFormatError__
+#define __java_lang_ClassFormatError__
+
+#pragma interface
+
+#include <java/lang/LinkageError.h>
+
+class java::lang::ClassFormatError : public ::java::lang::LinkageError
+{
+
+public:
+ ClassFormatError();
+ ClassFormatError(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = -8420114879011949195LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_ClassFormatError__
diff --git a/libjava/java/lang/ClassLoader$AnnotationsKey.h b/libjava/java/lang/ClassLoader$AnnotationsKey.h
new file mode 100644
index 0000000..1a395b0
--- /dev/null
+++ b/libjava/java/lang/ClassLoader$AnnotationsKey.h
@@ -0,0 +1,31 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_ClassLoader$AnnotationsKey__
+#define __java_lang_ClassLoader$AnnotationsKey__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+
+class java::lang::ClassLoader$AnnotationsKey : public ::java::lang::Object
+{
+
+public:
+ ClassLoader$AnnotationsKey(::java::lang::Class *, jint, jint, jint);
+ jboolean equals(::java::lang::Object *);
+ jint hashCode();
+public: // actually package-private
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) member_type;
+ jint member_index;
+ jint kind_req;
+ ::java::lang::Class * declaringClass;
+ jint hashCode__;
+public:
+ static JArray< ::java::lang::annotation::Annotation * > * NIL;
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_ClassLoader$AnnotationsKey__
diff --git a/libjava/java/lang/ClassLoader.h b/libjava/java/lang/ClassLoader.h
new file mode 100644
index 0000000..0b82a04
--- /dev/null
+++ b/libjava/java/lang/ClassLoader.h
@@ -0,0 +1,108 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_ClassLoader__
+#define __java_lang_ClassLoader__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace net
+ {
+ class URL;
+ }
+ namespace nio
+ {
+ class ByteBuffer;
+ }
+ namespace security
+ {
+ class ProtectionDomain;
+ }
+ }
+}
+
+jclass _Jv_FindClass (_Jv_Utf8Const *name, java::lang::ClassLoader *loader);
+void _Jv_RunMain (jclass klass, const char *name, int argc, const char **argv, bool is_jar);
+
+class java::lang::ClassLoader : public ::java::lang::Object
+{
+
+public: // actually package-private
+ virtual JArray< ::java::lang::Object * > * getDeclaredAnnotations(::java::lang::Class *, jint, jint, jint);
+ virtual JArray< ::java::lang::Object * > * putDeclaredAnnotations(::java::lang::Class *, jint, jint, jint, JArray< ::java::lang::Object * > *);
+public: // actually protected
+ ClassLoader();
+ ClassLoader(::java::lang::ClassLoader *);
+public:
+ virtual ::java::lang::Class * loadClass(::java::lang::String *);
+private:
+ ::java::lang::Class * loadClassFromSig(::java::lang::String *);
+public: // actually protected
+ virtual ::java::lang::Class * loadClass(::java::lang::String *, jboolean);
+ virtual ::java::lang::Class * findClass(::java::lang::String *);
+ virtual ::java::lang::Class * defineClass(JArray< jbyte > *, jint, jint);
+ virtual ::java::lang::Class * defineClass(::java::lang::String *, JArray< jbyte > *, jint, jint);
+ virtual ::java::lang::Class * defineClass(::java::lang::String *, JArray< jbyte > *, jint, jint, ::java::security::ProtectionDomain *);
+ virtual ::java::lang::Class * defineClass(::java::lang::String *, ::java::nio::ByteBuffer *, ::java::security::ProtectionDomain *);
+ virtual void resolveClass(::java::lang::Class *);
+ virtual ::java::lang::Class * findSystemClass(::java::lang::String *);
+public:
+ virtual ::java::lang::ClassLoader * getParent();
+public: // actually protected
+ virtual void setSigners(::java::lang::Class *, JArray< ::java::lang::Object * > *);
+ virtual ::java::lang::Class * findLoadedClass(::java::lang::String *);
+public:
+ virtual ::java::net::URL * getResource(::java::lang::String *);
+ virtual ::java::util::Enumeration * getResources(::java::lang::String *);
+public: // actually protected
+ virtual ::java::util::Enumeration * findResources(::java::lang::String *);
+ virtual ::java::net::URL * findResource(::java::lang::String *);
+public:
+ static ::java::net::URL * getSystemResource(::java::lang::String *);
+ static ::java::util::Enumeration * getSystemResources(::java::lang::String *);
+ virtual ::java::io::InputStream * getResourceAsStream(::java::lang::String *);
+ static ::java::io::InputStream * getSystemResourceAsStream(::java::lang::String *);
+ static ::java::lang::ClassLoader * getSystemClassLoader();
+public: // actually protected
+ virtual ::java::lang::Package * definePackage(::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::net::URL *);
+ virtual ::java::lang::Package * getPackage(::java::lang::String *);
+ virtual JArray< ::java::lang::Package * > * getPackages();
+ virtual ::java::lang::String * findLibrary(::java::lang::String *);
+public:
+ virtual void setDefaultAssertionStatus(jboolean);
+ virtual void setPackageAssertionStatus(::java::lang::String *, jboolean);
+ virtual void setClassAssertionStatus(::java::lang::String *, jboolean);
+ virtual void clearAssertionStatus();
+public: // actually package-private
+ virtual jboolean isAncestorOf(::java::lang::ClassLoader *);
+ ::java::util::HashMap * __attribute__((aligned(__alignof__( ::java::lang::Object)))) loadedClasses;
+ ::java::util::HashMap * definedPackages;
+private:
+ ::java::lang::ClassLoader * parent;
+ jboolean initialized;
+public: // actually package-private
+ static ::java::lang::ClassLoader * systemClassLoader;
+private:
+ ::java::util::concurrent::ConcurrentHashMap * declaredAnnotations;
+public: // actually package-private
+ static ::java::security::ProtectionDomain * defaultProtectionDomain;
+ jboolean defaultAssertionStatus;
+ static ::java::util::Map * systemPackageAssertionStatus;
+ ::java::util::Map * packageAssertionStatus;
+ static ::java::util::Map * systemClassAssertionStatus;
+ ::java::util::Map * classAssertionStatus;
+public:
+ static ::java::lang::Class class$;
+
+ friend jclass (::_Jv_FindClass) (_Jv_Utf8Const *name, java::lang::ClassLoader *loader);
+ friend void ::_Jv_RunMain (jclass klass, const char *name, int argc, const char **argv, bool is_jar);
+};
+
+#endif // __java_lang_ClassLoader__
diff --git a/libjava/java/lang/ClassLoader.java b/libjava/java/lang/ClassLoader.java
index bcbfc29..50bd26f 100644
--- a/libjava/java/lang/ClassLoader.java
+++ b/libjava/java/lang/ClassLoader.java
@@ -39,12 +39,14 @@ exception statement from your version. */
package java.lang;
import gnu.classpath.SystemProperties;
+import gnu.classpath.VMStackWalker;
import gnu.java.util.DoubleEnumeration;
import gnu.java.util.EmptyEnumeration;
import java.io.IOException;
import java.io.InputStream;
import java.net.URL;
+import java.nio.ByteBuffer;
import java.security.CodeSource;
import java.security.PermissionCollection;
import java.security.Policy;
@@ -53,6 +55,9 @@ import java.util.Enumeration;
import java.util.HashMap;
import java.util.Map;
+import java.util.concurrent.ConcurrentHashMap;
+import java.lang.annotation.Annotation;
+
/**
* The ClassLoader is a way of customizing the way Java gets its classes
* and loads them into memory. The verifier and other standard Java things
@@ -157,6 +162,85 @@ public abstract class ClassLoader
static final ClassLoader systemClassLoader =
VMClassLoader.getSystemClassLoader();
+ /**
+ * This cache maps from a Class to its associated annotations. It's
+ * declared here so that when this class loader becomes unreachable,
+ * so will the corresponding cache.
+ */
+
+ private final ConcurrentHashMap<AnnotationsKey,Object[]>
+ declaredAnnotations
+ = new ConcurrentHashMap<AnnotationsKey,Object[]>();
+
+ static final class AnnotationsKey
+ {
+ final int /* jv_attr_type */ member_type;
+ final int member_index;
+ final int /* jv_attr_kind */ kind_req;
+ final Class declaringClass;
+ final int hashCode;
+
+ public AnnotationsKey (Class declaringClass,
+ int member_type,
+ int member_index,
+ int kind_req)
+ {
+ this.member_type = member_type;
+ this.member_index = member_index;
+ this.kind_req = kind_req;
+ this.declaringClass = declaringClass;
+ hashCode = (member_type ^ member_index ^ kind_req
+ ^ declaringClass.hashCode());
+ }
+
+ public boolean equals(Object obj)
+ {
+ AnnotationsKey other = (AnnotationsKey)obj;
+ return (this.member_type == other.member_type
+ && this.member_index == other.member_index
+ && this.kind_req == other.kind_req
+ && this.declaringClass == other.declaringClass);
+ }
+
+ public int hashCode()
+ {
+ return hashCode;
+ }
+
+ public static final Annotation[] NIL = new Annotation[0];
+ }
+
+ final Object[] getDeclaredAnnotations(Class declaringClass,
+ int member_type,
+ int member_index,
+ int kind_req)
+ {
+ Object[] result
+ = declaredAnnotations.get (new AnnotationsKey
+ (declaringClass,
+ member_type,
+ member_index,
+ kind_req));
+ if (result != AnnotationsKey.NIL && result != null)
+ return (Object[])result.clone();
+ return null;
+ }
+
+ final Object[] putDeclaredAnnotations(Class declaringClass,
+ int member_type,
+ int member_index,
+ int kind_req,
+ Object[] annotations)
+ {
+ declaredAnnotations.put
+ (new AnnotationsKey
+ (declaringClass, member_type,
+ member_index, kind_req),
+ annotations == null ? AnnotationsKey.NIL : annotations);
+
+ return annotations == null ? null : (Object[])annotations.clone();
+ }
+
static
{
// Find out if we have to install a default security manager. Note
@@ -487,6 +571,35 @@ public abstract class ClassLoader
}
/**
+ * Helper to define a class using the contents of a byte buffer. If
+ * the domain is null, the default of
+ * <code>Policy.getPolicy().getPermissions(new CodeSource(null,
+ * null))</code> is used. Once a class has been defined in a
+ * package, all further classes in that package must have the same
+ * set of certificates or a SecurityException is thrown.
+ *
+ * @param name the name to give the class. null if unknown
+ * @param buf a byte buffer containing bytes that form a class.
+ * @param domain the ProtectionDomain to give to the class, null for the
+ * default protection domain
+ * @return the class that was defined
+ * @throws ClassFormatError if data is not in proper classfile format
+ * @throws NoClassDefFoundError if the supplied name is not the same as
+ * the one specified by the byte buffer.
+ * @throws SecurityException if name starts with "java.", or if certificates
+ * do not match up
+ * @since 1.5
+ */
+ protected final Class<?> defineClass(String name, ByteBuffer buf,
+ ProtectionDomain domain)
+ throws ClassFormatError
+ {
+ byte[] data = new byte[buf.remaining()];
+ buf.get(data);
+ return defineClass(name, data, 0, data.length, domain);
+ }
+
+ /**
* Links the class, if that has not already been done. Linking basically
* resolves all references to other classes made by this class.
*
@@ -530,8 +643,7 @@ public abstract class ClassLoader
SecurityManager sm = System.getSecurityManager();
if (sm != null)
{
- Class c = VMSecurityManager.getClassContext(ClassLoader.class)[0];
- ClassLoader cl = c.getClassLoader();
+ ClassLoader cl = VMStackWalker.getCallingClassLoader();
if (cl != null && ! cl.isAncestorOf(this))
sm.checkPermission(new RuntimePermission("getClassLoader"));
}
@@ -744,14 +856,15 @@ public abstract class ClassLoader
/**
* Returns the system classloader. The system classloader (also called
- * the application classloader) is the classloader that was used to
+ * the application classloader) is the classloader that is used to
* load the application classes on the classpath (given by the system
* property <code>java.class.path</code>. This is set as the context
* class loader for a thread. The system property
* <code>java.system.class.loader</code>, if defined, is taken to be the
* name of the class to use as the system class loader, which must have
- * a public constructor which takes a ClassLoader as a parent; otherwise this
- * uses gnu.java.lang.SystemClassLoader.
+ * a public constructor which takes a ClassLoader as a parent. The parent
+ * class loader passed in the constructor is the default system class
+ * loader.
*
* <p>Note that this is different from the bootstrap classloader that
* actually loads all the real "system" classes (the bootstrap classloader
@@ -773,8 +886,7 @@ public abstract class ClassLoader
SecurityManager sm = System.getSecurityManager();
if (sm != null)
{
- Class c = VMSecurityManager.getClassContext(ClassLoader.class)[0];
- ClassLoader cl = c.getClassLoader();
+ ClassLoader cl = VMStackWalker.getCallingClassLoader();
if (cl != null && cl != systemClassLoader)
sm.checkPermission(new RuntimePermission("getClassLoader"));
}
@@ -898,7 +1010,7 @@ public abstract class ClassLoader
*
* @param name the (system specific) name of the requested library
* @return the full pathname to the requested library, or null
- * @see Runtime#loadLibrary()
+ * @see Runtime#loadLibrary(String)
* @since 1.2
*/
protected String findLibrary(String name)
@@ -928,7 +1040,7 @@ public abstract class ClassLoader
*
* @param name the package (and subpackages) to affect
* @param enabled true to set the default to enabled
- * @see #setDefaultAssertionStatus(String, boolean)
+ * @see #setDefaultAssertionStatus(boolean)
* @see #setClassAssertionStatus(String, boolean)
* @see #clearAssertionStatus()
* @since 1.4
@@ -949,7 +1061,7 @@ public abstract class ClassLoader
* @param name the class to affect
* @param enabled true to set the default to enabled
* @throws NullPointerException if name is null
- * @see #setDefaultAssertionStatus(String, boolean)
+ * @see #setDefaultAssertionStatus(boolean)
* @see #setPackageAssertionStatus(String, boolean)
* @see #clearAssertionStatus()
* @since 1.4
diff --git a/libjava/java/lang/ClassNotFoundException.h b/libjava/java/lang/ClassNotFoundException.h
new file mode 100644
index 0000000..c0ab781
--- /dev/null
+++ b/libjava/java/lang/ClassNotFoundException.h
@@ -0,0 +1,27 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_ClassNotFoundException__
+#define __java_lang_ClassNotFoundException__
+
+#pragma interface
+
+#include <java/lang/Exception.h>
+
+class java::lang::ClassNotFoundException : public ::java::lang::Exception
+{
+
+public:
+ ClassNotFoundException();
+ ClassNotFoundException(::java::lang::String *);
+ ClassNotFoundException(::java::lang::String *, ::java::lang::Throwable *);
+ virtual ::java::lang::Throwable * getException();
+ virtual ::java::lang::Throwable * getCause();
+private:
+ static const jlong serialVersionUID = 9176873029745254542LL;
+ ::java::lang::Throwable * __attribute__((aligned(__alignof__( ::java::lang::Exception)))) ex;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_ClassNotFoundException__
diff --git a/libjava/java/lang/CloneNotSupportedException.h b/libjava/java/lang/CloneNotSupportedException.h
new file mode 100644
index 0000000..19fa212
--- /dev/null
+++ b/libjava/java/lang/CloneNotSupportedException.h
@@ -0,0 +1,23 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_CloneNotSupportedException__
+#define __java_lang_CloneNotSupportedException__
+
+#pragma interface
+
+#include <java/lang/Exception.h>
+
+class java::lang::CloneNotSupportedException : public ::java::lang::Exception
+{
+
+public:
+ CloneNotSupportedException();
+ CloneNotSupportedException(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = 5195511250079656443LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_CloneNotSupportedException__
diff --git a/libjava/java/lang/Cloneable.h b/libjava/java/lang/Cloneable.h
new file mode 100644
index 0000000..ff5db98
--- /dev/null
+++ b/libjava/java/lang/Cloneable.h
@@ -0,0 +1,18 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_Cloneable__
+#define __java_lang_Cloneable__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::lang::Cloneable : public ::java::lang::Object
+{
+
+public:
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_lang_Cloneable__
diff --git a/libjava/java/lang/Comparable.h b/libjava/java/lang/Comparable.h
new file mode 100644
index 0000000..b594e2d
--- /dev/null
+++ b/libjava/java/lang/Comparable.h
@@ -0,0 +1,19 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_Comparable__
+#define __java_lang_Comparable__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::lang::Comparable : public ::java::lang::Object
+{
+
+public:
+ virtual jint compareTo(::java::lang::Object *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_lang_Comparable__
diff --git a/libjava/java/lang/Compiler.h b/libjava/java/lang/Compiler.h
new file mode 100644
index 0000000..e21d903
--- /dev/null
+++ b/libjava/java/lang/Compiler.h
@@ -0,0 +1,24 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_Compiler__
+#define __java_lang_Compiler__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::lang::Compiler : public ::java::lang::Object
+{
+
+ Compiler();
+public:
+ static jboolean compileClass(::java::lang::Class *);
+ static jboolean compileClasses(::java::lang::String *);
+ static ::java::lang::Object * command(::java::lang::Object *);
+ static void enable();
+ static void disable();
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_Compiler__
diff --git a/libjava/java/lang/Deprecated.h b/libjava/java/lang/Deprecated.h
new file mode 100644
index 0000000..6ab34f1
--- /dev/null
+++ b/libjava/java/lang/Deprecated.h
@@ -0,0 +1,19 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_Deprecated__
+#define __java_lang_Deprecated__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::lang::Deprecated : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::lang::Class * annotationType() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_lang_Deprecated__
diff --git a/libjava/java/lang/Double.h b/libjava/java/lang/Double.h
new file mode 100644
index 0000000..5fb99da
--- /dev/null
+++ b/libjava/java/lang/Double.h
@@ -0,0 +1,57 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_Double__
+#define __java_lang_Double__
+
+#pragma interface
+
+#include <java/lang/Number.h>
+
+class java::lang::Double : public ::java::lang::Number
+{
+
+public:
+ Double(jdouble);
+ Double(::java::lang::String *);
+ static ::java::lang::String * toString(jdouble);
+ static ::java::lang::String * toHexString(jdouble);
+ static ::java::lang::Double * valueOf(jdouble);
+ static ::java::lang::Double * valueOf(::java::lang::String *);
+ static jdouble parseDouble(::java::lang::String *);
+ static jboolean isNaN(jdouble);
+ static jboolean isInfinite(jdouble);
+ jboolean isNaN();
+ jboolean isInfinite();
+ ::java::lang::String * toString();
+ jbyte byteValue();
+ jshort shortValue();
+ jint intValue();
+ jlong longValue();
+ jfloat floatValue();
+ jdouble doubleValue();
+ jint hashCode();
+ jboolean equals(::java::lang::Object *);
+ static jlong doubleToLongBits(jdouble);
+ static jlong doubleToRawLongBits(jdouble);
+ static jdouble longBitsToDouble(jlong);
+ jint target$compareTo(::java::lang::Double *);
+ static jint compare(jdouble, jdouble);
+ jint compareTo(::java::lang::Object *);
+private:
+ static const jlong serialVersionUID = -9172774392245257468LL;
+public:
+ static jdouble MAX_VALUE;
+ static jdouble MIN_VALUE;
+ static jdouble NEGATIVE_INFINITY;
+ static jdouble POSITIVE_INFINITY;
+ static jdouble NaN;
+ static const jint SIZE = 64;
+ static ::java::lang::Class * TYPE;
+private:
+ jdouble __attribute__((aligned(__alignof__( ::java::lang::Number)))) value;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_Double__
diff --git a/libjava/java/lang/EcosProcess.h b/libjava/java/lang/EcosProcess.h
new file mode 100644
index 0000000..30fd067
--- /dev/null
+++ b/libjava/java/lang/EcosProcess.h
@@ -0,0 +1,27 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_EcosProcess__
+#define __java_lang_EcosProcess__
+
+#pragma interface
+
+#include <java/lang/Process.h>
+#include <gcj/array.h>
+
+
+class java::lang::EcosProcess : public ::java::lang::Process
+{
+
+public:
+ void destroy();
+ jint exitValue();
+ ::java::io::InputStream * getErrorStream();
+ ::java::io::InputStream * getInputStream();
+ ::java::io::OutputStream * getOutputStream();
+ jint waitFor();
+ EcosProcess(JArray< ::java::lang::String * > *, JArray< ::java::lang::String * > *, ::java::io::File *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_EcosProcess__
diff --git a/libjava/java/lang/EcosProcess.java b/libjava/java/lang/EcosProcess.java
index aff534a..30c8253 100644
--- a/libjava/java/lang/EcosProcess.java
+++ b/libjava/java/lang/EcosProcess.java
@@ -1,6 +1,6 @@
// EcosProcess.java - Subclass of Process for eCos systems.
-/* Copyright (C) 1998, 1999 Free Software Foundation
+/* Copyright (C) 1998, 1999, 2006 Free Software Foundation
This file is part of libgcj.
@@ -22,9 +22,7 @@ import java.io.IOException;
// This is entirely internal to our implementation.
-// This file is copied to `ConcreteProcess.java' before compilation.
-// Hence the class name apparently does not match the file name.
-final class ConcreteProcess extends Process
+final class EcosProcess extends Process
{
// See natEcosProcess.cc to understand why this is native.
public native void destroy ();
@@ -53,7 +51,7 @@ final class ConcreteProcess extends Process
return 0;
}
- public ConcreteProcess (String[] progarray,
+ public EcosProcess (String[] progarray,
String[] envp,
File dir)
throws IOException
diff --git a/libjava/java/lang/Enum.h b/libjava/java/lang/Enum.h
new file mode 100644
index 0000000..cb3aabc
--- /dev/null
+++ b/libjava/java/lang/Enum.h
@@ -0,0 +1,38 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_Enum__
+#define __java_lang_Enum__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::lang::Enum : public ::java::lang::Object
+{
+
+public: // actually protected
+ Enum(::java::lang::String *, jint);
+public:
+ static ::java::lang::Enum * valueOf(::java::lang::Class *, ::java::lang::String *);
+ virtual jboolean equals(::java::lang::Object *);
+ virtual jint hashCode();
+ virtual ::java::lang::String * toString();
+ virtual jint target$compareTo(::java::lang::Enum *);
+public: // actually protected
+ virtual ::java::lang::Object * clone();
+public:
+ virtual ::java::lang::String * name();
+ virtual jint ordinal();
+ virtual ::java::lang::Class * getDeclaringClass();
+ virtual jint compareTo(::java::lang::Object *);
+private:
+ static const jlong serialVersionUID = -4300926546619394005LL;
+public: // actually package-private
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) name__;
+ jint ordinal__;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_Enum__
diff --git a/libjava/java/lang/EnumConstantNotPresentException.h b/libjava/java/lang/EnumConstantNotPresentException.h
new file mode 100644
index 0000000..b3bc11b
--- /dev/null
+++ b/libjava/java/lang/EnumConstantNotPresentException.h
@@ -0,0 +1,26 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_EnumConstantNotPresentException__
+#define __java_lang_EnumConstantNotPresentException__
+
+#pragma interface
+
+#include <java/lang/RuntimeException.h>
+
+class java::lang::EnumConstantNotPresentException : public ::java::lang::RuntimeException
+{
+
+public:
+ EnumConstantNotPresentException(::java::lang::Class *, ::java::lang::String *);
+ virtual ::java::lang::String * constantName();
+ virtual ::java::lang::Class * enumType();
+private:
+ static const jlong serialVersionUID = -6046998521960521108LL;
+ ::java::lang::Class * __attribute__((aligned(__alignof__( ::java::lang::RuntimeException)))) enumType__;
+ ::java::lang::String * constantName__;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_EnumConstantNotPresentException__
diff --git a/libjava/java/lang/Error.h b/libjava/java/lang/Error.h
new file mode 100644
index 0000000..9cb6019
--- /dev/null
+++ b/libjava/java/lang/Error.h
@@ -0,0 +1,25 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_Error__
+#define __java_lang_Error__
+
+#pragma interface
+
+#include <java/lang/Throwable.h>
+
+class java::lang::Error : public ::java::lang::Throwable
+{
+
+public:
+ Error();
+ Error(::java::lang::String *);
+ Error(::java::lang::String *, ::java::lang::Throwable *);
+ Error(::java::lang::Throwable *);
+private:
+ static const jlong serialVersionUID = 4980196508277280342LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_Error__
diff --git a/libjava/java/lang/Exception.h b/libjava/java/lang/Exception.h
new file mode 100644
index 0000000..9f3ab43
--- /dev/null
+++ b/libjava/java/lang/Exception.h
@@ -0,0 +1,25 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_Exception__
+#define __java_lang_Exception__
+
+#pragma interface
+
+#include <java/lang/Throwable.h>
+
+class java::lang::Exception : public ::java::lang::Throwable
+{
+
+public:
+ Exception();
+ Exception(::java::lang::String *);
+ Exception(::java::lang::String *, ::java::lang::Throwable *);
+ Exception(::java::lang::Throwable *);
+private:
+ static const jlong serialVersionUID = -3387516993124229948LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_Exception__
diff --git a/libjava/java/lang/ExceptionInInitializerError.h b/libjava/java/lang/ExceptionInInitializerError.h
new file mode 100644
index 0000000..89fbaee
--- /dev/null
+++ b/libjava/java/lang/ExceptionInInitializerError.h
@@ -0,0 +1,28 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_ExceptionInInitializerError__
+#define __java_lang_ExceptionInInitializerError__
+
+#pragma interface
+
+#include <java/lang/LinkageError.h>
+
+class java::lang::ExceptionInInitializerError : public ::java::lang::LinkageError
+{
+
+public:
+ ExceptionInInitializerError();
+ ExceptionInInitializerError(::java::lang::String *);
+ ExceptionInInitializerError(::java::lang::Throwable *);
+ virtual ::java::lang::Throwable * getException();
+ virtual ::java::lang::Throwable * getCause();
+public: // actually package-private
+ static const jlong serialVersionUID = 1521711792217232256LL;
+private:
+ ::java::lang::Throwable * __attribute__((aligned(__alignof__( ::java::lang::LinkageError)))) exception;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_ExceptionInInitializerError__
diff --git a/libjava/java/lang/Float.h b/libjava/java/lang/Float.h
new file mode 100644
index 0000000..87859cb
--- /dev/null
+++ b/libjava/java/lang/Float.h
@@ -0,0 +1,58 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_Float__
+#define __java_lang_Float__
+
+#pragma interface
+
+#include <java/lang/Number.h>
+
+class java::lang::Float : public ::java::lang::Number
+{
+
+public:
+ Float(jfloat);
+ Float(jdouble);
+ Float(::java::lang::String *);
+ static ::java::lang::String * toString(jfloat);
+ static ::java::lang::String * toHexString(jfloat);
+ static ::java::lang::Float * valueOf(::java::lang::String *);
+ static ::java::lang::Float * valueOf(jfloat);
+ static jfloat parseFloat(::java::lang::String *);
+ static jboolean isNaN(jfloat);
+ static jboolean isInfinite(jfloat);
+ jboolean isNaN();
+ jboolean isInfinite();
+ ::java::lang::String * toString();
+ jbyte byteValue();
+ jshort shortValue();
+ jint intValue();
+ jlong longValue();
+ jfloat floatValue();
+ jdouble doubleValue();
+ jint hashCode();
+ jboolean equals(::java::lang::Object *);
+ static jint floatToIntBits(jfloat);
+ static jint floatToRawIntBits(jfloat);
+ static jfloat intBitsToFloat(jint);
+ jint target$compareTo(::java::lang::Float *);
+ static jint compare(jfloat, jfloat);
+ jint compareTo(::java::lang::Object *);
+private:
+ static const jlong serialVersionUID = -2671257302660747028LL;
+public:
+ static jfloat MAX_VALUE;
+ static jfloat MIN_VALUE;
+ static jfloat NEGATIVE_INFINITY;
+ static jfloat POSITIVE_INFINITY;
+ static jfloat NaN;
+ static ::java::lang::Class * TYPE;
+ static const jint SIZE = 32;
+private:
+ jfloat __attribute__((aligned(__alignof__( ::java::lang::Number)))) value;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_Float__
diff --git a/libjava/java/lang/IllegalAccessError.h b/libjava/java/lang/IllegalAccessError.h
new file mode 100644
index 0000000..12b8747
--- /dev/null
+++ b/libjava/java/lang/IllegalAccessError.h
@@ -0,0 +1,23 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_IllegalAccessError__
+#define __java_lang_IllegalAccessError__
+
+#pragma interface
+
+#include <java/lang/IncompatibleClassChangeError.h>
+
+class java::lang::IllegalAccessError : public ::java::lang::IncompatibleClassChangeError
+{
+
+public:
+ IllegalAccessError();
+ IllegalAccessError(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = -8988904074992417891LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_IllegalAccessError__
diff --git a/libjava/java/lang/IllegalAccessException.h b/libjava/java/lang/IllegalAccessException.h
new file mode 100644
index 0000000..c091747
--- /dev/null
+++ b/libjava/java/lang/IllegalAccessException.h
@@ -0,0 +1,23 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_IllegalAccessException__
+#define __java_lang_IllegalAccessException__
+
+#pragma interface
+
+#include <java/lang/Exception.h>
+
+class java::lang::IllegalAccessException : public ::java::lang::Exception
+{
+
+public:
+ IllegalAccessException();
+ IllegalAccessException(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = 6616958222490762034LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_IllegalAccessException__
diff --git a/libjava/java/lang/IllegalArgumentException.h b/libjava/java/lang/IllegalArgumentException.h
new file mode 100644
index 0000000..187e430
--- /dev/null
+++ b/libjava/java/lang/IllegalArgumentException.h
@@ -0,0 +1,25 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_IllegalArgumentException__
+#define __java_lang_IllegalArgumentException__
+
+#pragma interface
+
+#include <java/lang/RuntimeException.h>
+
+class java::lang::IllegalArgumentException : public ::java::lang::RuntimeException
+{
+
+public:
+ IllegalArgumentException();
+ IllegalArgumentException(::java::lang::String *);
+ IllegalArgumentException(::java::lang::String *, ::java::lang::Throwable *);
+ IllegalArgumentException(::java::lang::Throwable *);
+private:
+ static const jlong serialVersionUID = -5365630128856068164LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_IllegalArgumentException__
diff --git a/libjava/java/lang/IllegalMonitorStateException.h b/libjava/java/lang/IllegalMonitorStateException.h
new file mode 100644
index 0000000..ad9cb59
--- /dev/null
+++ b/libjava/java/lang/IllegalMonitorStateException.h
@@ -0,0 +1,23 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_IllegalMonitorStateException__
+#define __java_lang_IllegalMonitorStateException__
+
+#pragma interface
+
+#include <java/lang/RuntimeException.h>
+
+class java::lang::IllegalMonitorStateException : public ::java::lang::RuntimeException
+{
+
+public:
+ IllegalMonitorStateException();
+ IllegalMonitorStateException(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = 3713306369498869069LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_IllegalMonitorStateException__
diff --git a/libjava/java/lang/IllegalStateException.h b/libjava/java/lang/IllegalStateException.h
new file mode 100644
index 0000000..e79bced
--- /dev/null
+++ b/libjava/java/lang/IllegalStateException.h
@@ -0,0 +1,25 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_IllegalStateException__
+#define __java_lang_IllegalStateException__
+
+#pragma interface
+
+#include <java/lang/RuntimeException.h>
+
+class java::lang::IllegalStateException : public ::java::lang::RuntimeException
+{
+
+public:
+ IllegalStateException();
+ IllegalStateException(::java::lang::String *);
+ IllegalStateException(::java::lang::String *, ::java::lang::Throwable *);
+ IllegalStateException(::java::lang::Throwable *);
+private:
+ static const jlong serialVersionUID = -1848914673093119416LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_IllegalStateException__
diff --git a/libjava/java/lang/IllegalThreadStateException.h b/libjava/java/lang/IllegalThreadStateException.h
new file mode 100644
index 0000000..066eb92
--- /dev/null
+++ b/libjava/java/lang/IllegalThreadStateException.h
@@ -0,0 +1,23 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_IllegalThreadStateException__
+#define __java_lang_IllegalThreadStateException__
+
+#pragma interface
+
+#include <java/lang/IllegalArgumentException.h>
+
+class java::lang::IllegalThreadStateException : public ::java::lang::IllegalArgumentException
+{
+
+public:
+ IllegalThreadStateException();
+ IllegalThreadStateException(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = -7626246362397460174LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_IllegalThreadStateException__
diff --git a/libjava/java/lang/IncompatibleClassChangeError.h b/libjava/java/lang/IncompatibleClassChangeError.h
new file mode 100644
index 0000000..ca40991
--- /dev/null
+++ b/libjava/java/lang/IncompatibleClassChangeError.h
@@ -0,0 +1,23 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_IncompatibleClassChangeError__
+#define __java_lang_IncompatibleClassChangeError__
+
+#pragma interface
+
+#include <java/lang/LinkageError.h>
+
+class java::lang::IncompatibleClassChangeError : public ::java::lang::LinkageError
+{
+
+public:
+ IncompatibleClassChangeError();
+ IncompatibleClassChangeError(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = -4914975503642802119LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_IncompatibleClassChangeError__
diff --git a/libjava/java/lang/IndexOutOfBoundsException.h b/libjava/java/lang/IndexOutOfBoundsException.h
new file mode 100644
index 0000000..4cd4184
--- /dev/null
+++ b/libjava/java/lang/IndexOutOfBoundsException.h
@@ -0,0 +1,23 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_IndexOutOfBoundsException__
+#define __java_lang_IndexOutOfBoundsException__
+
+#pragma interface
+
+#include <java/lang/RuntimeException.h>
+
+class java::lang::IndexOutOfBoundsException : public ::java::lang::RuntimeException
+{
+
+public:
+ IndexOutOfBoundsException();
+ IndexOutOfBoundsException(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = 234122996006267687LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_IndexOutOfBoundsException__
diff --git a/libjava/java/lang/InheritableThreadLocal.h b/libjava/java/lang/InheritableThreadLocal.h
new file mode 100644
index 0000000..9caf6f3
--- /dev/null
+++ b/libjava/java/lang/InheritableThreadLocal.h
@@ -0,0 +1,24 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_InheritableThreadLocal__
+#define __java_lang_InheritableThreadLocal__
+
+#pragma interface
+
+#include <java/lang/ThreadLocal.h>
+
+class java::lang::InheritableThreadLocal : public ::java::lang::ThreadLocal
+{
+
+public:
+ InheritableThreadLocal();
+public: // actually protected
+ virtual ::java::lang::Object * childValue(::java::lang::Object *);
+public: // actually package-private
+ static void newChildThread(::java::lang::Thread *);
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_InheritableThreadLocal__
diff --git a/libjava/java/lang/InstantiationError.h b/libjava/java/lang/InstantiationError.h
new file mode 100644
index 0000000..4b817d2
--- /dev/null
+++ b/libjava/java/lang/InstantiationError.h
@@ -0,0 +1,23 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_InstantiationError__
+#define __java_lang_InstantiationError__
+
+#pragma interface
+
+#include <java/lang/IncompatibleClassChangeError.h>
+
+class java::lang::InstantiationError : public ::java::lang::IncompatibleClassChangeError
+{
+
+public:
+ InstantiationError();
+ InstantiationError(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = -4885810657349421204LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_InstantiationError__
diff --git a/libjava/java/lang/InstantiationException.h b/libjava/java/lang/InstantiationException.h
new file mode 100644
index 0000000..805ab3c
--- /dev/null
+++ b/libjava/java/lang/InstantiationException.h
@@ -0,0 +1,23 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_InstantiationException__
+#define __java_lang_InstantiationException__
+
+#pragma interface
+
+#include <java/lang/Exception.h>
+
+class java::lang::InstantiationException : public ::java::lang::Exception
+{
+
+public:
+ InstantiationException();
+ InstantiationException(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = -8441929162975509110LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_InstantiationException__
diff --git a/libjava/java/lang/Integer.h b/libjava/java/lang/Integer.h
new file mode 100644
index 0000000..e33c78f
--- /dev/null
+++ b/libjava/java/lang/Integer.h
@@ -0,0 +1,74 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_Integer__
+#define __java_lang_Integer__
+
+#pragma interface
+
+#include <java/lang/Number.h>
+#include <gcj/array.h>
+
+
+class java::lang::Integer : public ::java::lang::Number
+{
+
+public:
+ Integer(jint);
+ Integer(::java::lang::String *);
+ static ::java::lang::String * toString(jint, jint);
+ static ::java::lang::String * toHexString(jint);
+ static ::java::lang::String * toOctalString(jint);
+ static ::java::lang::String * toBinaryString(jint);
+ static ::java::lang::String * toString(jint);
+ static jint parseInt(::java::lang::String *, jint);
+ static jint parseInt(::java::lang::String *);
+ static ::java::lang::Integer * valueOf(::java::lang::String *, jint);
+ static ::java::lang::Integer * valueOf(::java::lang::String *);
+ static ::java::lang::Integer * valueOf(jint);
+ jbyte byteValue();
+ jshort shortValue();
+ jint intValue();
+ jlong longValue();
+ jfloat floatValue();
+ jdouble doubleValue();
+ ::java::lang::String * toString();
+ jint hashCode();
+ jboolean equals(::java::lang::Object *);
+ static ::java::lang::Integer * getInteger(::java::lang::String *);
+ static ::java::lang::Integer * getInteger(::java::lang::String *, jint);
+ static ::java::lang::Integer * getInteger(::java::lang::String *, ::java::lang::Integer *);
+ static ::java::lang::Integer * decode(::java::lang::String *);
+ jint target$compareTo(::java::lang::Integer *);
+ static jint bitCount(jint);
+ static jint rotateLeft(jint, jint);
+ static jint rotateRight(jint, jint);
+ static jint highestOneBit(jint);
+ static jint numberOfLeadingZeros(jint);
+ static jint lowestOneBit(jint);
+ static jint numberOfTrailingZeros(jint);
+ static jint signum(jint);
+ static jint reverseBytes(jint);
+ static jint reverse(jint);
+public: // actually package-private
+ static ::java::lang::String * toUnsignedString(jint, jint);
+ static jint parseInt(::java::lang::String *, jint, jboolean);
+public:
+ jint compareTo(::java::lang::Object *);
+private:
+ static const jlong serialVersionUID = 1360826667806852920LL;
+public:
+ static const jint MIN_VALUE = -2147483647 - 1;
+ static const jint MAX_VALUE = 2147483647;
+ static ::java::lang::Class * TYPE;
+ static const jint SIZE = 32;
+private:
+ static const jint MIN_CACHE = -128;
+ static const jint MAX_CACHE = 127;
+ static JArray< ::java::lang::Integer * > * intCache;
+ jint __attribute__((aligned(__alignof__( ::java::lang::Number)))) value;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_Integer__
diff --git a/libjava/java/lang/InternalError.h b/libjava/java/lang/InternalError.h
new file mode 100644
index 0000000..b0477bb
--- /dev/null
+++ b/libjava/java/lang/InternalError.h
@@ -0,0 +1,23 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_InternalError__
+#define __java_lang_InternalError__
+
+#pragma interface
+
+#include <java/lang/VirtualMachineError.h>
+
+class java::lang::InternalError : public ::java::lang::VirtualMachineError
+{
+
+public:
+ InternalError();
+ InternalError(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = -9062593416125562365LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_InternalError__
diff --git a/libjava/java/lang/InterruptedException.h b/libjava/java/lang/InterruptedException.h
new file mode 100644
index 0000000..c452de6
--- /dev/null
+++ b/libjava/java/lang/InterruptedException.h
@@ -0,0 +1,23 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_InterruptedException__
+#define __java_lang_InterruptedException__
+
+#pragma interface
+
+#include <java/lang/Exception.h>
+
+class java::lang::InterruptedException : public ::java::lang::Exception
+{
+
+public:
+ InterruptedException();
+ InterruptedException(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = 6700697376100628473LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_InterruptedException__
diff --git a/libjava/java/lang/Iterable.h b/libjava/java/lang/Iterable.h
new file mode 100644
index 0000000..3bdb254
--- /dev/null
+++ b/libjava/java/lang/Iterable.h
@@ -0,0 +1,19 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_Iterable__
+#define __java_lang_Iterable__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::lang::Iterable : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::util::Iterator * iterator() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_lang_Iterable__
diff --git a/libjava/java/lang/LinkageError.h b/libjava/java/lang/LinkageError.h
new file mode 100644
index 0000000..4368d8b
--- /dev/null
+++ b/libjava/java/lang/LinkageError.h
@@ -0,0 +1,23 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_LinkageError__
+#define __java_lang_LinkageError__
+
+#pragma interface
+
+#include <java/lang/Error.h>
+
+class java::lang::LinkageError : public ::java::lang::Error
+{
+
+public:
+ LinkageError();
+ LinkageError(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = 3579600108157160122LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_LinkageError__
diff --git a/libjava/java/lang/Long.h b/libjava/java/lang/Long.h
new file mode 100644
index 0000000..da04281
--- /dev/null
+++ b/libjava/java/lang/Long.h
@@ -0,0 +1,69 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_Long__
+#define __java_lang_Long__
+
+#pragma interface
+
+#include <java/lang/Number.h>
+
+class java::lang::Long : public ::java::lang::Number
+{
+
+public:
+ Long(jlong);
+ Long(::java::lang::String *);
+ static ::java::lang::String * toString(jlong, jint);
+ static ::java::lang::String * toHexString(jlong);
+ static ::java::lang::String * toOctalString(jlong);
+ static ::java::lang::String * toBinaryString(jlong);
+ static ::java::lang::String * toString(jlong);
+ static jlong parseLong(::java::lang::String *, jint);
+ static jlong parseLong(::java::lang::String *);
+ static ::java::lang::Long * valueOf(::java::lang::String *, jint);
+ static ::java::lang::Long * valueOf(::java::lang::String *);
+ static ::java::lang::Long * valueOf(jlong);
+ static ::java::lang::Long * decode(::java::lang::String *);
+ jbyte byteValue();
+ jshort shortValue();
+ jint intValue();
+ jlong longValue();
+ jfloat floatValue();
+ jdouble doubleValue();
+ ::java::lang::String * toString();
+ jint hashCode();
+ jboolean equals(::java::lang::Object *);
+ static ::java::lang::Long * getLong(::java::lang::String *);
+ static ::java::lang::Long * getLong(::java::lang::String *, jlong);
+ static ::java::lang::Long * getLong(::java::lang::String *, ::java::lang::Long *);
+ jint target$compareTo(::java::lang::Long *);
+ static jint bitCount(jlong);
+ static jlong rotateLeft(jlong, jint);
+ static jlong rotateRight(jlong, jint);
+ static jlong highestOneBit(jlong);
+ static jint numberOfLeadingZeros(jlong);
+ static jlong lowestOneBit(jlong);
+ static jint numberOfTrailingZeros(jlong);
+ static jint signum(jlong);
+ static jlong reverseBytes(jlong);
+ static jlong reverse(jlong);
+private:
+ static ::java::lang::String * toUnsignedString(jlong, jint);
+ static jlong parseLong(::java::lang::String *, jint, jboolean);
+public:
+ jint compareTo(::java::lang::Object *);
+private:
+ static const jlong serialVersionUID = 4290774380558885855LL;
+public:
+ static const jlong MIN_VALUE = -9223372036854775807LL - 1;
+ static const jlong MAX_VALUE = 9223372036854775807LL;
+ static ::java::lang::Class * TYPE;
+ static const jint SIZE = 64;
+private:
+ jlong __attribute__((aligned(__alignof__( ::java::lang::Number)))) value;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_Long__
diff --git a/libjava/java/lang/Math.h b/libjava/java/lang/Math.h
new file mode 100644
index 0000000..32707e9
--- /dev/null
+++ b/libjava/java/lang/Math.h
@@ -0,0 +1,68 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_Math__
+#define __java_lang_Math__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::lang::Math : public ::java::lang::Object
+{
+
+ Math();
+public:
+ static jint abs(jint);
+ static jlong abs(jlong);
+ static jfloat abs(jfloat);
+ static jdouble abs(jdouble);
+ static jint min(jint, jint);
+ static jlong min(jlong, jlong);
+ static jfloat min(jfloat, jfloat);
+ static jdouble min(jdouble, jdouble);
+ static jint max(jint, jint);
+ static jlong max(jlong, jlong);
+ static jfloat max(jfloat, jfloat);
+ static jdouble max(jdouble, jdouble);
+ static jdouble sin(jdouble);
+ static jdouble cos(jdouble);
+ static jdouble tan(jdouble);
+ static jdouble asin(jdouble);
+ static jdouble acos(jdouble);
+ static jdouble atan(jdouble);
+ static jdouble atan2(jdouble, jdouble);
+ static jdouble exp(jdouble);
+ static jdouble log(jdouble);
+ static jdouble sqrt(jdouble);
+ static jdouble pow(jdouble, jdouble);
+ static jdouble IEEEremainder(jdouble, jdouble);
+ static jdouble ceil(jdouble);
+ static jdouble floor(jdouble);
+ static jdouble rint(jdouble);
+ static jint round(jfloat);
+ static jlong round(jdouble);
+ static jdouble random();
+ static jdouble toRadians(jdouble);
+ static jdouble toDegrees(jdouble);
+ static jdouble cbrt(jdouble);
+ static jdouble cosh(jdouble);
+ static jdouble expm1(jdouble);
+ static jdouble hypot(jdouble, jdouble);
+ static jdouble log10(jdouble);
+ static jdouble log1p(jdouble);
+ static jdouble signum(jdouble);
+ static jfloat signum(jfloat);
+ static jdouble sinh(jdouble);
+ static jdouble tanh(jdouble);
+ static jdouble ulp(jdouble);
+ static jfloat ulp(jfloat);
+private:
+ static ::java::util::Random * rand;
+public:
+ static jdouble E;
+ static jdouble PI;
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_Math__
diff --git a/libjava/java/lang/NegativeArraySizeException.h b/libjava/java/lang/NegativeArraySizeException.h
new file mode 100644
index 0000000..e05f7c5
--- /dev/null
+++ b/libjava/java/lang/NegativeArraySizeException.h
@@ -0,0 +1,23 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_NegativeArraySizeException__
+#define __java_lang_NegativeArraySizeException__
+
+#pragma interface
+
+#include <java/lang/RuntimeException.h>
+
+class java::lang::NegativeArraySizeException : public ::java::lang::RuntimeException
+{
+
+public:
+ NegativeArraySizeException();
+ NegativeArraySizeException(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = -8960118058596991861LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_NegativeArraySizeException__
diff --git a/libjava/java/lang/NoClassDefFoundError.h b/libjava/java/lang/NoClassDefFoundError.h
new file mode 100644
index 0000000..90790a7
--- /dev/null
+++ b/libjava/java/lang/NoClassDefFoundError.h
@@ -0,0 +1,23 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_NoClassDefFoundError__
+#define __java_lang_NoClassDefFoundError__
+
+#pragma interface
+
+#include <java/lang/LinkageError.h>
+
+class java::lang::NoClassDefFoundError : public ::java::lang::LinkageError
+{
+
+public:
+ NoClassDefFoundError();
+ NoClassDefFoundError(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = 9095859863287012458LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_NoClassDefFoundError__
diff --git a/libjava/java/lang/NoSuchFieldError.h b/libjava/java/lang/NoSuchFieldError.h
new file mode 100644
index 0000000..65f444e
--- /dev/null
+++ b/libjava/java/lang/NoSuchFieldError.h
@@ -0,0 +1,23 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_NoSuchFieldError__
+#define __java_lang_NoSuchFieldError__
+
+#pragma interface
+
+#include <java/lang/IncompatibleClassChangeError.h>
+
+class java::lang::NoSuchFieldError : public ::java::lang::IncompatibleClassChangeError
+{
+
+public:
+ NoSuchFieldError();
+ NoSuchFieldError(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = -3456430195886129035LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_NoSuchFieldError__
diff --git a/libjava/java/lang/NoSuchFieldException.h b/libjava/java/lang/NoSuchFieldException.h
new file mode 100644
index 0000000..36fe841
--- /dev/null
+++ b/libjava/java/lang/NoSuchFieldException.h
@@ -0,0 +1,23 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_NoSuchFieldException__
+#define __java_lang_NoSuchFieldException__
+
+#pragma interface
+
+#include <java/lang/Exception.h>
+
+class java::lang::NoSuchFieldException : public ::java::lang::Exception
+{
+
+public:
+ NoSuchFieldException();
+ NoSuchFieldException(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = -6143714805279938260LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_NoSuchFieldException__
diff --git a/libjava/java/lang/NoSuchMethodError.h b/libjava/java/lang/NoSuchMethodError.h
new file mode 100644
index 0000000..5db0a04
--- /dev/null
+++ b/libjava/java/lang/NoSuchMethodError.h
@@ -0,0 +1,23 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_NoSuchMethodError__
+#define __java_lang_NoSuchMethodError__
+
+#pragma interface
+
+#include <java/lang/IncompatibleClassChangeError.h>
+
+class java::lang::NoSuchMethodError : public ::java::lang::IncompatibleClassChangeError
+{
+
+public:
+ NoSuchMethodError();
+ NoSuchMethodError(::java::lang::String *);
+public: // actually package-private
+ static const jlong serialVersionUID = -3765521442372831335LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_NoSuchMethodError__
diff --git a/libjava/java/lang/NoSuchMethodException.h b/libjava/java/lang/NoSuchMethodException.h
new file mode 100644
index 0000000..dc905d6
--- /dev/null
+++ b/libjava/java/lang/NoSuchMethodException.h
@@ -0,0 +1,23 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_NoSuchMethodException__
+#define __java_lang_NoSuchMethodException__
+
+#pragma interface
+
+#include <java/lang/Exception.h>
+
+class java::lang::NoSuchMethodException : public ::java::lang::Exception
+{
+
+public:
+ NoSuchMethodException();
+ NoSuchMethodException(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = 5034388446362600923LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_NoSuchMethodException__
diff --git a/libjava/java/lang/NullPointerException.h b/libjava/java/lang/NullPointerException.h
new file mode 100644
index 0000000..4af582c
--- /dev/null
+++ b/libjava/java/lang/NullPointerException.h
@@ -0,0 +1,23 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_NullPointerException__
+#define __java_lang_NullPointerException__
+
+#pragma interface
+
+#include <java/lang/RuntimeException.h>
+
+class java::lang::NullPointerException : public ::java::lang::RuntimeException
+{
+
+public:
+ NullPointerException();
+ NullPointerException(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = 5162710183389028792LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_NullPointerException__
diff --git a/libjava/java/lang/Number.h b/libjava/java/lang/Number.h
new file mode 100644
index 0000000..65ba920
--- /dev/null
+++ b/libjava/java/lang/Number.h
@@ -0,0 +1,32 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_Number__
+#define __java_lang_Number__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+
+class java::lang::Number : public ::java::lang::Object
+{
+
+public:
+ Number();
+ virtual jint intValue() = 0;
+ virtual jlong longValue() = 0;
+ virtual jfloat floatValue() = 0;
+ virtual jdouble doubleValue() = 0;
+ virtual jbyte byteValue();
+ virtual jshort shortValue();
+private:
+ static const jlong serialVersionUID = -8742448824652078965LL;
+public: // actually package-private
+ static JArray< jchar > * digits;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_Number__
diff --git a/libjava/java/lang/NumberFormatException.h b/libjava/java/lang/NumberFormatException.h
new file mode 100644
index 0000000..34bd4d6
--- /dev/null
+++ b/libjava/java/lang/NumberFormatException.h
@@ -0,0 +1,23 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_NumberFormatException__
+#define __java_lang_NumberFormatException__
+
+#pragma interface
+
+#include <java/lang/IllegalArgumentException.h>
+
+class java::lang::NumberFormatException : public ::java::lang::IllegalArgumentException
+{
+
+public:
+ NumberFormatException();
+ NumberFormatException(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = -2848938806368998894LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_NumberFormatException__
diff --git a/libjava/java/lang/OutOfMemoryError.h b/libjava/java/lang/OutOfMemoryError.h
new file mode 100644
index 0000000..7fac1f5
--- /dev/null
+++ b/libjava/java/lang/OutOfMemoryError.h
@@ -0,0 +1,23 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_OutOfMemoryError__
+#define __java_lang_OutOfMemoryError__
+
+#pragma interface
+
+#include <java/lang/VirtualMachineError.h>
+
+class java::lang::OutOfMemoryError : public ::java::lang::VirtualMachineError
+{
+
+public:
+ OutOfMemoryError();
+ OutOfMemoryError(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = 8228564086184010517LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_OutOfMemoryError__
diff --git a/libjava/java/lang/Override.h b/libjava/java/lang/Override.h
new file mode 100644
index 0000000..e6424ee
--- /dev/null
+++ b/libjava/java/lang/Override.h
@@ -0,0 +1,19 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_Override__
+#define __java_lang_Override__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::lang::Override : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::lang::Class * annotationType() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_lang_Override__
diff --git a/libjava/java/lang/Package.h b/libjava/java/lang/Package.h
new file mode 100644
index 0000000..6d12d9f
--- /dev/null
+++ b/libjava/java/lang/Package.h
@@ -0,0 +1,62 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_Package__
+#define __java_lang_Package__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace net
+ {
+ class URL;
+ }
+ }
+}
+
+class java::lang::Package : public ::java::lang::Object
+{
+
+public: // actually package-private
+ Package(::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::net::URL *);
+ Package(::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::net::URL *, ::java::lang::ClassLoader *);
+public:
+ virtual ::java::lang::String * getName();
+ virtual ::java::lang::String * getSpecificationTitle();
+ virtual ::java::lang::String * getSpecificationVersion();
+ virtual ::java::lang::String * getSpecificationVendor();
+ virtual ::java::lang::String * getImplementationTitle();
+ virtual ::java::lang::String * getImplementationVersion();
+ virtual ::java::lang::String * getImplementationVendor();
+ virtual jboolean isSealed();
+ virtual jboolean isSealed(::java::net::URL *);
+ virtual jboolean isCompatibleWith(::java::lang::String *);
+ static ::java::lang::Package * getPackage(::java::lang::String *);
+ static JArray< ::java::lang::Package * > * getPackages();
+ virtual jint hashCode();
+ virtual ::java::lang::String * toString();
+ virtual ::java::lang::annotation::Annotation * getAnnotation(::java::lang::Class *);
+ virtual JArray< ::java::lang::annotation::Annotation * > * getAnnotations();
+ virtual JArray< ::java::lang::annotation::Annotation * > * getDeclaredAnnotations();
+ virtual jboolean isAnnotationPresent(::java::lang::Class *);
+private:
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) name;
+ ::java::lang::String * implTitle;
+ ::java::lang::String * implVendor;
+ ::java::lang::String * implVersion;
+ ::java::lang::String * specTitle;
+ ::java::lang::String * specVendor;
+ ::java::lang::String * specVersion;
+ ::java::net::URL * sealed;
+ ::java::lang::ClassLoader * loader;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_Package__
diff --git a/libjava/java/lang/Package.java b/libjava/java/lang/Package.java
deleted file mode 100644
index 892380f..0000000
--- a/libjava/java/lang/Package.java
+++ /dev/null
@@ -1,415 +0,0 @@
-/* Package.java -- information about a package
- Copyright (C) 2000, 2001, 2002, 2003, 2005, 2006
- Free Software Foundation, Inc.
-
-This file is part of GNU Classpath.
-
-GNU Classpath is free software; you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 2, or (at your option)
-any later version.
-
-GNU Classpath is distributed in the hope that it will be useful, but
-WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with GNU Classpath; see the file COPYING. If not, write to the
-Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
-02110-1301 USA.
-
-Linking this library statically or dynamically with other modules is
-making a combined work based on this library. Thus, the terms and
-conditions of the GNU General Public License cover the whole
-combination.
-
-As a special exception, the copyright holders of this library give you
-permission to link this library with independent modules to produce an
-executable, regardless of the license terms of these independent
-modules, and to copy and distribute the resulting executable under
-terms of your choice, provided that you also meet, for each linked
-independent module, the terms and conditions of the license of that
-module. An independent module is a module which is not derived from
-or based on this library. If you modify this library, you may extend
-this exception to your version of the library, but you are not
-obligated to do so. If you do not wish to do so, delete this
-exception statement from your version. */
-
-package java.lang;
-
-import java.lang.annotation.Annotation;
-import java.lang.reflect.AnnotatedElement;
-import java.net.URL;
-import java.util.NoSuchElementException;
-import java.util.StringTokenizer;
-
-
-/**
- * Everything you ever wanted to know about a package. This class makes it
- * possible to attach specification and implementation information to a
- * package as explained in the
- * <a href="http://java.sun.com/products/jdk/1.3/docs/guide/versioning/spec/VersioningSpecification.html#PackageVersionSpecification">Package Versioning Specification</a>
- * section of the
- * <a href="http://java.sun.com/products/jdk/1.3/docs/guide/versioning/spec/VersioningSpecification.html">Product Versioning Specification</a>.
- * It also allows packages to be sealed with respect to the originating URL.
- *
- * <p>The most useful method is the <code>isCompatibleWith()</code> method that
- * compares a desired version of a specification with the version of the
- * specification as implemented by a package. A package is considered
- * compatible with another version if the version of the specification is
- * equal or higher then the requested version. Version numbers are represented
- * as strings of positive numbers separated by dots (e.g. "1.2.0").
- * The first number is called the major number, the second the minor,
- * the third the micro, etc. A version is considered higher then another
- * version if it has a bigger major number then the another version or when
- * the major numbers of the versions are equal if it has a bigger minor number
- * then the other version, etc. (If a version has no minor, micro, etc numbers
- * then they are considered the be 0.)
- *
- * @author Mark Wielaard (mark@klomp.org)
- * @see ClassLoader#definePackage(String, String, String, String, String,
- * String, String, URL)
- * @since 1.2
- * @status updated to 1.5
- */
-public class Package
- implements AnnotatedElement
-{
- /** The name of the Package */
- private final String name;
-
- /** The name if the implementation */
- private final String implTitle;
-
- /** The vendor that wrote this implementation */
- private final String implVendor;
-
- /** The version of this implementation */
- private final String implVersion;
-
- /** The name of the specification */
- private final String specTitle;
-
- /** The name of the specification designer */
- private final String specVendor;
-
- /** The version of this specification */
- private final String specVersion;
-
- /** If sealed the origin of the package classes, otherwise null */
- private final URL sealed;
-
- /** The class loader that defined this package */
- private ClassLoader loader;
-
- /** @deprecated Please use the other constructor that takes the class loader
- * that defines the Package.
- */
- Package(String name,
- String specTitle, String specVendor, String specVersion,
- String implTitle, String implVendor, String implVersion, URL sealed)
- {
- this(name, specTitle, specVendor, specVersion, implTitle, implVendor,
- implVersion, sealed, null);
- }
-
- /**
- * A package local constructor for the Package class. All parameters except
- * the <code>name</code> of the package may be <code>null</code>.
- * There are no public constructors defined for Package; this is a package
- * local constructor that is used by java.lang.Classloader.definePackage().
- *
- * @param name The name of the Package
- * @param specTitle The name of the specification
- * @param specVendor The name of the specification designer
- * @param specVersion The version of this specification
- * @param implTitle The name of the implementation
- * @param implVendor The vendor that wrote this implementation
- * @param implVersion The version of this implementation
- * @param sealed If sealed the origin of the package classes
- */
- Package(String name,
- String specTitle, String specVendor, String specVersion,
- String implTitle, String implVendor, String implVersion, URL sealed,
- ClassLoader loader)
- {
- if (name == null)
- throw new IllegalArgumentException("null Package name");
-
- this.name = name;
- this.implTitle = implTitle;
- this.implVendor = implVendor;
- this.implVersion = implVersion;
- this.specTitle = specTitle;
- this.specVendor = specVendor;
- this.specVersion = specVersion;
- this.sealed = sealed;
- this.loader = loader;
- }
-
- /**
- * Returns the Package name in dot-notation.
- *
- * @return the non-null package name
- */
- public String getName()
- {
- return name;
- }
-
- /**
- * Returns the name of the specification, or null if unknown.
- *
- * @return the specification title
- */
- public String getSpecificationTitle()
- {
- return specTitle;
- }
-
- /**
- * Returns the version of the specification, or null if unknown.
- *
- * @return the specification version
- */
- public String getSpecificationVersion()
- {
- return specVersion;
- }
-
- /**
- * Returns the name of the specification designer, or null if unknown.
- *
- * @return the specification vendor
- */
- public String getSpecificationVendor()
- {
- return specVendor;
- }
-
- /**
- * Returns the name of the implementation, or null if unknown.
- *
- * @return the implementation title
- */
- public String getImplementationTitle()
- {
- return implTitle;
- }
-
- /**
- * Returns the version of this implementation, or null if unknown.
- *
- * @return the implementation version
- */
- public String getImplementationVersion()
- {
- return implVersion;
- }
-
- /**
- * Returns the vendor that wrote this implementation, or null if unknown.
- *
- * @return the implementation vendor
- */
- public String getImplementationVendor()
- {
- return implVendor;
- }
-
- /**
- * Returns true if this Package is sealed.
- *
- * @return true if the package is sealed
- */
- public boolean isSealed()
- {
- return sealed != null;
- }
-
- /**
- * Returns true if this Package is sealed and the origin of the classes is
- * the given URL.
- *
- * @param url the URL to test
- * @return true if the package is sealed by this URL
- * @throws NullPointerException if url is null
- */
- public boolean isSealed(URL url)
- {
- return url.equals(sealed);
- }
-
- /**
- * Checks if the version of the specification is higher or at least as high
- * as the desired version. Comparison is done by sequentially comparing
- * dotted decimal numbers from the parameter and from
- * <code>getSpecificationVersion</code>.
- *
- * @param version the (minimal) desired version of the specification
- *
- * @return true if the version is compatible, false otherwise
- *
- * @throws NumberFormatException if either version string is invalid
- * @throws NullPointerException if either version string is null
- */
- public boolean isCompatibleWith(String version)
- {
- StringTokenizer versionTokens = new StringTokenizer(version, ".");
- StringTokenizer specTokens = new StringTokenizer(specVersion, ".");
- try
- {
- while (versionTokens.hasMoreElements())
- {
- int vers = Integer.parseInt(versionTokens.nextToken());
- int spec = Integer.parseInt(specTokens.nextToken());
- if (spec < vers)
- return false;
- else if (spec > vers)
- return true;
- // They must be equal, next Token please!
- }
- }
- catch (NoSuchElementException e)
- {
- // This must have been thrown by spec.nextToken() so return false.
- return false;
- }
- // They must have been exactly the same version.
- // Or the specVersion has more subversions. That is also good.
- return true;
- }
-
- /**
- * Returns the named package if it is known by the callers class loader.
- * It may return null if the package is unknown, when there is no
- * information on that particular package available or when the callers
- * classloader is null.
- *
- * @param name the name of the desired package
- * @return the package by that name in the current ClassLoader
- */
- public static Package getPackage(String name)
- {
- // Get the caller's classloader
- ClassLoader cl = VMSecurityManager.currentClassLoader(Package.class);
- return cl != null ? cl.getPackage(name) : VMClassLoader.getPackage(name);
- }
-
- /**
- * Returns all the packages that are known to the callers class loader.
- * It may return an empty array if the classloader of the caller is null.
- *
- * @return an array of all known packages
- */
- public static Package[] getPackages()
- {
- // Get the caller's classloader
- Class c = VMSecurityManager.getClassContext(Package.class)[1];
- ClassLoader cl = c.getClassLoader();
- return cl != null ? cl.getPackages() : VMClassLoader.getPackages();
- }
-
- /**
- * Returns the hashCode of the name of this package.
- *
- * @return the hash code
- */
- public int hashCode()
- {
- return name.hashCode();
- }
-
- /**
- * Returns a string representation of this package. It is specified to
- * be <code>"package " + getName() + (getSpecificationTitle() == null
- * ? "" : ", " + getSpecificationTitle()) + (getSpecificationVersion()
- * == null ? "" : ", version " + getSpecificationVersion())</code>.
- *
- * @return the string representation of the package
- */
- public String toString()
- {
- return ("package " + name + (specTitle == null ? "" : ", " + specTitle)
- + (specVersion == null ? "" : ", version " + specVersion));
- }
-
- /**
- * Returns this package's annotation for the specified annotation type,
- * or <code>null</code> if no such annotation exists.
- *
- * @param annotationClass the type of annotation to look for.
- * @return this package's annotation for the specified type, or
- * <code>null</code> if no such annotation exists.
- * @since 1.5
- */
- /* FIXME[GENERICS]: <T extends Annotation> T getAnnotation(Class <T>) */
- public Annotation getAnnotation(Class annotationClass)
- {
- Annotation foundAnnotation = null;
- Annotation[] annotations = getAnnotations();
- for (int i = 0; i < annotations.length; i++)
- if (annotations[i].annotationType() == annotationClass)
- foundAnnotation = annotations[i];
- return foundAnnotation;
- }
-
- /**
- * Returns all annotations associated with this package. If there are
- * no annotations associated with this package, then a zero-length array
- * will be returned. The returned array may be modified by the client
- * code, but this will have no effect on the annotation content of this
- * package, and hence no effect on the return value of this method for
- * future callers.
- *
- * @return this package' annotations.
- * @since 1.5
- */
- public Annotation[] getAnnotations()
- {
- /** All a package's annotations are declared within it. */
- return getDeclaredAnnotations();
- }
-
- /**
- * Returns all annotations directly defined by this package. If there are
- * no annotations associated with this package, then a zero-length array
- * will be returned. The returned array may be modified by the client
- * code, but this will have no effect on the annotation content of this
- * package, and hence no effect on the return value of this method for
- * future callers.
- *
- * @return the annotations directly defined by this package.
- * @since 1.5
- */
- public Annotation[] getDeclaredAnnotations()
- {
- try
- {
- Class pkgInfo = Class.forName(name + ".package-info", false, loader);
- return pkgInfo.getDeclaredAnnotations();
- }
- catch (ClassNotFoundException _)
- {
- return new Annotation[0];
- }
- }
-
- /**
- * Returns true if an annotation for the specified type is associated
- * with this package. This is primarily a short-hand for using marker
- * annotations.
- *
- * @param annotationClass the type of annotation to look for.
- * @return true if an annotation exists for the specified type.
- * @since 1.5
- */
- /* FIXME[GENERICS]: Signature is Class<? extends Annotation> */
- public boolean isAnnotationPresent(Class
- annotationClass)
- {
- return getAnnotation(annotationClass) != null;
- }
-
-} // class Package
diff --git a/libjava/java/lang/PosixProcess$EOFInputStream.h b/libjava/java/lang/PosixProcess$EOFInputStream.h
new file mode 100644
index 0000000..bda1653
--- /dev/null
+++ b/libjava/java/lang/PosixProcess$EOFInputStream.h
@@ -0,0 +1,24 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_PosixProcess$EOFInputStream__
+#define __java_lang_PosixProcess$EOFInputStream__
+
+#pragma interface
+
+#include <java/io/InputStream.h>
+
+class java::lang::PosixProcess$EOFInputStream : public ::java::io::InputStream
+{
+
+public: // actually package-private
+ PosixProcess$EOFInputStream();
+public:
+ virtual jint read();
+public: // actually package-private
+ static ::java::lang::PosixProcess$EOFInputStream * instance;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_PosixProcess$EOFInputStream__
diff --git a/libjava/java/lang/PosixProcess$ProcessManager.h b/libjava/java/lang/PosixProcess$ProcessManager.h
new file mode 100644
index 0000000..d8d0d59
--- /dev/null
+++ b/libjava/java/lang/PosixProcess$ProcessManager.h
@@ -0,0 +1,39 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_PosixProcess$ProcessManager__
+#define __java_lang_PosixProcess$ProcessManager__
+
+#pragma interface
+
+#include <java/lang/Thread.h>
+
+class java::lang::PosixProcess$ProcessManager : public ::java::lang::Thread
+{
+
+public: // actually package-private
+ PosixProcess$ProcessManager();
+private:
+ ::java::lang::PosixProcess * removeProcessFromMap(jlong);
+public: // actually package-private
+ virtual void addProcessToMap(::java::lang::PosixProcess *);
+ virtual void startExecuting(::java::lang::PosixProcess *);
+ virtual void waitUntilReady();
+public:
+ virtual void run();
+private:
+ void init();
+ void waitForSignal();
+ jboolean reap();
+ void signalReaper();
+public: // actually package-private
+ ::java::util::List * __attribute__((aligned(__alignof__( ::java::lang::Thread)))) queue;
+private:
+ ::java::util::Map * pidToProcess;
+ jboolean ready;
+ jlong reaperPID;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_PosixProcess$ProcessManager__
diff --git a/libjava/java/lang/PosixProcess.h b/libjava/java/lang/PosixProcess.h
new file mode 100644
index 0000000..62539ce
--- /dev/null
+++ b/libjava/java/lang/PosixProcess.h
@@ -0,0 +1,62 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_PosixProcess__
+#define __java_lang_PosixProcess__
+
+#pragma interface
+
+#include <java/lang/Process.h>
+#include <gcj/array.h>
+
+
+class java::lang::PosixProcess : public ::java::lang::Process
+{
+
+public:
+ void destroy();
+private:
+ void nativeDestroy();
+public:
+ jint exitValue();
+public: // actually package-private
+ void processTerminationCleanup();
+public:
+ ::java::io::InputStream * getErrorStream();
+ ::java::io::InputStream * getInputStream();
+ ::java::io::OutputStream * getOutputStream();
+ jint waitFor();
+public: // actually package-private
+ void spawn(::java::lang::PosixProcess$ProcessManager *);
+private:
+ void nativeSpawn();
+public: // actually package-private
+ PosixProcess(JArray< ::java::lang::String * > *, JArray< ::java::lang::String * > *, ::java::io::File *);
+ static jlong access$0(::java::lang::PosixProcess *);
+ static ::java::lang::Object * access$1();
+ static void access$2(::java::lang::PosixProcess$ProcessManager *);
+private:
+ JArray< ::java::lang::String * > * __attribute__((aligned(__alignof__( ::java::lang::Process)))) progarray;
+ JArray< ::java::lang::String * > * envp;
+ ::java::io::File * dir;
+ ::java::lang::Throwable * exception;
+ jlong pid;
+public: // actually package-private
+ static const jint STATE_WAITING_TO_START = 0;
+ static const jint STATE_RUNNING = 1;
+ static const jint STATE_TERMINATED = 2;
+ jint state;
+ jint status;
+private:
+ ::java::io::InputStream * errorStream;
+ ::java::io::InputStream * inputStream;
+ ::java::io::OutputStream * outputStream;
+ ::java::io::InputStream * returnedErrorStream;
+ ::java::io::InputStream * returnedInputStream;
+ static ::java::lang::Object * queueLock;
+ static ::java::lang::PosixProcess$ProcessManager * processManager;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_PosixProcess__
diff --git a/libjava/java/lang/PosixProcess.java b/libjava/java/lang/PosixProcess.java
index fbd6c4c..23e1da9 100644
--- a/libjava/java/lang/PosixProcess.java
+++ b/libjava/java/lang/PosixProcess.java
@@ -1,5 +1,5 @@
// PosixProcess.java - Subclass of Process for POSIX systems.
-/* Copyright (C) 1998, 1999, 2004 Free Software Foundation
+/* Copyright (C) 1998, 1999, 2004, 2006 Free Software Foundation
This file is part of libgcj.
@@ -25,19 +25,15 @@ import java.util.Map;
* @author David Daney <ddaney@avtrex.com> Rewrote using
* ProcessManager
*/
-
-// This is entirely internal to our implementation.
-// This file is copied to `ConcreteProcess.java' before compilation.
-// Hence the class name apparently does not match the file name.
-final class ConcreteProcess extends Process
+final class PosixProcess extends Process
{
static class ProcessManager extends Thread
{
/**
- * A list of {@link ConcreteProcess ConcreteProcesses} to be
+ * A list of {@link PosixProcess PosixProcesses} to be
* started. The queueLock object is used as the lock Object
* for all process related operations. To avoid dead lock
- * ensure queueLock is obtained before ConcreteProcess.
+ * ensure queueLock is obtained before PosixProcess.
*/
List queue = new LinkedList();
private Map pidToProcess = new HashMap();
@@ -52,37 +48,37 @@ final class ConcreteProcess extends Process
}
/**
- * Get the ConcreteProcess object with the given pid and
+ * Get the PosixProcess object with the given pid and
* remove it from the map. This method is called from the
* native code for {@link #reap()). The mapping is removed so
- * the ConcreteProcesses can be GCed after they terminate.
+ * the PosixProcesses can be GCed after they terminate.
*
* @param p The pid of the process.
*/
- private ConcreteProcess removeProcessFromMap(long p)
+ private PosixProcess removeProcessFromMap(long p)
{
- return (ConcreteProcess) pidToProcess.remove(new Long(p));
+ return (PosixProcess) pidToProcess.remove(new Long(p));
}
/**
- * Put the given ConcreteProcess in the map using the Long
+ * Put the given PosixProcess in the map using the Long
* value of its pid as the key.
*
- * @param p The ConcreteProcess.
+ * @param p The PosixProcess.
*/
- void addProcessToMap(ConcreteProcess p)
+ void addProcessToMap(PosixProcess p)
{
pidToProcess.put(new Long(p.pid), p);
}
/**
- * Queue up the ConcreteProcess and awake the ProcessManager.
- * The ProcessManager will start the ConcreteProcess from its
+ * Queue up the PosixProcess and awake the ProcessManager.
+ * The ProcessManager will start the PosixProcess from its
* thread so it can be reaped when it terminates.
*
- * @param p The ConcreteProcess.
+ * @param p The PosixProcess.
*/
- void startExecuting(ConcreteProcess p)
+ void startExecuting(PosixProcess p)
{
synchronized (queueLock)
{
@@ -154,7 +150,7 @@ final class ConcreteProcess extends Process
}
while (queue.size() > 0)
{
- ConcreteProcess p = (ConcreteProcess) queue.remove(0);
+ PosixProcess p = (PosixProcess) queue.remove(0);
p.spawn(this);
}
}
@@ -353,10 +349,7 @@ final class ConcreteProcess extends Process
*/
private native void nativeSpawn();
- // This file is copied to `ConcreteProcess.java' before
- // compilation. Hence the constructor name apparently does not
- // match the file name.
- ConcreteProcess(String[] progarray, String[] envp, File dir)
+ PosixProcess(String[] progarray, String[] envp, File dir)
throws IOException
{
// Check to ensure there is something to run, and avoid
@@ -378,7 +371,7 @@ final class ConcreteProcess extends Process
processManager.waitUntilReady();
}
- // Queue this ConcreteProcess for starting by the ProcessManager.
+ // Queue this PosixProcess for starting by the ProcessManager.
processManager.startExecuting(this);
}
@@ -428,8 +421,8 @@ final class ConcreteProcess extends Process
/** The process id. This is cast to a pid_t on the native side. */
private long pid;
- // FIXME: Why doesn't the friend declaration in ConcreteProcess.h
- // allow ConcreteProcess$ProcessManager native code access these
+ // FIXME: Why doesn't the friend declaration in PosixProcess.h
+ // allow PosixProcess$ProcessManager native code access these
// when they are private?
/** Before the process is forked. */
diff --git a/libjava/java/lang/Process.h b/libjava/java/lang/Process.h
new file mode 100644
index 0000000..f363feb
--- /dev/null
+++ b/libjava/java/lang/Process.h
@@ -0,0 +1,25 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_Process__
+#define __java_lang_Process__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::lang::Process : public ::java::lang::Object
+{
+
+public:
+ Process();
+ virtual ::java::io::OutputStream * getOutputStream() = 0;
+ virtual ::java::io::InputStream * getInputStream() = 0;
+ virtual ::java::io::InputStream * getErrorStream() = 0;
+ virtual jint waitFor() = 0;
+ virtual jint exitValue() = 0;
+ virtual void destroy() = 0;
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_Process__
diff --git a/libjava/java/lang/ProcessBuilder.h b/libjava/java/lang/ProcessBuilder.h
new file mode 100644
index 0000000..fd6029d
--- /dev/null
+++ b/libjava/java/lang/ProcessBuilder.h
@@ -0,0 +1,37 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_ProcessBuilder__
+#define __java_lang_ProcessBuilder__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+
+class java::lang::ProcessBuilder : public ::java::lang::Object
+{
+
+public:
+ ProcessBuilder(::java::util::List *);
+ ProcessBuilder(JArray< ::java::lang::String * > *);
+ ::java::util::List * command();
+ ::java::lang::ProcessBuilder * command(::java::util::List *);
+ ::java::lang::ProcessBuilder * command(JArray< ::java::lang::String * > *);
+ ::java::io::File * directory();
+ ::java::lang::ProcessBuilder * directory(::java::io::File *);
+ ::java::util::Map * environment();
+ jboolean redirectErrorStream();
+ ::java::lang::ProcessBuilder * redirectErrorStream(jboolean);
+ ::java::lang::Process * start();
+private:
+ ::java::io::File * __attribute__((aligned(__alignof__( ::java::lang::Object)))) directory__;
+ ::java::util::List * command__;
+ ::java::util::Map * environment__;
+ jboolean redirect;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_ProcessBuilder__
diff --git a/libjava/java/lang/ProcessBuilder.java b/libjava/java/lang/ProcessBuilder.java
new file mode 100644
index 0000000..440e5e0
--- /dev/null
+++ b/libjava/java/lang/ProcessBuilder.java
@@ -0,0 +1,118 @@
+/* ProcessBuilder.java - Represent spawned system process
+ Copyright (C) 2005, 2006 Free Software Foundation, Inc.
+
+This file is part of GNU Classpath.
+
+GNU Classpath is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+
+GNU Classpath is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU Classpath; see the file COPYING. If not, write to the
+Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+02110-1301 USA.
+
+Linking this library statically or dynamically with other modules is
+making a combined work based on this library. Thus, the terms and
+conditions of the GNU General Public License cover the whole
+combination.
+
+As a special exception, the copyright holders of this library give you
+permission to link this library with independent modules to produce an
+executable, regardless of the license terms of these independent
+modules, and to copy and distribute the resulting executable under
+terms of your choice, provided that you also meet, for each linked
+independent module, the terms and conditions of the license of that
+module. An independent module is a module which is not derived from
+or based on this library. If you modify this library, you may extend
+this exception to your version of the library, but you are not
+obligated to do so. If you do not wish to do so, delete this
+exception statement from your version. */
+
+
+package java.lang;
+
+import java.io.File;
+import java.io.IOException;
+import java.util.Arrays;
+import java.util.List;
+import java.util.Map;
+
+public final class ProcessBuilder
+{
+ private File directory = new File(System.getProperty("user.dir"));
+ private List<String> command;
+ // FIXME: make a copy.
+ private Map<String, String> environment = System.getenv();
+ private boolean redirect = false;
+
+ public ProcessBuilder(List<String> command)
+ {
+ this.command = command;
+ }
+
+ public ProcessBuilder(String... command)
+ {
+ this.command = Arrays.asList(command);
+ }
+
+ public List<String> command()
+ {
+ return command;
+ }
+
+ public ProcessBuilder command(List<String> command)
+ {
+ this.command = command;
+ return this;
+ }
+
+ public ProcessBuilder command(String... command)
+ {
+ this.command = Arrays.asList(command);
+ return this;
+ }
+
+ public File directory()
+ {
+ return directory;
+ }
+
+ public ProcessBuilder directory(File directory)
+ {
+ this.directory = directory;
+ return this;
+ }
+
+ public Map<String, String> environment()
+ {
+ return environment;
+ }
+
+ public boolean redirectErrorStream()
+ {
+ return redirect;
+ }
+
+ public ProcessBuilder redirectErrorStream(boolean redirect)
+ {
+ this.redirect = redirect;
+ return this;
+ }
+
+ public Process start() throws IOException
+ {
+ SecurityManager sm = SecurityManager.current; // Be thread-safe!
+ if (sm != null)
+ sm.checkExec(command.get(0));
+ // return VMProcess.exec(command, environment, directory, redirect);
+ // FIXME
+ return null;
+ }
+}
diff --git a/libjava/java/lang/Readable.h b/libjava/java/lang/Readable.h
new file mode 100644
index 0000000..d8e7d21
--- /dev/null
+++ b/libjava/java/lang/Readable.h
@@ -0,0 +1,29 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_Readable__
+#define __java_lang_Readable__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace nio
+ {
+ class CharBuffer;
+ }
+ }
+}
+
+class java::lang::Readable : public ::java::lang::Object
+{
+
+public:
+ virtual jint read(::java::nio::CharBuffer *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_lang_Readable__
diff --git a/libjava/java/lang/Runnable.h b/libjava/java/lang/Runnable.h
new file mode 100644
index 0000000..ba5985c
--- /dev/null
+++ b/libjava/java/lang/Runnable.h
@@ -0,0 +1,19 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_Runnable__
+#define __java_lang_Runnable__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::lang::Runnable : public ::java::lang::Object
+{
+
+public:
+ virtual void run() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_lang_Runnable__
diff --git a/libjava/java/lang/Runtime.h b/libjava/java/lang/Runtime.h
new file mode 100644
index 0000000..4679cc0
--- /dev/null
+++ b/libjava/java/lang/Runtime.h
@@ -0,0 +1,69 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_Runtime__
+#define __java_lang_Runtime__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+
+class java::lang::Runtime : public ::java::lang::Object
+{
+
+ Runtime();
+public:
+ static ::java::lang::Runtime * getRuntime();
+ virtual void exit(jint);
+public: // actually package-private
+ static void exitNoChecksAccessor(jint);
+private:
+ void exitNoChecks(jint);
+public: // actually package-private
+ virtual jboolean runShutdownHooks();
+public:
+ virtual void addShutdownHook(::java::lang::Thread *);
+ virtual jboolean removeShutdownHook(::java::lang::Thread *);
+ virtual void halt(jint);
+ static void runFinalizersOnExit(jboolean);
+ virtual ::java::lang::Process * exec(::java::lang::String *);
+ virtual ::java::lang::Process * exec(::java::lang::String *, JArray< ::java::lang::String * > *);
+ virtual ::java::lang::Process * exec(::java::lang::String *, JArray< ::java::lang::String * > *, ::java::io::File *);
+ virtual ::java::lang::Process * exec(JArray< ::java::lang::String * > *);
+ virtual ::java::lang::Process * exec(JArray< ::java::lang::String * > *, JArray< ::java::lang::String * > *);
+ virtual ::java::lang::Process * exec(JArray< ::java::lang::String * > *, JArray< ::java::lang::String * > *, ::java::io::File *);
+ virtual jint availableProcessors();
+ virtual jlong freeMemory();
+ virtual jlong totalMemory();
+ virtual jlong maxMemory();
+ virtual void gc();
+ virtual void runFinalization();
+ virtual void traceInstructions(jboolean);
+ virtual void traceMethodCalls(jboolean);
+ virtual void load(::java::lang::String *);
+ virtual void loadLibrary(::java::lang::String *);
+ virtual ::java::io::InputStream * getLocalizedInputStream(::java::io::InputStream *);
+ virtual ::java::io::OutputStream * getLocalizedOutputStream(::java::io::OutputStream *);
+public: // actually package-private
+ virtual void exitInternal(jint);
+ virtual void _load(::java::lang::String *, jboolean);
+ virtual jboolean loadLibraryInternal(::java::lang::String *);
+private:
+ static void init();
+ void runFinalizationForExit();
+public: // actually package-private
+ static ::java::lang::String * nativeGetLibname(::java::lang::String *, ::java::lang::String *);
+ virtual ::java::lang::Process * execInternal(JArray< ::java::lang::String * > *, JArray< ::java::lang::String * > *, ::java::io::File *);
+private:
+ JArray< ::java::lang::String * > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) libpath;
+ ::java::lang::Thread * exitSequence;
+ ::java::util::Set * shutdownHooks;
+ jboolean finalizeOnExit;
+ static ::java::lang::Runtime * current;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_Runtime__
diff --git a/libjava/java/lang/RuntimeException.h b/libjava/java/lang/RuntimeException.h
new file mode 100644
index 0000000..0bce089
--- /dev/null
+++ b/libjava/java/lang/RuntimeException.h
@@ -0,0 +1,25 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_RuntimeException__
+#define __java_lang_RuntimeException__
+
+#pragma interface
+
+#include <java/lang/Exception.h>
+
+class java::lang::RuntimeException : public ::java::lang::Exception
+{
+
+public:
+ RuntimeException();
+ RuntimeException(::java::lang::String *);
+ RuntimeException(::java::lang::String *, ::java::lang::Throwable *);
+ RuntimeException(::java::lang::Throwable *);
+private:
+ static const jlong serialVersionUID = -7034897190745766939LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_RuntimeException__
diff --git a/libjava/java/lang/RuntimePermission.h b/libjava/java/lang/RuntimePermission.h
new file mode 100644
index 0000000..8b48175
--- /dev/null
+++ b/libjava/java/lang/RuntimePermission.h
@@ -0,0 +1,23 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_RuntimePermission__
+#define __java_lang_RuntimePermission__
+
+#pragma interface
+
+#include <java/security/BasicPermission.h>
+
+class java::lang::RuntimePermission : public ::java::security::BasicPermission
+{
+
+public:
+ RuntimePermission(::java::lang::String *);
+ RuntimePermission(::java::lang::String *, ::java::lang::String *);
+private:
+ static const jlong serialVersionUID = 7399184964622342223LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_RuntimePermission__
diff --git a/libjava/java/lang/SecurityContext.h b/libjava/java/lang/SecurityContext.h
new file mode 100644
index 0000000..e7b0e59
--- /dev/null
+++ b/libjava/java/lang/SecurityContext.h
@@ -0,0 +1,23 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_SecurityContext__
+#define __java_lang_SecurityContext__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+
+class java::lang::SecurityContext : public ::java::lang::Object
+{
+
+public: // actually package-private
+ SecurityContext(JArray< ::java::lang::Class * > *);
+ JArray< ::java::lang::Class * > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) classes;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_SecurityContext__
diff --git a/libjava/java/lang/SecurityException.h b/libjava/java/lang/SecurityException.h
new file mode 100644
index 0000000..3b19ba2
--- /dev/null
+++ b/libjava/java/lang/SecurityException.h
@@ -0,0 +1,25 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_SecurityException__
+#define __java_lang_SecurityException__
+
+#pragma interface
+
+#include <java/lang/RuntimeException.h>
+
+class java::lang::SecurityException : public ::java::lang::RuntimeException
+{
+
+public:
+ SecurityException();
+ SecurityException(::java::lang::String *);
+ SecurityException(::java::lang::String *, ::java::lang::Throwable *);
+ SecurityException(::java::lang::Throwable *);
+private:
+ static const jlong serialVersionUID = 6878364983674394167LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_SecurityException__
diff --git a/libjava/java/lang/SecurityManager$1.h b/libjava/java/lang/SecurityManager$1.h
new file mode 100644
index 0000000..21df4f7
--- /dev/null
+++ b/libjava/java/lang/SecurityManager$1.h
@@ -0,0 +1,26 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_SecurityManager$1__
+#define __java_lang_SecurityManager$1__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::lang::SecurityManager$1 : public ::java::lang::Object
+{
+
+public: // actually package-private
+ SecurityManager$1(::java::lang::SecurityManager *, ::java::lang::String *);
+public:
+ ::java::lang::Object * run();
+public: // actually package-private
+ ::java::lang::SecurityManager * __attribute__((aligned(__alignof__( ::java::lang::Object)))) this$0;
+private:
+ ::java::lang::String * val$restriction;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_SecurityManager$1__
diff --git a/libjava/java/lang/SecurityManager.h b/libjava/java/lang/SecurityManager.h
new file mode 100644
index 0000000..28ef484
--- /dev/null
+++ b/libjava/java/lang/SecurityManager.h
@@ -0,0 +1,84 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_SecurityManager__
+#define __java_lang_SecurityManager__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace net
+ {
+ class InetAddress;
+ }
+ namespace security
+ {
+ class Permission;
+ }
+ }
+}
+
+class java::lang::SecurityManager : public ::java::lang::Object
+{
+
+public:
+ SecurityManager();
+ virtual jboolean getInCheck();
+public: // actually protected
+ virtual JArray< ::java::lang::Class * > * getClassContext();
+ virtual ::java::lang::ClassLoader * currentClassLoader();
+ virtual ::java::lang::Class * currentLoadedClass();
+ virtual jint classDepth(::java::lang::String *);
+ virtual jint classLoaderDepth();
+ virtual jboolean inClass(::java::lang::String *);
+ virtual jboolean inClassLoader();
+public:
+ virtual ::java::lang::Object * getSecurityContext();
+ virtual void checkPermission(::java::security::Permission *);
+ virtual void checkPermission(::java::security::Permission *, ::java::lang::Object *);
+ virtual void checkCreateClassLoader();
+ virtual void checkAccess(::java::lang::Thread *);
+ virtual void checkAccess(::java::lang::ThreadGroup *);
+ virtual void checkExit(jint);
+ virtual void checkExec(::java::lang::String *);
+ virtual void checkLink(::java::lang::String *);
+ virtual void checkRead(::java::io::FileDescriptor *);
+ virtual void checkRead(::java::lang::String *);
+ virtual void checkRead(::java::lang::String *, ::java::lang::Object *);
+ virtual void checkWrite(::java::io::FileDescriptor *);
+ virtual void checkWrite(::java::lang::String *);
+ virtual void checkDelete(::java::lang::String *);
+ virtual void checkConnect(::java::lang::String *, jint);
+ virtual void checkConnect(::java::lang::String *, jint, ::java::lang::Object *);
+ virtual void checkListen(jint);
+ virtual void checkAccept(::java::lang::String *, jint);
+ virtual void checkMulticast(::java::net::InetAddress *);
+ virtual void checkMulticast(::java::net::InetAddress *, jbyte);
+ virtual void checkPropertiesAccess();
+ virtual void checkPropertyAccess(::java::lang::String *);
+ virtual jboolean checkTopLevelWindow(::java::lang::Object *);
+ virtual void checkPrintJobAccess();
+ virtual void checkSystemClipboardAccess();
+ virtual void checkAwtEventQueueAccess();
+ virtual void checkPackageAccess(::java::lang::String *);
+ virtual void checkPackageDefinition(::java::lang::String *);
+ virtual void checkSetFactory();
+ virtual void checkMemberAccess(::java::lang::Class *, jint);
+ virtual void checkSecurityAccess(::java::lang::String *);
+ virtual ::java::lang::ThreadGroup * getThreadGroup();
+public: // actually package-private
+ virtual void checkPackageList(::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
+ static volatile ::java::lang::SecurityManager * current;
+public: // actually protected
+ jboolean __attribute__((aligned(__alignof__( ::java::lang::Object)))) inCheck;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_SecurityManager__
diff --git a/libjava/java/lang/SecurityManager.java b/libjava/java/lang/SecurityManager.java
deleted file mode 100644
index c803c5b..0000000
--- a/libjava/java/lang/SecurityManager.java
+++ /dev/null
@@ -1,1057 +0,0 @@
-/* SecurityManager.java -- security checks for privileged actions
- Copyright (C) 1998, 1999, 2001, 2002, 2005, 2006
- Free Software Foundation, Inc.
-
-This file is part of GNU Classpath.
-
-GNU Classpath is free software; you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 2, or (at your option)
-any later version.
-
-GNU Classpath is distributed in the hope that it will be useful, but
-WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with GNU Classpath; see the file COPYING. If not, write to the
-Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
-02110-1301 USA.
-
-Linking this library statically or dynamically with other modules is
-making a combined work based on this library. Thus, the terms and
-conditions of the GNU General Public License cover the whole
-combination.
-
-As a special exception, the copyright holders of this library give you
-permission to link this library with independent modules to produce an
-executable, regardless of the license terms of these independent
-modules, and to copy and distribute the resulting executable under
-terms of your choice, provided that you also meet, for each linked
-independent module, the terms and conditions of the license of that
-module. An independent module is a module which is not derived from
-or based on this library. If you modify this library, you may extend
-this exception to your version of the library, but you are not
-obligated to do so. If you do not wish to do so, delete this
-exception statement from your version. */
-
-
-package java.lang;
-
-import java.awt.AWTPermission;
-import java.io.File;
-import java.io.FileDescriptor;
-import java.io.FilePermission;
-import java.lang.reflect.Member;
-import java.net.InetAddress;
-import java.net.SocketPermission;
-import java.security.AccessController;
-import java.security.AccessControlContext;
-import java.security.AllPermission;
-import java.security.Permission;
-import java.security.PrivilegedAction;
-import java.security.Security;
-import java.security.SecurityPermission;
-import java.util.PropertyPermission;
-import java.util.StringTokenizer;
-
-/**
- * SecurityManager is a class you can extend to create your own Java
- * security policy. By default, there is no SecurityManager installed in
- * 1.1, which means that all things are permitted to all people. The security
- * manager, if set, is consulted before doing anything with potentially
- * dangerous results, and throws a <code>SecurityException</code> if the
- * action is forbidden.
- *
- * <p>A typical check is as follows, just before the dangerous operation:<br>
- * <pre>
- * SecurityManager sm = System.getSecurityManager();
- * if (sm != null)
- * sm.checkABC(<em>argument</em>, ...);
- * </pre>
- * Note that this is thread-safe, by caching the security manager in a local
- * variable rather than risking a NullPointerException if the mangager is
- * changed between the check for null and before the permission check.
- *
- * <p>The special method <code>checkPermission</code> is a catchall, and
- * the default implementation calls
- * <code>AccessController.checkPermission</code>. In fact, all the other
- * methods default to calling checkPermission.
- *
- * <p>Sometimes, the security check needs to happen from a different context,
- * such as when called from a worker thread. In such cases, use
- * <code>getSecurityContext</code> to take a snapshot that can be passed
- * to the worker thread:<br>
- * <pre>
- * Object context = null;
- * SecurityManager sm = System.getSecurityManager();
- * if (sm != null)
- * context = sm.getSecurityContext(); // defaults to an AccessControlContext
- * // now, in worker thread
- * if (sm != null)
- * sm.checkPermission(permission, context);
- * </pre>
- *
- * <p>Permissions fall into these categories: File, Socket, Net, Security,
- * Runtime, Property, AWT, Reflect, and Serializable. Each of these
- * permissions have a property naming convention, that follows a hierarchical
- * naming convention, to make it easy to grant or deny several permissions
- * at once. Some permissions also take a list of permitted actions, such
- * as "read" or "write", to fine-tune control even more. The permission
- * <code>java.security.AllPermission</code> grants all permissions.
- *
- * <p>The default methods in this class deny all things to all people. You
- * must explicitly grant permission for anything you want to be legal when
- * subclassing this class.
- *
- * @author John Keiser
- * @author Eric Blake (ebb9@email.byu.edu)
- * @see ClassLoader
- * @see SecurityException
- * @see #checkTopLevelWindow(Object)
- * @see System#getSecurityManager()
- * @see System#setSecurityManager(SecurityManager)
- * @see AccessController
- * @see AccessControlContext
- * @see AccessControlException
- * @see Permission
- * @see BasicPermission
- * @see java.io.FilePermission
- * @see java.net.SocketPermission
- * @see java.util.PropertyPermission
- * @see RuntimePermission
- * @see java.awt.AWTPermission
- * @see Policy
- * @see SecurityPermission
- * @see ProtectionDomain
- * @since 1.0
- * @status still missing 1.4 functionality
- */
-public class SecurityManager
-{
- /**
- * The current security manager. This is located here instead of in
- * System, to avoid security problems, as well as bootstrap issues.
- * Make sure to access it in a thread-safe manner; it is package visible
- * to avoid overhead in java.lang.
- */
- static volatile SecurityManager current;
-
- /**
- * Tells whether or not the SecurityManager is currently performing a
- * security check.
- * @deprecated Use {@link #checkPermission(Permission)} instead.
- */
- protected boolean inCheck;
-
- /**
- * Construct a new security manager. There may be a security check, of
- * <code>RuntimePermission("createSecurityManager")</code>.
- *
- * @throws SecurityException if permission is denied
- */
- public SecurityManager()
- {
- SecurityManager sm = System.getSecurityManager();
- if (sm != null)
- sm.checkPermission(new RuntimePermission("createSecurityManager"));
- }
-
- /**
- * Tells whether or not the SecurityManager is currently performing a
- * security check.
- *
- * @return true if the SecurityManager is in a security check
- * @see #inCheck
- * @deprecated use {@link #checkPermission(Permission)} instead
- */
- public boolean getInCheck()
- {
- return inCheck;
- }
-
- /**
- * Get a list of all the classes currently executing methods on the Java
- * stack. getClassContext()[0] is the currently executing method (ie. the
- * class that CALLED getClassContext, not SecurityManager).
- *
- * @return an array of classes on the Java execution stack
- */
- protected Class[] getClassContext()
- {
- return VMSecurityManager.getClassContext(SecurityManager.class);
- }
-
- /**
- * Find the ClassLoader of the first non-system class on the execution
- * stack. A non-system class is one whose ClassLoader is not equal to
- * {@link ClassLoader#getSystemClassLoader()} or its ancestors. This
- * will return null in three cases:
- *
- * <ul>
- * <li>All methods on the stack are from system classes</li>
- * <li>All methods on the stack up to the first "privileged" caller, as
- * created by {@link AccessController#doPrivileged(PrivilegedAction)},
- * are from system classes</li>
- * <li>A check of <code>java.security.AllPermission</code> succeeds.</li>
- * </ul>
- *
- * @return the most recent non-system ClassLoader on the execution stack
- * @deprecated use {@link #checkPermission(Permission)} instead
- */
- protected ClassLoader currentClassLoader()
- {
- return VMSecurityManager.currentClassLoader(SecurityManager.class);
- }
-
- /**
- * Find the first non-system class on the execution stack. A non-system
- * class is one whose ClassLoader is not equal to
- * {@link ClassLoader#getSystemClassLoader()} or its ancestors. This
- * will return null in three cases:
- *
- * <ul>
- * <li>All methods on the stack are from system classes</li>
- * <li>All methods on the stack up to the first "privileged" caller, as
- * created by {@link AccessController#doPrivileged(PrivilegedAction)},
- * are from system classes</li>
- * <li>A check of <code>java.security.AllPermission</code> succeeds.</li>
- * </ul>
- *
- * @return the most recent non-system Class on the execution stack
- * @deprecated use {@link #checkPermission(Permission)} instead
- */
- protected Class currentLoadedClass()
- {
- int i = classLoaderDepth();
- return i >= 0 ? getClassContext()[i] : null;
- }
-
- /**
- * Get the depth of a particular class on the execution stack.
- *
- * @param className the fully-qualified name to search for
- * @return the index of the class on the stack, or -1
- * @deprecated use {@link #checkPermission(Permission)} instead
- */
- protected int classDepth(String className)
- {
- Class[] c = getClassContext();
- for (int i = 0; i < c.length; i++)
- if (className.equals(c[i].getName()))
- return i;
- return -1;
- }
-
- /**
- * Get the depth on the execution stack of the most recent non-system class.
- * A non-system class is one whose ClassLoader is not equal to
- * {@link ClassLoader#getSystemClassLoader()} or its ancestors. This
- * will return -1 in three cases:
- *
- * <ul>
- * <li>All methods on the stack are from system classes</li>
- * <li>All methods on the stack up to the first "privileged" caller, as
- * created by {@link AccessController#doPrivileged(PrivilegedAction)},
- * are from system classes</li>
- * <li>A check of <code>java.security.AllPermission</code> succeeds.</li>
- * </ul>
- *
- * @return the index of the most recent non-system Class on the stack
- * @deprecated use {@link #checkPermission(Permission)} instead
- */
- protected int classLoaderDepth()
- {
- try
- {
- checkPermission(new AllPermission());
- }
- catch (SecurityException e)
- {
- Class[] c = getClassContext();
- for (int i = 0; i < c.length; i++)
- if (c[i].getClassLoader() != null)
- // XXX Check if c[i] is AccessController, or a system class.
- return i;
- }
- return -1;
- }
-
- /**
- * Tell whether the specified class is on the execution stack.
- *
- * @param className the fully-qualified name of the class to find
- * @return whether the specified class is on the execution stack
- * @deprecated use {@link #checkPermission(Permission)} instead
- */
- protected boolean inClass(String className)
- {
- return classDepth(className) != -1;
- }
-
- /**
- * Tell whether there is a class loaded with an explicit ClassLoader on
- * the stack.
- *
- * @return whether a class with an explicit ClassLoader is on the stack
- * @deprecated use {@link #checkPermission(Permission)} instead
- */
- protected boolean inClassLoader()
- {
- return classLoaderDepth() != -1;
- }
-
- /**
- * Get an implementation-dependent Object that contains enough information
- * about the current environment to be able to perform standard security
- * checks later. This is used by trusted methods that need to verify that
- * their callers have sufficient access to perform certain operations.
- *
- * <p>Currently the only methods that use this are checkRead() and
- * checkConnect(). The default implementation returns an
- * <code>AccessControlContext</code>.
- *
- * @return a security context
- * @see #checkConnect(String, int, Object)
- * @see #checkRead(String, Object)
- * @see AccessControlContext
- * @see AccessController#getContext()
- */
- public Object getSecurityContext()
- {
- return AccessController.getContext();
- }
-
- /**
- * Check if the current thread is allowed to perform an operation that
- * requires the specified <code>Permission</code>. This defaults to
- * <code>AccessController.checkPermission</code>.
- *
- * @param perm the <code>Permission</code> required
- * @throws SecurityException if permission is denied
- * @throws NullPointerException if perm is null
- * @since 1.2
- */
- public void checkPermission(Permission perm)
- {
- AccessController.checkPermission(perm);
- }
-
- /**
- * Check if the current thread is allowed to perform an operation that
- * requires the specified <code>Permission</code>. This is done in a
- * context previously returned by <code>getSecurityContext()</code>. The
- * default implementation expects context to be an AccessControlContext,
- * and it calls <code>AccessControlContext.checkPermission(perm)</code>.
- *
- * @param perm the <code>Permission</code> required
- * @param context a security context
- * @throws SecurityException if permission is denied, or if context is
- * not an AccessControlContext
- * @throws NullPointerException if perm is null
- * @see #getSecurityContext()
- * @see AccessControlContext#checkPermission(Permission)
- * @since 1.2
- */
- public void checkPermission(Permission perm, Object context)
- {
- if (! (context instanceof AccessControlContext))
- throw new SecurityException("Missing context");
- ((AccessControlContext) context).checkPermission(perm);
- }
-
- /**
- * Check if the current thread is allowed to create a ClassLoader. This
- * method is called from ClassLoader.ClassLoader(), and checks
- * <code>RuntimePermission("createClassLoader")</code>. If you override
- * this, you should call <code>super.checkCreateClassLoader()</code> rather
- * than throwing an exception.
- *
- * @throws SecurityException if permission is denied
- * @see ClassLoader#ClassLoader()
- */
- public void checkCreateClassLoader()
- {
- checkPermission(new RuntimePermission("createClassLoader"));
- }
-
- /**
- * Check if the current thread is allowed to modify another Thread. This is
- * called by Thread.stop(), suspend(), resume(), interrupt(), destroy(),
- * setPriority(), setName(), and setDaemon(). The default implementation
- * checks <code>RuntimePermission("modifyThread")</code> on system threads
- * (ie. threads in ThreadGroup with a null parent), and returns silently on
- * other threads.
- *
- * <p>If you override this, you must do two things. First, call
- * <code>super.checkAccess(t)</code>, to make sure you are not relaxing
- * requirements. Second, if the calling thread has
- * <code>RuntimePermission("modifyThread")</code>, return silently, so that
- * core classes (the Classpath library!) can modify any thread.
- *
- * @param thread the other Thread to check
- * @throws SecurityException if permission is denied
- * @throws NullPointerException if thread is null
- * @see Thread#stop()
- * @see Thread#suspend()
- * @see Thread#resume()
- * @see Thread#setPriority(int)
- * @see Thread#setName(String)
- * @see Thread#setDaemon(boolean)
- */
- public void checkAccess(Thread thread)
- {
- if (thread.getThreadGroup() != null
- && thread.getThreadGroup().getParent() == null)
- checkPermission(new RuntimePermission("modifyThread"));
- }
-
- /**
- * Check if the current thread is allowed to modify a ThreadGroup. This is
- * called by Thread.Thread() (to add a thread to the ThreadGroup),
- * ThreadGroup.ThreadGroup() (to add this ThreadGroup to a parent),
- * ThreadGroup.stop(), suspend(), resume(), interrupt(), destroy(),
- * setDaemon(), and setMaxPriority(). The default implementation
- * checks <code>RuntimePermission("modifyThread")</code> on the system group
- * (ie. the one with a null parent), and returns silently on other groups.
- *
- * <p>If you override this, you must do two things. First, call
- * <code>super.checkAccess(t)</code>, to make sure you are not relaxing
- * requirements. Second, if the calling thread has
- * <code>RuntimePermission("modifyThreadGroup")</code>, return silently,
- * so that core classes (the Classpath library!) can modify any thread.
- *
- * @param g the ThreadGroup to check
- * @throws SecurityException if permission is denied
- * @throws NullPointerException if g is null
- * @see Thread#Thread()
- * @see ThreadGroup#ThreadGroup(String)
- * @see ThreadGroup#stop()
- * @see ThreadGroup#suspend()
- * @see ThreadGroup#resume()
- * @see ThreadGroup#interrupt()
- * @see ThreadGroup#setDaemon(boolean)
- * @see ThreadGroup#setMaxPriority(int)
- */
- public void checkAccess(ThreadGroup g)
- {
- if (g.getParent() == null)
- checkPermission(new RuntimePermission("modifyThreadGroup"));
- }
-
- /**
- * Check if the current thread is allowed to exit the JVM with the given
- * status. This method is called from Runtime.exit() and Runtime.halt().
- * The default implementation checks
- * <code>RuntimePermission("exitVM")</code>. If you override this, call
- * <code>super.checkExit</code> rather than throwing an exception.
- *
- * @param status the status to exit with
- * @throws SecurityException if permission is denied
- * @see Runtime#exit(int)
- * @see Runtime#halt(int)
- */
- public void checkExit(int status)
- {
- checkPermission(new RuntimePermission("exitVM"));
- }
-
- /**
- * Check if the current thread is allowed to execute the given program. This
- * method is called from Runtime.exec(). If the name is an absolute path,
- * the default implementation checks
- * <code>FilePermission(program, "execute")</code>, otherwise it checks
- * <code>FilePermission("&lt;&lt;ALL FILES&gt;&gt;", "execute")</code>. If
- * you override this, call <code>super.checkExec</code> rather than
- * throwing an exception.
- *
- * @param program the name of the program to exec
- * @throws SecurityException if permission is denied
- * @throws NullPointerException if program is null
- * @see Runtime#exec(String[], String[], File)
- */
- public void checkExec(String program)
- {
- if (! program.equals(new File(program).getAbsolutePath()))
- program = "<<ALL FILES>>";
- checkPermission(new FilePermission(program, "execute"));
- }
-
- /**
- * Check if the current thread is allowed to link in the given native
- * library. This method is called from Runtime.load() (and hence, by
- * loadLibrary() as well). The default implementation checks
- * <code>RuntimePermission("loadLibrary." + filename)</code>. If you
- * override this, call <code>super.checkLink</code> rather than throwing
- * an exception.
- *
- * @param filename the full name of the library to load
- * @throws SecurityException if permission is denied
- * @throws NullPointerException if filename is null
- * @see Runtime#load(String)
- */
- public void checkLink(String filename)
- {
- // Use the toString() hack to do the null check.
- checkPermission(new RuntimePermission("loadLibrary."
- + filename.toString()));
- }
-
- /**
- * Check if the current thread is allowed to read the given file using the
- * FileDescriptor. This method is called from
- * FileInputStream.FileInputStream(). The default implementation checks
- * <code>RuntimePermission("readFileDescriptor")</code>. If you override
- * this, call <code>super.checkRead</code> rather than throwing an
- * exception.
- *
- * @param desc the FileDescriptor representing the file to access
- * @throws SecurityException if permission is denied
- * @throws NullPointerException if desc is null
- * @see FileInputStream#FileInputStream(FileDescriptor)
- */
- public void checkRead(FileDescriptor desc)
- {
- if (desc == null)
- throw new NullPointerException();
- checkPermission(new RuntimePermission("readFileDescriptor"));
- }
-
- /**
- * Check if the current thread is allowed to read the given file. This
- * method is called from FileInputStream.FileInputStream(),
- * RandomAccessFile.RandomAccessFile(), File.exists(), canRead(), isFile(),
- * isDirectory(), lastModified(), length() and list(). The default
- * implementation checks <code>FilePermission(filename, "read")</code>. If
- * you override this, call <code>super.checkRead</code> rather than
- * throwing an exception.
- *
- * @param filename the full name of the file to access
- * @throws SecurityException if permission is denied
- * @throws NullPointerException if filename is null
- * @see File
- * @see FileInputStream#FileInputStream(String)
- * @see RandomAccessFile#RandomAccessFile(String, String)
- */
- public void checkRead(String filename)
- {
- checkPermission(new FilePermission(filename, "read"));
- }
-
- /**
- * Check if the current thread is allowed to read the given file. using the
- * given security context. The context must be a result of a previous call
- * to <code>getSecurityContext()</code>. The default implementation checks
- * <code>AccessControlContext.checkPermission(new FilePermission(filename,
- * "read"))</code>. If you override this, call <code>super.checkRead</code>
- * rather than throwing an exception.
- *
- * @param filename the full name of the file to access
- * @param context the context to determine access for
- * @throws SecurityException if permission is denied, or if context is
- * not an AccessControlContext
- * @throws NullPointerException if filename is null
- * @see #getSecurityContext()
- * @see AccessControlContext#checkPermission(Permission)
- */
- public void checkRead(String filename, Object context)
- {
- if (! (context instanceof AccessControlContext))
- throw new SecurityException("Missing context");
- AccessControlContext ac = (AccessControlContext) context;
- ac.checkPermission(new FilePermission(filename, "read"));
- }
-
- /**
- * Check if the current thread is allowed to write the given file using the
- * FileDescriptor. This method is called from
- * FileOutputStream.FileOutputStream(). The default implementation checks
- * <code>RuntimePermission("writeFileDescriptor")</code>. If you override
- * this, call <code>super.checkWrite</code> rather than throwing an
- * exception.
- *
- * @param desc the FileDescriptor representing the file to access
- * @throws SecurityException if permission is denied
- * @throws NullPointerException if desc is null
- * @see FileOutputStream#FileOutputStream(FileDescriptor)
- */
- public void checkWrite(FileDescriptor desc)
- {
- if (desc == null)
- throw new NullPointerException();
- checkPermission(new RuntimePermission("writeFileDescriptor"));
- }
-
- /**
- * Check if the current thread is allowed to write the given file. This
- * method is called from FileOutputStream.FileOutputStream(),
- * RandomAccessFile.RandomAccessFile(), File.canWrite(), mkdir(), and
- * renameTo(). The default implementation checks
- * <code>FilePermission(filename, "write")</code>. If you override this,
- * call <code>super.checkWrite</code> rather than throwing an exception.
- *
- * @param filename the full name of the file to access
- * @throws SecurityException if permission is denied
- * @throws NullPointerException if filename is null
- * @see File
- * @see File#canWrite()
- * @see File#mkdir()
- * @see File#renameTo(File)
- * @see FileOutputStream#FileOutputStream(String)
- * @see RandomAccessFile#RandomAccessFile(String, String)
- */
- public void checkWrite(String filename)
- {
- checkPermission(new FilePermission(filename, "write"));
- }
-
- /**
- * Check if the current thread is allowed to delete the given file. This
- * method is called from File.delete(). The default implementation checks
- * <code>FilePermission(filename, "delete")</code>. If you override this,
- * call <code>super.checkDelete</code> rather than throwing an exception.
- *
- * @param filename the full name of the file to delete
- * @throws SecurityException if permission is denied
- * @throws NullPointerException if filename is null
- * @see File#delete()
- */
- public void checkDelete(String filename)
- {
- checkPermission(new FilePermission(filename, "delete"));
- }
-
- /**
- * Check if the current thread is allowed to connect to a given host on a
- * given port. This method is called from Socket.Socket(). A port number
- * of -1 indicates the caller is attempting to determine an IP address, so
- * the default implementation checks
- * <code>SocketPermission(host, "resolve")</code>. Otherwise, the default
- * implementation checks
- * <code>SocketPermission(host + ":" + port, "connect")</code>. If you
- * override this, call <code>super.checkConnect</code> rather than throwing
- * an exception.
- *
- * @param host the host to connect to
- * @param port the port to connect on
- * @throws SecurityException if permission is denied
- * @throws NullPointerException if host is null
- * @see Socket#Socket()
- */
- public void checkConnect(String host, int port)
- {
- if (port == -1)
- checkPermission(new SocketPermission(host, "resolve"));
- else
- // Use the toString() hack to do the null check.
- checkPermission(new SocketPermission(host.toString() + ":" + port,
- "connect"));
- }
-
- /**
- * Check if the current thread is allowed to connect to a given host on a
- * given port, using the given security context. The context must be a
- * result of a previous call to <code>getSecurityContext</code>. A port
- * number of -1 indicates the caller is attempting to determine an IP
- * address, so the default implementation checks
- * <code>AccessControlContext.checkPermission(new SocketPermission(host,
- * "resolve"))</code>. Otherwise, the default implementation checks
- * <code>AccessControlContext.checkPermission(new SocketPermission(host
- * + ":" + port, "connect"))</code>. If you override this, call
- * <code>super.checkConnect</code> rather than throwing an exception.
- *
- * @param host the host to connect to
- * @param port the port to connect on
- * @param context the context to determine access for
- *
- * @throws SecurityException if permission is denied, or if context is
- * not an AccessControlContext
- * @throws NullPointerException if host is null
- *
- * @see #getSecurityContext()
- * @see AccessControlContext#checkPermission(Permission)
- */
- public void checkConnect(String host, int port, Object context)
- {
- if (! (context instanceof AccessControlContext))
- throw new SecurityException("Missing context");
- AccessControlContext ac = (AccessControlContext) context;
- if (port == -1)
- ac.checkPermission(new SocketPermission(host, "resolve"));
- else
- // Use the toString() hack to do the null check.
- ac.checkPermission(new SocketPermission(host.toString() + ":" + port,
- "connect"));
- }
-
- /**
- * Check if the current thread is allowed to listen to a specific port for
- * data. This method is called by ServerSocket.ServerSocket(). The default
- * implementation checks
- * <code>SocketPermission("localhost:" + (port == 0 ? "1024-" : "" + port),
- * "listen")</code>. If you override this, call
- * <code>super.checkListen</code> rather than throwing an exception.
- *
- * @param port the port to listen on
- * @throws SecurityException if permission is denied
- * @see ServerSocket#ServerSocket(int)
- */
- public void checkListen(int port)
- {
- checkPermission(new SocketPermission("localhost:"
- + (port == 0 ? "1024-" : "" +port),
- "listen"));
- }
-
- /**
- * Check if the current thread is allowed to accept a connection from a
- * particular host on a particular port. This method is called by
- * ServerSocket.implAccept(). The default implementation checks
- * <code>SocketPermission(host + ":" + port, "accept")</code>. If you
- * override this, call <code>super.checkAccept</code> rather than throwing
- * an exception.
- *
- * @param host the host which wishes to connect
- * @param port the port the connection will be on
- * @throws SecurityException if permission is denied
- * @throws NullPointerException if host is null
- * @see ServerSocket#accept()
- */
- public void checkAccept(String host, int port)
- {
- // Use the toString() hack to do the null check.
- checkPermission(new SocketPermission(host.toString() + ":" + port,
- "accept"));
- }
-
- /**
- * Check if the current thread is allowed to read and write multicast to
- * a particular address. The default implementation checks
- * <code>SocketPermission(addr.getHostAddress(), "accept,connect")</code>.
- * If you override this, call <code>super.checkMulticast</code> rather than
- * throwing an exception.
- *
- * @param addr the address to multicast to
- * @throws SecurityException if permission is denied
- * @throws NullPointerException if host is null
- * @since 1.1
- */
- public void checkMulticast(InetAddress addr)
- {
- checkPermission(new SocketPermission(addr.getHostAddress(),
- "accept,connect"));
- }
-
- /**
- *Check if the current thread is allowed to read and write multicast to
- * a particular address with a particular ttl (time-to-live) value. The
- * default implementation ignores ttl, and checks
- * <code>SocketPermission(addr.getHostAddress(), "accept,connect")</code>.
- * If you override this, call <code>super.checkMulticast</code> rather than
- * throwing an exception.
- *
- * @param addr the address to multicast to
- * @param ttl value in use for multicast send
- * @throws SecurityException if permission is denied
- * @throws NullPointerException if host is null
- * @since 1.1
- * @deprecated use {@link #checkPermission(Permission)} instead
- */
- public void checkMulticast(InetAddress addr, byte ttl)
- {
- checkPermission(new SocketPermission(addr.getHostAddress(),
- "accept,connect"));
- }
-
- /**
- * Check if the current thread is allowed to read or write all the system
- * properties at once. This method is called by System.getProperties()
- * and setProperties(). The default implementation checks
- * <code>PropertyPermission("*", "read,write")</code>. If you override
- * this, call <code>super.checkPropertiesAccess</code> rather than
- * throwing an exception.
- *
- * @throws SecurityException if permission is denied
- * @see System#getProperties()
- * @see System#setProperties(Properties)
- */
- public void checkPropertiesAccess()
- {
- checkPermission(new PropertyPermission("*", "read,write"));
- }
-
- /**
- * Check if the current thread is allowed to read a particular system
- * property (writes are checked directly via checkPermission). This method
- * is called by System.getProperty() and setProperty(). The default
- * implementation checks <code>PropertyPermission(key, "read")</code>. If
- * you override this, call <code>super.checkPropertyAccess</code> rather
- * than throwing an exception.
- *
- * @param key the key of the property to check
- *
- * @throws SecurityException if permission is denied
- * @throws NullPointerException if key is null
- * @throws IllegalArgumentException if key is ""
- *
- * @see System#getProperty(String)
- */
- public void checkPropertyAccess(String key)
- {
- checkPermission(new PropertyPermission(key, "read"));
- }
-
- /**
- * Check if the current thread is allowed to create a top-level window. If
- * it is not, the operation should still go through, but some sort of
- * nonremovable warning should be placed on the window to show that it
- * is untrusted. This method is called by Window.Window(). The default
- * implementation checks
- * <code>AWTPermission("showWindowWithoutWarningBanner")</code>, and returns
- * true if no exception was thrown. If you override this, use
- * <code>return super.checkTopLevelWindow</code> rather than returning
- * false.
- *
- * @param window the window to create
- * @return true if there is permission to show the window without warning
- * @throws NullPointerException if window is null
- * @see java.awt.Window#Window(java.awt.Frame)
- */
- public boolean checkTopLevelWindow(Object window)
- {
- if (window == null)
- throw new NullPointerException();
- try
- {
- checkPermission(new AWTPermission("showWindowWithoutWarningBanner"));
- return true;
- }
- catch (SecurityException e)
- {
- return false;
- }
- }
-
- /**
- * Check if the current thread is allowed to create a print job. This
- * method is called by Toolkit.getPrintJob(). The default implementation
- * checks <code>RuntimePermission("queuePrintJob")</code>. If you override
- * this, call <code>super.checkPrintJobAccess</code> rather than throwing
- * an exception.
- *
- * @throws SecurityException if permission is denied
- * @see java.awt.Toolkit#getPrintJob(java.awt.Frame, String, Properties)
- * @since 1.1
- */
- public void checkPrintJobAccess()
- {
- checkPermission(new RuntimePermission("queuePrintJob"));
- }
-
- /**
- * Check if the current thread is allowed to use the system clipboard. This
- * method is called by Toolkit.getSystemClipboard(). The default
- * implementation checks <code>AWTPermission("accessClipboard")</code>. If
- * you override this, call <code>super.checkSystemClipboardAccess</code>
- * rather than throwing an exception.
- *
- * @throws SecurityException if permission is denied
- * @see java.awt.Toolkit#getSystemClipboard()
- * @since 1.1
- */
- public void checkSystemClipboardAccess()
- {
- checkPermission(new AWTPermission("accessClipboard"));
- }
-
- /**
- * Check if the current thread is allowed to use the AWT event queue. This
- * method is called by Toolkit.getSystemEventQueue(). The default
- * implementation checks <code>AWTPermission("accessEventQueue")</code>.
- * you override this, call <code>super.checkAwtEventQueueAccess</code>
- * rather than throwing an exception.
- *
- * @throws SecurityException if permission is denied
- * @see java.awt.Toolkit#getSystemEventQueue()
- * @since 1.1
- */
- public void checkAwtEventQueueAccess()
- {
- checkPermission(new AWTPermission("accessEventQueue"));
- }
-
- /**
- * Check if the current thread is allowed to access the specified package
- * at all. This method is called by ClassLoader.loadClass() in user-created
- * ClassLoaders. The default implementation gets a list of all restricted
- * packages, via <code>Security.getProperty("package.access")</code>. Then,
- * if packageName starts with or equals any restricted package, it checks
- * <code>RuntimePermission("accessClassInPackage." + packageName)</code>.
- * If you override this, you should call
- * <code>super.checkPackageAccess</code> before doing anything else.
- *
- * @param packageName the package name to check access to
- * @throws SecurityException if permission is denied
- * @throws NullPointerException if packageName is null
- * @see ClassLoader#loadClass(String, boolean)
- * @see Security#getProperty(String)
- */
- public void checkPackageAccess(String packageName)
- {
- checkPackageList(packageName, "package.access", "accessClassInPackage.");
- }
-
- /**
- * Check if the current thread is allowed to define a class into the
- * specified package. This method is called by ClassLoader.loadClass() in
- * user-created ClassLoaders. The default implementation gets a list of all
- * restricted packages, via
- * <code>Security.getProperty("package.definition")</code>. Then, if
- * packageName starts with or equals any restricted package, it checks
- * <code>RuntimePermission("defineClassInPackage." + packageName)</code>.
- * If you override this, you should call
- * <code>super.checkPackageDefinition</code> before doing anything else.
- *
- * @param packageName the package name to check access to
- * @throws SecurityException if permission is denied
- * @throws NullPointerException if packageName is null
- * @see ClassLoader#loadClass(String, boolean)
- * @see Security#getProperty(String)
- */
- public void checkPackageDefinition(String packageName)
- {
- checkPackageList(packageName, "package.definition", "defineClassInPackage.");
- }
-
- /**
- * Check if the current thread is allowed to set the current socket factory.
- * This method is called by Socket.setSocketImplFactory(),
- * ServerSocket.setSocketFactory(), and URL.setURLStreamHandlerFactory().
- * The default implementation checks
- * <code>RuntimePermission("setFactory")</code>. If you override this, call
- * <code>super.checkSetFactory</code> rather than throwing an exception.
- *
- * @throws SecurityException if permission is denied
- * @see Socket#setSocketImplFactory(SocketImplFactory)
- * @see ServerSocket#setSocketFactory(SocketImplFactory)
- * @see URL#setURLStreamHandlerFactory(URLStreamHandlerFactory)
- */
- public void checkSetFactory()
- {
- checkPermission(new RuntimePermission("setFactory"));
- }
-
- /**
- * Check if the current thread is allowed to get certain types of Methods,
- * Fields and Constructors from a Class object. This method is called by
- * Class.getMethod[s](), Class.getField[s](), Class.getConstructor[s],
- * Class.getDeclaredMethod[s](), Class.getDeclaredField[s](), and
- * Class.getDeclaredConstructor[s](). The default implementation allows
- * PUBLIC access, and access to classes defined by the same classloader as
- * the code performing the reflection. Otherwise, it checks
- * <code>RuntimePermission("accessDeclaredMembers")</code>. If you override
- * this, do not call <code>super.checkMemberAccess</code>, as this would
- * mess up the stack depth check that determines the ClassLoader requesting
- * the access.
- *
- * @param c the Class to check
- * @param memberType either DECLARED or PUBLIC
- * @throws SecurityException if permission is denied, including when
- * memberType is not DECLARED or PUBLIC
- * @throws NullPointerException if c is null
- * @see Class
- * @see Member#DECLARED
- * @see Member#PUBLIC
- * @since 1.1
- */
- public void checkMemberAccess(Class c, int memberType)
- {
- if (c == null)
- throw new NullPointerException();
- if (memberType == Member.PUBLIC)
- return;
- // XXX Allow access to classes created by same classloader before next
- // check.
- checkPermission(new RuntimePermission("accessDeclaredMembers"));
- }
-
- /**
- * Test whether a particular security action may be taken. The default
- * implementation checks <code>SecurityPermission(action)</code>. If you
- * override this, call <code>super.checkSecurityAccess</code> rather than
- * throwing an exception.
- *
- * @param action the desired action to take
- * @throws SecurityException if permission is denied
- * @throws NullPointerException if action is null
- * @throws IllegalArgumentException if action is ""
- * @since 1.1
- */
- public void checkSecurityAccess(String action)
- {
- checkPermission(new SecurityPermission(action));
- }
-
- /**
- * Get the ThreadGroup that a new Thread should belong to by default. Called
- * by Thread.Thread(). The default implementation returns the current
- * ThreadGroup of the current Thread. <STRONG>Spec Note:</STRONG> it is not
- * clear whether the new Thread is guaranteed to pass the
- * checkAccessThreadGroup() test when using this ThreadGroup, but I presume
- * so.
- *
- * @return the ThreadGroup to put the new Thread into
- * @since 1.1
- */
- public ThreadGroup getThreadGroup()
- {
- return Thread.currentThread().getThreadGroup();
- }
-
- /**
- * Helper that checks a comma-separated list of restricted packages, from
- * <code>Security.getProperty("package.definition")</code>, for the given
- * package access permission. If packageName starts with or equals any
- * restricted package, it checks
- * <code>RuntimePermission(permission + packageName)</code>.
- *
- * @param packageName the package name to check access to
- * @param restriction "package.access" or "package.definition"
- * @param permission the base permission, including the '.'
- * @throws SecurityException if permission is denied
- * @throws NullPointerException if packageName is null
- * @see #checkPackageAccess(String)
- * @see #checkPackageDefinition(String)
- */
- void checkPackageList(String packageName, final String restriction,
- String permission)
- {
- if (packageName == null)
- throw new NullPointerException();
-
- String list = (String)AccessController.doPrivileged(new PrivilegedAction()
- {
- public Object run()
- {
- return Security.getProperty(restriction);
- }
- });
-
- if (list == null || list.equals(""))
- return;
-
- String packageNamePlusDot = packageName + ".";
-
- StringTokenizer st = new StringTokenizer(list, ",");
- while (st.hasMoreTokens())
- {
- if (packageNamePlusDot.startsWith(st.nextToken()))
- {
- Permission p = new RuntimePermission(permission + packageName);
- checkPermission(p);
- return;
- }
- }
- }
-}
diff --git a/libjava/java/lang/Short.h b/libjava/java/lang/Short.h
new file mode 100644
index 0000000..4267117
--- /dev/null
+++ b/libjava/java/lang/Short.h
@@ -0,0 +1,54 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_Short__
+#define __java_lang_Short__
+
+#pragma interface
+
+#include <java/lang/Number.h>
+#include <gcj/array.h>
+
+
+class java::lang::Short : public ::java::lang::Number
+{
+
+public:
+ Short(jshort);
+ Short(::java::lang::String *);
+ static ::java::lang::String * toString(jshort);
+ static jshort parseShort(::java::lang::String *);
+ static jshort parseShort(::java::lang::String *, jint);
+ static ::java::lang::Short * valueOf(::java::lang::String *, jint);
+ static ::java::lang::Short * valueOf(::java::lang::String *);
+ static ::java::lang::Short * valueOf(jshort);
+ static ::java::lang::Short * decode(::java::lang::String *);
+ jbyte byteValue();
+ jshort shortValue();
+ jint intValue();
+ jlong longValue();
+ jfloat floatValue();
+ jdouble doubleValue();
+ ::java::lang::String * toString();
+ jint hashCode();
+ jboolean equals(::java::lang::Object *);
+ jint target$compareTo(::java::lang::Short *);
+ static jshort reverseBytes(jshort);
+ jint compareTo(::java::lang::Object *);
+private:
+ static const jlong serialVersionUID = 7515723908773894738LL;
+public:
+ static const jshort MIN_VALUE = -32768;
+ static const jshort MAX_VALUE = 32767;
+ static ::java::lang::Class * TYPE;
+ static const jint SIZE = 16;
+private:
+ static const jint MIN_CACHE = -128;
+ static const jint MAX_CACHE = 127;
+ static JArray< ::java::lang::Short * > * shortCache;
+ jshort __attribute__((aligned(__alignof__( ::java::lang::Number)))) value;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_Short__
diff --git a/libjava/java/lang/StackOverflowError.h b/libjava/java/lang/StackOverflowError.h
new file mode 100644
index 0000000..6d1e06f
--- /dev/null
+++ b/libjava/java/lang/StackOverflowError.h
@@ -0,0 +1,23 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_StackOverflowError__
+#define __java_lang_StackOverflowError__
+
+#pragma interface
+
+#include <java/lang/VirtualMachineError.h>
+
+class java::lang::StackOverflowError : public ::java::lang::VirtualMachineError
+{
+
+public:
+ StackOverflowError();
+ StackOverflowError(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = 8609175038441759607LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_StackOverflowError__
diff --git a/libjava/java/lang/StackTraceElement.h b/libjava/java/lang/StackTraceElement.h
new file mode 100644
index 0000000..7adf3dc
--- /dev/null
+++ b/libjava/java/lang/StackTraceElement.h
@@ -0,0 +1,39 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_StackTraceElement__
+#define __java_lang_StackTraceElement__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::lang::StackTraceElement : public ::java::lang::Object
+{
+
+public: // actually package-private
+ StackTraceElement(::java::lang::String *, jint, ::java::lang::String *, ::java::lang::String *, jboolean);
+public:
+ StackTraceElement(::java::lang::String *, ::java::lang::String *, ::java::lang::String *, jint);
+ ::java::lang::String * getFileName();
+ jint getLineNumber();
+ ::java::lang::String * getClassName();
+ ::java::lang::String * getMethodName();
+ jboolean isNativeMethod();
+ ::java::lang::String * toString();
+ jboolean equals(::java::lang::Object *);
+ jint hashCode();
+private:
+ static jboolean equals(::java::lang::Object *, ::java::lang::Object *);
+ static jint hashCode(::java::lang::Object *);
+ static const jlong serialVersionUID = 6992337162326171013LL;
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) fileName;
+ jint lineNumber;
+ ::java::lang::String * declaringClass;
+ ::java::lang::String * methodName;
+ jboolean isNative;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_StackTraceElement__
diff --git a/libjava/java/lang/StrictMath.h b/libjava/java/lang/StrictMath.h
new file mode 100644
index 0000000..d37d5d6
--- /dev/null
+++ b/libjava/java/lang/StrictMath.h
@@ -0,0 +1,203 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_StrictMath__
+#define __java_lang_StrictMath__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+
+class java::lang::StrictMath : public ::java::lang::Object
+{
+
+ StrictMath();
+public:
+ static jint abs(jint);
+ static jlong abs(jlong);
+ static jfloat abs(jfloat);
+ static jdouble abs(jdouble);
+ static jint min(jint, jint);
+ static jlong min(jlong, jlong);
+ static jfloat min(jfloat, jfloat);
+ static jdouble min(jdouble, jdouble);
+ static jint max(jint, jint);
+ static jlong max(jlong, jlong);
+ static jfloat max(jfloat, jfloat);
+ static jdouble max(jdouble, jdouble);
+ static jdouble sin(jdouble);
+ static jdouble cos(jdouble);
+ static jdouble tan(jdouble);
+ static jdouble asin(jdouble);
+ static jdouble acos(jdouble);
+ static jdouble atan(jdouble);
+ static jdouble atan2(jdouble, jdouble);
+ static jdouble sinh(jdouble);
+ static jdouble cosh(jdouble);
+ static jdouble tanh(jdouble);
+private:
+ static jlong getLowDWord(jlong);
+ static jlong getHighDWord(jlong);
+ static jdouble buildDouble(jlong, jlong);
+public:
+ static jdouble cbrt(jdouble);
+ static jdouble exp(jdouble);
+ static jdouble expm1(jdouble);
+ static jdouble log(jdouble);
+ static jdouble sqrt(jdouble);
+ static jdouble pow(jdouble, jdouble);
+ static jdouble IEEEremainder(jdouble, jdouble);
+ static jdouble ceil(jdouble);
+ static jdouble floor(jdouble);
+ static jdouble rint(jdouble);
+ static jint round(jfloat);
+ static jlong round(jdouble);
+ static jdouble random();
+ static jdouble toRadians(jdouble);
+ static jdouble toDegrees(jdouble);
+private:
+ static jint remPiOver2(jdouble, JArray< jdouble > *);
+ static jint remPiOver2(JArray< jdouble > *, JArray< jdouble > *, jint, jint);
+ static jdouble scale(jdouble, jint);
+ static jdouble sin(jdouble, jdouble);
+ static jdouble cos(jdouble, jdouble);
+ static jdouble tan(jdouble, jdouble, jboolean);
+public:
+ static jdouble signum(jdouble);
+ static jfloat signum(jfloat);
+ static jdouble ulp(jdouble);
+ static jfloat ulp(jfloat);
+private:
+ static ::java::util::Random * rand;
+public:
+ static jdouble E;
+ static jdouble PI;
+private:
+ static jdouble TWO_16;
+ static jdouble TWO_20;
+ static jdouble TWO_24;
+ static jdouble TWO_27;
+ static jdouble TWO_28;
+ static jdouble TWO_29;
+ static jdouble TWO_31;
+ static jdouble TWO_49;
+ static jdouble TWO_52;
+ static jdouble TWO_54;
+ static jdouble TWO_57;
+ static jdouble TWO_60;
+ static jdouble TWO_64;
+ static jdouble TWO_66;
+ static jdouble TWO_1023;
+ static JArray< jint > * TWO_OVER_PI;
+ static JArray< jdouble > * PI_OVER_TWO;
+ static jdouble PI_L;
+ static jdouble PIO2_1;
+ static jdouble PIO2_1L;
+ static jdouble PIO2_2;
+ static jdouble PIO2_2L;
+ static jdouble PIO2_3;
+ static jdouble PIO2_3L;
+ static jdouble SQRT_1_5;
+ static jdouble SQRT_2;
+ static jdouble SQRT_3;
+ static jdouble EXP_LIMIT_H;
+ static jdouble EXP_LIMIT_L;
+ static jdouble CP;
+ static jdouble CP_H;
+ static jdouble CP_L;
+ static jdouble LN2;
+ static jdouble LN2_H;
+ static jdouble LN2_L;
+ static jdouble INV_LN2;
+ static jdouble INV_LN2_H;
+ static jdouble INV_LN2_L;
+ static jdouble LG1;
+ static jdouble LG2;
+ static jdouble LG3;
+ static jdouble LG4;
+ static jdouble LG5;
+ static jdouble LG6;
+ static jdouble LG7;
+ static jdouble L1;
+ static jdouble L2;
+ static jdouble L3;
+ static jdouble L4;
+ static jdouble L5;
+ static jdouble L6;
+ static jdouble P1;
+ static jdouble P2;
+ static jdouble P3;
+ static jdouble P4;
+ static jdouble P5;
+ static jdouble DP_H;
+ static jdouble DP_L;
+ static jdouble OVT;
+ static jdouble S1;
+ static jdouble S2;
+ static jdouble S3;
+ static jdouble S4;
+ static jdouble S5;
+ static jdouble S6;
+ static jdouble C1;
+ static jdouble C2;
+ static jdouble C3;
+ static jdouble C4;
+ static jdouble C5;
+ static jdouble C6;
+ static jdouble T0;
+ static jdouble T1;
+ static jdouble T2;
+ static jdouble T3;
+ static jdouble T4;
+ static jdouble T5;
+ static jdouble T6;
+ static jdouble T7;
+ static jdouble T8;
+ static jdouble T9;
+ static jdouble T10;
+ static jdouble T11;
+ static jdouble T12;
+ static jdouble PS0;
+ static jdouble PS1;
+ static jdouble PS2;
+ static jdouble PS3;
+ static jdouble PS4;
+ static jdouble PS5;
+ static jdouble QS1;
+ static jdouble QS2;
+ static jdouble QS3;
+ static jdouble QS4;
+ static jdouble ATAN_0_5H;
+ static jdouble ATAN_0_5L;
+ static jdouble ATAN_1_5H;
+ static jdouble ATAN_1_5L;
+ static jdouble AT0;
+ static jdouble AT1;
+ static jdouble AT2;
+ static jdouble AT3;
+ static jdouble AT4;
+ static jdouble AT5;
+ static jdouble AT6;
+ static jdouble AT7;
+ static jdouble AT8;
+ static jdouble AT9;
+ static jdouble AT10;
+ static const jint CBRT_B1 = 715094163;
+ static const jint CBRT_B2 = 696219795;
+ static jdouble CBRT_C;
+ static jdouble CBRT_D;
+ static jdouble CBRT_E;
+ static jdouble CBRT_F;
+ static jdouble CBRT_G;
+ static jdouble EXPM1_Q1;
+ static jdouble EXPM1_Q2;
+ static jdouble EXPM1_Q3;
+ static jdouble EXPM1_Q4;
+ static jdouble EXPM1_Q5;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_StrictMath__
diff --git a/libjava/java/lang/String$CaseInsensitiveComparator.h b/libjava/java/lang/String$CaseInsensitiveComparator.h
new file mode 100644
index 0000000..11c0ea5
--- /dev/null
+++ b/libjava/java/lang/String$CaseInsensitiveComparator.h
@@ -0,0 +1,24 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_String$CaseInsensitiveComparator__
+#define __java_lang_String$CaseInsensitiveComparator__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::lang::String$CaseInsensitiveComparator : public ::java::lang::Object
+{
+
+public: // actually package-private
+ String$CaseInsensitiveComparator();
+public:
+ jint compare(::java::lang::Object *, ::java::lang::Object *);
+private:
+ static const jlong serialVersionUID = 8575799808933029326LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_String$CaseInsensitiveComparator__
diff --git a/libjava/java/lang/String.h b/libjava/java/lang/String.h
new file mode 100644
index 0000000..44be274
--- /dev/null
+++ b/libjava/java/lang/String.h
@@ -0,0 +1,138 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_String__
+#define __java_lang_String__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace gcj
+ {
+ namespace runtime
+ {
+ class StringBuffer;
+ }
+ }
+ }
+}
+
+jchar* _Jv_GetStringChars (jstring str);
+jstring* _Jv_StringFindSlot (jchar*, jint, jint);
+jstring* _Jv_StringGetSlot (jstring);
+jstring _Jv_NewStringUtf8Const (_Jv_Utf8Const* str);
+jstring _Jv_NewStringLatin1 (const char*, jsize);
+jstring _Jv_AllocString (jsize);
+
+class java::lang::String : public ::java::lang::Object
+{
+
+public:
+ String();
+ String(::java::lang::String *);
+ String(JArray< jchar > *);
+ String(JArray< jchar > *, jint, jint);
+ String(JArray< jbyte > *, jint, jint, jint);
+ String(JArray< jbyte > *, jint);
+ String(JArray< jbyte > *, jint, jint, ::java::lang::String *);
+ String(JArray< jbyte > *, ::java::lang::String *);
+ String(JArray< jbyte > *, jint, jint);
+ String(JArray< jbyte > *);
+ String(::java::lang::StringBuffer *);
+ String(::java::lang::StringBuilder *);
+public: // actually package-private
+ String(JArray< jchar > *, jint, jint, jboolean);
+ String(::gnu::gcj::runtime::StringBuffer *);
+public:
+ jint length();
+ jchar charAt(jint);
+ jint codePointAt(jint);
+ jint codePointBefore(jint);
+ void getChars(jint, jint, JArray< jchar > *, jint);
+ void getBytes(jint, jint, JArray< jbyte > *, jint);
+ JArray< jbyte > * getBytes(::java::lang::String *);
+ JArray< jbyte > * getBytes();
+ jboolean equals(::java::lang::Object *);
+ jboolean contentEquals(::java::lang::StringBuffer *);
+ jboolean contentEquals(::java::lang::CharSequence *);
+ jboolean equalsIgnoreCase(::java::lang::String *);
+ jint compareTo(::java::lang::String *);
+ jint compareTo(::java::lang::Object *);
+ jint compareToIgnoreCase(::java::lang::String *);
+ jboolean regionMatches(jint, ::java::lang::String *, jint, jint);
+ jboolean regionMatches(jboolean, jint, ::java::lang::String *, jint, jint);
+ jboolean startsWith(::java::lang::String *, jint);
+ jboolean startsWith(::java::lang::String *);
+ jboolean endsWith(::java::lang::String *);
+ jint hashCode();
+ jint indexOf(jint);
+ jint indexOf(jint, jint);
+ jint lastIndexOf(jint);
+ jint lastIndexOf(jint, jint);
+ jint indexOf(::java::lang::String *);
+ jint indexOf(::java::lang::String *, jint);
+ jint lastIndexOf(::java::lang::String *);
+ jint lastIndexOf(::java::lang::String *, jint);
+ ::java::lang::String * substring(jint);
+ ::java::lang::String * substring(jint, jint);
+ ::java::lang::CharSequence * subSequence(jint, jint);
+ ::java::lang::String * concat(::java::lang::String *);
+ ::java::lang::String * replace(jchar, jchar);
+ jboolean matches(::java::lang::String *);
+ ::java::lang::String * replaceFirst(::java::lang::String *, ::java::lang::String *);
+ ::java::lang::String * replaceAll(::java::lang::String *, ::java::lang::String *);
+ JArray< ::java::lang::String * > * split(::java::lang::String *, jint);
+ JArray< ::java::lang::String * > * split(::java::lang::String *);
+ ::java::lang::String * toLowerCase(::java::util::Locale *);
+ ::java::lang::String * toLowerCase();
+ ::java::lang::String * toUpperCase(::java::util::Locale *);
+ ::java::lang::String * toUpperCase();
+ ::java::lang::String * trim();
+ ::java::lang::String * toString();
+ JArray< jchar > * toCharArray();
+ static ::java::lang::String * valueOf(::java::lang::Object *);
+ static ::java::lang::String * valueOf(JArray< jchar > *);
+ static ::java::lang::String * valueOf(JArray< jchar > *, jint, jint);
+ static ::java::lang::String * copyValueOf(JArray< jchar > *, jint, jint);
+ static ::java::lang::String * copyValueOf(JArray< jchar > *);
+ static ::java::lang::String * valueOf(jboolean);
+ static ::java::lang::String * valueOf(jchar);
+ static ::java::lang::String * valueOf(jint);
+ static ::java::lang::String * valueOf(jlong);
+ static ::java::lang::String * valueOf(jfloat);
+ static ::java::lang::String * valueOf(jdouble);
+ ::java::lang::String * intern();
+ jint codePointCount(jint, jint);
+ jboolean contains(::java::lang::CharSequence *);
+ ::java::lang::String * replace(::java::lang::CharSequence *, ::java::lang::CharSequence *);
+private:
+ void init(JArray< jchar > *, jint, jint, jboolean);
+ void init(JArray< jbyte > *, jint, jint, jint);
+ void init(JArray< jbyte > *, jint, jint, ::java::lang::String *);
+ void init(::gnu::gcj::runtime::StringBuffer *);
+ static const jlong serialVersionUID = -6849794470754667710LL;
+ ::java::lang::Object * __attribute__((aligned(__alignof__( ::java::lang::Object)))) data;
+ jint boffset;
+public: // actually package-private
+ jint count;
+private:
+ jint cachedHashCode;
+public:
+ static ::java::util::Comparator * CASE_INSENSITIVE_ORDER;
+ static ::java::lang::Class class$;
+
+ friend jchar* ::_Jv_GetStringChars (jstring str);
+ friend jstring* ::_Jv_StringFindSlot (jchar*, jint, jint);
+ friend jstring* ::_Jv_StringGetSlot (jstring);
+ friend jstring (::_Jv_NewStringUtf8Const) (_Jv_Utf8Const* str);
+ friend jstring (::_Jv_NewStringLatin1) (const char*, jsize);
+ friend jstring (::_Jv_AllocString) (jsize);
+};
+
+#endif // __java_lang_String__
diff --git a/libjava/java/lang/StringBuffer.h b/libjava/java/lang/StringBuffer.h
new file mode 100644
index 0000000..93951f4
--- /dev/null
+++ b/libjava/java/lang/StringBuffer.h
@@ -0,0 +1,85 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_StringBuffer__
+#define __java_lang_StringBuffer__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+
+class java::lang::StringBuffer : public ::java::lang::Object
+{
+
+public:
+ StringBuffer();
+ StringBuffer(jint);
+ StringBuffer(::java::lang::String *);
+ StringBuffer(::java::lang::CharSequence *);
+ jint length();
+ jint capacity();
+ void ensureCapacity(jint);
+ void setLength(jint);
+ jchar charAt(jint);
+ jint codePointAt(jint);
+ jint codePointBefore(jint);
+ void getChars(jint, jint, JArray< jchar > *, jint);
+ void setCharAt(jint, jchar);
+ ::java::lang::StringBuffer * append(::java::lang::Object *);
+ ::java::lang::StringBuffer * append(::java::lang::String *);
+ ::java::lang::StringBuffer * append(::java::lang::StringBuffer *);
+ ::java::lang::StringBuffer * append(::java::lang::CharSequence *);
+ ::java::lang::StringBuffer * append(::java::lang::CharSequence *, jint, jint);
+ ::java::lang::StringBuffer * append(JArray< jchar > *);
+ ::java::lang::StringBuffer * append(JArray< jchar > *, jint, jint);
+ ::java::lang::StringBuffer * append(jboolean);
+ ::java::lang::StringBuffer * append(jchar);
+ ::java::lang::StringBuffer * appendCodePoint(jint);
+ ::java::lang::StringBuffer * append(jint);
+ ::java::lang::StringBuffer * append(jlong);
+ ::java::lang::StringBuffer * append(jfloat);
+ ::java::lang::StringBuffer * append(jdouble);
+ ::java::lang::StringBuffer * delete$(jint, jint);
+ ::java::lang::StringBuffer * deleteCharAt(jint);
+ ::java::lang::StringBuffer * replace(jint, jint, ::java::lang::String *);
+ ::java::lang::String * substring(jint);
+ ::java::lang::CharSequence * subSequence(jint, jint);
+ ::java::lang::String * substring(jint, jint);
+ ::java::lang::StringBuffer * insert(jint, JArray< jchar > *, jint, jint);
+ ::java::lang::StringBuffer * insert(jint, ::java::lang::Object *);
+ ::java::lang::StringBuffer * insert(jint, ::java::lang::String *);
+ ::java::lang::StringBuffer * insert(jint, ::java::lang::CharSequence *);
+ ::java::lang::StringBuffer * insert(jint, ::java::lang::CharSequence *, jint, jint);
+ ::java::lang::StringBuffer * insert(jint, JArray< jchar > *);
+ ::java::lang::StringBuffer * insert(jint, jboolean);
+ ::java::lang::StringBuffer * insert(jint, jchar);
+ ::java::lang::StringBuffer * insert(jint, jint);
+ ::java::lang::StringBuffer * insert(jint, jlong);
+ ::java::lang::StringBuffer * insert(jint, jfloat);
+ ::java::lang::StringBuffer * insert(jint, jdouble);
+ jint indexOf(::java::lang::String *);
+ jint indexOf(::java::lang::String *, jint);
+ jint lastIndexOf(::java::lang::String *);
+ jint lastIndexOf(::java::lang::String *, jint);
+ ::java::lang::StringBuffer * reverse();
+ ::java::lang::String * toString();
+ void trimToSize();
+ jint codePointCount(jint, jint);
+ jint offsetByCodePoints(jint, jint);
+private:
+ void ensureCapacity_unsynchronized(jint);
+ jboolean regionMatches(jint, ::java::lang::String *);
+ static const jlong serialVersionUID = 3388685877147921107LL;
+public: // actually package-private
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) count;
+ JArray< jchar > * value;
+ jboolean shared;
+private:
+ static const jint DEFAULT_CAPACITY = 16;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_StringBuffer__
diff --git a/libjava/java/lang/StringBuilder.h b/libjava/java/lang/StringBuilder.h
new file mode 100644
index 0000000..d4912bf
--- /dev/null
+++ b/libjava/java/lang/StringBuilder.h
@@ -0,0 +1,83 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_StringBuilder__
+#define __java_lang_StringBuilder__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+
+class java::lang::StringBuilder : public ::java::lang::Object
+{
+
+public:
+ StringBuilder();
+ StringBuilder(jint);
+ StringBuilder(::java::lang::String *);
+ StringBuilder(::java::lang::CharSequence *);
+ jint length();
+ jint capacity();
+ void ensureCapacity(jint);
+ void setLength(jint);
+ jchar charAt(jint);
+ void getChars(jint, jint, JArray< jchar > *, jint);
+ void setCharAt(jint, jchar);
+ ::java::lang::StringBuilder * append(::java::lang::Object *);
+ ::java::lang::StringBuilder * append(::java::lang::String *);
+ ::java::lang::StringBuilder * append(::java::lang::StringBuffer *);
+ ::java::lang::StringBuilder * append(JArray< jchar > *);
+ ::java::lang::StringBuilder * append(JArray< jchar > *, jint, jint);
+ ::java::lang::StringBuilder * append(jboolean);
+ ::java::lang::StringBuilder * target$append(jchar);
+ ::java::lang::StringBuilder * target$append(::java::lang::CharSequence *);
+ ::java::lang::StringBuilder * target$append(::java::lang::CharSequence *, jint, jint);
+ ::java::lang::StringBuilder * appendCodePoint(jint);
+ ::java::lang::StringBuilder * append(jint);
+ ::java::lang::StringBuilder * append(jlong);
+ ::java::lang::StringBuilder * append(jfloat);
+ ::java::lang::StringBuilder * append(jdouble);
+ ::java::lang::StringBuilder * delete$(jint, jint);
+ ::java::lang::StringBuilder * deleteCharAt(jint);
+ ::java::lang::StringBuilder * replace(jint, jint, ::java::lang::String *);
+ ::java::lang::String * substring(jint);
+ ::java::lang::CharSequence * subSequence(jint, jint);
+ ::java::lang::String * substring(jint, jint);
+ ::java::lang::StringBuilder * insert(jint, JArray< jchar > *, jint, jint);
+ ::java::lang::StringBuilder * insert(jint, ::java::lang::Object *);
+ ::java::lang::StringBuilder * insert(jint, ::java::lang::String *);
+ ::java::lang::StringBuilder * insert(jint, ::java::lang::CharSequence *);
+ ::java::lang::StringBuilder * insert(jint, ::java::lang::CharSequence *, jint, jint);
+ ::java::lang::StringBuilder * insert(jint, JArray< jchar > *);
+ ::java::lang::StringBuilder * insert(jint, jboolean);
+ ::java::lang::StringBuilder * insert(jint, jchar);
+ ::java::lang::StringBuilder * insert(jint, jint);
+ ::java::lang::StringBuilder * insert(jint, jlong);
+ ::java::lang::StringBuilder * insert(jint, jfloat);
+ ::java::lang::StringBuilder * insert(jint, jdouble);
+ jint indexOf(::java::lang::String *);
+ jint indexOf(::java::lang::String *, jint);
+ jint lastIndexOf(::java::lang::String *);
+ jint lastIndexOf(::java::lang::String *, jint);
+ ::java::lang::StringBuilder * reverse();
+ ::java::lang::String * toString();
+private:
+ jboolean regionMatches(jint, ::java::lang::String *);
+public:
+ ::java::lang::Appendable * append(::java::lang::CharSequence *, jint, jint);
+ ::java::lang::Appendable * append(::java::lang::CharSequence *);
+ ::java::lang::Appendable * append(jchar);
+private:
+ static const jlong serialVersionUID = 4383685877147921099LL;
+public: // actually package-private
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) count;
+ JArray< jchar > * value;
+private:
+ static const jint DEFAULT_CAPACITY = 16;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_StringBuilder__
diff --git a/libjava/java/lang/StringBuilder.java b/libjava/java/lang/StringBuilder.java
index 5990a6d8..5f33b2e 100644
--- a/libjava/java/lang/StringBuilder.java
+++ b/libjava/java/lang/StringBuilder.java
@@ -74,9 +74,8 @@ import java.io.Serializable;
*
* @since 1.5
*/
-// FIX15: Implement Appendable when co-variant methods are available
public final class StringBuilder
- implements Serializable, CharSequence
+ implements Serializable, CharSequence, Appendable
{
// Implementation note: if you change this class, you usually will
// want to change StringBuffer as well.
diff --git a/libjava/java/lang/StringIndexOutOfBoundsException.h b/libjava/java/lang/StringIndexOutOfBoundsException.h
new file mode 100644
index 0000000..e3669a0
--- /dev/null
+++ b/libjava/java/lang/StringIndexOutOfBoundsException.h
@@ -0,0 +1,24 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_StringIndexOutOfBoundsException__
+#define __java_lang_StringIndexOutOfBoundsException__
+
+#pragma interface
+
+#include <java/lang/IndexOutOfBoundsException.h>
+
+class java::lang::StringIndexOutOfBoundsException : public ::java::lang::IndexOutOfBoundsException
+{
+
+public:
+ StringIndexOutOfBoundsException();
+ StringIndexOutOfBoundsException(::java::lang::String *);
+ StringIndexOutOfBoundsException(jint);
+private:
+ static const jlong serialVersionUID = -6762910422159637258LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_StringIndexOutOfBoundsException__
diff --git a/libjava/java/lang/SuppressWarnings.h b/libjava/java/lang/SuppressWarnings.h
new file mode 100644
index 0000000..3f28104
--- /dev/null
+++ b/libjava/java/lang/SuppressWarnings.h
@@ -0,0 +1,22 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_SuppressWarnings__
+#define __java_lang_SuppressWarnings__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+
+class java::lang::SuppressWarnings : public ::java::lang::Object
+{
+
+public:
+ virtual JArray< ::java::lang::String * > * value() = 0;
+ virtual ::java::lang::Class * annotationType() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_lang_SuppressWarnings__
diff --git a/libjava/java/lang/System$EnvironmentCollection.h b/libjava/java/lang/System$EnvironmentCollection.h
new file mode 100644
index 0000000..8392e17
--- /dev/null
+++ b/libjava/java/lang/System$EnvironmentCollection.h
@@ -0,0 +1,29 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_System$EnvironmentCollection__
+#define __java_lang_System$EnvironmentCollection__
+
+#pragma interface
+
+#include <java/util/AbstractCollection.h>
+
+class java::lang::System$EnvironmentCollection : public ::java::util::AbstractCollection
+{
+
+public:
+ System$EnvironmentCollection(::java::util::Collection *);
+ virtual jboolean contains(::java::lang::Object *);
+ virtual jboolean containsAll(::java::util::Collection *);
+ virtual ::java::util::Iterator * iterator();
+ virtual jboolean remove(::java::lang::Object *);
+ virtual jboolean removeAll(::java::util::Collection *);
+ virtual jboolean retainAll(::java::util::Collection *);
+ virtual jint size();
+public: // actually protected
+ ::java::util::Collection * __attribute__((aligned(__alignof__( ::java::util::AbstractCollection)))) c;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_System$EnvironmentCollection__
diff --git a/libjava/java/lang/System$EnvironmentMap.h b/libjava/java/lang/System$EnvironmentMap.h
new file mode 100644
index 0000000..ee4582b
--- /dev/null
+++ b/libjava/java/lang/System$EnvironmentMap.h
@@ -0,0 +1,34 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_System$EnvironmentMap__
+#define __java_lang_System$EnvironmentMap__
+
+#pragma interface
+
+#include <java/util/HashMap.h>
+
+class java::lang::System$EnvironmentMap : public ::java::util::HashMap
+{
+
+public: // actually package-private
+ System$EnvironmentMap();
+public:
+ virtual jboolean containsKey(::java::lang::Object *);
+ virtual jboolean containsValue(::java::lang::Object *);
+ virtual ::java::util::Set * entrySet();
+ virtual ::java::lang::String * target$get(::java::lang::Object *);
+ virtual ::java::util::Set * keySet();
+ virtual ::java::lang::String * target$remove(::java::lang::Object *);
+ virtual ::java::util::Collection * values();
+ virtual ::java::lang::Object * get(::java::lang::Object *);
+ virtual ::java::lang::Object * remove(::java::lang::Object *);
+private:
+ ::java::util::Set * __attribute__((aligned(__alignof__( ::java::util::HashMap)))) entries;
+ ::java::util::Set * keys;
+ ::java::util::Collection * values__;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_System$EnvironmentMap__
diff --git a/libjava/java/lang/System$EnvironmentSet.h b/libjava/java/lang/System$EnvironmentSet.h
new file mode 100644
index 0000000..9a1e1a6
--- /dev/null
+++ b/libjava/java/lang/System$EnvironmentSet.h
@@ -0,0 +1,21 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_System$EnvironmentSet__
+#define __java_lang_System$EnvironmentSet__
+
+#pragma interface
+
+#include <java/lang/System$EnvironmentCollection.h>
+
+class java::lang::System$EnvironmentSet : public ::java::lang::System$EnvironmentCollection
+{
+
+public:
+ System$EnvironmentSet(::java::util::Set *);
+ virtual jboolean equals(::java::lang::Object *);
+ virtual jint hashCode();
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_System$EnvironmentSet__
diff --git a/libjava/java/lang/System.h b/libjava/java/lang/System.h
new file mode 100644
index 0000000..5a75967
--- /dev/null
+++ b/libjava/java/lang/System.h
@@ -0,0 +1,56 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_System__
+#define __java_lang_System__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::lang::System : public ::java::lang::Object
+{
+
+ System();
+public:
+ static void setIn(::java::io::InputStream *);
+ static void setOut(::java::io::PrintStream *);
+ static void setErr(::java::io::PrintStream *);
+ static void setSecurityManager(::java::lang::SecurityManager *);
+ static ::java::lang::SecurityManager * getSecurityManager();
+ static jlong currentTimeMillis();
+ static jlong nanoTime();
+ static void arraycopy(::java::lang::Object *, jint, ::java::lang::Object *, jint, jint);
+ static jint identityHashCode(::java::lang::Object *);
+ static ::java::util::Properties * getProperties();
+ static void setProperties(::java::util::Properties *);
+ static ::java::lang::String * getProperty(::java::lang::String *);
+ static ::java::lang::String * getProperty(::java::lang::String *, ::java::lang::String *);
+ static ::java::lang::String * setProperty(::java::lang::String *, ::java::lang::String *);
+ static ::java::lang::String * clearProperty(::java::lang::String *);
+ static ::java::lang::String * getenv(::java::lang::String *);
+ static ::java::util::Map * getenv();
+ static void exit(jint);
+ static void gc();
+ static void runFinalization();
+ static void runFinalizersOnExit(jboolean);
+ static void load(::java::lang::String *);
+ static void loadLibrary(::java::lang::String *);
+ static ::java::lang::String * mapLibraryName(::java::lang::String *);
+private:
+ static void setIn0(::java::io::InputStream *);
+ static void setOut0(::java::io::PrintStream *);
+ static void setErr0(::java::io::PrintStream *);
+public: // actually package-private
+ static ::java::lang::String * getenv0(::java::lang::String *);
+public:
+ static ::java::io::InputStream * in;
+ static ::java::io::PrintStream * out;
+ static ::java::io::PrintStream * err;
+private:
+ static ::java::util::Map * environmentMap;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_System__
diff --git a/libjava/java/lang/System.java b/libjava/java/lang/System.java
index 6b125c9..587e637 100644
--- a/libjava/java/lang/System.java
+++ b/libjava/java/lang/System.java
@@ -48,6 +48,15 @@ import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.InputStream;
import java.io.PrintStream;
+import java.util.AbstractCollection;
+import java.util.ArrayList;
+import java.util.Collection;
+import java.util.Collections;
+import java.util.HashMap;
+import java.util.Iterator;
+import java.util.List;
+import java.util.Map;
+import java.util.Set;
import java.util.Properties;
import java.util.PropertyPermission;
@@ -103,6 +112,11 @@ public final class System
= new PrintStream(new BufferedOutputStream(new FileOutputStream(FileDescriptor.err)), true);
/**
+ * A cached copy of the environment variable map.
+ */
+ private static Map<String,String> environmentMap;
+
+ /**
* This class is uninstantiable.
*/
private System()
@@ -394,6 +408,29 @@ public final class System
}
/**
+ * Remove a single system property by name. A security check may be
+ * performed, <code>checkPropertyAccess(key, "write")</code>.
+ *
+ * @param key the name of the system property to remove
+ * @return the previous value, or null
+ * @throws SecurityException if permission is denied
+ * @throws NullPointerException if key is null
+ * @throws IllegalArgumentException if key is ""
+ * @since 1.5
+ */
+ public static String clearProperty(String key)
+ {
+ SecurityManager sm = SecurityManager.current; // Be thread-safe.
+ if (sm != null)
+ sm.checkPermission(new PropertyPermission(key, "write"));
+ // This handles both the null pointer exception and the illegal
+ // argument exception.
+ if (key.length() == 0)
+ throw new IllegalArgumentException("key can't be empty");
+ return SystemProperties.remove(key);
+ }
+
+ /**
* Gets the value of an environment variable.
*
* @param name the name of the environment variable
@@ -416,6 +453,59 @@ public final class System
}
/**
+ * <p>
+ * Returns an unmodifiable view of the system environment variables.
+ * If the underlying system does not support environment variables,
+ * an empty map is returned.
+ * </p>
+ * <p>
+ * The returned map is read-only and does not accept queries using
+ * null keys or values, or those of a type other than <code>String</code>.
+ * Attempts to modify the map will throw an
+ * <code>UnsupportedOperationException</code>, while attempts
+ * to pass in a null value will throw a
+ * <code>NullPointerException</code>. Types other than <code>String</code>
+ * throw a <code>ClassCastException</code>.
+ * </p>
+ * <p>
+ * As the returned map is generated using data from the underlying
+ * platform, it may not comply with the <code>equals()</code>
+ * and <code>hashCode()</code> contracts. It is also likely that
+ * the keys of this map will be case-sensitive.
+ * </p>
+ * <p>
+ * Use of this method may require a security check for the
+ * RuntimePermission "getenv.*".
+ * </p>
+ *
+ * @return a map of the system environment variables.
+ * @throws SecurityException if the checkPermission method of
+ * an installed security manager prevents access to
+ * the system environment variables.
+ * @since 1.5
+ */
+ public static Map<String, String> getenv()
+ {
+ SecurityManager sm = SecurityManager.current; // Be thread-safe.
+ if (sm != null)
+ sm.checkPermission(new RuntimePermission("getenv.*"));
+ if (environmentMap == null)
+ {
+ // List<String> environ = (List<String>)VMSystem.environ();
+ // FIXME
+ List<String> environ = new ArrayList<String>();
+ Map<String,String> variables = new EnvironmentMap();
+ for (String pair : environ)
+ {
+ String[] parts = pair.split("=");
+ variables.put(parts[0], parts[1]);
+ }
+ environmentMap = Collections.unmodifiableMap(variables);
+ }
+ return environmentMap;
+ }
+
+ /**
* Terminate the Virtual Machine. This just calls
* <code>Runtime.getRuntime().exit(status)</code>, and never returns.
* Obviously, a security check is in order, <code>checkExit</code>.
@@ -557,4 +647,382 @@ public final class System
* @see #getenv(String)
*/
static native String getenv0(String name);
+
+
+ /**
+ * This is a specialised <code>Collection</code>, providing
+ * the necessary provisions for the collections used by the
+ * environment variable map. Namely, it prevents
+ * querying anything but <code>String</code>s.
+ *
+ * @author Andrew John Hughes (gnu_andrew@member.fsf.org)
+ */
+ private static class EnvironmentCollection
+ extends AbstractCollection<String>
+ {
+
+ /**
+ * The wrapped collection.
+ */
+ protected Collection<String> c;
+
+ /**
+ * Constructs a new environment collection, which
+ * wraps the elements of the supplied collection.
+ *
+ * @param coll the collection to use as a base for
+ * this collection.
+ */
+ public EnvironmentCollection(Collection<String> coll)
+ {
+ c = coll;
+ }
+
+ /**
+ * Blocks queries containing a null object or an object which
+ * isn't of type <code>String</code>. All other queries
+ * are forwarded to the underlying collection.
+ *
+ * @param obj the object to look for.
+ * @return true if the object exists in the collection.
+ * @throws NullPointerException if the specified object is null.
+ * @throws ClassCastException if the specified object is not a String.
+ */
+ public boolean contains(Object obj)
+ {
+ if (obj == null)
+ throw new
+ NullPointerException("This collection does not support " +
+ "null values.");
+ if (!(obj instanceof String))
+ throw new
+ ClassCastException("This collection only supports Strings.");
+ return c.contains(obj);
+ }
+
+ /**
+ * Blocks queries where the collection contains a null object or
+ * an object which isn't of type <code>String</code>. All other
+ * queries are forwarded to the underlying collection.
+ *
+ * @param coll the collection of objects to look for.
+ * @return true if the collection contains all elements in the collection.
+ * @throws NullPointerException if the collection is null.
+ * @throws NullPointerException if any collection entry is null.
+ * @throws ClassCastException if any collection entry is not a String.
+ */
+ public boolean containsAll(Collection<?> coll)
+ {
+ for (Object o: coll)
+ {
+ if (o == null)
+ throw new
+ NullPointerException("This collection does not support " +
+ "null values.");
+ if (!(o instanceof String))
+ throw new
+ ClassCastException("This collection only supports Strings.");
+ }
+ return c.containsAll(coll);
+ }
+
+ /**
+ * This returns an iterator over the map elements, with the
+ * same provisions as for the collection and underlying map.
+ *
+ * @return an iterator over the map elements.
+ */
+ public Iterator<String> iterator()
+ {
+ return c.iterator();
+ }
+
+ /**
+ * Blocks the removal of elements from the collection.
+ *
+ * @return true if the removal was sucessful.
+ * @throws NullPointerException if the collection is null.
+ * @throws NullPointerException if any collection entry is null.
+ * @throws ClassCastException if any collection entry is not a String.
+ */
+ public boolean remove(Object key)
+ {
+ if (key == null)
+ throw new
+ NullPointerException("This collection does not support " +
+ "null values.");
+ if (!(key instanceof String))
+ throw new
+ ClassCastException("This collection only supports Strings.");
+ return c.contains(key);
+ }
+
+ /**
+ * Blocks the removal of all elements in the specified
+ * collection from the collection.
+ *
+ * @param coll the collection of elements to remove.
+ * @return true if the elements were removed.
+ * @throws NullPointerException if the collection is null.
+ * @throws NullPointerException if any collection entry is null.
+ * @throws ClassCastException if any collection entry is not a String.
+ */
+ public boolean removeAll(Collection<?> coll)
+ {
+ for (Object o: coll)
+ {
+ if (o == null)
+ throw new
+ NullPointerException("This collection does not support " +
+ "null values.");
+ if (!(o instanceof String))
+ throw new
+ ClassCastException("This collection only supports Strings.");
+ }
+ return c.removeAll(coll);
+ }
+
+ /**
+ * Blocks the retention of all elements in the specified
+ * collection from the collection.
+ *
+ * @param c the collection of elements to retain.
+ * @return true if the other elements were removed.
+ * @throws NullPointerException if the collection is null.
+ * @throws NullPointerException if any collection entry is null.
+ * @throws ClassCastException if any collection entry is not a String.
+ */
+ public boolean retainAll(Collection<?> coll)
+ {
+ for (Object o: coll)
+ {
+ if (o == null)
+ throw new
+ NullPointerException("This collection does not support " +
+ "null values.");
+ if (!(o instanceof String))
+ throw new
+ ClassCastException("This collection only supports Strings.");
+ }
+ return c.containsAll(coll);
+ }
+
+ /**
+ * This simply calls the same method on the wrapped
+ * collection.
+ *
+ * @return the size of the underlying collection.
+ */
+ public int size()
+ {
+ return c.size();
+ }
+
+ } // class EnvironmentCollection<String>
+
+ /**
+ * This is a specialised <code>HashMap</code>, which
+ * prevents the addition or querying of anything other than
+ * <code>String</code> objects.
+ *
+ * @author Andrew John Hughes (gnu_andrew@member.fsf.org)
+ */
+ private static class EnvironmentMap
+ extends HashMap<String,String>
+ {
+
+ /**
+ * Cache the entry set.
+ */
+ private transient Set<Map.Entry<String,String>> entries;
+
+ /**
+ * Cache the key set.
+ */
+ private transient Set<String> keys;
+
+ /**
+ * Cache the value collection.
+ */
+ private transient Collection<String> values;
+
+ /**
+ * Constructs a new empty <code>EnvironmentMap</code>.
+ */
+ EnvironmentMap()
+ {
+ super();
+ }
+
+ /**
+ * Blocks queries containing a null key or one which is not
+ * of type <code>String</code>. All other queries
+ * are forwarded to the superclass.
+ *
+ * @param key the key to look for in the map.
+ * @return true if the key exists in the map.
+ * @throws NullPointerException if the specified key is null.
+ */
+ public boolean containsKey(Object key)
+ {
+ if (key == null)
+ throw new
+ NullPointerException("This map does not support null keys.");
+ if (!(key instanceof String))
+ throw new
+ ClassCastException("This map only allows queries using Strings.");
+ return super.containsKey(key);
+ }
+
+ /**
+ * Blocks queries using a null or non-<code>String</code> value.
+ * All other queries are forwarded to the superclass.
+ *
+ * @param value the value to look for in the map.
+ * @return true if the value exists in the map.
+ * @throws NullPointerException if the specified value is null.
+ */
+ public boolean containsValue(Object value)
+ {
+ if (value == null)
+ throw new
+ NullPointerException("This map does not support null values.");
+ if (!(value instanceof String))
+ throw new
+ ClassCastException("This map only allows queries using Strings.");
+ return super.containsValue(value);
+ }
+
+ /**
+ * Returns a set view of the map entries, with the same
+ * provisions as for the underlying map.
+ *
+ * @return a set containing the map entries.
+ */
+ public Set<Map.Entry<String,String>> entrySet()
+ {
+ if (entries == null)
+ entries = super.entrySet();
+ return entries;
+ }
+
+ /**
+ * Blocks queries containing a null or non-<code>String</code> key.
+ * All other queries are passed on to the superclass.
+ *
+ * @param key the key to retrieve the value for.
+ * @return the value associated with the given key.
+ * @throws NullPointerException if the specified key is null.
+ * @throws ClassCastException if the specified key is not a String.
+ */
+ public String get(Object key)
+ {
+ if (key == null)
+ throw new
+ NullPointerException("This map does not support null keys.");
+ if (!(key instanceof String))
+ throw new
+ ClassCastException("This map only allows queries using Strings.");
+ return super.get(key);
+ }
+
+ /**
+ * Returns a set view of the keys, with the same
+ * provisions as for the underlying map.
+ *
+ * @return a set containing the keys.
+ */
+ public Set<String> keySet()
+ {
+ if (keys == null)
+ keys = new EnvironmentSet(super.keySet());
+ return keys;
+ }
+
+ /**
+ * Removes a key-value pair from the map. The queried key may not
+ * be null or of a type other than a <code>String</code>.
+ *
+ * @param key the key of the entry to remove.
+ * @return the removed value.
+ * @throws NullPointerException if the specified key is null.
+ * @throws ClassCastException if the specified key is not a String.
+ */
+ public String remove(Object key)
+ {
+ if (key == null)
+ throw new
+ NullPointerException("This map does not support null keys.");
+ if (!(key instanceof String))
+ throw new
+ ClassCastException("This map only allows queries using Strings.");
+ return super.remove(key);
+ }
+
+ /**
+ * Returns a collection view of the values, with the same
+ * provisions as for the underlying map.
+ *
+ * @return a collection containing the values.
+ */
+ public Collection<String> values()
+ {
+ if (values == null)
+ values = new EnvironmentCollection(super.values());
+ return values;
+ }
+
+ }
+
+ /**
+ * This is a specialised <code>Set</code>, providing
+ * the necessary provisions for the collections used by the
+ * environment variable map. Namely, it prevents
+ * modifications and the use of queries with null
+ * or non-<code>String</code> values.
+ *
+ * @author Andrew John Hughes (gnu_andrew@member.fsf.org)
+ */
+ private static class EnvironmentSet
+ extends EnvironmentCollection
+ implements Set<String>
+ {
+
+ /**
+ * Constructs a new environment set, which
+ * wraps the elements of the supplied set.
+ *
+ * @param set the set to use as a base for
+ * this set.
+ */
+ public EnvironmentSet(Set<String> set)
+ {
+ super(set);
+ }
+
+ /**
+ * This simply calls the same method on the wrapped
+ * collection.
+ *
+ * @param obj the object to compare with.
+ * @return true if the two objects are equal.
+ */
+ public boolean equals(Object obj)
+ {
+ return c.equals(obj);
+ }
+
+ /**
+ * This simply calls the same method on the wrapped
+ * collection.
+ *
+ * @return the hashcode of the collection.
+ */
+ public int hashCode()
+ {
+ return c.hashCode();
+ }
+
+ } // class EnvironmentSet<String>
+
} // class System
diff --git a/libjava/java/lang/Thread$State.h b/libjava/java/lang/Thread$State.h
new file mode 100644
index 0000000..4620c72
--- /dev/null
+++ b/libjava/java/lang/Thread$State.h
@@ -0,0 +1,32 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_Thread$State__
+#define __java_lang_Thread$State__
+
+#pragma interface
+
+#include <java/lang/Enum.h>
+#include <gcj/array.h>
+
+
+class java::lang::Thread$State : public ::java::lang::Enum
+{
+
+ Thread$State(::java::lang::String *, jint);
+public:
+ static JArray< ::java::lang::Thread$State * > * values();
+ static ::java::lang::Thread$State * valueOf(::java::lang::String *);
+ static ::java::lang::Thread$State * BLOCKED;
+ static ::java::lang::Thread$State * NEW;
+ static ::java::lang::Thread$State * RUNNABLE;
+ static ::java::lang::Thread$State * TERMINATED;
+ static ::java::lang::Thread$State * TIMED_WAITING;
+ static ::java::lang::Thread$State * WAITING;
+private:
+ static JArray< ::java::lang::Thread$State * > * ENUM$VALUES;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_Thread$State__
diff --git a/libjava/java/lang/Thread$UncaughtExceptionHandler.h b/libjava/java/lang/Thread$UncaughtExceptionHandler.h
new file mode 100644
index 0000000..88d2b5b
--- /dev/null
+++ b/libjava/java/lang/Thread$UncaughtExceptionHandler.h
@@ -0,0 +1,19 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_Thread$UncaughtExceptionHandler__
+#define __java_lang_Thread$UncaughtExceptionHandler__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::lang::Thread$UncaughtExceptionHandler : public ::java::lang::Object
+{
+
+public:
+ virtual void uncaughtException(::java::lang::Thread *, ::java::lang::Throwable *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_lang_Thread$UncaughtExceptionHandler__
diff --git a/libjava/java/lang/Thread.h b/libjava/java/lang/Thread.h
new file mode 100644
index 0000000..c3556f0
--- /dev/null
+++ b/libjava/java/lang/Thread.h
@@ -0,0 +1,161 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_Thread__
+#define __java_lang_Thread__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace gcj
+ {
+ class RawData;
+ class RawDataManaged;
+ }
+ namespace java
+ {
+ namespace util
+ {
+ class WeakIdentityHashMap;
+ }
+ }
+ }
+}
+
+class _Jv_JNIEnv;
+#define _JV_NOT_OWNER 1
+#define _JV_INTERRUPTED 2
+_Jv_JNIEnv * _Jv_GetCurrentJNIEnv ();
+void _Jv_SetCurrentJNIEnv (_Jv_JNIEnv *env);
+void _Jv_ThreadRun (java::lang::Thread* thread);
+jint _Jv_AttachCurrentThread(java::lang::Thread* thread);
+java::lang::Thread* _Jv_AttachCurrentThread (jstring name, java::lang::ThreadGroup* group);
+java::lang::Thread* _Jv_AttachCurrentThreadAsDaemon (jstring name, java::lang::ThreadGroup* group);
+jint _Jv_DetachCurrentThread ();
+struct _Jv_Thread_t;
+_Jv_Thread_t* _Jv_ThreadGetData (java::lang::Thread* thread);
+
+class java::lang::Thread : public ::java::lang::Object
+{
+
+public:
+ Thread();
+ Thread(::java::lang::Runnable *);
+ Thread(::java::lang::String *);
+ Thread(::java::lang::ThreadGroup *, ::java::lang::Runnable *);
+ Thread(::java::lang::ThreadGroup *, ::java::lang::String *);
+ Thread(::java::lang::Runnable *, ::java::lang::String *);
+ Thread(::java::lang::ThreadGroup *, ::java::lang::Runnable *, ::java::lang::String *);
+ Thread(::java::lang::ThreadGroup *, ::java::lang::Runnable *, ::java::lang::String *, jlong);
+private:
+ Thread(::java::lang::Thread *, ::java::lang::ThreadGroup *, ::java::lang::Runnable *, ::java::lang::String *);
+public:
+ static jint activeCount();
+ virtual void checkAccess();
+ virtual jint countStackFrames();
+ static ::java::lang::Thread * currentThread();
+ virtual void destroy();
+ static void dumpStack();
+ static jint enumerate(JArray< ::java::lang::Thread * > *);
+ virtual ::java::lang::String * getName();
+ virtual jint getPriority();
+ virtual ::java::lang::ThreadGroup * getThreadGroup();
+ static jboolean holdsLock(::java::lang::Object *);
+ virtual void interrupt();
+ static jboolean interrupted();
+ virtual jboolean isInterrupted();
+ virtual jboolean isAlive();
+ virtual jboolean isDaemon();
+ virtual void join();
+ virtual void join(jlong);
+ virtual void join(jlong, jint);
+ virtual void resume();
+private:
+ void finish_();
+ jboolean isInterrupted(jboolean);
+public:
+ virtual void run();
+ virtual void setDaemon(jboolean);
+ virtual ::java::lang::ClassLoader * getContextClassLoader();
+ virtual void setContextClassLoader(::java::lang::ClassLoader *);
+ virtual void setName(::java::lang::String *);
+ static void yield();
+ static void sleep(jlong);
+ static void sleep(jlong, jint);
+ virtual void start();
+ virtual void stop();
+ virtual void stop(::java::lang::Throwable *);
+ virtual void suspend();
+ virtual void setPriority(jint);
+ virtual ::java::lang::String * toString();
+private:
+ void initialize_native();
+ static ::java::lang::String * gen_name();
+public: // actually package-private
+ static ::java::util::Map * getThreadLocals();
+public:
+ virtual void setUncaughtExceptionHandler(::java::lang::Thread$UncaughtExceptionHandler *);
+ virtual ::java::lang::Thread$UncaughtExceptionHandler * getUncaughtExceptionHandler();
+ static void setDefaultUncaughtExceptionHandler(::java::lang::Thread$UncaughtExceptionHandler *);
+ static ::java::lang::Thread$UncaughtExceptionHandler * getDefaultUncaughtExceptionHandler();
+ virtual jlong getId();
+ virtual ::java::lang::Thread$State * getState();
+ static ::java::util::Map * getAllStackTraces();
+ virtual JArray< ::java::lang::StackTraceElement * > * getStackTrace();
+ static const jint MIN_PRIORITY = 1;
+ static const jint NORM_PRIORITY = 5;
+ static const jint MAX_PRIORITY = 10;
+public: // actually package-private
+ ::java::lang::ThreadGroup * __attribute__((aligned(__alignof__( ::java::lang::Object)))) group;
+private:
+ ::java::lang::Runnable * runnable;
+public: // actually package-private
+ ::java::lang::String * name;
+private:
+ jboolean daemon;
+ jint priority;
+public: // actually package-private
+ jboolean interrupt_flag;
+private:
+ static const jbyte THREAD_DEAD = 0;
+ static const jbyte THREAD_ALIVE = 1;
+ static const jbyte THREAD_SIGNALED = 2;
+ jboolean startable_flag;
+ ::java::lang::ClassLoader * contextClassLoader;
+ jlong threadId;
+ static jlong nextThreadId;
+ static jlong totalThreadsCreated;
+ static ::java::lang::Thread$UncaughtExceptionHandler * defaultHandler;
+public: // actually package-private
+ ::gnu::java::util::WeakIdentityHashMap * locals;
+ ::java::lang::Thread$UncaughtExceptionHandler * exceptionHandler;
+private:
+ ::java::lang::Object * parkBlocker;
+public: // actually package-private
+ static const jbyte THREAD_PARK_RUNNING = 0;
+ static const jbyte THREAD_PARK_PERMIT = 1;
+ static const jbyte THREAD_PARK_PARKED = 2;
+ static const jbyte THREAD_PARK_DEAD = 3;
+ ::java::lang::Object * accessControlState;
+ ::gnu::gcj::RawData * interp_frame;
+ volatile jint state;
+ ::gnu::gcj::RawDataManaged * data;
+public:
+ static ::java::lang::Class class$;
+
+ friend _Jv_JNIEnv * ::_Jv_GetCurrentJNIEnv ();
+ friend void ::_Jv_SetCurrentJNIEnv (_Jv_JNIEnv *env);
+ friend void ::_Jv_ThreadRun (java::lang::Thread* thread);
+ friend jint (::_Jv_AttachCurrentThread) (java::lang::Thread* thread);
+ friend java::lang::Thread* ::_Jv_AttachCurrentThread (jstring name, java::lang::ThreadGroup* group);
+ friend java::lang::Thread* ::_Jv_AttachCurrentThreadAsDaemon (jstring name, java::lang::ThreadGroup* group);
+ friend jint (::_Jv_DetachCurrentThread) ();
+};
+
+#endif // __java_lang_Thread__
diff --git a/libjava/java/lang/Thread.java b/libjava/java/lang/Thread.java
index 2b7fb2a..9666482 100644
--- a/libjava/java/lang/Thread.java
+++ b/libjava/java/lang/Thread.java
@@ -36,12 +36,18 @@ this exception to your version of the library, but you are not
obligated to do so. If you do not wish to do so, delete this
exception statement from your version. */
-
package java.lang;
+import gnu.classpath.VMStackWalker;
import gnu.gcj.RawData;
import gnu.gcj.RawDataManaged;
import gnu.java.util.WeakIdentityHashMap;
+
+import java.lang.management.ManagementFactory;
+import java.lang.management.ThreadInfo;
+import java.lang.management.ThreadMXBean;
+
+import java.util.HashMap;
import java.util.Map;
/* Written using "Java Class Libraries", 2nd edition, ISBN 0-201-31002-3
@@ -83,6 +89,7 @@ import java.util.Map;
* @author Tom Tromey
* @author John Keiser
* @author Eric Blake (ebb9@email.byu.edu)
+ * @author Andrew John Hughes (gnu_andrew@member.fsf.org)
* @see Runnable
* @see Runtime#exit(int)
* @see #run()
@@ -121,7 +128,15 @@ public class Thread implements Runnable
private int priority;
boolean interrupt_flag;
- private boolean alive_flag;
+
+ /** A thread is either alive, dead, or being sent a signal; if it is
+ being sent a signal, it is also alive. Thus, if you want to
+ know if a thread is alive, it is sufficient to test
+ alive_status != THREAD_DEAD. */
+ private static final byte THREAD_DEAD = 0;
+ private static final byte THREAD_ALIVE = 1;
+ private static final byte THREAD_SIGNALED = 2;
+
private boolean startable_flag;
/** The context classloader for this Thread. */
@@ -133,6 +148,9 @@ public class Thread implements Runnable
/** The next thread ID to use. */
private static long nextThreadId;
+ /** Used to generate the next thread ID to use. */
+ private static long totalThreadsCreated;
+
/** The default exception handler. */
private static UncaughtExceptionHandler defaultHandler;
@@ -144,6 +162,19 @@ public class Thread implements Runnable
/** The uncaught exception handler. */
UncaughtExceptionHandler exceptionHandler;
+ /** This object is recorded while the thread is blocked to permit
+ * monitoring and diagnostic tools to identify the reasons that
+ * threads are blocked.
+ */
+ private Object parkBlocker;
+
+ /** Used by Unsafe.park and Unsafe.unpark. Se Unsafe for a full
+ description. */
+ static final byte THREAD_PARK_RUNNING = 0;
+ static final byte THREAD_PARK_PERMIT = 1;
+ static final byte THREAD_PARK_PARKED = 2;
+ static final byte THREAD_PARK_DEAD = 3;
+
/** The access control state for this thread. Package accessible
* for use by java.security.VMAccessControlState's native method.
*/
@@ -152,8 +183,11 @@ public class Thread implements Runnable
// This describes the top-most interpreter frame for this thread.
RawData interp_frame;
+ // Current state.
+ volatile int state;
+
// Our native data - points to an instance of struct natThread.
- private RawDataManaged data;
+ RawDataManaged data;
/**
* Allocates a new <code>Thread</code> object. This constructor has
@@ -368,7 +402,6 @@ public class Thread implements Runnable
data = null;
interrupt_flag = false;
- alive_flag = false;
startable_flag = true;
synchronized (Thread.class)
@@ -438,7 +471,10 @@ public class Thread implements Runnable
public native int countStackFrames();
/**
- * Get the currently executing Thread.
+ * Get the currently executing Thread. In the situation that the
+ * currently running thread was created by native code and doesn't
+ * have an associated Thread object yet, a new Thread object is
+ * constructed and associated with the native thread.
*
* @return the currently executing Thread
*/
@@ -447,6 +483,19 @@ public class Thread implements Runnable
/**
* Originally intended to destroy this thread, this method was never
* implemented by Sun, and is hence a no-op.
+ *
+ * @deprecated This method was originally intended to simply destroy
+ * the thread without performing any form of cleanup operation.
+ * However, it was never implemented. It is now deprecated
+ * for the same reason as <code>suspend()</code>,
+ * <code>stop()</code> and <code>resume()</code>; namely,
+ * it is prone to deadlocks. If a thread is destroyed while
+ * it still maintains a lock on a resource, then this resource
+ * will remain locked and any attempts by other threads to
+ * access the resource will result in a deadlock. Thus, even
+ * an implemented version of this method would be still be
+ * deprecated, due to its unsafe nature.
+ * @throws NoSuchMethodError as this method was never implemented.
*/
public void destroy()
{
@@ -579,10 +628,7 @@ public class Thread implements Runnable
*
* @return whether this Thread is alive
*/
- public final synchronized boolean isAlive()
- {
- return alive_flag;
- }
+ public final native boolean isAlive();
/**
* Tell whether this is a daemon Thread or not.
@@ -638,7 +684,9 @@ public class Thread implements Runnable
throws InterruptedException;
/**
- * Resume a suspended thread.
+ * Resume this Thread. If the thread is not suspended, this method does
+ * nothing. To mirror suspend(), there may be a security check:
+ * <code>checkAccess</code>.
*
* @throws SecurityException if you cannot resume the Thread
* @see #checkAccess()
@@ -713,7 +761,7 @@ public class Thread implements Runnable
*
* @return the context class loader
* @throws SecurityException when permission is denied
- * @see setContextClassLoader(ClassLoader)
+ * @see #setContextClassLoader(ClassLoader)
* @since 1.2
*/
public synchronized ClassLoader getContextClassLoader()
@@ -721,24 +769,15 @@ public class Thread implements Runnable
if (contextClassLoader == null)
contextClassLoader = ClassLoader.getSystemClassLoader();
+ // Check if we may get the classloader
SecurityManager sm = System.getSecurityManager();
- // FIXME: we can't currently find the caller's class loader.
- ClassLoader callers = null;
- if (sm != null && callers != null)
+ if (contextClassLoader != null && sm != null)
{
- // See if the caller's class loader is the same as or an
- // ancestor of this thread's class loader.
- while (callers != null && callers != contextClassLoader)
- {
- // FIXME: should use some internal version of getParent
- // that avoids security checks.
- callers = callers.getParent();
- }
-
- if (callers != contextClassLoader)
- sm.checkPermission(new RuntimePermission("getClassLoader"));
+ // Get the calling classloader
+ ClassLoader cl = VMStackWalker.getCallingClassLoader();
+ if (cl != null && !cl.isAncestorOf(contextClassLoader))
+ sm.checkPermission(new RuntimePermission("getClassLoader"));
}
-
return contextClassLoader;
}
@@ -751,7 +790,7 @@ public class Thread implements Runnable
*
* @param classloader the new context class loader
* @throws SecurityException when permission is denied
- * @see getContextClassLoader()
+ * @see #getContextClassLoader()
* @since 1.2
*/
public synchronized void setContextClassLoader(ClassLoader classloader)
@@ -781,8 +820,10 @@ public class Thread implements Runnable
}
/**
- * Causes the currently executing thread object to temporarily pause
- * and allow other threads to execute.
+ * Yield to another thread. The Thread will not lose any locks it holds
+ * during this time. There are no guarantees which thread will be
+ * next to run, and it could even be this one, but most VMs will choose
+ * the highest priority thread that has been waiting longest.
*/
public static native void yield();
@@ -793,8 +834,10 @@ public class Thread implements Runnable
* choose the highest priority thread that has been waiting longest.
*
* @param ms the number of milliseconds to sleep, or 0 for forever
- * @throws InterruptedException if the Thread is interrupted; it's
- * <i>interrupted status</i> will be cleared
+ * @throws InterruptedException if the Thread is (or was) interrupted;
+ * it's <i>interrupted status</i> will be cleared
+ * @throws IllegalArgumentException if ms is negative
+ * @see #interrupt()
* @see #notify()
* @see #wait(long)
*/
@@ -808,18 +851,21 @@ public class Thread implements Runnable
* time. The Thread will not lose any locks it has during this time. There
* are no guarantees which thread will be next to run, but most VMs will
* choose the highest priority thread that has been waiting longest.
- *
- * <p>Note that 1,000,000 nanoseconds == 1 millisecond, but most VMs do
- * not offer that fine a grain of timing resolution. Besides, there is
- * no guarantee that this thread can start up immediately when time expires,
- * because some other thread may be active. So don't expect real-time
- * performance.
+ * <p>
+ * Note that 1,000,000 nanoseconds == 1 millisecond, but most VMs
+ * do not offer that fine a grain of timing resolution. When ms is
+ * zero and ns is non-zero the Thread will sleep for at least one
+ * milli second. There is no guarantee that this thread can start up
+ * immediately when time expires, because some other thread may be
+ * active. So don't expect real-time performance.
*
* @param ms the number of milliseconds to sleep, or 0 for forever
* @param ns the number of extra nanoseconds to sleep (0-999999)
- * @throws InterruptedException if the Thread is interrupted; it's
- * <i>interrupted status</i> will be cleared
- * @throws IllegalArgumentException if ns is invalid
+ * @throws InterruptedException if the Thread is (or was) interrupted;
+ * it's <i>interrupted status</i> will be cleared
+ * @throws IllegalArgumentException if ms or ns is negative
+ * or ns is larger than 999999.
+ * @see #interrupt()
* @see #notify()
* @see #wait(long, int)
*/
@@ -870,10 +916,11 @@ public class Thread implements Runnable
/**
* Cause this Thread to stop abnormally and throw the specified exception.
- * If you stop a Thread that has not yet started, it will stop immediately
- * when it is actually started. <b>WARNING</b>This bypasses Java security,
- * and can throw a checked exception which the call stack is unprepared to
- * handle. Do not abuse this power.
+ * If you stop a Thread that has not yet started, the stop is ignored
+ * (contrary to what the JDK documentation says).
+ * <b>WARNING</b>This bypasses Java security, and can throw a checked
+ * exception which the call stack is unprepared to handle. Do not abuse
+ * this power.
*
* <p>This is inherently unsafe, as it can interrupt synchronized blocks and
* leave data in bad states. Hence, there is a security check:
@@ -996,6 +1043,7 @@ public class Thread implements Runnable
*/
public UncaughtExceptionHandler getUncaughtExceptionHandler()
{
+ // FIXME: if thread is dead, should return null...
return exceptionHandler != null ? exceptionHandler : group;
}
@@ -1094,7 +1142,7 @@ public class Thread implements Runnable
* @author Andrew John Hughes <gnu_andrew@member.fsf.org>
* @since 1.5
* @see Thread#getUncaughtExceptionHandler()
- * @see Thread#setUncaughtExceptionHander(java.lang.Thread.UncaughtExceptionHandler)
+ * @see Thread#setUncaughtExceptionHandler(UncaughtExceptionHandler)
* @see Thread#getDefaultUncaughtExceptionHandler()
* @see
* Thread#setDefaultUncaughtExceptionHandler(java.lang.Thread.UncaughtExceptionHandler)
@@ -1113,6 +1161,32 @@ public class Thread implements Runnable
void uncaughtException(Thread thr, Throwable exc);
}
+ /**
+ * <p>
+ * Represents the current state of a thread, according to the VM rather
+ * than the operating system. It can be one of the following:
+ * </p>
+ * <ul>
+ * <li>NEW -- The thread has just been created but is not yet running.</li>
+ * <li>RUNNABLE -- The thread is currently running or can be scheduled
+ * to run.</li>
+ * <li>BLOCKED -- The thread is blocked waiting on an I/O operation
+ * or to obtain a lock.</li>
+ * <li>WAITING -- The thread is waiting indefinitely for another thread
+ * to do something.</li>
+ * <li>TIMED_WAITING -- The thread is waiting for a specific amount of time
+ * for another thread to do something.</li>
+ * <li>TERMINATED -- The thread has exited.</li>
+ * </ul>
+ *
+ * @since 1.5
+ */
+ public enum State
+ {
+ BLOCKED, NEW, RUNNABLE, TERMINATED, TIMED_WAITING, WAITING;
+ }
+
+
/**
* Returns the current state of the thread. This
* is designed for monitoring thread behaviour, rather
@@ -1120,9 +1194,103 @@ public class Thread implements Runnable
*
* @return the current thread state.
*/
- public String getState()
+ public native State getState();
+
+ /**
+ * <p>
+ * Returns a map of threads to stack traces for each
+ * live thread. The keys of the map are {@link Thread}
+ * objects, which map to arrays of {@link StackTraceElement}s.
+ * The results obtained from Calling this method are
+ * equivalent to calling {@link getStackTrace()} on each
+ * thread in succession. Threads may be executing while
+ * this takes place, and the results represent a snapshot
+ * of the thread at the time its {@link getStackTrace()}
+ * method is called.
+ * </p>
+ * <p>
+ * The stack trace information contains the methods called
+ * by the thread, with the most recent method forming the
+ * first element in the array. The array will be empty
+ * if the virtual machine can not obtain information on the
+ * thread.
+ * </p>
+ * <p>
+ * To execute this method, the current security manager
+ * (if one exists) must allow both the
+ * <code>"getStackTrace"</code> and
+ * <code>"modifyThreadGroup"</code> {@link RuntimePermission}s.
+ * </p>
+ *
+ * @return a map of threads to arrays of {@link StackTraceElement}s.
+ * @throws SecurityException if a security manager exists, and
+ * prevents either or both the runtime
+ * permissions specified above.
+ * @since 1.5
+ * @see #getStackTrace()
+ */
+ public static Map<Thread, StackTraceElement[]> getAllStackTraces()
{
- // FIXME - Provide real implementation.
- return "NEW";
+ ThreadGroup group = currentThread().group;
+ while (group.getParent() != null)
+ group = group.getParent();
+ int arraySize = group.activeCount();
+ Thread[] threadList = new Thread[arraySize];
+ int filled = group.enumerate(threadList);
+ while (filled == arraySize)
+ {
+ arraySize *= 2;
+ threadList = new Thread[arraySize];
+ filled = group.enumerate(threadList);
+ }
+ Map traces = new HashMap();
+ for (int a = 0; a < filled; ++a)
+ traces.put(threadList[a],
+ threadList[a].getStackTrace());
+ return traces;
}
+
+ /**
+ * <p>
+ * Returns an array of {@link StackTraceElement}s
+ * representing the current stack trace of this thread.
+ * The first element of the array is the most recent
+ * method called, and represents the top of the stack.
+ * The elements continue in this order, with the last
+ * element representing the bottom of the stack.
+ * </p>
+ * <p>
+ * A zero element array is returned for threads which
+ * have not yet started (and thus have not yet executed
+ * any methods) or for those which have terminated.
+ * Where the virtual machine can not obtain a trace for
+ * the thread, an empty array is also returned. The
+ * virtual machine may also omit some methods from the
+ * trace in non-zero arrays.
+ * </p>
+ * <p>
+ * To execute this method, the current security manager
+ * (if one exists) must allow both the
+ * <code>"getStackTrace"</code> and
+ * <code>"modifyThreadGroup"</code> {@link RuntimePermission}s.
+ * </p>
+ *
+ * @return a stack trace for this thread.
+ * @throws SecurityException if a security manager exists, and
+ * prevents the use of the
+ * <code>"getStackTrace"</code>
+ * permission.
+ * @since 1.5
+ * @see #getAllStackTraces()
+ */
+ public StackTraceElement[] getStackTrace()
+ {
+ SecurityManager sm = SecurityManager.current; // Be thread-safe.
+ if (sm != null)
+ sm.checkPermission(new RuntimePermission("getStackTrace"));
+ ThreadMXBean bean = ManagementFactory.getThreadMXBean();
+ ThreadInfo info = bean.getThreadInfo(getId(), Integer.MAX_VALUE);
+ return info.getStackTrace();
+ }
+
}
diff --git a/libjava/java/lang/ThreadDeath.h b/libjava/java/lang/ThreadDeath.h
new file mode 100644
index 0000000..d06ce34
--- /dev/null
+++ b/libjava/java/lang/ThreadDeath.h
@@ -0,0 +1,22 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_ThreadDeath__
+#define __java_lang_ThreadDeath__
+
+#pragma interface
+
+#include <java/lang/Error.h>
+
+class java::lang::ThreadDeath : public ::java::lang::Error
+{
+
+public:
+ ThreadDeath();
+private:
+ static const jlong serialVersionUID = -4417128565033088268LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_ThreadDeath__
diff --git a/libjava/java/lang/ThreadGroup.h b/libjava/java/lang/ThreadGroup.h
new file mode 100644
index 0000000..a197ca1
--- /dev/null
+++ b/libjava/java/lang/ThreadGroup.h
@@ -0,0 +1,69 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_ThreadGroup__
+#define __java_lang_ThreadGroup__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+
+class java::lang::ThreadGroup : public ::java::lang::Object
+{
+
+ ThreadGroup();
+public:
+ ThreadGroup(::java::lang::String *);
+ ThreadGroup(::java::lang::ThreadGroup *, ::java::lang::String *);
+ virtual ::java::lang::String * getName();
+ virtual ::java::lang::ThreadGroup * getParent();
+ virtual jint getMaxPriority();
+ virtual jboolean isDaemon();
+ virtual jboolean isDestroyed();
+ virtual void setDaemon(jboolean);
+ virtual void setMaxPriority(jint);
+ virtual jboolean parentOf(::java::lang::ThreadGroup *);
+ virtual void checkAccess();
+ virtual jint activeCount();
+ virtual jint enumerate(JArray< ::java::lang::Thread * > *);
+ virtual jint enumerate(JArray< ::java::lang::Thread * > *, jboolean);
+ virtual jint activeGroupCount();
+ virtual jint enumerate(JArray< ::java::lang::ThreadGroup * > *);
+ virtual jint enumerate(JArray< ::java::lang::ThreadGroup * > *, jboolean);
+ virtual void stop();
+ virtual void interrupt();
+ virtual void suspend();
+ virtual void resume();
+ virtual void destroy();
+ virtual void list();
+ virtual void uncaughtException(::java::lang::Thread *, ::java::lang::Throwable *);
+ virtual jboolean allowThreadSuspension(jboolean);
+ virtual ::java::lang::String * toString();
+private:
+ jint enumerate(JArray< ::java::lang::Thread * > *, jint, jboolean);
+ jint enumerate(JArray< ::java::lang::ThreadGroup * > *, jint, jboolean);
+ void list(::java::lang::String *);
+public: // actually package-private
+ virtual void addThread(::java::lang::Thread *);
+ virtual void removeThread(::java::lang::Thread *);
+ virtual void removeGroup(::java::lang::ThreadGroup *);
+ static ::java::lang::Thread * getThreadFromId(jlong);
+private:
+ ::java::lang::Thread * getThreadFromIdImpl(jlong);
+public: // actually package-private
+ static ::java::lang::ThreadGroup * root;
+ static jboolean had_uncaught_exception;
+ ::java::lang::ThreadGroup * __attribute__((aligned(__alignof__( ::java::lang::Object)))) parent;
+ ::java::lang::String * name;
+private:
+ ::java::util::Vector * threads;
+ ::java::util::Vector * groups;
+ jboolean daemon_flag;
+ jint maxpri;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_ThreadGroup__
diff --git a/libjava/java/lang/ThreadLocal.h b/libjava/java/lang/ThreadLocal.h
new file mode 100644
index 0000000..4bea931
--- /dev/null
+++ b/libjava/java/lang/ThreadLocal.h
@@ -0,0 +1,52 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_ThreadLocal__
+#define __java_lang_ThreadLocal__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace gcj
+ {
+ class RawData;
+ }
+ }
+}
+
+class java::lang::ThreadLocal : public ::java::lang::Object
+{
+
+public:
+ ThreadLocal();
+public: // actually protected
+ virtual ::java::lang::Object * initialValue();
+public:
+ virtual ::java::lang::Object * get();
+private:
+ ::java::lang::Object * internalGet();
+public:
+ virtual void set(::java::lang::Object *);
+private:
+ void internalSet(::java::lang::Object *);
+public:
+ virtual void remove();
+private:
+ void internalRemove();
+public: // actually protected
+ virtual void finalize();
+private:
+ void constructNative();
+public: // actually package-private
+ static ::java::lang::Object * sentinel;
+private:
+ ::gnu::gcj::RawData * __attribute__((aligned(__alignof__( ::java::lang::Object)))) TLSPointer;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_ThreadLocal__
diff --git a/libjava/java/lang/ThreadLocal.java b/libjava/java/lang/ThreadLocal.java
new file mode 100644
index 0000000..6558c94
--- /dev/null
+++ b/libjava/java/lang/ThreadLocal.java
@@ -0,0 +1,179 @@
+/* ThreadLocal -- a variable with a unique value per thread
+ Copyright (C) 2000, 2002, 2003, 2006 Free Software Foundation, Inc.
+
+This file is part of GNU Classpath.
+
+GNU Classpath is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+
+GNU Classpath is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU Classpath; see the file COPYING. If not, write to the
+Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+02110-1301 USA.
+
+Linking this library statically or dynamically with other modules is
+making a combined work based on this library. Thus, the terms and
+conditions of the GNU General Public License cover the whole
+combination.
+
+As a special exception, the copyright holders of this library give you
+permission to link this library with independent modules to produce an
+executable, regardless of the license terms of these independent
+modules, and to copy and distribute the resulting executable under
+terms of your choice, provided that you also meet, for each linked
+independent module, the terms and conditions of the license of that
+module. An independent module is a module which is not derived from
+or based on this library. If you modify this library, you may extend
+this exception to your version of the library, but you are not
+obligated to do so. If you do not wish to do so, delete this
+exception statement from your version. */
+
+package java.lang;
+
+import java.util.Map;
+
+
+/**
+ * ThreadLocal objects have a different state associated with every
+ * Thread that accesses them. Every access to the ThreadLocal object
+ * (through the <code>get()</code> and <code>set()</code> methods)
+ * only affects the state of the object as seen by the currently
+ * executing Thread.
+ *
+ * <p>The first time a ThreadLocal object is accessed on a particular
+ * Thread, the state for that Thread's copy of the local variable is set by
+ * executing the method <code>initialValue()</code>.
+ * </p>
+ *
+ * <p>An example how you can use this:
+ * </p>
+ *
+ * <pre>
+ * class Connection
+ * {
+ * private static ThreadLocal owner = new ThreadLocal()
+ * {
+ * public Object initialValue()
+ * {
+ * return("nobody");
+ * }
+ * };
+ * ...
+ * }
+ * </pre>
+ *
+ * <p>Now all instances of connection can see who the owner of the currently
+ * executing Thread is by calling <code>owner.get()</code>. By default any
+ * Thread would be associated with 'nobody'. But the Connection object could
+ * offer a method that changes the owner associated with the Thread on
+ * which the method was called by calling <code>owner.put("somebody")</code>.
+ * (Such an owner changing method should then be guarded by security checks.)
+ * </p>
+ *
+ * <p>When a Thread is garbage collected all references to values of
+ * the ThreadLocal objects associated with that Thread are removed.
+ * </p>
+ *
+ * @author Mark Wielaard (mark@klomp.org)
+ * @author Eric Blake (ebb9@email.byu.edu)
+ * @since 1.2
+ * @status updated to 1.5
+ */
+public class ThreadLocal<T>
+{
+ /**
+ * Placeholder to distinguish between uninitialized and null set by the
+ * user. Do not expose this to the public. Package visible for use by
+ * InheritableThreadLocal
+ */
+ static final Object sentinel = new Object();
+
+ /**
+ * Creates a ThreadLocal object without associating any value to it yet.
+ */
+ public ThreadLocal()
+ {
+ constructNative();
+ }
+
+ /**
+ * Called once per thread on the first invocation of get(), if set() was
+ * not already called. The default implementation returns <code>null</code>.
+ * Often, this method is overridden to create the appropriate initial object
+ * for the current thread's view of the ThreadLocal.
+ *
+ * @return the initial value of the variable in this thread
+ */
+ protected T initialValue()
+ {
+ return null;
+ }
+
+ /**
+ * Gets the value associated with the ThreadLocal object for the currently
+ * executing Thread. If this is the first time the current thread has called
+ * get(), and it has not already called set(), the value is obtained by
+ * <code>initialValue()</code>.
+ *
+ * @return the value of the variable in this thread
+ */
+ public native T get();
+
+ private final Object internalGet()
+ {
+ Map<ThreadLocal<T>,T> map = (Map<ThreadLocal<T>,T>) Thread.getThreadLocals();
+ // Note that we don't have to synchronize, as only this thread will
+ // ever modify the map.
+ T value = map.get(this);
+ if (value == null)
+ {
+ value = initialValue();
+ map.put(this, (T) (value == null ? sentinel : value));
+ }
+ return value == (T) sentinel ? null : value;
+ }
+
+ /**
+ * Sets the value associated with the ThreadLocal object for the currently
+ * executing Thread. This overrides any existing value associated with the
+ * current Thread and prevents <code>initialValue()</code> from being
+ * called if this is the first access to this ThreadLocal in this Thread.
+ *
+ * @param value the value to set this thread's view of the variable to
+ */
+ public native void set(T value);
+
+ private final void internalSet(Object value)
+ {
+ Map map = Thread.getThreadLocals();
+ // Note that we don't have to synchronize, as only this thread will
+ // ever modify the map.
+ map.put(this, value == null ? sentinel : value);
+ }
+
+ /**
+ * Removes the value associated with the ThreadLocal object for the
+ * currently executing Thread.
+ * @since 1.5
+ */
+ public native void remove();
+
+ private final void internalRemove()
+ {
+ Map map = Thread.getThreadLocals();
+ map.remove(this);
+ }
+
+ protected native void finalize () throws Throwable;
+
+ private native void constructNative();
+
+ private gnu.gcj.RawData TLSPointer;
+}
diff --git a/libjava/java/lang/Throwable$StaticData.h b/libjava/java/lang/Throwable$StaticData.h
new file mode 100644
index 0000000..6bb0912
--- /dev/null
+++ b/libjava/java/lang/Throwable$StaticData.h
@@ -0,0 +1,21 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_Throwable$StaticData__
+#define __java_lang_Throwable$StaticData__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::lang::Throwable$StaticData : public ::java::lang::Object
+{
+
+ Throwable$StaticData();
+public: // actually package-private
+ static ::java::lang::String * nl;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_Throwable$StaticData__
diff --git a/libjava/java/lang/Throwable.h b/libjava/java/lang/Throwable.h
new file mode 100644
index 0000000..0b8fdca
--- /dev/null
+++ b/libjava/java/lang/Throwable.h
@@ -0,0 +1,46 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_Throwable__
+#define __java_lang_Throwable__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+
+class java::lang::Throwable : public ::java::lang::Object
+{
+
+public:
+ Throwable();
+ Throwable(::java::lang::String *);
+ Throwable(::java::lang::String *, ::java::lang::Throwable *);
+ Throwable(::java::lang::Throwable *);
+ virtual ::java::lang::String * getMessage();
+ virtual ::java::lang::String * getLocalizedMessage();
+ virtual ::java::lang::Throwable * getCause();
+ virtual ::java::lang::Throwable * initCause(::java::lang::Throwable *);
+ virtual ::java::lang::String * toString();
+ virtual void printStackTrace();
+ virtual void printStackTrace(::java::io::PrintStream *);
+ virtual void printStackTrace(::java::io::PrintWriter *);
+private:
+ ::java::lang::String * stackTraceString();
+ static void stackTraceStringBuffer(::java::lang::StringBuffer *, ::java::lang::String *, JArray< ::java::lang::StackTraceElement * > *, jint);
+public:
+ virtual ::java::lang::Throwable * fillInStackTrace();
+ virtual JArray< ::java::lang::StackTraceElement * > * getStackTrace();
+ virtual void setStackTrace(JArray< ::java::lang::StackTraceElement * > *);
+private:
+ static const jlong serialVersionUID = -3042686055658047285LL;
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) detailMessage;
+ ::java::lang::Throwable * cause;
+ JArray< ::java::lang::StackTraceElement * > * stackTrace;
+ ::java::lang::VMThrowable * vmState;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_Throwable__
diff --git a/libjava/java/lang/TypeNotPresentException.h b/libjava/java/lang/TypeNotPresentException.h
new file mode 100644
index 0000000..076f0a6
--- /dev/null
+++ b/libjava/java/lang/TypeNotPresentException.h
@@ -0,0 +1,24 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_TypeNotPresentException__
+#define __java_lang_TypeNotPresentException__
+
+#pragma interface
+
+#include <java/lang/RuntimeException.h>
+
+class java::lang::TypeNotPresentException : public ::java::lang::RuntimeException
+{
+
+public:
+ TypeNotPresentException(::java::lang::String *, ::java::lang::Throwable *);
+ virtual ::java::lang::String * typeName();
+private:
+ static const jlong serialVersionUID = -5101214195716534496LL;
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::RuntimeException)))) typeName__;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_TypeNotPresentException__
diff --git a/libjava/java/lang/UnknownError.h b/libjava/java/lang/UnknownError.h
new file mode 100644
index 0000000..2ed851a
--- /dev/null
+++ b/libjava/java/lang/UnknownError.h
@@ -0,0 +1,23 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_UnknownError__
+#define __java_lang_UnknownError__
+
+#pragma interface
+
+#include <java/lang/VirtualMachineError.h>
+
+class java::lang::UnknownError : public ::java::lang::VirtualMachineError
+{
+
+public:
+ UnknownError();
+ UnknownError(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = 2524784860676771849LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_UnknownError__
diff --git a/libjava/java/lang/UnsatisfiedLinkError.h b/libjava/java/lang/UnsatisfiedLinkError.h
new file mode 100644
index 0000000..a560313
--- /dev/null
+++ b/libjava/java/lang/UnsatisfiedLinkError.h
@@ -0,0 +1,23 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_UnsatisfiedLinkError__
+#define __java_lang_UnsatisfiedLinkError__
+
+#pragma interface
+
+#include <java/lang/LinkageError.h>
+
+class java::lang::UnsatisfiedLinkError : public ::java::lang::LinkageError
+{
+
+public:
+ UnsatisfiedLinkError();
+ UnsatisfiedLinkError(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = -4019343241616879428LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_UnsatisfiedLinkError__
diff --git a/libjava/java/lang/UnsupportedClassVersionError.h b/libjava/java/lang/UnsupportedClassVersionError.h
new file mode 100644
index 0000000..afa5b18
--- /dev/null
+++ b/libjava/java/lang/UnsupportedClassVersionError.h
@@ -0,0 +1,23 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_UnsupportedClassVersionError__
+#define __java_lang_UnsupportedClassVersionError__
+
+#pragma interface
+
+#include <java/lang/ClassFormatError.h>
+
+class java::lang::UnsupportedClassVersionError : public ::java::lang::ClassFormatError
+{
+
+public:
+ UnsupportedClassVersionError();
+ UnsupportedClassVersionError(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = -7123279212883497373LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_UnsupportedClassVersionError__
diff --git a/libjava/java/lang/UnsupportedOperationException.h b/libjava/java/lang/UnsupportedOperationException.h
new file mode 100644
index 0000000..ce808bd
--- /dev/null
+++ b/libjava/java/lang/UnsupportedOperationException.h
@@ -0,0 +1,25 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_UnsupportedOperationException__
+#define __java_lang_UnsupportedOperationException__
+
+#pragma interface
+
+#include <java/lang/RuntimeException.h>
+
+class java::lang::UnsupportedOperationException : public ::java::lang::RuntimeException
+{
+
+public:
+ UnsupportedOperationException();
+ UnsupportedOperationException(::java::lang::String *);
+ UnsupportedOperationException(::java::lang::String *, ::java::lang::Throwable *);
+ UnsupportedOperationException(::java::lang::Throwable *);
+private:
+ static const jlong serialVersionUID = -1242599979055084673LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_UnsupportedOperationException__
diff --git a/libjava/java/lang/VMClassLoader.h b/libjava/java/lang/VMClassLoader.h
new file mode 100644
index 0000000..dce7092
--- /dev/null
+++ b/libjava/java/lang/VMClassLoader.h
@@ -0,0 +1,74 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_VMClassLoader__
+#define __java_lang_VMClassLoader__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace gcj
+ {
+ namespace runtime
+ {
+ class BootClassLoader;
+ }
+ }
+ }
+ namespace java
+ {
+ namespace net
+ {
+ class URL;
+ }
+ namespace security
+ {
+ class Permission;
+ class ProtectionDomain;
+ }
+ }
+}
+
+class java::lang::VMClassLoader : public ::java::lang::Object
+{
+
+public: // actually package-private
+ VMClassLoader();
+ static ::java::lang::Class * defineClass(::java::lang::ClassLoader *, ::java::lang::String *, JArray< jbyte > *, jint, jint, ::java::security::ProtectionDomain *);
+ static void resolveClass(::java::lang::Class *);
+ static ::java::lang::Class * loadClass(::java::lang::String *, jboolean);
+ static ::java::net::URL * getResource(::java::lang::String *);
+ static ::java::util::Enumeration * getResources(::java::lang::String *);
+ static ::java::lang::Package * getPackage(::java::lang::String *);
+ static JArray< ::java::lang::Package * > * getPackages();
+ static void definePackageForNative(::java::lang::String *);
+ static ::java::lang::Class * getPrimitiveClass(jchar);
+ static jboolean defaultAssertionStatus();
+ static ::java::util::Map * packageAssertionStatus();
+ static ::java::util::Map * classAssertionStatus();
+ static ::java::lang::ClassLoader * getSystemClassLoaderInternal();
+ static void initBootLoader(::java::lang::String *);
+ static void initialize(::java::lang::String *);
+ static ::java::lang::Class * nativeFindClass(::java::lang::String *);
+ static ::java::lang::ClassLoader * getSystemClassLoader();
+ static ::java::security::Permission * protectionDomainPermission;
+ static ::java::security::ProtectionDomain * unknownProtectionDomain;
+ static ::java::util::HashMap * definedPackages;
+ static ::gnu::gcj::runtime::BootClassLoader * bootLoader;
+private:
+ static ::java::util::HashSet * tried_libraries;
+ static jint lib_control;
+ static const jint LIB_FULL = 0;
+ static const jint LIB_CACHE = 1;
+ static const jint LIB_NEVER = 2;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_VMClassLoader__
diff --git a/libjava/java/lang/VMCompiler.h b/libjava/java/lang/VMCompiler.h
new file mode 100644
index 0000000..e81f694
--- /dev/null
+++ b/libjava/java/lang/VMCompiler.h
@@ -0,0 +1,64 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_VMCompiler__
+#define __java_lang_VMCompiler__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace security
+ {
+ namespace hash
+ {
+ class MD5;
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace security
+ {
+ class ProtectionDomain;
+ }
+ }
+}
+
+class java::lang::VMCompiler : public ::java::lang::Object
+{
+
+public:
+ static jboolean precompiles();
+private:
+ VMCompiler();
+ static ::java::lang::Class * loadSharedLibrary(::java::lang::ClassLoader *, ::java::lang::String *, ::java::security::ProtectionDomain *, ::java::lang::String *);
+public:
+ static ::java::lang::Class * compileClass(::java::lang::ClassLoader *, ::java::lang::String *, JArray< jbyte > *, jint, jint, ::java::security::ProtectionDomain *);
+ static jboolean compileClass(::java::lang::Class *);
+ static jboolean compileClasses(::java::lang::String *);
+ static ::java::lang::Object * command(::java::lang::Object *);
+ static void enable();
+ static void disable();
+ static jboolean useCompiler;
+ static jboolean canUseCompiler;
+ static ::java::lang::String * gcjJitCompiler;
+ static ::java::lang::String * gcjJitCompilerOptions;
+ static ::java::lang::String * gcjJitTmpdir;
+private:
+ static ::java::util::WeakHashMap * sharedHelperMap;
+ static ::java::util::Vector * precompiledMapFiles;
+ static ::gnu::java::security::hash::MD5 * md5Digest;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_VMCompiler__
diff --git a/libjava/java/lang/VMCompiler.java b/libjava/java/lang/VMCompiler.java
index 789445e..0e4701c 100644
--- a/libjava/java/lang/VMCompiler.java
+++ b/libjava/java/lang/VMCompiler.java
@@ -73,6 +73,11 @@ final class VMCompiler
// Temporary directory to use.
public static String gcjJitTmpdir;
+ public static boolean precompiles()
+ {
+ return (canUseCompiler & useCompiler);
+ }
+
// This maps a ClassLoader to a set of SharedLibHelper objects that
// it has used. We do things this way to ensure that a
// SharedLibHelper is collected if and only if the ClassLoader is.
@@ -186,8 +191,7 @@ final class VMCompiler
int offset, int len,
ProtectionDomain domain)
{
- if (precompiledMapFiles == null
- && (! useCompiler || ! canUseCompiler))
+ if (precompiledMapFiles == null && !precompiles())
return null;
byte digest[];
@@ -232,7 +236,7 @@ final class VMCompiler
}
}
- if (! useCompiler || ! canUseCompiler)
+ if (!precompiles())
return null;
try
diff --git a/libjava/java/lang/VMDouble.h b/libjava/java/lang/VMDouble.h
new file mode 100644
index 0000000..76b6d50
--- /dev/null
+++ b/libjava/java/lang/VMDouble.h
@@ -0,0 +1,25 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_VMDouble__
+#define __java_lang_VMDouble__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::lang::VMDouble : public ::java::lang::Object
+{
+
+public: // actually package-private
+ VMDouble();
+public:
+ static jlong doubleToLongBits(jdouble);
+ static jlong doubleToRawLongBits(jdouble);
+ static jdouble longBitsToDouble(jlong);
+ static ::java::lang::String * toString(jdouble, jboolean);
+ static jdouble parseDouble(::java::lang::String *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_VMDouble__
diff --git a/libjava/java/lang/VMFloat.h b/libjava/java/lang/VMFloat.h
new file mode 100644
index 0000000..58e7ba9
--- /dev/null
+++ b/libjava/java/lang/VMFloat.h
@@ -0,0 +1,23 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_VMFloat__
+#define __java_lang_VMFloat__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::lang::VMFloat : public ::java::lang::Object
+{
+
+public: // actually package-private
+ VMFloat();
+ static jint floatToIntBits(jfloat);
+ static jint floatToRawIntBits(jfloat);
+ static jfloat intBitsToFloat(jint);
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_VMFloat__
diff --git a/libjava/java/lang/VMSecurityManager.java b/libjava/java/lang/VMSecurityManager.java
deleted file mode 100644
index 25aeb7c..0000000
--- a/libjava/java/lang/VMSecurityManager.java
+++ /dev/null
@@ -1,68 +0,0 @@
-/*
- * java.lang.SecurityManager: part of the Java Class Libraries project.
- * Copyright (C) 1998, 2001, 2002, 2005 Free Software Foundation
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public
- * License along with this library; if not, write to the
- * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- */
-
-package java.lang;
-
-import java.net.*;
-import java.util.*;
-import java.io.*;
-
-/**
- ** VMSecurityManager is a helper class for SecurityManager the VM must
- ** implement.
- **
- ** @author John Keiser
- ** @version 1.1.0, 31 May 1998
- **/
-class VMSecurityManager
-{
- /** Get a list of all the classes currently executing
- ** methods on the Java stack. getClassContext()[0] is
- ** the currently executing method
- ** <STRONG>Spec Note:</STRONG> does not say whether
- ** the stack will include the getClassContext() call or
- ** the one just before it.
- **
- ** @return an array containing all the methods on classes
- ** on the Java execution stack.
- **/
- static native Class[] getClassContext(Class caller);
-
- /** Get the current ClassLoader--the one nearest to the
- ** top of the stack.
- ** @return the current ClassLoader.
- **/
- static ClassLoader currentClassLoader(Class caller)
- {
- // The docs above are wrong. See the online docs.
- // FIXME this implementation is a bit wrong too -- the docs say we
- // must also consider ancestors of the system class loader.
- ClassLoader systemClassLoader = ClassLoader.systemClassLoader;
- Class[] classStack = getClassContext (caller);
- for (int i = 0; i < classStack.length; i++)
- {
- ClassLoader loader = classStack[i].getClassLoader();
- if (loader != null && loader != systemClassLoader)
- return loader;
- }
-
- return null;
- }
-}
diff --git a/libjava/java/lang/VMThrowable.h b/libjava/java/lang/VMThrowable.h
new file mode 100644
index 0000000..1991b6c
--- /dev/null
+++ b/libjava/java/lang/VMThrowable.h
@@ -0,0 +1,36 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_VMThrowable__
+#define __java_lang_VMThrowable__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace gcj
+ {
+ class RawDataManaged;
+ }
+ }
+}
+
+class java::lang::VMThrowable : public ::java::lang::Object
+{
+
+ VMThrowable();
+public: // actually package-private
+ static ::java::lang::VMThrowable * fillInStackTrace(::java::lang::Throwable *);
+ JArray< ::java::lang::StackTraceElement * > * getStackTrace(::java::lang::Throwable *);
+private:
+ ::gnu::gcj::RawDataManaged * __attribute__((aligned(__alignof__( ::java::lang::Object)))) data;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_VMThrowable__
diff --git a/libjava/java/lang/VerifyError.h b/libjava/java/lang/VerifyError.h
new file mode 100644
index 0000000..54aafd2
--- /dev/null
+++ b/libjava/java/lang/VerifyError.h
@@ -0,0 +1,23 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_VerifyError__
+#define __java_lang_VerifyError__
+
+#pragma interface
+
+#include <java/lang/LinkageError.h>
+
+class java::lang::VerifyError : public ::java::lang::LinkageError
+{
+
+public:
+ VerifyError();
+ VerifyError(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = 7001962396098498785LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_VerifyError__
diff --git a/libjava/java/lang/VirtualMachineError.h b/libjava/java/lang/VirtualMachineError.h
new file mode 100644
index 0000000..9eb04ce
--- /dev/null
+++ b/libjava/java/lang/VirtualMachineError.h
@@ -0,0 +1,23 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_VirtualMachineError__
+#define __java_lang_VirtualMachineError__
+
+#pragma interface
+
+#include <java/lang/Error.h>
+
+class java::lang::VirtualMachineError : public ::java::lang::Error
+{
+
+public:
+ VirtualMachineError();
+ VirtualMachineError(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = 4161983926571568670LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_VirtualMachineError__
diff --git a/libjava/java/lang/Void.h b/libjava/java/lang/Void.h
new file mode 100644
index 0000000..be277b0
--- /dev/null
+++ b/libjava/java/lang/Void.h
@@ -0,0 +1,20 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_Void__
+#define __java_lang_Void__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::lang::Void : public ::java::lang::Object
+{
+
+ Void();
+public:
+ static ::java::lang::Class * TYPE;
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_Void__
diff --git a/libjava/java/lang/Win32Process.h b/libjava/java/lang/Win32Process.h
new file mode 100644
index 0000000..0b49c6e
--- /dev/null
+++ b/libjava/java/lang/Win32Process.h
@@ -0,0 +1,37 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_Win32Process__
+#define __java_lang_Win32Process__
+
+#pragma interface
+
+#include <java/lang/Process.h>
+#include <gcj/array.h>
+
+
+class java::lang::Win32Process : public ::java::lang::Process
+{
+
+public:
+ void destroy();
+ jint exitValue();
+ ::java::io::InputStream * getErrorStream();
+ ::java::io::InputStream * getInputStream();
+ ::java::io::OutputStream * getOutputStream();
+ jint waitFor();
+ Win32Process(JArray< ::java::lang::String * > *, JArray< ::java::lang::String * > *, ::java::io::File *);
+private:
+ jboolean hasExited();
+ void startProcess(JArray< ::java::lang::String * > *, JArray< ::java::lang::String * > *, ::java::io::File *);
+ void cleanup();
+ ::java::io::OutputStream * __attribute__((aligned(__alignof__( ::java::lang::Process)))) outputStream;
+ ::java::io::InputStream * inputStream;
+ ::java::io::InputStream * errorStream;
+ jint procHandle;
+ jint exitCode;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_Win32Process__
diff --git a/libjava/java/lang/Win32Process.java b/libjava/java/lang/Win32Process.java
index b0ef487..7d9e40f 100644
--- a/libjava/java/lang/Win32Process.java
+++ b/libjava/java/lang/Win32Process.java
@@ -1,6 +1,6 @@
// Win32Process.java - Subclass of Process for Win32 systems.
-/* Copyright (C) 2002, 2003 Free Software Foundation
+/* Copyright (C) 2002, 2003, 2006 Free Software Foundation
This file is part of libgcj.
@@ -22,9 +22,7 @@ import java.io.IOException;
// This is entirely internal to our implementation.
-// This file is copied to `ConcreteProcess.java' before compilation.
-// Hence the class name apparently does not match the file name.
-final class ConcreteProcess extends Process
+final class Win32Process extends Process
{
public native void destroy ();
@@ -53,7 +51,7 @@ final class ConcreteProcess extends Process
public native int waitFor () throws InterruptedException;
- public ConcreteProcess (String[] progarray,
+ public Win32Process (String[] progarray,
String[] envp,
File dir)
throws IOException
diff --git a/libjava/java/lang/annotation/Annotation.h b/libjava/java/lang/annotation/Annotation.h
new file mode 100644
index 0000000..9c9c3d7
--- /dev/null
+++ b/libjava/java/lang/annotation/Annotation.h
@@ -0,0 +1,22 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_annotation_Annotation__
+#define __java_lang_annotation_Annotation__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::lang::annotation::Annotation : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::lang::Class * annotationType() = 0;
+ virtual jboolean equals(::java::lang::Object *) = 0;
+ virtual jint hashCode() = 0;
+ virtual ::java::lang::String * toString() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_lang_annotation_Annotation__
diff --git a/libjava/java/lang/annotation/AnnotationFormatError.h b/libjava/java/lang/annotation/AnnotationFormatError.h
new file mode 100644
index 0000000..f5c43b2
--- /dev/null
+++ b/libjava/java/lang/annotation/AnnotationFormatError.h
@@ -0,0 +1,24 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_annotation_AnnotationFormatError__
+#define __java_lang_annotation_AnnotationFormatError__
+
+#pragma interface
+
+#include <java/lang/Error.h>
+
+class java::lang::annotation::AnnotationFormatError : public ::java::lang::Error
+{
+
+public:
+ AnnotationFormatError(::java::lang::String *);
+ AnnotationFormatError(::java::lang::String *, ::java::lang::Throwable *);
+ AnnotationFormatError(::java::lang::Throwable *);
+private:
+ static const jlong serialVersionUID = -4256701562333669892LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_annotation_AnnotationFormatError__
diff --git a/libjava/java/lang/annotation/AnnotationTypeMismatchException.h b/libjava/java/lang/annotation/AnnotationTypeMismatchException.h
new file mode 100644
index 0000000..082d9f6
--- /dev/null
+++ b/libjava/java/lang/annotation/AnnotationTypeMismatchException.h
@@ -0,0 +1,26 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_annotation_AnnotationTypeMismatchException__
+#define __java_lang_annotation_AnnotationTypeMismatchException__
+
+#pragma interface
+
+#include <java/lang/RuntimeException.h>
+
+class java::lang::annotation::AnnotationTypeMismatchException : public ::java::lang::RuntimeException
+{
+
+public:
+ AnnotationTypeMismatchException(::java::lang::reflect::Method *, ::java::lang::String *);
+ virtual ::java::lang::reflect::Method * element();
+ virtual ::java::lang::String * foundType();
+private:
+ static const jlong serialVersionUID = 8125925355765570191LL;
+ ::java::lang::reflect::Method * __attribute__((aligned(__alignof__( ::java::lang::RuntimeException)))) element__;
+ ::java::lang::String * foundType__;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_annotation_AnnotationTypeMismatchException__
diff --git a/libjava/java/lang/annotation/Documented.h b/libjava/java/lang/annotation/Documented.h
new file mode 100644
index 0000000..d2a920d
--- /dev/null
+++ b/libjava/java/lang/annotation/Documented.h
@@ -0,0 +1,19 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_annotation_Documented__
+#define __java_lang_annotation_Documented__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::lang::annotation::Documented : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::lang::Class * annotationType() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_lang_annotation_Documented__
diff --git a/libjava/java/lang/annotation/ElementType.h b/libjava/java/lang/annotation/ElementType.h
new file mode 100644
index 0000000..c475967
--- /dev/null
+++ b/libjava/java/lang/annotation/ElementType.h
@@ -0,0 +1,35 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_annotation_ElementType__
+#define __java_lang_annotation_ElementType__
+
+#pragma interface
+
+#include <java/lang/Enum.h>
+#include <gcj/array.h>
+
+
+class java::lang::annotation::ElementType : public ::java::lang::Enum
+{
+
+ ElementType(::java::lang::String *, jint);
+public:
+ static JArray< ::java::lang::annotation::ElementType * > * values();
+ static ::java::lang::annotation::ElementType * valueOf(::java::lang::String *);
+ static ::java::lang::annotation::ElementType * ANNOTATION_TYPE;
+ static ::java::lang::annotation::ElementType * CONSTRUCTOR;
+ static ::java::lang::annotation::ElementType * FIELD;
+ static ::java::lang::annotation::ElementType * LOCAL_VARIABLE;
+ static ::java::lang::annotation::ElementType * METHOD;
+ static ::java::lang::annotation::ElementType * PACKAGE;
+ static ::java::lang::annotation::ElementType * PARAMETER;
+ static ::java::lang::annotation::ElementType * TYPE;
+private:
+ static const jlong serialVersionUID = 2798216111136361587LL;
+ static JArray< ::java::lang::annotation::ElementType * > * ENUM$VALUES;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_annotation_ElementType__
diff --git a/libjava/java/lang/annotation/IncompleteAnnotationException.h b/libjava/java/lang/annotation/IncompleteAnnotationException.h
new file mode 100644
index 0000000..aff0f7e
--- /dev/null
+++ b/libjava/java/lang/annotation/IncompleteAnnotationException.h
@@ -0,0 +1,25 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_annotation_IncompleteAnnotationException__
+#define __java_lang_annotation_IncompleteAnnotationException__
+
+#pragma interface
+
+#include <java/lang/RuntimeException.h>
+
+class java::lang::annotation::IncompleteAnnotationException : public ::java::lang::RuntimeException
+{
+
+public:
+ IncompleteAnnotationException(::java::lang::Class *, ::java::lang::String *);
+ virtual ::java::lang::Class * annotationType();
+ virtual ::java::lang::String * elementName();
+private:
+ ::java::lang::Class * __attribute__((aligned(__alignof__( ::java::lang::RuntimeException)))) annotationType__;
+ ::java::lang::String * elementName__;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_annotation_IncompleteAnnotationException__
diff --git a/libjava/java/lang/annotation/Inherited.h b/libjava/java/lang/annotation/Inherited.h
new file mode 100644
index 0000000..b1ebc88
--- /dev/null
+++ b/libjava/java/lang/annotation/Inherited.h
@@ -0,0 +1,19 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_annotation_Inherited__
+#define __java_lang_annotation_Inherited__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::lang::annotation::Inherited : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::lang::Class * annotationType() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_lang_annotation_Inherited__
diff --git a/libjava/java/lang/annotation/Retention.h b/libjava/java/lang/annotation/Retention.h
new file mode 100644
index 0000000..42fb4a5
--- /dev/null
+++ b/libjava/java/lang/annotation/Retention.h
@@ -0,0 +1,20 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_annotation_Retention__
+#define __java_lang_annotation_Retention__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::lang::annotation::Retention : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::lang::annotation::RetentionPolicy * value() = 0;
+ virtual ::java::lang::Class * annotationType() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_lang_annotation_Retention__
diff --git a/libjava/java/lang/annotation/RetentionPolicy.h b/libjava/java/lang/annotation/RetentionPolicy.h
new file mode 100644
index 0000000..5d64260
--- /dev/null
+++ b/libjava/java/lang/annotation/RetentionPolicy.h
@@ -0,0 +1,30 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_annotation_RetentionPolicy__
+#define __java_lang_annotation_RetentionPolicy__
+
+#pragma interface
+
+#include <java/lang/Enum.h>
+#include <gcj/array.h>
+
+
+class java::lang::annotation::RetentionPolicy : public ::java::lang::Enum
+{
+
+ RetentionPolicy(::java::lang::String *, jint);
+public:
+ static JArray< ::java::lang::annotation::RetentionPolicy * > * values();
+ static ::java::lang::annotation::RetentionPolicy * valueOf(::java::lang::String *);
+ static ::java::lang::annotation::RetentionPolicy * CLASS;
+ static ::java::lang::annotation::RetentionPolicy * RUNTIME;
+ static ::java::lang::annotation::RetentionPolicy * SOURCE;
+private:
+ static const jlong serialVersionUID = -1700821648800605045LL;
+ static JArray< ::java::lang::annotation::RetentionPolicy * > * ENUM$VALUES;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_annotation_RetentionPolicy__
diff --git a/libjava/java/lang/annotation/Target.h b/libjava/java/lang/annotation/Target.h
new file mode 100644
index 0000000..96ac517
--- /dev/null
+++ b/libjava/java/lang/annotation/Target.h
@@ -0,0 +1,22 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_annotation_Target__
+#define __java_lang_annotation_Target__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+
+class java::lang::annotation::Target : public ::java::lang::Object
+{
+
+public:
+ virtual JArray< ::java::lang::annotation::ElementType * > * value() = 0;
+ virtual ::java::lang::Class * annotationType() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_lang_annotation_Target__
diff --git a/libjava/java/lang/instrument/ClassDefinition.h b/libjava/java/lang/instrument/ClassDefinition.h
new file mode 100644
index 0000000..b9106ed
--- /dev/null
+++ b/libjava/java/lang/instrument/ClassDefinition.h
@@ -0,0 +1,27 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_instrument_ClassDefinition__
+#define __java_lang_instrument_ClassDefinition__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+
+class java::lang::instrument::ClassDefinition : public ::java::lang::Object
+{
+
+public:
+ ClassDefinition(::java::lang::Class *, JArray< jbyte > *);
+ ::java::lang::Class * getDefinitionClass();
+ JArray< jbyte > * getDefinitionClassFile();
+private:
+ ::java::lang::Class * __attribute__((aligned(__alignof__( ::java::lang::Object)))) theClass;
+ JArray< jbyte > * theClassFile;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_instrument_ClassDefinition__
diff --git a/libjava/java/lang/instrument/ClassFileTransformer.h b/libjava/java/lang/instrument/ClassFileTransformer.h
new file mode 100644
index 0000000..cda1510
--- /dev/null
+++ b/libjava/java/lang/instrument/ClassFileTransformer.h
@@ -0,0 +1,31 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_instrument_ClassFileTransformer__
+#define __java_lang_instrument_ClassFileTransformer__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class ProtectionDomain;
+ }
+ }
+}
+
+class java::lang::instrument::ClassFileTransformer : public ::java::lang::Object
+{
+
+public:
+ virtual JArray< jbyte > * transform(::java::lang::ClassLoader *, ::java::lang::String *, ::java::lang::Class *, ::java::security::ProtectionDomain *, JArray< jbyte > *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_lang_instrument_ClassFileTransformer__
diff --git a/libjava/java/lang/instrument/IllegalClassFormatException.h b/libjava/java/lang/instrument/IllegalClassFormatException.h
new file mode 100644
index 0000000..c1b8783
--- /dev/null
+++ b/libjava/java/lang/instrument/IllegalClassFormatException.h
@@ -0,0 +1,23 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_instrument_IllegalClassFormatException__
+#define __java_lang_instrument_IllegalClassFormatException__
+
+#pragma interface
+
+#include <java/lang/Exception.h>
+
+class java::lang::instrument::IllegalClassFormatException : public ::java::lang::Exception
+{
+
+public:
+ IllegalClassFormatException();
+ IllegalClassFormatException(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = -3841736710924794009LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_instrument_IllegalClassFormatException__
diff --git a/libjava/java/lang/instrument/Instrumentation.h b/libjava/java/lang/instrument/Instrumentation.h
new file mode 100644
index 0000000..d131d0c
--- /dev/null
+++ b/libjava/java/lang/instrument/Instrumentation.h
@@ -0,0 +1,27 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_instrument_Instrumentation__
+#define __java_lang_instrument_Instrumentation__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+
+class java::lang::instrument::Instrumentation : public ::java::lang::Object
+{
+
+public:
+ virtual void addTransformer(::java::lang::instrument::ClassFileTransformer *) = 0;
+ virtual jboolean removeTransformer(::java::lang::instrument::ClassFileTransformer *) = 0;
+ virtual jboolean isRedefineClassesSupported() = 0;
+ virtual void redefineClasses(JArray< ::java::lang::instrument::ClassDefinition * > *) = 0;
+ virtual JArray< ::java::lang::Class * > * getAllLoadedClasses() = 0;
+ virtual JArray< ::java::lang::Class * > * getInitiatedClasses(::java::lang::ClassLoader *) = 0;
+ virtual jlong getObjectSize(::java::lang::Object *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_lang_instrument_Instrumentation__
diff --git a/libjava/java/lang/instrument/UnmodifiableClassException.h b/libjava/java/lang/instrument/UnmodifiableClassException.h
new file mode 100644
index 0000000..e5fac3c
--- /dev/null
+++ b/libjava/java/lang/instrument/UnmodifiableClassException.h
@@ -0,0 +1,23 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_instrument_UnmodifiableClassException__
+#define __java_lang_instrument_UnmodifiableClassException__
+
+#pragma interface
+
+#include <java/lang/Exception.h>
+
+class java::lang::instrument::UnmodifiableClassException : public ::java::lang::Exception
+{
+
+public:
+ UnmodifiableClassException();
+ UnmodifiableClassException(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = 1716652643585309178LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_instrument_UnmodifiableClassException__
diff --git a/libjava/java/lang/management/ClassLoadingMXBean.h b/libjava/java/lang/management/ClassLoadingMXBean.h
new file mode 100644
index 0000000..371b63d
--- /dev/null
+++ b/libjava/java/lang/management/ClassLoadingMXBean.h
@@ -0,0 +1,23 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_management_ClassLoadingMXBean__
+#define __java_lang_management_ClassLoadingMXBean__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::lang::management::ClassLoadingMXBean : public ::java::lang::Object
+{
+
+public:
+ virtual jint getLoadedClassCount() = 0;
+ virtual jlong getTotalLoadedClassCount() = 0;
+ virtual jlong getUnloadedClassCount() = 0;
+ virtual jboolean isVerbose() = 0;
+ virtual void setVerbose(jboolean) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_lang_management_ClassLoadingMXBean__
diff --git a/libjava/java/lang/management/CompilationMXBean.h b/libjava/java/lang/management/CompilationMXBean.h
new file mode 100644
index 0000000..bbd1e0a
--- /dev/null
+++ b/libjava/java/lang/management/CompilationMXBean.h
@@ -0,0 +1,21 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_management_CompilationMXBean__
+#define __java_lang_management_CompilationMXBean__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::lang::management::CompilationMXBean : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::lang::String * getName() = 0;
+ virtual jboolean isCompilationTimeMonitoringSupported() = 0;
+ virtual jlong getTotalCompilationTime() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_lang_management_CompilationMXBean__
diff --git a/libjava/java/lang/management/GarbageCollectorMXBean.h b/libjava/java/lang/management/GarbageCollectorMXBean.h
new file mode 100644
index 0000000..35222ca
--- /dev/null
+++ b/libjava/java/lang/management/GarbageCollectorMXBean.h
@@ -0,0 +1,25 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_management_GarbageCollectorMXBean__
+#define __java_lang_management_GarbageCollectorMXBean__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+
+class java::lang::management::GarbageCollectorMXBean : public ::java::lang::Object
+{
+
+public:
+ virtual jlong getCollectionCount() = 0;
+ virtual jlong getCollectionTime() = 0;
+ virtual JArray< ::java::lang::String * > * getMemoryPoolNames() = 0;
+ virtual ::java::lang::String * getName() = 0;
+ virtual jboolean isValid() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_lang_management_GarbageCollectorMXBean__
diff --git a/libjava/java/lang/management/ManagementFactory.h b/libjava/java/lang/management/ManagementFactory.h
new file mode 100644
index 0000000..a315333
--- /dev/null
+++ b/libjava/java/lang/management/ManagementFactory.h
@@ -0,0 +1,57 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_management_ManagementFactory__
+#define __java_lang_management_ManagementFactory__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace management
+ {
+ class MBeanServer;
+ }
+ }
+}
+
+class java::lang::management::ManagementFactory : public ::java::lang::Object
+{
+
+ ManagementFactory();
+public:
+ static ::java::lang::management::OperatingSystemMXBean * getOperatingSystemMXBean();
+ static ::java::lang::management::RuntimeMXBean * getRuntimeMXBean();
+ static ::java::lang::management::ClassLoadingMXBean * getClassLoadingMXBean();
+ static ::java::lang::management::ThreadMXBean * getThreadMXBean();
+ static ::java::lang::management::MemoryMXBean * getMemoryMXBean();
+ static ::java::lang::management::CompilationMXBean * getCompilationMXBean();
+ static ::java::util::List * getMemoryPoolMXBeans();
+ static ::java::util::List * getMemoryManagerMXBeans();
+ static ::java::util::List * getGarbageCollectorMXBeans();
+ static ::javax::management::MBeanServer * getPlatformMBeanServer();
+ static ::java::lang::String * CLASS_LOADING_MXBEAN_NAME;
+ static ::java::lang::String * COMPILATION_MXBEAN_NAME;
+ static ::java::lang::String * GARBAGE_COLLECTOR_MXBEAN_DOMAIN_TYPE;
+ static ::java::lang::String * MEMORY_MANAGER_MXBEAN_DOMAIN_TYPE;
+ static ::java::lang::String * MEMORY_MXBEAN_NAME;
+ static ::java::lang::String * MEMORY_POOL_MXBEAN_DOMAIN_TYPE;
+ static ::java::lang::String * OPERATING_SYSTEM_MXBEAN_NAME;
+ static ::java::lang::String * RUNTIME_MXBEAN_NAME;
+ static ::java::lang::String * THREAD_MXBEAN_NAME;
+private:
+ static ::java::lang::management::OperatingSystemMXBean * osBean;
+ static ::java::lang::management::RuntimeMXBean * runtimeBean;
+ static ::java::lang::management::ClassLoadingMXBean * classLoadingBean;
+ static ::java::lang::management::ThreadMXBean * threadBean;
+ static ::java::lang::management::MemoryMXBean * memoryBean;
+ static ::java::lang::management::CompilationMXBean * compilationBean;
+ static ::javax::management::MBeanServer * platformServer;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_management_ManagementFactory__
diff --git a/libjava/java/lang/management/ManagementPermission.h b/libjava/java/lang/management/ManagementPermission.h
new file mode 100644
index 0000000..4ac4a4fe
--- /dev/null
+++ b/libjava/java/lang/management/ManagementPermission.h
@@ -0,0 +1,23 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_management_ManagementPermission__
+#define __java_lang_management_ManagementPermission__
+
+#pragma interface
+
+#include <java/security/BasicPermission.h>
+
+class java::lang::management::ManagementPermission : public ::java::security::BasicPermission
+{
+
+public:
+ ManagementPermission(::java::lang::String *);
+ ManagementPermission(::java::lang::String *, ::java::lang::String *);
+private:
+ static const jlong serialVersionUID = 1897496590799378737LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_management_ManagementPermission__
diff --git a/libjava/java/lang/management/MemoryMXBean.h b/libjava/java/lang/management/MemoryMXBean.h
new file mode 100644
index 0000000..2fb70ad
--- /dev/null
+++ b/libjava/java/lang/management/MemoryMXBean.h
@@ -0,0 +1,24 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_management_MemoryMXBean__
+#define __java_lang_management_MemoryMXBean__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::lang::management::MemoryMXBean : public ::java::lang::Object
+{
+
+public:
+ virtual void gc() = 0;
+ virtual ::java::lang::management::MemoryUsage * getHeapMemoryUsage() = 0;
+ virtual ::java::lang::management::MemoryUsage * getNonHeapMemoryUsage() = 0;
+ virtual jint getObjectPendingFinalizationCount() = 0;
+ virtual jboolean isVerbose() = 0;
+ virtual void setVerbose(jboolean) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_lang_management_MemoryMXBean__
diff --git a/libjava/java/lang/management/MemoryManagerMXBean.h b/libjava/java/lang/management/MemoryManagerMXBean.h
new file mode 100644
index 0000000..6509205
--- /dev/null
+++ b/libjava/java/lang/management/MemoryManagerMXBean.h
@@ -0,0 +1,23 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_management_MemoryManagerMXBean__
+#define __java_lang_management_MemoryManagerMXBean__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+
+class java::lang::management::MemoryManagerMXBean : public ::java::lang::Object
+{
+
+public:
+ virtual JArray< ::java::lang::String * > * getMemoryPoolNames() = 0;
+ virtual ::java::lang::String * getName() = 0;
+ virtual jboolean isValid() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_lang_management_MemoryManagerMXBean__
diff --git a/libjava/java/lang/management/MemoryNotificationInfo.h b/libjava/java/lang/management/MemoryNotificationInfo.h
new file mode 100644
index 0000000..07cfeff
--- /dev/null
+++ b/libjava/java/lang/management/MemoryNotificationInfo.h
@@ -0,0 +1,43 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_management_MemoryNotificationInfo__
+#define __java_lang_management_MemoryNotificationInfo__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace management
+ {
+ namespace openmbean
+ {
+ class CompositeData;
+ }
+ }
+ }
+}
+
+class java::lang::management::MemoryNotificationInfo : public ::java::lang::Object
+{
+
+public:
+ MemoryNotificationInfo(::java::lang::String *, ::java::lang::management::MemoryUsage *, jlong);
+ static ::java::lang::management::MemoryNotificationInfo * from(::javax::management::openmbean::CompositeData *);
+ virtual jlong getCount();
+ virtual ::java::lang::String * getPoolName();
+ virtual ::java::lang::management::MemoryUsage * getUsage();
+ static ::java::lang::String * MEMORY_THRESHOLD_EXCEEDED;
+ static ::java::lang::String * MEMORY_COLLECTION_THRESHOLD_EXCEEDED;
+private:
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) poolName;
+ ::java::lang::management::MemoryUsage * usage;
+ jlong count;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_management_MemoryNotificationInfo__
diff --git a/libjava/java/lang/management/MemoryPoolMXBean.h b/libjava/java/lang/management/MemoryPoolMXBean.h
new file mode 100644
index 0000000..4209d57
--- /dev/null
+++ b/libjava/java/lang/management/MemoryPoolMXBean.h
@@ -0,0 +1,38 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_management_MemoryPoolMXBean__
+#define __java_lang_management_MemoryPoolMXBean__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+
+class java::lang::management::MemoryPoolMXBean : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::lang::management::MemoryUsage * getCollectionUsage() = 0;
+ virtual jlong getCollectionUsageThreshold() = 0;
+ virtual jlong getCollectionUsageThresholdCount() = 0;
+ virtual JArray< ::java::lang::String * > * getMemoryManagerNames() = 0;
+ virtual ::java::lang::String * getName() = 0;
+ virtual ::java::lang::management::MemoryUsage * getPeakUsage() = 0;
+ virtual ::java::lang::management::MemoryType * getType() = 0;
+ virtual ::java::lang::management::MemoryUsage * getUsage() = 0;
+ virtual jlong getUsageThreshold() = 0;
+ virtual jlong getUsageThresholdCount() = 0;
+ virtual jboolean isCollectionUsageThresholdExceeded() = 0;
+ virtual jboolean isCollectionUsageThresholdSupported() = 0;
+ virtual jboolean isUsageThresholdExceeded() = 0;
+ virtual jboolean isUsageThresholdSupported() = 0;
+ virtual jboolean isValid() = 0;
+ virtual void resetPeakUsage() = 0;
+ virtual void setCollectionUsageThreshold(jlong) = 0;
+ virtual void setUsageThreshold(jlong) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_lang_management_MemoryPoolMXBean__
diff --git a/libjava/java/lang/management/MemoryType.h b/libjava/java/lang/management/MemoryType.h
new file mode 100644
index 0000000..b93587d
--- /dev/null
+++ b/libjava/java/lang/management/MemoryType.h
@@ -0,0 +1,28 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_management_MemoryType__
+#define __java_lang_management_MemoryType__
+
+#pragma interface
+
+#include <java/lang/Enum.h>
+#include <gcj/array.h>
+
+
+class java::lang::management::MemoryType : public ::java::lang::Enum
+{
+
+ MemoryType(::java::lang::String *, jint);
+public:
+ static JArray< ::java::lang::management::MemoryType * > * values();
+ static ::java::lang::management::MemoryType * valueOf(::java::lang::String *);
+ static ::java::lang::management::MemoryType * HEAP;
+ static ::java::lang::management::MemoryType * NON_HEAP;
+private:
+ static JArray< ::java::lang::management::MemoryType * > * ENUM$VALUES;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_management_MemoryType__
diff --git a/libjava/java/lang/management/MemoryUsage.h b/libjava/java/lang/management/MemoryUsage.h
new file mode 100644
index 0000000..3b126f8
--- /dev/null
+++ b/libjava/java/lang/management/MemoryUsage.h
@@ -0,0 +1,44 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_management_MemoryUsage__
+#define __java_lang_management_MemoryUsage__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace management
+ {
+ namespace openmbean
+ {
+ class CompositeData;
+ }
+ }
+ }
+}
+
+class java::lang::management::MemoryUsage : public ::java::lang::Object
+{
+
+public:
+ MemoryUsage(jlong, jlong, jlong, jlong);
+ static ::java::lang::management::MemoryUsage * from(::javax::management::openmbean::CompositeData *);
+ virtual jlong getCommitted();
+ virtual jlong getInit();
+ virtual jlong getMax();
+ virtual jlong getUsed();
+ virtual ::java::lang::String * toString();
+private:
+ jlong __attribute__((aligned(__alignof__( ::java::lang::Object)))) init;
+ jlong used;
+ jlong committed;
+ jlong maximum;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_management_MemoryUsage__
diff --git a/libjava/java/lang/management/OperatingSystemMXBean.h b/libjava/java/lang/management/OperatingSystemMXBean.h
new file mode 100644
index 0000000..adb562c
--- /dev/null
+++ b/libjava/java/lang/management/OperatingSystemMXBean.h
@@ -0,0 +1,22 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_management_OperatingSystemMXBean__
+#define __java_lang_management_OperatingSystemMXBean__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::lang::management::OperatingSystemMXBean : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::lang::String * getArch() = 0;
+ virtual jint getAvailableProcessors() = 0;
+ virtual ::java::lang::String * getName() = 0;
+ virtual ::java::lang::String * getVersion() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_lang_management_OperatingSystemMXBean__
diff --git a/libjava/java/lang/management/RuntimeMXBean.h b/libjava/java/lang/management/RuntimeMXBean.h
new file mode 100644
index 0000000..c266674
--- /dev/null
+++ b/libjava/java/lang/management/RuntimeMXBean.h
@@ -0,0 +1,34 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_management_RuntimeMXBean__
+#define __java_lang_management_RuntimeMXBean__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::lang::management::RuntimeMXBean : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::lang::String * getBootClassPath() = 0;
+ virtual ::java::lang::String * getClassPath() = 0;
+ virtual ::java::util::List * getInputArguments() = 0;
+ virtual ::java::lang::String * getLibraryPath() = 0;
+ virtual ::java::lang::String * getManagementSpecVersion() = 0;
+ virtual ::java::lang::String * getName() = 0;
+ virtual ::java::lang::String * getSpecName() = 0;
+ virtual ::java::lang::String * getSpecVendor() = 0;
+ virtual ::java::lang::String * getSpecVersion() = 0;
+ virtual jlong getStartTime() = 0;
+ virtual ::java::util::Map * getSystemProperties() = 0;
+ virtual jlong getUptime() = 0;
+ virtual ::java::lang::String * getVmName() = 0;
+ virtual ::java::lang::String * getVmVendor() = 0;
+ virtual ::java::lang::String * getVmVersion() = 0;
+ virtual jboolean isBootClassPathSupported() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_lang_management_RuntimeMXBean__
diff --git a/libjava/java/lang/management/ThreadInfo.h b/libjava/java/lang/management/ThreadInfo.h
new file mode 100644
index 0000000..a06b99c
--- /dev/null
+++ b/libjava/java/lang/management/ThreadInfo.h
@@ -0,0 +1,70 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_management_ThreadInfo__
+#define __java_lang_management_ThreadInfo__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace javax
+ {
+ namespace management
+ {
+ namespace openmbean
+ {
+ class CompositeData;
+ class CompositeType;
+ class OpenType;
+ }
+ }
+ }
+}
+
+class java::lang::management::ThreadInfo : public ::java::lang::Object
+{
+
+ ThreadInfo(::java::lang::Thread *, jlong, jlong, ::java::lang::Object *, ::java::lang::Thread *, jlong, jlong, jboolean, jboolean, JArray< ::java::lang::StackTraceElement * > *);
+ ThreadInfo(jlong, ::java::lang::String *, ::java::lang::Thread$State *, jlong, jlong, ::java::lang::String *, jlong, ::java::lang::String *, jlong, jlong, jboolean, jboolean, JArray< ::java::lang::StackTraceElement * > *);
+public: // actually package-private
+ static void checkAttribute(::javax::management::openmbean::CompositeType *, ::java::lang::String *, ::javax::management::openmbean::OpenType *);
+public:
+ static ::java::lang::management::ThreadInfo * from(::javax::management::openmbean::CompositeData *);
+ virtual jlong getBlockedCount();
+ virtual jlong getBlockedTime();
+ virtual ::java::lang::String * getLockName();
+ virtual jlong getLockOwnerId();
+ virtual ::java::lang::String * getLockOwnerName();
+ virtual JArray< ::java::lang::StackTraceElement * > * getStackTrace();
+ virtual jlong getThreadId();
+ virtual ::java::lang::String * getThreadName();
+ virtual ::java::lang::Thread$State * getThreadState();
+ virtual jlong getWaitedCount();
+ virtual jlong getWaitedTime();
+ virtual jboolean isInNative();
+ virtual jboolean isSuspended();
+ virtual ::java::lang::String * toString();
+private:
+ jlong __attribute__((aligned(__alignof__( ::java::lang::Object)))) threadId;
+ ::java::lang::String * threadName;
+ ::java::lang::Thread$State * threadState;
+ jlong blockedCount;
+ jlong blockedTime;
+ ::java::lang::String * lockName;
+ jlong lockOwnerId;
+ ::java::lang::String * lockOwnerName;
+ jlong waitedCount;
+ jlong waitedTime;
+ jboolean isInNative__;
+ jboolean isSuspended__;
+ JArray< ::java::lang::StackTraceElement * > * trace;
+ static ::java::lang::management::ThreadMXBean * bean;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_management_ThreadInfo__
diff --git a/libjava/java/lang/management/ThreadMXBean.h b/libjava/java/lang/management/ThreadMXBean.h
new file mode 100644
index 0000000..a160b08
--- /dev/null
+++ b/libjava/java/lang/management/ThreadMXBean.h
@@ -0,0 +1,42 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_management_ThreadMXBean__
+#define __java_lang_management_ThreadMXBean__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+
+class java::lang::management::ThreadMXBean : public ::java::lang::Object
+{
+
+public:
+ virtual JArray< jlong > * findMonitorDeadlockedThreads() = 0;
+ virtual JArray< jlong > * getAllThreadIds() = 0;
+ virtual jlong getCurrentThreadCpuTime() = 0;
+ virtual jlong getCurrentThreadUserTime() = 0;
+ virtual jint getDaemonThreadCount() = 0;
+ virtual jint getPeakThreadCount() = 0;
+ virtual jint getThreadCount() = 0;
+ virtual jlong getThreadCpuTime(jlong) = 0;
+ virtual ::java::lang::management::ThreadInfo * getThreadInfo(jlong) = 0;
+ virtual JArray< ::java::lang::management::ThreadInfo * > * getThreadInfo(JArray< jlong > *) = 0;
+ virtual ::java::lang::management::ThreadInfo * getThreadInfo(jlong, jint) = 0;
+ virtual JArray< ::java::lang::management::ThreadInfo * > * getThreadInfo(JArray< jlong > *, jint) = 0;
+ virtual jlong getThreadUserTime(jlong) = 0;
+ virtual jlong getTotalStartedThreadCount() = 0;
+ virtual jboolean isCurrentThreadCpuTimeSupported() = 0;
+ virtual jboolean isThreadContentionMonitoringEnabled() = 0;
+ virtual jboolean isThreadContentionMonitoringSupported() = 0;
+ virtual jboolean isThreadCpuTimeEnabled() = 0;
+ virtual jboolean isThreadCpuTimeSupported() = 0;
+ virtual void resetPeakThreadCount() = 0;
+ virtual void setThreadContentionMonitoringEnabled(jboolean) = 0;
+ virtual void setThreadCpuTimeEnabled(jboolean) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_lang_management_ThreadMXBean__
diff --git a/libjava/java/lang/management/VMManagementFactory.h b/libjava/java/lang/management/VMManagementFactory.h
new file mode 100644
index 0000000..e712cbf
--- /dev/null
+++ b/libjava/java/lang/management/VMManagementFactory.h
@@ -0,0 +1,25 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_management_VMManagementFactory__
+#define __java_lang_management_VMManagementFactory__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+
+class java::lang::management::VMManagementFactory : public ::java::lang::Object
+{
+
+public: // actually package-private
+ VMManagementFactory();
+ static JArray< ::java::lang::String * > * getMemoryPoolNames();
+ static JArray< ::java::lang::String * > * getMemoryManagerNames();
+ static JArray< ::java::lang::String * > * getGarbageCollectorNames();
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_management_VMManagementFactory__
diff --git a/libjava/java/lang/management/VMManagementFactory.java b/libjava/java/lang/management/VMManagementFactory.java
index 6a906c7..f104970 100644
--- a/libjava/java/lang/management/VMManagementFactory.java
+++ b/libjava/java/lang/management/VMManagementFactory.java
@@ -54,10 +54,7 @@ final class VMManagementFactory
*
* @return a list of memory pool names.
*/
- static String[] getMemoryPoolNames()
- {
- return new String[0];
- }
+ static native String[] getMemoryPoolNames();
/**
* Return a list of the names of the currently available
@@ -66,10 +63,7 @@ final class VMManagementFactory
*
* @return a list of memory manager names.
*/
- static String[] getMemoryManagerNames()
- {
- return new String[0];
- }
+ static native String[] getMemoryManagerNames();
/**
* Return a list of the names of the currently available
@@ -77,8 +71,5 @@ final class VMManagementFactory
*
* @return a list of garbage collector names.
*/
- static String[] getGarbageCollectorNames()
- {
- return new String[0];
- }
+ static native String[] getGarbageCollectorNames();
}
diff --git a/libjava/java/lang/management/natVMManagementFactory.cc b/libjava/java/lang/management/natVMManagementFactory.cc
new file mode 100644
index 0000000..35a418b
--- /dev/null
+++ b/libjava/java/lang/management/natVMManagementFactory.cc
@@ -0,0 +1,44 @@
+/* Copyright (C) 2006 Free Software Foundation
+
+ This file is part of libgcj.
+
+This software is copyrighted work licensed under the terms of the
+Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
+details. */
+
+/**
+ * @author Andrew John Hughes <gnu_andrew@member.fsf.org>
+ * @date Tue 08 Aug 2006 */
+/* Implemented for our sole pool, the heap, and our sole memory
+ * manager/garbage collector, Boehm GC.
+ * Status: Believed complete and correct.
+ */
+
+#include <config.h>
+
+#include <gcj/cni.h>
+#include <java/lang/String.h>
+#include <java/lang/management/VMManagementFactory.h>
+
+JArray< ::java::lang::String *> *
+java::lang::management::VMManagementFactory::getMemoryPoolNames ()
+{
+ return (JArray<jstring>*)
+ JvNewObjectArray(1, &java::lang::String::class$, JvNewStringLatin1("Heap"));
+}
+
+
+JArray< ::java::lang::String *> *
+java::lang::management::VMManagementFactory::getMemoryManagerNames ()
+{
+ return (JArray<jstring>*)
+ JvNewObjectArray(0, &java::lang::String::class$, NULL);
+}
+
+
+JArray< ::java::lang::String *> *
+java::lang::management::VMManagementFactory::getGarbageCollectorNames ()
+{
+ return (JArray<jstring>*)
+ JvNewObjectArray(1, &java::lang::String::class$, JvNewStringLatin1("BoehmGC"));
+}
diff --git a/libjava/java/lang/natClass.cc b/libjava/java/lang/natClass.cc
index 491faa7..cf07e86 100644
--- a/libjava/java/lang/natClass.cc
+++ b/libjava/java/lang/natClass.cc
@@ -56,6 +56,21 @@ details. */
#include <gcj/method.h>
#include <gnu/gcj/RawData.h>
#include <java/lang/VerifyError.h>
+#include <java/lang/InternalError.h>
+#include <java/lang/TypeNotPresentException.h>
+#include <java/lang/Byte.h>
+#include <java/lang/Short.h>
+#include <java/lang/Integer.h>
+#include <java/lang/Float.h>
+#include <java/lang/Double.h>
+#include <java/lang/Long.h>
+#include <java/lang/Character.h>
+#include <java/lang/Boolean.h>
+#include <java/lang/annotation/Annotation.h>
+#include <java/util/HashMap.h>
+#include <java/util/Map.h>
+#include <sun/reflect/annotation/AnnotationInvocationHandler.h>
+#include <java/lang/Enum.h>
#include <java-cpool.h>
#include <java-interp.h>
@@ -426,25 +441,6 @@ java::lang::Class::getName (void)
}
JArray<jclass> *
-java::lang::Class::getDeclaredClasses (jboolean /*publicOnly*/)
-{
- // Until we have inner classes, it always makes sense to return an
- // empty array.
- JArray<jclass> *result
- = (JArray<jclass> *) JvNewObjectArray (0, &java::lang::Class::class$,
- NULL);
- return result;
-}
-
-jclass
-java::lang::Class::getDeclaringClass (void)
-{
- // Until we have inner classes, it makes sense to always return
- // NULL.
- return NULL;
-}
-
-JArray<jclass> *
java::lang::Class::getInterfaces (void)
{
jobjectArray r = JvNewObjectArray (interface_count, getClass (), NULL);
@@ -851,6 +847,738 @@ java::lang::Class::setSigners(JArray<jobject> *s)
+static unsigned char
+read_u1 (unsigned char *&p)
+{
+ return *p++;
+}
+
+static unsigned char
+read_u1 (unsigned char *&p, unsigned char *next)
+{
+ if (next - p < 1)
+ throw new java::lang::InternalError();
+ return *p++;
+}
+
+static unsigned int
+read_u2 (unsigned char *&p)
+{
+ unsigned int b1 = *p++;
+ unsigned int b2 = *p++;
+ return (b1 << 8) | b2;
+}
+
+static unsigned int
+read_u2 (unsigned char *&p, unsigned char *next)
+{
+ if (next - p < 2)
+ throw new java::lang::InternalError();
+ return read_u2 (p);
+}
+
+static int
+read_4 (unsigned char *&p)
+{
+ int b1 = *p++;
+ int b2 = *p++;
+ int b3 = *p++;
+ int b4 = *p++;
+ return (b1 << 24) | (b2 << 16) | (b3 << 8) | b4;
+}
+
+jstring
+java::lang::Class::getReflectionSignature (jint /*jv_attr_type*/ type,
+ jint obj_index)
+{
+ // We just re-parse the bytecode for this data each time. If
+ // necessary we can cache results, but I suspect this is not
+ // performance sensitive.
+ unsigned char *bytes = reflection_data;
+ if (bytes == NULL)
+ return NULL;
+ while (true)
+ {
+ int kind = read_u1 (bytes);
+ if (kind == JV_DONE_ATTR)
+ return NULL;
+ int len = read_4 (bytes);
+ unsigned char *next = bytes + len;
+ if (kind != type)
+ {
+ bytes = next;
+ continue;
+ }
+ if (type != JV_CLASS_ATTR)
+ {
+ unsigned short index = read_u2 (bytes, next);
+ if (index != obj_index)
+ {
+ bytes = next;
+ continue;
+ }
+ }
+ int nt = read_u1 (bytes, next);
+ if (nt != JV_SIGNATURE_KIND)
+ {
+ bytes = next;
+ continue;
+ }
+ unsigned int cpool_idx = read_u2 (bytes, next);
+ if (cpool_idx >= (unsigned int) constants.size
+ || constants.tags[cpool_idx] != JV_CONSTANT_Utf8)
+ {
+ // We just ignore errors for now. It isn't clear what is
+ // best to do here, as an encoding error here means a bug
+ // either in the compiler or in defineclass.cc.
+ return NULL;
+ }
+ return _Jv_NewStringUtf8Const (constants.data[cpool_idx].utf8);
+ }
+}
+
+jstring
+java::lang::Class::getReflectionSignature (::java::lang::reflect::Constructor *c)
+{
+ _Jv_Method *meth = _Jv_FromReflectedConstructor (c);
+ unsigned short meth_index = meth - methods;
+ return getReflectionSignature (JV_METHOD_ATTR, meth_index);
+}
+
+jstring
+java::lang::Class::getReflectionSignature (::java::lang::reflect::Method *m)
+{
+ _Jv_Method *meth = _Jv_FromReflectedMethod (m);
+ unsigned short meth_index = meth - methods;
+ return getReflectionSignature (JV_METHOD_ATTR, meth_index);
+}
+
+jstring
+java::lang::Class::getReflectionSignature (::java::lang::reflect::Field *f)
+{
+ _Jv_Field *fld = _Jv_FromReflectedField (f);
+ unsigned short fld_index = fld - fields;
+ return getReflectionSignature (JV_FIELD_ATTR, fld_index);
+}
+
+jstring
+java::lang::Class::getClassSignature()
+{
+ return getReflectionSignature (JV_CLASS_ATTR, 0);
+}
+
+jint
+java::lang::Class::getEnclosingMethodData()
+{
+ unsigned char *bytes = reflection_data;
+ if (bytes == NULL)
+ return 0;
+ while (true)
+ {
+ int kind = read_u1 (bytes);
+ if (kind == JV_DONE_ATTR)
+ return 0;
+ int len = read_4 (bytes);
+ unsigned char *next = bytes + len;
+ if (kind != JV_CLASS_ATTR)
+ {
+ bytes = next;
+ continue;
+ }
+ int type = read_u1 (bytes, next);
+ if (type != JV_ENCLOSING_METHOD_KIND)
+ {
+ bytes = next;
+ continue;
+ }
+ int class_index = read_u2 (bytes, next);
+ int method_index = read_u2 (bytes, next);
+ _Jv_word result;
+ _Jv_storeIndexes (&result, class_index, method_index);
+ return result.i;
+ }
+}
+
+jclass
+java::lang::Class::getEnclosingClass()
+{
+ _Jv_word indexes;
+ indexes.i = getEnclosingMethodData();
+ if (indexes.i == 0)
+ return NULL;
+ _Jv_ushort class_index, method_index;
+ _Jv_loadIndexes (&indexes, class_index, method_index);
+ return _Jv_Linker::resolve_pool_entry (this, class_index).clazz;
+}
+
+::java::lang::reflect::Method *
+java::lang::Class::getEnclosingMethod()
+{
+ _Jv_word indexes;
+ indexes.i = getEnclosingMethodData();
+ if (indexes.i == 0)
+ return NULL;
+ _Jv_ushort class_index, method_index;
+ _Jv_loadIndexes (&indexes, class_index, method_index);
+ jclass found_class;
+ _Jv_Method *method = _Jv_Linker::resolve_method_entry (this, found_class,
+ class_index,
+ method_index,
+ false, false);
+ using namespace java::lang::reflect;
+ Method *rmethod = new Method ();
+ rmethod->offset = (char *) method - (char *) found_class->methods;
+ rmethod->declaringClass = found_class;
+ return rmethod;
+}
+
+::java::lang::reflect::Constructor *
+java::lang::Class::getEnclosingConstructor()
+{
+ _Jv_word indexes;
+ indexes.i = getEnclosingMethodData();
+ if (indexes.i == 0)
+ return NULL;
+ _Jv_ushort class_index, method_index;
+ _Jv_loadIndexes (&indexes, class_index, method_index);
+ jclass found_class;
+ _Jv_Method *method = _Jv_Linker::resolve_method_entry (this, found_class,
+ class_index,
+ method_index,
+ false, false);
+ using namespace java::lang::reflect;
+ Constructor *cons = new Constructor ();
+ cons->offset = (char *) method - (char *) found_class->methods;
+ cons->declaringClass = this;
+ return cons;
+}
+
+static void
+check_constant (_Jv_Constants *pool, jint cpool_index, jint type)
+{
+ if (cpool_index <= 0 || cpool_index >= pool->size)
+ throw new InternalError(JvNewStringLatin1("invalid constant pool index"));
+ if ((pool->tags[cpool_index] &
+ ~(JV_CONSTANT_ResolvedFlag|JV_CONSTANT_LazyFlag)) != type)
+ {
+ ::java::lang::StringBuffer *sb = new ::java::lang::StringBuffer();
+ sb->append(JvNewStringLatin1("expected pool constant "));
+ sb->append(type);
+ sb->append(JvNewStringLatin1(" but got "));
+ sb->append(jint (pool->tags[cpool_index]));
+ throw new InternalError(sb->toString());
+ }
+}
+
+// Forward declaration
+static ::java::lang::annotation::Annotation *
+parseAnnotation(jclass klass, _Jv_Constants *pool,
+ unsigned char *&bytes, unsigned char *last);
+
+static jobject
+parseAnnotationElement(jclass klass, _Jv_Constants *pool,
+ unsigned char *&bytes, unsigned char *last)
+{
+ int tag = read_u1 (bytes, last);
+ jobject result;
+ switch (tag)
+ {
+ case 'B':
+ {
+ int cindex = read_u2 (bytes, last);
+ check_constant (pool, cindex, JV_CONSTANT_Integer);
+ result = Byte::valueOf (pool->data[cindex].i);
+ }
+ break;
+ case 'C':
+ {
+ int cindex = read_u2 (bytes, last);
+ check_constant (pool, cindex, JV_CONSTANT_Integer);
+ result = Character::valueOf (pool->data[cindex].i);
+ }
+ break;
+ case 'S':
+ {
+ int cindex = read_u2 (bytes, last);
+ check_constant (pool, cindex, JV_CONSTANT_Integer);
+ result = Short::valueOf (pool->data[cindex].i);
+ }
+ break;
+ case 'Z':
+ {
+ int cindex = read_u2 (bytes, last);
+ check_constant (pool, cindex, JV_CONSTANT_Integer);
+ result = Boolean::valueOf (jboolean (pool->data[cindex].i));
+ }
+ break;
+ case 'I':
+ {
+ int cindex = read_u2 (bytes, last);
+ check_constant (pool, cindex, JV_CONSTANT_Integer);
+ result = Integer::valueOf (pool->data[cindex].i);
+ }
+ break;
+ case 'D':
+ {
+ int cindex = read_u2 (bytes, last);
+ check_constant (pool, cindex, JV_CONSTANT_Double);
+ _Jv_word2 word;
+ memcpy (&word, &pool->data[cindex], 2 * sizeof (_Jv_word));
+ result = Double::valueOf (word.d);
+ }
+ break;
+ case 'F':
+ {
+ int cindex = read_u2 (bytes, last);
+ check_constant (pool, cindex, JV_CONSTANT_Float);
+ result = Float::valueOf (pool->data[cindex].f);
+ }
+ break;
+ case 'J':
+ {
+ int cindex = read_u2 (bytes, last);
+ check_constant (pool, cindex, JV_CONSTANT_Double);
+ _Jv_word2 word;
+ memcpy (&word, &pool->data[cindex], 2 * sizeof (_Jv_word));
+ result = Long::valueOf (word.l);
+ }
+ break;
+ case 's':
+ {
+ int cindex = read_u2 (bytes, last);
+ // Despite what the JVM spec says, compilers generate a Utf8
+ // constant here, not a String.
+ check_constant (pool, cindex, JV_CONSTANT_Utf8);
+ result = pool->data[cindex].utf8->toString();
+ }
+ break;
+ case 'e':
+ {
+ int type_name_index = read_u2 (bytes, last);
+ check_constant (pool, type_name_index, JV_CONSTANT_Utf8);
+ int const_name_index = read_u2 (bytes, last);
+ check_constant (pool, const_name_index, JV_CONSTANT_Utf8);
+
+ _Jv_Utf8Const *u_name = pool->data[type_name_index].utf8;
+ _Jv_Utf8Const *e_name = pool->data[const_name_index].utf8;
+
+ // FIXME: throw correct exceptions at the correct times.
+ jclass e_class = _Jv_FindClassFromSignature(u_name->chars(),
+ klass->getClassLoaderInternal());
+ result = ::java::lang::Enum::valueOf(e_class, e_name->toString());
+ }
+ break;
+ case 'c':
+ {
+ int cindex = read_u2 (bytes, last);
+ check_constant (pool, cindex, JV_CONSTANT_Utf8);
+ _Jv_Utf8Const *u_name = pool->data[cindex].utf8;
+ jclass anno_class
+ = _Jv_FindClassFromSignatureNoException(u_name->chars(),
+ klass->getClassLoaderInternal());
+ // FIXME: not correct: we should lazily do this when trying to
+ // read the element. This means that
+ // AnnotationInvocationHandler needs to have a special case.
+ if (! anno_class)
+ // FIXME: original exception...
+ throw new TypeNotPresentException(u_name->toString(), NULL);
+ result = anno_class;
+ }
+ break;
+ case '@':
+ result = parseAnnotation (klass, pool, bytes, last);
+ break;
+ case '[':
+ {
+ int n_array_elts = read_u2 (bytes, last);
+ jobjectArray aresult = _Jv_NewObjectArray (n_array_elts,
+ &Object::class$, NULL);
+ jobject *elts = elements (aresult);
+ for (int i = 0; i < n_array_elts; ++i)
+ elts[i] = parseAnnotationElement(klass, pool, bytes, last);
+ result = aresult;
+ }
+ break;
+ default:
+ throw new java::lang::InternalError();
+ }
+ return result;
+}
+
+static ::java::lang::annotation::Annotation *
+parseAnnotation(jclass klass, _Jv_Constants *pool,
+ unsigned char *&bytes, unsigned char *last)
+{
+ int type_index = read_u2 (bytes, last);
+ check_constant (pool, type_index, JV_CONSTANT_Utf8);
+
+ _Jv_Utf8Const *u_name = pool->data[type_index].utf8;
+ jclass anno_class = _Jv_FindClassFromSignatureNoException(u_name->chars(),
+ klass->getClassLoaderInternal());
+ // FIXME: what to do if anno_class==NULL?
+
+ ::java::util::HashMap *hmap = new ::java::util::HashMap();
+ int npairs = read_u2 (bytes, last);
+ for (int i = 0; i < npairs; ++i)
+ {
+ int name_index = read_u2 (bytes, last);
+ check_constant (pool, name_index, JV_CONSTANT_Utf8);
+ jstring name = _Jv_NewStringUtf8Const (pool->data[name_index].utf8);
+ jobject value = parseAnnotationElement (klass, pool, bytes, last);
+ // FIXME: any checks needed for name?
+ hmap->put(name, value);
+ }
+ using namespace ::sun::reflect::annotation;
+ return AnnotationInvocationHandler::create (anno_class,
+ (::java::util::Map *) hmap);
+}
+
+static jobjectArray
+parseAnnotations(jclass klass, _Jv_Constants *pool,
+ unsigned char *&bytes, unsigned char *last)
+{
+ int num = read_u2 (bytes, last);
+ jobjectArray result = _Jv_NewObjectArray (num,
+ &::java::lang::annotation::Annotation::class$,
+ NULL);
+ jobject *elts = elements (result);
+ for (int i = 0; i < num; ++i)
+ elts[i] = parseAnnotation(klass, pool, bytes, last);
+ return result;
+}
+
+static jobjectArray
+parseParameterAnnotations(jclass klass, _Jv_Constants *pool,
+ unsigned char *&bytes, unsigned char *last)
+{
+ jclass anno = &::java::lang::annotation::Annotation::class$;
+ jclass annoary = _Jv_GetArrayClass (anno, anno->getClassLoaderInternal());
+
+ // FIXME: something should check the number of params versus the
+ // method
+ int n_params = read_u1 (bytes, last);
+ jobjectArray result = _Jv_NewObjectArray (n_params, annoary, NULL);
+ jobject *elts = elements (result);
+ for (int i = 0; i < n_params; ++i)
+ elts[i] = parseAnnotations(klass, pool, bytes, last);
+ return result;
+}
+
+jobject
+java::lang::Class::getMethodDefaultValue(::java::lang::reflect::Method *meth)
+{
+ // FIXME: could cache the value here...
+
+ unsigned char *bytes = reflection_data;
+ if (bytes == NULL)
+ return 0;
+
+ unsigned short meth_index = _Jv_FromReflectedMethod (meth) - methods;
+
+ while (true)
+ {
+ int type = read_u1 (bytes);
+ if (type == JV_DONE_ATTR)
+ return NULL;
+ int len = read_4 (bytes);
+ unsigned char *next = bytes + len;
+ if (type != JV_METHOD_ATTR)
+ {
+ bytes = next;
+ continue;
+ }
+ int kind = read_u1 (bytes, next);
+ if (kind != JV_ANNOTATION_DEFAULT_KIND)
+ {
+ bytes = next;
+ continue;
+ }
+ int index = read_u2 (bytes, next);
+ if (meth_index != index)
+ {
+ bytes = next;
+ continue;
+ }
+
+ // FIXME: could cache here. If we do then we have to clone any
+ // array result.
+ return parseAnnotationElement(this, &this->constants, bytes, next);
+ }
+}
+
+jobjectArray
+java::lang::Class::getDeclaredAnnotations(jint /* jv_attr_type */ member_type,
+ jint member_index,
+ jint /* jv_attr_kind */ kind_req)
+{
+ using namespace java::lang::annotation;
+ jobjectArray result;
+
+ unsigned char *bytes = reflection_data;
+ if (bytes == NULL)
+ return 0;
+
+ ClassLoader *trueLoader = loader;
+ if (trueLoader == NULL)
+ trueLoader = (ClassLoader *)VMClassLoader::bootLoader;
+
+ result = (loader->getDeclaredAnnotations
+ (this, member_type, member_index, kind_req));
+ if (result)
+ return result;
+
+ for (;;)
+ {
+ int type = read_u1 (bytes);
+ if (type == JV_DONE_ATTR)
+ return NULL;
+ int len = read_4 (bytes);
+ unsigned char *next = bytes + len;
+ if (type != member_type)
+ {
+ bytes = next;
+ continue;
+ }
+ int kind = read_u1 (bytes, next);
+ if (kind != kind_req)
+ {
+ bytes = next;
+ continue;
+ }
+ if (member_type != JV_CLASS_ATTR)
+ {
+ int index = read_u2 (bytes, next);
+ if (member_index != index)
+ {
+ bytes = next;
+ continue;
+ }
+ }
+
+ if (kind_req == JV_PARAMETER_ANNOTATIONS_KIND)
+ result = ((parseParameterAnnotations
+ (this, &this->constants, bytes, next)));
+ else
+ result = ((parseAnnotations (this, &this->constants, bytes, next)));
+ break;
+ }
+
+ return (loader->putDeclaredAnnotations
+ (this, member_type, member_index, kind_req, result));
+}
+
+jobjectArray
+java::lang::Class::getDeclaredAnnotations(::java::lang::reflect::Method *meth,
+ jboolean is_param)
+{
+ unsigned short meth_index = _Jv_FromReflectedMethod (meth) - methods;
+ return getDeclaredAnnotations(JV_METHOD_ATTR, meth_index,
+ (is_param
+ ? JV_PARAMETER_ANNOTATIONS_KIND
+ : JV_ANNOTATIONS_KIND));
+}
+
+jobjectArray
+java::lang::Class::getDeclaredAnnotations(::java::lang::reflect::Constructor *cons,
+ jboolean is_param)
+{
+ unsigned short meth_index = _Jv_FromReflectedConstructor (cons) - methods;
+ return getDeclaredAnnotations(JV_METHOD_ATTR, meth_index,
+ (is_param
+ ? JV_PARAMETER_ANNOTATIONS_KIND
+ : JV_ANNOTATIONS_KIND));
+}
+
+jobjectArray
+java::lang::Class::getDeclaredAnnotations(::java::lang::reflect::Field *fld)
+{
+ unsigned short field_index = _Jv_FromReflectedField (fld) - fields;
+ return getDeclaredAnnotations(JV_FIELD_ATTR, field_index,
+ JV_ANNOTATIONS_KIND);
+}
+
+JArray< ::java::lang::annotation::Annotation *> *
+java::lang::Class::getDeclaredAnnotationsInternal()
+{
+ return (JArray< ::java::lang::annotation::Annotation *> *) getDeclaredAnnotations(JV_CLASS_ATTR, 0, JV_ANNOTATIONS_KIND);
+}
+
+static jclass
+resolve_class_constant (jclass klass, _Jv_Constants *pool, int cpool_index)
+{
+ check_constant (pool, cpool_index, JV_CONSTANT_Class);
+ // FIXME: what is the correct thing to do with an exception here?
+ return _Jv_Linker::resolve_pool_entry (klass, cpool_index, false).clazz;
+}
+
+jint
+java::lang::Class::findInnerClassAttribute()
+{
+ unsigned char *bytes = reflection_data;
+ if (bytes == NULL)
+ return -1;
+ while (true)
+ {
+ int type = read_u1 (bytes);
+ if (type == JV_DONE_ATTR)
+ break;
+ // After the type but before the length.
+ unsigned char *save = bytes;
+ int len = read_4 (bytes);
+ unsigned char *next = bytes + len;
+ if (type != JV_CLASS_ATTR)
+ {
+ bytes = next;
+ continue;
+ }
+ int kind = read_u1 (bytes, next);
+ if (kind != JV_INNER_CLASSES_KIND)
+ {
+ bytes = next;
+ continue;
+ }
+ return save - reflection_data;
+ }
+ return -1;
+}
+
+jint
+java::lang::Class::findDeclaredClasses(JArray<jclass> *result,
+ jboolean publicOnly,
+ jint offset)
+{
+ unsigned char *bytes = reflection_data + offset;
+ int len = read_4 (bytes);
+ unsigned char *next = bytes + len;
+ // Skip a byte.
+ read_u1 (bytes, next);
+ int n_classes = read_u2 (bytes, next);
+ int count = 0;
+ for (int i = 0; i < n_classes; ++i)
+ {
+ int inner_class_index = read_u2 (bytes, next);
+ int outer_class_index = read_u2 (bytes, next);
+ /*int inner_name_index = */ read_u2 (bytes, next);
+ int inner_flags = read_u2 (bytes, next);
+
+ if (inner_class_index == 0 || outer_class_index == 0)
+ continue;
+ if (resolve_class_constant (this, &constants, outer_class_index) == this)
+ {
+ jclass inner = resolve_class_constant (this, &constants,
+ inner_class_index);
+ if (! publicOnly
+ || ((inner_flags
+ & java::lang::reflect::Modifier::PUBLIC) != 0))
+ {
+ if (result)
+ {
+ jclass *elts = elements (result);
+ elts[count] = inner;
+ }
+ ++count;
+ }
+ }
+ }
+
+ return count;
+}
+
+JArray<jclass> *
+java::lang::Class::getDeclaredClasses (jboolean publicOnly)
+{
+ int offset = findInnerClassAttribute();
+ int count;
+ if (offset == -1)
+ {
+ // No InnerClasses attribute, so no declared classes.
+ count = 0;
+ }
+ else
+ count = findDeclaredClasses(NULL, publicOnly, offset);
+ JArray<jclass> *result
+ = (JArray<jclass> *) JvNewObjectArray (count, &java::lang::Class::class$,
+ NULL);
+ if (count > 0)
+ findDeclaredClasses(result, publicOnly, offset);
+ return result;
+}
+
+jclass
+java::lang::Class::getDeclaringClass (void)
+{
+ int offset = findInnerClassAttribute();
+ if (offset == -1)
+ return NULL;
+
+ unsigned char *bytes = reflection_data + offset;
+ int len = read_4 (bytes);
+ unsigned char *next = bytes + len;
+ // Skip a byte.
+ read_u1 (bytes, next);
+ int n_classes = read_u2 (bytes, next);
+ for (int i = 0; i < n_classes; ++i)
+ {
+ int inner_class_index = read_u2 (bytes, next);
+ int outer_class_index = read_u2 (bytes, next);
+ /*int inner_name_index = */read_u2 (bytes, next);
+ /*int inner_flags = */read_u2 (bytes, next);
+
+ if (inner_class_index == 0 || outer_class_index == 0)
+ continue;
+ if (resolve_class_constant (this, &constants, inner_class_index) == this)
+ return resolve_class_constant (this, &constants, outer_class_index);
+ }
+
+ return NULL;
+}
+
+jboolean
+java::lang::Class::isAnonymousClass()
+{
+ int offset = findInnerClassAttribute();
+ if (offset == -1)
+ return false;
+
+ unsigned char *bytes = reflection_data + offset;
+ int len = read_4 (bytes);
+ unsigned char *next = bytes + len;
+ // Skip a byte.
+ read_u1 (bytes, next);
+ int n_classes = read_u2 (bytes, next);
+ for (int i = 0; i < n_classes; ++i)
+ {
+ int inner_class_index = read_u2 (bytes, next);
+ /*int outer_class_index = */read_u2 (bytes, next);
+ int inner_name_index = read_u2 (bytes, next);
+ /*int inner_flags = */read_u2 (bytes, next);
+
+ if (inner_class_index == 0)
+ continue;
+ if (resolve_class_constant (this, &constants, inner_class_index) == this)
+ return inner_name_index == 0;
+ }
+
+ return false;
+}
+
+jboolean
+java::lang::Class::isLocalClass()
+{
+ _Jv_word indexes;
+ indexes.i = getEnclosingMethodData();
+ return indexes.i != 0;
+}
+
+jboolean
+java::lang::Class::isMemberClass()
+{
+ // FIXME: is this correct?
+ return !isLocalClass() && getDeclaringClass() != NULL;
+}
+
+
+
//
// Some class-related convenience functions.
//
diff --git a/libjava/java/lang/natClassLoader.cc b/libjava/java/lang/natClassLoader.cc
index b05c0b1..9c1a6a2 100644
--- a/libjava/java/lang/natClassLoader.cc
+++ b/libjava/java/lang/natClassLoader.cc
@@ -180,6 +180,41 @@ _Jv_UnregisterInitiatingLoader (jclass klass, java::lang::ClassLoader *loader)
// _Jv_RegisterNewClasses() are of Type 2.
+// Check that the file we're trying to load has been compiled with a
+// compatible version of gcj. In previous versions of libgcj we
+// silently failed to register classes of an incompatible ABI version,
+// but this was totally bogus.
+void
+_Jv_CheckABIVersion (unsigned long value)
+{
+ // We are compatible with GCJ 4.0.0 BC-ABI classes. This release used a
+ // different format for the version ID string.
+ if (value == OLD_GCJ_40_BC_ABI_VERSION)
+ return;
+
+ // The 20 low-end bits are used for the version number.
+ unsigned long version = value & 0xfffff;
+
+ if (value & FLAG_BINARYCOMPAT_ABI)
+ {
+ int abi_rev = version % 100;
+ int abi_ver = version - abi_rev;
+ // We are compatible with abi_rev 0 and 1.
+ if (abi_ver == GCJ_40_BC_ABI_VERSION && abi_rev <= 1)
+ return;
+ }
+ else
+ {
+ // C++ ABI
+ if (version == GCJ_CXX_ABI_VERSION)
+ return;
+ }
+
+ throw new ::java::lang::ClassFormatError
+ (JvNewStringLatin1 ("Library compiled with later ABI version than"
+ " this version of libgcj supports"));
+}
+
// This function is called many times during startup, before main() is
// run. At that point in time we know for certain we are running
// single-threaded, so we don't need to lock when adding classes to the
@@ -194,8 +229,8 @@ _Jv_RegisterClasses (const jclass *classes)
{
jclass klass = *classes;
- if (_Jv_CheckABIVersion ((unsigned long) klass->next_or_version))
- (*_Jv_RegisterClassHook) (klass);
+ _Jv_CheckABIVersion ((unsigned long) klass->next_or_version);
+ (*_Jv_RegisterClassHook) (klass);
}
}
@@ -211,32 +246,37 @@ _Jv_RegisterClasses_Counted (const jclass * classes, size_t count)
{
jclass klass = classes[i];
- if (_Jv_CheckABIVersion ((unsigned long) klass->next_or_version))
- (*_Jv_RegisterClassHook) (klass);
+ _Jv_CheckABIVersion ((unsigned long) klass->next_or_version);
+ (*_Jv_RegisterClassHook) (klass);
}
}
// Create a class on the heap from an initializer struct.
-jclass
+inline jclass
_Jv_NewClassFromInitializer (const char *class_initializer)
{
+ const unsigned long version
+ = ((unsigned long)
+ ((::java::lang::Class *)class_initializer)->next_or_version);
+ _Jv_CheckABIVersion (version);
+
/* We create an instance of java::lang::Class and copy all of its
fields except the first word (the vtable pointer) from
CLASS_INITIALIZER. This first word is pre-initialized by
_Jv_AllocObj, and we don't want to overwrite it. */
-
+
jclass new_class
- = (jclass)_Jv_AllocObj (sizeof (java::lang::Class),
- &java::lang::Class::class$);
+ = (jclass)_Jv_AllocObj (sizeof (::java::lang::Class),
+ &::java::lang::Class::class$);
const char *src = class_initializer + sizeof (void*);
char *dst = (char*)new_class + sizeof (void*);
- size_t len = sizeof (*new_class) - sizeof (void*);
+ size_t len = (::java::lang::Class::initializerSize (version)
+ - sizeof (void*));
memcpy (dst, src, len);
-
+
new_class->engine = &_Jv_soleIndirectCompiledEngine;
-
- if (_Jv_CheckABIVersion ((unsigned long) new_class->next_or_version))
- (*_Jv_RegisterClassHook) (new_class);
+
+ (*_Jv_RegisterClassHook) (new_class);
return new_class;
}
diff --git a/libjava/java/lang/natEcosProcess.cc b/libjava/java/lang/natEcosProcess.cc
index 9cfb19e..7d8edfb 100644
--- a/libjava/java/lang/natEcosProcess.cc
+++ b/libjava/java/lang/natEcosProcess.cc
@@ -1,6 +1,6 @@
// natEcosProcess.cc - Native side of eCos processes.
-/* Copyright (C) 1998, 1999 Free Software Foundation
+/* Copyright (C) 1998, 1999, 2006 Free Software Foundation
This file is part of libgcj.
@@ -17,9 +17,9 @@ details. */
#include <gcj/cni.h>
#include <jvm.h>
-#include <java/lang/ConcreteProcess.h>
+#include <java/lang/EcosProcess.h>
void
-java::lang::ConcreteProcess::destroy (void)
+java::lang::EcosProcess::destroy (void)
{
}
diff --git a/libjava/java/lang/natPosixProcess.cc b/libjava/java/lang/natPosixProcess.cc
index 94344fc8..4986470 100644
--- a/libjava/java/lang/natPosixProcess.cc
+++ b/libjava/java/lang/natPosixProcess.cc
@@ -27,8 +27,8 @@ details. */
#include <gcj/cni.h>
#include <jvm.h>
-#include <java/lang/ConcreteProcess$ProcessManager.h>
-#include <java/lang/ConcreteProcess.h>
+#include <java/lang/PosixProcess$ProcessManager.h>
+#include <java/lang/PosixProcess.h>
#include <java/lang/IllegalThreadStateException.h>
#include <java/lang/InternalError.h>
#include <java/lang/InterruptedException.h>
@@ -98,7 +98,7 @@ sigchld_handler (int)
// Get ready to enter the main reaper thread loop.
void
-java::lang::ConcreteProcess$ProcessManager::init ()
+java::lang::PosixProcess$ProcessManager::init ()
{
using namespace java::lang;
// Remenber our PID so other threads can kill us.
@@ -124,7 +124,7 @@ error:
}
void
-java::lang::ConcreteProcess$ProcessManager::waitForSignal ()
+java::lang::PosixProcess$ProcessManager::waitForSignal ()
{
// Wait for SIGCHLD
sigset_t mask;
@@ -145,7 +145,7 @@ java::lang::ConcreteProcess$ProcessManager::waitForSignal ()
return;
}
-jboolean java::lang::ConcreteProcess$ProcessManager::reap ()
+jboolean java::lang::PosixProcess$ProcessManager::reap ()
{
using namespace java::lang;
@@ -168,7 +168,7 @@ jboolean java::lang::ConcreteProcess$ProcessManager::reap ()
return true; // No children to wait for.
// Look up the process in our pid map.
- ConcreteProcess * process = removeProcessFromMap ((jlong) pid);
+ PosixProcess * process = removeProcessFromMap ((jlong) pid);
// Note that if process==NULL, then we have an unknown child.
// This is not common, but can happen, and isn't an error.
@@ -176,7 +176,7 @@ jboolean java::lang::ConcreteProcess$ProcessManager::reap ()
{
JvSynchronize sync (process);
process->status = WIFEXITED (status) ? WEXITSTATUS (status) : -1;
- process->state = ConcreteProcess::STATE_TERMINATED;
+ process->state = PosixProcess::STATE_TERMINATED;
process->processTerminationCleanup();
process->notifyAll ();
}
@@ -187,7 +187,7 @@ error:
}
void
-java::lang::ConcreteProcess$ProcessManager::signalReaper ()
+java::lang::PosixProcess$ProcessManager::signalReaper ()
{
int c = pthread_kill ((pthread_t) reaperPID, SIGCHLD);
if (c == 0)
@@ -197,7 +197,7 @@ java::lang::ConcreteProcess$ProcessManager::signalReaper ()
}
void
-java::lang::ConcreteProcess::nativeDestroy ()
+java::lang::PosixProcess::nativeDestroy ()
{
int c = kill ((pid_t) pid, SIGKILL);
if (c == 0)
@@ -207,7 +207,7 @@ java::lang::ConcreteProcess::nativeDestroy ()
}
void
-java::lang::ConcreteProcess::nativeSpawn ()
+java::lang::PosixProcess::nativeSpawn ()
{
using namespace java::io;
diff --git a/libjava/java/lang/natRuntime.cc b/libjava/java/lang/natRuntime.cc
index 5cca1b0..ecaf7d3 100644
--- a/libjava/java/lang/natRuntime.cc
+++ b/libjava/java/lang/natRuntime.cc
@@ -26,9 +26,13 @@ details. */
#include <java/util/TimeZone.h>
#include <java/lang/StringBuffer.h>
#include <java/lang/Process.h>
-#include <java/lang/ConcreteProcess.h>
#include <java/lang/ClassLoader.h>
+// It is convenient and safe to simply include all of these.
+#include <java/lang/Win32Process.h>
+#include <java/lang/EcosProcess.h>
+#include <java/lang/PosixProcess.h>
+
#include <jni.h>
#ifdef HAVE_PWD_H
@@ -286,7 +290,7 @@ java::lang::Runtime::execInternal (jstringArray cmd,
jstringArray env,
java::io::File *dir)
{
- return new java::lang::ConcreteProcess (cmd, env, dir);
+ return new _Jv_platform_process (cmd, env, dir);
}
jint
diff --git a/libjava/java/lang/natThread.cc b/libjava/java/lang/natThread.cc
index facce30..2472d4d 100644
--- a/libjava/java/lang/natThread.cc
+++ b/libjava/java/lang/natThread.cc
@@ -18,6 +18,8 @@ details. */
#include <gnu/gcj/RawDataManaged.h>
#include <java/lang/Thread.h>
+#include <java/lang/Thread$State.h>
+#include <java/lang/Thread$UncaughtExceptionHandler.h>
#include <java/lang/ThreadGroup.h>
#include <java/lang/IllegalArgumentException.h>
#include <java/lang/IllegalThreadStateException.h>
@@ -32,24 +34,6 @@ details. */
-// This structure is used to represent all the data the native side
-// needs. An object of this type is assigned to the `data' member of
-// the Thread class.
-struct natThread
-{
- // These are used to interrupt sleep and join calls. We can share a
- // condition variable here since it only ever gets notified when the thread
- // exits.
- _Jv_Mutex_t join_mutex;
- _Jv_ConditionVariable_t join_cond;
-
- // This is private data for the thread system layer.
- _Jv_Thread_t *thread;
-
- // Each thread has its own JNI object.
- JNIEnv *jni_env;
-};
-
static void finalize_native (jobject ptr);
// This is called from the constructor to initialize the native side
@@ -59,6 +43,9 @@ java::lang::Thread::initialize_native (void)
{
natThread *nt = (natThread *) _Jv_AllocBytes (sizeof (natThread));
+ state = JV_NEW;
+ nt->alive_flag = THREAD_DEAD;
+
data = (gnu::gcj::RawDataManaged *) nt;
// Register a finalizer to clean up the native thread resources.
@@ -66,6 +53,9 @@ java::lang::Thread::initialize_native (void)
_Jv_MutexInit (&nt->join_mutex);
_Jv_CondInit (&nt->join_cond);
+
+ nt->park_helper.init();
+
nt->thread = _Jv_ThreadInitData (this);
// FIXME: if JNI_ENV is set we will want to free it. It is
// malloc()d.
@@ -83,7 +73,9 @@ finalize_native (jobject ptr)
#ifdef _Jv_HaveMutexDestroy
_Jv_MutexDestroy (&nt->join_mutex);
#endif
- _Jv_FreeJNIEnv(nt->jni_env);
+ _Jv_FreeJNIEnv((JNIEnv*)nt->jni_env);
+
+ nt->park_helper.destroy();
}
jint
@@ -111,14 +103,34 @@ java::lang::Thread::holdsLock (jobject obj)
return !_Jv_ObjectCheckMonitor (obj);
}
+jboolean
+java::lang::Thread::isAlive (void)
+{
+ natThread *nt = (natThread *) data;
+ return nt->alive_flag != (obj_addr_t)THREAD_DEAD;
+}
+
void
java::lang::Thread::interrupt (void)
{
checkAccess ();
+
natThread *nt = (natThread *) data;
- JvSynchronize sync (this);
- if (alive_flag)
- _Jv_ThreadInterrupt (nt->thread);
+
+ // If a thread is in state ALIVE, we atomically set it to state
+ // SIGNALED and send it a signal. Once we've sent it the signal, we
+ // set its state back to ALIVE.
+ if (compare_and_swap
+ (&nt->alive_flag, Thread::THREAD_ALIVE, Thread::THREAD_SIGNALED))
+ {
+ _Jv_ThreadInterrupt (nt->thread);
+ compare_and_swap
+ (&nt->alive_flag, THREAD_SIGNALED, Thread::THREAD_ALIVE);
+
+ // Even though we've interrupted this thread, it might still be
+ // parked.
+ nt->park_helper.unpark ();
+ }
}
void
@@ -197,8 +209,10 @@ java::lang::Thread::sleep (jlong millis, jint nanos)
void
java::lang::Thread::finish_ ()
{
+ __sync_synchronize();
natThread *nt = (natThread *) data;
+ nt->park_helper.deactivate ();
group->removeThread (this);
#ifdef ENABLE_JVMPI
@@ -226,7 +240,8 @@ java::lang::Thread::finish_ ()
{
JvSynchronize sync (this);
- alive_flag = false;
+ nt->alive_flag = THREAD_DEAD;
+ state = JV_TERMINATED;
}
_Jv_CondNotifyAll (&nt->join_cond, &nt->join_mutex);
@@ -307,7 +322,7 @@ _Jv_ThreadRun (java::lang::Thread* thread)
// this results in an uncaught exception, that is ignored.
try
{
- thread->group->uncaughtException (thread, t);
+ thread->getUncaughtExceptionHandler()->uncaughtException (thread, t);
}
catch (java::lang::Throwable *f)
{
@@ -334,9 +349,10 @@ java::lang::Thread::start (void)
if (!startable_flag)
throw new IllegalThreadStateException;
- alive_flag = true;
- startable_flag = false;
natThread *nt = (natThread *) data;
+ nt->alive_flag = THREAD_ALIVE;
+ startable_flag = false;
+ state = JV_RUNNABLE;
_Jv_ThreadStart (this, nt->thread, (_Jv_ThreadStartFunc *) &_Jv_ThreadRun);
}
@@ -392,13 +408,40 @@ java::lang::Thread::yield (void)
_Jv_ThreadYield ();
}
+::java::lang::Thread$State *
+java::lang::Thread::getState()
+{
+ _Jv_InitClass(&::java::lang::Thread$State::class$);
+
+ switch (state)
+ {
+ case JV_BLOCKED:
+ return ::java::lang::Thread$State::BLOCKED;
+ case JV_NEW:
+ return ::java::lang::Thread$State::NEW;
+
+ case JV_RUNNABLE:
+ return ::java::lang::Thread$State::RUNNABLE;
+ case JV_TERMINATED:
+ return ::java::lang::Thread$State::TERMINATED;
+ case JV_TIMED_WAITING:
+ return ::java::lang::Thread$State::TIMED_WAITING;
+ case JV_WAITING:
+ return ::java::lang::Thread$State::WAITING;
+ }
+
+ // We don't really need a default, but this makes the compiler
+ // happy.
+ return ::java::lang::Thread$State::RUNNABLE;
+}
+
JNIEnv *
_Jv_GetCurrentJNIEnv ()
{
java::lang::Thread *t = _Jv_ThreadCurrent ();
if (t == NULL)
return NULL;
- return ((natThread *) t->data)->jni_env;
+ return (JNIEnv *)((natThread *) t->data)->jni_env;
}
void
@@ -419,8 +462,9 @@ _Jv_AttachCurrentThread(java::lang::Thread* thread)
if (thread == NULL || thread->startable_flag == false)
return -1;
thread->startable_flag = false;
- thread->alive_flag = true;
natThread *nt = (natThread *) thread->data;
+ nt->alive_flag = ::java::lang::Thread::THREAD_ALIVE;
+ thread->state = JV_RUNNABLE;
_Jv_ThreadRegister (nt->thread);
return 0;
}
diff --git a/libjava/java/lang/natThreadLocal.cc b/libjava/java/lang/natThreadLocal.cc
new file mode 100644
index 0000000..cd61f4a
--- /dev/null
+++ b/libjava/java/lang/natThreadLocal.cc
@@ -0,0 +1,169 @@
+// natThreadLocal.cc - Native part of ThreadLocal class.
+
+// Fast thread local storage for systems that support the __thread
+// variable attribute.
+
+/* Copyright (C) 2006 Free Software Foundation
+
+ This file is part of libgcj.
+
+This software is copyrighted work licensed under the terms of the
+Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
+details. */
+
+#include <config.h>
+
+#include <stdlib.h>
+
+#include <gcj/cni.h>
+#include <jvm.h>
+#include <java-threads.h>
+
+#include <gnu/gcj/RawDataManaged.h>
+#include <java/lang/ThreadLocal.h>
+#include <java/lang/IllegalArgumentException.h>
+#include <java/lang/IllegalThreadStateException.h>
+#include <java/lang/InterruptedException.h>
+#include <java/util/Map.h>
+
+#include <jni.h>
+
+/* We would like to have fast thread local variables that behave in
+ the same way as C and C++ thread local variables. This would mean
+ having an field attribute "thread" (like static, final, etc.).
+ However, this is not compatible with java semantics, which we wish
+ to support transparently. The problems we must overcome are:
+
+ * In Java, ThreadLocal variables are not statically allocated: they
+ are objects, created at runtime.
+
+ * Class ThreadLocal is not final and neither are its methods, so it
+ is possible to create a subclass of ThreadLocal that overrides
+ any method.
+
+ * __thread variables in DSOs are not visible to the garbage
+ collector, so we must ensure that we keep a copy of every thread
+ local variable somewhere on the heap.
+
+ * Once a ThreadLocal instance has been created and assigned to a
+ static field, that field may be reassigned to a different
+ ThreadLocal instance or null.
+
+ So, we can't simply replace get() and set() with accesses of a
+ __thread variable.
+
+ So, we create a pthread_key in each ThreadLocal object and use that
+ as a kind of "look-aside cache". When a ThreadLocal is set, we
+ also set the corresponding thread-specific value. When the
+ ThreadLocal is collected, we delete the key.
+
+ This scheme is biased towards efficiency when get() is called much
+ more frequently than set(). It is slightly internaler than the
+ all-Java solution using the underlying map in the set() case.
+ However, get() is very much more frequently invoked than set().
+
+*/
+
+
+#ifdef _POSIX_PTHREAD_SEMANTICS
+
+class tls_t
+{
+public:
+ pthread_key_t key;
+};
+
+void
+java::lang::ThreadLocal::constructNative (void)
+{
+ tls_t *tls = (tls_t *)_Jv_Malloc (sizeof (tls_t));
+ if (pthread_key_create (&tls->key, NULL) == 0)
+ TLSPointer = (::gnu::gcj::RawData *)tls;
+ else
+ _Jv_Free (tls);
+}
+
+void
+java::lang::ThreadLocal::set (::java::lang::Object *value)
+{
+ if (TLSPointer != NULL)
+ {
+ tls_t* tls = (tls_t*)TLSPointer;
+ pthread_setspecific (tls->key, value);
+ }
+
+ internalSet (value);
+}
+
+::java::lang::Object *
+java::lang::ThreadLocal::get (void)
+{
+ if (TLSPointer == NULL)
+ return internalGet ();
+
+ tls_t* tls = (tls_t*)TLSPointer;
+ void *obj = pthread_getspecific(tls->key);
+
+ if (obj)
+ return (::java::lang::Object *)obj;
+
+ ::java::lang::Object *value = internalGet ();
+ pthread_setspecific (tls->key, value);
+
+ return value;
+}
+
+void
+java::lang::ThreadLocal::remove (void)
+{
+ if (TLSPointer != NULL)
+ {
+ tls_t* tls = (tls_t*)TLSPointer;
+ pthread_setspecific (tls->key, NULL);
+ }
+
+ internalRemove ();
+}
+
+void
+java::lang::ThreadLocal::finalize (void)
+{
+ if (TLSPointer != NULL)
+ {
+ tls_t* tls = (tls_t*)TLSPointer;
+ pthread_key_delete (tls->key);
+ _Jv_Free (tls);
+ }
+}
+
+#else
+
+void
+java::lang::ThreadLocal::constructNative (void)
+{
+}
+
+void
+java::lang::ThreadLocal::set (::java::lang::Object *value)
+{
+ internalSet (value);
+}
+
+::java::lang::Object *
+java::lang::ThreadLocal::get (void)
+{
+ return internalGet ();
+}
+
+void
+java::lang::ThreadLocal::remove (void)
+{
+ internalRemove ();
+}
+
+void
+java::lang::ThreadLocal::finalize (void)
+{
+}
+
+#endif
diff --git a/libjava/java/lang/natVMClassLoader.cc b/libjava/java/lang/natVMClassLoader.cc
index 95c1f15..2db2429 100644
--- a/libjava/java/lang/natVMClassLoader.cc
+++ b/libjava/java/lang/natVMClassLoader.cc
@@ -47,6 +47,9 @@ java::lang::VMClassLoader::defineClass (java::lang::ClassLoader *loader,
jclass klass = VMCompiler::compileClass(loader, name, data,
offset, length, pd);
+ if (klass)
+ _Jv_RegisterInitiatingLoader (klass, klass->loader);
+
#ifdef INTERPRETER
if (klass == NULL)
{
diff --git a/libjava/java/lang/natVMSecurityManager.cc b/libjava/java/lang/natVMSecurityManager.cc
deleted file mode 100644
index 9d52c92..0000000
--- a/libjava/java/lang/natVMSecurityManager.cc
+++ /dev/null
@@ -1,29 +0,0 @@
-/* Copyright (C) 2002 Free Software Foundation
-
- This file is part of libgcj.
-
-This software is copyrighted work licensed under the terms of the
-Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
-details. */
-
-// Written by Tom Tromey <tromey@redhat.com>
-
-#include <config.h>
-
-#include <gcj/cni.h>
-#include <jvm.h>
-#include <java-stack.h>
-
-#include <java/lang/VMSecurityManager.h>
-#include <java/lang/SecurityManager.h>
-#include <java/lang/ClassLoader.h>
-#include <java/lang/Class.h>
-
-JArray<jclass> *
-java::lang::VMSecurityManager::getClassContext (jclass klass)
-{
- JArray<jclass> *result =
- _Jv_StackTrace::GetClassContext (klass);
-
- return result;
-}
diff --git a/libjava/java/lang/natWin32Process.cc b/libjava/java/lang/natWin32Process.cc
index 3c1a4f0..d07f501 100644
--- a/libjava/java/lang/natWin32Process.cc
+++ b/libjava/java/lang/natWin32Process.cc
@@ -1,6 +1,6 @@
// natWin32Process.cc - Native side of Win32 process code.
-/* Copyright (C) 2003 Free Software Foundation
+/* Copyright (C) 2003, 2006 Free Software Foundation
This file is part of libgcj.
@@ -14,7 +14,7 @@ details. */
// Conflicts with the definition in "java/lang/reflect/Modifier.h"
#undef STRICT
-#include <java/lang/ConcreteProcess.h>
+#include <java/lang/Win32Process.h>
#include <java/lang/IllegalThreadStateException.h>
#include <java/lang/InterruptedException.h>
#include <java/lang/NullPointerException.h>
@@ -30,7 +30,7 @@ details. */
using gnu::java::nio::channels::FileChannelImpl;
void
-java::lang::ConcreteProcess::cleanup (void)
+java::lang::Win32Process::cleanup (void)
{
// FIXME:
// We used to close the input, output and
@@ -42,7 +42,7 @@ java::lang::ConcreteProcess::cleanup (void)
// to the POSIX approach.
//
// What I wanted to do is have private nested
- // classes in ConcreteProcess which extend FileInputStream
+ // classes in Win32Process which extend FileInputStream
// and FileOutputStream, respectively, but override
// close() to permit multiple calls to close(). This
// led to class header and platform configury issues
@@ -63,7 +63,7 @@ java::lang::ConcreteProcess::cleanup (void)
}
void
-java::lang::ConcreteProcess::destroy (void)
+java::lang::Win32Process::destroy (void)
{
if (! hasExited ())
{
@@ -76,7 +76,7 @@ java::lang::ConcreteProcess::destroy (void)
}
jboolean
-java::lang::ConcreteProcess::hasExited (void)
+java::lang::Win32Process::hasExited (void)
{
DWORD exitStatus;
@@ -100,7 +100,7 @@ java::lang::ConcreteProcess::hasExited (void)
}
jint
-java::lang::ConcreteProcess::waitFor (void)
+java::lang::Win32Process::waitFor (void)
{
if (! hasExited ())
{
@@ -209,7 +209,7 @@ HANDLE ChildProcessPipe::getChildHandle()
}
void
-java::lang::ConcreteProcess::startProcess (jstringArray progarray,
+java::lang::Win32Process::startProcess (jstringArray progarray,
jstringArray envp,
java::io::File *dir)
{
diff --git a/libjava/java/lang/ref/PhantomReference.h b/libjava/java/lang/ref/PhantomReference.h
new file mode 100644
index 0000000..0c8a823
--- /dev/null
+++ b/libjava/java/lang/ref/PhantomReference.h
@@ -0,0 +1,20 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_ref_PhantomReference__
+#define __java_lang_ref_PhantomReference__
+
+#pragma interface
+
+#include <java/lang/ref/Reference.h>
+
+class java::lang::ref::PhantomReference : public ::java::lang::ref::Reference
+{
+
+public:
+ PhantomReference(::java::lang::Object *, ::java::lang::ref::ReferenceQueue *);
+ virtual ::java::lang::Object * get();
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_ref_PhantomReference__
diff --git a/libjava/java/lang/ref/Reference.h b/libjava/java/lang/ref/Reference.h
new file mode 100644
index 0000000..3eeaf65
--- /dev/null
+++ b/libjava/java/lang/ref/Reference.h
@@ -0,0 +1,45 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_ref_Reference__
+#define __java_lang_ref_Reference__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace gcj
+ {
+ class RawData;
+ }
+ }
+}
+
+class java::lang::ref::Reference : public ::java::lang::Object
+{
+
+public: // actually package-private
+ Reference(::java::lang::Object *);
+ Reference(::java::lang::Object *, ::java::lang::ref::ReferenceQueue *);
+private:
+ void create(::java::lang::Object *);
+public:
+ virtual ::java::lang::Object * get();
+ virtual void clear();
+ virtual jboolean isEnqueued();
+ virtual jboolean enqueue();
+public: // actually package-private
+ ::gnu::gcj::RawData * __attribute__((aligned(__alignof__( ::java::lang::Object)))) referent;
+ ::gnu::gcj::RawData * copy;
+ jboolean cleared;
+ ::java::lang::ref::ReferenceQueue * queue;
+ ::java::lang::ref::Reference * nextOnQueue;
+ static ::java::lang::Object * lock;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_ref_Reference__
diff --git a/libjava/java/lang/ref/Reference.java b/libjava/java/lang/ref/Reference.java
index ab0c55c..a5184ce 100644
--- a/libjava/java/lang/ref/Reference.java
+++ b/libjava/java/lang/ref/Reference.java
@@ -1,5 +1,5 @@
/* java.lang.ref.Reference
- Copyright (C) 1999, 2002, 2003 Free Software Foundation, Inc.
+ Copyright (C) 1999, 2002, 2003, 2006 Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -70,7 +70,7 @@ package java.lang.ref;
* @author Jochen Hoenicke
* @see java.util.WeakHashtable
*/
-public abstract class Reference
+public abstract class Reference<T>
{
/**
* The underlying object. This field is handled in a special way by
@@ -105,7 +105,7 @@ public abstract class Reference
* The queue this reference is registered on. This is null, if this
* wasn't registered to any queue or reference was already enqueued.
*/
- ReferenceQueue queue;
+ ReferenceQueue<? super T> queue;
/**
* Link to the next entry on the queue. If this is null, this
@@ -129,7 +129,7 @@ public abstract class Reference
* class in a different package.
* @param referent the object we refer to.
*/
- Reference(Object ref)
+ Reference(T ref)
{
create (ref);
}
@@ -142,7 +142,7 @@ public abstract class Reference
* @param q the reference queue to register on.
* @exception NullPointerException if q is null.
*/
- Reference(Object ref, ReferenceQueue q)
+ Reference(T ref, ReferenceQueue<? super T> q)
{
if (q == null)
throw new NullPointerException();
@@ -153,20 +153,14 @@ public abstract class Reference
/**
* Notifies the VM that a new Reference has been created.
*/
- private native void create (Object o);
+ private native void create (T o);
/**
* Returns the object, this reference refers to.
* @return the object, this reference refers to, or null if the
* reference was cleared.
*/
- public Object get()
- {
- synchronized (lock)
- {
- return referent;
- }
- }
+ public native T get();
/**
* Clears the reference, so that it doesn't refer to its object
diff --git a/libjava/java/lang/ref/ReferenceQueue.h b/libjava/java/lang/ref/ReferenceQueue.h
new file mode 100644
index 0000000..bd4a9d8
--- /dev/null
+++ b/libjava/java/lang/ref/ReferenceQueue.h
@@ -0,0 +1,31 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_ref_ReferenceQueue__
+#define __java_lang_ref_ReferenceQueue__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::lang::ref::ReferenceQueue : public ::java::lang::Object
+{
+
+public:
+ ReferenceQueue();
+ virtual ::java::lang::ref::Reference * poll();
+public: // actually package-private
+ virtual jboolean enqueue(::java::lang::ref::Reference *);
+private:
+ ::java::lang::ref::Reference * dequeue();
+public:
+ virtual ::java::lang::ref::Reference * remove(jlong);
+ virtual ::java::lang::ref::Reference * remove();
+private:
+ ::java::lang::ref::Reference * __attribute__((aligned(__alignof__( ::java::lang::Object)))) first;
+ ::java::lang::Object * lock;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_ref_ReferenceQueue__
diff --git a/libjava/java/lang/ref/SoftReference.h b/libjava/java/lang/ref/SoftReference.h
new file mode 100644
index 0000000..faa98e7
--- /dev/null
+++ b/libjava/java/lang/ref/SoftReference.h
@@ -0,0 +1,21 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_ref_SoftReference__
+#define __java_lang_ref_SoftReference__
+
+#pragma interface
+
+#include <java/lang/ref/Reference.h>
+
+class java::lang::ref::SoftReference : public ::java::lang::ref::Reference
+{
+
+public:
+ SoftReference(::java::lang::Object *);
+ SoftReference(::java::lang::Object *, ::java::lang::ref::ReferenceQueue *);
+ virtual ::java::lang::Object * get();
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_ref_SoftReference__
diff --git a/libjava/java/lang/ref/WeakReference.h b/libjava/java/lang/ref/WeakReference.h
new file mode 100644
index 0000000..b540274
--- /dev/null
+++ b/libjava/java/lang/ref/WeakReference.h
@@ -0,0 +1,20 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_ref_WeakReference__
+#define __java_lang_ref_WeakReference__
+
+#pragma interface
+
+#include <java/lang/ref/Reference.h>
+
+class java::lang::ref::WeakReference : public ::java::lang::ref::Reference
+{
+
+public:
+ WeakReference(::java::lang::Object *);
+ WeakReference(::java::lang::Object *, ::java::lang::ref::ReferenceQueue *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_ref_WeakReference__
diff --git a/libjava/java/lang/ref/natReference.cc b/libjava/java/lang/ref/natReference.cc
index 23f435f..ac7272c 100644
--- a/libjava/java/lang/ref/natReference.cc
+++ b/libjava/java/lang/ref/natReference.cc
@@ -1,6 +1,6 @@
// natReference.cc - Native code for References
-/* Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
+/* Copyright (C) 2001, 2002, 2003, 2005, 2006 Free Software Foundation
This file is part of libgcj.
@@ -368,3 +368,10 @@ void
add_to_hash (this);
}
}
+
+::java::lang::Object *
+::java::lang::ref::Reference::get()
+{
+ JvSynchronize sync (lock);
+ return referent;
+}
diff --git a/libjava/java/lang/reflect/AccessibleObject.h b/libjava/java/lang/reflect/AccessibleObject.h
new file mode 100644
index 0000000..d140e30
--- /dev/null
+++ b/libjava/java/lang/reflect/AccessibleObject.h
@@ -0,0 +1,36 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_reflect_AccessibleObject__
+#define __java_lang_reflect_AccessibleObject__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+
+class java::lang::reflect::AccessibleObject : public ::java::lang::Object
+{
+
+public: // actually protected
+ AccessibleObject();
+public:
+ virtual jboolean isAccessible();
+ static void setAccessible(JArray< ::java::lang::reflect::AccessibleObject * > *, jboolean);
+ virtual void setAccessible(jboolean);
+private:
+ static void checkPermission();
+ void secureSetAccessible(jboolean);
+public:
+ virtual ::java::lang::annotation::Annotation * getAnnotation(::java::lang::Class *);
+ virtual JArray< ::java::lang::annotation::Annotation * > * getAnnotations();
+ virtual JArray< ::java::lang::annotation::Annotation * > * getDeclaredAnnotations();
+ virtual jboolean isAnnotationPresent(::java::lang::Class *);
+public: // actually package-private
+ jboolean __attribute__((aligned(__alignof__( ::java::lang::Object)))) flag;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_reflect_AccessibleObject__
diff --git a/libjava/java/lang/reflect/AnnotatedElement.h b/libjava/java/lang/reflect/AnnotatedElement.h
new file mode 100644
index 0000000..5792b75
--- /dev/null
+++ b/libjava/java/lang/reflect/AnnotatedElement.h
@@ -0,0 +1,24 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_reflect_AnnotatedElement__
+#define __java_lang_reflect_AnnotatedElement__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+
+class java::lang::reflect::AnnotatedElement : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::lang::annotation::Annotation * getAnnotation(::java::lang::Class *) = 0;
+ virtual JArray< ::java::lang::annotation::Annotation * > * getAnnotations() = 0;
+ virtual JArray< ::java::lang::annotation::Annotation * > * getDeclaredAnnotations() = 0;
+ virtual jboolean isAnnotationPresent(::java::lang::Class *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_lang_reflect_AnnotatedElement__
diff --git a/libjava/java/lang/reflect/Array.h b/libjava/java/lang/reflect/Array.h
new file mode 100644
index 0000000..48df7d3
--- /dev/null
+++ b/libjava/java/lang/reflect/Array.h
@@ -0,0 +1,46 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_reflect_Array__
+#define __java_lang_reflect_Array__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+
+class java::lang::reflect::Array : public ::java::lang::Object
+{
+
+ Array();
+public:
+ static ::java::lang::Object * newInstance(::java::lang::Class *, jint);
+ static ::java::lang::Object * newInstance(::java::lang::Class *, JArray< jint > *);
+ static jint getLength(::java::lang::Object *);
+ static ::java::lang::Object * get(::java::lang::Object *, jint);
+ static jboolean getBoolean(::java::lang::Object *, jint);
+ static jbyte getByte(::java::lang::Object *, jint);
+ static jchar getChar(::java::lang::Object *, jint);
+ static jshort getShort(::java::lang::Object *, jint);
+ static jint getInt(::java::lang::Object *, jint);
+ static jlong getLong(::java::lang::Object *, jint);
+ static jfloat getFloat(::java::lang::Object *, jint);
+ static jdouble getDouble(::java::lang::Object *, jint);
+private:
+ static ::java::lang::Class * getElementType(::java::lang::Object *, jint);
+ static void set(::java::lang::Object *, jint, ::java::lang::Object *, ::java::lang::Class *);
+public:
+ static void set(::java::lang::Object *, jint, ::java::lang::Object *);
+ static void setBoolean(::java::lang::Object *, jint, jboolean);
+ static void setByte(::java::lang::Object *, jint, jbyte);
+ static void setChar(::java::lang::Object *, jint, jchar);
+ static void setShort(::java::lang::Object *, jint, jshort);
+ static void setInt(::java::lang::Object *, jint, jint);
+ static void setLong(::java::lang::Object *, jint, jlong);
+ static void setFloat(::java::lang::Object *, jint, jfloat);
+ static void setDouble(::java::lang::Object *, jint, jdouble);
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_reflect_Array__
diff --git a/libjava/java/lang/reflect/Constructor.h b/libjava/java/lang/reflect/Constructor.h
new file mode 100644
index 0000000..5a200bc
--- /dev/null
+++ b/libjava/java/lang/reflect/Constructor.h
@@ -0,0 +1,65 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_reflect_Constructor__
+#define __java_lang_reflect_Constructor__
+
+#pragma interface
+
+#include <java/lang/reflect/AccessibleObject.h>
+#include <gcj/array.h>
+
+
+jmethodID _Jv_FromReflectedConstructor (java::lang::reflect::Constructor *);
+jobject _Jv_JNI_ToReflectedMethod (_Jv_JNIEnv *, jclass, jmethodID, jboolean);
+
+class java::lang::reflect::Constructor : public ::java::lang::reflect::AccessibleObject
+{
+
+ Constructor();
+public:
+ ::java::lang::Class * getDeclaringClass();
+ ::java::lang::String * getName();
+private:
+ jint getModifiersInternal();
+public:
+ jint getModifiers();
+ jboolean isSynthetic();
+ jboolean isVarArgs();
+ JArray< ::java::lang::Class * > * getParameterTypes();
+ JArray< ::java::lang::Class * > * getExceptionTypes();
+ jboolean equals(::java::lang::Object *);
+ jint hashCode();
+ ::java::lang::String * toString();
+public: // actually package-private
+ static void addTypeParameters(::java::lang::StringBuilder *, JArray< ::java::lang::reflect::TypeVariable * > *);
+public:
+ ::java::lang::String * toGenericString();
+ ::java::lang::Object * newInstance(JArray< ::java::lang::Object * > *);
+ JArray< ::java::lang::reflect::TypeVariable * > * getTypeParameters();
+private:
+ ::java::lang::String * getSignature();
+public:
+ JArray< ::java::lang::reflect::Type * > * getGenericExceptionTypes();
+ JArray< ::java::lang::reflect::Type * > * getGenericParameterTypes();
+ ::java::lang::annotation::Annotation * getAnnotation(::java::lang::Class *);
+ JArray< ::java::lang::annotation::Annotation * > * getDeclaredAnnotations();
+ JArray< JArray< ::java::lang::annotation::Annotation * > * > * getParameterAnnotations();
+private:
+ JArray< ::java::lang::annotation::Annotation * > * getDeclaredAnnotationsInternal();
+ JArray< JArray< ::java::lang::annotation::Annotation * > * > * getParameterAnnotationsInternal();
+ void getType();
+ static const jint CONSTRUCTOR_MODIFIERS = 7;
+ ::java::lang::Class * __attribute__((aligned(__alignof__( ::java::lang::reflect::AccessibleObject)))) declaringClass;
+ JArray< ::java::lang::Class * > * exception_types;
+ JArray< ::java::lang::Class * > * parameter_types;
+ jint offset;
+public:
+ static ::java::lang::Class class$;
+
+ friend jmethodID (::_Jv_FromReflectedConstructor) (java::lang::reflect::Constructor *);
+ friend jobject (::_Jv_JNI_ToReflectedMethod) (_Jv_JNIEnv *, jclass, jmethodID, jboolean);
+ friend class java::lang::Class;
+};
+
+#endif // __java_lang_reflect_Constructor__
diff --git a/libjava/java/lang/reflect/Constructor.java b/libjava/java/lang/reflect/Constructor.java
index 68b2d39..83aae3b 100644
--- a/libjava/java/lang/reflect/Constructor.java
+++ b/libjava/java/lang/reflect/Constructor.java
@@ -40,6 +40,7 @@ exception statement from your version. */
package java.lang.reflect;
import gnu.java.lang.reflect.MethodSignatureParser;
+import java.lang.annotation.Annotation;
/**
* The Constructor class represents a constructor of a class. It also allows
@@ -75,7 +76,7 @@ import gnu.java.lang.reflect.MethodSignatureParser;
* @since 1.1
* @status updated to 1.4
*/
-public final class Constructor extends AccessibleObject
+public final class Constructor<T> extends AccessibleObject
implements Member, GenericDeclaration
{
private static final int CONSTRUCTOR_MODIFIERS
@@ -92,7 +93,7 @@ public final class Constructor extends AccessibleObject
* Gets the class that declared this constructor.
* @return the class that declared this member
*/
- public Class getDeclaringClass()
+ public Class<T> getDeclaringClass ()
{
return declaringClass;
}
@@ -235,8 +236,8 @@ public final class Constructor extends AccessibleObject
return b.toString();
}
- /* FIXME[GENERICS]: Add X extends GenericDeclaration and TypeVariable<X> */
- static void addTypeParameters(StringBuilder sb, TypeVariable[] typeArgs)
+ static <X extends GenericDeclaration>
+ void addTypeParameters(StringBuilder sb, TypeVariable<X>[] typeArgs)
{
if (typeArgs.length == 0)
return;
@@ -320,8 +321,7 @@ public final class Constructor extends AccessibleObject
* specification, version 3.
* @since 1.5
*/
- /* FIXME[GENERICS]: Add <Constructor<T>> */
- public TypeVariable[] getTypeParameters()
+ public TypeVariable<Constructor<T>>[] getTypeParameters()
{
String sig = getSignature();
if (sig == null)
@@ -334,11 +334,7 @@ public final class Constructor extends AccessibleObject
* Return the String in the Signature attribute for this constructor. If there
* is no Signature attribute, return null.
*/
- private String getSignature()
- {
- // FIXME: libgcj doesn't record this information yet.
- return null;
- }
+ private native String getSignature();
/**
* Returns an array of <code>Type</code> objects that represents
@@ -382,11 +378,41 @@ public final class Constructor extends AccessibleObject
return p.getGenericParameterTypes();
}
+ public <T extends Annotation> T getAnnotation(Class<T> annoClass)
+ {
+ Annotation[] annos = getDeclaredAnnotations();
+ for (int i = 0; i < annos.length; ++i)
+ if (annos[i].annotationType() == annoClass)
+ return (T) annos[i];
+ return null;
+ }
+
+ public Annotation[] getDeclaredAnnotations()
+ {
+ Annotation[] result = getDeclaredAnnotationsInternal();
+ if (result == null)
+ result = new Annotation[0];
+ return result;
+ }
+
+ public Annotation[][] getParameterAnnotations()
+ {
+ // FIXME: should check that we have the right number
+ // of parameters ...?
+ Annotation[][] result = getParameterAnnotationsInternal();
+ if (result == null)
+ result = new Annotation[0][0];
+ return result;
+ }
+
+ private native Annotation[] getDeclaredAnnotationsInternal();
+ private native Annotation[][] getParameterAnnotationsInternal();
+
// Update cached values from method descriptor in class.
private native void getType ();
// Declaring class.
- private Class declaringClass;
+ private Class<T> declaringClass;
// Exception types.
private Class[] exception_types;
diff --git a/libjava/java/lang/reflect/Field.h b/libjava/java/lang/reflect/Field.h
new file mode 100644
index 0000000..3e39fb2
--- /dev/null
+++ b/libjava/java/lang/reflect/Field.h
@@ -0,0 +1,96 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_reflect_Field__
+#define __java_lang_reflect_Field__
+
+#pragma interface
+
+#include <java/lang/reflect/AccessibleObject.h>
+#include <gcj/array.h>
+
+
+jfieldID _Jv_FromReflectedField (java::lang::reflect::Field *);
+jobject _Jv_JNI_ToReflectedField (_Jv_JNIEnv*, jclass, jfieldID, jboolean);
+
+class java::lang::reflect::Field : public ::java::lang::reflect::AccessibleObject
+{
+
+public: // actually package-private
+ Field();
+public:
+ ::java::lang::Class * getDeclaringClass();
+ ::java::lang::String * getName();
+private:
+ jint getModifiersInternal();
+public:
+ jint getModifiers();
+ jboolean isSynthetic();
+ jboolean isEnumConstant();
+ ::java::lang::Class * getType();
+ jboolean equals(::java::lang::Object *);
+ jint hashCode();
+ ::java::lang::String * toString();
+ ::java::lang::String * toGenericString();
+ ::java::lang::Object * get(::java::lang::Object *);
+ jboolean getBoolean(::java::lang::Object *);
+ jbyte getByte(::java::lang::Object *);
+ jchar getChar(::java::lang::Object *);
+ jshort getShort(::java::lang::Object *);
+ jint getInt(::java::lang::Object *);
+ jlong getLong(::java::lang::Object *);
+ jfloat getFloat(::java::lang::Object *);
+ jdouble getDouble(::java::lang::Object *);
+private:
+ jboolean getBoolean(::java::lang::Class *, ::java::lang::Object *);
+ jchar getChar(::java::lang::Class *, ::java::lang::Object *);
+ jbyte getByte(::java::lang::Class *, ::java::lang::Object *);
+ jshort getShort(::java::lang::Class *, ::java::lang::Object *);
+ jint getInt(::java::lang::Class *, ::java::lang::Object *);
+ jlong getLong(::java::lang::Class *, ::java::lang::Object *);
+ jfloat getFloat(::java::lang::Class *, ::java::lang::Object *);
+ jdouble getDouble(::java::lang::Class *, ::java::lang::Object *);
+ ::java::lang::Object * get(::java::lang::Class *, ::java::lang::Object *);
+public:
+ void set(::java::lang::Object *, ::java::lang::Object *);
+ void setBoolean(::java::lang::Object *, jboolean);
+ void setByte(::java::lang::Object *, jbyte);
+ void setChar(::java::lang::Object *, jchar);
+ void setShort(::java::lang::Object *, jshort);
+ void setInt(::java::lang::Object *, jint);
+ void setLong(::java::lang::Object *, jlong);
+ void setFloat(::java::lang::Object *, jfloat);
+ void setDouble(::java::lang::Object *, jdouble);
+ ::java::lang::reflect::Type * getGenericType();
+ ::java::lang::annotation::Annotation * getAnnotation(::java::lang::Class *);
+ JArray< ::java::lang::annotation::Annotation * > * getDeclaredAnnotations();
+private:
+ JArray< ::java::lang::annotation::Annotation * > * getDeclaredAnnotationsInternal();
+ ::java::lang::String * getSignature();
+public: // actually package-private
+ void setByte(::java::lang::Class *, ::java::lang::Object *, jbyte, jboolean);
+ void setShort(::java::lang::Class *, ::java::lang::Object *, jshort, jboolean);
+ void setInt(::java::lang::Class *, ::java::lang::Object *, jint, jboolean);
+ void setLong(::java::lang::Class *, ::java::lang::Object *, jlong, jboolean);
+ void setFloat(::java::lang::Class *, ::java::lang::Object *, jfloat, jboolean);
+ void setDouble(::java::lang::Class *, ::java::lang::Object *, jdouble, jboolean);
+ void setChar(::java::lang::Class *, ::java::lang::Object *, jchar, jboolean);
+ void setBoolean(::java::lang::Class *, ::java::lang::Object *, jboolean, jboolean);
+ void set(::java::lang::Class *, ::java::lang::Object *, ::java::lang::Object *, ::java::lang::Class *, jboolean);
+private:
+ void set(::java::lang::Class *, ::java::lang::Object *, ::java::lang::Object *);
+ ::java::lang::Class * __attribute__((aligned(__alignof__( ::java::lang::reflect::AccessibleObject)))) declaringClass;
+ ::java::lang::String * name;
+ jint offset;
+ ::java::lang::Class * type;
+public: // actually package-private
+ static const jint FIELD_MODIFIERS = 223;
+public:
+ static ::java::lang::Class class$;
+
+ friend jfieldID (::_Jv_FromReflectedField) (java::lang::reflect::Field *);
+ friend jobject (::_Jv_JNI_ToReflectedField) (_Jv_JNIEnv*, jclass, jfieldID, jboolean);
+ friend class java::lang::Class;
+};
+
+#endif // __java_lang_reflect_Field__
diff --git a/libjava/java/lang/reflect/Field.java b/libjava/java/lang/reflect/Field.java
index 134ff13..61db14d 100644
--- a/libjava/java/lang/reflect/Field.java
+++ b/libjava/java/lang/reflect/Field.java
@@ -41,6 +41,7 @@ package java.lang.reflect;
import gnu.java.lang.ClassHelper;
import gnu.java.lang.reflect.FieldSignatureParser;
+import java.lang.annotation.Annotation;
/**
* The Field class represents a member variable of a class. It also allows
@@ -88,7 +89,7 @@ public final class Field
// The Class (or primitive TYPE) of this field.
private Class type;
- private static final int FIELD_MODIFIERS
+ static final int FIELD_MODIFIERS
= Modifier.FINAL | Modifier.PRIVATE | Modifier.PROTECTED
| Modifier.PUBLIC | Modifier.STATIC | Modifier.TRANSIENT
| Modifier.VOLATILE;
@@ -104,7 +105,7 @@ public final class Field
* is a non-inherited member.
* @return the class that declared this member
*/
- public Class getDeclaringClass()
+ public Class<?> getDeclaringClass()
{
return declaringClass;
}
@@ -158,7 +159,7 @@ public final class Field
* Gets the type of this field.
* @return the type of this field
*/
- public native Class getType();
+ public native Class<?> getType();
/**
* Compare two objects to see if they are semantically equivalent.
@@ -733,15 +734,30 @@ public final class Field
return p.getFieldType();
}
+ public <T extends Annotation> T getAnnotation(Class<T> annoClass)
+ {
+ Annotation[] annos = getDeclaredAnnotations();
+ for (int i = 0; i < annos.length; ++i)
+ if (annos[i].annotationType() == annoClass)
+ return (T) annos[i];
+ return null;
+ }
+
+ public Annotation[] getDeclaredAnnotations()
+ {
+ Annotation[] result = getDeclaredAnnotationsInternal();
+ if (result == null)
+ result = new Annotation[0];
+ return result;
+ }
+
+ private native Annotation[] getDeclaredAnnotationsInternal();
+
/**
* Return the String in the Signature attribute for this field. If there
* is no Signature attribute, return null.
*/
- private String getSignature()
- {
- // FIXME: libgcj doesn't record Signature attributes yet.
- return null;
- }
+ private native String getSignature();
native void setByte (Class caller, Object obj, byte b, boolean checkFinal)
throws IllegalArgumentException, IllegalAccessException;
diff --git a/libjava/java/lang/reflect/GenericArrayType.h b/libjava/java/lang/reflect/GenericArrayType.h
new file mode 100644
index 0000000..cdeb0b2
--- /dev/null
+++ b/libjava/java/lang/reflect/GenericArrayType.h
@@ -0,0 +1,19 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_reflect_GenericArrayType__
+#define __java_lang_reflect_GenericArrayType__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::lang::reflect::GenericArrayType : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::lang::reflect::Type * getGenericComponentType() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_lang_reflect_GenericArrayType__
diff --git a/libjava/java/lang/reflect/GenericDeclaration.h b/libjava/java/lang/reflect/GenericDeclaration.h
new file mode 100644
index 0000000..5c484ea
--- /dev/null
+++ b/libjava/java/lang/reflect/GenericDeclaration.h
@@ -0,0 +1,21 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_reflect_GenericDeclaration__
+#define __java_lang_reflect_GenericDeclaration__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+
+class java::lang::reflect::GenericDeclaration : public ::java::lang::Object
+{
+
+public:
+ virtual JArray< ::java::lang::reflect::TypeVariable * > * getTypeParameters() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_lang_reflect_GenericDeclaration__
diff --git a/libjava/java/lang/reflect/GenericSignatureFormatError.h b/libjava/java/lang/reflect/GenericSignatureFormatError.h
new file mode 100644
index 0000000..c46c926
--- /dev/null
+++ b/libjava/java/lang/reflect/GenericSignatureFormatError.h
@@ -0,0 +1,22 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_reflect_GenericSignatureFormatError__
+#define __java_lang_reflect_GenericSignatureFormatError__
+
+#pragma interface
+
+#include <java/lang/ClassFormatError.h>
+
+class java::lang::reflect::GenericSignatureFormatError : public ::java::lang::ClassFormatError
+{
+
+public:
+ GenericSignatureFormatError();
+private:
+ static const jlong serialVersionUID = 6709919147137911034LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_reflect_GenericSignatureFormatError__
diff --git a/libjava/java/lang/reflect/InvocationHandler.h b/libjava/java/lang/reflect/InvocationHandler.h
new file mode 100644
index 0000000..7221953
--- /dev/null
+++ b/libjava/java/lang/reflect/InvocationHandler.h
@@ -0,0 +1,21 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_reflect_InvocationHandler__
+#define __java_lang_reflect_InvocationHandler__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+
+class java::lang::reflect::InvocationHandler : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::lang::Object * invoke(::java::lang::Object *, ::java::lang::reflect::Method *, JArray< ::java::lang::Object * > *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_lang_reflect_InvocationHandler__
diff --git a/libjava/java/lang/reflect/InvocationTargetException.h b/libjava/java/lang/reflect/InvocationTargetException.h
new file mode 100644
index 0000000..37e229c
--- /dev/null
+++ b/libjava/java/lang/reflect/InvocationTargetException.h
@@ -0,0 +1,28 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_reflect_InvocationTargetException__
+#define __java_lang_reflect_InvocationTargetException__
+
+#pragma interface
+
+#include <java/lang/Exception.h>
+
+class java::lang::reflect::InvocationTargetException : public ::java::lang::Exception
+{
+
+public: // actually protected
+ InvocationTargetException();
+public:
+ InvocationTargetException(::java::lang::Throwable *);
+ InvocationTargetException(::java::lang::Throwable *, ::java::lang::String *);
+ virtual ::java::lang::Throwable * getTargetException();
+ virtual ::java::lang::Throwable * getCause();
+private:
+ static const jlong serialVersionUID = 4085088731926701167LL;
+ ::java::lang::Throwable * __attribute__((aligned(__alignof__( ::java::lang::Exception)))) target;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_reflect_InvocationTargetException__
diff --git a/libjava/java/lang/reflect/MalformedParameterizedTypeException.h b/libjava/java/lang/reflect/MalformedParameterizedTypeException.h
new file mode 100644
index 0000000..a48f669
--- /dev/null
+++ b/libjava/java/lang/reflect/MalformedParameterizedTypeException.h
@@ -0,0 +1,22 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_reflect_MalformedParameterizedTypeException__
+#define __java_lang_reflect_MalformedParameterizedTypeException__
+
+#pragma interface
+
+#include <java/lang/RuntimeException.h>
+
+class java::lang::reflect::MalformedParameterizedTypeException : public ::java::lang::RuntimeException
+{
+
+public:
+ MalformedParameterizedTypeException();
+private:
+ static const jlong serialVersionUID = -5696557788586220964LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_reflect_MalformedParameterizedTypeException__
diff --git a/libjava/java/lang/reflect/Member.h b/libjava/java/lang/reflect/Member.h
new file mode 100644
index 0000000..9e3522b
--- /dev/null
+++ b/libjava/java/lang/reflect/Member.h
@@ -0,0 +1,24 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_reflect_Member__
+#define __java_lang_reflect_Member__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::lang::reflect::Member : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::lang::Class * getDeclaringClass() = 0;
+ virtual ::java::lang::String * getName() = 0;
+ virtual jint getModifiers() = 0;
+ virtual jboolean isSynthetic() = 0;
+ static const jint DECLARED = 1;
+ static const jint PUBLIC = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_lang_reflect_Member__
diff --git a/libjava/java/lang/reflect/Method.h b/libjava/java/lang/reflect/Method.h
new file mode 100644
index 0000000..7d4b46d
--- /dev/null
+++ b/libjava/java/lang/reflect/Method.h
@@ -0,0 +1,76 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_reflect_Method__
+#define __java_lang_reflect_Method__
+
+#pragma interface
+
+#include <java/lang/reflect/AccessibleObject.h>
+#include <gcj/array.h>
+
+
+jmethodID _Jv_FromReflectedMethod (java::lang::reflect::Method *);
+jobject _Jv_JNI_ToReflectedMethod (_Jv_JNIEnv *, jclass, jmethodID, jboolean);
+
+class java::lang::reflect::Method : public ::java::lang::reflect::AccessibleObject
+{
+
+ Method();
+public:
+ ::java::lang::Class * getDeclaringClass();
+ ::java::lang::String * getName();
+private:
+ jint getModifiersInternal();
+public:
+ jint getModifiers();
+ jboolean isBridge();
+ jboolean isSynthetic();
+ jboolean isVarArgs();
+ ::java::lang::Class * getReturnType();
+ JArray< ::java::lang::Class * > * getParameterTypes();
+ JArray< ::java::lang::Class * > * getExceptionTypes();
+ jboolean equals(::java::lang::Object *);
+ jint hashCode();
+ ::java::lang::String * toString();
+ ::java::lang::String * toGenericString();
+ ::java::lang::Object * invoke(::java::lang::Object *, JArray< ::java::lang::Object * > *);
+ JArray< ::java::lang::reflect::TypeVariable * > * getTypeParameters();
+private:
+ ::java::lang::String * getSignature();
+public:
+ JArray< ::java::lang::reflect::Type * > * getGenericExceptionTypes();
+ JArray< ::java::lang::reflect::Type * > * getGenericParameterTypes();
+ ::java::lang::reflect::Type * getGenericReturnType();
+ ::java::lang::Object * getDefaultValue();
+ ::java::lang::annotation::Annotation * getAnnotation(::java::lang::Class *);
+ JArray< ::java::lang::annotation::Annotation * > * getDeclaredAnnotations();
+ JArray< JArray< ::java::lang::annotation::Annotation * > * > * getParameterAnnotations();
+private:
+ JArray< ::java::lang::annotation::Annotation * > * getDeclaredAnnotationsInternal();
+ JArray< JArray< ::java::lang::annotation::Annotation * > * > * getParameterAnnotationsInternal();
+ void getType();
+public: // actually package-private
+ static void appendClassName(::java::lang::StringBuffer *, ::java::lang::Class *);
+ static const jint METHOD_MODIFIERS = 3391;
+private:
+ ::java::lang::Class * __attribute__((aligned(__alignof__( ::java::lang::reflect::AccessibleObject)))) declaringClass;
+public: // actually package-private
+ JArray< ::java::lang::Class * > * exception_types;
+private:
+ ::java::lang::String * name;
+public: // actually package-private
+ JArray< ::java::lang::Class * > * parameter_types;
+ ::java::lang::Class * return_type;
+private:
+ jint offset;
+public:
+ static ::java::lang::Class class$;
+
+ friend jmethodID (::_Jv_FromReflectedMethod) (java::lang::reflect::Method *);
+ friend jobject (::_Jv_JNI_ToReflectedMethod) (_Jv_JNIEnv *, jclass, jmethodID, jboolean);
+ friend class java::lang::Class;
+ friend class java::io::ObjectInputStream;
+};
+
+#endif // __java_lang_reflect_Method__
diff --git a/libjava/java/lang/reflect/Method.java b/libjava/java/lang/reflect/Method.java
index 3142d64..fc0bf10 100644
--- a/libjava/java/lang/reflect/Method.java
+++ b/libjava/java/lang/reflect/Method.java
@@ -12,6 +12,7 @@ package java.lang.reflect;
import gnu.gcj.RawData;
import gnu.java.lang.reflect.MethodSignatureParser;
+import java.lang.annotation.Annotation;
/**
* The Method class represents a member method of a class. It also allows
@@ -50,7 +51,7 @@ import gnu.java.lang.reflect.MethodSignatureParser;
public final class Method
extends AccessibleObject implements Member, GenericDeclaration
{
- private static final int METHOD_MODIFIERS
+ static final int METHOD_MODIFIERS
= Modifier.ABSTRACT | Modifier.FINAL | Modifier.NATIVE
| Modifier.PRIVATE | Modifier.PROTECTED | Modifier.PUBLIC
| Modifier.STATIC | Modifier.STRICT | Modifier.SYNCHRONIZED;
@@ -132,7 +133,7 @@ public final class Method
* Gets the return type of this method.
* @return the type of this method
*/
- public Class getReturnType ()
+ public Class<?> getReturnType ()
{
if (return_type == null)
getType();
@@ -145,11 +146,11 @@ public final class Method
*
* @return a list of the types of the method's parameters
*/
- public Class[] getParameterTypes ()
+ public Class<?>[] getParameterTypes ()
{
if (parameter_types == null)
getType();
- return (Class[]) parameter_types.clone();
+ return (Class<?>[]) parameter_types.clone();
}
/**
@@ -159,11 +160,11 @@ public final class Method
*
* @return a list of the types in the method's throws clause
*/
- public Class[] getExceptionTypes ()
+ public Class<?>[] getExceptionTypes ()
{
if (exception_types == null)
getType();
- return (Class[]) exception_types.clone();
+ return (Class<?>[]) exception_types.clone();
}
/**
@@ -309,7 +310,7 @@ public final class Method
* @throws ExceptionInInitializerError if accessing a static method triggered
* class initialization, which then failed
*/
- public native Object invoke (Object obj, Object[] args)
+ public native Object invoke (Object obj, Object... args)
throws IllegalAccessException, IllegalArgumentException,
InvocationTargetException;
@@ -325,8 +326,7 @@ public final class Method
* specification, version 3.
* @since 1.5
*/
- /* FIXME[GENERICS]: Should be TypeVariable<Method>[] */
- public TypeVariable[] getTypeParameters()
+ public TypeVariable<Method>[] getTypeParameters()
{
String sig = getSignature();
if (sig == null)
@@ -339,11 +339,7 @@ public final class Method
* Return the String in the Signature attribute for this method. If there
* is no Signature attribute, return null.
*/
- private String getSignature()
- {
- // FIXME: libgcj doesn't record this information yet.
- return null;
- }
+ private native String getSignature();
/**
* Returns an array of <code>Type</code> objects that represents
@@ -405,6 +401,49 @@ public final class Method
return p.getGenericReturnType();
}
+ /**
+ * If this method is an annotation method, returns the default
+ * value for the method. If there is no default value, or if the
+ * method is not a member of an annotation type, returns null.
+ * Primitive types are wrapped.
+ *
+ * @throws TypeNotPresentException if the method returns a Class,
+ * and the class cannot be found
+ *
+ * @since 1.5
+ */
+ public native Object getDefaultValue();
+
+ public <T extends Annotation> T getAnnotation(Class<T> annoClass)
+ {
+ Annotation[] annos = getDeclaredAnnotations();
+ for (int i = 0; i < annos.length; ++i)
+ if (annos[i].annotationType() == annoClass)
+ return (T) annos[i];
+ return null;
+ }
+
+ public Annotation[] getDeclaredAnnotations()
+ {
+ Annotation[] result = getDeclaredAnnotationsInternal();
+ if (result == null)
+ result = new Annotation[0];
+ return result;
+ }
+
+ public Annotation[][] getParameterAnnotations()
+ {
+ // FIXME: should check that we have the right number
+ // of parameters ...?
+ Annotation[][] result = getParameterAnnotationsInternal();
+ if (result == null)
+ result = new Annotation[0][0];
+ return result;
+ }
+
+ private native Annotation[] getDeclaredAnnotationsInternal();
+ private native Annotation[][] getParameterAnnotationsInternal();
+
private native void getType ();
// Append a class name to a string buffer. We try to print the
@@ -431,13 +470,13 @@ public final class Method
private Class declaringClass;
// Exception types.
- private Class[] exception_types;
+ Class[] exception_types;
// Name cache. (Initially null.)
private String name;
// Parameter types.
- private Class[] parameter_types;
+ Class[] parameter_types;
// Return type.
- private Class return_type;
+ Class return_type;
// Offset in bytes from the start of declaringClass's methods array.
private int offset;
diff --git a/libjava/java/lang/reflect/Modifier.h b/libjava/java/lang/reflect/Modifier.h
new file mode 100644
index 0000000..4ee474a
--- /dev/null
+++ b/libjava/java/lang/reflect/Modifier.h
@@ -0,0 +1,58 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_reflect_Modifier__
+#define __java_lang_reflect_Modifier__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::lang::reflect::Modifier : public ::java::lang::Object
+{
+
+public:
+ Modifier();
+ static jboolean isAbstract(jint);
+ static jboolean isFinal(jint);
+ static jboolean isInterface(jint);
+ static jboolean isNative(jint);
+ static jboolean isPrivate(jint);
+ static jboolean isProtected(jint);
+ static jboolean isPublic(jint);
+ static jboolean isStatic(jint);
+ static jboolean isStrict(jint);
+ static jboolean isSynchronized(jint);
+ static jboolean isTransient(jint);
+ static jboolean isVolatile(jint);
+ static ::java::lang::String * toString(jint);
+public: // actually package-private
+ static ::java::lang::StringBuilder * toString(jint, ::java::lang::StringBuilder *);
+ static ::java::lang::StringBuffer * toString(jint, ::java::lang::StringBuffer *);
+public:
+ static const jint PUBLIC = 1;
+ static const jint PRIVATE = 2;
+ static const jint PROTECTED = 4;
+ static const jint STATIC = 8;
+ static const jint FINAL = 16;
+ static const jint SYNCHRONIZED = 32;
+ static const jint VOLATILE = 64;
+ static const jint TRANSIENT = 128;
+ static const jint NATIVE = 256;
+ static const jint INTERFACE = 512;
+ static const jint ABSTRACT = 1024;
+ static const jint STRICT = 2048;
+public: // actually package-private
+ static const jint SUPER = 32;
+ static const jint ALL_FLAGS = 4095;
+ static const jint BRIDGE = 64;
+ static const jint VARARGS = 128;
+ static const jint SYNTHETIC = 4096;
+ static const jint ENUM = 16384;
+ static const jint INVISIBLE = 32768;
+ static const jint INTERPRETED = 4096;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_reflect_Modifier__
diff --git a/libjava/java/lang/reflect/ParameterizedType.h b/libjava/java/lang/reflect/ParameterizedType.h
new file mode 100644
index 0000000..dab9ad9
--- /dev/null
+++ b/libjava/java/lang/reflect/ParameterizedType.h
@@ -0,0 +1,23 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_reflect_ParameterizedType__
+#define __java_lang_reflect_ParameterizedType__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+
+class java::lang::reflect::ParameterizedType : public ::java::lang::Object
+{
+
+public:
+ virtual JArray< ::java::lang::reflect::Type * > * getActualTypeArguments() = 0;
+ virtual ::java::lang::reflect::Type * getOwnerType() = 0;
+ virtual ::java::lang::reflect::Type * getRawType() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_lang_reflect_ParameterizedType__
diff --git a/libjava/java/lang/reflect/Proxy$ClassFactory.h b/libjava/java/lang/reflect/Proxy$ClassFactory.h
new file mode 100644
index 0000000..c4cfb88
--- /dev/null
+++ b/libjava/java/lang/reflect/Proxy$ClassFactory.h
@@ -0,0 +1,78 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_reflect_Proxy$ClassFactory__
+#define __java_lang_reflect_Proxy$ClassFactory__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+
+class java::lang::reflect::Proxy$ClassFactory : public ::java::lang::Object
+{
+
+public: // actually package-private
+ Proxy$ClassFactory(::java::lang::reflect::Proxy$ProxyData *);
+private:
+ void emitMethod(jint, JArray< ::java::lang::Class * > *);
+public: // actually package-private
+ ::java::lang::Class * generate(::java::lang::ClassLoader *);
+private:
+ void putU1(jint);
+ void putU2(jint);
+ void putU4(jint);
+ void putConst(jint);
+ void putLoad(jint, ::java::lang::Class *);
+ ::java::lang::String * wrapper(::java::lang::Class *);
+ jchar utf8Info(::java::lang::String *);
+ jchar classInfo(::java::lang::String *);
+ jchar classInfo(::java::lang::Class *);
+ jchar refInfo(jbyte, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
+ jchar nameAndTypeInfo(::java::lang::String *, ::java::lang::String *);
+ ::java::lang::String * toUtf8(::java::lang::String *);
+ jchar poolIndex(::java::lang::String *);
+ static const jbyte FIELD = 1;
+ static const jbyte METHOD = 2;
+ static const jbyte INTERFACE = 3;
+ static ::java::lang::String * CTOR_SIG;
+ static ::java::lang::String * INVOKE_SIG;
+ static const jchar ACONST_NULL = 1;
+ static const jchar ICONST_0 = 3;
+ static const jchar BIPUSH = 16;
+ static const jchar SIPUSH = 17;
+ static const jchar ILOAD = 21;
+ static const jchar ILOAD_0 = 26;
+ static const jchar ALOAD_0 = 42;
+ static const jchar ALOAD_1 = 43;
+ static const jchar AALOAD = 50;
+ static const jchar AASTORE = 83;
+ static const jchar DUP = 89;
+ static const jchar DUP_X1 = 90;
+ static const jchar SWAP = 95;
+ static const jchar IRETURN = 172;
+ static const jchar LRETURN = 173;
+ static const jchar FRETURN = 174;
+ static const jchar DRETURN = 175;
+ static const jchar ARETURN = 176;
+ static const jchar RETURN = 177;
+ static const jchar GETSTATIC = 178;
+ static const jchar GETFIELD = 180;
+ static const jchar INVOKEVIRTUAL = 182;
+ static const jchar INVOKESPECIAL = 183;
+ static const jchar INVOKEINTERFACE = 185;
+ static const jchar NEW = 187;
+ static const jchar ANEWARRAY = 189;
+ static const jchar ATHROW = 191;
+ static const jchar CHECKCAST = 192;
+ ::java::lang::StringBuffer * __attribute__((aligned(__alignof__( ::java::lang::Object)))) pool;
+ ::java::lang::StringBuffer * stream;
+ ::java::util::Map * poolEntries;
+ ::java::lang::String * qualName;
+ JArray< ::java::lang::reflect::Method * > * methods;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_reflect_Proxy$ClassFactory__
diff --git a/libjava/java/lang/reflect/Proxy$ProxyData.h b/libjava/java/lang/reflect/Proxy$ProxyData.h
new file mode 100644
index 0000000..2c0d91e
--- /dev/null
+++ b/libjava/java/lang/reflect/Proxy$ProxyData.h
@@ -0,0 +1,37 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_reflect_Proxy$ProxyData__
+#define __java_lang_reflect_Proxy$ProxyData__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+
+class java::lang::reflect::Proxy$ProxyData : public ::java::lang::Object
+{
+
+public: // actually package-private
+ Proxy$ProxyData();
+private:
+ static ::java::lang::String * getPackage(::java::lang::Class *);
+public: // actually package-private
+ static ::java::lang::reflect::Proxy$ProxyData * getProxyData(::java::lang::reflect::Proxy$ProxyType *);
+private:
+ static jboolean isCoreObjectMethod(::java::lang::reflect::Method *);
+public: // actually package-private
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) pack;
+ JArray< ::java::lang::Class * > * interfaces;
+ JArray< ::java::lang::reflect::Method * > * methods;
+ JArray< JArray< ::java::lang::Class * > * > * exceptions;
+private:
+ static jint count;
+public: // actually package-private
+ jint id;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_reflect_Proxy$ProxyData__
diff --git a/libjava/java/lang/reflect/Proxy$ProxySignature.h b/libjava/java/lang/reflect/Proxy$ProxySignature.h
new file mode 100644
index 0000000..ae0f028
--- /dev/null
+++ b/libjava/java/lang/reflect/Proxy$ProxySignature.h
@@ -0,0 +1,28 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_reflect_Proxy$ProxySignature__
+#define __java_lang_reflect_Proxy$ProxySignature__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::lang::reflect::Proxy$ProxySignature : public ::java::lang::Object
+{
+
+public: // actually package-private
+ Proxy$ProxySignature(::java::lang::reflect::Method *);
+ void checkCompatibility(::java::lang::reflect::Proxy$ProxySignature *);
+public:
+ jint hashCode();
+ jboolean equals(::java::lang::Object *);
+public: // actually package-private
+ static ::java::util::HashMap * coreMethods;
+ ::java::lang::reflect::Method * __attribute__((aligned(__alignof__( ::java::lang::Object)))) method;
+ ::java::util::Set * exceptions;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_reflect_Proxy$ProxySignature__
diff --git a/libjava/java/lang/reflect/Proxy$ProxyType.h b/libjava/java/lang/reflect/Proxy$ProxyType.h
new file mode 100644
index 0000000..da76535
--- /dev/null
+++ b/libjava/java/lang/reflect/Proxy$ProxyType.h
@@ -0,0 +1,28 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_reflect_Proxy$ProxyType__
+#define __java_lang_reflect_Proxy$ProxyType__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+
+class java::lang::reflect::Proxy$ProxyType : public ::java::lang::Object
+{
+
+public: // actually package-private
+ Proxy$ProxyType(::java::lang::ClassLoader *, JArray< ::java::lang::Class * > *);
+public:
+ jint hashCode();
+ jboolean equals(::java::lang::Object *);
+public: // actually package-private
+ ::java::lang::ClassLoader * __attribute__((aligned(__alignof__( ::java::lang::Object)))) loader;
+ JArray< ::java::lang::Class * > * interfaces;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_reflect_Proxy$ProxyType__
diff --git a/libjava/java/lang/reflect/Proxy.h b/libjava/java/lang/reflect/Proxy.h
new file mode 100644
index 0000000..4dad2cffd
--- /dev/null
+++ b/libjava/java/lang/reflect/Proxy.h
@@ -0,0 +1,32 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_reflect_Proxy__
+#define __java_lang_reflect_Proxy__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+
+class java::lang::reflect::Proxy : public ::java::lang::Object
+{
+
+public: // actually protected
+ Proxy(::java::lang::reflect::InvocationHandler *);
+public:
+ static ::java::lang::Class * getProxyClass(::java::lang::ClassLoader *, JArray< ::java::lang::Class * > *);
+ static ::java::lang::Object * newProxyInstance(::java::lang::ClassLoader *, JArray< ::java::lang::Class * > *, ::java::lang::reflect::InvocationHandler *);
+ static jboolean isProxyClass(::java::lang::Class *);
+ static ::java::lang::reflect::InvocationHandler * getInvocationHandler(::java::lang::Object *);
+private:
+ static const jlong serialVersionUID = -2222568056686623797LL;
+ static ::java::util::Map * proxyClasses;
+public: // actually protected
+ ::java::lang::reflect::InvocationHandler * __attribute__((aligned(__alignof__( ::java::lang::Object)))) h;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_reflect_Proxy__
diff --git a/libjava/java/lang/reflect/ReflectPermission.h b/libjava/java/lang/reflect/ReflectPermission.h
new file mode 100644
index 0000000..0e6a7c3
--- /dev/null
+++ b/libjava/java/lang/reflect/ReflectPermission.h
@@ -0,0 +1,23 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_reflect_ReflectPermission__
+#define __java_lang_reflect_ReflectPermission__
+
+#pragma interface
+
+#include <java/security/BasicPermission.h>
+
+class java::lang::reflect::ReflectPermission : public ::java::security::BasicPermission
+{
+
+public:
+ ReflectPermission(::java::lang::String *);
+ ReflectPermission(::java::lang::String *, ::java::lang::String *);
+private:
+ static const jlong serialVersionUID = 7412737110241507485LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_reflect_ReflectPermission__
diff --git a/libjava/java/lang/reflect/Type.h b/libjava/java/lang/reflect/Type.h
new file mode 100644
index 0000000..55c317f
--- /dev/null
+++ b/libjava/java/lang/reflect/Type.h
@@ -0,0 +1,18 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_reflect_Type__
+#define __java_lang_reflect_Type__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::lang::reflect::Type : public ::java::lang::Object
+{
+
+public:
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_lang_reflect_Type__
diff --git a/libjava/java/lang/reflect/TypeVariable.h b/libjava/java/lang/reflect/TypeVariable.h
new file mode 100644
index 0000000..6029c01
--- /dev/null
+++ b/libjava/java/lang/reflect/TypeVariable.h
@@ -0,0 +1,23 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_reflect_TypeVariable__
+#define __java_lang_reflect_TypeVariable__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+
+class java::lang::reflect::TypeVariable : public ::java::lang::Object
+{
+
+public:
+ virtual JArray< ::java::lang::reflect::Type * > * getBounds() = 0;
+ virtual ::java::lang::reflect::GenericDeclaration * getGenericDeclaration() = 0;
+ virtual ::java::lang::String * getName() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_lang_reflect_TypeVariable__
diff --git a/libjava/java/lang/reflect/UndeclaredThrowableException.h b/libjava/java/lang/reflect/UndeclaredThrowableException.h
new file mode 100644
index 0000000..01b969b
--- /dev/null
+++ b/libjava/java/lang/reflect/UndeclaredThrowableException.h
@@ -0,0 +1,26 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_reflect_UndeclaredThrowableException__
+#define __java_lang_reflect_UndeclaredThrowableException__
+
+#pragma interface
+
+#include <java/lang/RuntimeException.h>
+
+class java::lang::reflect::UndeclaredThrowableException : public ::java::lang::RuntimeException
+{
+
+public:
+ UndeclaredThrowableException(::java::lang::Throwable *);
+ UndeclaredThrowableException(::java::lang::Throwable *, ::java::lang::String *);
+ virtual ::java::lang::Throwable * getUndeclaredThrowable();
+ virtual ::java::lang::Throwable * getCause();
+private:
+ static const jlong serialVersionUID = 330127114055056639LL;
+ ::java::lang::Throwable * __attribute__((aligned(__alignof__( ::java::lang::RuntimeException)))) undeclaredThrowable;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_reflect_UndeclaredThrowableException__
diff --git a/libjava/java/lang/reflect/VMProxy.h b/libjava/java/lang/reflect/VMProxy.h
new file mode 100644
index 0000000..e48e8e4
--- /dev/null
+++ b/libjava/java/lang/reflect/VMProxy.h
@@ -0,0 +1,28 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_reflect_VMProxy__
+#define __java_lang_reflect_VMProxy__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+
+class java::lang::reflect::VMProxy : public ::java::lang::Object
+{
+
+public: // actually package-private
+ VMProxy();
+ static ::java::lang::Class * getProxyClass(::java::lang::ClassLoader *, JArray< ::java::lang::Class * > *);
+ static ::java::lang::reflect::Proxy$ProxyData * getProxyData(::java::lang::ClassLoader *, JArray< ::java::lang::Class * > *);
+ static ::java::lang::Class * generateProxyClass(::java::lang::ClassLoader *, ::java::lang::reflect::Proxy$ProxyData *);
+ static jboolean HAVE_NATIVE_GET_PROXY_CLASS;
+ static jboolean HAVE_NATIVE_GET_PROXY_DATA;
+ static jboolean HAVE_NATIVE_GENERATE_PROXY_CLASS;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_lang_reflect_VMProxy__
diff --git a/libjava/java/lang/reflect/VMProxy.java b/libjava/java/lang/reflect/VMProxy.java
index b3641cf..ea1c885 100644
--- a/libjava/java/lang/reflect/VMProxy.java
+++ b/libjava/java/lang/reflect/VMProxy.java
@@ -65,7 +65,7 @@ final class VMProxy
* If this is true, HAVE_NATIVE_GET_PROXY_CLASS should be false.
* @see java.lang.reflect.Proxy
*/
- static boolean HAVE_NATIVE_GENERATE_PROXY_CLASS = false;
+ static boolean HAVE_NATIVE_GENERATE_PROXY_CLASS = true;
/**
* Optional native method to replace (and speed up) the pure Java
@@ -136,8 +136,5 @@ final class VMProxy
* @see #getProxyClass(ClassLoader, Class[])
* @see ProxyData#generateProxyClass(ClassLoader)
*/
- static Class generateProxyClass(ClassLoader loader, Proxy.ProxyData data)
- {
- return null;
- }
+ static native Class generateProxyClass(ClassLoader loader, Proxy.ProxyData data);
}
diff --git a/libjava/java/lang/reflect/WildcardType.h b/libjava/java/lang/reflect/WildcardType.h
new file mode 100644
index 0000000..2c5b93d
--- /dev/null
+++ b/libjava/java/lang/reflect/WildcardType.h
@@ -0,0 +1,22 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_lang_reflect_WildcardType__
+#define __java_lang_reflect_WildcardType__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+
+class java::lang::reflect::WildcardType : public ::java::lang::Object
+{
+
+public:
+ virtual JArray< ::java::lang::reflect::Type * > * getLowerBounds() = 0;
+ virtual JArray< ::java::lang::reflect::Type * > * getUpperBounds() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_lang_reflect_WildcardType__
diff --git a/libjava/java/lang/reflect/natConstructor.cc b/libjava/java/lang/reflect/natConstructor.cc
index 35cf7f8..953d86d 100644
--- a/libjava/java/lang/reflect/natConstructor.cc
+++ b/libjava/java/lang/reflect/natConstructor.cc
@@ -23,12 +23,33 @@ details. */
#include <java/lang/InstantiationException.h>
#include <gcj/method.h>
+typedef JArray< ::java::lang::annotation::Annotation * > * anno_a_t;
+typedef JArray< JArray< ::java::lang::annotation::Annotation * > *> * anno_aa_t;
+
jint
java::lang::reflect::Constructor::getModifiersInternal ()
{
return _Jv_FromReflectedConstructor (this)->accflags;
}
+jstring
+java::lang::reflect::Constructor::getSignature()
+{
+ return declaringClass->getReflectionSignature (this);
+}
+
+anno_a_t
+java::lang::reflect::Constructor::getDeclaredAnnotationsInternal()
+{
+ return (anno_a_t) declaringClass->getDeclaredAnnotations(this, false);
+}
+
+anno_aa_t
+java::lang::reflect::Constructor::getParameterAnnotationsInternal()
+{
+ return (anno_aa_t) declaringClass->getDeclaredAnnotations(this, true);
+}
+
void
java::lang::reflect::Constructor::getType ()
{
diff --git a/libjava/java/lang/reflect/natField.cc b/libjava/java/lang/reflect/natField.cc
index 487f62a..b107ab8 100644
--- a/libjava/java/lang/reflect/natField.cc
+++ b/libjava/java/lang/reflect/natField.cc
@@ -29,6 +29,8 @@ details. */
#include <java/lang/Boolean.h>
#include <java/lang/Character.h>
+typedef JArray< ::java::lang::annotation::Annotation * > * anno_a_t;
+
jint
java::lang::reflect::Field::getModifiersInternal ()
{
@@ -36,6 +38,18 @@ java::lang::reflect::Field::getModifiersInternal ()
}
jstring
+java::lang::reflect::Field::getSignature()
+{
+ return declaringClass->getReflectionSignature (this);
+}
+
+anno_a_t
+java::lang::reflect::Field::getDeclaredAnnotationsInternal()
+{
+ return (anno_a_t) declaringClass->getDeclaredAnnotations(this);
+}
+
+jstring
java::lang::reflect::Field::getName ()
{
if (name == NULL)
diff --git a/libjava/java/lang/reflect/natMethod.cc b/libjava/java/lang/reflect/natMethod.cc
index eb7170a..6dcd4ec 100644
--- a/libjava/java/lang/reflect/natMethod.cc
+++ b/libjava/java/lang/reflect/natMethod.cc
@@ -48,6 +48,11 @@ details. */
#include <java/lang/UnsupportedOperationException.h>
#endif
+typedef JArray< ::java::lang::annotation::Annotation * > * anno_a_t;
+typedef JArray< JArray< ::java::lang::annotation::Annotation * > *> * anno_aa_t;
+
+
+
struct cpair
{
jclass prim;
@@ -189,6 +194,30 @@ java::lang::reflect::Method::getModifiersInternal ()
}
jstring
+java::lang::reflect::Method::getSignature()
+{
+ return declaringClass->getReflectionSignature (this);
+}
+
+jobject
+java::lang::reflect::Method::getDefaultValue()
+{
+ return declaringClass->getMethodDefaultValue(this);
+}
+
+anno_a_t
+java::lang::reflect::Method::getDeclaredAnnotationsInternal()
+{
+ return (anno_a_t) declaringClass->getDeclaredAnnotations(this, false);
+}
+
+anno_aa_t
+java::lang::reflect::Method::getParameterAnnotationsInternal()
+{
+ return (anno_aa_t) declaringClass->getDeclaredAnnotations(this, true);
+}
+
+jstring
java::lang::reflect::Method::getName ()
{
if (name == NULL)
diff --git a/libjava/java/lang/reflect/natVMProxy.cc b/libjava/java/lang/reflect/natVMProxy.cc
new file mode 100644
index 0000000..8d803a8
--- /dev/null
+++ b/libjava/java/lang/reflect/natVMProxy.cc
@@ -0,0 +1,394 @@
+// natVMProxy.cc -- Implementation of VMProxy methods.
+
+/* Copyright (C) 2006
+ Free Software Foundation
+
+ This file is part of libgcj.
+
+This software is copyrighted work licensed under the terms of the
+Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
+details. */
+
+// The idea of behind this code is to utilize libffi's ability to
+// create closures to provide a fast "cut-through" way to generate
+// proxy classes. Instead of generating bytecode and then
+// interpreting that, we copy the method definitions for each of the
+// methods we're supposed to be prxying and generate a libffi closure
+// for each one.
+
+#include <config.h>
+#include <platform.h>
+#include <sysdep/descriptor.h>
+
+#include <limits.h>
+#include <string.h>
+#include <stddef.h>
+#include <stdio.h>
+
+#include <gcj/cni.h>
+#include <gcj/javaprims.h>
+#include <jvm.h>
+#include <jni.h>
+#include <java-threads.h>
+#include <java-interp.h>
+#include <ffi.h>
+#include <execution.h>
+#include <gcj/method.h>
+
+#include <gnu/gcj/runtime/BootClassLoader.h>
+#include <java/lang/Class.h>
+#include <java/lang/ClassCastException.h>
+#include <java/lang/Error.h>
+#include <java/lang/IllegalArgumentException.h>
+#include <java/lang/Integer.h>
+#include <java/lang/StringBuffer.h>
+#include <java/lang/VMClassLoader.h>
+#include <java/lang/VMCompiler.h>
+#include <java/lang/reflect/InvocationHandler.h>
+#include <java/lang/reflect/Method.h>
+#include <java/lang/reflect/Proxy$ClassFactory.h>
+#include <java/lang/reflect/Proxy$ProxyData.h>
+#include <java/lang/reflect/Proxy.h>
+#include <java/lang/reflect/UndeclaredThrowableException.h>
+#include <java/lang/reflect/VMProxy.h>
+
+#include <java/lang/Byte.h>
+#include <java/lang/Short.h>
+#include <java/lang/Integer.h>
+#include <java/lang/Long.h>
+#include <java/lang/Float.h>
+#include <java/lang/Double.h>
+#include <java/lang/Boolean.h>
+#include <java/lang/Character.h>
+
+
+using namespace java::lang::reflect;
+using namespace java::lang;
+
+typedef void (*closure_fun) (ffi_cif*, void*, void**, void*);
+static void *ncode (_Jv_Method *self, closure_fun fun, Method *meth);
+static void run_proxy (ffi_cif*, void*, void**, void*);
+
+typedef jobject invoke_t (jobject, Proxy *, Method *, JArray< jobject > *);
+
+// True if pc points to a proxy frame.
+
+bool
+_Jv_is_proxy (void *pc)
+{
+ return pc == UNWRAP_FUNCTION_DESCRIPTOR ((void*)&run_proxy);
+}
+
+// Generate a proxy class by using libffi closures for each entry
+// point.
+
+jclass
+java::lang::reflect::VMProxy::generateProxyClass
+ (ClassLoader *loader, Proxy$ProxyData *d)
+{
+ // If we're precompiling, generate bytecode and allow VMCompiler to
+ // precompile it.
+ if (VMCompiler::precompiles ())
+ return (new Proxy$ClassFactory(d))->generate(loader);
+
+ jclass klass = new Class ();
+ klass->superclass = &Proxy::class$;
+ klass->engine = &_Jv_soleIndirectCompiledEngine;
+ klass->size_in_bytes = Proxy::class$.size_in_bytes;
+ klass->vtable_method_count = -1;
+
+ // Synchronize on the class, so that it is not attempted initialized
+ // until we're done.
+ JvSynchronize sync (klass);
+
+ // Record the defining loader. For the bootstrap class loader,
+ // we record NULL.
+ if (loader != VMClassLoader::bootLoader)
+ klass->loader = loader;
+
+ {
+ StringBuffer *sb = new StringBuffer();
+ sb->append(JvNewStringLatin1 ("$Proxy"));
+ sb->append(Integer::toString (d->id));
+ klass->name = _Jv_makeUtf8Const (sb->toString());
+ }
+
+ // Allocate space for the interfaces.
+ klass->interface_count = d->interfaces->length;
+ klass->interfaces = (jclass*) _Jv_AllocRawObj (klass->interface_count
+ *sizeof (jclass));
+ for (int i = 0; i < klass->interface_count; i++)
+ klass->interfaces[i] = elements(d->interfaces)[i];
+
+ size_t count = d->methods->length;
+
+ {
+ size_t total_count = count + Proxy::class$.method_count + 1;
+ if (total_count >= 65536)
+ throw new IllegalArgumentException ();
+ // Allocate space for the methods. This is a worst case
+ // estimate.
+ klass->methods
+ = (_Jv_Method *) _Jv_AllocRawObj (sizeof (_Jv_Method)
+ * total_count);
+ }
+
+ jshort &method_count = klass->method_count;
+
+ // Copy all reachable methods from Proxy.
+ for (int i = 0; i < Proxy::class$.method_count; i++)
+ {
+ if (_Jv_CheckAccess (klass, &Proxy::class$,
+ Proxy::class$.methods[i].accflags))
+ {
+ klass->methods[method_count] = Proxy::class$.methods[i];
+ method_count++;
+ }
+ }
+
+ _Jv_Method *init_method
+ = (_Jv_Linker::search_method_in_class
+ (klass, klass,
+ _Jv_makeUtf8Const ("<init>"),
+ _Jv_makeUtf8Const ("(Ljava.lang.reflect.InvocationHandler;)V"),
+ false));
+ init_method->accflags |= Modifier::PUBLIC;
+
+ // Create the methods for all of the interfaces.
+ for (size_t i = 0; i < count; i++)
+ {
+ _Jv_Method &method = klass->methods[method_count++];
+ const _Jv_Method &imethod = *_Jv_FromReflectedMethod (elements(d->methods)[i]);
+ // We use a shallow copy of IMETHOD rather than a deep copy;
+ // this means that the pointer fields of METHOD point into the
+ // interface. As long as this subclass of Proxy is reachable,
+ // the interfaces of which it is a proxy will also be reachable,
+ // so this is safe.
+ method = imethod;
+ method.ncode = ncode (&method, run_proxy, elements(d->methods)[i]);
+ method.accflags &= ~Modifier::ABSTRACT;
+ }
+
+ _Jv_Linker::layout_vtable_methods (klass);
+ _Jv_RegisterInitiatingLoader (klass, klass->loader);
+
+ return klass;
+}
+
+
+// Box things with primitive types.
+static inline jobject
+box (void *thing, jclass klass, FFI_TYPE type)
+{
+ jobject o;
+
+ switch (type)
+ {
+ case FFI_TYPE_VOID:
+ return NULL;
+
+ case FFI_TYPE_POINTER:
+ o = *(jobject*)thing;
+ return o;
+
+ default:
+ ;
+ }
+
+ if (klass == JvPrimClass (byte))
+ o = new Byte (*(jbyte*)thing);
+ else if (klass == JvPrimClass (short))
+ o = new Short (*(jshort*)thing);
+ else if (klass == JvPrimClass (int))
+ o = new Integer (*(jint*)thing);
+ else if (klass == JvPrimClass (long))
+ o = new Long (*(jlong*)thing);
+ else if (klass == JvPrimClass (float))
+ o = new Float (*(jfloat*)thing);
+ else if (klass == JvPrimClass (double))
+ o = new Double (*(jdouble*)thing);
+ else if (klass == JvPrimClass (boolean))
+ o = new Boolean (*(jboolean*)thing);
+ else if (klass == JvPrimClass (char))
+ o = new Character (*(jchar*)thing);
+ else
+ JvFail ("Bad ffi type in proxy");
+
+ return o;
+}
+
+
+// Unbox things with primitive types.
+static inline void
+unbox (jobject o, jclass klass, void *rvalue, FFI_TYPE type)
+{
+ switch (type)
+ {
+ case FFI_TYPE_VOID:
+ return;
+
+ case FFI_TYPE_POINTER:
+ _Jv_CheckCast (klass, o);
+ *(jobject*)rvalue = o;
+ return;
+
+ default:
+ ;
+ }
+
+ // If the value returned ... is null and the interface method's
+ // return type is primitive, then a NullPointerException will be
+ // thrown ...
+ if (klass == JvPrimClass (byte))
+ {
+ _Jv_CheckCast (&Byte::class$, o);
+ *(jbyte*)rvalue = ((Byte*)o)->byteValue();
+ }
+ else if (klass == JvPrimClass (short))
+ {
+ _Jv_CheckCast (&Short::class$, o);
+ *(jshort*)rvalue = ((Short*)o)->shortValue();
+ }
+ else if (klass == JvPrimClass (int))
+ {
+ _Jv_CheckCast (&Integer::class$, o);
+ *(jint*)rvalue = ((Integer*)o)->intValue();
+ }
+ else if (klass == JvPrimClass (long))
+ {
+ _Jv_CheckCast (&Long::class$, o);
+ *(jlong*)rvalue = ((Long*)o)->longValue();
+ }
+ else if (klass == JvPrimClass (float))
+ {
+ _Jv_CheckCast (&Float::class$, o);
+ *(jfloat*)rvalue = ((Float*)o)->floatValue();
+ }
+ else if (klass == JvPrimClass (double))
+ {
+ _Jv_CheckCast (&Double::class$, o);
+ *(jdouble*)rvalue = ((Double*)o)->doubleValue();
+ }
+ else if (klass == JvPrimClass (boolean))
+ {
+ _Jv_CheckCast (&Boolean::class$, o);
+ *(jboolean*)rvalue = ((Boolean*)o)->booleanValue();
+ }
+ else if (klass == JvPrimClass (char))
+ {
+ _Jv_CheckCast (&Character::class$, o);
+ *(jchar*)rvalue = ((Character*)o)->charValue();
+ }
+ else
+ JvFail ("Bad ffi type in proxy");
+}
+
+
+// run_proxy is the entry point for all proxy methods. It boxes up
+// all the arguments and then invokes the invocation handler's invoke()
+// method. Exceptions are caught and propagated.
+
+typedef struct {
+ ffi_closure closure;
+ ffi_cif cif;
+ Method *meth;
+ _Jv_Method *self;
+ ffi_type *arg_types[0];
+} ncode_closure;
+
+static void
+run_proxy (ffi_cif *cif,
+ void *rvalue,
+ void **args,
+ void*user_data)
+{
+ Proxy *proxy = *(Proxy**)args[0];
+ ncode_closure *self = (ncode_closure *) user_data;
+
+ // FRAME_DESC registers this particular invocation as the top-most
+ // interpreter frame. This lets the stack tracing code (for
+ // Throwable) print information about the Proxy being run rather
+ // than about Proxy.class itself. FRAME_DESC has a destructor so it
+ // cleans up automatically when this proxy invocation returns.
+ Thread *thread = Thread::currentThread();
+ _Jv_InterpFrame frame_desc (self->self, thread, proxy->getClass());
+
+ InvocationHandler *handler = proxy->h;
+ void *poo
+ = _Jv_NewObjectArray (self->meth->parameter_types->length, &Object::class$, NULL);
+ JArray<jobject> *argsArray = (JArray<jobject> *) poo;
+ jobject *jargs = elements(argsArray);
+
+ // FIXME: It must be possible to use fast interface dispatch here,
+ // but I've not quite figured out how to do it.
+ invoke_t *invoke
+ = (invoke_t *)(_Jv_LookupInterfaceMethod
+ (handler->getClass (),
+ _Jv_makeUtf8Const ("invoke"),
+ (_Jv_makeUtf8Const
+ ("(Ljava.lang.Object;Ljava.lang.reflect.Method;[Ljava.lang.Object;)"
+ "Ljava.lang.Object;"))));
+
+ // Copy and box all the args.
+ int index = 1;
+ for (int i = 0; i < self->meth->parameter_types->length; i++, index++)
+ jargs[i] = box (args[index], elements(self->meth->parameter_types)[i],
+ cif->arg_types[index]->type);
+
+ jobject ret;
+ try
+ {
+ ret = invoke (handler, proxy, self->meth, argsArray);
+ }
+ catch (Throwable *t)
+ {
+ if (_Jv_IsInstanceOf (t, &RuntimeException::class$)
+ || _Jv_IsInstanceOf (t, &Error::class$))
+ throw t;
+
+ Class **throwables = elements (self->meth->exception_types);
+ for (int i = 0; i < self->meth->exception_types->length; i++)
+ if (_Jv_IsInstanceOf (t, throwables[i]))
+ throw t;
+
+ throw new UndeclaredThrowableException (t);
+ }
+
+ unbox (ret, self->meth->return_type, rvalue, cif->rtype->type);
+}
+
+
+// Given a method and a closure function, create libffi CIF and return
+// the address of its closure.
+
+static void *
+ncode (_Jv_Method *self, closure_fun fun, Method *meth)
+{
+ using namespace java::lang::reflect;
+
+ jboolean staticp = (self->accflags & Modifier::STATIC) != 0;
+ int arg_count = _Jv_count_arguments (self->signature, staticp);
+
+ ncode_closure *closure =
+ (ncode_closure*)_Jv_AllocBytes (sizeof (ncode_closure)
+ + arg_count * sizeof (ffi_type*));
+
+ _Jv_init_cif (self->signature,
+ arg_count,
+ staticp,
+ &closure->cif,
+ &closure->arg_types[0],
+ NULL);
+ closure->meth = meth;
+ closure->self = self;
+
+ JvAssert ((self->accflags & Modifier::NATIVE) == 0);
+
+ ffi_prep_closure (&closure->closure,
+ &closure->cif,
+ fun,
+ (void*)closure);
+
+ self->ncode = (void*)closure;
+ return self->ncode;
+}
diff --git a/libjava/java/math/BigDecimal.h b/libjava/java/math/BigDecimal.h
new file mode 100644
index 0000000..72b877e
--- /dev/null
+++ b/libjava/java/math/BigDecimal.h
@@ -0,0 +1,126 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_math_BigDecimal__
+#define __java_math_BigDecimal__
+
+#pragma interface
+
+#include <java/lang/Number.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace math
+ {
+ class BigDecimal;
+ class BigInteger;
+ class MathContext;
+ class RoundingMode;
+ }
+ }
+}
+
+class java::math::BigDecimal : public ::java::lang::Number
+{
+
+public:
+ BigDecimal(jint);
+ BigDecimal(jint, ::java::math::MathContext *);
+ BigDecimal(jlong);
+ BigDecimal(jlong, ::java::math::MathContext *);
+ BigDecimal(::java::math::BigInteger *, ::java::math::MathContext *);
+ BigDecimal(::java::lang::String *, ::java::math::MathContext *);
+ BigDecimal(::java::math::BigInteger *);
+ BigDecimal(::java::math::BigInteger *, jint);
+ BigDecimal(::java::math::BigInteger *, jint, ::java::math::MathContext *);
+ BigDecimal(jdouble, ::java::math::MathContext *);
+ BigDecimal(jdouble);
+ BigDecimal(JArray< jchar > *, jint, jint, ::java::math::MathContext *);
+ BigDecimal(JArray< jchar > *, ::java::math::MathContext *);
+ BigDecimal(JArray< jchar > *);
+ BigDecimal(JArray< jchar > *, jint, jint);
+ BigDecimal(::java::lang::String *);
+ static ::java::math::BigDecimal * valueOf(jlong);
+ static ::java::math::BigDecimal * valueOf(jlong, jint);
+ virtual ::java::math::BigDecimal * add(::java::math::BigDecimal *);
+ virtual ::java::math::BigDecimal * add(::java::math::BigDecimal *, ::java::math::MathContext *);
+ virtual ::java::math::BigDecimal * subtract(::java::math::BigDecimal *);
+ virtual ::java::math::BigDecimal * subtract(::java::math::BigDecimal *, ::java::math::MathContext *);
+ virtual ::java::math::BigDecimal * multiply(::java::math::BigDecimal *);
+ virtual ::java::math::BigDecimal * multiply(::java::math::BigDecimal *, ::java::math::MathContext *);
+ virtual ::java::math::BigDecimal * divide(::java::math::BigDecimal *, jint);
+ virtual ::java::math::BigDecimal * divide(::java::math::BigDecimal *, jint, ::java::math::RoundingMode *);
+ virtual ::java::math::BigDecimal * divide(::java::math::BigDecimal *, ::java::math::RoundingMode *);
+ virtual ::java::math::BigDecimal * divide(::java::math::BigDecimal *, jint, jint);
+ virtual ::java::math::BigDecimal * divide(::java::math::BigDecimal *);
+ virtual ::java::math::BigDecimal * remainder(::java::math::BigDecimal *);
+ virtual JArray< ::java::math::BigDecimal * > * divideAndRemainder(::java::math::BigDecimal *);
+ virtual ::java::math::BigDecimal * divideToIntegralValue(::java::math::BigDecimal *);
+private:
+ ::java::math::BigDecimal * floor();
+public:
+ virtual jint target$compareTo(::java::math::BigDecimal *);
+ virtual jboolean equals(::java::lang::Object *);
+ virtual jint hashCode();
+ virtual ::java::math::BigDecimal * max(::java::math::BigDecimal *);
+ virtual ::java::math::BigDecimal * min(::java::math::BigDecimal *);
+ virtual ::java::math::BigDecimal * movePointLeft(jint);
+ virtual ::java::math::BigDecimal * movePointRight(jint);
+ virtual jint signum();
+ virtual jint scale();
+ virtual ::java::math::BigInteger * unscaledValue();
+ virtual ::java::math::BigDecimal * abs();
+ virtual ::java::math::BigDecimal * negate();
+ virtual ::java::math::BigDecimal * negate(::java::math::MathContext *);
+ virtual ::java::math::BigDecimal * plus();
+ virtual ::java::math::BigDecimal * plus(::java::math::MathContext *);
+ virtual ::java::math::BigDecimal * round(::java::math::MathContext *);
+ virtual jint precision();
+ virtual ::java::lang::String * toString();
+ virtual ::java::lang::String * toEngineeringString();
+ virtual ::java::lang::String * toPlainString();
+ virtual ::java::math::BigInteger * toBigInteger();
+ virtual ::java::math::BigInteger * toBigIntegerExact();
+ virtual jint intValue();
+ virtual ::java::math::BigDecimal * stripTrailingZeros();
+ virtual jlong longValue();
+ virtual jfloat floatValue();
+ virtual jdouble doubleValue();
+ virtual ::java::math::BigDecimal * setScale(jint);
+ virtual ::java::math::BigDecimal * setScale(jint, jint);
+ virtual ::java::math::BigDecimal * setScale(jint, ::java::math::RoundingMode *);
+ static ::java::math::BigDecimal * valueOf(jdouble);
+ virtual ::java::math::BigDecimal * scaleByPowerOfTen(jint);
+ virtual ::java::math::BigDecimal * pow(jint);
+ virtual ::java::math::BigDecimal * pow(jint, ::java::math::MathContext *);
+ virtual ::java::math::BigDecimal * abs(::java::math::MathContext *);
+ virtual ::java::math::BigDecimal * ulp();
+ virtual jlong longValueExact();
+ virtual jint intValueExact();
+ virtual jbyte byteValueExact();
+ virtual jshort shortValueExact();
+ virtual jint compareTo(::java::lang::Object *);
+private:
+ ::java::math::BigInteger * __attribute__((aligned(__alignof__( ::java::lang::Number)))) intVal;
+ jint scale__;
+ jint precision__;
+ static const jlong serialVersionUID = 6108874887143696463LL;
+public:
+ static ::java::math::BigDecimal * ZERO;
+ static ::java::math::BigDecimal * ONE;
+ static ::java::math::BigDecimal * TEN;
+ static const jint ROUND_UP = 0;
+ static const jint ROUND_DOWN = 1;
+ static const jint ROUND_CEILING = 2;
+ static const jint ROUND_FLOOR = 3;
+ static const jint ROUND_HALF_UP = 4;
+ static const jint ROUND_HALF_DOWN = 5;
+ static const jint ROUND_HALF_EVEN = 6;
+ static const jint ROUND_UNNECESSARY = 7;
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_math_BigDecimal__
diff --git a/libjava/java/math/BigInteger.h b/libjava/java/math/BigInteger.h
new file mode 100644
index 0000000..e1d4461
--- /dev/null
+++ b/libjava/java/math/BigInteger.h
@@ -0,0 +1,195 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_math_BigInteger__
+#define __java_math_BigInteger__
+
+#pragma interface
+
+#include <java/lang/Number.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace math
+ {
+ class BigInteger;
+ }
+ }
+}
+
+class java::math::BigInteger : public ::java::lang::Number
+{
+
+ BigInteger();
+ BigInteger(jint);
+public:
+ BigInteger(::java::lang::String *, jint);
+ BigInteger(::java::lang::String *);
+ BigInteger(JArray< jbyte > *);
+ BigInteger(jint, JArray< jbyte > *);
+ BigInteger(jint, ::java::util::Random *);
+private:
+ void init(jint, ::java::util::Random *);
+public:
+ BigInteger(jint, jint, ::java::util::Random *);
+ static ::java::math::BigInteger * probablePrime(jint, ::java::util::Random *);
+ static ::java::math::BigInteger * valueOf(jlong);
+private:
+ static ::java::math::BigInteger * make(JArray< jint > *, jint);
+ static JArray< jint > * byteArrayToIntArray(JArray< jbyte > *, jint);
+ static ::java::math::BigInteger * alloc(jint);
+ void realloc(jint);
+ jboolean isNegative();
+public:
+ virtual jint signum();
+private:
+ static jint compareTo(::java::math::BigInteger *, ::java::math::BigInteger *);
+public:
+ virtual jint target$compareTo(::java::math::BigInteger *);
+ virtual ::java::math::BigInteger * min(::java::math::BigInteger *);
+ virtual ::java::math::BigInteger * max(::java::math::BigInteger *);
+private:
+ jboolean isZero();
+ jboolean isOne();
+ static jint wordsNeeded(JArray< jint > *, jint);
+ ::java::math::BigInteger * canonicalize();
+ static ::java::math::BigInteger * add(jint, jint);
+ static ::java::math::BigInteger * add(::java::math::BigInteger *, jint);
+ void setAdd(::java::math::BigInteger *, jint);
+ void setAdd(jint);
+ void set(jlong);
+ void set(JArray< jint > *, jint);
+ void set(::java::math::BigInteger *);
+ static ::java::math::BigInteger * add(::java::math::BigInteger *, ::java::math::BigInteger *, jint);
+public:
+ virtual ::java::math::BigInteger * add(::java::math::BigInteger *);
+ virtual ::java::math::BigInteger * subtract(::java::math::BigInteger *);
+private:
+ static ::java::math::BigInteger * times(::java::math::BigInteger *, jint);
+ static ::java::math::BigInteger * times(::java::math::BigInteger *, ::java::math::BigInteger *);
+public:
+ virtual ::java::math::BigInteger * multiply(::java::math::BigInteger *);
+private:
+ static void divide(jlong, jlong, ::java::math::BigInteger *, ::java::math::BigInteger *, jint);
+ static void divide(::java::math::BigInteger *, ::java::math::BigInteger *, ::java::math::BigInteger *, ::java::math::BigInteger *, jint);
+public:
+ virtual ::java::math::BigInteger * divide(::java::math::BigInteger *);
+ virtual ::java::math::BigInteger * remainder(::java::math::BigInteger *);
+ virtual JArray< ::java::math::BigInteger * > * divideAndRemainder(::java::math::BigInteger *);
+ virtual ::java::math::BigInteger * mod(::java::math::BigInteger *);
+ virtual ::java::math::BigInteger * pow(jint);
+private:
+ static JArray< jint > * euclidInv(jint, jint, jint);
+ static void euclidInv(::java::math::BigInteger *, ::java::math::BigInteger *, ::java::math::BigInteger *, JArray< ::java::math::BigInteger * > *);
+public:
+ virtual ::java::math::BigInteger * modInverse(::java::math::BigInteger *);
+ virtual ::java::math::BigInteger * modPow(::java::math::BigInteger *, ::java::math::BigInteger *);
+private:
+ static jint gcd(jint, jint);
+public:
+ virtual ::java::math::BigInteger * gcd(::java::math::BigInteger *);
+ virtual jboolean isProbablePrime(jint);
+private:
+ void setInvert();
+ void setShiftLeft(::java::math::BigInteger *, jint);
+ void setShiftRight(::java::math::BigInteger *, jint);
+ void setShift(::java::math::BigInteger *, jint);
+ static ::java::math::BigInteger * shift(::java::math::BigInteger *, jint);
+public:
+ virtual ::java::math::BigInteger * shiftLeft(jint);
+ virtual ::java::math::BigInteger * shiftRight(jint);
+private:
+ void format(jint, ::java::lang::StringBuffer *);
+public:
+ virtual ::java::lang::String * toString();
+ virtual ::java::lang::String * toString(jint);
+ virtual jint intValue();
+ virtual jlong longValue();
+ virtual jint hashCode();
+private:
+ static jboolean equals(::java::math::BigInteger *, ::java::math::BigInteger *);
+public:
+ virtual jboolean equals(::java::lang::Object *);
+private:
+ static ::java::math::BigInteger * valueOf(::java::lang::String *, jint);
+ static ::java::math::BigInteger * valueOf(JArray< jbyte > *, jint, jboolean, jint);
+public:
+ virtual jdouble doubleValue();
+ virtual jfloat floatValue();
+private:
+ jboolean checkBits(jint);
+ jdouble roundToDouble(jint, jboolean, jboolean);
+ void getAbsolute(JArray< jint > *);
+ static jboolean negate(JArray< jint > *, JArray< jint > *, jint);
+ void setNegative(::java::math::BigInteger *);
+ void setNegative();
+ static ::java::math::BigInteger * abs(::java::math::BigInteger *);
+public:
+ virtual ::java::math::BigInteger * abs();
+private:
+ static ::java::math::BigInteger * neg(::java::math::BigInteger *);
+public:
+ virtual ::java::math::BigInteger * negate();
+ virtual jint bitLength();
+ virtual JArray< jbyte > * toByteArray();
+private:
+ static jint swappedOp(jint);
+ static ::java::math::BigInteger * bitOp(jint, ::java::math::BigInteger *, ::java::math::BigInteger *);
+ static void setBitOp(::java::math::BigInteger *, jint, ::java::math::BigInteger *, ::java::math::BigInteger *);
+ static ::java::math::BigInteger * and$(::java::math::BigInteger *, jint);
+public:
+ virtual ::java::math::BigInteger * and$(::java::math::BigInteger *);
+ virtual ::java::math::BigInteger * or$(::java::math::BigInteger *);
+ virtual ::java::math::BigInteger * xor$(::java::math::BigInteger *);
+ virtual ::java::math::BigInteger * not$();
+ virtual ::java::math::BigInteger * andNot(::java::math::BigInteger *);
+ virtual ::java::math::BigInteger * clearBit(jint);
+ virtual ::java::math::BigInteger * setBit(jint);
+ virtual jboolean testBit(jint);
+ virtual ::java::math::BigInteger * flipBit(jint);
+ virtual jint getLowestSetBit();
+private:
+ static jint bitCount(jint);
+ static jint bitCount(JArray< jint > *, jint);
+public:
+ virtual jint bitCount();
+private:
+ void readObject(::java::io::ObjectInputStream *);
+ void writeObject(::java::io::ObjectOutputStream *);
+public:
+ virtual jint compareTo(::java::lang::Object *);
+private:
+ jint __attribute__((aligned(__alignof__( ::java::lang::Number)))) ival;
+ JArray< jint > * words;
+ jint bitCount__;
+ jint bitLength__;
+ jint firstNonzeroByteNum;
+ jint lowestSetBit;
+ JArray< jbyte > * magnitude;
+ jint signum__;
+ static const jlong serialVersionUID = -8287574255936472291LL;
+ static const jint minFixNum = -100;
+ static const jint maxFixNum = 1024;
+ static const jint numFixNum = 1125;
+ static JArray< ::java::math::BigInteger * > * smallFixNums;
+public:
+ static ::java::math::BigInteger * ZERO;
+ static ::java::math::BigInteger * ONE;
+ static ::java::math::BigInteger * TEN;
+private:
+ static const jint FLOOR = 1;
+ static const jint CEILING = 2;
+ static const jint TRUNCATE = 3;
+ static const jint ROUND = 4;
+ static JArray< jint > * primes;
+ static JArray< jint > * k;
+ static JArray< jint > * t;
+ static JArray< jbyte > * bit4_count;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_math_BigInteger__
diff --git a/libjava/java/math/MathContext.h b/libjava/java/math/MathContext.h
new file mode 100644
index 0000000..bed8392
--- /dev/null
+++ b/libjava/java/math/MathContext.h
@@ -0,0 +1,46 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_math_MathContext__
+#define __java_math_MathContext__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace math
+ {
+ class MathContext;
+ class RoundingMode;
+ }
+ }
+}
+
+class java::math::MathContext : public ::java::lang::Object
+{
+
+public:
+ MathContext(jint);
+ MathContext(jint, ::java::math::RoundingMode *);
+ MathContext(::java::lang::String *);
+ jboolean equals(::java::lang::Object *);
+ jint getPrecision();
+ ::java::math::RoundingMode * getRoundingMode();
+ ::java::lang::String * toString();
+ jint hashCode();
+ static ::java::math::MathContext * UNLIMITED;
+ static ::java::math::MathContext * DECIMAL32;
+ static ::java::math::MathContext * DECIMAL64;
+ static ::java::math::MathContext * DECIMAL128;
+private:
+ static const jlong serialVersionUID = 5579720004786848255LL;
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) precision;
+ ::java::math::RoundingMode * roundMode;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_math_MathContext__
diff --git a/libjava/java/math/RoundingMode.h b/libjava/java/math/RoundingMode.h
new file mode 100644
index 0000000..b72f7cf
--- /dev/null
+++ b/libjava/java/math/RoundingMode.h
@@ -0,0 +1,46 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_math_RoundingMode__
+#define __java_math_RoundingMode__
+
+#pragma interface
+
+#include <java/lang/Enum.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace math
+ {
+ class RoundingMode;
+ }
+ }
+}
+
+class java::math::RoundingMode : public ::java::lang::Enum
+{
+
+ RoundingMode(::java::lang::String *, jint);
+public:
+ static ::java::math::RoundingMode * valueOf(jint);
+ static JArray< ::java::math::RoundingMode * > * values();
+ static ::java::math::RoundingMode * valueOf(::java::lang::String *);
+ static ::java::math::RoundingMode * UP;
+ static ::java::math::RoundingMode * DOWN;
+ static ::java::math::RoundingMode * CEILING;
+ static ::java::math::RoundingMode * FLOOR;
+ static ::java::math::RoundingMode * HALF_UP;
+ static ::java::math::RoundingMode * HALF_DOWN;
+ static ::java::math::RoundingMode * HALF_EVEN;
+ static ::java::math::RoundingMode * UNNECESSARY;
+private:
+ static const jlong serialVersionUID = 432302042773881265LL;
+ static JArray< ::java::math::RoundingMode * > * ENUM$VALUES;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_math_RoundingMode__
diff --git a/libjava/java/net/Authenticator.h b/libjava/java/net/Authenticator.h
new file mode 100644
index 0000000..b8e2660
--- /dev/null
+++ b/libjava/java/net/Authenticator.h
@@ -0,0 +1,51 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_net_Authenticator__
+#define __java_net_Authenticator__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace net
+ {
+ class Authenticator;
+ class InetAddress;
+ class PasswordAuthentication;
+ }
+ }
+}
+
+class java::net::Authenticator : public ::java::lang::Object
+{
+
+public:
+ static void setDefault(::java::net::Authenticator *);
+ static ::java::net::PasswordAuthentication * requestPasswordAuthentication(::java::net::InetAddress *, jint, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
+ static ::java::net::PasswordAuthentication * requestPasswordAuthentication(::java::lang::String *, ::java::net::InetAddress *, jint, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
+ Authenticator();
+public: // actually protected
+ virtual ::java::net::InetAddress * getRequestingSite();
+ virtual ::java::lang::String * getRequestingHost();
+ virtual jint getRequestingPort();
+ virtual ::java::lang::String * getRequestingProtocol();
+ virtual ::java::lang::String * getRequestingPrompt();
+ virtual ::java::lang::String * getRequestingScheme();
+ virtual ::java::net::PasswordAuthentication * getPasswordAuthentication();
+private:
+ static ::java::net::Authenticator * defaultAuthenticator;
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) host;
+ ::java::net::InetAddress * addr;
+ jint port;
+ ::java::lang::String * protocol;
+ ::java::lang::String * prompt;
+ ::java::lang::String * scheme;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_net_Authenticator__
diff --git a/libjava/java/net/BindException.h b/libjava/java/net/BindException.h
new file mode 100644
index 0000000..6056f55
--- /dev/null
+++ b/libjava/java/net/BindException.h
@@ -0,0 +1,33 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_net_BindException__
+#define __java_net_BindException__
+
+#pragma interface
+
+#include <java/net/SocketException.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace net
+ {
+ class BindException;
+ }
+ }
+}
+
+class java::net::BindException : public ::java::net::SocketException
+{
+
+public:
+ BindException();
+ BindException(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = -5945005768251722951LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_net_BindException__
diff --git a/libjava/java/net/ConnectException.h b/libjava/java/net/ConnectException.h
new file mode 100644
index 0000000..324ff1f
--- /dev/null
+++ b/libjava/java/net/ConnectException.h
@@ -0,0 +1,33 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_net_ConnectException__
+#define __java_net_ConnectException__
+
+#pragma interface
+
+#include <java/net/SocketException.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace net
+ {
+ class ConnectException;
+ }
+ }
+}
+
+class java::net::ConnectException : public ::java::net::SocketException
+{
+
+public:
+ ConnectException();
+ ConnectException(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = 3831404271622369215LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_net_ConnectException__
diff --git a/libjava/java/net/ContentHandler.h b/libjava/java/net/ContentHandler.h
new file mode 100644
index 0000000..62aecff
--- /dev/null
+++ b/libjava/java/net/ContentHandler.h
@@ -0,0 +1,34 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_net_ContentHandler__
+#define __java_net_ContentHandler__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace net
+ {
+ class ContentHandler;
+ class URLConnection;
+ }
+ }
+}
+
+class java::net::ContentHandler : public ::java::lang::Object
+{
+
+public:
+ ContentHandler();
+ virtual ::java::lang::Object * getContent(::java::net::URLConnection *) = 0;
+ virtual ::java::lang::Object * getContent(::java::net::URLConnection *, JArray< ::java::lang::Class * > *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_net_ContentHandler__
diff --git a/libjava/java/net/ContentHandlerFactory.h b/libjava/java/net/ContentHandlerFactory.h
new file mode 100644
index 0000000..ca15331
--- /dev/null
+++ b/libjava/java/net/ContentHandlerFactory.h
@@ -0,0 +1,30 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_net_ContentHandlerFactory__
+#define __java_net_ContentHandlerFactory__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace net
+ {
+ class ContentHandler;
+ class ContentHandlerFactory;
+ }
+ }
+}
+
+class java::net::ContentHandlerFactory : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::net::ContentHandler * createContentHandler(::java::lang::String *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_net_ContentHandlerFactory__
diff --git a/libjava/java/net/DatagramPacket.h b/libjava/java/net/DatagramPacket.h
new file mode 100644
index 0000000..068329e
--- /dev/null
+++ b/libjava/java/net/DatagramPacket.h
@@ -0,0 +1,60 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_net_DatagramPacket__
+#define __java_net_DatagramPacket__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace net
+ {
+ class DatagramPacket;
+ class InetAddress;
+ class SocketAddress;
+ }
+ }
+}
+
+class java::net::DatagramPacket : public ::java::lang::Object
+{
+
+public:
+ DatagramPacket(JArray< jbyte > *, jint, jint);
+ DatagramPacket(JArray< jbyte > *, jint);
+ DatagramPacket(JArray< jbyte > *, jint, jint, ::java::net::InetAddress *, jint);
+ DatagramPacket(JArray< jbyte > *, jint, ::java::net::InetAddress *, jint);
+ DatagramPacket(JArray< jbyte > *, jint, jint, ::java::net::SocketAddress *);
+ DatagramPacket(JArray< jbyte > *, jint, ::java::net::SocketAddress *);
+ ::java::net::InetAddress * getAddress();
+ jint getPort();
+ JArray< jbyte > * getData();
+ jint getOffset();
+ jint getLength();
+ void setAddress(::java::net::InetAddress *);
+ void setPort(jint);
+ void setSocketAddress(::java::net::SocketAddress *);
+ ::java::net::SocketAddress * getSocketAddress();
+ void setData(JArray< jbyte > *);
+ void setData(JArray< jbyte > *, jint, jint);
+ void setLength(jint);
+private:
+ JArray< jbyte > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) buffer;
+ jint offset;
+public: // actually package-private
+ jint length;
+ jint maxlen;
+private:
+ ::java::net::InetAddress * address;
+ jint port;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_net_DatagramPacket__
diff --git a/libjava/java/net/DatagramSocket.h b/libjava/java/net/DatagramSocket.h
new file mode 100644
index 0000000..a1761e1
--- /dev/null
+++ b/libjava/java/net/DatagramSocket.h
@@ -0,0 +1,87 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_net_DatagramSocket__
+#define __java_net_DatagramSocket__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace net
+ {
+ class DatagramPacket;
+ class DatagramSocket;
+ class DatagramSocketImpl;
+ class DatagramSocketImplFactory;
+ class InetAddress;
+ class SocketAddress;
+ }
+ namespace nio
+ {
+ namespace channels
+ {
+ class DatagramChannel;
+ }
+ }
+ }
+}
+
+class java::net::DatagramSocket : public ::java::lang::Object
+{
+
+public: // actually protected
+ DatagramSocket(::java::net::DatagramSocketImpl *);
+public:
+ DatagramSocket();
+ DatagramSocket(jint);
+ DatagramSocket(jint, ::java::net::InetAddress *);
+ DatagramSocket(::java::net::SocketAddress *);
+public: // actually package-private
+ virtual ::java::net::DatagramSocketImpl * getImpl();
+public:
+ virtual void close();
+ virtual ::java::net::InetAddress * getInetAddress();
+ virtual jint getPort();
+ virtual ::java::net::InetAddress * getLocalAddress();
+ virtual jint getLocalPort();
+ virtual jint getSoTimeout();
+ virtual void setSoTimeout(jint);
+ virtual jint getSendBufferSize();
+ virtual void setSendBufferSize(jint);
+ virtual jint getReceiveBufferSize();
+ virtual void setReceiveBufferSize(jint);
+ virtual void connect(::java::net::InetAddress *, jint);
+ virtual void disconnect();
+ virtual void receive(::java::net::DatagramPacket *);
+ virtual void send(::java::net::DatagramPacket *);
+ virtual void bind(::java::net::SocketAddress *);
+ virtual jboolean isClosed();
+ virtual ::java::nio::channels::DatagramChannel * getChannel();
+ virtual void connect(::java::net::SocketAddress *);
+ virtual jboolean isBound();
+ virtual jboolean isConnected();
+ virtual ::java::net::SocketAddress * getRemoteSocketAddress();
+ virtual ::java::net::SocketAddress * getLocalSocketAddress();
+ virtual void setReuseAddress(jboolean);
+ virtual jboolean getReuseAddress();
+ virtual void setBroadcast(jboolean);
+ virtual jboolean getBroadcast();
+ virtual void setTrafficClass(jint);
+ virtual jint getTrafficClass();
+ static void setDatagramSocketImplFactory(::java::net::DatagramSocketImplFactory *);
+private:
+ static ::java::net::DatagramSocketImplFactory * factory;
+ ::java::net::DatagramSocketImpl * __attribute__((aligned(__alignof__( ::java::lang::Object)))) impl;
+ jboolean implCreated;
+ ::java::net::InetAddress * remoteAddress;
+ jint remotePort;
+ jboolean bound;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_net_DatagramSocket__
diff --git a/libjava/java/net/DatagramSocket.java b/libjava/java/net/DatagramSocket.java
new file mode 100644
index 0000000..d8837c0
--- /dev/null
+++ b/libjava/java/net/DatagramSocket.java
@@ -0,0 +1,939 @@
+/* DatagramSocket.java -- A class to model UDP sockets
+ Copyright (C) 1998, 1999, 2000, 2002, 2003, 2004, 2005
+ Free Software Foundation, Inc.
+
+This file is part of GNU Classpath.
+
+GNU Classpath is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+
+GNU Classpath is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU Classpath; see the file COPYING. If not, write to the
+Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+02110-1301 USA.
+
+Linking this library statically or dynamically with other modules is
+making a combined work based on this library. Thus, the terms and
+conditions of the GNU General Public License cover the whole
+combination.
+
+As a special exception, the copyright holders of this library give you
+permission to link this library with independent modules to produce an
+executable, regardless of the license terms of these independent
+modules, and to copy and distribute the resulting executable under
+terms of your choice, provided that you also meet, for each linked
+independent module, the terms and conditions of the license of that
+module. An independent module is a module which is not derived from
+or based on this library. If you modify this library, you may extend
+this exception to your version of the library, but you are not
+obligated to do so. If you do not wish to do so, delete this
+exception statement from your version. */
+
+package java.net;
+
+import gnu.classpath.SystemProperties;
+
+import gnu.java.net.PlainDatagramSocketImpl;
+import gnu.java.nio.DatagramChannelImpl;
+
+import java.io.IOException;
+import java.nio.channels.DatagramChannel;
+import java.nio.channels.IllegalBlockingModeException;
+
+
+/**
+ * Written using on-line Java Platform 1.2 API Specification, as well
+ * as "The Java Class Libraries", 2nd edition (Addison-Wesley, 1998).
+ * Status: Believed complete and correct.
+ */
+/**
+ * This class models a connectionless datagram socket that sends
+ * individual packets of data across the network. In the TCP/IP world,
+ * this means UDP. Datagram packets do not have guaranteed delivery,
+ * or any guarantee about the order the data will be received on the
+ * remote host.
+ *
+ * @author Aaron M. Renn (arenn@urbanophile.com)
+ * @author Warren Levy (warrenl@cygnus.com)
+ * @date May 3, 1999.
+ */
+public class DatagramSocket
+{
+ /**
+ * This is the user DatagramSocketImplFactory for this class. If this
+ * variable is null, a default factory is used.
+ */
+ private static DatagramSocketImplFactory factory;
+
+ /**
+ * This is the implementation object used by this socket.
+ */
+ private DatagramSocketImpl impl;
+
+ /**
+ * True if socket implementation was created.
+ */
+ private boolean implCreated;
+
+ /**
+ * This is the address we are "connected" to
+ */
+ private InetAddress remoteAddress;
+
+ /**
+ * This is the port we are "connected" to
+ */
+ private int remotePort = -1;
+
+ /**
+ * True if socket is bound.
+ */
+ private boolean bound;
+
+ /**
+ * Creates a <code>DatagramSocket</code> from a specified
+ * <code>DatagramSocketImpl</code> instance
+ *
+ * @param impl The <code>DatagramSocketImpl</code> the socket will be
+ * created from
+ *
+ * @since 1.4
+ */
+ protected DatagramSocket(DatagramSocketImpl impl)
+ {
+ if (impl == null)
+ throw new NullPointerException("impl may not be null");
+
+ this.impl = impl;
+ this.remoteAddress = null;
+ this.remotePort = -1;
+ }
+
+ /**
+ * Initializes a new instance of <code>DatagramSocket</code> that binds to
+ * a random port and every address on the local machine.
+ *
+ * @exception SocketException If an error occurs.
+ * @exception SecurityException If a security manager exists and
+ * its <code>checkListen</code> method doesn't allow the operation.
+ */
+ public DatagramSocket() throws SocketException
+ {
+ this(new InetSocketAddress(0));
+ }
+
+ /**
+ * Initializes a new instance of <code>DatagramSocket</code> that binds to
+ * the specified port and every address on the local machine.
+ *
+ * @param port The local port number to bind to.
+ *
+ * @exception SecurityException If a security manager exists and its
+ * <code>checkListen</code> method doesn't allow the operation.
+ * @exception SocketException If an error occurs.
+ */
+ public DatagramSocket(int port) throws SocketException
+ {
+ this(new InetSocketAddress(port));
+ }
+
+ /**
+ * Initializes a new instance of <code>DatagramSocket</code> that binds to
+ * the specified local port and address.
+ *
+ * @param port The local port number to bind to.
+ * @param addr The local address to bind to.
+ *
+ * @exception SecurityException If a security manager exists and its
+ * checkListen method doesn't allow the operation.
+ * @exception SocketException If an error occurs.
+ */
+ public DatagramSocket(int port, InetAddress addr) throws SocketException
+ {
+ this(new InetSocketAddress(addr, port));
+ }
+
+ /**
+ * Initializes a new instance of <code>DatagramSocket</code> that binds to
+ * the specified local port and address.
+ *
+ * @param address The local address and port number to bind to.
+ *
+ * @exception SecurityException If a security manager exists and its
+ * <code>checkListen</code> method doesn't allow the operation.
+ * @exception SocketException If an error occurs.
+ *
+ * @since 1.4
+ */
+ public DatagramSocket(SocketAddress address) throws SocketException
+ {
+ String propVal = SystemProperties.getProperty("impl.prefix");
+ if (propVal == null || propVal.equals(""))
+ {
+ if (factory != null)
+ impl = factory.createDatagramSocketImpl();
+ else
+ impl = new PlainDatagramSocketImpl();
+ }
+ else
+ try
+ {
+ impl =
+ (DatagramSocketImpl) Class.forName("java.net." + propVal
+ + "DatagramSocketImpl")
+ .newInstance();
+ }
+ catch (Exception e)
+ {
+ System.err.println("Could not instantiate class: java.net."
+ + propVal + "DatagramSocketImpl");
+ impl = new PlainDatagramSocketImpl();
+ }
+
+ if (address != null)
+ bind(address);
+ }
+
+ // This needs to be accessible from java.net.MulticastSocket
+ DatagramSocketImpl getImpl() throws SocketException
+ {
+ try
+ {
+ if (! implCreated)
+ {
+ impl.create();
+ implCreated = true;
+ }
+
+ return impl;
+ }
+ catch (IOException e)
+ {
+ SocketException se = new SocketException();
+ se.initCause(e);
+ throw se;
+ }
+ }
+
+ /**
+ * Closes this datagram socket.
+ */
+ public void close()
+ {
+ if (isClosed())
+ return;
+
+ try
+ {
+ getImpl().close();
+ }
+ catch (SocketException e)
+ {
+ // Ignore this case, just close the socket in finally clause.
+ }
+ finally
+ {
+ remoteAddress = null;
+ remotePort = -1;
+ impl = null;
+ }
+
+ try
+ {
+ if (getChannel() != null)
+ getChannel().close();
+ }
+ catch (IOException e)
+ {
+ // Do nothing.
+ }
+ }
+
+ /**
+ * This method returns the remote address to which this socket is
+ * connected. If this socket is not connected, then this method will
+ * return <code>null</code>.
+ *
+ * @return The remote address.
+ *
+ * @since 1.2
+ */
+ public InetAddress getInetAddress()
+ {
+ return remoteAddress;
+ }
+
+ /**
+ * This method returns the remote port to which this socket is
+ * connected. If this socket is not connected, then this method will
+ * return -1.
+ *
+ * @return The remote port.
+ *
+ * @since 1.2
+ */
+ public int getPort()
+ {
+ return remotePort;
+ }
+
+ /**
+ * Returns the local address this datagram socket is bound to.
+ *
+ * @return The local address is the socket is bound or null
+ *
+ * @since 1.1
+ */
+ public InetAddress getLocalAddress()
+ {
+ if (! isBound())
+ return null;
+
+ InetAddress localAddr;
+
+ try
+ {
+ localAddr =
+ (InetAddress) getImpl().getOption(SocketOptions.SO_BINDADDR);
+
+ SecurityManager s = System.getSecurityManager();
+ if (s != null)
+ s.checkConnect(localAddr.getHostName(), -1);
+ }
+ catch (SecurityException e)
+ {
+ localAddr = InetAddress.ANY_IF;
+ }
+ catch (SocketException e)
+ {
+ // This cannot happen as we are bound.
+ return null;
+ }
+
+ return localAddr;
+ }
+
+ /**
+ * Returns the local port this socket is bound to.
+ *
+ * @return The local port number.
+ */
+ public int getLocalPort()
+ {
+ if (isClosed())
+ return -1;
+
+ try
+ {
+ return getImpl().getLocalPort();
+ }
+ catch (SocketException e)
+ {
+ // This cannot happen as we are bound.
+ return 0;
+ }
+ }
+
+ /**
+ * Returns the value of the socket's SO_TIMEOUT setting. If this method
+ * returns 0 then SO_TIMEOUT is disabled.
+ *
+ * @return The current timeout in milliseconds.
+ *
+ * @exception SocketException If an error occurs.
+ *
+ * @since 1.1
+ */
+ public synchronized int getSoTimeout() throws SocketException
+ {
+ if (isClosed())
+ throw new SocketException("socket is closed");
+
+ Object buf = getImpl().getOption(SocketOptions.SO_TIMEOUT);
+
+ if (buf instanceof Integer)
+ return ((Integer) buf).intValue();
+
+ throw new SocketException("unexpected type");
+ }
+
+ /**
+ * Sets the value of the socket's SO_TIMEOUT value. A value of 0 will
+ * disable SO_TIMEOUT. Any other value is the number of milliseconds
+ * a socket read/write will block before timing out.
+ *
+ * @param timeout The new SO_TIMEOUT value in milliseconds.
+ *
+ * @exception SocketException If an error occurs.
+ *
+ * @since 1.1
+ */
+ public synchronized void setSoTimeout(int timeout) throws SocketException
+ {
+ if (isClosed())
+ throw new SocketException("socket is closed");
+
+ if (timeout < 0)
+ throw new IllegalArgumentException("Invalid timeout: " + timeout);
+
+ getImpl().setOption(SocketOptions.SO_TIMEOUT, new Integer(timeout));
+ }
+
+ /**
+ * This method returns the value of the system level socket option
+ * SO_SNDBUF, which is used by the operating system to tune buffer
+ * sizes for data transfers.
+ *
+ * @return The send buffer size.
+ *
+ * @exception SocketException If an error occurs.
+ *
+ * @since 1.2
+ */
+ public int getSendBufferSize() throws SocketException
+ {
+ if (isClosed())
+ throw new SocketException("socket is closed");
+
+ Object buf = getImpl().getOption(SocketOptions.SO_SNDBUF);
+
+ if (buf instanceof Integer)
+ return ((Integer) buf).intValue();
+
+ throw new SocketException("unexpected type");
+ }
+
+ /**
+ * This method sets the value for the system level socket option
+ * SO_SNDBUF to the specified value. Note that valid values for this
+ * option are specific to a given operating system.
+ *
+ * @param size The new send buffer size.
+ *
+ * @exception SocketException If an error occurs.
+ * @exception IllegalArgumentException If size is 0 or negative.
+ *
+ * @since 1.2
+ */
+ public void setSendBufferSize(int size) throws SocketException
+ {
+ if (isClosed())
+ throw new SocketException("socket is closed");
+
+ if (size < 0)
+ throw new IllegalArgumentException("Buffer size is less than 0");
+
+ getImpl().setOption(SocketOptions.SO_SNDBUF, new Integer(size));
+ }
+
+ /**
+ * This method returns the value of the system level socket option
+ * SO_RCVBUF, which is used by the operating system to tune buffer
+ * sizes for data transfers.
+ *
+ * @return The receive buffer size.
+ *
+ * @exception SocketException If an error occurs.
+ *
+ * @since 1.2
+ */
+ public int getReceiveBufferSize() throws SocketException
+ {
+ if (isClosed())
+ throw new SocketException("socket is closed");
+
+ Object buf = getImpl().getOption(SocketOptions.SO_RCVBUF);
+
+ if (buf instanceof Integer)
+ return ((Integer) buf).intValue();
+
+ throw new SocketException("unexpected type");
+ }
+
+ /**
+ * This method sets the value for the system level socket option
+ * SO_RCVBUF to the specified value. Note that valid values for this
+ * option are specific to a given operating system.
+ *
+ * @param size The new receive buffer size.
+ *
+ * @exception SocketException If an error occurs.
+ * @exception IllegalArgumentException If size is 0 or negative.
+ *
+ * @since 1.2
+ */
+ public void setReceiveBufferSize(int size) throws SocketException
+ {
+ if (isClosed())
+ throw new SocketException("socket is closed");
+
+ if (size < 0)
+ throw new IllegalArgumentException("Buffer size is less than 0");
+
+ getImpl().setOption(SocketOptions.SO_RCVBUF, new Integer(size));
+ }
+
+ /**
+ * This method connects this socket to the specified address and port.
+ * When a datagram socket is connected, it will only send or receive
+ * packets to and from the host to which it is connected. A multicast
+ * socket that is connected may only send and not receive packets.
+ *
+ * @param address The address to connect this socket to.
+ * @param port The port to connect this socket to.
+ *
+ * @exception IllegalArgumentException If address or port are invalid.
+ * @exception SecurityException If the caller is not allowed to send
+ * datagrams to or receive from this address and port.
+ *
+ * @since 1.2
+ */
+ public void connect(InetAddress address, int port)
+ {
+ if (address == null)
+ throw new IllegalArgumentException("Connect address may not be null");
+
+ if ((port < 1) || (port > 65535))
+ throw new IllegalArgumentException("Port number is illegal: " + port);
+
+ SecurityManager sm = System.getSecurityManager();
+ if (sm != null)
+ sm.checkConnect(address.getHostName(), port);
+
+ try
+ {
+ getImpl().connect(address, port);
+ remoteAddress = address;
+ remotePort = port;
+ }
+ catch (SocketException e)
+ {
+ // This means simply not connected or connect not implemented.
+ }
+ }
+
+ /**
+ * This method disconnects this socket from the address/port it was
+ * connected to. If the socket was not connected in the first place,
+ * this method does nothing.
+ *
+ * @since 1.2
+ */
+ public void disconnect()
+ {
+ if (! isConnected())
+ return;
+
+ try
+ {
+ getImpl().disconnect();
+ }
+ catch (SocketException e)
+ {
+ // This cannot happen as we are connected.
+ }
+ finally
+ {
+ remoteAddress = null;
+ remotePort = -1;
+ }
+ }
+
+ /**
+ * Reads a datagram packet from the socket. Note that this method
+ * will block until a packet is received from the network. On return,
+ * the passed in <code>DatagramPacket</code> is populated with the data
+ * received and all the other information about the packet.
+ *
+ * @param p A <code>DatagramPacket</code> for storing the data
+ *
+ * @exception IOException If an error occurs.
+ * @exception SocketTimeoutException If setSoTimeout was previously called
+ * and the timeout has expired.
+ * @exception PortUnreachableException If the socket is connected to a
+ * currently unreachable destination. Note, there is no guarantee that the
+ * exception will be thrown.
+ * @exception IllegalBlockingModeException If this socket has an associated
+ * channel, and the channel is in non-blocking mode.
+ * @exception SecurityException If a security manager exists and its
+ * checkAccept method doesn't allow the receive.
+ */
+ public synchronized void receive(DatagramPacket p) throws IOException
+ {
+ if (isClosed())
+ throw new SocketException("socket is closed");
+
+ if (remoteAddress != null && remoteAddress.isMulticastAddress())
+ throw new IOException
+ ("Socket connected to a multicast address my not receive");
+
+ if (getChannel() != null && ! getChannel().isBlocking()
+ && ! ((DatagramChannelImpl) getChannel()).isInChannelOperation())
+ throw new IllegalBlockingModeException();
+
+ getImpl().receive(p);
+
+ SecurityManager s = System.getSecurityManager();
+ if (s != null && isConnected())
+ s.checkAccept(p.getAddress().getHostName(), p.getPort());
+ }
+
+ /**
+ * Sends the specified packet. The host and port to which the packet
+ * are to be sent should be set inside the packet.
+ *
+ * @param p The datagram packet to send.
+ *
+ * @exception IOException If an error occurs.
+ * @exception SecurityException If a security manager exists and its
+ * checkMulticast or checkConnect method doesn't allow the send.
+ * @exception PortUnreachableException If the socket is connected to a
+ * currently unreachable destination. Note, there is no guarantee that the
+ * exception will be thrown.
+ * @exception IllegalBlockingModeException If this socket has an associated
+ * channel, and the channel is in non-blocking mode.
+ */
+ public void send(DatagramPacket p) throws IOException
+ {
+ if (isClosed())
+ throw new SocketException("socket is closed");
+
+ // JDK1.2: Don't do security checks if socket is connected; see jdk1.2 api.
+ SecurityManager s = System.getSecurityManager();
+ if (s != null && ! isConnected())
+ {
+ InetAddress addr = p.getAddress();
+ if (addr.isMulticastAddress())
+ s.checkMulticast(addr);
+ else
+ s.checkConnect(addr.getHostAddress(), p.getPort());
+ }
+
+ if (isConnected())
+ {
+ if (p.getAddress() != null
+ && (remoteAddress != p.getAddress() || remotePort != p.getPort()))
+ throw new IllegalArgumentException
+ ("DatagramPacket address does not match remote address");
+ }
+
+ // FIXME: if this is a subclass of MulticastSocket,
+ // use getTimeToLive for TTL val.
+ if (getChannel() != null && ! getChannel().isBlocking()
+ && ! ((DatagramChannelImpl) getChannel()).isInChannelOperation())
+ throw new IllegalBlockingModeException();
+
+ getImpl().send(p);
+ }
+
+ /**
+ * Binds the socket to the given socket address.
+ *
+ * @param address The socket address to bind to.
+ *
+ * @exception SocketException If an error occurs.
+ * @exception SecurityException If a security manager exists and
+ * its checkListen method doesn't allow the operation.
+ * @exception IllegalArgumentException If address type is not supported.
+ *
+ * @since 1.4
+ */
+ public void bind(SocketAddress address) throws SocketException
+ {
+ if (isClosed())
+ throw new SocketException("socket is closed");
+
+ if (! (address instanceof InetSocketAddress))
+ throw new IllegalArgumentException("unsupported address type");
+
+ InetAddress addr = ((InetSocketAddress) address).getAddress();
+ int port = ((InetSocketAddress) address).getPort();
+
+ if (port < 0 || port > 65535)
+ throw new IllegalArgumentException("Invalid port: " + port);
+
+ SecurityManager s = System.getSecurityManager();
+ if (s != null)
+ s.checkListen(port);
+
+ if (addr == null)
+ addr = InetAddress.ANY_IF;
+
+ try
+ {
+ getImpl().bind(port, addr);
+ bound = true;
+ }
+ catch (SocketException exception)
+ {
+ getImpl().close();
+ throw exception;
+ }
+ catch (RuntimeException exception)
+ {
+ getImpl().close();
+ throw exception;
+ }
+ catch (Error error)
+ {
+ getImpl().close();
+ throw error;
+ }
+ }
+
+ /**
+ * Checks if the datagram socket is closed.
+ *
+ * @return True if socket is closed, false otherwise.
+ *
+ * @since 1.4
+ */
+ public boolean isClosed()
+ {
+ return impl == null;
+ }
+
+ /**
+ * Returns the datagram channel assoziated with this datagram socket.
+ *
+ * @return The associated <code>DatagramChannel</code> object or null
+ *
+ * @since 1.4
+ */
+ public DatagramChannel getChannel()
+ {
+ return null;
+ }
+
+ /**
+ * Connects the datagram socket to a specified socket address.
+ *
+ * @param address The socket address to connect to.
+ *
+ * @exception SocketException If an error occurs.
+ * @exception IllegalArgumentException If address type is not supported.
+ *
+ * @since 1.4
+ */
+ public void connect(SocketAddress address) throws SocketException
+ {
+ if (isClosed())
+ throw new SocketException("socket is closed");
+
+ if (! (address instanceof InetSocketAddress))
+ throw new IllegalArgumentException("unsupported address type");
+
+ InetSocketAddress tmp = (InetSocketAddress) address;
+ connect(tmp.getAddress(), tmp.getPort());
+ }
+
+ /**
+ * Returns the binding state of the socket.
+ *
+ * @return True if socket bound, false otherwise.
+ *
+ * @since 1.4
+ */
+ public boolean isBound()
+ {
+ return bound;
+ }
+
+ /**
+ * Returns the connection state of the socket.
+ *
+ * @return True if socket is connected, false otherwise.
+ *
+ * @since 1.4
+ */
+ public boolean isConnected()
+ {
+ return remoteAddress != null;
+ }
+
+ /**
+ * Returns the SocketAddress of the host this socket is conneted to
+ * or null if this socket is not connected.
+ *
+ * @return The socket address of the remote host if connected or null
+ *
+ * @since 1.4
+ */
+ public SocketAddress getRemoteSocketAddress()
+ {
+ if (! isConnected())
+ return null;
+
+ return new InetSocketAddress(remoteAddress, remotePort);
+ }
+
+ /**
+ * Returns the local SocketAddress this socket is bound to.
+ *
+ * @return The local SocketAddress or null if the socket is not bound.
+ *
+ * @since 1.4
+ */
+ public SocketAddress getLocalSocketAddress()
+ {
+ if (! isBound())
+ return null;
+
+ return new InetSocketAddress(getLocalAddress(), getLocalPort());
+ }
+
+ /**
+ * Enables/Disables SO_REUSEADDR.
+ *
+ * @param on Whether or not to have SO_REUSEADDR turned on.
+ *
+ * @exception SocketException If an error occurs.
+ *
+ * @since 1.4
+ */
+ public void setReuseAddress(boolean on) throws SocketException
+ {
+ if (isClosed())
+ throw new SocketException("socket is closed");
+
+ getImpl().setOption(SocketOptions.SO_REUSEADDR, Boolean.valueOf(on));
+ }
+
+ /**
+ * Checks if SO_REUSEADDR is enabled.
+ *
+ * @return True if SO_REUSEADDR is set on the socket, false otherwise.
+ *
+ * @exception SocketException If an error occurs.
+ *
+ * @since 1.4
+ */
+ public boolean getReuseAddress() throws SocketException
+ {
+ if (isClosed())
+ throw new SocketException("socket is closed");
+
+ Object buf = getImpl().getOption(SocketOptions.SO_REUSEADDR);
+
+ if (buf instanceof Boolean)
+ return ((Boolean) buf).booleanValue();
+
+ throw new SocketException("unexpected type");
+ }
+
+ /**
+ * Enables/Disables SO_BROADCAST
+ *
+ * @param enable True if SO_BROADCAST should be enabled, false otherwise.
+ *
+ * @exception SocketException If an error occurs
+ *
+ * @since 1.4
+ */
+ public void setBroadcast(boolean enable) throws SocketException
+ {
+ if (isClosed())
+ throw new SocketException("socket is closed");
+
+ getImpl().setOption(SocketOptions.SO_BROADCAST, Boolean.valueOf(enable));
+ }
+
+ /**
+ * Checks if SO_BROADCAST is enabled
+ *
+ * @return Whether SO_BROADCAST is set
+ *
+ * @exception SocketException If an error occurs
+ *
+ * @since 1.4
+ */
+ public boolean getBroadcast() throws SocketException
+ {
+ if (isClosed())
+ throw new SocketException("socket is closed");
+
+ Object buf = getImpl().getOption(SocketOptions.SO_BROADCAST);
+
+ if (buf instanceof Boolean)
+ return ((Boolean) buf).booleanValue();
+
+ throw new SocketException("unexpected type");
+ }
+
+ /**
+ * Sets the traffic class value
+ *
+ * @param tc The traffic class
+ *
+ * @exception SocketException If an error occurs
+ * @exception IllegalArgumentException If tc value is illegal
+ *
+ * @see DatagramSocket#getTrafficClass()
+ *
+ * @since 1.4
+ */
+ public void setTrafficClass(int tc) throws SocketException
+ {
+ if (isClosed())
+ throw new SocketException("socket is closed");
+
+ if (tc < 0 || tc > 255)
+ throw new IllegalArgumentException();
+
+ getImpl().setOption(SocketOptions.IP_TOS, new Integer(tc));
+ }
+
+ /**
+ * Returns the current traffic class
+ *
+ * @return The current traffic class.
+ *
+ * @see DatagramSocket#setTrafficClass(int tc)
+ *
+ * @exception SocketException If an error occurs
+ *
+ * @since 1.4
+ */
+ public int getTrafficClass() throws SocketException
+ {
+ if (isClosed())
+ throw new SocketException("socket is closed");
+
+ Object buf = getImpl().getOption(SocketOptions.IP_TOS);
+
+ if (buf instanceof Integer)
+ return ((Integer) buf).intValue();
+
+ throw new SocketException("unexpected type");
+ }
+
+ /**
+ * Sets the datagram socket implementation factory for the application
+ *
+ * @param fac The factory to set
+ *
+ * @exception IOException If an error occurs
+ * @exception SocketException If the factory is already defined
+ * @exception SecurityException If a security manager exists and its
+ * checkSetFactory method doesn't allow the operation
+ */
+ public static void setDatagramSocketImplFactory(DatagramSocketImplFactory fac)
+ throws IOException
+ {
+ if (factory != null)
+ throw new SocketException("DatagramSocketImplFactory already defined");
+
+ SecurityManager sm = System.getSecurityManager();
+ if (sm != null)
+ sm.checkSetFactory();
+
+ factory = fac;
+ }
+}
diff --git a/libjava/java/net/DatagramSocketImpl.h b/libjava/java/net/DatagramSocketImpl.h
new file mode 100644
index 0000000..e29991b
--- /dev/null
+++ b/libjava/java/net/DatagramSocketImpl.h
@@ -0,0 +1,60 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_net_DatagramSocketImpl__
+#define __java_net_DatagramSocketImpl__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace net
+ {
+ class DatagramPacket;
+ class DatagramSocketImpl;
+ class InetAddress;
+ class NetworkInterface;
+ class SocketAddress;
+ }
+ }
+}
+
+class java::net::DatagramSocketImpl : public ::java::lang::Object
+{
+
+public:
+ DatagramSocketImpl();
+public: // actually protected
+ virtual void bind(jint, ::java::net::InetAddress *) = 0;
+ virtual void close() = 0;
+ virtual void create() = 0;
+ virtual jint peek(::java::net::InetAddress *) = 0;
+ virtual jint peekData(::java::net::DatagramPacket *) = 0;
+ virtual void send(::java::net::DatagramPacket *) = 0;
+ virtual void receive(::java::net::DatagramPacket *) = 0;
+ virtual void connect(::java::net::InetAddress *, jint);
+ virtual void disconnect();
+ virtual void setTTL(jbyte) = 0;
+ virtual jbyte getTTL() = 0;
+ virtual void setTimeToLive(jint) = 0;
+ virtual jint getTimeToLive() = 0;
+ virtual void join(::java::net::InetAddress *) = 0;
+ virtual void leave(::java::net::InetAddress *) = 0;
+ virtual void joinGroup(::java::net::SocketAddress *, ::java::net::NetworkInterface *) = 0;
+ virtual void leaveGroup(::java::net::SocketAddress *, ::java::net::NetworkInterface *) = 0;
+ virtual ::java::io::FileDescriptor * getFileDescriptor();
+ virtual jint getLocalPort();
+public:
+ virtual void setOption(jint, ::java::lang::Object *) = 0;
+ virtual ::java::lang::Object * getOption(jint) = 0;
+public: // actually protected
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) localPort;
+ ::java::io::FileDescriptor * fd;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_net_DatagramSocketImpl__
diff --git a/libjava/java/net/DatagramSocketImplFactory.h b/libjava/java/net/DatagramSocketImplFactory.h
new file mode 100644
index 0000000..15e1780
--- /dev/null
+++ b/libjava/java/net/DatagramSocketImplFactory.h
@@ -0,0 +1,30 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_net_DatagramSocketImplFactory__
+#define __java_net_DatagramSocketImplFactory__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace net
+ {
+ class DatagramSocketImpl;
+ class DatagramSocketImplFactory;
+ }
+ }
+}
+
+class java::net::DatagramSocketImplFactory : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::net::DatagramSocketImpl * createDatagramSocketImpl() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_net_DatagramSocketImplFactory__
diff --git a/libjava/java/net/FileNameMap.h b/libjava/java/net/FileNameMap.h
new file mode 100644
index 0000000..916f140
--- /dev/null
+++ b/libjava/java/net/FileNameMap.h
@@ -0,0 +1,29 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_net_FileNameMap__
+#define __java_net_FileNameMap__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace net
+ {
+ class FileNameMap;
+ }
+ }
+}
+
+class java::net::FileNameMap : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::lang::String * getContentTypeFor(::java::lang::String *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_net_FileNameMap__
diff --git a/libjava/java/net/HttpURLConnection.h b/libjava/java/net/HttpURLConnection.h
new file mode 100644
index 0000000..d192e33
--- /dev/null
+++ b/libjava/java/net/HttpURLConnection.h
@@ -0,0 +1,101 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_net_HttpURLConnection__
+#define __java_net_HttpURLConnection__
+
+#pragma interface
+
+#include <java/net/URLConnection.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace net
+ {
+ class HttpURLConnection;
+ class URL;
+ }
+ namespace security
+ {
+ class Permission;
+ }
+ }
+}
+
+class java::net::HttpURLConnection : public ::java::net::URLConnection
+{
+
+public: // actually protected
+ HttpURLConnection(::java::net::URL *);
+public:
+ virtual void disconnect() = 0;
+ virtual jboolean usingProxy() = 0;
+ static void setFollowRedirects(jboolean);
+ static jboolean getFollowRedirects();
+ virtual jboolean getInstanceFollowRedirects();
+ virtual void setInstanceFollowRedirects(jboolean);
+ virtual void setRequestMethod(::java::lang::String *);
+ virtual ::java::lang::String * getRequestMethod();
+ virtual jint getResponseCode();
+ virtual ::java::lang::String * getResponseMessage();
+private:
+ void getResponseVals();
+public:
+ virtual ::java::security::Permission * getPermission();
+ virtual ::java::io::InputStream * getErrorStream();
+ virtual jlong getHeaderFieldDate(::java::lang::String *, jlong);
+public: // actually package-private
+ static const jint HTTP_CONTINUE = 100;
+public:
+ static const jint HTTP_OK = 200;
+ static const jint HTTP_CREATED = 201;
+ static const jint HTTP_ACCEPTED = 202;
+ static const jint HTTP_NOT_AUTHORITATIVE = 203;
+ static const jint HTTP_NO_CONTENT = 204;
+ static const jint HTTP_RESET = 205;
+ static const jint HTTP_PARTIAL = 206;
+ static const jint HTTP_MULT_CHOICE = 300;
+ static const jint HTTP_MOVED_PERM = 301;
+ static const jint HTTP_MOVED_TEMP = 302;
+ static const jint HTTP_SEE_OTHER = 303;
+ static const jint HTTP_NOT_MODIFIED = 304;
+ static const jint HTTP_USE_PROXY = 305;
+ static const jint HTTP_BAD_REQUEST = 400;
+ static const jint HTTP_UNAUTHORIZED = 401;
+ static const jint HTTP_PAYMENT_REQUIRED = 402;
+ static const jint HTTP_FORBIDDEN = 403;
+ static const jint HTTP_NOT_FOUND = 404;
+ static const jint HTTP_BAD_METHOD = 405;
+ static const jint HTTP_NOT_ACCEPTABLE = 406;
+ static const jint HTTP_PROXY_AUTH = 407;
+ static const jint HTTP_CLIENT_TIMEOUT = 408;
+ static const jint HTTP_CONFLICT = 409;
+ static const jint HTTP_GONE = 410;
+ static const jint HTTP_LENGTH_REQUIRED = 411;
+ static const jint HTTP_PRECON_FAILED = 412;
+ static const jint HTTP_ENTITY_TOO_LARGE = 413;
+ static const jint HTTP_REQ_TOO_LONG = 414;
+ static const jint HTTP_UNSUPPORTED_TYPE = 415;
+ static const jint HTTP_SERVER_ERROR = 500;
+ static const jint HTTP_INTERNAL_ERROR = 500;
+ static const jint HTTP_NOT_IMPLEMENTED = 501;
+ static const jint HTTP_BAD_GATEWAY = 502;
+ static const jint HTTP_UNAVAILABLE = 503;
+ static const jint HTTP_GATEWAY_TIMEOUT = 504;
+ static const jint HTTP_VERSION = 505;
+private:
+ static jboolean followRedirects;
+ static ::java::lang::String * valid_methods;
+public: // actually protected
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::net::URLConnection)))) method;
+ jint responseCode;
+ ::java::lang::String * responseMessage;
+ jboolean instanceFollowRedirects;
+private:
+ jboolean gotResponseVals;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_net_HttpURLConnection__
diff --git a/libjava/java/net/Inet4Address.h b/libjava/java/net/Inet4Address.h
new file mode 100644
index 0000000..5ff1315
--- /dev/null
+++ b/libjava/java/net/Inet4Address.h
@@ -0,0 +1,52 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_net_Inet4Address__
+#define __java_net_Inet4Address__
+
+#pragma interface
+
+#include <java/net/InetAddress.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace net
+ {
+ class Inet4Address;
+ }
+ }
+}
+
+class java::net::Inet4Address : public ::java::net::InetAddress
+{
+
+ ::java::lang::Object * writeReplace();
+public: // actually package-private
+ Inet4Address(JArray< jbyte > *, ::java::lang::String *);
+public:
+ jboolean isMulticastAddress();
+ jboolean isLoopbackAddress();
+ jboolean isAnyLocalAddress();
+ jboolean isLinkLocalAddress();
+ jboolean isSiteLocalAddress();
+ jboolean isMCGlobal();
+ jboolean isMCNodeLocal();
+ jboolean isMCLinkLocal();
+ jboolean isMCSiteLocal();
+ jboolean isMCOrgLocal();
+ JArray< jbyte > * getAddress();
+ ::java::lang::String * getHostAddress();
+ jint hashCode();
+ jboolean equals(::java::lang::Object *);
+public: // actually package-private
+ static const jlong serialVersionUID = 3286316764910316507LL;
+private:
+ static const jint AF_INET = 2;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_net_Inet4Address__
diff --git a/libjava/java/net/Inet6Address.h b/libjava/java/net/Inet6Address.h
new file mode 100644
index 0000000..933a478
--- /dev/null
+++ b/libjava/java/net/Inet6Address.h
@@ -0,0 +1,66 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_net_Inet6Address__
+#define __java_net_Inet6Address__
+
+#pragma interface
+
+#include <java/net/InetAddress.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace net
+ {
+ class Inet6Address;
+ class NetworkInterface;
+ }
+ }
+}
+
+class java::net::Inet6Address : public ::java::net::InetAddress
+{
+
+public: // actually package-private
+ Inet6Address(JArray< jbyte > *, ::java::lang::String *);
+public:
+ jboolean isMulticastAddress();
+ jboolean isAnyLocalAddress();
+ jboolean isLoopbackAddress();
+ jboolean isLinkLocalAddress();
+ jboolean isSiteLocalAddress();
+ jboolean isMCGlobal();
+ jboolean isMCNodeLocal();
+ jboolean isMCLinkLocal();
+ jboolean isMCSiteLocal();
+ jboolean isMCOrgLocal();
+ JArray< jbyte > * getAddress();
+ static ::java::net::Inet6Address * getByAddress(::java::lang::String *, JArray< jbyte > *, jint);
+ static ::java::net::Inet6Address * getByAddress(::java::lang::String *, JArray< jbyte > *, ::java::net::NetworkInterface *);
+ ::java::net::NetworkInterface * getScopedInterface();
+ jint getScopeId();
+ ::java::lang::String * getHostAddress();
+ jint hashCode();
+ jboolean equals(::java::lang::Object *);
+ jboolean isIPv4CompatibleAddress();
+private:
+ void readObject(::java::io::ObjectInputStream *);
+ void writeObject(::java::io::ObjectOutputStream *);
+public: // actually package-private
+ static const jlong serialVersionUID = 6880410070516793377LL;
+ JArray< jbyte > * __attribute__((aligned(__alignof__( ::java::net::InetAddress)))) ipaddress;
+private:
+ jint scope_id;
+ jboolean scope_id_set;
+ jboolean scope_ifname_set;
+ ::java::lang::String * ifname;
+ ::java::net::NetworkInterface * nif;
+ static const jint AF_INET6 = 10;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_net_Inet6Address__
diff --git a/libjava/java/net/InetAddress.h b/libjava/java/net/InetAddress.h
new file mode 100644
index 0000000..8cde4fb
--- /dev/null
+++ b/libjava/java/net/InetAddress.h
@@ -0,0 +1,76 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_net_InetAddress__
+#define __java_net_InetAddress__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace net
+ {
+ class InetAddress;
+ }
+ }
+}
+
+class java::net::InetAddress : public ::java::lang::Object
+{
+
+public: // actually package-private
+ InetAddress(JArray< jbyte > *, ::java::lang::String *, jint);
+public:
+ virtual jboolean isMulticastAddress();
+ virtual jboolean isAnyLocalAddress();
+ virtual jboolean isLoopbackAddress();
+ virtual jboolean isLinkLocalAddress();
+ virtual jboolean isSiteLocalAddress();
+ virtual jboolean isMCGlobal();
+ virtual jboolean isMCNodeLocal();
+ virtual jboolean isMCLinkLocal();
+ virtual jboolean isMCSiteLocal();
+ virtual jboolean isMCOrgLocal();
+ virtual ::java::lang::String * getHostName();
+public: // actually package-private
+ virtual ::java::lang::String * internalGetCanonicalHostName();
+public:
+ virtual ::java::lang::String * getCanonicalHostName();
+ virtual JArray< jbyte > * getAddress();
+ virtual ::java::lang::String * getHostAddress();
+ virtual jint hashCode();
+ virtual jboolean equals(::java::lang::Object *);
+ virtual ::java::lang::String * toString();
+ static ::java::net::InetAddress * getByAddress(JArray< jbyte > *);
+ static ::java::net::InetAddress * getByAddress(::java::lang::String *, JArray< jbyte > *);
+public: // actually package-private
+ static ::java::net::InetAddress * getByLiteral(::java::lang::String *);
+public:
+ static ::java::net::InetAddress * getByName(::java::lang::String *);
+ static JArray< ::java::net::InetAddress * > * getAllByName(::java::lang::String *);
+ static ::java::net::InetAddress * getLocalHost();
+private:
+ ::java::lang::Object * readResolve();
+ void readObject(::java::io::ObjectInputStream *);
+ void writeObject(::java::io::ObjectOutputStream *);
+ static const jlong serialVersionUID = 3286316764910316507LL;
+public: // actually package-private
+ static ::java::net::InetAddress * ANY_IF;
+ static ::java::net::InetAddress * LOCALHOST;
+private:
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) address;
+public: // actually package-private
+ JArray< jbyte > * addr;
+ ::java::lang::String * hostName;
+private:
+ jint family;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_net_InetAddress__
diff --git a/libjava/java/net/InetSocketAddress.h b/libjava/java/net/InetSocketAddress.h
new file mode 100644
index 0000000..b4f14d4
--- /dev/null
+++ b/libjava/java/net/InetSocketAddress.h
@@ -0,0 +1,49 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_net_InetSocketAddress__
+#define __java_net_InetSocketAddress__
+
+#pragma interface
+
+#include <java/net/SocketAddress.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace net
+ {
+ class InetAddress;
+ class InetSocketAddress;
+ }
+ }
+}
+
+class java::net::InetSocketAddress : public ::java::net::SocketAddress
+{
+
+public:
+ InetSocketAddress(::java::net::InetAddress *, jint);
+ InetSocketAddress(jint);
+ InetSocketAddress(::java::lang::String *, jint);
+private:
+ InetSocketAddress(::java::lang::String *, jint, jboolean);
+public:
+ static ::java::net::InetSocketAddress * createUnresolved(::java::lang::String *, jint);
+ virtual jboolean equals(::java::lang::Object *);
+ virtual ::java::net::InetAddress * getAddress();
+ virtual ::java::lang::String * getHostName();
+ virtual jint getPort();
+ virtual jint hashCode();
+ virtual jboolean isUnresolved();
+ virtual ::java::lang::String * toString();
+private:
+ static const jlong serialVersionUID = 5076001401234631237LL;
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::net::SocketAddress)))) hostname;
+ ::java::net::InetAddress * addr;
+ jint port;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_net_InetSocketAddress__
diff --git a/libjava/java/net/JarURLConnection.h b/libjava/java/net/JarURLConnection.h
new file mode 100644
index 0000000..6c89e6e
--- /dev/null
+++ b/libjava/java/net/JarURLConnection.h
@@ -0,0 +1,56 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_net_JarURLConnection__
+#define __java_net_JarURLConnection__
+
+#pragma interface
+
+#include <java/net/URLConnection.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace net
+ {
+ class JarURLConnection;
+ class URL;
+ class URLConnection;
+ }
+ namespace security
+ {
+ namespace cert
+ {
+ class Certificate;
+ }
+ }
+ }
+}
+
+class java::net::JarURLConnection : public ::java::net::URLConnection
+{
+
+public: // actually protected
+ JarURLConnection(::java::net::URL *);
+public:
+ virtual ::java::net::URL * getJarFileURL();
+ virtual ::java::lang::String * getEntryName();
+ virtual ::java::util::jar::JarEntry * getJarEntry();
+ virtual ::java::util::jar::JarFile * getJarFile() = 0;
+ virtual JArray< ::java::security::cert::Certificate * > * getCertificates();
+ virtual ::java::util::jar::Attributes * getMainAttributes();
+ virtual ::java::util::jar::Attributes * getAttributes();
+ virtual ::java::util::jar::Manifest * getManifest();
+private:
+ ::java::net::URL * __attribute__((aligned(__alignof__( ::java::net::URLConnection)))) jarFileURL;
+public: // actually protected
+ ::java::net::URLConnection * jarFileURLConnection;
+private:
+ ::java::lang::String * entryName;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_net_JarURLConnection__
diff --git a/libjava/java/net/MalformedURLException.h b/libjava/java/net/MalformedURLException.h
new file mode 100644
index 0000000..713bf5e
--- /dev/null
+++ b/libjava/java/net/MalformedURLException.h
@@ -0,0 +1,33 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_net_MalformedURLException__
+#define __java_net_MalformedURLException__
+
+#pragma interface
+
+#include <java/io/IOException.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace net
+ {
+ class MalformedURLException;
+ }
+ }
+}
+
+class java::net::MalformedURLException : public ::java::io::IOException
+{
+
+public:
+ MalformedURLException();
+ MalformedURLException(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = -182787522200415866LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_net_MalformedURLException__
diff --git a/libjava/java/net/MimeTypeMapper.h b/libjava/java/net/MimeTypeMapper.h
new file mode 100644
index 0000000..06fb267
--- /dev/null
+++ b/libjava/java/net/MimeTypeMapper.h
@@ -0,0 +1,39 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_net_MimeTypeMapper__
+#define __java_net_MimeTypeMapper__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace net
+ {
+ class MimeTypeMapper;
+ }
+ }
+}
+
+class java::net::MimeTypeMapper : public ::java::lang::Object
+{
+
+public:
+ MimeTypeMapper();
+ static void fillFromFile(::java::util::Map *, ::java::lang::String *);
+ virtual ::java::lang::String * getContentTypeFor(::java::lang::String *);
+ static void main(JArray< ::java::lang::String * > *);
+public: // actually protected
+ static JArray< JArray< ::java::lang::String * > * > * mime_strings;
+private:
+ ::java::util::Hashtable * __attribute__((aligned(__alignof__( ::java::lang::Object)))) mime_types;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_net_MimeTypeMapper__
diff --git a/libjava/java/net/MulticastSocket.h b/libjava/java/net/MulticastSocket.h
new file mode 100644
index 0000000..2faac45
--- /dev/null
+++ b/libjava/java/net/MulticastSocket.h
@@ -0,0 +1,50 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_net_MulticastSocket__
+#define __java_net_MulticastSocket__
+
+#pragma interface
+
+#include <java/net/DatagramSocket.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace net
+ {
+ class DatagramPacket;
+ class InetAddress;
+ class MulticastSocket;
+ class NetworkInterface;
+ class SocketAddress;
+ }
+ }
+}
+
+class java::net::MulticastSocket : public ::java::net::DatagramSocket
+{
+
+public:
+ MulticastSocket();
+ MulticastSocket(jint);
+ MulticastSocket(::java::net::SocketAddress *);
+ virtual ::java::net::InetAddress * getInterface();
+ virtual jbyte getTTL();
+ virtual jint getTimeToLive();
+ virtual void setInterface(::java::net::InetAddress *);
+ virtual void setNetworkInterface(::java::net::NetworkInterface *);
+ virtual ::java::net::NetworkInterface * getNetworkInterface();
+ virtual void setLoopbackMode(jboolean);
+ virtual jboolean getLoopbackMode();
+ virtual void setTTL(jbyte);
+ virtual void setTimeToLive(jint);
+ virtual void joinGroup(::java::net::InetAddress *);
+ virtual void leaveGroup(::java::net::InetAddress *);
+ virtual void joinGroup(::java::net::SocketAddress *, ::java::net::NetworkInterface *);
+ virtual void leaveGroup(::java::net::SocketAddress *, ::java::net::NetworkInterface *);
+ virtual void send(::java::net::DatagramPacket *, jbyte);
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_net_MulticastSocket__
diff --git a/libjava/java/net/MulticastSocket.java b/libjava/java/net/MulticastSocket.java
new file mode 100644
index 0000000..e24b194
--- /dev/null
+++ b/libjava/java/net/MulticastSocket.java
@@ -0,0 +1,519 @@
+/* MulticastSocket.java -- Class for using multicast sockets
+ Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+ Free Software Foundation, Inc.
+
+This file is part of GNU Classpath.
+
+GNU Classpath is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+
+GNU Classpath is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU Classpath; see the file COPYING. If not, write to the
+Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+02110-1301 USA.
+
+Linking this library statically or dynamically with other modules is
+making a combined work based on this library. Thus, the terms and
+conditions of the GNU General Public License cover the whole
+combination.
+
+As a special exception, the copyright holders of this library give you
+permission to link this library with independent modules to produce an
+executable, regardless of the license terms of these independent
+modules, and to copy and distribute the resulting executable under
+terms of your choice, provided that you also meet, for each linked
+independent module, the terms and conditions of the license of that
+module. An independent module is a module which is not derived from
+or based on this library. If you modify this library, you may extend
+this exception to your version of the library, but you are not
+obligated to do so. If you do not wish to do so, delete this
+exception statement from your version. */
+
+package java.net;
+
+import java.io.IOException;
+import java.util.Enumeration;
+
+
+/**
+ * Written using on-line Java Platform 1.2 API Specification, as well
+ * as "The Java Class Libraries", 2nd edition (Addison-Wesley, 1998).
+ * Status: Believed complete and correct.
+ */
+/**
+ * This class models a multicast UDP socket. A multicast address is a
+ * class D internet address (one whose most significant bits are 1110).
+ * A multicast group consists of a multicast address and a well known
+ * port number. All members of the group listening on that address and
+ * port will receive all the broadcasts to the group.
+ * <p>
+ * Please note that applets are not allowed to use multicast sockets
+ *
+ * Written using on-line Java Platform 1.2 API Specification, as well
+ * as "The Java Class Libraries", 2nd edition (Addison-Wesley, 1998).
+ * Status: Believed complete and correct.
+ *
+ * @author Warren Levy (warrenl@cygnus.com)
+ * @author Aaron M. Renn (arenn@urbanophile.com) (Documentation comments)
+ * @since 1.1
+ * @date May 18, 1999.
+ */
+public class MulticastSocket extends DatagramSocket
+{
+ /**
+ * Create a MulticastSocket that this not bound to any address
+ *
+ * @exception IOException If an error occurs
+ * @exception SecurityException If a security manager exists and its
+ * checkListen method doesn't allow the operation
+ */
+ public MulticastSocket() throws IOException
+ {
+ this(new InetSocketAddress(0));
+ }
+
+ /**
+ * Create a multicast socket bound to the specified port
+ *
+ * @param port The port to bind to
+ *
+ * @exception IOException If an error occurs
+ * @exception SecurityException If a security manager exists and its
+ * checkListen method doesn't allow the operation
+ */
+ public MulticastSocket(int port) throws IOException
+ {
+ this(new InetSocketAddress(port));
+ }
+
+ /**
+ * Create a multicast socket bound to the specified SocketAddress.
+ *
+ * @param address The SocketAddress the multicast socket will be bound to
+ *
+ * @exception IOException If an error occurs
+ * @exception SecurityException If a security manager exists and its
+ * checkListen method doesn't allow the operation
+ *
+ * @since 1.4
+ */
+ public MulticastSocket(SocketAddress address) throws IOException
+ {
+ super((SocketAddress) null);
+ setReuseAddress(true);
+ if (address != null)
+ bind(address);
+ }
+
+ /**
+ * Returns the interface being used for multicast packets
+ *
+ * @return The multicast interface
+ *
+ * @exception SocketException If an error occurs
+ */
+ public InetAddress getInterface() throws SocketException
+ {
+ if (isClosed())
+ throw new SocketException("socket is closed");
+
+ return (InetAddress) getImpl().getOption(SocketOptions.IP_MULTICAST_IF);
+ }
+
+ /**
+ * Returns the current value of the "Time to Live" option. This is the
+ * number of hops a packet can make before it "expires". This method id
+ * deprecated. Use <code>getTimeToLive</code> instead.
+ *
+ * @return The TTL value
+ *
+ * @exception IOException If an error occurs
+ *
+ * @deprecated 1.2 Replaced by getTimeToLive()
+ *
+ * @see MulticastSocket#getTimeToLive()
+ */
+ public byte getTTL() throws IOException
+ {
+ if (isClosed())
+ throw new SocketException("socket is closed");
+
+ // Use getTTL here rather than getTimeToLive in case we're using an impl
+ // other than the default PlainDatagramSocketImpl and it doesn't have
+ // getTimeToLive yet.
+ return getImpl().getTTL();
+ }
+
+ /**
+ * Returns the current value of the "Time to Live" option. This is the
+ * number of hops a packet can make before it "expires".
+ *
+ * @return The TTL value
+ *
+ * @exception IOException If an error occurs
+ *
+ * @since 1.2
+ */
+ public int getTimeToLive() throws IOException
+ {
+ if (isClosed())
+ throw new SocketException("socket is closed");
+
+ return getImpl().getTimeToLive();
+ }
+
+ /**
+ * Sets the interface to use for sending multicast packets.
+ *
+ * @param addr The new interface to use.
+ *
+ * @exception SocketException If an error occurs.
+ *
+ * @since 1.4
+ */
+ public void setInterface(InetAddress addr) throws SocketException
+ {
+ if (isClosed())
+ throw new SocketException("socket is closed");
+
+ getImpl().setOption(SocketOptions.IP_MULTICAST_IF, addr);
+ }
+
+ /**
+ * Sets the local network interface used to send multicast messages
+ *
+ * @param netIf The local network interface used to send multicast messages
+ *
+ * @exception SocketException If an error occurs
+ *
+ * @see MulticastSocket#getNetworkInterface()
+ *
+ * @since 1.4
+ */
+ public void setNetworkInterface(NetworkInterface netIf)
+ throws SocketException
+ {
+ if (isClosed())
+ throw new SocketException("socket is closed");
+
+ InetAddress address;
+ if (netIf != null)
+ out:
+ {
+ Enumeration e = netIf.getInetAddresses();
+ if (getLocalAddress() instanceof Inet4Address)
+ {
+ // Search for a IPv4 address.
+ while (e.hasMoreElements())
+ {
+ address = (InetAddress) e.nextElement();
+ if (address instanceof Inet4Address)
+ break out;
+ }
+ throw new SocketException("interface " + netIf.getName() + " has no IPv6 address");
+ }
+ else if (getLocalAddress() instanceof Inet6Address)
+ {
+ // Search for a IPv6 address.
+ while (e.hasMoreElements())
+ {
+ address = (InetAddress) e.nextElement();
+ if (address instanceof Inet6Address)
+ break out;
+ }
+ throw new SocketException("interface " + netIf.getName() + " has no IPv6 address");
+ }
+ else
+ throw new SocketException("interface " + netIf.getName() + " has no suitable IP address");
+ }
+ else
+ address = InetAddress.ANY_IF;
+
+
+ getImpl().setOption(SocketOptions.IP_MULTICAST_IF, address);
+ }
+
+ /**
+ * Gets the local network interface which is used to send multicast messages
+ *
+ * @return The local network interface to send multicast messages
+ *
+ * @exception SocketException If an error occurs
+ *
+ * @see MulticastSocket#setNetworkInterface(NetworkInterface netIf)
+ *
+ * @since 1.4
+ */
+ public NetworkInterface getNetworkInterface() throws SocketException
+ {
+ if (isClosed())
+ throw new SocketException("socket is closed");
+
+ InetAddress address =
+ (InetAddress) getImpl().getOption(SocketOptions.IP_MULTICAST_IF);
+
+ // FIXME: libgcj doesn't have createAnyInterface.
+// if (address.isAnyLocalAddress())
+// return NetworkInterface.createAnyInterface();
+
+ NetworkInterface netIf = NetworkInterface.getByInetAddress(address);
+
+ return netIf;
+ }
+
+ /**
+ * Disable/Enable local loopback of multicast packets. The option is used by
+ * the platform's networking code as a hint for setting whether multicast
+ * data will be looped back to the local socket.
+ *
+ * Because this option is a hint, applications that want to verify what
+ * loopback mode is set to should call #getLoopbackMode
+ *
+ * @param disable True to disable loopback mode
+ *
+ * @exception SocketException If an error occurs
+ *
+ * @since 1.4
+ */
+ public void setLoopbackMode(boolean disable) throws SocketException
+ {
+ if (isClosed())
+ throw new SocketException("socket is closed");
+
+ getImpl().setOption(SocketOptions.IP_MULTICAST_LOOP,
+ Boolean.valueOf(disable));
+ }
+
+ /**
+ * Checks if local loopback mode is enabled
+ *
+ * @return true if loopback mode is enabled, false otherwise
+ *
+ * @exception SocketException If an error occurs
+ *
+ * @since 1.4
+ */
+ public boolean getLoopbackMode() throws SocketException
+ {
+ if (isClosed())
+ throw new SocketException("socket is closed");
+
+ Object buf = getImpl().getOption(SocketOptions.IP_MULTICAST_LOOP);
+
+ if (buf instanceof Boolean)
+ return ((Boolean) buf).booleanValue();
+
+ throw new SocketException("unexpected type");
+ }
+
+ /**
+ * Sets the "Time to Live" value for a socket. The value must be between
+ * 1 and 255.
+ *
+ * @param ttl The new TTL value
+ *
+ * @exception IOException If an error occurs
+ *
+ * @deprecated 1.2 Replaced by <code>setTimeToLive</code>
+ *
+ * @see MulticastSocket#setTimeToLive(int ttl)
+ */
+ public void setTTL(byte ttl) throws IOException
+ {
+ if (isClosed())
+ throw new SocketException("socket is closed");
+
+ // Use setTTL here rather than setTimeToLive in case we're using an impl
+ // other than the default PlainDatagramSocketImpl and it doesn't have
+ // setTimeToLive yet.
+ getImpl().setTTL(ttl);
+ }
+
+ /**
+ * Sets the "Time to Live" value for a socket. The value must be between
+ * 1 and 255.
+ *
+ * @param ttl The new TTL value
+ *
+ * @exception IOException If an error occurs
+ *
+ * @since 1.2
+ */
+ public void setTimeToLive(int ttl) throws IOException
+ {
+ if (isClosed())
+ throw new SocketException("socket is closed");
+
+ if (ttl <= 0 || ttl > 255)
+ throw new IllegalArgumentException("Invalid ttl: " + ttl);
+
+ getImpl().setTimeToLive(ttl);
+ }
+
+ /**
+ * Joins the specified multicast group.
+ *
+ * @param mcastaddr The address of the group to join
+ *
+ * @exception IOException If an error occurs
+ * @exception SecurityException If a security manager exists and its
+ * checkMulticast method doesn't allow the operation
+ */
+ public void joinGroup(InetAddress mcastaddr) throws IOException
+ {
+ if (isClosed())
+ throw new SocketException("socket is closed");
+
+ if (! mcastaddr.isMulticastAddress())
+ throw new IOException("Not a Multicast address");
+
+ SecurityManager s = System.getSecurityManager();
+ if (s != null)
+ s.checkMulticast(mcastaddr);
+
+ getImpl().join(mcastaddr);
+ }
+
+ /**
+ * Leaves the specified multicast group
+ *
+ * @param mcastaddr The address of the group to leave
+ *
+ * @exception IOException If an error occurs
+ * @exception SecurityException If a security manager exists and its
+ * checkMulticast method doesn't allow the operation
+ */
+ public void leaveGroup(InetAddress mcastaddr) throws IOException
+ {
+ if (isClosed())
+ throw new SocketException("socket is closed");
+
+ if (! mcastaddr.isMulticastAddress())
+ throw new IOException("Not a Multicast address");
+
+ SecurityManager s = System.getSecurityManager();
+ if (s != null)
+ s.checkMulticast(mcastaddr);
+
+ getImpl().leave(mcastaddr);
+ }
+
+ /**
+ * Joins the specified mulitcast group on a specified interface.
+ *
+ * @param mcastaddr The multicast address to join
+ * @param netIf The local network interface to receive the multicast
+ * messages on or null to defer the interface set by #setInterface or
+ * #setNetworkInterface
+ *
+ * @exception IOException If an error occurs
+ * @exception IllegalArgumentException If address type is not supported
+ * @exception SecurityException If a security manager exists and its
+ * checkMulticast method doesn't allow the operation
+ *
+ * @see MulticastSocket#setInterface(InetAddress addr)
+ * @see MulticastSocket#setNetworkInterface(NetworkInterface netIf)
+ *
+ * @since 1.4
+ */
+ public void joinGroup(SocketAddress mcastaddr, NetworkInterface netIf)
+ throws IOException
+ {
+ if (isClosed())
+ throw new SocketException("socket is closed");
+
+ if (! (mcastaddr instanceof InetSocketAddress))
+ throw new IllegalArgumentException("SocketAddress type not supported");
+
+ InetSocketAddress tmp = (InetSocketAddress) mcastaddr;
+
+ if (! tmp.getAddress().isMulticastAddress())
+ throw new IOException("Not a Multicast address");
+
+ SecurityManager s = System.getSecurityManager();
+ if (s != null)
+ s.checkMulticast(tmp.getAddress());
+
+ getImpl().joinGroup(mcastaddr, netIf);
+ }
+
+ /**
+ * Leaves the specified mulitcast group on a specified interface.
+ *
+ * @param mcastaddr The multicast address to leave
+ * @param netIf The local networki interface or null to defer to the
+ * interface set by setInterface or setNetworkInterface
+ *
+ * @exception IOException If an error occurs
+ * @exception IllegalArgumentException If address type is not supported
+ * @exception SecurityException If a security manager exists and its
+ * checkMulticast method doesn't allow the operation
+ *
+ * @see MulticastSocket#setInterface(InetAddress addr)
+ * @see MulticastSocket#setNetworkInterface(NetworkInterface netIf)
+ *
+ * @since 1.4
+ */
+ public void leaveGroup(SocketAddress mcastaddr, NetworkInterface netIf)
+ throws IOException
+ {
+ if (isClosed())
+ throw new SocketException("socket is closed");
+
+ InetSocketAddress tmp = (InetSocketAddress) mcastaddr;
+
+ if (! tmp.getAddress().isMulticastAddress())
+ throw new IOException("Not a Multicast address");
+
+ SecurityManager s = System.getSecurityManager();
+ if (s != null)
+ s.checkMulticast(tmp.getAddress());
+
+ getImpl().leaveGroup(mcastaddr, netIf);
+ }
+
+ /**
+ * Sends a packet of data to a multicast address with a TTL that is
+ * different from the default TTL on this socket. The default TTL for
+ * the socket is not changed.
+ *
+ * @param packet The packet of data to send
+ * @param ttl The TTL for this packet
+ *
+ * @exception IOException If an error occurs
+ * @exception SecurityException If a security manager exists and its
+ * checkConnect or checkMulticast method doesn't allow the operation
+ *
+ * @deprecated
+ */
+ public synchronized void send(DatagramPacket packet, byte ttl)
+ throws IOException
+ {
+ if (isClosed())
+ throw new SocketException("socket is closed");
+
+ SecurityManager s = System.getSecurityManager();
+ if (s != null)
+ {
+ InetAddress addr = packet.getAddress();
+ if (addr.isMulticastAddress())
+ s.checkPermission(new SocketPermission(addr.getHostName()
+ + packet.getPort(),
+ "accept,connect"));
+ else
+ s.checkConnect(addr.getHostAddress(), packet.getPort());
+ }
+
+ int oldttl = getImpl().getTimeToLive();
+ getImpl().setTimeToLive(((int) ttl) & 0xFF);
+ getImpl().send(packet);
+ getImpl().setTimeToLive(oldttl);
+ }
+}
diff --git a/libjava/java/net/NetPermission.h b/libjava/java/net/NetPermission.h
new file mode 100644
index 0000000..a6c8855
--- /dev/null
+++ b/libjava/java/net/NetPermission.h
@@ -0,0 +1,33 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_net_NetPermission__
+#define __java_net_NetPermission__
+
+#pragma interface
+
+#include <java/security/BasicPermission.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace net
+ {
+ class NetPermission;
+ }
+ }
+}
+
+class java::net::NetPermission : public ::java::security::BasicPermission
+{
+
+public:
+ NetPermission(::java::lang::String *);
+ NetPermission(::java::lang::String *, ::java::lang::String *);
+public: // actually package-private
+ static const jlong serialVersionUID = -8343910153355041693LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_net_NetPermission__
diff --git a/libjava/java/net/NetworkInterface.h b/libjava/java/net/NetworkInterface.h
new file mode 100644
index 0000000..66898a2
--- /dev/null
+++ b/libjava/java/net/NetworkInterface.h
@@ -0,0 +1,50 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_net_NetworkInterface__
+#define __java_net_NetworkInterface__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace net
+ {
+ class InetAddress;
+ class NetworkInterface;
+ }
+ }
+}
+
+class java::net::NetworkInterface : public ::java::lang::Object
+{
+
+public: // actually package-private
+ NetworkInterface(::java::lang::String *, ::java::net::InetAddress *);
+ NetworkInterface(::java::lang::String *, JArray< ::java::net::InetAddress * > *);
+public:
+ ::java::lang::String * getName();
+ ::java::util::Enumeration * getInetAddresses();
+ ::java::lang::String * getDisplayName();
+ static ::java::net::NetworkInterface * getByName(::java::lang::String *);
+ static ::java::net::NetworkInterface * getByInetAddress(::java::net::InetAddress *);
+private:
+ static ::java::util::Collection * condense(::java::util::Collection *);
+public:
+ static ::java::util::Enumeration * getNetworkInterfaces();
+ jboolean equals(::java::lang::Object *);
+ jint hashCode();
+ ::java::lang::String * toString();
+private:
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) name;
+ ::java::util::Vector * inetAddresses;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_net_NetworkInterface__
diff --git a/libjava/java/net/NetworkInterface.java b/libjava/java/net/NetworkInterface.java
new file mode 100644
index 0000000..7ad62a7
--- /dev/null
+++ b/libjava/java/net/NetworkInterface.java
@@ -0,0 +1,299 @@
+/* NetworkInterface.java --
+ Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
+
+This file is part of GNU Classpath.
+
+GNU Classpath is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+
+GNU Classpath is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU Classpath; see the file COPYING. If not, write to the
+Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+02110-1301 USA.
+
+Linking this library statically or dynamically with other modules is
+making a combined work based on this library. Thus, the terms and
+conditions of the GNU General Public License cover the whole
+combination.
+
+As a special exception, the copyright holders of this library give you
+permission to link this library with independent modules to produce an
+executable, regardless of the license terms of these independent
+modules, and to copy and distribute the resulting executable under
+terms of your choice, provided that you also meet, for each linked
+independent module, the terms and conditions of the license of that
+module. An independent module is a module which is not derived from
+or based on this library. If you modify this library, you may extend
+this exception to your version of the library, but you are not
+obligated to do so. If you do not wish to do so, delete this
+exception statement from your version. */
+
+
+package java.net;
+
+import java.util.Collection;
+import java.util.Collections;
+import java.util.Enumeration;
+import java.util.HashMap;
+import java.util.Iterator;
+import java.util.Map;
+import java.util.Vector;
+
+/**
+ * This class models a network interface on the host computer. A network
+ * interface contains a name (typically associated with a specific
+ * hardware adapter) and a list of addresses that are bound to it.
+ * For example, an ethernet interface may be named "eth0" and have the
+ * address 192.168.1.101 assigned to it.
+ *
+ * @author Michael Koch (konqueror@gmx.de)
+ * @since 1.4
+ */
+public final class NetworkInterface
+{
+ private String name;
+ private Vector<InetAddress> inetAddresses;
+
+ NetworkInterface(String name, InetAddress address)
+ {
+ this.name = name;
+ this.inetAddresses = new Vector(1, 1);
+ this.inetAddresses.add(address);
+ }
+
+ NetworkInterface(String name, InetAddress[] addresses)
+ {
+ this.name = name;
+ this.inetAddresses = new Vector(addresses.length, 1);
+
+ for (int i = 0; i < addresses.length; i++)
+ this.inetAddresses.add(addresses[i]);
+ }
+
+ /**
+ * Returns the name of the network interface
+ *
+ * @return The name of the interface.
+ */
+ public String getName()
+ {
+ return name;
+ }
+
+ /**
+ * Returns all available addresses of the network interface
+ *
+ * If a @see SecurityManager is available all addresses are checked
+ * with @see SecurityManager::checkConnect() if they are available.
+ * Only <code>InetAddresses</code> are returned where the security manager
+ * doesn't throw an exception.
+ *
+ * @return An enumeration of all addresses.
+ */
+ public Enumeration<InetAddress> getInetAddresses()
+ {
+ SecurityManager s = System.getSecurityManager();
+
+ if (s == null)
+ return inetAddresses.elements();
+
+ Vector<InetAddress> tmpInetAddresses = new Vector<InetAddress>(1, 1);
+
+ for (Enumeration<InetAddress> addresses = inetAddresses.elements();
+ addresses.hasMoreElements();)
+ {
+ InetAddress addr = addresses.nextElement();
+ try
+ {
+ s.checkConnect(addr.getHostAddress(), 58000);
+ tmpInetAddresses.add(addr);
+ }
+ catch (SecurityException e)
+ {
+ // Ignore.
+ }
+ }
+
+ return tmpInetAddresses.elements();
+ }
+
+ /**
+ * Returns the display name of the interface
+ *
+ * @return The display name of the interface
+ */
+ public String getDisplayName()
+ {
+ return name;
+ }
+
+ /**
+ * Returns an network interface by name
+ *
+ * @param name The name of the interface to return
+ *
+ * @return a <code>NetworkInterface</code> object representing the interface,
+ * or null if there is no interface with that name.
+ *
+ * @exception SocketException If an error occurs
+ * @exception NullPointerException If the specified name is null
+ */
+ public static NetworkInterface getByName(String name)
+ throws SocketException
+ {
+ for (Enumeration e = getNetworkInterfaces(); e.hasMoreElements();)
+ {
+ NetworkInterface tmp = (NetworkInterface) e.nextElement();
+
+ if (name.equals(tmp.getName()))
+ return tmp;
+ }
+
+ // No interface with the given name found.
+ return null;
+ }
+
+ /**
+ * Return a network interface by its address
+ *
+ * @param addr The address of the interface to return
+ *
+ * @return the interface, or <code>null</code> if none found
+ *
+ * @exception SocketException If an error occurs
+ * @exception NullPointerException If the specified addess is null
+ */
+ public static NetworkInterface getByInetAddress(InetAddress addr)
+ throws SocketException
+ {
+ for (Enumeration interfaces = getNetworkInterfaces();
+ interfaces.hasMoreElements();)
+ {
+ NetworkInterface tmp = (NetworkInterface) interfaces.nextElement();
+
+ for (Enumeration addresses = tmp.inetAddresses.elements();
+ addresses.hasMoreElements();)
+ {
+ if (addr.equals((InetAddress) addresses.nextElement()))
+ return tmp;
+ }
+ }
+
+ throw new SocketException("no network interface is bound to such an IP address");
+ }
+
+ static private Collection condense(Collection interfaces)
+ {
+ final Map condensed = new HashMap();
+
+ final Iterator interfs = interfaces.iterator();
+ while (interfs.hasNext()) {
+
+ final NetworkInterface face = (NetworkInterface) interfs.next();
+ final String name = face.getName();
+
+ if (condensed.containsKey(name))
+ {
+ final NetworkInterface conface = (NetworkInterface) condensed.get(name);
+ if (!conface.inetAddresses.containsAll(face.inetAddresses))
+ {
+ final Iterator faceAddresses = face.inetAddresses.iterator();
+ while (faceAddresses.hasNext())
+ {
+ final InetAddress faceAddress = (InetAddress) faceAddresses.next();
+ if (!conface.inetAddresses.contains(faceAddress))
+ {
+ conface.inetAddresses.add(faceAddress);
+ }
+ }
+ }
+ }
+ else
+ {
+ condensed.put(name, face);
+ }
+ }
+
+ return condensed.values();
+ }
+
+ /**
+ * Return an <code>Enumeration</code> of all available network interfaces
+ *
+ * @return all interfaces
+ *
+ * @exception SocketException If an error occurs
+ */
+ public static Enumeration<NetworkInterface> getNetworkInterfaces()
+ throws SocketException
+ {
+ Vector<NetworkInterface> networkInterfaces =
+ VMNetworkInterface.getInterfaces();
+
+ if (networkInterfaces.isEmpty())
+ return null;
+
+ Collection condensed = condense(networkInterfaces);
+
+ return Collections.enumeration(condensed);
+ }
+
+ /**
+ * Checks if the current instance is equal to obj
+ *
+ * @param obj The object to compare with
+ *
+ * @return <code>true</code> if equal, <code>false</code> otherwise
+ */
+ public boolean equals(Object obj)
+ {
+ if (! (obj instanceof NetworkInterface))
+ return false;
+
+ NetworkInterface tmp = (NetworkInterface) obj;
+
+ return (name.equals(tmp.name) && inetAddresses.equals(tmp.inetAddresses));
+ }
+
+ /**
+ * Returns the hashcode of the current instance
+ *
+ * @return the hashcode
+ */
+ public int hashCode()
+ {
+ // FIXME: hash correctly
+ return name.hashCode() + inetAddresses.hashCode();
+ }
+
+ /**
+ * Returns a string representation of the interface
+ *
+ * @return the string
+ */
+ public String toString()
+ {
+ // FIXME: check if this is correct
+ String result;
+ String separator = System.getProperty("line.separator");
+
+ result =
+ "name: " + getDisplayName() + " (" + getName() + ") addresses:"
+ + separator;
+
+ for (Enumeration e = inetAddresses.elements(); e.hasMoreElements();)
+ {
+ InetAddress address = (InetAddress) e.nextElement();
+ result += address.toString() + ";" + separator;
+ }
+
+ return result;
+ }
+}
diff --git a/libjava/java/net/NoRouteToHostException.h b/libjava/java/net/NoRouteToHostException.h
new file mode 100644
index 0000000..7a639ea
--- /dev/null
+++ b/libjava/java/net/NoRouteToHostException.h
@@ -0,0 +1,33 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_net_NoRouteToHostException__
+#define __java_net_NoRouteToHostException__
+
+#pragma interface
+
+#include <java/net/SocketException.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace net
+ {
+ class NoRouteToHostException;
+ }
+ }
+}
+
+class java::net::NoRouteToHostException : public ::java::net::SocketException
+{
+
+public:
+ NoRouteToHostException();
+ NoRouteToHostException(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = -1897550894873493790LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_net_NoRouteToHostException__
diff --git a/libjava/java/net/PasswordAuthentication.h b/libjava/java/net/PasswordAuthentication.h
new file mode 100644
index 0000000..2567fd0
--- /dev/null
+++ b/libjava/java/net/PasswordAuthentication.h
@@ -0,0 +1,37 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_net_PasswordAuthentication__
+#define __java_net_PasswordAuthentication__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace net
+ {
+ class PasswordAuthentication;
+ }
+ }
+}
+
+class java::net::PasswordAuthentication : public ::java::lang::Object
+{
+
+public:
+ PasswordAuthentication(::java::lang::String *, JArray< jchar > *);
+ ::java::lang::String * getUserName();
+ JArray< jchar > * getPassword();
+private:
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) username;
+ JArray< jchar > * password;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_net_PasswordAuthentication__
diff --git a/libjava/java/net/PortUnreachableException.h b/libjava/java/net/PortUnreachableException.h
new file mode 100644
index 0000000..5e0fff2
--- /dev/null
+++ b/libjava/java/net/PortUnreachableException.h
@@ -0,0 +1,33 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_net_PortUnreachableException__
+#define __java_net_PortUnreachableException__
+
+#pragma interface
+
+#include <java/net/SocketException.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace net
+ {
+ class PortUnreachableException;
+ }
+ }
+}
+
+class java::net::PortUnreachableException : public ::java::net::SocketException
+{
+
+public:
+ PortUnreachableException();
+ PortUnreachableException(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = 8462541992376507323LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_net_PortUnreachableException__
diff --git a/libjava/java/net/ProtocolException.h b/libjava/java/net/ProtocolException.h
new file mode 100644
index 0000000..39e7b7b
--- /dev/null
+++ b/libjava/java/net/ProtocolException.h
@@ -0,0 +1,33 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_net_ProtocolException__
+#define __java_net_ProtocolException__
+
+#pragma interface
+
+#include <java/io/IOException.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace net
+ {
+ class ProtocolException;
+ }
+ }
+}
+
+class java::net::ProtocolException : public ::java::io::IOException
+{
+
+public:
+ ProtocolException();
+ ProtocolException(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = -6098449442062388080LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_net_ProtocolException__
diff --git a/libjava/java/net/Proxy$Type.h b/libjava/java/net/Proxy$Type.h
new file mode 100644
index 0000000..288bd8c
--- /dev/null
+++ b/libjava/java/net/Proxy$Type.h
@@ -0,0 +1,40 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_net_Proxy$Type__
+#define __java_net_Proxy$Type__
+
+#pragma interface
+
+#include <java/lang/Enum.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace net
+ {
+ class Proxy$Type;
+ }
+ }
+}
+
+class java::net::Proxy$Type : public ::java::lang::Enum
+{
+
+ Proxy$Type(::java::lang::String *, jint);
+public:
+ static JArray< ::java::net::Proxy$Type * > * values();
+ static ::java::net::Proxy$Type * valueOf(::java::lang::String *);
+ static ::java::net::Proxy$Type * DIRECT;
+ static ::java::net::Proxy$Type * HTTP;
+ static ::java::net::Proxy$Type * SOCKS;
+private:
+ static const jlong serialVersionUID = -2231209257930100533LL;
+ static JArray< ::java::net::Proxy$Type * > * ENUM$VALUES;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_net_Proxy$Type__
diff --git a/libjava/java/net/Proxy.h b/libjava/java/net/Proxy.h
new file mode 100644
index 0000000..b6b44e3
--- /dev/null
+++ b/libjava/java/net/Proxy.h
@@ -0,0 +1,41 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_net_Proxy__
+#define __java_net_Proxy__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace net
+ {
+ class Proxy;
+ class Proxy$Type;
+ class SocketAddress;
+ }
+ }
+}
+
+class java::net::Proxy : public ::java::lang::Object
+{
+
+public:
+ Proxy(::java::net::Proxy$Type *, ::java::net::SocketAddress *);
+ virtual ::java::net::SocketAddress * address();
+ virtual ::java::net::Proxy$Type * type();
+ virtual jboolean equals(::java::lang::Object *);
+ virtual jint hashCode();
+ virtual ::java::lang::String * toString();
+ static ::java::net::Proxy * NO_PROXY;
+private:
+ ::java::net::Proxy$Type * __attribute__((aligned(__alignof__( ::java::lang::Object)))) type__;
+ ::java::net::SocketAddress * address__;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_net_Proxy__
diff --git a/libjava/java/net/ProxySelector.h b/libjava/java/net/ProxySelector.h
new file mode 100644
index 0000000..62382ee
--- /dev/null
+++ b/libjava/java/net/ProxySelector.h
@@ -0,0 +1,38 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_net_ProxySelector__
+#define __java_net_ProxySelector__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace net
+ {
+ class ProxySelector;
+ class SocketAddress;
+ class URI;
+ }
+ }
+}
+
+class java::net::ProxySelector : public ::java::lang::Object
+{
+
+public:
+ ProxySelector();
+ static ::java::net::ProxySelector * getDefault();
+ static void setDefault(::java::net::ProxySelector *);
+ virtual void connectFailed(::java::net::URI *, ::java::net::SocketAddress *, ::java::io::IOException *) = 0;
+ virtual ::java::util::List * select(::java::net::URI *) = 0;
+private:
+ static ::java::net::ProxySelector * defaultSelector;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_net_ProxySelector__
diff --git a/libjava/java/net/ResolverCache$Entry.h b/libjava/java/net/ResolverCache$Entry.h
new file mode 100644
index 0000000..22b5da8
--- /dev/null
+++ b/libjava/java/net/ResolverCache$Entry.h
@@ -0,0 +1,32 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_net_ResolverCache$Entry__
+#define __java_net_ResolverCache$Entry__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace net
+ {
+ class ResolverCache$Entry;
+ }
+ }
+}
+
+class java::net::ResolverCache$Entry : public ::java::lang::Object
+{
+
+public:
+ ResolverCache$Entry(::java::lang::Object *, ::java::lang::Object *);
+ ::java::lang::Object * __attribute__((aligned(__alignof__( ::java::lang::Object)))) key;
+ ::java::lang::Object * value;
+ jlong expires;
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_net_ResolverCache$Entry__
diff --git a/libjava/java/net/ResolverCache.h b/libjava/java/net/ResolverCache.h
new file mode 100644
index 0000000..d274d23
--- /dev/null
+++ b/libjava/java/net/ResolverCache.h
@@ -0,0 +1,51 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_net_ResolverCache__
+#define __java_net_ResolverCache__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace net
+ {
+ class ResolverCache;
+ class ResolverCache$Entry;
+ }
+ }
+}
+
+class java::net::ResolverCache : public ::java::lang::Object
+{
+
+public: // actually package-private
+ ResolverCache();
+private:
+ static jint getTTL(::java::lang::String *, jint);
+public:
+ static ::java::lang::String * getHostByAddr(JArray< jbyte > *);
+ static JArray< JArray< jbyte > * > * getHostByName(::java::lang::String *);
+private:
+ static ::java::lang::Object * makeHashableAddress(JArray< jbyte > *);
+ static ::java::net::ResolverCache$Entry * get(::java::lang::Object *);
+ static void put(::java::net::ResolverCache$Entry *);
+ static void reap();
+public: // actually package-private
+ static jint access$0();
+ static jint access$1();
+private:
+ static jint POSITIVE_TTL;
+ static jint NEGATIVE_TTL;
+ static ::java::util::HashMap * cache;
+ static ::java::util::LinkedList * killqueue;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_net_ResolverCache__
diff --git a/libjava/java/net/ServerSocket.h b/libjava/java/net/ServerSocket.h
new file mode 100644
index 0000000..af51cb6
--- /dev/null
+++ b/libjava/java/net/ServerSocket.h
@@ -0,0 +1,75 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_net_ServerSocket__
+#define __java_net_ServerSocket__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace net
+ {
+ class InetAddress;
+ class InetSocketAddress;
+ class ServerSocket;
+ class Socket;
+ class SocketAddress;
+ class SocketImpl;
+ class SocketImplFactory;
+ }
+ namespace nio
+ {
+ namespace channels
+ {
+ class ServerSocketChannel;
+ }
+ }
+ }
+}
+
+class java::net::ServerSocket : public ::java::lang::Object
+{
+
+public: // actually package-private
+ ServerSocket(::java::net::SocketImpl *);
+ virtual ::java::net::SocketImpl * getImpl();
+public:
+ ServerSocket();
+ ServerSocket(jint);
+ ServerSocket(jint, jint);
+ ServerSocket(jint, jint, ::java::net::InetAddress *);
+ virtual void bind(::java::net::SocketAddress *);
+ virtual void bind(::java::net::SocketAddress *, jint);
+ virtual ::java::net::InetAddress * getInetAddress();
+ virtual jint getLocalPort();
+ virtual ::java::net::SocketAddress * getLocalSocketAddress();
+ virtual ::java::net::Socket * accept();
+public: // actually protected
+ virtual void implAccept(::java::net::Socket *);
+public:
+ virtual void close();
+ virtual ::java::nio::channels::ServerSocketChannel * getChannel();
+ virtual jboolean isBound();
+ virtual jboolean isClosed();
+ virtual void setSoTimeout(jint);
+ virtual jint getSoTimeout();
+ virtual void setReuseAddress(jboolean);
+ virtual jboolean getReuseAddress();
+ virtual void setReceiveBufferSize(jint);
+ virtual jint getReceiveBufferSize();
+ virtual ::java::lang::String * toString();
+ static void setSocketFactory(::java::net::SocketImplFactory *);
+private:
+ static ::java::net::SocketImplFactory * factory;
+ ::java::net::SocketImpl * __attribute__((aligned(__alignof__( ::java::lang::Object)))) impl;
+ ::java::net::InetSocketAddress * local;
+ jint port;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_net_ServerSocket__
diff --git a/libjava/java/net/Socket.h b/libjava/java/net/Socket.h
new file mode 100644
index 0000000..776d6fc
--- /dev/null
+++ b/libjava/java/net/Socket.h
@@ -0,0 +1,103 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_net_Socket__
+#define __java_net_Socket__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace net
+ {
+ class InetAddress;
+ class Socket;
+ class SocketAddress;
+ class SocketImpl;
+ class SocketImplFactory;
+ }
+ namespace nio
+ {
+ namespace channels
+ {
+ class SocketChannel;
+ }
+ }
+ }
+}
+
+class java::net::Socket : public ::java::lang::Object
+{
+
+public:
+ Socket();
+public: // actually protected
+ Socket(::java::net::SocketImpl *);
+public:
+ Socket(::java::lang::String *, jint);
+ Socket(::java::net::InetAddress *, jint);
+ Socket(::java::lang::String *, jint, ::java::net::InetAddress *, jint);
+ Socket(::java::net::InetAddress *, jint, ::java::net::InetAddress *, jint);
+ Socket(::java::lang::String *, jint, jboolean);
+ Socket(::java::net::InetAddress *, jint, jboolean);
+private:
+ Socket(::java::net::InetAddress *, jint, ::java::net::InetAddress *, jint, jboolean);
+ ::java::net::SocketImpl * getImpl();
+public:
+ virtual void bind(::java::net::SocketAddress *);
+ virtual void connect(::java::net::SocketAddress *);
+ virtual void connect(::java::net::SocketAddress *, jint);
+ virtual ::java::net::InetAddress * getInetAddress();
+ virtual ::java::net::InetAddress * getLocalAddress();
+ virtual jint getPort();
+ virtual jint getLocalPort();
+ virtual ::java::net::SocketAddress * getLocalSocketAddress();
+ virtual ::java::net::SocketAddress * getRemoteSocketAddress();
+ virtual ::java::io::InputStream * getInputStream();
+ virtual ::java::io::OutputStream * getOutputStream();
+ virtual void setTcpNoDelay(jboolean);
+ virtual jboolean getTcpNoDelay();
+ virtual void setSoLinger(jboolean, jint);
+ virtual jint getSoLinger();
+ virtual void sendUrgentData(jint);
+ virtual void setOOBInline(jboolean);
+ virtual jboolean getOOBInline();
+ virtual void setSoTimeout(jint);
+ virtual jint getSoTimeout();
+ virtual void setSendBufferSize(jint);
+ virtual jint getSendBufferSize();
+ virtual void setReceiveBufferSize(jint);
+ virtual jint getReceiveBufferSize();
+ virtual void setKeepAlive(jboolean);
+ virtual jboolean getKeepAlive();
+ virtual void close();
+ virtual ::java::lang::String * toString();
+ static void setSocketImplFactory(::java::net::SocketImplFactory *);
+ virtual void shutdownInput();
+ virtual void shutdownOutput();
+ virtual ::java::nio::channels::SocketChannel * getChannel();
+ virtual jboolean getReuseAddress();
+ virtual void setReuseAddress(jboolean);
+ virtual jint getTrafficClass();
+ virtual void setTrafficClass(jint);
+ virtual jboolean isConnected();
+ virtual jboolean isBound();
+ virtual jboolean isClosed();
+ virtual jboolean isInputShutdown();
+ virtual jboolean isOutputShutdown();
+public: // actually package-private
+ static ::java::net::SocketImplFactory * factory;
+ ::java::net::SocketImpl * __attribute__((aligned(__alignof__( ::java::lang::Object)))) impl;
+ jboolean implCreated;
+ jboolean bound;
+private:
+ jboolean inputShutdown;
+ jboolean outputShutdown;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_net_Socket__
diff --git a/libjava/java/net/Socket.java b/libjava/java/net/Socket.java
new file mode 100644
index 0000000..b2249ff
--- /dev/null
+++ b/libjava/java/net/Socket.java
@@ -0,0 +1,1269 @@
+/* Socket.java -- Client socket implementation
+ Copyright (C) 1998, 1999, 2000, 2002, 2003, 2004
+ Free Software Foundation, Inc.
+
+This file is part of GNU Classpath.
+
+GNU Classpath is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+
+GNU Classpath is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU Classpath; see the file COPYING. If not, write to the
+Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+02110-1301 USA.
+
+Linking this library statically or dynamically with other modules is
+making a combined work based on this library. Thus, the terms and
+conditions of the GNU General Public License cover the whole
+combination.
+
+As a special exception, the copyright holders of this library give you
+permission to link this library with independent modules to produce an
+executable, regardless of the license terms of these independent
+modules, and to copy and distribute the resulting executable under
+terms of your choice, provided that you also meet, for each linked
+independent module, the terms and conditions of the license of that
+module. An independent module is a module which is not derived from
+or based on this library. If you modify this library, you may extend
+this exception to your version of the library, but you are not
+obligated to do so. If you do not wish to do so, delete this
+exception statement from your version. */
+
+package java.net;
+
+import gnu.java.net.PlainSocketImpl;
+
+import java.io.IOException;
+import java.io.InputStream;
+import java.io.OutputStream;
+import java.nio.channels.IllegalBlockingModeException;
+import java.nio.channels.SocketChannel;
+
+
+/* Written using on-line Java Platform 1.2 API Specification.
+ * Status: I believe all methods are implemented.
+ */
+
+/**
+ * This class models a client site socket. A socket is a TCP/IP endpoint
+ * for network communications conceptually similar to a file handle.
+ * <p>
+ * This class does not actually do any work. Instead, it redirects all of
+ * its calls to a socket implementation object which implements the
+ * <code>SocketImpl</code> interface. The implementation class is
+ * instantiated by factory class that implements the
+ * <code>SocketImplFactory interface</code>. A default
+ * factory is provided, however the factory may be set by a call to
+ * the <code>setSocketImplFactory</code> method. Note that this may only be
+ * done once per virtual machine. If a subsequent attempt is made to set the
+ * factory, a <code>SocketException</code> will be thrown.
+ *
+ * @author Aaron M. Renn (arenn@urbanophile.com)
+ * @author Per Bothner (bothner@cygnus.com)
+ */
+public class Socket
+{
+ /**
+ * This is the user SocketImplFactory for this class. If this variable is
+ * null, a default factory is used.
+ */
+ static SocketImplFactory factory;
+
+ /**
+ * The implementation object to which calls are redirected
+ */
+ // package-private because ServerSocket.implAccept() needs to access it.
+ SocketImpl impl;
+
+ /**
+ * True if socket implementation was created by calling their
+ * create() method.
+ */
+ // package-private because ServerSocket.implAccept() needs to access it.
+ boolean implCreated;
+
+ /**
+ * True if the socket is bound.
+ * Package private so it can be set from ServerSocket when accept is called.
+ */
+ boolean bound;
+
+ /**
+ * True if input is shutdown.
+ */
+ private boolean inputShutdown;
+
+ /**
+ * True if output is shutdown.
+ */
+ private boolean outputShutdown;
+
+ /**
+ * Initializes a new instance of <code>Socket</code> object without
+ * connecting to a remote host. This useful for subclasses of socket that
+ * might want this behavior.
+ *
+ * @specnote This constructor is public since JDK 1.4
+ * @since 1.1
+ */
+ public Socket()
+ {
+ if (factory != null)
+ impl = factory.createSocketImpl();
+ else
+ impl = new PlainSocketImpl();
+ }
+
+ /**
+ * Initializes a new instance of <code>Socket</code> object without
+ * connecting to a remote host. This is useful for subclasses of socket
+ * that might want this behavior.
+ * <p>
+ * Additionally, this socket will be created using the supplied
+ * implementation class instead the default class or one returned by a
+ * factory. If this value is <code>null</code>, the default Socket
+ * implementation is used.
+ *
+ * @param impl The <code>SocketImpl</code> to use for this
+ * <code>Socket</code>
+ *
+ * @exception SocketException If an error occurs
+ *
+ * @since 1.1
+ */
+ protected Socket(SocketImpl impl) throws SocketException
+ {
+ if (impl == null)
+ this.impl = new PlainSocketImpl();
+ else
+ this.impl = impl;
+ }
+
+ /**
+ * Initializes a new instance of <code>Socket</code> and connects to the
+ * hostname and port specified as arguments.
+ *
+ * @param host The name of the host to connect to
+ * @param port The port number to connect to
+ *
+ * @exception UnknownHostException If the hostname cannot be resolved to a
+ * network address.
+ * @exception IOException If an error occurs
+ * @exception SecurityException If a security manager exists and its
+ * checkConnect method doesn't allow the operation
+ */
+ public Socket(String host, int port)
+ throws UnknownHostException, IOException
+ {
+ this(InetAddress.getByName(host), port, null, 0, true);
+ }
+
+ /**
+ * Initializes a new instance of <code>Socket</code> and connects to the
+ * address and port number specified as arguments.
+ *
+ * @param address The address to connect to
+ * @param port The port number to connect to
+ *
+ * @exception IOException If an error occurs
+ * @exception SecurityException If a security manager exists and its
+ * checkConnect method doesn't allow the operation
+ */
+ public Socket(InetAddress address, int port) throws IOException
+ {
+ this(address, port, null, 0, true);
+ }
+
+ /**
+ * Initializes a new instance of <code>Socket</code> that connects to the
+ * named host on the specified port and binds to the specified local address
+ * and port.
+ *
+ * @param host The name of the remote host to connect to.
+ * @param port The remote port to connect to.
+ * @param localAddr The local address to bind to.
+ * @param localPort The local port to bind to.
+ *
+ * @exception SecurityException If the <code>SecurityManager</code>
+ * exists and does not allow a connection to the specified host/port or
+ * binding to the specified local host/port.
+ * @exception IOException If a connection error occurs.
+ *
+ * @since 1.1
+ */
+ public Socket(String host, int port, InetAddress localAddr, int localPort)
+ throws IOException
+ {
+ this(InetAddress.getByName(host), port, localAddr, localPort, true);
+ }
+
+ /**
+ * Initializes a new instance of <code>Socket</code> and connects to the
+ * address and port number specified as arguments, plus binds to the
+ * specified local address and port.
+ *
+ * @param address The remote address to connect to
+ * @param port The remote port to connect to
+ * @param localAddr The local address to connect to
+ * @param localPort The local port to connect to
+ *
+ * @exception IOException If an error occurs
+ * @exception SecurityException If a security manager exists and its
+ * checkConnect method doesn't allow the operation
+ *
+ * @since 1.1
+ */
+ public Socket(InetAddress address, int port, InetAddress localAddr,
+ int localPort) throws IOException
+ {
+ this(address, port, localAddr, localPort, true);
+ }
+
+ /**
+ * Initializes a new instance of <code>Socket</code> and connects to the
+ * hostname and port specified as arguments. If the stream argument is set
+ * to <code>true</code>, then a stream socket is created. If it is
+ * <code>false</code>, a datagram socket is created.
+ *
+ * @param host The name of the host to connect to
+ * @param port The port to connect to
+ * @param stream <code>true</code> for a stream socket, <code>false</code>
+ * for a datagram socket
+ *
+ * @exception IOException If an error occurs
+ * @exception SecurityException If a security manager exists and its
+ * checkConnect method doesn't allow the operation
+ *
+ * @deprecated Use the <code>DatagramSocket</code> class to create
+ * datagram oriented sockets.
+ */
+ public Socket(String host, int port, boolean stream)
+ throws IOException
+ {
+ this(InetAddress.getByName(host), port, null, 0, stream);
+ }
+
+ /**
+ * Initializes a new instance of <code>Socket</code> and connects to the
+ * address and port number specified as arguments. If the stream param is
+ * <code>true</code>, a stream socket will be created, otherwise a datagram
+ * socket is created.
+ *
+ * @param host The address to connect to
+ * @param port The port number to connect to
+ * @param stream <code>true</code> to create a stream socket,
+ * <code>false</code> to create a datagram socket.
+ *
+ * @exception IOException If an error occurs
+ * @exception SecurityException If a security manager exists and its
+ * checkConnect method doesn't allow the operation
+ *
+ * @deprecated Use the <code>DatagramSocket</code> class to create
+ * datagram oriented sockets.
+ */
+ public Socket(InetAddress host, int port, boolean stream)
+ throws IOException
+ {
+ this(host, port, null, 0, stream);
+ }
+
+ /**
+ * This constructor is where the real work takes place. Connect to the
+ * specified address and port. Use default local values if not specified,
+ * otherwise use the local host and port passed in. Create as stream or
+ * datagram based on "stream" argument.
+ * <p>
+ *
+ * @param raddr The remote address to connect to
+ * @param rport The remote port to connect to
+ * @param laddr The local address to connect to
+ * @param lport The local port to connect to
+ * @param stream true for a stream socket, false for a datagram socket
+ *
+ * @exception IOException If an error occurs
+ * @exception SecurityException If a security manager exists and its
+ * checkConnect method doesn't allow the operation
+ */
+ private Socket(InetAddress raddr, int rport, InetAddress laddr, int lport,
+ boolean stream) throws IOException
+ {
+ this();
+
+ SecurityManager sm = System.getSecurityManager();
+ if (sm != null)
+ sm.checkConnect(raddr.getHostName(), rport);
+
+ // bind socket
+ SocketAddress bindaddr =
+ laddr == null ? null : new InetSocketAddress(laddr, lport);
+ bind(bindaddr);
+
+ // connect socket
+ connect(new InetSocketAddress(raddr, rport));
+
+ // FIXME: JCL p. 1586 says if localPort is unspecified, bind to any port,
+ // i.e. '0' and if localAddr is unspecified, use getLocalAddress() as
+ // that default. JDK 1.2 doc infers not to do a bind.
+ }
+
+ private SocketImpl getImpl() throws SocketException
+ {
+ try
+ {
+ if (! implCreated)
+ {
+ impl.create(true);
+ implCreated = true;
+ }
+ }
+ catch (IOException e)
+ {
+ SocketException se = new SocketException(e.toString());
+ se.initCause(e);
+ throw se;
+ }
+
+ return impl;
+ }
+
+ /**
+ * Binds the socket to the givent local address/port
+ *
+ * @param bindpoint The address/port to bind to
+ *
+ * @exception IOException If an error occurs
+ * @exception SecurityException If a security manager exists and its
+ * checkConnect method doesn't allow the operation
+ * @exception IllegalArgumentException If the address type is not supported
+ *
+ * @since 1.4
+ */
+ public void bind(SocketAddress bindpoint) throws IOException
+ {
+ if (isClosed())
+ throw new SocketException("socket is closed");
+
+ // XXX: JDK 1.4.1 API documentation says that if bindpoint is null the
+ // socket will be bound to an ephemeral port and a valid local address.
+ if (bindpoint == null)
+ bindpoint = new InetSocketAddress(InetAddress.ANY_IF, 0);
+
+ if (! (bindpoint instanceof InetSocketAddress))
+ throw new IllegalArgumentException();
+
+ InetSocketAddress tmp = (InetSocketAddress) bindpoint;
+
+ // bind to address/port
+ try
+ {
+ getImpl().bind(tmp.getAddress(), tmp.getPort());
+ bound = true;
+ }
+ catch (IOException exception)
+ {
+ close();
+ throw exception;
+ }
+ catch (RuntimeException exception)
+ {
+ close();
+ throw exception;
+ }
+ catch (Error error)
+ {
+ close();
+ throw error;
+ }
+ }
+
+ /**
+ * Connects the socket with a remote address.
+ *
+ * @param endpoint The address to connect to
+ *
+ * @exception IOException If an error occurs
+ * @exception IllegalArgumentException If the addess type is not supported
+ * @exception IllegalBlockingModeException If this socket has an associated
+ * channel, and the channel is in non-blocking mode
+ *
+ * @since 1.4
+ */
+ public void connect(SocketAddress endpoint) throws IOException
+ {
+ connect(endpoint, 0);
+ }
+
+ /**
+ * Connects the socket with a remote address. A timeout of zero is
+ * interpreted as an infinite timeout. The connection will then block
+ * until established or an error occurs.
+ *
+ * @param endpoint The address to connect to
+ * @param timeout The length of the timeout in milliseconds, or
+ * 0 to indicate no timeout.
+ *
+ * @exception IOException If an error occurs
+ * @exception IllegalArgumentException If the address type is not supported
+ * @exception IllegalBlockingModeException If this socket has an associated
+ * channel, and the channel is in non-blocking mode
+ * @exception SocketTimeoutException If the timeout is reached
+ *
+ * @since 1.4
+ */
+ public void connect(SocketAddress endpoint, int timeout)
+ throws IOException
+ {
+ if (isClosed())
+ throw new SocketException("socket is closed");
+
+ if (! (endpoint instanceof InetSocketAddress))
+ throw new IllegalArgumentException("unsupported address type");
+
+ // The Sun spec says that if we have an associated channel and
+ // it is in non-blocking mode, we throw an IllegalBlockingModeException.
+ // However, in our implementation if the channel itself initiated this
+ // operation, then we must honor it regardless of its blocking mode.
+ if (getChannel() != null && ! getChannel().isBlocking()
+ && ! ((PlainSocketImpl) getImpl()).isInChannelOperation())
+ throw new IllegalBlockingModeException();
+
+ if (! isBound())
+ bind(null);
+
+ getImpl().connect(endpoint, timeout);
+ }
+
+ /**
+ * Returns the address of the remote end of the socket. If this socket
+ * is not connected, then <code>null</code> is returned.
+ *
+ * @return The remote address this socket is connected to
+ */
+ public InetAddress getInetAddress()
+ {
+ if (! isConnected())
+ return null;
+
+ try
+ {
+ return getImpl().getInetAddress();
+ }
+ catch (SocketException e)
+ {
+ // This cannot happen as we are connected.
+ }
+
+ return null;
+ }
+
+ /**
+ * Returns the local address to which this socket is bound. If this socket
+ * is not connected, then a wildcard address, for which
+ * @see InetAddress#isAnyLocalAddress() is <code>true</code>, is returned.
+ *
+ * @return The local address
+ *
+ * @since 1.1
+ */
+ public InetAddress getLocalAddress()
+ {
+ if (! isBound())
+ return InetAddress.ANY_IF;
+
+ InetAddress addr = null;
+
+ try
+ {
+ addr = (InetAddress) getImpl().getOption(SocketOptions.SO_BINDADDR);
+ }
+ catch (SocketException e)
+ {
+ // (hopefully) shouldn't happen
+ // throw new java.lang.InternalError
+ // ("Error in PlainSocketImpl.getOption");
+ return null;
+ }
+
+ // FIXME: According to libgcj, checkConnect() is supposed to be called
+ // before performing this operation. Problems: 1) We don't have the
+ // addr until after we do it, so we do a post check. 2). The docs I
+ // see don't require this in the Socket case, only DatagramSocket, but
+ // we'll assume they mean both.
+ SecurityManager sm = System.getSecurityManager();
+ if (sm != null)
+ sm.checkConnect(addr.getHostName(), getLocalPort());
+
+ return addr;
+ }
+
+ /**
+ * Returns the port number of the remote end of the socket connection. If
+ * this socket is not connected, then 0 is returned.
+ *
+ * @return The remote port this socket is connected to
+ */
+ public int getPort()
+ {
+ if (! isConnected())
+ return 0;
+
+ try
+ {
+ return getImpl().getPort();
+ }
+ catch (SocketException e)
+ {
+ // This cannot happen as we are connected.
+ }
+
+ return 0;
+ }
+
+ /**
+ * Returns the local port number to which this socket is bound. If this
+ * socket is not connected, then -1 is returned.
+ *
+ * @return The local port
+ */
+ public int getLocalPort()
+ {
+ if (! isBound())
+ return -1;
+
+ try
+ {
+ if (getImpl() != null)
+ return getImpl().getLocalPort();
+ }
+ catch (SocketException e)
+ {
+ // This cannot happen as we are bound.
+ }
+
+ return -1;
+ }
+
+ /**
+ * Returns local socket address.
+ *
+ * @return the local socket address, null if not bound
+ *
+ * @since 1.4
+ */
+ public SocketAddress getLocalSocketAddress()
+ {
+ if (! isBound())
+ return null;
+
+ InetAddress addr = getLocalAddress();
+
+ try
+ {
+ return new InetSocketAddress(addr, getImpl().getLocalPort());
+ }
+ catch (SocketException e)
+ {
+ // This cannot happen as we are bound.
+ return null;
+ }
+ }
+
+ /**
+ * Returns the remote socket address.
+ *
+ * @return the remote socket address, null of not connected
+ *
+ * @since 1.4
+ */
+ public SocketAddress getRemoteSocketAddress()
+ {
+ if (! isConnected())
+ return null;
+
+ try
+ {
+ return new InetSocketAddress(getImpl().getInetAddress(),
+ getImpl().getPort());
+ }
+ catch (SocketException e)
+ {
+ // This cannot happen as we are connected.
+ return null;
+ }
+ }
+
+ /**
+ * Returns an InputStream for reading from this socket.
+ *
+ * @return The InputStream object
+ *
+ * @exception IOException If an error occurs or Socket is not connected
+ */
+ public InputStream getInputStream() throws IOException
+ {
+ if (isClosed())
+ throw new SocketException("socket is closed");
+
+ if (! isConnected())
+ throw new IOException("not connected");
+
+ return getImpl().getInputStream();
+ }
+
+ /**
+ * Returns an OutputStream for writing to this socket.
+ *
+ * @return The OutputStream object
+ *
+ * @exception IOException If an error occurs or Socket is not connected
+ */
+ public OutputStream getOutputStream() throws IOException
+ {
+ if (isClosed())
+ throw new SocketException("socket is closed");
+
+ if (! isConnected())
+ throw new IOException("not connected");
+
+ return getImpl().getOutputStream();
+ }
+
+ /**
+ * Sets the TCP_NODELAY option on the socket.
+ *
+ * @param on true to enable, false to disable
+ *
+ * @exception SocketException If an error occurs or Socket is not connected
+ *
+ * @since 1.1
+ */
+ public void setTcpNoDelay(boolean on) throws SocketException
+ {
+ if (isClosed())
+ throw new SocketException("socket is closed");
+
+ getImpl().setOption(SocketOptions.TCP_NODELAY, Boolean.valueOf(on));
+ }
+
+ /**
+ * Tests whether or not the TCP_NODELAY option is set on the socket.
+ * Returns true if enabled, false if disabled. When on it disables the
+ * Nagle algorithm which means that packets are always send immediatly and
+ * never merged together to reduce network trafic.
+ *
+ * @return Whether or not TCP_NODELAY is set
+ *
+ * @exception SocketException If an error occurs or Socket not connected
+ *
+ * @since 1.1
+ */
+ public boolean getTcpNoDelay() throws SocketException
+ {
+ if (isClosed())
+ throw new SocketException("socket is closed");
+
+ Object on = getImpl().getOption(SocketOptions.TCP_NODELAY);
+
+ if (on instanceof Boolean)
+ return (((Boolean) on).booleanValue());
+ else
+ throw new SocketException("Internal Error");
+ }
+
+ /**
+ * Sets the value of the SO_LINGER option on the socket. If the
+ * SO_LINGER option is set on a socket and there is still data waiting to
+ * be sent when the socket is closed, then the close operation will block
+ * until either that data is delivered or until the timeout period
+ * expires. The linger interval is specified in hundreths of a second
+ * (platform specific?)
+ *
+ * @param on true to enable SO_LINGER, false to disable
+ * @param linger The SO_LINGER timeout in hundreths of a second or -1 if
+ * SO_LINGER not set.
+ *
+ * @exception SocketException If an error occurs or Socket not connected
+ * @exception IllegalArgumentException If linger is negative
+ *
+ * @since 1.1
+ */
+ public void setSoLinger(boolean on, int linger) throws SocketException
+ {
+ if (isClosed())
+ throw new SocketException("socket is closed");
+
+ if (on)
+ {
+ if (linger < 0)
+ throw new IllegalArgumentException("SO_LINGER must be >= 0");
+
+ if (linger > 65535)
+ linger = 65535;
+
+ getImpl().setOption(SocketOptions.SO_LINGER, new Integer(linger));
+ }
+ else
+ getImpl().setOption(SocketOptions.SO_LINGER, Boolean.valueOf(false));
+ }
+
+ /**
+ * Returns the value of the SO_LINGER option on the socket. If the
+ * SO_LINGER option is set on a socket and there is still data waiting to
+ * be sent when the socket is closed, then the close operation will block
+ * until either that data is delivered or until the timeout period
+ * expires. This method either returns the timeouts (in hundredths of
+ * of a second (platform specific?)) if SO_LINGER is set, or -1 if
+ * SO_LINGER is not set.
+ *
+ * @return The SO_LINGER timeout in hundreths of a second or -1
+ * if SO_LINGER not set
+ *
+ * @exception SocketException If an error occurs or Socket is not connected
+ *
+ * @since 1.1
+ */
+ public int getSoLinger() throws SocketException
+ {
+ if (isClosed())
+ throw new SocketException("socket is closed");
+
+ Object linger = getImpl().getOption(SocketOptions.SO_LINGER);
+
+ if (linger instanceof Integer)
+ return (((Integer) linger).intValue());
+ else
+ return -1;
+ }
+
+ /**
+ * Sends urgent data through the socket
+ *
+ * @param data The data to send.
+ * Only the lowest eight bits of data are sent
+ *
+ * @exception IOException If an error occurs
+ *
+ * @since 1.4
+ */
+ public void sendUrgentData(int data) throws IOException
+ {
+ if (isClosed())
+ throw new SocketException("socket is closed");
+
+ getImpl().sendUrgentData(data);
+ }
+
+ /**
+ * Enables/disables the SO_OOBINLINE option
+ *
+ * @param on True if SO_OOBLINE should be enabled
+ *
+ * @exception SocketException If an error occurs
+ *
+ * @since 1.4
+ */
+ public void setOOBInline(boolean on) throws SocketException
+ {
+ if (isClosed())
+ throw new SocketException("socket is closed");
+
+ getImpl().setOption(SocketOptions.SO_OOBINLINE, Boolean.valueOf(on));
+ }
+
+ /**
+ * Returns the current setting of the SO_OOBINLINE option for this socket
+ *
+ * @return True if SO_OOBINLINE is set, false otherwise.
+ *
+ * @exception SocketException If an error occurs
+ *
+ * @since 1.4
+ */
+ public boolean getOOBInline() throws SocketException
+ {
+ if (isClosed())
+ throw new SocketException("socket is closed");
+
+ Object buf = getImpl().getOption(SocketOptions.SO_OOBINLINE);
+
+ if (buf instanceof Boolean)
+ return (((Boolean) buf).booleanValue());
+ else
+ throw new SocketException("Internal Error: Unexpected type");
+ }
+
+ /**
+ * Sets the value of the SO_TIMEOUT option on the socket. If this value
+ * is set, and an read/write is performed that does not complete within
+ * the timeout period, a short count is returned (or an EWOULDBLOCK signal
+ * would be sent in Unix if no data had been read). A value of 0 for
+ * this option implies that there is no timeout (ie, operations will
+ * block forever). On systems that have separate read and write timeout
+ * values, this method returns the read timeout. This
+ * value is in milliseconds.
+ *
+ * @param timeout The length of the timeout in milliseconds, or
+ * 0 to indicate no timeout.
+ *
+ * @exception SocketException If an error occurs or Socket not connected
+ *
+ * @since 1.1
+ */
+ public synchronized void setSoTimeout(int timeout) throws SocketException
+ {
+ if (isClosed())
+ throw new SocketException("socket is closed");
+
+ if (timeout < 0)
+ throw new IllegalArgumentException("SO_TIMEOUT value must be >= 0");
+
+ getImpl().setOption(SocketOptions.SO_TIMEOUT, new Integer(timeout));
+ }
+
+ /**
+ * Returns the value of the SO_TIMEOUT option on the socket. If this value
+ * is set, and an read/write is performed that does not complete within
+ * the timeout period, a short count is returned (or an EWOULDBLOCK signal
+ * would be sent in Unix if no data had been read). A value of 0 for
+ * this option implies that there is no timeout (ie, operations will
+ * block forever). On systems that have separate read and write timeout
+ * values, this method returns the read timeout. This
+ * value is in thousandths of a second (implementation specific?).
+ *
+ * @return The length of the timeout in thousandth's of a second or 0
+ * if not set
+ *
+ * @exception SocketException If an error occurs or Socket not connected
+ *
+ * @since 1.1
+ */
+ public synchronized int getSoTimeout() throws SocketException
+ {
+ if (isClosed())
+ throw new SocketException("socket is closed");
+
+ Object timeout = getImpl().getOption(SocketOptions.SO_TIMEOUT);
+ if (timeout instanceof Integer)
+ return (((Integer) timeout).intValue());
+ else
+ return 0;
+ }
+
+ /**
+ * This method sets the value for the system level socket option
+ * SO_SNDBUF to the specified value. Note that valid values for this
+ * option are specific to a given operating system.
+ *
+ * @param size The new send buffer size.
+ *
+ * @exception SocketException If an error occurs or Socket not connected
+ * @exception IllegalArgumentException If size is 0 or negative
+ *
+ * @since 1.2
+ */
+ public void setSendBufferSize(int size) throws SocketException
+ {
+ if (isClosed())
+ throw new SocketException("socket is closed");
+
+ if (size <= 0)
+ throw new IllegalArgumentException("SO_SNDBUF value must be > 0");
+
+ getImpl().setOption(SocketOptions.SO_SNDBUF, new Integer(size));
+ }
+
+ /**
+ * This method returns the value of the system level socket option
+ * SO_SNDBUF, which is used by the operating system to tune buffer
+ * sizes for data transfers.
+ *
+ * @return The send buffer size.
+ *
+ * @exception SocketException If an error occurs or socket not connected
+ *
+ * @since 1.2
+ */
+ public int getSendBufferSize() throws SocketException
+ {
+ if (isClosed())
+ throw new SocketException("socket is closed");
+
+ Object buf = getImpl().getOption(SocketOptions.SO_SNDBUF);
+
+ if (buf instanceof Integer)
+ return (((Integer) buf).intValue());
+ else
+ throw new SocketException("Internal Error: Unexpected type");
+ }
+
+ /**
+ * This method sets the value for the system level socket option
+ * SO_RCVBUF to the specified value. Note that valid values for this
+ * option are specific to a given operating system.
+ *
+ * @param size The new receive buffer size.
+ *
+ * @exception SocketException If an error occurs or Socket is not connected
+ * @exception IllegalArgumentException If size is 0 or negative
+ *
+ * @since 1.2
+ */
+ public void setReceiveBufferSize(int size) throws SocketException
+ {
+ if (isClosed())
+ throw new SocketException("socket is closed");
+
+ if (size <= 0)
+ throw new IllegalArgumentException("SO_RCVBUF value must be > 0");
+
+ getImpl().setOption(SocketOptions.SO_RCVBUF, new Integer(size));
+ }
+
+ /**
+ * This method returns the value of the system level socket option
+ * SO_RCVBUF, which is used by the operating system to tune buffer
+ * sizes for data transfers.
+ *
+ * @return The receive buffer size.
+ *
+ * @exception SocketException If an error occurs or Socket is not connected
+ *
+ * @since 1.2
+ */
+ public int getReceiveBufferSize() throws SocketException
+ {
+ if (isClosed())
+ throw new SocketException("socket is closed");
+
+ Object buf = getImpl().getOption(SocketOptions.SO_RCVBUF);
+
+ if (buf instanceof Integer)
+ return (((Integer) buf).intValue());
+ else
+ throw new SocketException("Internal Error: Unexpected type");
+ }
+
+ /**
+ * This method sets the value for the socket level socket option
+ * SO_KEEPALIVE.
+ *
+ * @param on True if SO_KEEPALIVE should be enabled
+ *
+ * @exception SocketException If an error occurs or Socket is not connected
+ *
+ * @since 1.3
+ */
+ public void setKeepAlive(boolean on) throws SocketException
+ {
+ if (isClosed())
+ throw new SocketException("socket is closed");
+
+ getImpl().setOption(SocketOptions.SO_KEEPALIVE, Boolean.valueOf(on));
+ }
+
+ /**
+ * This method returns the value of the socket level socket option
+ * SO_KEEPALIVE.
+ *
+ * @return The setting
+ *
+ * @exception SocketException If an error occurs or Socket is not connected
+ *
+ * @since 1.3
+ */
+ public boolean getKeepAlive() throws SocketException
+ {
+ if (isClosed())
+ throw new SocketException("socket is closed");
+
+ Object buf = getImpl().getOption(SocketOptions.SO_KEEPALIVE);
+
+ if (buf instanceof Boolean)
+ return (((Boolean) buf).booleanValue());
+ else
+ throw new SocketException("Internal Error: Unexpected type");
+ }
+
+ /**
+ * Closes the socket.
+ *
+ * @exception IOException If an error occurs
+ */
+ public synchronized void close() throws IOException
+ {
+ if (isClosed())
+ return;
+
+ getImpl().close();
+ impl = null;
+ bound = false;
+
+ if (getChannel() != null)
+ getChannel().close();
+ }
+
+ /**
+ * Converts this <code>Socket</code> to a <code>String</code>.
+ *
+ * @return The <code>String</code> representation of this <code>Socket</code>
+ */
+ public String toString()
+ {
+ try
+ {
+ if (isConnected())
+ return ("Socket[addr=" + getImpl().getInetAddress() + ",port="
+ + getImpl().getPort() + ",localport="
+ + getImpl().getLocalPort() + "]");
+ }
+ catch (SocketException e)
+ {
+ // This cannot happen as we are connected.
+ }
+
+ return "Socket[unconnected]";
+ }
+
+ /**
+ * Sets the <code>SocketImplFactory</code>. This may be done only once per
+ * virtual machine. Subsequent attempts will generate a
+ * <code>SocketException</code>. Note that a <code>SecurityManager</code>
+ * check is made prior to setting the factory. If
+ * insufficient privileges exist to set the factory, then an
+ * <code>IOException</code> will be thrown.
+ *
+ * @param fac the factory to set
+ *
+ * @exception SecurityException If the <code>SecurityManager</code> does
+ * not allow this operation.
+ * @exception SocketException If the SocketImplFactory is already defined
+ * @exception IOException If any other error occurs
+ */
+ public static synchronized void setSocketImplFactory(SocketImplFactory fac)
+ throws IOException
+ {
+ // See if already set
+ if (factory != null)
+ throw new SocketException("SocketImplFactory already defined");
+
+ // Check permissions
+ SecurityManager sm = System.getSecurityManager();
+ if (sm != null)
+ sm.checkSetFactory();
+
+ if (fac == null)
+ throw new SocketException("SocketImplFactory cannot be null");
+
+ factory = fac;
+ }
+
+ /**
+ * Closes the input side of the socket stream.
+ *
+ * @exception IOException If an error occurs.
+ *
+ * @since 1.3
+ */
+ public void shutdownInput() throws IOException
+ {
+ if (isClosed())
+ throw new SocketException("socket is closed");
+
+ getImpl().shutdownInput();
+ inputShutdown = true;
+ }
+
+ /**
+ * Closes the output side of the socket stream.
+ *
+ * @exception IOException If an error occurs.
+ *
+ * @since 1.3
+ */
+ public void shutdownOutput() throws IOException
+ {
+ if (isClosed())
+ throw new SocketException("socket is closed");
+
+ getImpl().shutdownOutput();
+ outputShutdown = true;
+ }
+
+ /**
+ * Returns the socket channel associated with this socket.
+ *
+ * @return the associated socket channel,
+ * null if no associated channel exists
+ *
+ * @since 1.4
+ */
+ public SocketChannel getChannel()
+ {
+ return null;
+ }
+
+ /**
+ * Checks if the SO_REUSEADDR option is enabled
+ *
+ * @return True if SO_REUSEADDR is set, false otherwise.
+ *
+ * @exception SocketException If an error occurs
+ *
+ * @since 1.4
+ */
+ public boolean getReuseAddress() throws SocketException
+ {
+ if (isClosed())
+ throw new SocketException("socket is closed");
+
+ Object reuseaddr = getImpl().getOption(SocketOptions.SO_REUSEADDR);
+
+ if (! (reuseaddr instanceof Boolean))
+ throw new SocketException("Internal Error");
+
+ return ((Boolean) reuseaddr).booleanValue();
+ }
+
+ /**
+ * Enables/Disables the SO_REUSEADDR option
+ *
+ * @param reuseAddress true if SO_REUSEADDR should be enabled,
+ * false otherwise
+ *
+ * @exception SocketException If an error occurs
+ *
+ * @since 1.4
+ */
+ public void setReuseAddress(boolean reuseAddress) throws SocketException
+ {
+ if (isClosed())
+ throw new SocketException("socket is closed");
+
+ getImpl().setOption(SocketOptions.SO_REUSEADDR,
+ Boolean.valueOf(reuseAddress));
+ }
+
+ /**
+ * Returns the current traffic class
+ *
+ * @return The current traffic class.
+ *
+ * @exception SocketException If an error occurs
+ *
+ * @see Socket#setTrafficClass(int tc)
+ *
+ * @since 1.4
+ */
+ public int getTrafficClass() throws SocketException
+ {
+ if (isClosed())
+ throw new SocketException("socket is closed");
+
+ Object obj = getImpl().getOption(SocketOptions.IP_TOS);
+
+ if (obj instanceof Integer)
+ return ((Integer) obj).intValue();
+ else
+ throw new SocketException("Unexpected type");
+ }
+
+ /**
+ * Sets the traffic class value
+ *
+ * @param tc The traffic class
+ *
+ * @exception SocketException If an error occurs
+ * @exception IllegalArgumentException If tc value is illegal
+ *
+ * @see Socket#getTrafficClass()
+ *
+ * @since 1.4
+ */
+ public void setTrafficClass(int tc) throws SocketException
+ {
+ if (isClosed())
+ throw new SocketException("socket is closed");
+
+ if (tc < 0 || tc > 255)
+ throw new IllegalArgumentException();
+
+ getImpl().setOption(SocketOptions.IP_TOS, new Integer(tc));
+ }
+
+ /**
+ * Checks if the socket is connected
+ *
+ * @return True if socket is connected, false otherwise.
+ *
+ * @since 1.4
+ */
+ public boolean isConnected()
+ {
+ try
+ {
+ if (getImpl() == null)
+ return false;
+
+ return getImpl().getInetAddress() != null;
+ }
+ catch (SocketException e)
+ {
+ return false;
+ }
+ }
+
+ /**
+ * Checks if the socket is already bound.
+ *
+ * @return True if socket is bound, false otherwise.
+ *
+ * @since 1.4
+ */
+ public boolean isBound()
+ {
+ return bound;
+ }
+
+ /**
+ * Checks if the socket is closed.
+ *
+ * @return True if socket is closed, false otherwise.
+ *
+ * @since 1.4
+ */
+ public boolean isClosed()
+ {
+ return impl == null;
+ }
+
+ /**
+ * Checks if the socket's input stream is shutdown
+ *
+ * @return True if input is shut down.
+ *
+ * @since 1.4
+ */
+ public boolean isInputShutdown()
+ {
+ return inputShutdown;
+ }
+
+ /**
+ * Checks if the socket's output stream is shutdown
+ *
+ * @return True if output is shut down.
+ *
+ * @since 1.4
+ */
+ public boolean isOutputShutdown()
+ {
+ return outputShutdown;
+ }
+}
diff --git a/libjava/java/net/SocketAddress.h b/libjava/java/net/SocketAddress.h
new file mode 100644
index 0000000..42f0f21
--- /dev/null
+++ b/libjava/java/net/SocketAddress.h
@@ -0,0 +1,32 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_net_SocketAddress__
+#define __java_net_SocketAddress__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace net
+ {
+ class SocketAddress;
+ }
+ }
+}
+
+class java::net::SocketAddress : public ::java::lang::Object
+{
+
+public:
+ SocketAddress();
+public: // actually package-private
+ static const jlong serialVersionUID = 5215720748342549866LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_net_SocketAddress__
diff --git a/libjava/java/net/SocketException.h b/libjava/java/net/SocketException.h
new file mode 100644
index 0000000..563e7f1
--- /dev/null
+++ b/libjava/java/net/SocketException.h
@@ -0,0 +1,33 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_net_SocketException__
+#define __java_net_SocketException__
+
+#pragma interface
+
+#include <java/io/IOException.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace net
+ {
+ class SocketException;
+ }
+ }
+}
+
+class java::net::SocketException : public ::java::io::IOException
+{
+
+public:
+ SocketException();
+ SocketException(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = -5935874303556886934LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_net_SocketException__
diff --git a/libjava/java/net/SocketImpl.h b/libjava/java/net/SocketImpl.h
new file mode 100644
index 0000000..0daf514
--- /dev/null
+++ b/libjava/java/net/SocketImpl.h
@@ -0,0 +1,63 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_net_SocketImpl__
+#define __java_net_SocketImpl__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace net
+ {
+ class InetAddress;
+ class SocketAddress;
+ class SocketImpl;
+ }
+ }
+}
+
+class java::net::SocketImpl : public ::java::lang::Object
+{
+
+public:
+ SocketImpl();
+public: // actually protected
+ virtual void create(jboolean) = 0;
+ virtual void connect(::java::lang::String *, jint) = 0;
+ virtual void connect(::java::net::InetAddress *, jint) = 0;
+ virtual void connect(::java::net::SocketAddress *, jint) = 0;
+ virtual void bind(::java::net::InetAddress *, jint) = 0;
+ virtual void listen(jint) = 0;
+ virtual void accept(::java::net::SocketImpl *) = 0;
+ virtual ::java::io::InputStream * getInputStream() = 0;
+ virtual ::java::io::OutputStream * getOutputStream() = 0;
+ virtual jint available() = 0;
+ virtual void close() = 0;
+ virtual ::java::io::FileDescriptor * getFileDescriptor();
+ virtual ::java::net::InetAddress * getInetAddress();
+ virtual jint getPort();
+ virtual jboolean supportsUrgentData();
+ virtual void sendUrgentData(jint) = 0;
+ virtual jint getLocalPort();
+public:
+ virtual ::java::lang::String * toString();
+public: // actually protected
+ virtual void shutdownInput();
+ virtual void shutdownOutput();
+public:
+ virtual void setOption(jint, ::java::lang::Object *) = 0;
+ virtual ::java::lang::Object * getOption(jint) = 0;
+public: // actually protected
+ ::java::net::InetAddress * __attribute__((aligned(__alignof__( ::java::lang::Object)))) address;
+ ::java::io::FileDescriptor * fd;
+ jint localport;
+ jint port;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_net_SocketImpl__
diff --git a/libjava/java/net/SocketImplFactory.h b/libjava/java/net/SocketImplFactory.h
new file mode 100644
index 0000000..2089846
--- /dev/null
+++ b/libjava/java/net/SocketImplFactory.h
@@ -0,0 +1,30 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_net_SocketImplFactory__
+#define __java_net_SocketImplFactory__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace net
+ {
+ class SocketImpl;
+ class SocketImplFactory;
+ }
+ }
+}
+
+class java::net::SocketImplFactory : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::net::SocketImpl * createSocketImpl() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_net_SocketImplFactory__
diff --git a/libjava/java/net/SocketOptions.h b/libjava/java/net/SocketOptions.h
new file mode 100644
index 0000000..6a56d13
--- /dev/null
+++ b/libjava/java/net/SocketOptions.h
@@ -0,0 +1,44 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_net_SocketOptions__
+#define __java_net_SocketOptions__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace net
+ {
+ class SocketOptions;
+ }
+ }
+}
+
+class java::net::SocketOptions : public ::java::lang::Object
+{
+
+public:
+ virtual void setOption(jint, ::java::lang::Object *) = 0;
+ virtual ::java::lang::Object * getOption(jint) = 0;
+ static const jint SO_KEEPALIVE = 8;
+ static const jint SO_LINGER = 128;
+ static const jint SO_TIMEOUT = 4102;
+ static const jint SO_BINDADDR = 15;
+ static const jint SO_SNDBUF = 4097;
+ static const jint SO_RCVBUF = 4098;
+ static const jint SO_REUSEADDR = 4;
+ static const jint SO_BROADCAST = 32;
+ static const jint SO_OOBINLINE = 4099;
+ static const jint TCP_NODELAY = 1;
+ static const jint IP_MULTICAST_IF = 16;
+ static const jint IP_MULTICAST_IF2 = 31;
+ static const jint IP_MULTICAST_LOOP = 18;
+ static const jint IP_TOS = 3;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_net_SocketOptions__
diff --git a/libjava/java/net/SocketPermission.h b/libjava/java/net/SocketPermission.h
new file mode 100644
index 0000000..dae8e83
--- /dev/null
+++ b/libjava/java/net/SocketPermission.h
@@ -0,0 +1,68 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_net_SocketPermission__
+#define __java_net_SocketPermission__
+
+#pragma interface
+
+#include <java/security/Permission.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace net
+ {
+ class InetAddress;
+ class SocketPermission;
+ }
+ namespace security
+ {
+ class Permission;
+ class PermissionCollection;
+ }
+ }
+}
+
+class java::net::SocketPermission : public ::java::security::Permission
+{
+
+public:
+ SocketPermission(::java::lang::String *, ::java::lang::String *);
+private:
+ static ::java::lang::String * processHostport(::java::lang::String *);
+ void setHostPort(::java::lang::String *);
+ void setActions(::java::lang::String *);
+ void setAction(::java::lang::String *);
+public:
+ jboolean equals(::java::lang::Object *);
+ jint hashCode();
+ ::java::lang::String * getActions();
+ ::java::security::PermissionCollection * newPermissionCollection();
+private:
+ JArray< ::java::net::InetAddress * > * getAddresses();
+ ::java::lang::String * getCanonicalHostName();
+public:
+ jboolean implies(::java::security::Permission *);
+private:
+ void readObject(::java::io::ObjectInputStream *);
+ void writeObject(::java::io::ObjectOutputStream *);
+public: // actually package-private
+ static const jlong serialVersionUID = -7204263841984476862LL;
+private:
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::security::Permission)))) hostname;
+ ::java::net::InetAddress * address;
+ jint minport;
+ jint maxport;
+ static const jint MIN_PORT = 0;
+ static const jint MAX_PORT = 2147483647;
+ ::java::lang::String * actions;
+ jint actionmask;
+ static JArray< ::java::lang::String * > * ACTIONS;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_net_SocketPermission__
diff --git a/libjava/java/net/SocketTimeoutException.h b/libjava/java/net/SocketTimeoutException.h
new file mode 100644
index 0000000..a32424b
--- /dev/null
+++ b/libjava/java/net/SocketTimeoutException.h
@@ -0,0 +1,33 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_net_SocketTimeoutException__
+#define __java_net_SocketTimeoutException__
+
+#pragma interface
+
+#include <java/io/InterruptedIOException.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace net
+ {
+ class SocketTimeoutException;
+ }
+ }
+}
+
+class java::net::SocketTimeoutException : public ::java::io::InterruptedIOException
+{
+
+public:
+ SocketTimeoutException();
+ SocketTimeoutException(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = -8846654841826352300LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_net_SocketTimeoutException__
diff --git a/libjava/java/net/URI.h b/libjava/java/net/URI.h
new file mode 100644
index 0000000..9c8f4f2
--- /dev/null
+++ b/libjava/java/net/URI.h
@@ -0,0 +1,134 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_net_URI__
+#define __java_net_URI__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace net
+ {
+ class URI;
+ class URL;
+ }
+ }
+}
+
+class java::net::URI : public ::java::lang::Object
+{
+
+ void readObject(::java::io::ObjectInputStream *);
+ void writeObject(::java::io::ObjectOutputStream *);
+ static ::java::lang::String * getURIGroup(::java::util::regex::Matcher *, jint);
+ void parseURI(::java::lang::String *);
+ static ::java::lang::String * unquote(::java::lang::String *);
+ static ::java::lang::String * quote(::java::lang::String *);
+ static ::java::lang::String * quoteAuthority(::java::lang::String *);
+ static ::java::lang::String * quote(::java::lang::String *, ::java::lang::String *);
+ static ::java::lang::String * quoteHost(::java::lang::String *);
+ static ::java::lang::String * quotePath(::java::lang::String *);
+ static ::java::lang::String * quoteUserInfo(::java::lang::String *);
+public:
+ URI(::java::lang::String *);
+ URI(::java::lang::String *, ::java::lang::String *, ::java::lang::String *, jint, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
+ URI(::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
+ URI(::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
+ URI(::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
+ static ::java::net::URI * create(::java::lang::String *);
+ ::java::net::URI * parseServerAuthority();
+ ::java::net::URI * normalize();
+private:
+ ::java::lang::String * normalizePath(::java::lang::String *);
+ void removeLastSegment(::java::lang::StringBuffer *);
+public:
+ ::java::net::URI * resolve(::java::net::URI *);
+ ::java::net::URI * resolve(::java::lang::String *);
+ ::java::net::URI * relativize(::java::net::URI *);
+ ::java::net::URL * toURL();
+ ::java::lang::String * getScheme();
+ jboolean isAbsolute();
+ jboolean isOpaque();
+ ::java::lang::String * getRawSchemeSpecificPart();
+ ::java::lang::String * getSchemeSpecificPart();
+ ::java::lang::String * getRawAuthority();
+ ::java::lang::String * getAuthority();
+ ::java::lang::String * getRawUserInfo();
+ ::java::lang::String * getUserInfo();
+ ::java::lang::String * getHost();
+ jint getPort();
+ ::java::lang::String * getRawPath();
+ ::java::lang::String * getPath();
+ ::java::lang::String * getRawQuery();
+ ::java::lang::String * getQuery();
+ ::java::lang::String * getRawFragment();
+ ::java::lang::String * getFragment();
+ jboolean equals(::java::lang::Object *);
+ jint hashCode();
+ jint target$compareTo(::java::net::URI *);
+private:
+ jint compareFragments(::java::net::URI *);
+public:
+ ::java::lang::String * toString();
+ ::java::lang::String * toASCIIString();
+private:
+ static ::java::lang::String * escapeCharacters(::java::lang::String *);
+public:
+ jint compareTo(::java::lang::Object *);
+public: // actually package-private
+ static const jlong serialVersionUID = -6052424284110960213LL;
+private:
+ static ::java::lang::String * URI_REGEXP;
+ static ::java::lang::String * AUTHORITY_REGEXP;
+ static ::java::lang::String * RFC2396_DIGIT;
+ static ::java::lang::String * RFC2396_LOWALPHA;
+ static ::java::lang::String * RFC2396_UPALPHA;
+ static ::java::lang::String * RFC2396_ALPHA;
+ static ::java::lang::String * RFC2396_ALPHANUM;
+ static ::java::lang::String * RFC3986_UNRESERVED;
+ static ::java::lang::String * RFC3986_SUBDELIMS;
+ static ::java::lang::String * RFC3986_REG_NAME;
+ static ::java::lang::String * RFC3986_PCHAR;
+ static ::java::lang::String * RFC3986_SEGMENT;
+ static ::java::lang::String * RFC3986_PATH_SEGMENTS;
+ static ::java::lang::String * RFC3986_SSP;
+ static ::java::lang::String * RFC3986_HOST;
+ static ::java::lang::String * RFC3986_USERINFO;
+ static const jint SCHEME_GROUP = 2;
+ static const jint SCHEME_SPEC_PART_GROUP = 3;
+ static const jint AUTHORITY_GROUP = 5;
+ static const jint PATH_GROUP = 6;
+ static const jint QUERY_GROUP = 8;
+ static const jint FRAGMENT_GROUP = 10;
+ static const jint AUTHORITY_USERINFO_GROUP = 2;
+ static const jint AUTHORITY_HOST_GROUP = 3;
+ static const jint AUTHORITY_PORT_GROUP = 5;
+ static ::java::util::regex::Pattern * URI_PATTERN;
+ static ::java::util::regex::Pattern * AUTHORITY_PATTERN;
+ static ::java::lang::String * HEX;
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) scheme;
+ ::java::lang::String * rawSchemeSpecificPart;
+ ::java::lang::String * schemeSpecificPart;
+ ::java::lang::String * rawAuthority;
+ ::java::lang::String * authority;
+ ::java::lang::String * rawUserInfo;
+ ::java::lang::String * userInfo;
+ ::java::lang::String * rawHost;
+ ::java::lang::String * host;
+ jint port;
+ ::java::lang::String * rawPath;
+ ::java::lang::String * path;
+ ::java::lang::String * rawQuery;
+ ::java::lang::String * query;
+ ::java::lang::String * rawFragment;
+ ::java::lang::String * fragment;
+ ::java::lang::String * string;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_net_URI__
diff --git a/libjava/java/net/URISyntaxException.h b/libjava/java/net/URISyntaxException.h
new file mode 100644
index 0000000..93f1a4e
--- /dev/null
+++ b/libjava/java/net/URISyntaxException.h
@@ -0,0 +1,39 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_net_URISyntaxException__
+#define __java_net_URISyntaxException__
+
+#pragma interface
+
+#include <java/lang/Exception.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace net
+ {
+ class URISyntaxException;
+ }
+ }
+}
+
+class java::net::URISyntaxException : public ::java::lang::Exception
+{
+
+public:
+ URISyntaxException(::java::lang::String *, ::java::lang::String *);
+ URISyntaxException(::java::lang::String *, ::java::lang::String *, jint);
+ virtual ::java::lang::String * getInput();
+ virtual ::java::lang::String * getReason();
+ virtual jint getIndex();
+ virtual ::java::lang::String * getMessage();
+private:
+ static const jlong serialVersionUID = 2137979680897488891LL;
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Exception)))) input;
+ jint index;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_net_URISyntaxException__
diff --git a/libjava/java/net/URL$1.h b/libjava/java/net/URL$1.h
new file mode 100644
index 0000000..d81ebe4
--- /dev/null
+++ b/libjava/java/net/URL$1.h
@@ -0,0 +1,31 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_net_URL$1__
+#define __java_net_URL$1__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace net
+ {
+ class URL$1;
+ }
+ }
+}
+
+class java::net::URL$1 : public ::java::lang::Object
+{
+
+public: // actually package-private
+ URL$1();
+public:
+ ::java::lang::Object * run();
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_net_URL$1__
diff --git a/libjava/java/net/URL.h b/libjava/java/net/URL.h
new file mode 100644
index 0000000..536d89c
--- /dev/null
+++ b/libjava/java/net/URL.h
@@ -0,0 +1,89 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_net_URL__
+#define __java_net_URL__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace net
+ {
+ class URI;
+ class URL;
+ class URLConnection;
+ class URLStreamHandler;
+ class URLStreamHandlerFactory;
+ }
+ }
+}
+
+class java::net::URL : public ::java::lang::Object
+{
+
+public:
+ URL(::java::lang::String *, ::java::lang::String *, jint, ::java::lang::String *);
+ URL(::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
+ URL(::java::lang::String *, ::java::lang::String *, jint, ::java::lang::String *, ::java::net::URLStreamHandler *);
+ URL(::java::lang::String *);
+ URL(::java::net::URL *, ::java::lang::String *);
+ URL(::java::net::URL *, ::java::lang::String *, ::java::net::URLStreamHandler *);
+ jboolean equals(::java::lang::Object *);
+ ::java::lang::Object * getContent();
+ ::java::lang::Object * getContent(JArray< ::java::lang::Class * > *);
+ ::java::lang::String * getFile();
+ ::java::lang::String * getPath();
+ ::java::lang::String * getAuthority();
+ ::java::lang::String * getHost();
+ jint getPort();
+ jint getDefaultPort();
+ ::java::lang::String * getProtocol();
+ ::java::lang::String * getRef();
+ ::java::lang::String * getUserInfo();
+ ::java::lang::String * getQuery();
+ jint hashCode();
+ ::java::net::URLConnection * openConnection();
+ ::java::io::InputStream * openStream();
+ jboolean sameFile(::java::net::URL *);
+public: // actually protected
+ void set(::java::lang::String *, ::java::lang::String *, jint, ::java::lang::String *, ::java::lang::String *);
+ void set(::java::lang::String *, ::java::lang::String *, jint, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
+public:
+ static void setURLStreamHandlerFactory(::java::net::URLStreamHandlerFactory *);
+ ::java::lang::String * toExternalForm();
+ ::java::lang::String * toString();
+private:
+ static ::java::net::URLStreamHandler * getURLStreamHandler(::java::lang::String *);
+ void readObject(::java::io::ObjectInputStream *);
+ void writeObject(::java::io::ObjectOutputStream *);
+public:
+ ::java::net::URI * toURI();
+private:
+ static ::java::lang::String * DEFAULT_SEARCH_PATH;
+ static ::java::lang::ClassLoader * systemClassLoader;
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) protocol;
+ ::java::lang::String * authority;
+ ::java::lang::String * host;
+ ::java::lang::String * userInfo;
+ jint port;
+ ::java::lang::String * file;
+ ::java::lang::String * ref;
+ jint hashCode__;
+public: // actually package-private
+ ::java::net::URLStreamHandler * ph;
+private:
+ static ::java::net::URLStreamHandlerFactory * factory;
+ static const jlong serialVersionUID = -7627629688361524110LL;
+ static ::java::util::HashMap * ph_cache;
+ static jboolean cache_handlers;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_net_URL__
diff --git a/libjava/java/net/URLClassLoader$1.h b/libjava/java/net/URLClassLoader$1.h
new file mode 100644
index 0000000..d7f5779
--- /dev/null
+++ b/libjava/java/net/URLClassLoader$1.h
@@ -0,0 +1,45 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_net_URLClassLoader$1__
+#define __java_net_URLClassLoader$1__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace net
+ {
+ class URLClassLoader;
+ class URLClassLoader$1;
+ }
+ namespace security
+ {
+ class CodeSource;
+ }
+ }
+}
+
+class java::net::URLClassLoader$1 : public ::java::lang::Object
+{
+
+public: // actually package-private
+ URLClassLoader$1(::java::net::URLClassLoader *, ::java::lang::String *, JArray< jbyte > *, ::java::security::CodeSource *);
+public:
+ ::java::lang::Object * run();
+public: // actually package-private
+ ::java::net::URLClassLoader * __attribute__((aligned(__alignof__( ::java::lang::Object)))) this$0;
+private:
+ ::java::lang::String * val$className;
+ JArray< jbyte > * val$classData;
+ ::java::security::CodeSource * val$source;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_net_URLClassLoader$1__
diff --git a/libjava/java/net/URLClassLoader$2.h b/libjava/java/net/URLClassLoader$2.h
new file mode 100644
index 0000000..274d4c3
--- /dev/null
+++ b/libjava/java/net/URLClassLoader$2.h
@@ -0,0 +1,35 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_net_URLClassLoader$2__
+#define __java_net_URLClassLoader$2__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace net
+ {
+ class URLClassLoader$2;
+ }
+ }
+}
+
+class java::net::URLClassLoader$2 : public ::java::lang::Object
+{
+
+public: // actually package-private
+ URLClassLoader$2(::java::lang::ClassLoader *, ::java::lang::Object *);
+public:
+ ::java::lang::Object * run();
+private:
+ ::java::lang::ClassLoader * __attribute__((aligned(__alignof__( ::java::lang::Object)))) val$parent;
+ ::java::lang::Object * val$securityContext;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_net_URLClassLoader$2__
diff --git a/libjava/java/net/URLClassLoader$CoreResource.h b/libjava/java/net/URLClassLoader$CoreResource.h
new file mode 100644
index 0000000..ff3314a
--- /dev/null
+++ b/libjava/java/net/URLClassLoader$CoreResource.h
@@ -0,0 +1,46 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_net_URLClassLoader$CoreResource__
+#define __java_net_URLClassLoader$CoreResource__
+
+#pragma interface
+
+#include <java/net/URLClassLoader$Resource.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace gcj
+ {
+ class Core;
+ }
+ }
+ namespace java
+ {
+ namespace net
+ {
+ class URL;
+ class URLClassLoader$CoreResource;
+ class URLClassLoader$CoreURLLoader;
+ }
+ }
+}
+
+class java::net::URLClassLoader$CoreResource : public ::java::net::URLClassLoader$Resource
+{
+
+public: // actually package-private
+ URLClassLoader$CoreResource(::java::net::URLClassLoader$CoreURLLoader *, ::java::lang::String *, ::gnu::gcj::Core *);
+ ::java::io::InputStream * getInputStream();
+public:
+ jint getLength();
+ ::java::net::URL * getURL();
+private:
+ ::gnu::gcj::Core * __attribute__((aligned(__alignof__( ::java::net::URLClassLoader$Resource)))) core;
+ ::java::lang::String * name;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_net_URLClassLoader$CoreResource__
diff --git a/libjava/java/net/URLClassLoader$CoreURLLoader.h b/libjava/java/net/URLClassLoader$CoreURLLoader.h
new file mode 100644
index 0000000..3c701cd
--- /dev/null
+++ b/libjava/java/net/URLClassLoader$CoreURLLoader.h
@@ -0,0 +1,36 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_net_URLClassLoader$CoreURLLoader__
+#define __java_net_URLClassLoader$CoreURLLoader__
+
+#pragma interface
+
+#include <java/net/URLClassLoader$URLLoader.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace net
+ {
+ class URL;
+ class URLClassLoader;
+ class URLClassLoader$CoreURLLoader;
+ class URLClassLoader$Resource;
+ }
+ }
+}
+
+class java::net::URLClassLoader$CoreURLLoader : public ::java::net::URLClassLoader$URLLoader
+{
+
+public: // actually package-private
+ URLClassLoader$CoreURLLoader(::java::net::URLClassLoader *, ::java::net::URL *);
+ ::java::net::URLClassLoader$Resource * getResource(::java::lang::String *);
+private:
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::net::URLClassLoader$URLLoader)))) dir;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_net_URLClassLoader$CoreURLLoader__
diff --git a/libjava/java/net/URLClassLoader$FileResource.h b/libjava/java/net/URLClassLoader$FileResource.h
new file mode 100644
index 0000000..a98e9bf
--- /dev/null
+++ b/libjava/java/net/URLClassLoader$FileResource.h
@@ -0,0 +1,38 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_net_URLClassLoader$FileResource__
+#define __java_net_URLClassLoader$FileResource__
+
+#pragma interface
+
+#include <java/net/URLClassLoader$Resource.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace net
+ {
+ class URL;
+ class URLClassLoader$FileResource;
+ class URLClassLoader$FileURLLoader;
+ }
+ }
+}
+
+class java::net::URLClassLoader$FileResource : public ::java::net::URLClassLoader$Resource
+{
+
+public: // actually package-private
+ URLClassLoader$FileResource(::java::net::URLClassLoader$FileURLLoader *, ::java::io::File *);
+ ::java::io::InputStream * getInputStream();
+public:
+ jint getLength();
+ ::java::net::URL * getURL();
+public: // actually package-private
+ ::java::io::File * __attribute__((aligned(__alignof__( ::java::net::URLClassLoader$Resource)))) file;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_net_URLClassLoader$FileResource__
diff --git a/libjava/java/net/URLClassLoader$FileURLLoader.h b/libjava/java/net/URLClassLoader$FileURLLoader.h
new file mode 100644
index 0000000..ff0b7dc
--- /dev/null
+++ b/libjava/java/net/URLClassLoader$FileURLLoader.h
@@ -0,0 +1,35 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_net_URLClassLoader$FileURLLoader__
+#define __java_net_URLClassLoader$FileURLLoader__
+
+#pragma interface
+
+#include <java/net/URLClassLoader$URLLoader.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace net
+ {
+ class URL;
+ class URLClassLoader;
+ class URLClassLoader$FileURLLoader;
+ class URLClassLoader$Resource;
+ }
+ }
+}
+
+class java::net::URLClassLoader$FileURLLoader : public ::java::net::URLClassLoader$URLLoader
+{
+
+public: // actually package-private
+ URLClassLoader$FileURLLoader(::java::net::URLClassLoader *, ::java::net::URL *, ::java::net::URL *);
+ ::java::net::URLClassLoader$Resource * getResource(::java::lang::String *);
+ ::java::io::File * __attribute__((aligned(__alignof__( ::java::net::URLClassLoader$URLLoader)))) dir;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_net_URLClassLoader$FileURLLoader__
diff --git a/libjava/java/net/URLClassLoader$JarURLLoader.h b/libjava/java/net/URLClassLoader$JarURLLoader.h
new file mode 100644
index 0000000..f1a3615
--- /dev/null
+++ b/libjava/java/net/URLClassLoader$JarURLLoader.h
@@ -0,0 +1,40 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_net_URLClassLoader$JarURLLoader__
+#define __java_net_URLClassLoader$JarURLLoader__
+
+#pragma interface
+
+#include <java/net/URLClassLoader$URLLoader.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace net
+ {
+ class URL;
+ class URLClassLoader;
+ class URLClassLoader$JarURLLoader;
+ class URLClassLoader$Resource;
+ }
+ }
+}
+
+class java::net::URLClassLoader$JarURLLoader : public ::java::net::URLClassLoader$URLLoader
+{
+
+public:
+ URLClassLoader$JarURLLoader(::java::net::URLClassLoader *, ::java::net::URL *, ::java::net::URL *);
+public: // actually package-private
+ ::java::net::URLClassLoader$Resource * getResource(::java::lang::String *);
+ ::java::util::jar::Manifest * getManifest();
+ ::java::util::Vector * getClassPath();
+ ::java::util::jar::JarFile * __attribute__((aligned(__alignof__( ::java::net::URLClassLoader$URLLoader)))) jarfile;
+ ::java::net::URL * baseJarURL;
+ ::java::util::Vector * classPath;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_net_URLClassLoader$JarURLLoader__
diff --git a/libjava/java/net/URLClassLoader$JarURLResource.h b/libjava/java/net/URLClassLoader$JarURLResource.h
new file mode 100644
index 0000000..0db0fdee
--- /dev/null
+++ b/libjava/java/net/URLClassLoader$JarURLResource.h
@@ -0,0 +1,48 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_net_URLClassLoader$JarURLResource__
+#define __java_net_URLClassLoader$JarURLResource__
+
+#pragma interface
+
+#include <java/net/URLClassLoader$Resource.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace net
+ {
+ class URL;
+ class URLClassLoader$JarURLLoader;
+ class URLClassLoader$JarURLResource;
+ }
+ namespace security
+ {
+ namespace cert
+ {
+ class Certificate;
+ }
+ }
+ }
+}
+
+class java::net::URLClassLoader$JarURLResource : public ::java::net::URLClassLoader$Resource
+{
+
+public: // actually package-private
+ URLClassLoader$JarURLResource(::java::net::URLClassLoader$JarURLLoader *, ::java::lang::String *, ::java::util::jar::JarEntry *);
+ ::java::io::InputStream * getInputStream();
+ jint getLength();
+ JArray< ::java::security::cert::Certificate * > * getCertificates();
+ ::java::net::URL * getURL();
+private:
+ ::java::util::jar::JarEntry * __attribute__((aligned(__alignof__( ::java::net::URLClassLoader$Resource)))) entry;
+ ::java::lang::String * name;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_net_URLClassLoader$JarURLResource__
diff --git a/libjava/java/net/URLClassLoader$RemoteResource.h b/libjava/java/net/URLClassLoader$RemoteResource.h
new file mode 100644
index 0000000..10d2622
--- /dev/null
+++ b/libjava/java/net/URLClassLoader$RemoteResource.h
@@ -0,0 +1,40 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_net_URLClassLoader$RemoteResource__
+#define __java_net_URLClassLoader$RemoteResource__
+
+#pragma interface
+
+#include <java/net/URLClassLoader$Resource.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace net
+ {
+ class URL;
+ class URLClassLoader$RemoteResource;
+ class URLClassLoader$RemoteURLLoader;
+ }
+ }
+}
+
+class java::net::URLClassLoader$RemoteResource : public ::java::net::URLClassLoader$Resource
+{
+
+public: // actually package-private
+ URLClassLoader$RemoteResource(::java::net::URLClassLoader$RemoteURLLoader *, ::java::lang::String *, ::java::net::URL *, ::java::io::InputStream *, jint);
+ ::java::io::InputStream * getInputStream();
+public:
+ jint getLength();
+ ::java::net::URL * getURL();
+private:
+ ::java::net::URL * __attribute__((aligned(__alignof__( ::java::net::URLClassLoader$Resource)))) url;
+ ::java::io::InputStream * stream;
+ jint length;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_net_URLClassLoader$RemoteResource__
diff --git a/libjava/java/net/URLClassLoader$RemoteURLLoader.h b/libjava/java/net/URLClassLoader$RemoteURLLoader.h
new file mode 100644
index 0000000..7c2876b
--- /dev/null
+++ b/libjava/java/net/URLClassLoader$RemoteURLLoader.h
@@ -0,0 +1,36 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_net_URLClassLoader$RemoteURLLoader__
+#define __java_net_URLClassLoader$RemoteURLLoader__
+
+#pragma interface
+
+#include <java/net/URLClassLoader$URLLoader.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace net
+ {
+ class URL;
+ class URLClassLoader;
+ class URLClassLoader$RemoteURLLoader;
+ class URLClassLoader$Resource;
+ }
+ }
+}
+
+class java::net::URLClassLoader$RemoteURLLoader : public ::java::net::URLClassLoader$URLLoader
+{
+
+public: // actually package-private
+ URLClassLoader$RemoteURLLoader(::java::net::URLClassLoader *, ::java::net::URL *);
+ ::java::net::URLClassLoader$Resource * getResource(::java::lang::String *);
+private:
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::net::URLClassLoader$URLLoader)))) protocol;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_net_URLClassLoader$RemoteURLLoader__
diff --git a/libjava/java/net/URLClassLoader$Resource.h b/libjava/java/net/URLClassLoader$Resource.h
new file mode 100644
index 0000000..7fc102a
--- /dev/null
+++ b/libjava/java/net/URLClassLoader$Resource.h
@@ -0,0 +1,48 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_net_URLClassLoader$Resource__
+#define __java_net_URLClassLoader$Resource__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace net
+ {
+ class URL;
+ class URLClassLoader$Resource;
+ class URLClassLoader$URLLoader;
+ }
+ namespace security
+ {
+ class CodeSource;
+ namespace cert
+ {
+ class Certificate;
+ }
+ }
+ }
+}
+
+class java::net::URLClassLoader$Resource : public ::java::lang::Object
+{
+
+public: // actually package-private
+ URLClassLoader$Resource(::java::net::URLClassLoader$URLLoader *);
+ virtual ::java::security::CodeSource * getCodeSource();
+ virtual JArray< ::java::security::cert::Certificate * > * getCertificates();
+ virtual ::java::net::URL * getURL() = 0;
+ virtual jint getLength() = 0;
+ virtual ::java::io::InputStream * getInputStream() = 0;
+ ::java::net::URLClassLoader$URLLoader * __attribute__((aligned(__alignof__( ::java::lang::Object)))) loader;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_net_URLClassLoader$Resource__
diff --git a/libjava/java/net/URLClassLoader$SoResource.h b/libjava/java/net/URLClassLoader$SoResource.h
new file mode 100644
index 0000000..dce7601
--- /dev/null
+++ b/libjava/java/net/URLClassLoader$SoResource.h
@@ -0,0 +1,38 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_net_URLClassLoader$SoResource__
+#define __java_net_URLClassLoader$SoResource__
+
+#pragma interface
+
+#include <java/net/URLClassLoader$Resource.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace net
+ {
+ class URL;
+ class URLClassLoader$SoResource;
+ class URLClassLoader$SoURLLoader;
+ }
+ }
+}
+
+class java::net::URLClassLoader$SoResource : public ::java::net::URLClassLoader$Resource
+{
+
+public: // actually package-private
+ URLClassLoader$SoResource(::java::net::URLClassLoader$SoURLLoader *, ::java::net::URL *);
+ ::java::io::InputStream * getInputStream();
+public:
+ jint getLength();
+ ::java::net::URL * getURL();
+public: // actually package-private
+ ::java::net::URL * __attribute__((aligned(__alignof__( ::java::net::URLClassLoader$Resource)))) url;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_net_URLClassLoader$SoResource__
diff --git a/libjava/java/net/URLClassLoader$SoURLLoader.h b/libjava/java/net/URLClassLoader$SoURLLoader.h
new file mode 100644
index 0000000..85d2d2e
--- /dev/null
+++ b/libjava/java/net/URLClassLoader$SoURLLoader.h
@@ -0,0 +1,47 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_net_URLClassLoader$SoURLLoader__
+#define __java_net_URLClassLoader$SoURLLoader__
+
+#pragma interface
+
+#include <java/net/URLClassLoader$URLLoader.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace gcj
+ {
+ namespace runtime
+ {
+ class SharedLibHelper;
+ }
+ }
+ }
+ namespace java
+ {
+ namespace net
+ {
+ class URL;
+ class URLClassLoader;
+ class URLClassLoader$Resource;
+ class URLClassLoader$SoURLLoader;
+ }
+ }
+}
+
+class java::net::URLClassLoader$SoURLLoader : public ::java::net::URLClassLoader$URLLoader
+{
+
+public: // actually package-private
+ URLClassLoader$SoURLLoader(::java::net::URLClassLoader *, ::java::net::URL *);
+ URLClassLoader$SoURLLoader(::java::net::URLClassLoader *, ::java::net::URL *, ::java::net::URL *);
+ ::java::lang::Class * getClass(::java::lang::String *);
+ ::java::net::URLClassLoader$Resource * getResource(::java::lang::String *);
+ ::gnu::gcj::runtime::SharedLibHelper * __attribute__((aligned(__alignof__( ::java::net::URLClassLoader$URLLoader)))) helper;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_net_URLClassLoader$SoURLLoader__
diff --git a/libjava/java/net/URLClassLoader$URLLoader.h b/libjava/java/net/URLClassLoader$URLLoader.h
new file mode 100644
index 0000000..f205d74
--- /dev/null
+++ b/libjava/java/net/URLClassLoader$URLLoader.h
@@ -0,0 +1,45 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_net_URLClassLoader$URLLoader__
+#define __java_net_URLClassLoader$URLLoader__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace net
+ {
+ class URL;
+ class URLClassLoader;
+ class URLClassLoader$Resource;
+ class URLClassLoader$URLLoader;
+ }
+ namespace security
+ {
+ class CodeSource;
+ }
+ }
+}
+
+class java::net::URLClassLoader$URLLoader : public ::java::lang::Object
+{
+
+public: // actually package-private
+ URLClassLoader$URLLoader(::java::net::URLClassLoader *, ::java::net::URL *);
+ URLClassLoader$URLLoader(::java::net::URLClassLoader *, ::java::net::URL *, ::java::net::URL *);
+ virtual ::java::lang::Class * getClass(::java::lang::String *);
+ virtual ::java::net::URLClassLoader$Resource * getResource(::java::lang::String *) = 0;
+ virtual ::java::util::jar::Manifest * getManifest();
+ virtual ::java::util::Vector * getClassPath();
+ ::java::net::URLClassLoader * __attribute__((aligned(__alignof__( ::java::lang::Object)))) classloader;
+ ::java::net::URL * baseURL;
+ ::java::security::CodeSource * noCertCodeSource;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_net_URLClassLoader$URLLoader__
diff --git a/libjava/java/net/URLClassLoader.h b/libjava/java/net/URLClassLoader.h
new file mode 100644
index 0000000..25fe59a
--- /dev/null
+++ b/libjava/java/net/URLClassLoader.h
@@ -0,0 +1,82 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_net_URLClassLoader__
+#define __java_net_URLClassLoader__
+
+#pragma interface
+
+#include <java/security/SecureClassLoader.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace net
+ {
+ class URL;
+ class URLClassLoader;
+ class URLClassLoader$Resource;
+ class URLStreamHandler;
+ class URLStreamHandlerFactory;
+ }
+ namespace security
+ {
+ class AccessControlContext;
+ class CodeSource;
+ class PermissionCollection;
+ }
+ }
+}
+
+class java::net::URLClassLoader : public ::java::security::SecureClassLoader
+{
+
+public:
+ URLClassLoader(JArray< ::java::net::URL * > *);
+ URLClassLoader(JArray< ::java::net::URL * > *, ::java::lang::ClassLoader *);
+public: // actually package-private
+ URLClassLoader(::java::lang::ClassLoader *, ::java::security::AccessControlContext *);
+public:
+ URLClassLoader(JArray< ::java::net::URL * > *, ::java::lang::ClassLoader *, ::java::net::URLStreamHandlerFactory *);
+public: // actually protected
+ virtual void addURL(::java::net::URL *);
+private:
+ void addURLImpl(::java::net::URL *);
+ void addURLs(JArray< ::java::net::URL * > *);
+ ::java::lang::String * getAttributeValue(::java::util::jar::Attributes$Name *, ::java::util::jar::Attributes *, ::java::util::jar::Attributes *);
+public: // actually protected
+ virtual ::java::lang::Package * definePackage(::java::lang::String *, ::java::util::jar::Manifest *, ::java::net::URL *);
+ virtual ::java::lang::Class * findClass(::java::lang::String *);
+public:
+ virtual ::java::lang::String * toString();
+private:
+ ::java::net::URLClassLoader$Resource * findURLResource(::java::lang::String *);
+public:
+ virtual ::java::net::URL * findResource(::java::lang::String *);
+public: // actually package-private
+ virtual ::java::net::URLStreamHandler * getURLStreamHandler(::java::lang::String *);
+public:
+ virtual ::java::util::Enumeration * findResources(::java::lang::String *);
+public: // actually protected
+ virtual ::java::security::PermissionCollection * getPermissions(::java::security::CodeSource *);
+public:
+ virtual JArray< ::java::net::URL * > * getURLs();
+ static ::java::net::URLClassLoader * newInstance(JArray< ::java::net::URL * > *);
+ static ::java::net::URLClassLoader * newInstance(JArray< ::java::net::URL * > *, ::java::lang::ClassLoader *);
+public: // actually package-private
+ static ::java::lang::Class * access$0(::java::net::URLClassLoader *, ::java::lang::String *, JArray< jbyte > *, jint, jint, ::java::security::CodeSource *);
+private:
+ static ::java::util::HashMap * urlloaders;
+ static ::java::util::HashMap * factoryCache;
+ ::java::util::Vector * __attribute__((aligned(__alignof__( ::java::security::SecureClassLoader)))) urls;
+ ::java::util::Vector * urlinfos;
+ ::java::net::URLStreamHandlerFactory * factory;
+ ::java::security::AccessControlContext * securityContext;
+ ::java::lang::String * thisString;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_net_URLClassLoader__
diff --git a/libjava/java/net/URLClassLoader.java b/libjava/java/net/URLClassLoader.java
index 06db7d5..fd70fdf 100644
--- a/libjava/java/net/URLClassLoader.java
+++ b/libjava/java/net/URLClassLoader.java
@@ -1080,7 +1080,10 @@ public class URLClassLoader extends SecureClassLoader
if (resource == null)
{
String message = className + " not found";
- if (runtimeInitialized())
+ // Calling this.toString() during VM startup when a
+ // security manager is in force causes the stack to
+ // be unwound before it can properly be decoded.
+ if (Thread.currentThread() != null)
message += " in " + this;
throw new ClassNotFoundException(message);
}
@@ -1442,11 +1445,4 @@ public class URLClassLoader extends SecureClassLoader
return loader;
}
}
-
- /**
- * Tell whether runtime initialization is complete.
- *
- * @return whether runtime initialization is complete.
- */
- private static native boolean runtimeInitialized();
}
diff --git a/libjava/java/net/URLConnection.h b/libjava/java/net/URLConnection.h
new file mode 100644
index 0000000..c40d959
--- /dev/null
+++ b/libjava/java/net/URLConnection.h
@@ -0,0 +1,117 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_net_URLConnection__
+#define __java_net_URLConnection__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace net
+ {
+ class ContentHandler;
+ class ContentHandlerFactory;
+ class FileNameMap;
+ class URL;
+ class URLConnection;
+ }
+ namespace security
+ {
+ class Permission;
+ }
+ namespace text
+ {
+ class ParsePosition;
+ class SimpleDateFormat;
+ }
+ }
+}
+
+class java::net::URLConnection : public ::java::lang::Object
+{
+
+public: // actually protected
+ URLConnection(::java::net::URL *);
+public:
+ virtual void connect() = 0;
+ virtual ::java::net::URL * getURL();
+ virtual jint getConnectTimeout();
+ virtual void setConnectTimeout(jint);
+ virtual jint getReadTimeout();
+ virtual void setReadTimeout(jint);
+ virtual jint getContentLength();
+ virtual ::java::lang::String * getContentType();
+ virtual ::java::lang::String * getContentEncoding();
+ virtual jlong getExpiration();
+ virtual jlong getDate();
+ virtual jlong getLastModified();
+ virtual ::java::lang::String * getHeaderField(jint);
+ virtual ::java::lang::String * getHeaderField(::java::lang::String *);
+ virtual ::java::util::Map * getHeaderFields();
+ virtual jint getHeaderFieldInt(::java::lang::String *, jint);
+ virtual jlong getHeaderFieldDate(::java::lang::String *, jlong);
+ virtual ::java::lang::String * getHeaderFieldKey(jint);
+ virtual ::java::lang::Object * getContent();
+ virtual ::java::lang::Object * getContent(JArray< ::java::lang::Class * > *);
+ virtual ::java::security::Permission * getPermission();
+ virtual ::java::io::InputStream * getInputStream();
+ virtual ::java::io::OutputStream * getOutputStream();
+ virtual ::java::lang::String * toString();
+ virtual void setDoInput(jboolean);
+ virtual jboolean getDoInput();
+ virtual void setDoOutput(jboolean);
+ virtual jboolean getDoOutput();
+ virtual void setAllowUserInteraction(jboolean);
+ virtual jboolean getAllowUserInteraction();
+ static void setDefaultAllowUserInteraction(jboolean);
+ static jboolean getDefaultAllowUserInteraction();
+ virtual void setUseCaches(jboolean);
+ virtual jboolean getUseCaches();
+ virtual void setIfModifiedSince(jlong);
+ virtual jlong getIfModifiedSince();
+ virtual jboolean getDefaultUseCaches();
+ virtual void setDefaultUseCaches(jboolean);
+ virtual void setRequestProperty(::java::lang::String *, ::java::lang::String *);
+ virtual void addRequestProperty(::java::lang::String *, ::java::lang::String *);
+ virtual ::java::lang::String * getRequestProperty(::java::lang::String *);
+ virtual ::java::util::Map * getRequestProperties();
+ static void setDefaultRequestProperty(::java::lang::String *, ::java::lang::String *);
+ static ::java::lang::String * getDefaultRequestProperty(::java::lang::String *);
+ static void setContentHandlerFactory(::java::net::ContentHandlerFactory *);
+ static ::java::lang::String * guessContentTypeFromName(::java::lang::String *);
+ static ::java::lang::String * guessContentTypeFromStream(::java::io::InputStream *);
+ static ::java::net::FileNameMap * getFileNameMap();
+ static void setFileNameMap(::java::net::FileNameMap *);
+private:
+ ::java::net::ContentHandler * getContentHandler(::java::lang::String *);
+ static void initializeDateFormats();
+ static ::java::net::FileNameMap * fileNameMap;
+ static ::java::net::ContentHandlerFactory * factory;
+ static jboolean defaultAllowUserInteraction;
+ static jboolean defaultUseCaches;
+ static ::java::net::ContentHandlerFactory * defaultFactory;
+public: // actually protected
+ jboolean __attribute__((aligned(__alignof__( ::java::lang::Object)))) allowUserInteraction;
+ jboolean connected;
+ jboolean doInput;
+ jboolean doOutput;
+ jboolean useCaches;
+ jlong ifModifiedSince;
+ ::java::net::URL * url;
+private:
+ static JArray< ::java::text::SimpleDateFormat * > * dateFormats;
+ static jboolean dateformats_initialized;
+ jint connectTimeout;
+ jint readTimeout;
+ ::java::text::ParsePosition * position;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_net_URLConnection__
diff --git a/libjava/java/net/URLDecoder.h b/libjava/java/net/URLDecoder.h
new file mode 100644
index 0000000..a6586cf
--- /dev/null
+++ b/libjava/java/net/URLDecoder.h
@@ -0,0 +1,31 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_net_URLDecoder__
+#define __java_net_URLDecoder__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace net
+ {
+ class URLDecoder;
+ }
+ }
+}
+
+class java::net::URLDecoder : public ::java::lang::Object
+{
+
+public:
+ URLDecoder();
+ static ::java::lang::String * decode(::java::lang::String *);
+ static ::java::lang::String * decode(::java::lang::String *, ::java::lang::String *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_net_URLDecoder__
diff --git a/libjava/java/net/URLEncoder.h b/libjava/java/net/URLEncoder.h
new file mode 100644
index 0000000..87b3c57
--- /dev/null
+++ b/libjava/java/net/URLEncoder.h
@@ -0,0 +1,35 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_net_URLEncoder__
+#define __java_net_URLEncoder__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace net
+ {
+ class URLEncoder;
+ }
+ }
+}
+
+class java::net::URLEncoder : public ::java::lang::Object
+{
+
+public:
+ static ::java::lang::String * encode(::java::lang::String *);
+ static ::java::lang::String * encode(::java::lang::String *, ::java::lang::String *);
+private:
+ static jboolean isSafe(jchar);
+ URLEncoder();
+ static ::java::lang::String * hex;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_net_URLEncoder__
diff --git a/libjava/java/net/URLStreamHandler.h b/libjava/java/net/URLStreamHandler.h
new file mode 100644
index 0000000..ebcd441
--- /dev/null
+++ b/libjava/java/net/URLStreamHandler.h
@@ -0,0 +1,48 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_net_URLStreamHandler__
+#define __java_net_URLStreamHandler__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace net
+ {
+ class InetAddress;
+ class URL;
+ class URLConnection;
+ class URLStreamHandler;
+ }
+ }
+}
+
+class java::net::URLStreamHandler : public ::java::lang::Object
+{
+
+public:
+ URLStreamHandler();
+public: // actually protected
+ virtual ::java::net::URLConnection * openConnection(::java::net::URL *) = 0;
+ virtual void parseURL(::java::net::URL *, ::java::lang::String *, jint, jint);
+private:
+ static ::java::lang::String * canonicalizeFilename(::java::lang::String *);
+public: // actually protected
+ virtual jboolean sameFile(::java::net::URL *, ::java::net::URL *);
+ virtual void setURL(::java::net::URL *, ::java::lang::String *, ::java::lang::String *, jint, ::java::lang::String *, ::java::lang::String *);
+ virtual void setURL(::java::net::URL *, ::java::lang::String *, ::java::lang::String *, jint, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
+ virtual jboolean equals(::java::net::URL *, ::java::net::URL *);
+ virtual jboolean hostsEqual(::java::net::URL *, ::java::net::URL *);
+ virtual ::java::net::InetAddress * getHostAddress(::java::net::URL *);
+ virtual jint getDefaultPort();
+ virtual jint hashCode(::java::net::URL *);
+ virtual ::java::lang::String * toExternalForm(::java::net::URL *);
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_net_URLStreamHandler__
diff --git a/libjava/java/net/URLStreamHandlerFactory.h b/libjava/java/net/URLStreamHandlerFactory.h
new file mode 100644
index 0000000..dde45e2
--- /dev/null
+++ b/libjava/java/net/URLStreamHandlerFactory.h
@@ -0,0 +1,30 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_net_URLStreamHandlerFactory__
+#define __java_net_URLStreamHandlerFactory__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace net
+ {
+ class URLStreamHandler;
+ class URLStreamHandlerFactory;
+ }
+ }
+}
+
+class java::net::URLStreamHandlerFactory : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::net::URLStreamHandler * createURLStreamHandler(::java::lang::String *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_net_URLStreamHandlerFactory__
diff --git a/libjava/java/net/UnknownHostException.h b/libjava/java/net/UnknownHostException.h
new file mode 100644
index 0000000..965d439
--- /dev/null
+++ b/libjava/java/net/UnknownHostException.h
@@ -0,0 +1,33 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_net_UnknownHostException__
+#define __java_net_UnknownHostException__
+
+#pragma interface
+
+#include <java/io/IOException.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace net
+ {
+ class UnknownHostException;
+ }
+ }
+}
+
+class java::net::UnknownHostException : public ::java::io::IOException
+{
+
+public:
+ UnknownHostException();
+ UnknownHostException(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = -4639126076052875403LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_net_UnknownHostException__
diff --git a/libjava/java/net/UnknownServiceException.h b/libjava/java/net/UnknownServiceException.h
new file mode 100644
index 0000000..1bdc802
--- /dev/null
+++ b/libjava/java/net/UnknownServiceException.h
@@ -0,0 +1,33 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_net_UnknownServiceException__
+#define __java_net_UnknownServiceException__
+
+#pragma interface
+
+#include <java/io/IOException.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace net
+ {
+ class UnknownServiceException;
+ }
+ }
+}
+
+class java::net::UnknownServiceException : public ::java::io::IOException
+{
+
+public:
+ UnknownServiceException();
+ UnknownServiceException(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = -4169033248853639508LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_net_UnknownServiceException__
diff --git a/libjava/java/net/VMInetAddress.h b/libjava/java/net/VMInetAddress.h
new file mode 100644
index 0000000..e093e2c
--- /dev/null
+++ b/libjava/java/net/VMInetAddress.h
@@ -0,0 +1,37 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_net_VMInetAddress__
+#define __java_net_VMInetAddress__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace net
+ {
+ class VMInetAddress;
+ }
+ }
+}
+
+class java::net::VMInetAddress : public ::java::lang::Object
+{
+
+public: // actually package-private
+ VMInetAddress();
+public:
+ static ::java::lang::String * getLocalHostname();
+ static JArray< jbyte > * lookupInaddrAny();
+ static ::java::lang::String * getHostByAddr(JArray< jbyte > *);
+ static JArray< JArray< jbyte > * > * getHostByName(::java::lang::String *);
+ static JArray< jbyte > * aton(::java::lang::String *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_net_VMInetAddress__
diff --git a/libjava/java/net/VMNetworkInterface.h b/libjava/java/net/VMNetworkInterface.h
new file mode 100644
index 0000000..792c533
--- /dev/null
+++ b/libjava/java/net/VMNetworkInterface.h
@@ -0,0 +1,31 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_net_VMNetworkInterface__
+#define __java_net_VMNetworkInterface__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace net
+ {
+ class VMNetworkInterface;
+ }
+ }
+}
+
+class java::net::VMNetworkInterface : public ::java::lang::Object
+{
+
+public: // actually package-private
+ VMNetworkInterface();
+public:
+ static ::java::util::Vector * getInterfaces();
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_net_VMNetworkInterface__
diff --git a/libjava/java/net/VMURLConnection.h b/libjava/java/net/VMURLConnection.h
new file mode 100644
index 0000000..0c0828a
--- /dev/null
+++ b/libjava/java/net/VMURLConnection.h
@@ -0,0 +1,38 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_net_VMURLConnection__
+#define __java_net_VMURLConnection__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace net
+ {
+ class VMURLConnection;
+ }
+ }
+}
+
+class java::net::VMURLConnection : public ::java::lang::Object
+{
+
+public: // actually package-private
+ VMURLConnection();
+private:
+ static void init();
+ static ::java::lang::String * guessContentTypeFromBuffer(JArray< jbyte > *, jint);
+public: // actually package-private
+ static ::java::lang::String * guessContentTypeFromStream(::java::io::InputStream *);
+public:
+ static const jint LENGTH = 1024;
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_net_VMURLConnection__
diff --git a/libjava/java/net/VMURLConnection.java b/libjava/java/net/VMURLConnection.java
index 6555e8c..19bf581 100644
--- a/libjava/java/net/VMURLConnection.java
+++ b/libjava/java/net/VMURLConnection.java
@@ -47,14 +47,17 @@ final class VMURLConnection
{
public static final int LENGTH = 1024;
- // private static native void init();
-
- private static String guessContentTypeFromBuffer(byte[] b, int valid)
+ static
{
- // FIXME - write real implementation
- return null;
+ if (Configuration.INIT_LOAD_LIBRARY)
+ System.loadLibrary("javanet");
+ init();
}
+ private static native void init();
+
+ private static native String guessContentTypeFromBuffer(byte[] b, int valid);
+
/**
* This is called from URLConnection to guess the mime type of a
* stream. This method may return null to indicate that it could
diff --git a/libjava/java/net/natURLClassLoader.cc b/libjava/java/net/natURLClassLoader.cc
deleted file mode 100644
index ead0db4..0000000
--- a/libjava/java/net/natURLClassLoader.cc
+++ /dev/null
@@ -1,22 +0,0 @@
-// natURLClassLoader.cc -- Native part of the URLClassLoader class.
-
-/* Copyright (C) 2006 Free Software Foundation, Inc.
-
- This file is part of libgcj.
-
-This software is copyrighted work licensed under the terms of the
-Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
-details. */
-
-#include <config.h>
-
-#include <gcj/cni.h>
-#include <jvm.h>
-
-#include <java/net/URLClassLoader.h>
-
-jboolean
-java::net::URLClassLoader::runtimeInitialized ()
-{
- return gcj::runtimeInitialized;
-}
diff --git a/libjava/java/net/natVMURLConnection.cc b/libjava/java/net/natVMURLConnection.cc
new file mode 100644
index 0000000..3429bb6
--- /dev/null
+++ b/libjava/java/net/natVMURLConnection.cc
@@ -0,0 +1,56 @@
+/* Copyright (C) 2006 Free Software Foundation
+
+ This file is part of libgcj.
+
+This software is copyrighted work licensed under the terms of the
+Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
+details. */
+
+#include <config.h>
+
+#include <java/net/VMURLConnection.h>
+#include <gcj/cni.h>
+#include <java/lang/UnsupportedOperationException.h>
+
+#if defined (HAVE_MAGIC_H) && defined (HAVE_MAGIC_OPEN)
+
+#include <magic.h>
+
+static magic_t cookie;
+
+#endif /* HAVE_MAGIC_H && HAVE_MAGIC_OPEN */
+
+void
+java::net::VMURLConnection::init ()
+{
+#if defined (HAVE_MAGIC_H) && defined (HAVE_MAGIC_OPEN)
+ cookie = magic_open (MAGIC_MIME);
+ if (cookie == (magic_t) NULL)
+ return;
+ if (magic_load (cookie, NULL) == -1)
+ {
+ magic_close (cookie);
+ cookie = (magic_t) NULL;
+ }
+#endif /* HAVE_MAGIC_H && HAVE_MAGIC_OPEN */
+}
+
+::java::lang::String *
+java::net::VMURLConnection::guessContentTypeFromBuffer (jbyteArray bytes,
+ jint valid)
+{
+#if defined (HAVE_MAGIC_H) && defined (HAVE_MAGIC_OPEN)
+ const char *result;
+
+ if (cookie == (magic_t) NULL)
+ return NULL;
+
+ result = magic_buffer (cookie, elements(bytes), valid);
+
+ if (result == NULL)
+ return NULL;
+ return _Jv_NewStringUTF (result);
+#else
+ return NULL;
+#endif /* HAVE_MAGIC_H && HAVE_MAGIC_OPEN */
+}
diff --git a/libjava/java/nio/Buffer.h b/libjava/java/nio/Buffer.h
new file mode 100644
index 0000000..fd985db
--- /dev/null
+++ b/libjava/java/nio/Buffer.h
@@ -0,0 +1,64 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_nio_Buffer__
+#define __java_nio_Buffer__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace gcj
+ {
+ class RawData;
+ }
+ }
+ namespace java
+ {
+ namespace nio
+ {
+ class Buffer;
+ }
+ }
+}
+
+class java::nio::Buffer : public ::java::lang::Object
+{
+
+public: // actually package-private
+ Buffer(jint, jint, jint, jint);
+public:
+ virtual jint capacity();
+ virtual ::java::nio::Buffer * clear();
+ virtual ::java::nio::Buffer * flip();
+ virtual jboolean hasRemaining();
+ virtual jboolean isReadOnly() = 0;
+ virtual jint limit();
+ virtual ::java::nio::Buffer * limit(jint);
+ virtual ::java::nio::Buffer * mark();
+ virtual jint position();
+ virtual ::java::nio::Buffer * position(jint);
+ virtual jint remaining();
+ virtual ::java::nio::Buffer * reset();
+ virtual ::java::nio::Buffer * rewind();
+public: // actually package-private
+ virtual void checkForUnderflow();
+ virtual void checkForUnderflow(jint);
+ virtual void checkForOverflow();
+ virtual void checkForOverflow(jint);
+ virtual void checkIndex(jint);
+ virtual void checkIfReadOnly();
+ static void checkArraySize(jint, jint, jint);
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) cap;
+ jint limit__;
+ jint pos;
+ jint mark__;
+ ::gnu::gcj::RawData * address;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_nio_Buffer__
diff --git a/libjava/java/nio/BufferOverflowException.h b/libjava/java/nio/BufferOverflowException.h
new file mode 100644
index 0000000..2c2a8c2
--- /dev/null
+++ b/libjava/java/nio/BufferOverflowException.h
@@ -0,0 +1,32 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_nio_BufferOverflowException__
+#define __java_nio_BufferOverflowException__
+
+#pragma interface
+
+#include <java/lang/RuntimeException.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace nio
+ {
+ class BufferOverflowException;
+ }
+ }
+}
+
+class java::nio::BufferOverflowException : public ::java::lang::RuntimeException
+{
+
+public:
+ BufferOverflowException();
+private:
+ static const jlong serialVersionUID = -5484897634319144535LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_nio_BufferOverflowException__
diff --git a/libjava/java/nio/BufferUnderflowException.h b/libjava/java/nio/BufferUnderflowException.h
new file mode 100644
index 0000000..6b52f20
--- /dev/null
+++ b/libjava/java/nio/BufferUnderflowException.h
@@ -0,0 +1,32 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_nio_BufferUnderflowException__
+#define __java_nio_BufferUnderflowException__
+
+#pragma interface
+
+#include <java/lang/RuntimeException.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace nio
+ {
+ class BufferUnderflowException;
+ }
+ }
+}
+
+class java::nio::BufferUnderflowException : public ::java::lang::RuntimeException
+{
+
+public:
+ BufferUnderflowException();
+private:
+ static const jlong serialVersionUID = -1713313658691622206LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_nio_BufferUnderflowException__
diff --git a/libjava/java/nio/ByteBuffer.h b/libjava/java/nio/ByteBuffer.h
new file mode 100644
index 0000000..08f821b
--- /dev/null
+++ b/libjava/java/nio/ByteBuffer.h
@@ -0,0 +1,105 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_nio_ByteBuffer__
+#define __java_nio_ByteBuffer__
+
+#pragma interface
+
+#include <java/nio/Buffer.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteBuffer;
+ class ByteOrder;
+ class CharBuffer;
+ class DoubleBuffer;
+ class FloatBuffer;
+ class IntBuffer;
+ class LongBuffer;
+ class ShortBuffer;
+ }
+ }
+}
+
+class java::nio::ByteBuffer : public ::java::nio::Buffer
+{
+
+public: // actually package-private
+ ByteBuffer(jint, jint, jint, jint);
+public:
+ static ::java::nio::ByteBuffer * allocateDirect(jint);
+ static ::java::nio::ByteBuffer * allocate(jint);
+ static ::java::nio::ByteBuffer * wrap(JArray< jbyte > *, jint, jint);
+ static ::java::nio::ByteBuffer * wrap(JArray< jbyte > *);
+ virtual ::java::nio::ByteBuffer * get(JArray< jbyte > *, jint, jint);
+ virtual ::java::nio::ByteBuffer * get(JArray< jbyte > *);
+ virtual ::java::nio::ByteBuffer * put(::java::nio::ByteBuffer *);
+ virtual ::java::nio::ByteBuffer * put(JArray< jbyte > *, jint, jint);
+ virtual ::java::nio::ByteBuffer * put(JArray< jbyte > *);
+ virtual jboolean hasArray();
+ virtual JArray< jbyte > * array();
+ virtual jint arrayOffset();
+ virtual jint hashCode();
+ virtual jboolean equals(::java::lang::Object *);
+ virtual jint target$compareTo(::java::nio::ByteBuffer *);
+ virtual ::java::nio::ByteOrder * order();
+ virtual ::java::nio::ByteBuffer * order(::java::nio::ByteOrder *);
+ virtual jbyte get() = 0;
+ virtual ::java::nio::ByteBuffer * put(jbyte) = 0;
+ virtual jbyte get(jint) = 0;
+ virtual ::java::nio::ByteBuffer * put(jint, jbyte) = 0;
+ virtual ::java::nio::ByteBuffer * compact() = 0;
+public: // actually package-private
+ virtual void shiftDown(jint, jint, jint);
+public:
+ virtual jboolean isDirect() = 0;
+ virtual ::java::nio::ByteBuffer * slice() = 0;
+ virtual ::java::nio::ByteBuffer * duplicate() = 0;
+ virtual ::java::nio::ByteBuffer * asReadOnlyBuffer() = 0;
+ virtual ::java::nio::ShortBuffer * asShortBuffer() = 0;
+ virtual ::java::nio::CharBuffer * asCharBuffer() = 0;
+ virtual ::java::nio::IntBuffer * asIntBuffer() = 0;
+ virtual ::java::nio::LongBuffer * asLongBuffer() = 0;
+ virtual ::java::nio::FloatBuffer * asFloatBuffer() = 0;
+ virtual ::java::nio::DoubleBuffer * asDoubleBuffer() = 0;
+ virtual jchar getChar() = 0;
+ virtual ::java::nio::ByteBuffer * putChar(jchar) = 0;
+ virtual jchar getChar(jint) = 0;
+ virtual ::java::nio::ByteBuffer * putChar(jint, jchar) = 0;
+ virtual jshort getShort() = 0;
+ virtual ::java::nio::ByteBuffer * putShort(jshort) = 0;
+ virtual jshort getShort(jint) = 0;
+ virtual ::java::nio::ByteBuffer * putShort(jint, jshort) = 0;
+ virtual jint getInt() = 0;
+ virtual ::java::nio::ByteBuffer * putInt(jint) = 0;
+ virtual jint getInt(jint) = 0;
+ virtual ::java::nio::ByteBuffer * putInt(jint, jint) = 0;
+ virtual jlong getLong() = 0;
+ virtual ::java::nio::ByteBuffer * putLong(jlong) = 0;
+ virtual jlong getLong(jint) = 0;
+ virtual ::java::nio::ByteBuffer * putLong(jint, jlong) = 0;
+ virtual jfloat getFloat() = 0;
+ virtual ::java::nio::ByteBuffer * putFloat(jfloat) = 0;
+ virtual jfloat getFloat(jint) = 0;
+ virtual ::java::nio::ByteBuffer * putFloat(jint, jfloat) = 0;
+ virtual jdouble getDouble() = 0;
+ virtual ::java::nio::ByteBuffer * putDouble(jdouble) = 0;
+ virtual jdouble getDouble(jint) = 0;
+ virtual ::java::nio::ByteBuffer * putDouble(jint, jdouble) = 0;
+ virtual ::java::lang::String * toString();
+ virtual jint compareTo(::java::lang::Object *);
+public: // actually package-private
+ ::java::nio::ByteOrder * __attribute__((aligned(__alignof__( ::java::nio::Buffer)))) endian;
+ jint array_offset;
+ JArray< jbyte > * backing_buffer;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_nio_ByteBuffer__
diff --git a/libjava/java/nio/ByteBufferHelper.h b/libjava/java/nio/ByteBufferHelper.h
new file mode 100644
index 0000000..851b57a
--- /dev/null
+++ b/libjava/java/nio/ByteBufferHelper.h
@@ -0,0 +1,56 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_nio_ByteBufferHelper__
+#define __java_nio_ByteBufferHelper__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteBuffer;
+ class ByteBufferHelper;
+ class ByteOrder;
+ }
+ }
+}
+
+class java::nio::ByteBufferHelper : public ::java::lang::Object
+{
+
+public: // actually package-private
+ ByteBufferHelper();
+public:
+ static jchar getChar(::java::nio::ByteBuffer *, ::java::nio::ByteOrder *);
+ static void putChar(::java::nio::ByteBuffer *, jchar, ::java::nio::ByteOrder *);
+ static jchar getChar(::java::nio::ByteBuffer *, jint, ::java::nio::ByteOrder *);
+ static void putChar(::java::nio::ByteBuffer *, jint, jchar, ::java::nio::ByteOrder *);
+ static jshort getShort(::java::nio::ByteBuffer *, ::java::nio::ByteOrder *);
+ static void putShort(::java::nio::ByteBuffer *, jshort, ::java::nio::ByteOrder *);
+ static jshort getShort(::java::nio::ByteBuffer *, jint, ::java::nio::ByteOrder *);
+ static void putShort(::java::nio::ByteBuffer *, jint, jshort, ::java::nio::ByteOrder *);
+ static jint getInt(::java::nio::ByteBuffer *, ::java::nio::ByteOrder *);
+ static void putInt(::java::nio::ByteBuffer *, jint, ::java::nio::ByteOrder *);
+ static jint getInt(::java::nio::ByteBuffer *, jint, ::java::nio::ByteOrder *);
+ static void putInt(::java::nio::ByteBuffer *, jint, jint, ::java::nio::ByteOrder *);
+ static jlong getLong(::java::nio::ByteBuffer *, ::java::nio::ByteOrder *);
+ static void putLong(::java::nio::ByteBuffer *, jlong, ::java::nio::ByteOrder *);
+ static jlong getLong(::java::nio::ByteBuffer *, jint, ::java::nio::ByteOrder *);
+ static void putLong(::java::nio::ByteBuffer *, jint, jlong, ::java::nio::ByteOrder *);
+ static jfloat getFloat(::java::nio::ByteBuffer *, ::java::nio::ByteOrder *);
+ static void putFloat(::java::nio::ByteBuffer *, jfloat, ::java::nio::ByteOrder *);
+ static jfloat getFloat(::java::nio::ByteBuffer *, jint, ::java::nio::ByteOrder *);
+ static void putFloat(::java::nio::ByteBuffer *, jint, jfloat, ::java::nio::ByteOrder *);
+ static jdouble getDouble(::java::nio::ByteBuffer *, ::java::nio::ByteOrder *);
+ static void putDouble(::java::nio::ByteBuffer *, jdouble, ::java::nio::ByteOrder *);
+ static jdouble getDouble(::java::nio::ByteBuffer *, jint, ::java::nio::ByteOrder *);
+ static void putDouble(::java::nio::ByteBuffer *, jint, jdouble, ::java::nio::ByteOrder *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_nio_ByteBufferHelper__
diff --git a/libjava/java/nio/ByteBufferImpl.h b/libjava/java/nio/ByteBufferImpl.h
new file mode 100644
index 0000000..12621a0
--- /dev/null
+++ b/libjava/java/nio/ByteBufferImpl.h
@@ -0,0 +1,87 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_nio_ByteBufferImpl__
+#define __java_nio_ByteBufferImpl__
+
+#pragma interface
+
+#include <java/nio/ByteBuffer.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteBuffer;
+ class ByteBufferImpl;
+ class CharBuffer;
+ class DoubleBuffer;
+ class FloatBuffer;
+ class IntBuffer;
+ class LongBuffer;
+ class ShortBuffer;
+ }
+ }
+}
+
+class java::nio::ByteBufferImpl : public ::java::nio::ByteBuffer
+{
+
+public: // actually package-private
+ ByteBufferImpl(JArray< jbyte > *, jint, jint, jint, jint, jint, jboolean);
+public:
+ ::java::nio::CharBuffer * asCharBuffer();
+ ::java::nio::ShortBuffer * asShortBuffer();
+ ::java::nio::IntBuffer * asIntBuffer();
+ ::java::nio::LongBuffer * asLongBuffer();
+ ::java::nio::FloatBuffer * asFloatBuffer();
+ ::java::nio::DoubleBuffer * asDoubleBuffer();
+ jboolean isReadOnly();
+ ::java::nio::ByteBuffer * slice();
+ ::java::nio::ByteBuffer * duplicate();
+ ::java::nio::ByteBuffer * asReadOnlyBuffer();
+public: // actually package-private
+ void shiftDown(jint, jint, jint);
+public:
+ ::java::nio::ByteBuffer * compact();
+ jboolean isDirect();
+ jbyte get();
+ ::java::nio::ByteBuffer * get(JArray< jbyte > *, jint, jint);
+ ::java::nio::ByteBuffer * put(JArray< jbyte > *, jint, jint);
+ ::java::nio::ByteBuffer * put(jbyte);
+ jbyte get(jint);
+ ::java::nio::ByteBuffer * put(jint, jbyte);
+ jchar getChar();
+ ::java::nio::ByteBuffer * putChar(jchar);
+ jchar getChar(jint);
+ ::java::nio::ByteBuffer * putChar(jint, jchar);
+ jshort getShort();
+ ::java::nio::ByteBuffer * putShort(jshort);
+ jshort getShort(jint);
+ ::java::nio::ByteBuffer * putShort(jint, jshort);
+ jint getInt();
+ ::java::nio::ByteBuffer * putInt(jint);
+ jint getInt(jint);
+ ::java::nio::ByteBuffer * putInt(jint, jint);
+ jlong getLong();
+ ::java::nio::ByteBuffer * putLong(jlong);
+ jlong getLong(jint);
+ ::java::nio::ByteBuffer * putLong(jint, jlong);
+ jfloat getFloat();
+ ::java::nio::ByteBuffer * putFloat(jfloat);
+ jfloat getFloat(jint);
+ ::java::nio::ByteBuffer * putFloat(jint, jfloat);
+ jdouble getDouble();
+ ::java::nio::ByteBuffer * putDouble(jdouble);
+ jdouble getDouble(jint);
+ ::java::nio::ByteBuffer * putDouble(jint, jdouble);
+private:
+ jboolean __attribute__((aligned(__alignof__( ::java::nio::ByteBuffer)))) readOnly;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_nio_ByteBufferImpl__
diff --git a/libjava/java/nio/ByteOrder.h b/libjava/java/nio/ByteOrder.h
new file mode 100644
index 0000000..730cb7f
--- /dev/null
+++ b/libjava/java/nio/ByteOrder.h
@@ -0,0 +1,35 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_nio_ByteOrder__
+#define __java_nio_ByteOrder__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteOrder;
+ }
+ }
+}
+
+class java::nio::ByteOrder : public ::java::lang::Object
+{
+
+public:
+ static ::java::nio::ByteOrder * nativeOrder();
+ ::java::lang::String * toString();
+private:
+ ByteOrder();
+public:
+ static ::java::nio::ByteOrder * BIG_ENDIAN;
+ static ::java::nio::ByteOrder * LITTLE_ENDIAN;
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_nio_ByteOrder__
diff --git a/libjava/java/nio/CharBuffer.h b/libjava/java/nio/CharBuffer.h
new file mode 100644
index 0000000..9ab6d7e
--- /dev/null
+++ b/libjava/java/nio/CharBuffer.h
@@ -0,0 +1,77 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_nio_CharBuffer__
+#define __java_nio_CharBuffer__
+
+#pragma interface
+
+#include <java/nio/Buffer.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteOrder;
+ class CharBuffer;
+ }
+ }
+}
+
+class java::nio::CharBuffer : public ::java::nio::Buffer
+{
+
+public: // actually package-private
+ CharBuffer(jint, jint, jint, jint);
+public:
+ static ::java::nio::CharBuffer * allocate(jint);
+ static ::java::nio::CharBuffer * wrap(JArray< jchar > *, jint, jint);
+ static ::java::nio::CharBuffer * wrap(::java::lang::CharSequence *);
+ static ::java::nio::CharBuffer * wrap(::java::lang::CharSequence *, jint, jint);
+ static ::java::nio::CharBuffer * wrap(JArray< jchar > *);
+ virtual ::java::nio::CharBuffer * get(JArray< jchar > *, jint, jint);
+ virtual jint read(::java::nio::CharBuffer *);
+ virtual ::java::nio::CharBuffer * get(JArray< jchar > *);
+ virtual ::java::nio::CharBuffer * put(::java::nio::CharBuffer *);
+ virtual ::java::nio::CharBuffer * put(JArray< jchar > *, jint, jint);
+ virtual ::java::nio::CharBuffer * put(JArray< jchar > *);
+ virtual jboolean hasArray();
+ virtual JArray< jchar > * array();
+ virtual jint arrayOffset();
+ virtual jint hashCode();
+ virtual jboolean equals(::java::lang::Object *);
+ virtual jint target$compareTo(::java::nio::CharBuffer *);
+ virtual ::java::nio::ByteOrder * order() = 0;
+ virtual jchar get() = 0;
+ virtual ::java::nio::CharBuffer * put(jchar) = 0;
+ virtual jchar get(jint) = 0;
+ virtual ::java::nio::CharBuffer * put(jint, jchar) = 0;
+ virtual ::java::nio::CharBuffer * compact() = 0;
+ virtual jboolean isDirect() = 0;
+ virtual ::java::nio::CharBuffer * slice() = 0;
+ virtual ::java::nio::CharBuffer * duplicate() = 0;
+ virtual ::java::nio::CharBuffer * asReadOnlyBuffer() = 0;
+ virtual ::java::lang::String * toString();
+ virtual jint length();
+ virtual ::java::lang::CharSequence * subSequence(jint, jint) = 0;
+ virtual ::java::nio::CharBuffer * put(::java::lang::String *, jint, jint);
+ virtual ::java::nio::CharBuffer * put(::java::lang::String *);
+ virtual jchar charAt(jint);
+ virtual ::java::nio::CharBuffer * target$append(jchar);
+ virtual ::java::nio::CharBuffer * target$append(::java::lang::CharSequence *);
+ virtual ::java::nio::CharBuffer * target$append(::java::lang::CharSequence *, jint, jint);
+ virtual ::java::lang::Appendable * append(::java::lang::CharSequence *, jint, jint);
+ virtual ::java::lang::Appendable * append(::java::lang::CharSequence *);
+ virtual ::java::lang::Appendable * append(jchar);
+ virtual jint compareTo(::java::lang::Object *);
+public: // actually package-private
+ jint __attribute__((aligned(__alignof__( ::java::nio::Buffer)))) array_offset;
+ JArray< jchar > * backing_buffer;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_nio_CharBuffer__
diff --git a/libjava/java/nio/CharBufferImpl.h b/libjava/java/nio/CharBufferImpl.h
new file mode 100644
index 0000000..4cbf50e
--- /dev/null
+++ b/libjava/java/nio/CharBufferImpl.h
@@ -0,0 +1,53 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_nio_CharBufferImpl__
+#define __java_nio_CharBufferImpl__
+
+#pragma interface
+
+#include <java/nio/CharBuffer.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteOrder;
+ class CharBuffer;
+ class CharBufferImpl;
+ }
+ }
+}
+
+class java::nio::CharBufferImpl : public ::java::nio::CharBuffer
+{
+
+public: // actually package-private
+ CharBufferImpl(jint);
+ CharBufferImpl(JArray< jchar > *, jint, jint, jint, jint, jint, jboolean);
+public:
+ CharBufferImpl(::java::nio::CharBufferImpl *);
+ jboolean isReadOnly();
+ ::java::nio::CharBuffer * slice();
+ ::java::nio::CharBuffer * duplicate();
+ ::java::nio::CharBuffer * asReadOnlyBuffer();
+ ::java::nio::CharBuffer * compact();
+ jboolean isDirect();
+ ::java::lang::CharSequence * subSequence(jint, jint);
+ jchar get();
+ ::java::nio::CharBuffer * put(jchar);
+ jchar get(jint);
+ ::java::nio::CharBuffer * get(JArray< jchar > *, jint, jint);
+ ::java::nio::CharBuffer * put(JArray< jchar > *, jint, jint);
+ ::java::nio::CharBuffer * put(jint, jchar);
+ ::java::nio::ByteOrder * order();
+private:
+ jboolean __attribute__((aligned(__alignof__( ::java::nio::CharBuffer)))) readOnly;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_nio_CharBufferImpl__
diff --git a/libjava/java/nio/CharViewBufferImpl.h b/libjava/java/nio/CharViewBufferImpl.h
new file mode 100644
index 0000000..fbde2de
--- /dev/null
+++ b/libjava/java/nio/CharViewBufferImpl.h
@@ -0,0 +1,55 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_nio_CharViewBufferImpl__
+#define __java_nio_CharViewBufferImpl__
+
+#pragma interface
+
+#include <java/nio/CharBuffer.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteBuffer;
+ class ByteOrder;
+ class CharBuffer;
+ class CharViewBufferImpl;
+ }
+ }
+}
+
+class java::nio::CharViewBufferImpl : public ::java::nio::CharBuffer
+{
+
+public: // actually package-private
+ CharViewBufferImpl(::java::nio::ByteBuffer *, jint);
+public:
+ CharViewBufferImpl(::java::nio::ByteBuffer *, jint, jint, jint, jint, jint, jboolean, ::java::nio::ByteOrder *);
+ virtual jchar get();
+ virtual jchar get(jint);
+ virtual ::java::nio::CharBuffer * put(jchar);
+ virtual ::java::nio::CharBuffer * put(jint, jchar);
+ virtual ::java::nio::CharBuffer * compact();
+ virtual ::java::nio::CharBuffer * slice();
+public: // actually package-private
+ virtual ::java::nio::CharBuffer * duplicate(jboolean);
+public:
+ virtual ::java::nio::CharBuffer * duplicate();
+ virtual ::java::nio::CharBuffer * asReadOnlyBuffer();
+ virtual ::java::lang::CharSequence * subSequence(jint, jint);
+ virtual jboolean isReadOnly();
+ virtual jboolean isDirect();
+ virtual ::java::nio::ByteOrder * order();
+private:
+ jint __attribute__((aligned(__alignof__( ::java::nio::CharBuffer)))) offset;
+ ::java::nio::ByteBuffer * bb;
+ jboolean readOnly;
+ ::java::nio::ByteOrder * endian;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_nio_CharViewBufferImpl__
diff --git a/libjava/java/nio/DirectByteBufferImpl$ReadOnly.h b/libjava/java/nio/DirectByteBufferImpl$ReadOnly.h
new file mode 100644
index 0000000..f94c05a
--- /dev/null
+++ b/libjava/java/nio/DirectByteBufferImpl$ReadOnly.h
@@ -0,0 +1,41 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_nio_DirectByteBufferImpl$ReadOnly__
+#define __java_nio_DirectByteBufferImpl$ReadOnly__
+
+#pragma interface
+
+#include <java/nio/DirectByteBufferImpl.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace gcj
+ {
+ class RawData;
+ }
+ }
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteBuffer;
+ class DirectByteBufferImpl$ReadOnly;
+ }
+ }
+}
+
+class java::nio::DirectByteBufferImpl$ReadOnly : public ::java::nio::DirectByteBufferImpl
+{
+
+public: // actually package-private
+ DirectByteBufferImpl$ReadOnly(::java::lang::Object *, ::gnu::gcj::RawData *, jint, jint, jint);
+public:
+ ::java::nio::ByteBuffer * put(jbyte);
+ ::java::nio::ByteBuffer * put(jint, jbyte);
+ jboolean isReadOnly();
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_nio_DirectByteBufferImpl$ReadOnly__
diff --git a/libjava/java/nio/DirectByteBufferImpl$ReadWrite.h b/libjava/java/nio/DirectByteBufferImpl$ReadWrite.h
new file mode 100644
index 0000000..aa8c5ad
--- /dev/null
+++ b/libjava/java/nio/DirectByteBufferImpl$ReadWrite.h
@@ -0,0 +1,40 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_nio_DirectByteBufferImpl$ReadWrite__
+#define __java_nio_DirectByteBufferImpl$ReadWrite__
+
+#pragma interface
+
+#include <java/nio/DirectByteBufferImpl.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace gcj
+ {
+ class RawData;
+ }
+ }
+ namespace java
+ {
+ namespace nio
+ {
+ class DirectByteBufferImpl$ReadWrite;
+ }
+ }
+}
+
+class java::nio::DirectByteBufferImpl$ReadWrite : public ::java::nio::DirectByteBufferImpl
+{
+
+public: // actually package-private
+ DirectByteBufferImpl$ReadWrite(jint);
+ DirectByteBufferImpl$ReadWrite(::gnu::gcj::RawData *, jint);
+ DirectByteBufferImpl$ReadWrite(::java::lang::Object *, ::gnu::gcj::RawData *, jint, jint, jint);
+public:
+ jboolean isReadOnly();
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_nio_DirectByteBufferImpl$ReadWrite__
diff --git a/libjava/java/nio/DirectByteBufferImpl.h b/libjava/java/nio/DirectByteBufferImpl.h
new file mode 100644
index 0000000..b5a5669
--- /dev/null
+++ b/libjava/java/nio/DirectByteBufferImpl.h
@@ -0,0 +1,101 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_nio_DirectByteBufferImpl__
+#define __java_nio_DirectByteBufferImpl__
+
+#pragma interface
+
+#include <java/nio/ByteBuffer.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace gcj
+ {
+ class RawData;
+ }
+ }
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteBuffer;
+ class CharBuffer;
+ class DirectByteBufferImpl;
+ class DoubleBuffer;
+ class FloatBuffer;
+ class IntBuffer;
+ class LongBuffer;
+ class ShortBuffer;
+ }
+ }
+}
+
+class java::nio::DirectByteBufferImpl : public ::java::nio::ByteBuffer
+{
+
+public: // actually package-private
+ DirectByteBufferImpl(jint);
+ DirectByteBufferImpl(::gnu::gcj::RawData *, jint);
+ DirectByteBufferImpl(::java::lang::Object *, ::gnu::gcj::RawData *, jint, jint, jint);
+public:
+ static ::java::nio::ByteBuffer * allocate(jint);
+public: // actually protected
+ virtual void finalize();
+public:
+ virtual jbyte get();
+ virtual jbyte get(jint);
+ virtual ::java::nio::ByteBuffer * get(JArray< jbyte > *, jint, jint);
+ virtual ::java::nio::ByteBuffer * put(jbyte);
+ virtual ::java::nio::ByteBuffer * put(jint, jbyte);
+public: // actually package-private
+ virtual void shiftDown(jint, jint, jint);
+public:
+ virtual ::java::nio::ByteBuffer * compact();
+ virtual ::java::nio::ByteBuffer * slice();
+private:
+ ::java::nio::ByteBuffer * duplicate(jboolean);
+public:
+ virtual ::java::nio::ByteBuffer * duplicate();
+ virtual ::java::nio::ByteBuffer * asReadOnlyBuffer();
+ virtual jboolean isDirect();
+ virtual ::java::nio::CharBuffer * asCharBuffer();
+ virtual ::java::nio::ShortBuffer * asShortBuffer();
+ virtual ::java::nio::IntBuffer * asIntBuffer();
+ virtual ::java::nio::LongBuffer * asLongBuffer();
+ virtual ::java::nio::FloatBuffer * asFloatBuffer();
+ virtual ::java::nio::DoubleBuffer * asDoubleBuffer();
+ virtual jchar getChar();
+ virtual ::java::nio::ByteBuffer * putChar(jchar);
+ virtual jchar getChar(jint);
+ virtual ::java::nio::ByteBuffer * putChar(jint, jchar);
+ virtual jshort getShort();
+ virtual ::java::nio::ByteBuffer * putShort(jshort);
+ virtual jshort getShort(jint);
+ virtual ::java::nio::ByteBuffer * putShort(jint, jshort);
+ virtual jint getInt();
+ virtual ::java::nio::ByteBuffer * putInt(jint);
+ virtual jint getInt(jint);
+ virtual ::java::nio::ByteBuffer * putInt(jint, jint);
+ virtual jlong getLong();
+ virtual ::java::nio::ByteBuffer * putLong(jlong);
+ virtual jlong getLong(jint);
+ virtual ::java::nio::ByteBuffer * putLong(jint, jlong);
+ virtual jfloat getFloat();
+ virtual ::java::nio::ByteBuffer * putFloat(jfloat);
+ virtual jfloat getFloat(jint);
+ virtual ::java::nio::ByteBuffer * putFloat(jint, jfloat);
+ virtual jdouble getDouble();
+ virtual ::java::nio::ByteBuffer * putDouble(jdouble);
+ virtual jdouble getDouble(jint);
+ virtual ::java::nio::ByteBuffer * putDouble(jint, jdouble);
+private:
+ ::java::lang::Object * __attribute__((aligned(__alignof__( ::java::nio::ByteBuffer)))) owner;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_nio_DirectByteBufferImpl__
diff --git a/libjava/java/nio/DoubleBuffer.h b/libjava/java/nio/DoubleBuffer.h
new file mode 100644
index 0000000..4fb0ef0
--- /dev/null
+++ b/libjava/java/nio/DoubleBuffer.h
@@ -0,0 +1,62 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_nio_DoubleBuffer__
+#define __java_nio_DoubleBuffer__
+
+#pragma interface
+
+#include <java/nio/Buffer.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteOrder;
+ class DoubleBuffer;
+ }
+ }
+}
+
+class java::nio::DoubleBuffer : public ::java::nio::Buffer
+{
+
+public: // actually package-private
+ DoubleBuffer(jint, jint, jint, jint);
+public:
+ static ::java::nio::DoubleBuffer * allocate(jint);
+ static ::java::nio::DoubleBuffer * wrap(JArray< jdouble > *, jint, jint);
+ static ::java::nio::DoubleBuffer * wrap(JArray< jdouble > *);
+ virtual ::java::nio::DoubleBuffer * get(JArray< jdouble > *, jint, jint);
+ virtual ::java::nio::DoubleBuffer * get(JArray< jdouble > *);
+ virtual ::java::nio::DoubleBuffer * put(::java::nio::DoubleBuffer *);
+ virtual ::java::nio::DoubleBuffer * put(JArray< jdouble > *, jint, jint);
+ virtual ::java::nio::DoubleBuffer * put(JArray< jdouble > *);
+ virtual jboolean hasArray();
+ virtual JArray< jdouble > * array();
+ virtual jint arrayOffset();
+ virtual jint hashCode();
+ virtual jboolean equals(::java::lang::Object *);
+ virtual jint target$compareTo(::java::nio::DoubleBuffer *);
+ virtual ::java::nio::ByteOrder * order() = 0;
+ virtual jdouble get() = 0;
+ virtual ::java::nio::DoubleBuffer * put(jdouble) = 0;
+ virtual jdouble get(jint) = 0;
+ virtual ::java::nio::DoubleBuffer * put(jint, jdouble) = 0;
+ virtual ::java::nio::DoubleBuffer * compact() = 0;
+ virtual jboolean isDirect() = 0;
+ virtual ::java::nio::DoubleBuffer * slice() = 0;
+ virtual ::java::nio::DoubleBuffer * duplicate() = 0;
+ virtual ::java::nio::DoubleBuffer * asReadOnlyBuffer() = 0;
+ virtual jint compareTo(::java::lang::Object *);
+public: // actually package-private
+ jint __attribute__((aligned(__alignof__( ::java::nio::Buffer)))) array_offset;
+ JArray< jdouble > * backing_buffer;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_nio_DoubleBuffer__
diff --git a/libjava/java/nio/DoubleBufferImpl.h b/libjava/java/nio/DoubleBufferImpl.h
new file mode 100644
index 0000000..f87e69c
--- /dev/null
+++ b/libjava/java/nio/DoubleBufferImpl.h
@@ -0,0 +1,49 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_nio_DoubleBufferImpl__
+#define __java_nio_DoubleBufferImpl__
+
+#pragma interface
+
+#include <java/nio/DoubleBuffer.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteOrder;
+ class DoubleBuffer;
+ class DoubleBufferImpl;
+ }
+ }
+}
+
+class java::nio::DoubleBufferImpl : public ::java::nio::DoubleBuffer
+{
+
+public: // actually package-private
+ DoubleBufferImpl(jint);
+ DoubleBufferImpl(JArray< jdouble > *, jint, jint, jint, jint, jint, jboolean);
+public:
+ jboolean isReadOnly();
+ ::java::nio::DoubleBuffer * slice();
+ ::java::nio::DoubleBuffer * duplicate();
+ ::java::nio::DoubleBuffer * asReadOnlyBuffer();
+ ::java::nio::DoubleBuffer * compact();
+ jboolean isDirect();
+ jdouble get();
+ ::java::nio::DoubleBuffer * put(jdouble);
+ jdouble get(jint);
+ ::java::nio::DoubleBuffer * put(jint, jdouble);
+ ::java::nio::ByteOrder * order();
+private:
+ jboolean __attribute__((aligned(__alignof__( ::java::nio::DoubleBuffer)))) readOnly;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_nio_DoubleBufferImpl__
diff --git a/libjava/java/nio/DoubleViewBufferImpl.h b/libjava/java/nio/DoubleViewBufferImpl.h
new file mode 100644
index 0000000..778a0ac
--- /dev/null
+++ b/libjava/java/nio/DoubleViewBufferImpl.h
@@ -0,0 +1,54 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_nio_DoubleViewBufferImpl__
+#define __java_nio_DoubleViewBufferImpl__
+
+#pragma interface
+
+#include <java/nio/DoubleBuffer.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteBuffer;
+ class ByteOrder;
+ class DoubleBuffer;
+ class DoubleViewBufferImpl;
+ }
+ }
+}
+
+class java::nio::DoubleViewBufferImpl : public ::java::nio::DoubleBuffer
+{
+
+public: // actually package-private
+ DoubleViewBufferImpl(::java::nio::ByteBuffer *, jint);
+public:
+ DoubleViewBufferImpl(::java::nio::ByteBuffer *, jint, jint, jint, jint, jint, jboolean, ::java::nio::ByteOrder *);
+ jdouble get();
+ jdouble get(jint);
+ ::java::nio::DoubleBuffer * put(jdouble);
+ ::java::nio::DoubleBuffer * put(jint, jdouble);
+ ::java::nio::DoubleBuffer * compact();
+ ::java::nio::DoubleBuffer * slice();
+public: // actually package-private
+ ::java::nio::DoubleBuffer * duplicate(jboolean);
+public:
+ ::java::nio::DoubleBuffer * duplicate();
+ ::java::nio::DoubleBuffer * asReadOnlyBuffer();
+ jboolean isReadOnly();
+ jboolean isDirect();
+ ::java::nio::ByteOrder * order();
+private:
+ jint __attribute__((aligned(__alignof__( ::java::nio::DoubleBuffer)))) offset;
+ ::java::nio::ByteBuffer * bb;
+ jboolean readOnly;
+ ::java::nio::ByteOrder * endian;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_nio_DoubleViewBufferImpl__
diff --git a/libjava/java/nio/FloatBuffer.h b/libjava/java/nio/FloatBuffer.h
new file mode 100644
index 0000000..61c0214
--- /dev/null
+++ b/libjava/java/nio/FloatBuffer.h
@@ -0,0 +1,62 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_nio_FloatBuffer__
+#define __java_nio_FloatBuffer__
+
+#pragma interface
+
+#include <java/nio/Buffer.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteOrder;
+ class FloatBuffer;
+ }
+ }
+}
+
+class java::nio::FloatBuffer : public ::java::nio::Buffer
+{
+
+public: // actually package-private
+ FloatBuffer(jint, jint, jint, jint);
+public:
+ static ::java::nio::FloatBuffer * allocate(jint);
+ static ::java::nio::FloatBuffer * wrap(JArray< jfloat > *, jint, jint);
+ static ::java::nio::FloatBuffer * wrap(JArray< jfloat > *);
+ virtual ::java::nio::FloatBuffer * get(JArray< jfloat > *, jint, jint);
+ virtual ::java::nio::FloatBuffer * get(JArray< jfloat > *);
+ virtual ::java::nio::FloatBuffer * put(::java::nio::FloatBuffer *);
+ virtual ::java::nio::FloatBuffer * put(JArray< jfloat > *, jint, jint);
+ virtual ::java::nio::FloatBuffer * put(JArray< jfloat > *);
+ virtual jboolean hasArray();
+ virtual JArray< jfloat > * array();
+ virtual jint arrayOffset();
+ virtual jint hashCode();
+ virtual jboolean equals(::java::lang::Object *);
+ virtual jint target$compareTo(::java::nio::FloatBuffer *);
+ virtual ::java::nio::ByteOrder * order() = 0;
+ virtual jfloat get() = 0;
+ virtual ::java::nio::FloatBuffer * put(jfloat) = 0;
+ virtual jfloat get(jint) = 0;
+ virtual ::java::nio::FloatBuffer * put(jint, jfloat) = 0;
+ virtual ::java::nio::FloatBuffer * compact() = 0;
+ virtual jboolean isDirect() = 0;
+ virtual ::java::nio::FloatBuffer * slice() = 0;
+ virtual ::java::nio::FloatBuffer * duplicate() = 0;
+ virtual ::java::nio::FloatBuffer * asReadOnlyBuffer() = 0;
+ virtual jint compareTo(::java::lang::Object *);
+public: // actually package-private
+ jint __attribute__((aligned(__alignof__( ::java::nio::Buffer)))) array_offset;
+ JArray< jfloat > * backing_buffer;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_nio_FloatBuffer__
diff --git a/libjava/java/nio/FloatBufferImpl.h b/libjava/java/nio/FloatBufferImpl.h
new file mode 100644
index 0000000..6dad3a9
--- /dev/null
+++ b/libjava/java/nio/FloatBufferImpl.h
@@ -0,0 +1,49 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_nio_FloatBufferImpl__
+#define __java_nio_FloatBufferImpl__
+
+#pragma interface
+
+#include <java/nio/FloatBuffer.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteOrder;
+ class FloatBuffer;
+ class FloatBufferImpl;
+ }
+ }
+}
+
+class java::nio::FloatBufferImpl : public ::java::nio::FloatBuffer
+{
+
+public: // actually package-private
+ FloatBufferImpl(jint);
+ FloatBufferImpl(JArray< jfloat > *, jint, jint, jint, jint, jint, jboolean);
+public:
+ jboolean isReadOnly();
+ ::java::nio::FloatBuffer * slice();
+ ::java::nio::FloatBuffer * duplicate();
+ ::java::nio::FloatBuffer * asReadOnlyBuffer();
+ ::java::nio::FloatBuffer * compact();
+ jboolean isDirect();
+ jfloat get();
+ ::java::nio::FloatBuffer * put(jfloat);
+ jfloat get(jint);
+ ::java::nio::FloatBuffer * put(jint, jfloat);
+ ::java::nio::ByteOrder * order();
+private:
+ jboolean __attribute__((aligned(__alignof__( ::java::nio::FloatBuffer)))) readOnly;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_nio_FloatBufferImpl__
diff --git a/libjava/java/nio/FloatViewBufferImpl.h b/libjava/java/nio/FloatViewBufferImpl.h
new file mode 100644
index 0000000..5ba181b
--- /dev/null
+++ b/libjava/java/nio/FloatViewBufferImpl.h
@@ -0,0 +1,54 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_nio_FloatViewBufferImpl__
+#define __java_nio_FloatViewBufferImpl__
+
+#pragma interface
+
+#include <java/nio/FloatBuffer.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteBuffer;
+ class ByteOrder;
+ class FloatBuffer;
+ class FloatViewBufferImpl;
+ }
+ }
+}
+
+class java::nio::FloatViewBufferImpl : public ::java::nio::FloatBuffer
+{
+
+public: // actually package-private
+ FloatViewBufferImpl(::java::nio::ByteBuffer *, jint);
+public:
+ FloatViewBufferImpl(::java::nio::ByteBuffer *, jint, jint, jint, jint, jint, jboolean, ::java::nio::ByteOrder *);
+ jfloat get();
+ jfloat get(jint);
+ ::java::nio::FloatBuffer * put(jfloat);
+ ::java::nio::FloatBuffer * put(jint, jfloat);
+ ::java::nio::FloatBuffer * compact();
+ ::java::nio::FloatBuffer * slice();
+public: // actually package-private
+ ::java::nio::FloatBuffer * duplicate(jboolean);
+public:
+ ::java::nio::FloatBuffer * duplicate();
+ ::java::nio::FloatBuffer * asReadOnlyBuffer();
+ jboolean isReadOnly();
+ jboolean isDirect();
+ ::java::nio::ByteOrder * order();
+private:
+ jint __attribute__((aligned(__alignof__( ::java::nio::FloatBuffer)))) offset;
+ ::java::nio::ByteBuffer * bb;
+ jboolean readOnly;
+ ::java::nio::ByteOrder * endian;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_nio_FloatViewBufferImpl__
diff --git a/libjava/java/nio/IntBuffer.h b/libjava/java/nio/IntBuffer.h
new file mode 100644
index 0000000..0922342
--- /dev/null
+++ b/libjava/java/nio/IntBuffer.h
@@ -0,0 +1,62 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_nio_IntBuffer__
+#define __java_nio_IntBuffer__
+
+#pragma interface
+
+#include <java/nio/Buffer.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteOrder;
+ class IntBuffer;
+ }
+ }
+}
+
+class java::nio::IntBuffer : public ::java::nio::Buffer
+{
+
+public: // actually package-private
+ IntBuffer(jint, jint, jint, jint);
+public:
+ static ::java::nio::IntBuffer * allocate(jint);
+ static ::java::nio::IntBuffer * wrap(JArray< jint > *, jint, jint);
+ static ::java::nio::IntBuffer * wrap(JArray< jint > *);
+ virtual ::java::nio::IntBuffer * get(JArray< jint > *, jint, jint);
+ virtual ::java::nio::IntBuffer * get(JArray< jint > *);
+ virtual ::java::nio::IntBuffer * put(::java::nio::IntBuffer *);
+ virtual ::java::nio::IntBuffer * put(JArray< jint > *, jint, jint);
+ virtual ::java::nio::IntBuffer * put(JArray< jint > *);
+ virtual jboolean hasArray();
+ virtual JArray< jint > * array();
+ virtual jint arrayOffset();
+ virtual jint hashCode();
+ virtual jboolean equals(::java::lang::Object *);
+ virtual jint target$compareTo(::java::nio::IntBuffer *);
+ virtual ::java::nio::ByteOrder * order() = 0;
+ virtual jint get() = 0;
+ virtual ::java::nio::IntBuffer * put(jint) = 0;
+ virtual jint get(jint) = 0;
+ virtual ::java::nio::IntBuffer * put(jint, jint) = 0;
+ virtual ::java::nio::IntBuffer * compact() = 0;
+ virtual jboolean isDirect() = 0;
+ virtual ::java::nio::IntBuffer * slice() = 0;
+ virtual ::java::nio::IntBuffer * duplicate() = 0;
+ virtual ::java::nio::IntBuffer * asReadOnlyBuffer() = 0;
+ virtual jint compareTo(::java::lang::Object *);
+public: // actually package-private
+ jint __attribute__((aligned(__alignof__( ::java::nio::Buffer)))) array_offset;
+ JArray< jint > * backing_buffer;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_nio_IntBuffer__
diff --git a/libjava/java/nio/IntBufferImpl.h b/libjava/java/nio/IntBufferImpl.h
new file mode 100644
index 0000000..2492f02
--- /dev/null
+++ b/libjava/java/nio/IntBufferImpl.h
@@ -0,0 +1,49 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_nio_IntBufferImpl__
+#define __java_nio_IntBufferImpl__
+
+#pragma interface
+
+#include <java/nio/IntBuffer.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteOrder;
+ class IntBuffer;
+ class IntBufferImpl;
+ }
+ }
+}
+
+class java::nio::IntBufferImpl : public ::java::nio::IntBuffer
+{
+
+public: // actually package-private
+ IntBufferImpl(jint);
+ IntBufferImpl(JArray< jint > *, jint, jint, jint, jint, jint, jboolean);
+public:
+ jboolean isReadOnly();
+ ::java::nio::IntBuffer * slice();
+ ::java::nio::IntBuffer * duplicate();
+ ::java::nio::IntBuffer * asReadOnlyBuffer();
+ ::java::nio::IntBuffer * compact();
+ jboolean isDirect();
+ jint get();
+ ::java::nio::IntBuffer * put(jint);
+ jint get(jint);
+ ::java::nio::IntBuffer * put(jint, jint);
+ ::java::nio::ByteOrder * order();
+private:
+ jboolean __attribute__((aligned(__alignof__( ::java::nio::IntBuffer)))) readOnly;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_nio_IntBufferImpl__
diff --git a/libjava/java/nio/IntViewBufferImpl.h b/libjava/java/nio/IntViewBufferImpl.h
new file mode 100644
index 0000000..8dfe695
--- /dev/null
+++ b/libjava/java/nio/IntViewBufferImpl.h
@@ -0,0 +1,54 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_nio_IntViewBufferImpl__
+#define __java_nio_IntViewBufferImpl__
+
+#pragma interface
+
+#include <java/nio/IntBuffer.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteBuffer;
+ class ByteOrder;
+ class IntBuffer;
+ class IntViewBufferImpl;
+ }
+ }
+}
+
+class java::nio::IntViewBufferImpl : public ::java::nio::IntBuffer
+{
+
+public: // actually package-private
+ IntViewBufferImpl(::java::nio::ByteBuffer *, jint);
+public:
+ IntViewBufferImpl(::java::nio::ByteBuffer *, jint, jint, jint, jint, jint, jboolean, ::java::nio::ByteOrder *);
+ jint get();
+ jint get(jint);
+ ::java::nio::IntBuffer * put(jint);
+ ::java::nio::IntBuffer * put(jint, jint);
+ ::java::nio::IntBuffer * compact();
+ ::java::nio::IntBuffer * slice();
+public: // actually package-private
+ ::java::nio::IntBuffer * duplicate(jboolean);
+public:
+ ::java::nio::IntBuffer * duplicate();
+ ::java::nio::IntBuffer * asReadOnlyBuffer();
+ jboolean isReadOnly();
+ jboolean isDirect();
+ ::java::nio::ByteOrder * order();
+private:
+ jint __attribute__((aligned(__alignof__( ::java::nio::IntBuffer)))) offset;
+ ::java::nio::ByteBuffer * bb;
+ jboolean readOnly;
+ ::java::nio::ByteOrder * endian;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_nio_IntViewBufferImpl__
diff --git a/libjava/java/nio/InvalidMarkException.h b/libjava/java/nio/InvalidMarkException.h
new file mode 100644
index 0000000..7b095c2
--- /dev/null
+++ b/libjava/java/nio/InvalidMarkException.h
@@ -0,0 +1,32 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_nio_InvalidMarkException__
+#define __java_nio_InvalidMarkException__
+
+#pragma interface
+
+#include <java/lang/IllegalStateException.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace nio
+ {
+ class InvalidMarkException;
+ }
+ }
+}
+
+class java::nio::InvalidMarkException : public ::java::lang::IllegalStateException
+{
+
+public:
+ InvalidMarkException();
+private:
+ static const jlong serialVersionUID = 1698329710438510774LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_nio_InvalidMarkException__
diff --git a/libjava/java/nio/LongBuffer.h b/libjava/java/nio/LongBuffer.h
new file mode 100644
index 0000000..f100e05
--- /dev/null
+++ b/libjava/java/nio/LongBuffer.h
@@ -0,0 +1,62 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_nio_LongBuffer__
+#define __java_nio_LongBuffer__
+
+#pragma interface
+
+#include <java/nio/Buffer.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteOrder;
+ class LongBuffer;
+ }
+ }
+}
+
+class java::nio::LongBuffer : public ::java::nio::Buffer
+{
+
+public: // actually package-private
+ LongBuffer(jint, jint, jint, jint);
+public:
+ static ::java::nio::LongBuffer * allocate(jint);
+ static ::java::nio::LongBuffer * wrap(JArray< jlong > *, jint, jint);
+ static ::java::nio::LongBuffer * wrap(JArray< jlong > *);
+ virtual ::java::nio::LongBuffer * get(JArray< jlong > *, jint, jint);
+ virtual ::java::nio::LongBuffer * get(JArray< jlong > *);
+ virtual ::java::nio::LongBuffer * put(::java::nio::LongBuffer *);
+ virtual ::java::nio::LongBuffer * put(JArray< jlong > *, jint, jint);
+ virtual ::java::nio::LongBuffer * put(JArray< jlong > *);
+ virtual jboolean hasArray();
+ virtual JArray< jlong > * array();
+ virtual jint arrayOffset();
+ virtual jint hashCode();
+ virtual jboolean equals(::java::lang::Object *);
+ virtual jint target$compareTo(::java::nio::LongBuffer *);
+ virtual ::java::nio::ByteOrder * order() = 0;
+ virtual jlong get() = 0;
+ virtual ::java::nio::LongBuffer * put(jlong) = 0;
+ virtual jlong get(jint) = 0;
+ virtual ::java::nio::LongBuffer * put(jint, jlong) = 0;
+ virtual ::java::nio::LongBuffer * compact() = 0;
+ virtual jboolean isDirect() = 0;
+ virtual ::java::nio::LongBuffer * slice() = 0;
+ virtual ::java::nio::LongBuffer * duplicate() = 0;
+ virtual ::java::nio::LongBuffer * asReadOnlyBuffer() = 0;
+ virtual jint compareTo(::java::lang::Object *);
+public: // actually package-private
+ jint __attribute__((aligned(__alignof__( ::java::nio::Buffer)))) array_offset;
+ JArray< jlong > * backing_buffer;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_nio_LongBuffer__
diff --git a/libjava/java/nio/LongBufferImpl.h b/libjava/java/nio/LongBufferImpl.h
new file mode 100644
index 0000000..ad28128
--- /dev/null
+++ b/libjava/java/nio/LongBufferImpl.h
@@ -0,0 +1,49 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_nio_LongBufferImpl__
+#define __java_nio_LongBufferImpl__
+
+#pragma interface
+
+#include <java/nio/LongBuffer.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteOrder;
+ class LongBuffer;
+ class LongBufferImpl;
+ }
+ }
+}
+
+class java::nio::LongBufferImpl : public ::java::nio::LongBuffer
+{
+
+public: // actually package-private
+ LongBufferImpl(jint);
+ LongBufferImpl(JArray< jlong > *, jint, jint, jint, jint, jint, jboolean);
+public:
+ jboolean isReadOnly();
+ ::java::nio::LongBuffer * slice();
+ ::java::nio::LongBuffer * duplicate();
+ ::java::nio::LongBuffer * asReadOnlyBuffer();
+ ::java::nio::LongBuffer * compact();
+ jboolean isDirect();
+ jlong get();
+ ::java::nio::LongBuffer * put(jlong);
+ jlong get(jint);
+ ::java::nio::LongBuffer * put(jint, jlong);
+ ::java::nio::ByteOrder * order();
+private:
+ jboolean __attribute__((aligned(__alignof__( ::java::nio::LongBuffer)))) readOnly;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_nio_LongBufferImpl__
diff --git a/libjava/java/nio/LongViewBufferImpl.h b/libjava/java/nio/LongViewBufferImpl.h
new file mode 100644
index 0000000..59e678c
--- /dev/null
+++ b/libjava/java/nio/LongViewBufferImpl.h
@@ -0,0 +1,54 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_nio_LongViewBufferImpl__
+#define __java_nio_LongViewBufferImpl__
+
+#pragma interface
+
+#include <java/nio/LongBuffer.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteBuffer;
+ class ByteOrder;
+ class LongBuffer;
+ class LongViewBufferImpl;
+ }
+ }
+}
+
+class java::nio::LongViewBufferImpl : public ::java::nio::LongBuffer
+{
+
+public: // actually package-private
+ LongViewBufferImpl(::java::nio::ByteBuffer *, jint);
+public:
+ LongViewBufferImpl(::java::nio::ByteBuffer *, jint, jint, jint, jint, jint, jboolean, ::java::nio::ByteOrder *);
+ jlong get();
+ jlong get(jint);
+ ::java::nio::LongBuffer * put(jlong);
+ ::java::nio::LongBuffer * put(jint, jlong);
+ ::java::nio::LongBuffer * compact();
+ ::java::nio::LongBuffer * slice();
+public: // actually package-private
+ ::java::nio::LongBuffer * duplicate(jboolean);
+public:
+ ::java::nio::LongBuffer * duplicate();
+ ::java::nio::LongBuffer * asReadOnlyBuffer();
+ jboolean isReadOnly();
+ jboolean isDirect();
+ ::java::nio::ByteOrder * order();
+private:
+ jint __attribute__((aligned(__alignof__( ::java::nio::LongBuffer)))) offset;
+ ::java::nio::ByteBuffer * bb;
+ jboolean readOnly;
+ ::java::nio::ByteOrder * endian;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_nio_LongViewBufferImpl__
diff --git a/libjava/java/nio/MappedByteBuffer.h b/libjava/java/nio/MappedByteBuffer.h
new file mode 100644
index 0000000..563a966
--- /dev/null
+++ b/libjava/java/nio/MappedByteBuffer.h
@@ -0,0 +1,44 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_nio_MappedByteBuffer__
+#define __java_nio_MappedByteBuffer__
+
+#pragma interface
+
+#include <java/nio/ByteBuffer.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace nio
+ {
+ class MappedByteBuffer;
+ }
+ }
+}
+
+class java::nio::MappedByteBuffer : public ::java::nio::ByteBuffer
+{
+
+public: // actually package-private
+ MappedByteBuffer(jint, jint, jint, jint);
+ virtual void forceImpl();
+public:
+ virtual ::java::nio::MappedByteBuffer * force();
+public: // actually package-private
+ virtual jboolean isLoadedImpl();
+public:
+ virtual jboolean isLoaded();
+public: // actually package-private
+ virtual void loadImpl();
+public:
+ virtual ::java::nio::MappedByteBuffer * load();
+public: // actually package-private
+ virtual void unmapImpl();
+public:
+ virtual void finalize();
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_nio_MappedByteBuffer__
diff --git a/libjava/java/nio/MappedByteBufferImpl.h b/libjava/java/nio/MappedByteBufferImpl.h
new file mode 100644
index 0000000..e678d49
--- /dev/null
+++ b/libjava/java/nio/MappedByteBufferImpl.h
@@ -0,0 +1,98 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_nio_MappedByteBufferImpl__
+#define __java_nio_MappedByteBufferImpl__
+
+#pragma interface
+
+#include <java/nio/MappedByteBuffer.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace gcj
+ {
+ class RawData;
+ }
+ }
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteBuffer;
+ class CharBuffer;
+ class DoubleBuffer;
+ class FloatBuffer;
+ class IntBuffer;
+ class LongBuffer;
+ class MappedByteBufferImpl;
+ class ShortBuffer;
+ }
+ }
+}
+
+class java::nio::MappedByteBufferImpl : public ::java::nio::MappedByteBuffer
+{
+
+public:
+ MappedByteBufferImpl(::gnu::gcj::RawData *, jint, jboolean);
+ jboolean isReadOnly();
+ jbyte get();
+ ::java::nio::ByteBuffer * put(jbyte);
+ jbyte get(jint);
+ ::java::nio::ByteBuffer * get(JArray< jbyte > *, jint, jint);
+ ::java::nio::ByteBuffer * put(jint, jbyte);
+ ::java::nio::ByteBuffer * compact();
+ jboolean isDirect();
+ ::java::nio::ByteBuffer * slice();
+private:
+ ::java::nio::ByteBuffer * duplicate(jboolean);
+public:
+ ::java::nio::ByteBuffer * duplicate();
+ ::java::nio::ByteBuffer * asReadOnlyBuffer();
+ ::java::nio::CharBuffer * asCharBuffer();
+ ::java::nio::ShortBuffer * asShortBuffer();
+ ::java::nio::IntBuffer * asIntBuffer();
+ ::java::nio::LongBuffer * asLongBuffer();
+ ::java::nio::FloatBuffer * asFloatBuffer();
+ ::java::nio::DoubleBuffer * asDoubleBuffer();
+ jchar getChar();
+ ::java::nio::ByteBuffer * putChar(jchar);
+ jchar getChar(jint);
+ ::java::nio::ByteBuffer * putChar(jint, jchar);
+ jshort getShort();
+ ::java::nio::ByteBuffer * putShort(jshort);
+ jshort getShort(jint);
+ ::java::nio::ByteBuffer * putShort(jint, jshort);
+ jint getInt();
+ ::java::nio::ByteBuffer * putInt(jint);
+ jint getInt(jint);
+ ::java::nio::ByteBuffer * putInt(jint, jint);
+ jlong getLong();
+ ::java::nio::ByteBuffer * putLong(jlong);
+ jlong getLong(jint);
+ ::java::nio::ByteBuffer * putLong(jint, jlong);
+ jfloat getFloat();
+ ::java::nio::ByteBuffer * putFloat(jfloat);
+ jfloat getFloat(jint);
+ ::java::nio::ByteBuffer * putFloat(jint, jfloat);
+ jdouble getDouble();
+ ::java::nio::ByteBuffer * putDouble(jdouble);
+ jdouble getDouble(jint);
+ ::java::nio::ByteBuffer * putDouble(jint, jdouble);
+public: // actually package-private
+ void unmapImpl();
+ jboolean isLoadedImpl();
+ void loadImpl();
+ void forceImpl();
+ jboolean __attribute__((aligned(__alignof__( ::java::nio::MappedByteBuffer)))) readOnly;
+public:
+ ::gnu::gcj::RawData * implPtr;
+ jlong implLen;
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_nio_MappedByteBufferImpl__
diff --git a/libjava/java/nio/ReadOnlyBufferException.h b/libjava/java/nio/ReadOnlyBufferException.h
new file mode 100644
index 0000000..58fe414
--- /dev/null
+++ b/libjava/java/nio/ReadOnlyBufferException.h
@@ -0,0 +1,32 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_nio_ReadOnlyBufferException__
+#define __java_nio_ReadOnlyBufferException__
+
+#pragma interface
+
+#include <java/lang/UnsupportedOperationException.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace nio
+ {
+ class ReadOnlyBufferException;
+ }
+ }
+}
+
+class java::nio::ReadOnlyBufferException : public ::java::lang::UnsupportedOperationException
+{
+
+public:
+ ReadOnlyBufferException();
+private:
+ static const jlong serialVersionUID = -1210063976496234090LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_nio_ReadOnlyBufferException__
diff --git a/libjava/java/nio/ShortBuffer.h b/libjava/java/nio/ShortBuffer.h
new file mode 100644
index 0000000..27b9814
--- /dev/null
+++ b/libjava/java/nio/ShortBuffer.h
@@ -0,0 +1,62 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_nio_ShortBuffer__
+#define __java_nio_ShortBuffer__
+
+#pragma interface
+
+#include <java/nio/Buffer.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteOrder;
+ class ShortBuffer;
+ }
+ }
+}
+
+class java::nio::ShortBuffer : public ::java::nio::Buffer
+{
+
+public: // actually package-private
+ ShortBuffer(jint, jint, jint, jint);
+public:
+ static ::java::nio::ShortBuffer * allocate(jint);
+ static ::java::nio::ShortBuffer * wrap(JArray< jshort > *, jint, jint);
+ static ::java::nio::ShortBuffer * wrap(JArray< jshort > *);
+ virtual ::java::nio::ShortBuffer * get(JArray< jshort > *, jint, jint);
+ virtual ::java::nio::ShortBuffer * get(JArray< jshort > *);
+ virtual ::java::nio::ShortBuffer * put(::java::nio::ShortBuffer *);
+ virtual ::java::nio::ShortBuffer * put(JArray< jshort > *, jint, jint);
+ virtual ::java::nio::ShortBuffer * put(JArray< jshort > *);
+ virtual jboolean hasArray();
+ virtual JArray< jshort > * array();
+ virtual jint arrayOffset();
+ virtual jint hashCode();
+ virtual jboolean equals(::java::lang::Object *);
+ virtual jint target$compareTo(::java::nio::ShortBuffer *);
+ virtual ::java::nio::ByteOrder * order() = 0;
+ virtual jshort get() = 0;
+ virtual ::java::nio::ShortBuffer * put(jshort) = 0;
+ virtual jshort get(jint) = 0;
+ virtual ::java::nio::ShortBuffer * put(jint, jshort) = 0;
+ virtual ::java::nio::ShortBuffer * compact() = 0;
+ virtual jboolean isDirect() = 0;
+ virtual ::java::nio::ShortBuffer * slice() = 0;
+ virtual ::java::nio::ShortBuffer * duplicate() = 0;
+ virtual ::java::nio::ShortBuffer * asReadOnlyBuffer() = 0;
+ virtual jint compareTo(::java::lang::Object *);
+public: // actually package-private
+ jint __attribute__((aligned(__alignof__( ::java::nio::Buffer)))) array_offset;
+ JArray< jshort > * backing_buffer;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_nio_ShortBuffer__
diff --git a/libjava/java/nio/ShortBufferImpl.h b/libjava/java/nio/ShortBufferImpl.h
new file mode 100644
index 0000000..a4150a8
--- /dev/null
+++ b/libjava/java/nio/ShortBufferImpl.h
@@ -0,0 +1,49 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_nio_ShortBufferImpl__
+#define __java_nio_ShortBufferImpl__
+
+#pragma interface
+
+#include <java/nio/ShortBuffer.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteOrder;
+ class ShortBuffer;
+ class ShortBufferImpl;
+ }
+ }
+}
+
+class java::nio::ShortBufferImpl : public ::java::nio::ShortBuffer
+{
+
+public: // actually package-private
+ ShortBufferImpl(jint);
+ ShortBufferImpl(JArray< jshort > *, jint, jint, jint, jint, jint, jboolean);
+public:
+ jboolean isReadOnly();
+ ::java::nio::ShortBuffer * slice();
+ ::java::nio::ShortBuffer * duplicate();
+ ::java::nio::ShortBuffer * asReadOnlyBuffer();
+ ::java::nio::ShortBuffer * compact();
+ jboolean isDirect();
+ jshort get();
+ ::java::nio::ShortBuffer * put(jshort);
+ jshort get(jint);
+ ::java::nio::ShortBuffer * put(jint, jshort);
+ ::java::nio::ByteOrder * order();
+private:
+ jboolean __attribute__((aligned(__alignof__( ::java::nio::ShortBuffer)))) readOnly;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_nio_ShortBufferImpl__
diff --git a/libjava/java/nio/ShortViewBufferImpl.h b/libjava/java/nio/ShortViewBufferImpl.h
new file mode 100644
index 0000000..179cc32
--- /dev/null
+++ b/libjava/java/nio/ShortViewBufferImpl.h
@@ -0,0 +1,54 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_nio_ShortViewBufferImpl__
+#define __java_nio_ShortViewBufferImpl__
+
+#pragma interface
+
+#include <java/nio/ShortBuffer.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteBuffer;
+ class ByteOrder;
+ class ShortBuffer;
+ class ShortViewBufferImpl;
+ }
+ }
+}
+
+class java::nio::ShortViewBufferImpl : public ::java::nio::ShortBuffer
+{
+
+public: // actually package-private
+ ShortViewBufferImpl(::java::nio::ByteBuffer *, jint);
+public:
+ ShortViewBufferImpl(::java::nio::ByteBuffer *, jint, jint, jint, jint, jint, jboolean, ::java::nio::ByteOrder *);
+ jshort get();
+ jshort get(jint);
+ ::java::nio::ShortBuffer * put(jshort);
+ ::java::nio::ShortBuffer * put(jint, jshort);
+ ::java::nio::ShortBuffer * compact();
+ ::java::nio::ShortBuffer * slice();
+public: // actually package-private
+ ::java::nio::ShortBuffer * duplicate(jboolean);
+public:
+ ::java::nio::ShortBuffer * duplicate();
+ ::java::nio::ShortBuffer * asReadOnlyBuffer();
+ jboolean isReadOnly();
+ jboolean isDirect();
+ ::java::nio::ByteOrder * order();
+private:
+ jint __attribute__((aligned(__alignof__( ::java::nio::ShortBuffer)))) offset;
+ ::java::nio::ByteBuffer * bb;
+ jboolean readOnly;
+ ::java::nio::ByteOrder * endian;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_nio_ShortViewBufferImpl__
diff --git a/libjava/java/nio/VMDirectByteBuffer.h b/libjava/java/nio/VMDirectByteBuffer.h
new file mode 100644
index 0000000..2434caf
--- /dev/null
+++ b/libjava/java/nio/VMDirectByteBuffer.h
@@ -0,0 +1,46 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_nio_VMDirectByteBuffer__
+#define __java_nio_VMDirectByteBuffer__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace gcj
+ {
+ class RawData;
+ }
+ }
+ namespace java
+ {
+ namespace nio
+ {
+ class VMDirectByteBuffer;
+ }
+ }
+}
+
+class java::nio::VMDirectByteBuffer : public ::java::lang::Object
+{
+
+public: // actually package-private
+ VMDirectByteBuffer();
+ static ::gnu::gcj::RawData * allocate(jint);
+ static void free(::gnu::gcj::RawData *);
+ static jbyte get(::gnu::gcj::RawData *, jint);
+ static void get(::gnu::gcj::RawData *, jint, JArray< jbyte > *, jint, jint);
+ static void put(::gnu::gcj::RawData *, jint, jbyte);
+ static ::gnu::gcj::RawData * adjustAddress(::gnu::gcj::RawData *, jint);
+ static void shiftDown(::gnu::gcj::RawData *, jint, jint, jint);
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_nio_VMDirectByteBuffer__
diff --git a/libjava/java/nio/channels/AlreadyConnectedException.h b/libjava/java/nio/channels/AlreadyConnectedException.h
new file mode 100644
index 0000000..08d6d47
--- /dev/null
+++ b/libjava/java/nio/channels/AlreadyConnectedException.h
@@ -0,0 +1,35 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_nio_channels_AlreadyConnectedException__
+#define __java_nio_channels_AlreadyConnectedException__
+
+#pragma interface
+
+#include <java/lang/IllegalStateException.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace nio
+ {
+ namespace channels
+ {
+ class AlreadyConnectedException;
+ }
+ }
+ }
+}
+
+class java::nio::channels::AlreadyConnectedException : public ::java::lang::IllegalStateException
+{
+
+public:
+ AlreadyConnectedException();
+private:
+ static const jlong serialVersionUID = -7331895245053773357LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_nio_channels_AlreadyConnectedException__
diff --git a/libjava/java/nio/channels/AsynchronousCloseException.h b/libjava/java/nio/channels/AsynchronousCloseException.h
new file mode 100644
index 0000000..bfcbf2e
--- /dev/null
+++ b/libjava/java/nio/channels/AsynchronousCloseException.h
@@ -0,0 +1,35 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_nio_channels_AsynchronousCloseException__
+#define __java_nio_channels_AsynchronousCloseException__
+
+#pragma interface
+
+#include <java/nio/channels/ClosedChannelException.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace nio
+ {
+ namespace channels
+ {
+ class AsynchronousCloseException;
+ }
+ }
+ }
+}
+
+class java::nio::channels::AsynchronousCloseException : public ::java::nio::channels::ClosedChannelException
+{
+
+public:
+ AsynchronousCloseException();
+private:
+ static const jlong serialVersionUID = 6891178312432313966LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_nio_channels_AsynchronousCloseException__
diff --git a/libjava/java/nio/channels/ByteChannel.h b/libjava/java/nio/channels/ByteChannel.h
new file mode 100644
index 0000000..a813648
--- /dev/null
+++ b/libjava/java/nio/channels/ByteChannel.h
@@ -0,0 +1,36 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_nio_channels_ByteChannel__
+#define __java_nio_channels_ByteChannel__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteBuffer;
+ namespace channels
+ {
+ class ByteChannel;
+ }
+ }
+ }
+}
+
+class java::nio::channels::ByteChannel : public ::java::lang::Object
+{
+
+public:
+ virtual jint read(::java::nio::ByteBuffer *) = 0;
+ virtual jboolean isOpen() = 0;
+ virtual void close() = 0;
+ virtual jint write(::java::nio::ByteBuffer *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_nio_channels_ByteChannel__
diff --git a/libjava/java/nio/channels/CancelledKeyException.h b/libjava/java/nio/channels/CancelledKeyException.h
new file mode 100644
index 0000000..742185f
--- /dev/null
+++ b/libjava/java/nio/channels/CancelledKeyException.h
@@ -0,0 +1,35 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_nio_channels_CancelledKeyException__
+#define __java_nio_channels_CancelledKeyException__
+
+#pragma interface
+
+#include <java/lang/IllegalStateException.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace nio
+ {
+ namespace channels
+ {
+ class CancelledKeyException;
+ }
+ }
+ }
+}
+
+class java::nio::channels::CancelledKeyException : public ::java::lang::IllegalStateException
+{
+
+public:
+ CancelledKeyException();
+private:
+ static const jlong serialVersionUID = -8438032138028814268LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_nio_channels_CancelledKeyException__
diff --git a/libjava/java/nio/channels/Channel.h b/libjava/java/nio/channels/Channel.h
new file mode 100644
index 0000000..fc0177d
--- /dev/null
+++ b/libjava/java/nio/channels/Channel.h
@@ -0,0 +1,33 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_nio_channels_Channel__
+#define __java_nio_channels_Channel__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace nio
+ {
+ namespace channels
+ {
+ class Channel;
+ }
+ }
+ }
+}
+
+class java::nio::channels::Channel : public ::java::lang::Object
+{
+
+public:
+ virtual jboolean isOpen() = 0;
+ virtual void close() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_nio_channels_Channel__
diff --git a/libjava/java/nio/channels/Channels.h b/libjava/java/nio/channels/Channels.h
new file mode 100644
index 0000000..3841564
--- /dev/null
+++ b/libjava/java/nio/channels/Channels.h
@@ -0,0 +1,47 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_nio_channels_Channels__
+#define __java_nio_channels_Channels__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace nio
+ {
+ namespace channels
+ {
+ class Channels;
+ class ReadableByteChannel;
+ class WritableByteChannel;
+ }
+ namespace charset
+ {
+ class CharsetDecoder;
+ class CharsetEncoder;
+ }
+ }
+ }
+}
+
+class java::nio::channels::Channels : public ::java::lang::Object
+{
+
+ Channels();
+public:
+ static ::java::io::InputStream * newInputStream(::java::nio::channels::ReadableByteChannel *);
+ static ::java::io::OutputStream * newOutputStream(::java::nio::channels::WritableByteChannel *);
+ static ::java::nio::channels::ReadableByteChannel * newChannel(::java::io::InputStream *);
+ static ::java::nio::channels::WritableByteChannel * newChannel(::java::io::OutputStream *);
+ static ::java::io::Reader * newReader(::java::nio::channels::ReadableByteChannel *, ::java::nio::charset::CharsetDecoder *, jint);
+ static ::java::io::Reader * newReader(::java::nio::channels::ReadableByteChannel *, ::java::lang::String *);
+ static ::java::io::Writer * newWriter(::java::nio::channels::WritableByteChannel *, ::java::nio::charset::CharsetEncoder *, jint);
+ static ::java::io::Writer * newWriter(::java::nio::channels::WritableByteChannel *, ::java::lang::String *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_nio_channels_Channels__
diff --git a/libjava/java/nio/channels/ClosedByInterruptException.h b/libjava/java/nio/channels/ClosedByInterruptException.h
new file mode 100644
index 0000000..742dddc
--- /dev/null
+++ b/libjava/java/nio/channels/ClosedByInterruptException.h
@@ -0,0 +1,35 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_nio_channels_ClosedByInterruptException__
+#define __java_nio_channels_ClosedByInterruptException__
+
+#pragma interface
+
+#include <java/nio/channels/AsynchronousCloseException.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace nio
+ {
+ namespace channels
+ {
+ class ClosedByInterruptException;
+ }
+ }
+ }
+}
+
+class java::nio::channels::ClosedByInterruptException : public ::java::nio::channels::AsynchronousCloseException
+{
+
+public:
+ ClosedByInterruptException();
+private:
+ static const jlong serialVersionUID = -4488191543534286750LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_nio_channels_ClosedByInterruptException__
diff --git a/libjava/java/nio/channels/ClosedChannelException.h b/libjava/java/nio/channels/ClosedChannelException.h
new file mode 100644
index 0000000..3bca678
--- /dev/null
+++ b/libjava/java/nio/channels/ClosedChannelException.h
@@ -0,0 +1,35 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_nio_channels_ClosedChannelException__
+#define __java_nio_channels_ClosedChannelException__
+
+#pragma interface
+
+#include <java/io/IOException.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace nio
+ {
+ namespace channels
+ {
+ class ClosedChannelException;
+ }
+ }
+ }
+}
+
+class java::nio::channels::ClosedChannelException : public ::java::io::IOException
+{
+
+public:
+ ClosedChannelException();
+private:
+ static const jlong serialVersionUID = 882777185433553857LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_nio_channels_ClosedChannelException__
diff --git a/libjava/java/nio/channels/ClosedSelectorException.h b/libjava/java/nio/channels/ClosedSelectorException.h
new file mode 100644
index 0000000..80b821e
--- /dev/null
+++ b/libjava/java/nio/channels/ClosedSelectorException.h
@@ -0,0 +1,35 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_nio_channels_ClosedSelectorException__
+#define __java_nio_channels_ClosedSelectorException__
+
+#pragma interface
+
+#include <java/lang/IllegalStateException.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace nio
+ {
+ namespace channels
+ {
+ class ClosedSelectorException;
+ }
+ }
+ }
+}
+
+class java::nio::channels::ClosedSelectorException : public ::java::lang::IllegalStateException
+{
+
+public:
+ ClosedSelectorException();
+private:
+ static const jlong serialVersionUID = 6466297122317847835LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_nio_channels_ClosedSelectorException__
diff --git a/libjava/java/nio/channels/ConnectionPendingException.h b/libjava/java/nio/channels/ConnectionPendingException.h
new file mode 100644
index 0000000..29f4830
--- /dev/null
+++ b/libjava/java/nio/channels/ConnectionPendingException.h
@@ -0,0 +1,35 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_nio_channels_ConnectionPendingException__
+#define __java_nio_channels_ConnectionPendingException__
+
+#pragma interface
+
+#include <java/lang/IllegalStateException.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace nio
+ {
+ namespace channels
+ {
+ class ConnectionPendingException;
+ }
+ }
+ }
+}
+
+class java::nio::channels::ConnectionPendingException : public ::java::lang::IllegalStateException
+{
+
+public:
+ ConnectionPendingException();
+private:
+ static const jlong serialVersionUID = 2008393366501760879LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_nio_channels_ConnectionPendingException__
diff --git a/libjava/java/nio/channels/DatagramChannel.h b/libjava/java/nio/channels/DatagramChannel.h
new file mode 100644
index 0000000..cb2dabc
--- /dev/null
+++ b/libjava/java/nio/channels/DatagramChannel.h
@@ -0,0 +1,59 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_nio_channels_DatagramChannel__
+#define __java_nio_channels_DatagramChannel__
+
+#pragma interface
+
+#include <java/nio/channels/spi/AbstractSelectableChannel.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace net
+ {
+ class DatagramSocket;
+ class SocketAddress;
+ }
+ namespace nio
+ {
+ class ByteBuffer;
+ namespace channels
+ {
+ class DatagramChannel;
+ namespace spi
+ {
+ class SelectorProvider;
+ }
+ }
+ }
+ }
+}
+
+class java::nio::channels::DatagramChannel : public ::java::nio::channels::spi::AbstractSelectableChannel
+{
+
+public: // actually protected
+ DatagramChannel(::java::nio::channels::spi::SelectorProvider *);
+public:
+ static ::java::nio::channels::DatagramChannel * open();
+ virtual jlong read(JArray< ::java::nio::ByteBuffer * > *);
+ virtual jlong write(JArray< ::java::nio::ByteBuffer * > *);
+ virtual ::java::nio::channels::DatagramChannel * connect(::java::net::SocketAddress *) = 0;
+ virtual ::java::nio::channels::DatagramChannel * disconnect() = 0;
+ virtual jboolean isConnected() = 0;
+ virtual jint read(::java::nio::ByteBuffer *) = 0;
+ virtual jlong read(JArray< ::java::nio::ByteBuffer * > *, jint, jint) = 0;
+ virtual ::java::net::SocketAddress * receive(::java::nio::ByteBuffer *) = 0;
+ virtual jint send(::java::nio::ByteBuffer *, ::java::net::SocketAddress *) = 0;
+ virtual ::java::net::DatagramSocket * socket() = 0;
+ virtual jint write(::java::nio::ByteBuffer *) = 0;
+ virtual jlong write(JArray< ::java::nio::ByteBuffer * > *, jint, jint) = 0;
+ virtual jint validOps();
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_nio_channels_DatagramChannel__
diff --git a/libjava/java/nio/channels/FileChannel$MapMode.h b/libjava/java/nio/channels/FileChannel$MapMode.h
new file mode 100644
index 0000000..954e697
--- /dev/null
+++ b/libjava/java/nio/channels/FileChannel$MapMode.h
@@ -0,0 +1,40 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_nio_channels_FileChannel$MapMode__
+#define __java_nio_channels_FileChannel$MapMode__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace nio
+ {
+ namespace channels
+ {
+ class FileChannel$MapMode;
+ }
+ }
+ }
+}
+
+class java::nio::channels::FileChannel$MapMode : public ::java::lang::Object
+{
+
+public: // actually package-private
+ FileChannel$MapMode(jint);
+public:
+ virtual ::java::lang::String * toString();
+public: // actually package-private
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) m;
+public:
+ static ::java::nio::channels::FileChannel$MapMode * READ_ONLY;
+ static ::java::nio::channels::FileChannel$MapMode * READ_WRITE;
+ static ::java::nio::channels::FileChannel$MapMode * PRIVATE;
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_nio_channels_FileChannel$MapMode__
diff --git a/libjava/java/nio/channels/FileChannel.h b/libjava/java/nio/channels/FileChannel.h
new file mode 100644
index 0000000..10cc314
--- /dev/null
+++ b/libjava/java/nio/channels/FileChannel.h
@@ -0,0 +1,64 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_nio_channels_FileChannel__
+#define __java_nio_channels_FileChannel__
+
+#pragma interface
+
+#include <java/nio/channels/spi/AbstractInterruptibleChannel.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteBuffer;
+ class MappedByteBuffer;
+ namespace channels
+ {
+ class FileChannel;
+ class FileChannel$MapMode;
+ class FileLock;
+ class ReadableByteChannel;
+ class WritableByteChannel;
+ }
+ }
+ }
+}
+
+class java::nio::channels::FileChannel : public ::java::nio::channels::spi::AbstractInterruptibleChannel
+{
+
+public: // actually protected
+ FileChannel();
+public:
+ virtual ::java::nio::MappedByteBuffer * map(::java::nio::channels::FileChannel$MapMode *, jlong, jlong) = 0;
+ virtual jlong size() = 0;
+ virtual jlong write(JArray< ::java::nio::ByteBuffer * > *);
+ virtual jint write(::java::nio::ByteBuffer *) = 0;
+ virtual jint write(::java::nio::ByteBuffer *, jlong) = 0;
+ virtual jlong write(JArray< ::java::nio::ByteBuffer * > *, jint, jint) = 0;
+ virtual jlong read(JArray< ::java::nio::ByteBuffer * > *, jint, jint) = 0;
+ virtual jlong read(JArray< ::java::nio::ByteBuffer * > *);
+ virtual jint read(::java::nio::ByteBuffer *) = 0;
+ virtual jint read(::java::nio::ByteBuffer *, jlong) = 0;
+public: // actually protected
+ virtual void implCloseChannel() = 0;
+public:
+ virtual void force(jboolean) = 0;
+ virtual ::java::nio::channels::FileLock * lock();
+ virtual ::java::nio::channels::FileLock * lock(jlong, jlong, jboolean) = 0;
+ virtual ::java::nio::channels::FileLock * tryLock();
+ virtual ::java::nio::channels::FileLock * tryLock(jlong, jlong, jboolean) = 0;
+ virtual jlong position() = 0;
+ virtual ::java::nio::channels::FileChannel * position(jlong) = 0;
+ virtual jlong transferTo(jlong, jlong, ::java::nio::channels::WritableByteChannel *) = 0;
+ virtual jlong transferFrom(::java::nio::channels::ReadableByteChannel *, jlong, jlong) = 0;
+ virtual ::java::nio::channels::FileChannel * truncate(jlong) = 0;
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_nio_channels_FileChannel__
diff --git a/libjava/java/nio/channels/FileLock.h b/libjava/java/nio/channels/FileLock.h
new file mode 100644
index 0000000..fb35858
--- /dev/null
+++ b/libjava/java/nio/channels/FileLock.h
@@ -0,0 +1,48 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_nio_channels_FileLock__
+#define __java_nio_channels_FileLock__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace nio
+ {
+ namespace channels
+ {
+ class FileChannel;
+ class FileLock;
+ }
+ }
+ }
+}
+
+class java::nio::channels::FileLock : public ::java::lang::Object
+{
+
+public: // actually protected
+ FileLock(::java::nio::channels::FileChannel *, jlong, jlong, jboolean);
+public:
+ virtual jboolean isValid() = 0;
+ virtual void release() = 0;
+ virtual ::java::nio::channels::FileChannel * channel();
+ virtual jboolean isShared();
+ virtual jboolean overlaps(jlong, jlong);
+ virtual jlong position();
+ virtual jlong size();
+ virtual ::java::lang::String * toString();
+private:
+ ::java::nio::channels::FileChannel * __attribute__((aligned(__alignof__( ::java::lang::Object)))) channel__;
+ jlong position__;
+ jlong size__;
+ jboolean shared;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_nio_channels_FileLock__
diff --git a/libjava/java/nio/channels/FileLockInterruptionException.h b/libjava/java/nio/channels/FileLockInterruptionException.h
new file mode 100644
index 0000000..ad5e250
--- /dev/null
+++ b/libjava/java/nio/channels/FileLockInterruptionException.h
@@ -0,0 +1,35 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_nio_channels_FileLockInterruptionException__
+#define __java_nio_channels_FileLockInterruptionException__
+
+#pragma interface
+
+#include <java/io/IOException.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace nio
+ {
+ namespace channels
+ {
+ class FileLockInterruptionException;
+ }
+ }
+ }
+}
+
+class java::nio::channels::FileLockInterruptionException : public ::java::io::IOException
+{
+
+public:
+ FileLockInterruptionException();
+private:
+ static const jlong serialVersionUID = 7104080643653532383LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_nio_channels_FileLockInterruptionException__
diff --git a/libjava/java/nio/channels/GatheringByteChannel.h b/libjava/java/nio/channels/GatheringByteChannel.h
new file mode 100644
index 0000000..c69c195
--- /dev/null
+++ b/libjava/java/nio/channels/GatheringByteChannel.h
@@ -0,0 +1,39 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_nio_channels_GatheringByteChannel__
+#define __java_nio_channels_GatheringByteChannel__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteBuffer;
+ namespace channels
+ {
+ class GatheringByteChannel;
+ }
+ }
+ }
+}
+
+class java::nio::channels::GatheringByteChannel : public ::java::lang::Object
+{
+
+public:
+ virtual jlong write(JArray< ::java::nio::ByteBuffer * > *, jint, jint) = 0;
+ virtual jlong write(JArray< ::java::nio::ByteBuffer * > *) = 0;
+ virtual jint write(::java::nio::ByteBuffer *) = 0;
+ virtual jboolean isOpen() = 0;
+ virtual void close() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_nio_channels_GatheringByteChannel__
diff --git a/libjava/java/nio/channels/IllegalBlockingModeException.h b/libjava/java/nio/channels/IllegalBlockingModeException.h
new file mode 100644
index 0000000..38eda03
--- /dev/null
+++ b/libjava/java/nio/channels/IllegalBlockingModeException.h
@@ -0,0 +1,35 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_nio_channels_IllegalBlockingModeException__
+#define __java_nio_channels_IllegalBlockingModeException__
+
+#pragma interface
+
+#include <java/lang/IllegalStateException.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace nio
+ {
+ namespace channels
+ {
+ class IllegalBlockingModeException;
+ }
+ }
+ }
+}
+
+class java::nio::channels::IllegalBlockingModeException : public ::java::lang::IllegalStateException
+{
+
+public:
+ IllegalBlockingModeException();
+private:
+ static const jlong serialVersionUID = -3335774961855590474LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_nio_channels_IllegalBlockingModeException__
diff --git a/libjava/java/nio/channels/IllegalSelectorException.h b/libjava/java/nio/channels/IllegalSelectorException.h
new file mode 100644
index 0000000..9f137e4
--- /dev/null
+++ b/libjava/java/nio/channels/IllegalSelectorException.h
@@ -0,0 +1,35 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_nio_channels_IllegalSelectorException__
+#define __java_nio_channels_IllegalSelectorException__
+
+#pragma interface
+
+#include <java/lang/IllegalArgumentException.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace nio
+ {
+ namespace channels
+ {
+ class IllegalSelectorException;
+ }
+ }
+ }
+}
+
+class java::nio::channels::IllegalSelectorException : public ::java::lang::IllegalArgumentException
+{
+
+public:
+ IllegalSelectorException();
+private:
+ static const jlong serialVersionUID = -8406323347253320987LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_nio_channels_IllegalSelectorException__
diff --git a/libjava/java/nio/channels/InterruptibleChannel.h b/libjava/java/nio/channels/InterruptibleChannel.h
new file mode 100644
index 0000000..fa8a683
--- /dev/null
+++ b/libjava/java/nio/channels/InterruptibleChannel.h
@@ -0,0 +1,33 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_nio_channels_InterruptibleChannel__
+#define __java_nio_channels_InterruptibleChannel__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace nio
+ {
+ namespace channels
+ {
+ class InterruptibleChannel;
+ }
+ }
+ }
+}
+
+class java::nio::channels::InterruptibleChannel : public ::java::lang::Object
+{
+
+public:
+ virtual void close() = 0;
+ virtual jboolean isOpen() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_nio_channels_InterruptibleChannel__
diff --git a/libjava/java/nio/channels/NoConnectionPendingException.h b/libjava/java/nio/channels/NoConnectionPendingException.h
new file mode 100644
index 0000000..5be57ae
--- /dev/null
+++ b/libjava/java/nio/channels/NoConnectionPendingException.h
@@ -0,0 +1,35 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_nio_channels_NoConnectionPendingException__
+#define __java_nio_channels_NoConnectionPendingException__
+
+#pragma interface
+
+#include <java/lang/IllegalStateException.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace nio
+ {
+ namespace channels
+ {
+ class NoConnectionPendingException;
+ }
+ }
+ }
+}
+
+class java::nio::channels::NoConnectionPendingException : public ::java::lang::IllegalStateException
+{
+
+public:
+ NoConnectionPendingException();
+private:
+ static const jlong serialVersionUID = -8296561183633134743LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_nio_channels_NoConnectionPendingException__
diff --git a/libjava/java/nio/channels/NonReadableChannelException.h b/libjava/java/nio/channels/NonReadableChannelException.h
new file mode 100644
index 0000000..210d836
--- /dev/null
+++ b/libjava/java/nio/channels/NonReadableChannelException.h
@@ -0,0 +1,35 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_nio_channels_NonReadableChannelException__
+#define __java_nio_channels_NonReadableChannelException__
+
+#pragma interface
+
+#include <java/lang/IllegalStateException.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace nio
+ {
+ namespace channels
+ {
+ class NonReadableChannelException;
+ }
+ }
+ }
+}
+
+class java::nio::channels::NonReadableChannelException : public ::java::lang::IllegalStateException
+{
+
+public:
+ NonReadableChannelException();
+private:
+ static const jlong serialVersionUID = -3200915679294993514LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_nio_channels_NonReadableChannelException__
diff --git a/libjava/java/nio/channels/NonWritableChannelException.h b/libjava/java/nio/channels/NonWritableChannelException.h
new file mode 100644
index 0000000..4a56ef9
--- /dev/null
+++ b/libjava/java/nio/channels/NonWritableChannelException.h
@@ -0,0 +1,35 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_nio_channels_NonWritableChannelException__
+#define __java_nio_channels_NonWritableChannelException__
+
+#pragma interface
+
+#include <java/lang/IllegalStateException.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace nio
+ {
+ namespace channels
+ {
+ class NonWritableChannelException;
+ }
+ }
+ }
+}
+
+class java::nio::channels::NonWritableChannelException : public ::java::lang::IllegalStateException
+{
+
+public:
+ NonWritableChannelException();
+private:
+ static const jlong serialVersionUID = -7071230488279011621LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_nio_channels_NonWritableChannelException__
diff --git a/libjava/java/nio/channels/NotYetBoundException.h b/libjava/java/nio/channels/NotYetBoundException.h
new file mode 100644
index 0000000..d4f1ad2
--- /dev/null
+++ b/libjava/java/nio/channels/NotYetBoundException.h
@@ -0,0 +1,35 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_nio_channels_NotYetBoundException__
+#define __java_nio_channels_NotYetBoundException__
+
+#pragma interface
+
+#include <java/lang/IllegalStateException.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace nio
+ {
+ namespace channels
+ {
+ class NotYetBoundException;
+ }
+ }
+ }
+}
+
+class java::nio::channels::NotYetBoundException : public ::java::lang::IllegalStateException
+{
+
+public:
+ NotYetBoundException();
+private:
+ static const jlong serialVersionUID = 4640999303950202242LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_nio_channels_NotYetBoundException__
diff --git a/libjava/java/nio/channels/NotYetConnectedException.h b/libjava/java/nio/channels/NotYetConnectedException.h
new file mode 100644
index 0000000..a38417a
--- /dev/null
+++ b/libjava/java/nio/channels/NotYetConnectedException.h
@@ -0,0 +1,35 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_nio_channels_NotYetConnectedException__
+#define __java_nio_channels_NotYetConnectedException__
+
+#pragma interface
+
+#include <java/lang/IllegalStateException.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace nio
+ {
+ namespace channels
+ {
+ class NotYetConnectedException;
+ }
+ }
+ }
+}
+
+class java::nio::channels::NotYetConnectedException : public ::java::lang::IllegalStateException
+{
+
+public:
+ NotYetConnectedException();
+private:
+ static const jlong serialVersionUID = 4697316551909513464LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_nio_channels_NotYetConnectedException__
diff --git a/libjava/java/nio/channels/OverlappingFileLockException.h b/libjava/java/nio/channels/OverlappingFileLockException.h
new file mode 100644
index 0000000..b2551f9
--- /dev/null
+++ b/libjava/java/nio/channels/OverlappingFileLockException.h
@@ -0,0 +1,35 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_nio_channels_OverlappingFileLockException__
+#define __java_nio_channels_OverlappingFileLockException__
+
+#pragma interface
+
+#include <java/lang/IllegalStateException.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace nio
+ {
+ namespace channels
+ {
+ class OverlappingFileLockException;
+ }
+ }
+ }
+}
+
+class java::nio::channels::OverlappingFileLockException : public ::java::lang::IllegalStateException
+{
+
+public:
+ OverlappingFileLockException();
+private:
+ static const jlong serialVersionUID = 2047812138163068433LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_nio_channels_OverlappingFileLockException__
diff --git a/libjava/java/nio/channels/Pipe$SinkChannel.h b/libjava/java/nio/channels/Pipe$SinkChannel.h
new file mode 100644
index 0000000..d6842b7
--- /dev/null
+++ b/libjava/java/nio/channels/Pipe$SinkChannel.h
@@ -0,0 +1,44 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_nio_channels_Pipe$SinkChannel__
+#define __java_nio_channels_Pipe$SinkChannel__
+
+#pragma interface
+
+#include <java/nio/channels/spi/AbstractSelectableChannel.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteBuffer;
+ namespace channels
+ {
+ class Pipe$SinkChannel;
+ namespace spi
+ {
+ class SelectorProvider;
+ }
+ }
+ }
+ }
+}
+
+class java::nio::channels::Pipe$SinkChannel : public ::java::nio::channels::spi::AbstractSelectableChannel
+{
+
+public: // actually protected
+ Pipe$SinkChannel(::java::nio::channels::spi::SelectorProvider *);
+public:
+ virtual jint validOps();
+ virtual jint write(::java::nio::ByteBuffer *) = 0;
+ virtual jlong write(JArray< ::java::nio::ByteBuffer * > *, jint, jint) = 0;
+ virtual jlong write(JArray< ::java::nio::ByteBuffer * > *) = 0;
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_nio_channels_Pipe$SinkChannel__
diff --git a/libjava/java/nio/channels/Pipe$SourceChannel.h b/libjava/java/nio/channels/Pipe$SourceChannel.h
new file mode 100644
index 0000000..9bc78ea
--- /dev/null
+++ b/libjava/java/nio/channels/Pipe$SourceChannel.h
@@ -0,0 +1,44 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_nio_channels_Pipe$SourceChannel__
+#define __java_nio_channels_Pipe$SourceChannel__
+
+#pragma interface
+
+#include <java/nio/channels/spi/AbstractSelectableChannel.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteBuffer;
+ namespace channels
+ {
+ class Pipe$SourceChannel;
+ namespace spi
+ {
+ class SelectorProvider;
+ }
+ }
+ }
+ }
+}
+
+class java::nio::channels::Pipe$SourceChannel : public ::java::nio::channels::spi::AbstractSelectableChannel
+{
+
+public: // actually protected
+ Pipe$SourceChannel(::java::nio::channels::spi::SelectorProvider *);
+public:
+ virtual jint validOps();
+ virtual jint read(::java::nio::ByteBuffer *) = 0;
+ virtual jlong read(JArray< ::java::nio::ByteBuffer * > *, jint, jint) = 0;
+ virtual jlong read(JArray< ::java::nio::ByteBuffer * > *) = 0;
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_nio_channels_Pipe$SourceChannel__
diff --git a/libjava/java/nio/channels/Pipe.h b/libjava/java/nio/channels/Pipe.h
new file mode 100644
index 0000000..771dca2
--- /dev/null
+++ b/libjava/java/nio/channels/Pipe.h
@@ -0,0 +1,38 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_nio_channels_Pipe__
+#define __java_nio_channels_Pipe__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace nio
+ {
+ namespace channels
+ {
+ class Pipe;
+ class Pipe$SinkChannel;
+ class Pipe$SourceChannel;
+ }
+ }
+ }
+}
+
+class java::nio::channels::Pipe : public ::java::lang::Object
+{
+
+public: // actually protected
+ Pipe();
+public:
+ static ::java::nio::channels::Pipe * open();
+ virtual ::java::nio::channels::Pipe$SinkChannel * sink() = 0;
+ virtual ::java::nio::channels::Pipe$SourceChannel * source() = 0;
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_nio_channels_Pipe__
diff --git a/libjava/java/nio/channels/ReadableByteChannel.h b/libjava/java/nio/channels/ReadableByteChannel.h
new file mode 100644
index 0000000..9f3e4cf
--- /dev/null
+++ b/libjava/java/nio/channels/ReadableByteChannel.h
@@ -0,0 +1,35 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_nio_channels_ReadableByteChannel__
+#define __java_nio_channels_ReadableByteChannel__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteBuffer;
+ namespace channels
+ {
+ class ReadableByteChannel;
+ }
+ }
+ }
+}
+
+class java::nio::channels::ReadableByteChannel : public ::java::lang::Object
+{
+
+public:
+ virtual jint read(::java::nio::ByteBuffer *) = 0;
+ virtual jboolean isOpen() = 0;
+ virtual void close() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_nio_channels_ReadableByteChannel__
diff --git a/libjava/java/nio/channels/ScatteringByteChannel.h b/libjava/java/nio/channels/ScatteringByteChannel.h
new file mode 100644
index 0000000..eeba864
--- /dev/null
+++ b/libjava/java/nio/channels/ScatteringByteChannel.h
@@ -0,0 +1,39 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_nio_channels_ScatteringByteChannel__
+#define __java_nio_channels_ScatteringByteChannel__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteBuffer;
+ namespace channels
+ {
+ class ScatteringByteChannel;
+ }
+ }
+ }
+}
+
+class java::nio::channels::ScatteringByteChannel : public ::java::lang::Object
+{
+
+public:
+ virtual jlong read(JArray< ::java::nio::ByteBuffer * > *, jint, jint) = 0;
+ virtual jlong read(JArray< ::java::nio::ByteBuffer * > *) = 0;
+ virtual jint read(::java::nio::ByteBuffer *) = 0;
+ virtual jboolean isOpen() = 0;
+ virtual void close() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_nio_channels_ScatteringByteChannel__
diff --git a/libjava/java/nio/channels/SelectableChannel.h b/libjava/java/nio/channels/SelectableChannel.h
new file mode 100644
index 0000000..82cf828
--- /dev/null
+++ b/libjava/java/nio/channels/SelectableChannel.h
@@ -0,0 +1,48 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_nio_channels_SelectableChannel__
+#define __java_nio_channels_SelectableChannel__
+
+#pragma interface
+
+#include <java/nio/channels/spi/AbstractInterruptibleChannel.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace nio
+ {
+ namespace channels
+ {
+ class SelectableChannel;
+ class SelectionKey;
+ class Selector;
+ namespace spi
+ {
+ class SelectorProvider;
+ }
+ }
+ }
+ }
+}
+
+class java::nio::channels::SelectableChannel : public ::java::nio::channels::spi::AbstractInterruptibleChannel
+{
+
+public: // actually protected
+ SelectableChannel();
+public:
+ virtual ::java::lang::Object * blockingLock() = 0;
+ virtual ::java::nio::channels::SelectableChannel * configureBlocking(jboolean) = 0;
+ virtual jboolean isBlocking() = 0;
+ virtual jboolean isRegistered() = 0;
+ virtual ::java::nio::channels::SelectionKey * keyFor(::java::nio::channels::Selector *) = 0;
+ virtual ::java::nio::channels::spi::SelectorProvider * provider() = 0;
+ virtual ::java::nio::channels::SelectionKey * register$(::java::nio::channels::Selector *, jint);
+ virtual ::java::nio::channels::SelectionKey * register$(::java::nio::channels::Selector *, jint, ::java::lang::Object *) = 0;
+ virtual jint validOps() = 0;
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_nio_channels_SelectableChannel__
diff --git a/libjava/java/nio/channels/SelectionKey.h b/libjava/java/nio/channels/SelectionKey.h
new file mode 100644
index 0000000..1b6b039
--- /dev/null
+++ b/libjava/java/nio/channels/SelectionKey.h
@@ -0,0 +1,55 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_nio_channels_SelectionKey__
+#define __java_nio_channels_SelectionKey__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace nio
+ {
+ namespace channels
+ {
+ class SelectableChannel;
+ class SelectionKey;
+ class Selector;
+ }
+ }
+ }
+}
+
+class java::nio::channels::SelectionKey : public ::java::lang::Object
+{
+
+public: // actually protected
+ SelectionKey();
+public:
+ virtual ::java::lang::Object * attach(::java::lang::Object *);
+ virtual ::java::lang::Object * attachment();
+ virtual jboolean isAcceptable();
+ virtual jboolean isConnectable();
+ virtual jboolean isReadable();
+ virtual jboolean isWritable();
+ virtual void cancel() = 0;
+ virtual ::java::nio::channels::SelectableChannel * channel() = 0;
+ virtual jint interestOps() = 0;
+ virtual ::java::nio::channels::SelectionKey * interestOps(jint) = 0;
+ virtual jboolean isValid() = 0;
+ virtual jint readyOps() = 0;
+ virtual ::java::nio::channels::Selector * selector() = 0;
+ static const jint OP_ACCEPT = 16;
+ static const jint OP_CONNECT = 8;
+ static const jint OP_READ = 1;
+ static const jint OP_WRITE = 4;
+public: // actually package-private
+ ::java::lang::Object * __attribute__((aligned(__alignof__( ::java::lang::Object)))) attached;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_nio_channels_SelectionKey__
diff --git a/libjava/java/nio/channels/Selector.h b/libjava/java/nio/channels/Selector.h
new file mode 100644
index 0000000..7d561ad
--- /dev/null
+++ b/libjava/java/nio/channels/Selector.h
@@ -0,0 +1,47 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_nio_channels_Selector__
+#define __java_nio_channels_Selector__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace nio
+ {
+ namespace channels
+ {
+ class Selector;
+ namespace spi
+ {
+ class SelectorProvider;
+ }
+ }
+ }
+ }
+}
+
+class java::nio::channels::Selector : public ::java::lang::Object
+{
+
+public: // actually protected
+ Selector();
+public:
+ static ::java::nio::channels::Selector * open();
+ virtual void close() = 0;
+ virtual jboolean isOpen() = 0;
+ virtual ::java::util::Set * keys() = 0;
+ virtual ::java::nio::channels::spi::SelectorProvider * provider() = 0;
+ virtual jint select() = 0;
+ virtual jint select(jlong) = 0;
+ virtual ::java::util::Set * selectedKeys() = 0;
+ virtual jint selectNow() = 0;
+ virtual ::java::nio::channels::Selector * wakeup() = 0;
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_nio_channels_Selector__
diff --git a/libjava/java/nio/channels/ServerSocketChannel.h b/libjava/java/nio/channels/ServerSocketChannel.h
new file mode 100644
index 0000000..b68d0b9
--- /dev/null
+++ b/libjava/java/nio/channels/ServerSocketChannel.h
@@ -0,0 +1,46 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_nio_channels_ServerSocketChannel__
+#define __java_nio_channels_ServerSocketChannel__
+
+#pragma interface
+
+#include <java/nio/channels/spi/AbstractSelectableChannel.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace net
+ {
+ class ServerSocket;
+ }
+ namespace nio
+ {
+ namespace channels
+ {
+ class ServerSocketChannel;
+ class SocketChannel;
+ namespace spi
+ {
+ class SelectorProvider;
+ }
+ }
+ }
+ }
+}
+
+class java::nio::channels::ServerSocketChannel : public ::java::nio::channels::spi::AbstractSelectableChannel
+{
+
+public: // actually protected
+ ServerSocketChannel(::java::nio::channels::spi::SelectorProvider *);
+public:
+ virtual ::java::nio::channels::SocketChannel * accept() = 0;
+ virtual ::java::net::ServerSocket * socket() = 0;
+ static ::java::nio::channels::ServerSocketChannel * open();
+ virtual jint validOps();
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_nio_channels_ServerSocketChannel__
diff --git a/libjava/java/nio/channels/SocketChannel.h b/libjava/java/nio/channels/SocketChannel.h
new file mode 100644
index 0000000..b742cdb
--- /dev/null
+++ b/libjava/java/nio/channels/SocketChannel.h
@@ -0,0 +1,59 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_nio_channels_SocketChannel__
+#define __java_nio_channels_SocketChannel__
+
+#pragma interface
+
+#include <java/nio/channels/spi/AbstractSelectableChannel.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace net
+ {
+ class Socket;
+ class SocketAddress;
+ }
+ namespace nio
+ {
+ class ByteBuffer;
+ namespace channels
+ {
+ class SocketChannel;
+ namespace spi
+ {
+ class SelectorProvider;
+ }
+ }
+ }
+ }
+}
+
+class java::nio::channels::SocketChannel : public ::java::nio::channels::spi::AbstractSelectableChannel
+{
+
+public: // actually protected
+ SocketChannel(::java::nio::channels::spi::SelectorProvider *);
+public:
+ static ::java::nio::channels::SocketChannel * open();
+ static ::java::nio::channels::SocketChannel * open(::java::net::SocketAddress *);
+ virtual jlong read(JArray< ::java::nio::ByteBuffer * > *);
+ virtual jlong write(JArray< ::java::nio::ByteBuffer * > *);
+ virtual jint validOps();
+ virtual jint read(::java::nio::ByteBuffer *) = 0;
+ virtual jboolean connect(::java::net::SocketAddress *) = 0;
+ virtual jboolean finishConnect() = 0;
+ virtual jboolean isConnected() = 0;
+ virtual jboolean isConnectionPending() = 0;
+ virtual jlong read(JArray< ::java::nio::ByteBuffer * > *, jint, jint) = 0;
+ virtual ::java::net::Socket * socket() = 0;
+ virtual jint write(::java::nio::ByteBuffer *) = 0;
+ virtual jlong write(JArray< ::java::nio::ByteBuffer * > *, jint, jint) = 0;
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_nio_channels_SocketChannel__
diff --git a/libjava/java/nio/channels/UnresolvedAddressException.h b/libjava/java/nio/channels/UnresolvedAddressException.h
new file mode 100644
index 0000000..2a3eefd
--- /dev/null
+++ b/libjava/java/nio/channels/UnresolvedAddressException.h
@@ -0,0 +1,35 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_nio_channels_UnresolvedAddressException__
+#define __java_nio_channels_UnresolvedAddressException__
+
+#pragma interface
+
+#include <java/lang/IllegalArgumentException.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace nio
+ {
+ namespace channels
+ {
+ class UnresolvedAddressException;
+ }
+ }
+ }
+}
+
+class java::nio::channels::UnresolvedAddressException : public ::java::lang::IllegalArgumentException
+{
+
+public:
+ UnresolvedAddressException();
+private:
+ static const jlong serialVersionUID = 6136959093620794148LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_nio_channels_UnresolvedAddressException__
diff --git a/libjava/java/nio/channels/UnsupportedAddressTypeException.h b/libjava/java/nio/channels/UnsupportedAddressTypeException.h
new file mode 100644
index 0000000..7f63dd7
--- /dev/null
+++ b/libjava/java/nio/channels/UnsupportedAddressTypeException.h
@@ -0,0 +1,35 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_nio_channels_UnsupportedAddressTypeException__
+#define __java_nio_channels_UnsupportedAddressTypeException__
+
+#pragma interface
+
+#include <java/lang/IllegalArgumentException.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace nio
+ {
+ namespace channels
+ {
+ class UnsupportedAddressTypeException;
+ }
+ }
+ }
+}
+
+class java::nio::channels::UnsupportedAddressTypeException : public ::java::lang::IllegalArgumentException
+{
+
+public:
+ UnsupportedAddressTypeException();
+private:
+ static const jlong serialVersionUID = -2964323842829700493LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_nio_channels_UnsupportedAddressTypeException__
diff --git a/libjava/java/nio/channels/VMChannels.h b/libjava/java/nio/channels/VMChannels.h
new file mode 100644
index 0000000..3706d9d
--- /dev/null
+++ b/libjava/java/nio/channels/VMChannels.h
@@ -0,0 +1,52 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_nio_channels_VMChannels__
+#define __java_nio_channels_VMChannels__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace nio
+ {
+ namespace channels
+ {
+ class FileChannelImpl;
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace nio
+ {
+ namespace channels
+ {
+ class ReadableByteChannel;
+ class VMChannels;
+ class WritableByteChannel;
+ }
+ }
+ }
+}
+
+class java::nio::channels::VMChannels : public ::java::lang::Object
+{
+
+ VMChannels();
+public: // actually package-private
+ static ::java::io::FileInputStream * newInputStream(::gnu::java::nio::channels::FileChannelImpl *);
+ static ::java::io::FileOutputStream * newOutputStream(::gnu::java::nio::channels::FileChannelImpl *);
+ static ::java::io::InputStream * newInputStream(::java::nio::channels::ReadableByteChannel *);
+ static ::java::io::OutputStream * newOutputStream(::java::nio::channels::WritableByteChannel *);
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_nio_channels_VMChannels__
diff --git a/libjava/java/nio/channels/WritableByteChannel.h b/libjava/java/nio/channels/WritableByteChannel.h
new file mode 100644
index 0000000..ff413d2
--- /dev/null
+++ b/libjava/java/nio/channels/WritableByteChannel.h
@@ -0,0 +1,35 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_nio_channels_WritableByteChannel__
+#define __java_nio_channels_WritableByteChannel__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteBuffer;
+ namespace channels
+ {
+ class WritableByteChannel;
+ }
+ }
+ }
+}
+
+class java::nio::channels::WritableByteChannel : public ::java::lang::Object
+{
+
+public:
+ virtual jint write(::java::nio::ByteBuffer *) = 0;
+ virtual jboolean isOpen() = 0;
+ virtual void close() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_nio_channels_WritableByteChannel__
diff --git a/libjava/java/nio/channels/spi/AbstractInterruptibleChannel.h b/libjava/java/nio/channels/spi/AbstractInterruptibleChannel.h
new file mode 100644
index 0000000..f830a75
--- /dev/null
+++ b/libjava/java/nio/channels/spi/AbstractInterruptibleChannel.h
@@ -0,0 +1,46 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_nio_channels_spi_AbstractInterruptibleChannel__
+#define __java_nio_channels_spi_AbstractInterruptibleChannel__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace nio
+ {
+ namespace channels
+ {
+ namespace spi
+ {
+ class AbstractInterruptibleChannel;
+ }
+ }
+ }
+ }
+}
+
+class java::nio::channels::spi::AbstractInterruptibleChannel : public ::java::lang::Object
+{
+
+public: // actually protected
+ AbstractInterruptibleChannel();
+ virtual void begin();
+public:
+ virtual void close();
+public: // actually protected
+ virtual void end(jboolean);
+ virtual void implCloseChannel() = 0;
+public:
+ virtual jboolean isOpen();
+private:
+ jboolean __attribute__((aligned(__alignof__( ::java::lang::Object)))) closed;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_nio_channels_spi_AbstractInterruptibleChannel__
diff --git a/libjava/java/nio/channels/spi/AbstractSelectableChannel.h b/libjava/java/nio/channels/spi/AbstractSelectableChannel.h
new file mode 100644
index 0000000..f126f44
--- /dev/null
+++ b/libjava/java/nio/channels/spi/AbstractSelectableChannel.h
@@ -0,0 +1,64 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_nio_channels_spi_AbstractSelectableChannel__
+#define __java_nio_channels_spi_AbstractSelectableChannel__
+
+#pragma interface
+
+#include <java/nio/channels/SelectableChannel.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace nio
+ {
+ namespace channels
+ {
+ class SelectableChannel;
+ class SelectionKey;
+ class Selector;
+ namespace spi
+ {
+ class AbstractSelectableChannel;
+ class SelectorProvider;
+ }
+ }
+ }
+ }
+}
+
+class java::nio::channels::spi::AbstractSelectableChannel : public ::java::nio::channels::SelectableChannel
+{
+
+public: // actually protected
+ AbstractSelectableChannel(::java::nio::channels::spi::SelectorProvider *);
+public:
+ virtual ::java::lang::Object * blockingLock();
+ virtual ::java::nio::channels::SelectableChannel * configureBlocking(jboolean);
+public: // actually protected
+ virtual void implCloseChannel();
+ virtual void implCloseSelectableChannel() = 0;
+ virtual void implConfigureBlocking(jboolean) = 0;
+public:
+ virtual jboolean isBlocking();
+ virtual jboolean isRegistered();
+ virtual ::java::nio::channels::SelectionKey * keyFor(::java::nio::channels::Selector *);
+ virtual ::java::nio::channels::spi::SelectorProvider * provider();
+private:
+ ::java::nio::channels::SelectionKey * locate(::java::nio::channels::Selector *);
+public:
+ virtual ::java::nio::channels::SelectionKey * register$(::java::nio::channels::Selector *, jint, ::java::lang::Object *);
+public: // actually package-private
+ virtual void addSelectionKey(::java::nio::channels::SelectionKey *);
+ virtual void removeSelectionKey(::java::nio::channels::SelectionKey *);
+private:
+ jboolean __attribute__((aligned(__alignof__( ::java::nio::channels::SelectableChannel)))) blocking;
+ ::java::lang::Object * LOCK;
+ ::java::nio::channels::spi::SelectorProvider * provider__;
+ ::java::util::LinkedList * keys;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_nio_channels_spi_AbstractSelectableChannel__
diff --git a/libjava/java/nio/channels/spi/AbstractSelectionKey.h b/libjava/java/nio/channels/spi/AbstractSelectionKey.h
new file mode 100644
index 0000000..d64a73b
--- /dev/null
+++ b/libjava/java/nio/channels/spi/AbstractSelectionKey.h
@@ -0,0 +1,41 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_nio_channels_spi_AbstractSelectionKey__
+#define __java_nio_channels_spi_AbstractSelectionKey__
+
+#pragma interface
+
+#include <java/nio/channels/SelectionKey.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace nio
+ {
+ namespace channels
+ {
+ namespace spi
+ {
+ class AbstractSelectionKey;
+ }
+ }
+ }
+ }
+}
+
+class java::nio::channels::spi::AbstractSelectionKey : public ::java::nio::channels::SelectionKey
+{
+
+public: // actually protected
+ AbstractSelectionKey();
+public:
+ virtual void cancel();
+ virtual jboolean isValid();
+private:
+ jboolean __attribute__((aligned(__alignof__( ::java::nio::channels::SelectionKey)))) cancelled;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_nio_channels_spi_AbstractSelectionKey__
diff --git a/libjava/java/nio/channels/spi/AbstractSelector.h b/libjava/java/nio/channels/spi/AbstractSelector.h
new file mode 100644
index 0000000..cf3d2b7
--- /dev/null
+++ b/libjava/java/nio/channels/spi/AbstractSelector.h
@@ -0,0 +1,60 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_nio_channels_spi_AbstractSelector__
+#define __java_nio_channels_spi_AbstractSelector__
+
+#pragma interface
+
+#include <java/nio/channels/Selector.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace nio
+ {
+ namespace channels
+ {
+ class SelectionKey;
+ namespace spi
+ {
+ class AbstractSelectableChannel;
+ class AbstractSelectionKey;
+ class AbstractSelector;
+ class SelectorProvider;
+ }
+ }
+ }
+ }
+}
+
+class java::nio::channels::spi::AbstractSelector : public ::java::nio::channels::Selector
+{
+
+public: // actually protected
+ AbstractSelector(::java::nio::channels::spi::SelectorProvider *);
+public:
+ virtual void close();
+ virtual jboolean isOpen();
+public: // actually protected
+ virtual void begin();
+ virtual void end();
+public:
+ virtual ::java::nio::channels::spi::SelectorProvider * provider();
+public: // actually protected
+ virtual ::java::util::Set * cancelledKeys();
+public: // actually package-private
+ virtual void cancelKey(::java::nio::channels::spi::AbstractSelectionKey *);
+public: // actually protected
+ virtual void implCloseSelector() = 0;
+ virtual ::java::nio::channels::SelectionKey * register$(::java::nio::channels::spi::AbstractSelectableChannel *, jint, ::java::lang::Object *) = 0;
+ virtual void deregister(::java::nio::channels::spi::AbstractSelectionKey *);
+private:
+ jboolean __attribute__((aligned(__alignof__( ::java::nio::channels::Selector)))) closed;
+ ::java::nio::channels::spi::SelectorProvider * provider__;
+ ::java::util::HashSet * cancelledKeys__;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_nio_channels_spi_AbstractSelector__
diff --git a/libjava/java/nio/channels/spi/SelectorProvider.h b/libjava/java/nio/channels/spi/SelectorProvider.h
new file mode 100644
index 0000000..6dcf15c
--- /dev/null
+++ b/libjava/java/nio/channels/spi/SelectorProvider.h
@@ -0,0 +1,50 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_nio_channels_spi_SelectorProvider__
+#define __java_nio_channels_spi_SelectorProvider__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace nio
+ {
+ namespace channels
+ {
+ class DatagramChannel;
+ class Pipe;
+ class ServerSocketChannel;
+ class SocketChannel;
+ namespace spi
+ {
+ class AbstractSelector;
+ class SelectorProvider;
+ }
+ }
+ }
+ }
+}
+
+class java::nio::channels::spi::SelectorProvider : public ::java::lang::Object
+{
+
+public: // actually protected
+ SelectorProvider();
+public:
+ virtual ::java::nio::channels::DatagramChannel * openDatagramChannel() = 0;
+ virtual ::java::nio::channels::Pipe * openPipe() = 0;
+ virtual ::java::nio::channels::spi::AbstractSelector * openSelector() = 0;
+ virtual ::java::nio::channels::ServerSocketChannel * openServerSocketChannel() = 0;
+ virtual ::java::nio::channels::SocketChannel * openSocketChannel() = 0;
+ static ::java::nio::channels::spi::SelectorProvider * provider();
+private:
+ static ::java::nio::channels::spi::SelectorProvider * systemDefaultProvider;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_nio_channels_spi_SelectorProvider__
diff --git a/libjava/java/nio/charset/CharacterCodingException.h b/libjava/java/nio/charset/CharacterCodingException.h
new file mode 100644
index 0000000..35935cd
--- /dev/null
+++ b/libjava/java/nio/charset/CharacterCodingException.h
@@ -0,0 +1,35 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_nio_charset_CharacterCodingException__
+#define __java_nio_charset_CharacterCodingException__
+
+#pragma interface
+
+#include <java/io/IOException.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace nio
+ {
+ namespace charset
+ {
+ class CharacterCodingException;
+ }
+ }
+ }
+}
+
+class java::nio::charset::CharacterCodingException : public ::java::io::IOException
+{
+
+public:
+ CharacterCodingException();
+private:
+ static const jlong serialVersionUID = 8421532232154627783LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_nio_charset_CharacterCodingException__
diff --git a/libjava/java/nio/charset/Charset.h b/libjava/java/nio/charset/Charset.h
new file mode 100644
index 0000000..62e4f64
--- /dev/null
+++ b/libjava/java/nio/charset/Charset.h
@@ -0,0 +1,79 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_nio_charset_Charset__
+#define __java_nio_charset_Charset__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteBuffer;
+ class CharBuffer;
+ namespace charset
+ {
+ class Charset;
+ class CharsetDecoder;
+ class CharsetEncoder;
+ namespace spi
+ {
+ class CharsetProvider;
+ }
+ }
+ }
+ }
+}
+
+class java::nio::charset::Charset : public ::java::lang::Object
+{
+
+public: // actually protected
+ Charset(::java::lang::String *, JArray< ::java::lang::String * > *);
+private:
+ static void checkName(::java::lang::String *);
+public:
+ static ::java::nio::charset::Charset * defaultCharset();
+ static jboolean isSupported(::java::lang::String *);
+ static ::java::nio::charset::Charset * forName(::java::lang::String *);
+private:
+ static ::java::nio::charset::Charset * charsetForName(::java::lang::String *);
+public:
+ static ::java::util::SortedMap * availableCharsets();
+private:
+ static ::java::nio::charset::spi::CharsetProvider * provider();
+ static JArray< ::java::nio::charset::spi::CharsetProvider * > * providers2();
+public:
+ virtual ::java::lang::String * name();
+ virtual ::java::util::Set * aliases();
+ virtual ::java::lang::String * displayName();
+ virtual ::java::lang::String * displayName(::java::util::Locale *);
+ virtual jboolean isRegistered();
+ virtual jboolean contains(::java::nio::charset::Charset *) = 0;
+ virtual ::java::nio::charset::CharsetDecoder * newDecoder() = 0;
+ virtual ::java::nio::charset::CharsetEncoder * newEncoder() = 0;
+ virtual jboolean canEncode();
+ virtual ::java::nio::ByteBuffer * encode(::java::nio::CharBuffer *);
+ virtual ::java::nio::ByteBuffer * encode(::java::lang::String *);
+ virtual ::java::nio::CharBuffer * decode(::java::nio::ByteBuffer *);
+ virtual jint compareTo(::java::lang::Object *);
+ virtual jint hashCode();
+ virtual jboolean equals(::java::lang::Object *);
+ virtual ::java::lang::String * toString();
+private:
+ ::java::nio::charset::CharsetEncoder * __attribute__((aligned(__alignof__( ::java::lang::Object)))) cachedEncoder;
+ ::java::nio::charset::CharsetDecoder * cachedDecoder;
+ static JArray< ::java::nio::charset::spi::CharsetProvider * > * providers;
+ ::java::lang::String * canonicalName;
+ JArray< ::java::lang::String * > * aliases__;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_nio_charset_Charset__
diff --git a/libjava/java/nio/charset/CharsetDecoder.h b/libjava/java/nio/charset/CharsetDecoder.h
new file mode 100644
index 0000000..fe75d48
--- /dev/null
+++ b/libjava/java/nio/charset/CharsetDecoder.h
@@ -0,0 +1,81 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_nio_charset_CharsetDecoder__
+#define __java_nio_charset_CharsetDecoder__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteBuffer;
+ class CharBuffer;
+ namespace charset
+ {
+ class Charset;
+ class CharsetDecoder;
+ class CoderResult;
+ class CodingErrorAction;
+ }
+ }
+ }
+}
+
+class java::nio::charset::CharsetDecoder : public ::java::lang::Object
+{
+
+ CharsetDecoder(::java::nio::charset::Charset *, jfloat, jfloat, ::java::lang::String *);
+public: // actually protected
+ CharsetDecoder(::java::nio::charset::Charset *, jfloat, jfloat);
+public:
+ virtual jfloat averageCharsPerByte();
+ virtual ::java::nio::charset::Charset * charset();
+ virtual ::java::nio::CharBuffer * decode(::java::nio::ByteBuffer *);
+ virtual ::java::nio::charset::CoderResult * decode(::java::nio::ByteBuffer *, ::java::nio::CharBuffer *, jboolean);
+public: // actually protected
+ virtual ::java::nio::charset::CoderResult * decodeLoop(::java::nio::ByteBuffer *, ::java::nio::CharBuffer *) = 0;
+public:
+ virtual ::java::nio::charset::Charset * detectedCharset();
+ virtual ::java::nio::charset::CoderResult * flush(::java::nio::CharBuffer *);
+public: // actually protected
+ virtual ::java::nio::charset::CoderResult * implFlush(::java::nio::CharBuffer *);
+public:
+ virtual ::java::nio::charset::CharsetDecoder * onMalformedInput(::java::nio::charset::CodingErrorAction *);
+public: // actually protected
+ virtual void implOnMalformedInput(::java::nio::charset::CodingErrorAction *);
+ virtual void implOnUnmappableCharacter(::java::nio::charset::CodingErrorAction *);
+ virtual void implReplaceWith(::java::lang::String *);
+ virtual void implReset();
+public:
+ virtual jboolean isAutoDetecting();
+ virtual jboolean isCharsetDetected();
+ virtual ::java::nio::charset::CodingErrorAction * malformedInputAction();
+ virtual jfloat maxCharsPerByte();
+ virtual ::java::nio::charset::CharsetDecoder * onUnmappableCharacter(::java::nio::charset::CodingErrorAction *);
+ virtual ::java::lang::String * replacement();
+ virtual ::java::nio::charset::CharsetDecoder * replaceWith(::java::lang::String *);
+ virtual ::java::nio::charset::CharsetDecoder * reset();
+ virtual ::java::nio::charset::CodingErrorAction * unmappableCharacterAction();
+private:
+ static const jint STATE_RESET = 0;
+ static const jint STATE_CODING = 1;
+ static const jint STATE_END = 2;
+ static const jint STATE_FLUSHED = 3;
+ static ::java::lang::String * DEFAULT_REPLACEMENT;
+ ::java::nio::charset::Charset * __attribute__((aligned(__alignof__( ::java::lang::Object)))) charset__;
+ jfloat averageCharsPerByte__;
+ jfloat maxCharsPerByte__;
+ ::java::lang::String * replacement__;
+ jint state;
+ ::java::nio::charset::CodingErrorAction * malformedInputAction__;
+ ::java::nio::charset::CodingErrorAction * unmappableCharacterAction__;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_nio_charset_CharsetDecoder__
diff --git a/libjava/java/nio/charset/CharsetEncoder.h b/libjava/java/nio/charset/CharsetEncoder.h
new file mode 100644
index 0000000..5a64e44
--- /dev/null
+++ b/libjava/java/nio/charset/CharsetEncoder.h
@@ -0,0 +1,84 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_nio_charset_CharsetEncoder__
+#define __java_nio_charset_CharsetEncoder__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteBuffer;
+ class CharBuffer;
+ namespace charset
+ {
+ class Charset;
+ class CharsetEncoder;
+ class CoderResult;
+ class CodingErrorAction;
+ }
+ }
+ }
+}
+
+class java::nio::charset::CharsetEncoder : public ::java::lang::Object
+{
+
+public: // actually protected
+ CharsetEncoder(::java::nio::charset::Charset *, jfloat, jfloat);
+ CharsetEncoder(::java::nio::charset::Charset *, jfloat, jfloat, JArray< jbyte > *);
+public:
+ virtual jfloat averageBytesPerChar();
+ virtual jboolean canEncode(jchar);
+ virtual jboolean canEncode(::java::lang::CharSequence *);
+private:
+ jboolean canEncode(::java::nio::CharBuffer *);
+public:
+ virtual ::java::nio::charset::Charset * charset();
+ virtual ::java::nio::ByteBuffer * encode(::java::nio::CharBuffer *);
+ virtual ::java::nio::charset::CoderResult * encode(::java::nio::CharBuffer *, ::java::nio::ByteBuffer *, jboolean);
+public: // actually protected
+ virtual ::java::nio::charset::CoderResult * encodeLoop(::java::nio::CharBuffer *, ::java::nio::ByteBuffer *) = 0;
+public:
+ virtual ::java::nio::charset::CoderResult * flush(::java::nio::ByteBuffer *);
+public: // actually protected
+ virtual ::java::nio::charset::CoderResult * implFlush(::java::nio::ByteBuffer *);
+ virtual void implOnMalformedInput(::java::nio::charset::CodingErrorAction *);
+ virtual void implOnUnmappableCharacter(::java::nio::charset::CodingErrorAction *);
+ virtual void implReplaceWith(JArray< jbyte > *);
+ virtual void implReset();
+public:
+ virtual jboolean isLegalReplacement(JArray< jbyte > *);
+ virtual ::java::nio::charset::CodingErrorAction * malformedInputAction();
+ virtual jfloat maxBytesPerChar();
+ virtual ::java::nio::charset::CharsetEncoder * onMalformedInput(::java::nio::charset::CodingErrorAction *);
+ virtual ::java::nio::charset::CodingErrorAction * unmappableCharacterAction();
+ virtual ::java::nio::charset::CharsetEncoder * onUnmappableCharacter(::java::nio::charset::CodingErrorAction *);
+ virtual JArray< jbyte > * replacement();
+ virtual ::java::nio::charset::CharsetEncoder * replaceWith(JArray< jbyte > *);
+ virtual ::java::nio::charset::CharsetEncoder * reset();
+private:
+ static const jint STATE_RESET = 0;
+ static const jint STATE_CODING = 1;
+ static const jint STATE_END = 2;
+ static const jint STATE_FLUSHED = 3;
+ static JArray< jbyte > * DEFAULT_REPLACEMENT;
+ ::java::nio::charset::Charset * __attribute__((aligned(__alignof__( ::java::lang::Object)))) charset__;
+ jfloat averageBytesPerChar__;
+ jfloat maxBytesPerChar__;
+ JArray< jbyte > * replacement__;
+ jint state;
+ ::java::nio::charset::CodingErrorAction * malformedInputAction__;
+ ::java::nio::charset::CodingErrorAction * unmappableCharacterAction__;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_nio_charset_CharsetEncoder__
diff --git a/libjava/java/nio/charset/CoderMalfunctionError.h b/libjava/java/nio/charset/CoderMalfunctionError.h
new file mode 100644
index 0000000..b3ae83a
--- /dev/null
+++ b/libjava/java/nio/charset/CoderMalfunctionError.h
@@ -0,0 +1,35 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_nio_charset_CoderMalfunctionError__
+#define __java_nio_charset_CoderMalfunctionError__
+
+#pragma interface
+
+#include <java/lang/Error.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace nio
+ {
+ namespace charset
+ {
+ class CoderMalfunctionError;
+ }
+ }
+ }
+}
+
+class java::nio::charset::CoderMalfunctionError : public ::java::lang::Error
+{
+
+public:
+ CoderMalfunctionError(::java::lang::Exception *);
+private:
+ static const jlong serialVersionUID = -1151412348057794301LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_nio_charset_CoderMalfunctionError__
diff --git a/libjava/java/nio/charset/CoderResult$1.h b/libjava/java/nio/charset/CoderResult$1.h
new file mode 100644
index 0000000..a822a3f
--- /dev/null
+++ b/libjava/java/nio/charset/CoderResult$1.h
@@ -0,0 +1,36 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_nio_charset_CoderResult$1__
+#define __java_nio_charset_CoderResult$1__
+
+#pragma interface
+
+#include <java/nio/charset/CoderResult$Cache.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace nio
+ {
+ namespace charset
+ {
+ class CoderResult;
+ class CoderResult$1;
+ }
+ }
+ }
+}
+
+class java::nio::charset::CoderResult$1 : public ::java::nio::charset::CoderResult$Cache
+{
+
+public: // actually package-private
+ CoderResult$1();
+public: // actually protected
+ ::java::nio::charset::CoderResult * make(jint);
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_nio_charset_CoderResult$1__
diff --git a/libjava/java/nio/charset/CoderResult$2.h b/libjava/java/nio/charset/CoderResult$2.h
new file mode 100644
index 0000000..15eae19
--- /dev/null
+++ b/libjava/java/nio/charset/CoderResult$2.h
@@ -0,0 +1,36 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_nio_charset_CoderResult$2__
+#define __java_nio_charset_CoderResult$2__
+
+#pragma interface
+
+#include <java/nio/charset/CoderResult$Cache.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace nio
+ {
+ namespace charset
+ {
+ class CoderResult;
+ class CoderResult$2;
+ }
+ }
+ }
+}
+
+class java::nio::charset::CoderResult$2 : public ::java::nio::charset::CoderResult$Cache
+{
+
+public: // actually package-private
+ CoderResult$2();
+public: // actually protected
+ ::java::nio::charset::CoderResult * make(jint);
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_nio_charset_CoderResult$2__
diff --git a/libjava/java/nio/charset/CoderResult$Cache.h b/libjava/java/nio/charset/CoderResult$Cache.h
new file mode 100644
index 0000000..38416bd
--- /dev/null
+++ b/libjava/java/nio/charset/CoderResult$Cache.h
@@ -0,0 +1,39 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_nio_charset_CoderResult$Cache__
+#define __java_nio_charset_CoderResult$Cache__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace nio
+ {
+ namespace charset
+ {
+ class CoderResult;
+ class CoderResult$Cache;
+ }
+ }
+ }
+}
+
+class java::nio::charset::CoderResult$Cache : public ::java::lang::Object
+{
+
+public: // actually package-private
+ CoderResult$Cache();
+ virtual ::java::nio::charset::CoderResult * get(jint);
+public: // actually protected
+ virtual ::java::nio::charset::CoderResult * make(jint) = 0;
+private:
+ ::java::util::HashMap * __attribute__((aligned(__alignof__( ::java::lang::Object)))) cache;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_nio_charset_CoderResult$Cache__
diff --git a/libjava/java/nio/charset/CoderResult.h b/libjava/java/nio/charset/CoderResult.h
new file mode 100644
index 0000000..e2c84a6
--- /dev/null
+++ b/libjava/java/nio/charset/CoderResult.h
@@ -0,0 +1,61 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_nio_charset_CoderResult__
+#define __java_nio_charset_CoderResult__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace nio
+ {
+ namespace charset
+ {
+ class CoderResult;
+ class CoderResult$Cache;
+ }
+ }
+ }
+}
+
+class java::nio::charset::CoderResult : public ::java::lang::Object
+{
+
+public: // actually package-private
+ CoderResult(jint, jint);
+public:
+ virtual jboolean isError();
+ virtual jboolean isMalformed();
+ virtual jboolean isOverflow();
+ virtual jboolean isUnderflow();
+ virtual jboolean isUnmappable();
+ virtual jint length();
+ static ::java::nio::charset::CoderResult * malformedForLength(jint);
+ virtual void throwException();
+ virtual ::java::lang::String * toString();
+ static ::java::nio::charset::CoderResult * unmappableForLength(jint);
+private:
+ static const jint TYPE_MALFORMED = 0;
+ static const jint TYPE_OVERFLOW = 1;
+ static const jint TYPE_UNDERFLOW = 2;
+ static const jint TYPE_UNMAPPABLE = 3;
+public:
+ static ::java::nio::charset::CoderResult * OVERFLOW;
+ static ::java::nio::charset::CoderResult * UNDERFLOW;
+private:
+ static JArray< ::java::lang::String * > * names;
+ static ::java::nio::charset::CoderResult$Cache * malformedCache;
+ static ::java::nio::charset::CoderResult$Cache * unmappableCache;
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) type;
+ jint length__;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_nio_charset_CoderResult__
diff --git a/libjava/java/nio/charset/CodingErrorAction.h b/libjava/java/nio/charset/CodingErrorAction.h
new file mode 100644
index 0000000..c0bf2aa
--- /dev/null
+++ b/libjava/java/nio/charset/CodingErrorAction.h
@@ -0,0 +1,39 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_nio_charset_CodingErrorAction__
+#define __java_nio_charset_CodingErrorAction__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace nio
+ {
+ namespace charset
+ {
+ class CodingErrorAction;
+ }
+ }
+ }
+}
+
+class java::nio::charset::CodingErrorAction : public ::java::lang::Object
+{
+
+ CodingErrorAction(::java::lang::String *);
+public:
+ virtual ::java::lang::String * toString();
+ static ::java::nio::charset::CodingErrorAction * IGNORE;
+ static ::java::nio::charset::CodingErrorAction * REPLACE;
+ static ::java::nio::charset::CodingErrorAction * REPORT;
+private:
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) name;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_nio_charset_CodingErrorAction__
diff --git a/libjava/java/nio/charset/IllegalCharsetNameException.h b/libjava/java/nio/charset/IllegalCharsetNameException.h
new file mode 100644
index 0000000..c4b4247
--- /dev/null
+++ b/libjava/java/nio/charset/IllegalCharsetNameException.h
@@ -0,0 +1,37 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_nio_charset_IllegalCharsetNameException__
+#define __java_nio_charset_IllegalCharsetNameException__
+
+#pragma interface
+
+#include <java/lang/IllegalArgumentException.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace nio
+ {
+ namespace charset
+ {
+ class IllegalCharsetNameException;
+ }
+ }
+ }
+}
+
+class java::nio::charset::IllegalCharsetNameException : public ::java::lang::IllegalArgumentException
+{
+
+public:
+ IllegalCharsetNameException(::java::lang::String *);
+ virtual ::java::lang::String * getCharsetName();
+private:
+ static const jlong serialVersionUID = 1457525358470002989LL;
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::IllegalArgumentException)))) charsetName;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_nio_charset_IllegalCharsetNameException__
diff --git a/libjava/java/nio/charset/MalformedInputException.h b/libjava/java/nio/charset/MalformedInputException.h
new file mode 100644
index 0000000..03a6d8d
--- /dev/null
+++ b/libjava/java/nio/charset/MalformedInputException.h
@@ -0,0 +1,38 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_nio_charset_MalformedInputException__
+#define __java_nio_charset_MalformedInputException__
+
+#pragma interface
+
+#include <java/nio/charset/CharacterCodingException.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace nio
+ {
+ namespace charset
+ {
+ class MalformedInputException;
+ }
+ }
+ }
+}
+
+class java::nio::charset::MalformedInputException : public ::java::nio::charset::CharacterCodingException
+{
+
+public:
+ MalformedInputException(jint);
+ virtual jint getInputLength();
+ virtual ::java::lang::String * getMessage();
+private:
+ static const jlong serialVersionUID = -3438823399834806194LL;
+ jint __attribute__((aligned(__alignof__( ::java::nio::charset::CharacterCodingException)))) inputLength;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_nio_charset_MalformedInputException__
diff --git a/libjava/java/nio/charset/UnmappableCharacterException.h b/libjava/java/nio/charset/UnmappableCharacterException.h
new file mode 100644
index 0000000..f0ced26
--- /dev/null
+++ b/libjava/java/nio/charset/UnmappableCharacterException.h
@@ -0,0 +1,38 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_nio_charset_UnmappableCharacterException__
+#define __java_nio_charset_UnmappableCharacterException__
+
+#pragma interface
+
+#include <java/nio/charset/CharacterCodingException.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace nio
+ {
+ namespace charset
+ {
+ class UnmappableCharacterException;
+ }
+ }
+ }
+}
+
+class java::nio::charset::UnmappableCharacterException : public ::java::nio::charset::CharacterCodingException
+{
+
+public:
+ UnmappableCharacterException(jint);
+ virtual jint getInputLength();
+ virtual ::java::lang::String * getMessage();
+private:
+ static const jlong serialVersionUID = -7026962371537706123LL;
+ jint __attribute__((aligned(__alignof__( ::java::nio::charset::CharacterCodingException)))) inputLength;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_nio_charset_UnmappableCharacterException__
diff --git a/libjava/java/nio/charset/UnsupportedCharsetException.h b/libjava/java/nio/charset/UnsupportedCharsetException.h
new file mode 100644
index 0000000..7f09678
--- /dev/null
+++ b/libjava/java/nio/charset/UnsupportedCharsetException.h
@@ -0,0 +1,38 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_nio_charset_UnsupportedCharsetException__
+#define __java_nio_charset_UnsupportedCharsetException__
+
+#pragma interface
+
+#include <java/lang/IllegalArgumentException.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace nio
+ {
+ namespace charset
+ {
+ class UnsupportedCharsetException;
+ }
+ }
+ }
+}
+
+class java::nio::charset::UnsupportedCharsetException : public ::java::lang::IllegalArgumentException
+{
+
+public:
+ UnsupportedCharsetException(::java::lang::String *);
+ virtual ::java::lang::String * getCharsetName();
+private:
+ static const jlong serialVersionUID = 1490765524727386367LL;
+public: // actually package-private
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::IllegalArgumentException)))) charsetName;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_nio_charset_UnsupportedCharsetException__
diff --git a/libjava/java/nio/charset/spi/CharsetProvider.h b/libjava/java/nio/charset/spi/CharsetProvider.h
new file mode 100644
index 0000000..b194e10
--- /dev/null
+++ b/libjava/java/nio/charset/spi/CharsetProvider.h
@@ -0,0 +1,39 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_nio_charset_spi_CharsetProvider__
+#define __java_nio_charset_spi_CharsetProvider__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace nio
+ {
+ namespace charset
+ {
+ class Charset;
+ namespace spi
+ {
+ class CharsetProvider;
+ }
+ }
+ }
+ }
+}
+
+class java::nio::charset::spi::CharsetProvider : public ::java::lang::Object
+{
+
+public: // actually protected
+ CharsetProvider();
+public:
+ virtual ::java::util::Iterator * charsets() = 0;
+ virtual ::java::nio::charset::Charset * charsetForName(::java::lang::String *) = 0;
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_nio_charset_spi_CharsetProvider__
diff --git a/libjava/java/rmi/AccessException.h b/libjava/java/rmi/AccessException.h
new file mode 100644
index 0000000..1b49620
--- /dev/null
+++ b/libjava/java/rmi/AccessException.h
@@ -0,0 +1,33 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_rmi_AccessException__
+#define __java_rmi_AccessException__
+
+#pragma interface
+
+#include <java/rmi/RemoteException.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace rmi
+ {
+ class AccessException;
+ }
+ }
+}
+
+class java::rmi::AccessException : public ::java::rmi::RemoteException
+{
+
+public:
+ AccessException(::java::lang::String *);
+ AccessException(::java::lang::String *, ::java::lang::Exception *);
+private:
+ static const jlong serialVersionUID = 6314925228044966088LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_rmi_AccessException__
diff --git a/libjava/java/rmi/AlreadyBoundException.h b/libjava/java/rmi/AlreadyBoundException.h
new file mode 100644
index 0000000..f24f4f9
--- /dev/null
+++ b/libjava/java/rmi/AlreadyBoundException.h
@@ -0,0 +1,33 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_rmi_AlreadyBoundException__
+#define __java_rmi_AlreadyBoundException__
+
+#pragma interface
+
+#include <java/lang/Exception.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace rmi
+ {
+ class AlreadyBoundException;
+ }
+ }
+}
+
+class java::rmi::AlreadyBoundException : public ::java::lang::Exception
+{
+
+public:
+ AlreadyBoundException();
+ AlreadyBoundException(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = 9218657361741657110LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_rmi_AlreadyBoundException__
diff --git a/libjava/java/rmi/ConnectException.h b/libjava/java/rmi/ConnectException.h
new file mode 100644
index 0000000..a992a04
--- /dev/null
+++ b/libjava/java/rmi/ConnectException.h
@@ -0,0 +1,33 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_rmi_ConnectException__
+#define __java_rmi_ConnectException__
+
+#pragma interface
+
+#include <java/rmi/RemoteException.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace rmi
+ {
+ class ConnectException;
+ }
+ }
+}
+
+class java::rmi::ConnectException : public ::java::rmi::RemoteException
+{
+
+public:
+ ConnectException(::java::lang::String *);
+ ConnectException(::java::lang::String *, ::java::lang::Exception *);
+private:
+ static const jlong serialVersionUID = 4863550261346652506LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_rmi_ConnectException__
diff --git a/libjava/java/rmi/ConnectIOException.h b/libjava/java/rmi/ConnectIOException.h
new file mode 100644
index 0000000..c841a61
--- /dev/null
+++ b/libjava/java/rmi/ConnectIOException.h
@@ -0,0 +1,33 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_rmi_ConnectIOException__
+#define __java_rmi_ConnectIOException__
+
+#pragma interface
+
+#include <java/rmi/RemoteException.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace rmi
+ {
+ class ConnectIOException;
+ }
+ }
+}
+
+class java::rmi::ConnectIOException : public ::java::rmi::RemoteException
+{
+
+public:
+ ConnectIOException(::java::lang::String *);
+ ConnectIOException(::java::lang::String *, ::java::lang::Exception *);
+private:
+ static const jlong serialVersionUID = -8087809532704668744LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_rmi_ConnectIOException__
diff --git a/libjava/java/rmi/MarshalException.h b/libjava/java/rmi/MarshalException.h
new file mode 100644
index 0000000..db8ed5e
--- /dev/null
+++ b/libjava/java/rmi/MarshalException.h
@@ -0,0 +1,33 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_rmi_MarshalException__
+#define __java_rmi_MarshalException__
+
+#pragma interface
+
+#include <java/rmi/RemoteException.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace rmi
+ {
+ class MarshalException;
+ }
+ }
+}
+
+class java::rmi::MarshalException : public ::java::rmi::RemoteException
+{
+
+public:
+ MarshalException(::java::lang::String *);
+ MarshalException(::java::lang::String *, ::java::lang::Exception *);
+private:
+ static const jlong serialVersionUID = 6223554758134037936LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_rmi_MarshalException__
diff --git a/libjava/java/rmi/MarshalledObject.h b/libjava/java/rmi/MarshalledObject.h
new file mode 100644
index 0000000..e287ab2
--- /dev/null
+++ b/libjava/java/rmi/MarshalledObject.h
@@ -0,0 +1,41 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_rmi_MarshalledObject__
+#define __java_rmi_MarshalledObject__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace rmi
+ {
+ class MarshalledObject;
+ }
+ }
+}
+
+class java::rmi::MarshalledObject : public ::java::lang::Object
+{
+
+public:
+ MarshalledObject(::java::lang::Object *);
+ jboolean equals(::java::lang::Object *);
+ ::java::lang::Object * get();
+ jint hashCode();
+private:
+ static const jlong serialVersionUID = 8988374069173025854LL;
+public: // actually package-private
+ JArray< jbyte > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) objBytes;
+ JArray< jbyte > * locBytes;
+ jint hash;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_rmi_MarshalledObject__
diff --git a/libjava/java/rmi/Naming.h b/libjava/java/rmi/Naming.h
new file mode 100644
index 0000000..ac47cea
--- /dev/null
+++ b/libjava/java/rmi/Naming.h
@@ -0,0 +1,50 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_rmi_Naming__
+#define __java_rmi_Naming__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace net
+ {
+ class URL;
+ }
+ namespace rmi
+ {
+ class Naming;
+ class Remote;
+ namespace registry
+ {
+ class Registry;
+ }
+ }
+ }
+}
+
+class java::rmi::Naming : public ::java::lang::Object
+{
+
+ Naming();
+public:
+ static ::java::rmi::Remote * lookup(::java::lang::String *);
+ static void bind(::java::lang::String *, ::java::rmi::Remote *);
+ static void unbind(::java::lang::String *);
+ static void rebind(::java::lang::String *, ::java::rmi::Remote *);
+ static JArray< ::java::lang::String * > * list(::java::lang::String *);
+private:
+ static ::java::rmi::registry::Registry * getRegistry(::java::net::URL *);
+ static ::java::net::URL * parseURL(::java::lang::String *);
+ static ::java::lang::String * getName(::java::net::URL *);
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_rmi_Naming__
diff --git a/libjava/java/rmi/NoSuchObjectException.h b/libjava/java/rmi/NoSuchObjectException.h
new file mode 100644
index 0000000..0f02109
--- /dev/null
+++ b/libjava/java/rmi/NoSuchObjectException.h
@@ -0,0 +1,32 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_rmi_NoSuchObjectException__
+#define __java_rmi_NoSuchObjectException__
+
+#pragma interface
+
+#include <java/rmi/RemoteException.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace rmi
+ {
+ class NoSuchObjectException;
+ }
+ }
+}
+
+class java::rmi::NoSuchObjectException : public ::java::rmi::RemoteException
+{
+
+public:
+ NoSuchObjectException(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = 6619395951570472985LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_rmi_NoSuchObjectException__
diff --git a/libjava/java/rmi/NotBoundException.h b/libjava/java/rmi/NotBoundException.h
new file mode 100644
index 0000000..1bdb017
--- /dev/null
+++ b/libjava/java/rmi/NotBoundException.h
@@ -0,0 +1,33 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_rmi_NotBoundException__
+#define __java_rmi_NotBoundException__
+
+#pragma interface
+
+#include <java/lang/Exception.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace rmi
+ {
+ class NotBoundException;
+ }
+ }
+}
+
+class java::rmi::NotBoundException : public ::java::lang::Exception
+{
+
+public:
+ NotBoundException();
+ NotBoundException(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = -1857741824849069317LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_rmi_NotBoundException__
diff --git a/libjava/java/rmi/RMISecurityException.h b/libjava/java/rmi/RMISecurityException.h
new file mode 100644
index 0000000..f3207f5
--- /dev/null
+++ b/libjava/java/rmi/RMISecurityException.h
@@ -0,0 +1,33 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_rmi_RMISecurityException__
+#define __java_rmi_RMISecurityException__
+
+#pragma interface
+
+#include <java/lang/SecurityException.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace rmi
+ {
+ class RMISecurityException;
+ }
+ }
+}
+
+class java::rmi::RMISecurityException : public ::java::lang::SecurityException
+{
+
+public:
+ RMISecurityException(::java::lang::String *);
+ RMISecurityException(::java::lang::String *, ::java::lang::String *);
+private:
+ static const jlong serialVersionUID = -8433406075740433514LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_rmi_RMISecurityException__
diff --git a/libjava/java/rmi/RMISecurityManager.h b/libjava/java/rmi/RMISecurityManager.h
new file mode 100644
index 0000000..267543e
--- /dev/null
+++ b/libjava/java/rmi/RMISecurityManager.h
@@ -0,0 +1,29 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_rmi_RMISecurityManager__
+#define __java_rmi_RMISecurityManager__
+
+#pragma interface
+
+#include <java/lang/SecurityManager.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace rmi
+ {
+ class RMISecurityManager;
+ }
+ }
+}
+
+class java::rmi::RMISecurityManager : public ::java::lang::SecurityManager
+{
+
+public:
+ RMISecurityManager();
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_rmi_RMISecurityManager__
diff --git a/libjava/java/rmi/Remote.h b/libjava/java/rmi/Remote.h
new file mode 100644
index 0000000..f74cf3c
--- /dev/null
+++ b/libjava/java/rmi/Remote.h
@@ -0,0 +1,28 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_rmi_Remote__
+#define __java_rmi_Remote__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace rmi
+ {
+ class Remote;
+ }
+ }
+}
+
+class java::rmi::Remote : public ::java::lang::Object
+{
+
+public:
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_rmi_Remote__
diff --git a/libjava/java/rmi/RemoteException.h b/libjava/java/rmi/RemoteException.h
new file mode 100644
index 0000000..1e52132
--- /dev/null
+++ b/libjava/java/rmi/RemoteException.h
@@ -0,0 +1,37 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_rmi_RemoteException__
+#define __java_rmi_RemoteException__
+
+#pragma interface
+
+#include <java/io/IOException.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace rmi
+ {
+ class RemoteException;
+ }
+ }
+}
+
+class java::rmi::RemoteException : public ::java::io::IOException
+{
+
+public:
+ RemoteException();
+ RemoteException(::java::lang::String *);
+ RemoteException(::java::lang::String *, ::java::lang::Throwable *);
+ virtual ::java::lang::String * getMessage();
+ virtual ::java::lang::Throwable * getCause();
+private:
+ static const jlong serialVersionUID = -5148567311918794206LL;
+public:
+ ::java::lang::Throwable * __attribute__((aligned(__alignof__( ::java::io::IOException)))) detail;
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_rmi_RemoteException__
diff --git a/libjava/java/rmi/ServerError.h b/libjava/java/rmi/ServerError.h
new file mode 100644
index 0000000..3c31a49
--- /dev/null
+++ b/libjava/java/rmi/ServerError.h
@@ -0,0 +1,32 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_rmi_ServerError__
+#define __java_rmi_ServerError__
+
+#pragma interface
+
+#include <java/rmi/RemoteException.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace rmi
+ {
+ class ServerError;
+ }
+ }
+}
+
+class java::rmi::ServerError : public ::java::rmi::RemoteException
+{
+
+public:
+ ServerError(::java::lang::String *, ::java::lang::Error *);
+private:
+ static const jlong serialVersionUID = 8455284893909696482LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_rmi_ServerError__
diff --git a/libjava/java/rmi/ServerException.h b/libjava/java/rmi/ServerException.h
new file mode 100644
index 0000000..958445a
--- /dev/null
+++ b/libjava/java/rmi/ServerException.h
@@ -0,0 +1,33 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_rmi_ServerException__
+#define __java_rmi_ServerException__
+
+#pragma interface
+
+#include <java/rmi/RemoteException.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace rmi
+ {
+ class ServerException;
+ }
+ }
+}
+
+class java::rmi::ServerException : public ::java::rmi::RemoteException
+{
+
+public:
+ ServerException(::java::lang::String *);
+ ServerException(::java::lang::String *, ::java::lang::Exception *);
+private:
+ static const jlong serialVersionUID = -4775845313121906682LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_rmi_ServerException__
diff --git a/libjava/java/rmi/ServerRuntimeException.h b/libjava/java/rmi/ServerRuntimeException.h
new file mode 100644
index 0000000..42dff2d
--- /dev/null
+++ b/libjava/java/rmi/ServerRuntimeException.h
@@ -0,0 +1,32 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_rmi_ServerRuntimeException__
+#define __java_rmi_ServerRuntimeException__
+
+#pragma interface
+
+#include <java/rmi/RemoteException.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace rmi
+ {
+ class ServerRuntimeException;
+ }
+ }
+}
+
+class java::rmi::ServerRuntimeException : public ::java::rmi::RemoteException
+{
+
+public:
+ ServerRuntimeException(::java::lang::String *, ::java::lang::Exception *);
+private:
+ static const jlong serialVersionUID = 7054464920481467219LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_rmi_ServerRuntimeException__
diff --git a/libjava/java/rmi/StubNotFoundException.h b/libjava/java/rmi/StubNotFoundException.h
new file mode 100644
index 0000000..79fcaf4
--- /dev/null
+++ b/libjava/java/rmi/StubNotFoundException.h
@@ -0,0 +1,33 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_rmi_StubNotFoundException__
+#define __java_rmi_StubNotFoundException__
+
+#pragma interface
+
+#include <java/rmi/RemoteException.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace rmi
+ {
+ class StubNotFoundException;
+ }
+ }
+}
+
+class java::rmi::StubNotFoundException : public ::java::rmi::RemoteException
+{
+
+public:
+ StubNotFoundException(::java::lang::String *);
+ StubNotFoundException(::java::lang::String *, ::java::lang::Exception *);
+private:
+ static const jlong serialVersionUID = -7088199405468872373LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_rmi_StubNotFoundException__
diff --git a/libjava/java/rmi/UnexpectedException.h b/libjava/java/rmi/UnexpectedException.h
new file mode 100644
index 0000000..e6154b4
--- /dev/null
+++ b/libjava/java/rmi/UnexpectedException.h
@@ -0,0 +1,33 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_rmi_UnexpectedException__
+#define __java_rmi_UnexpectedException__
+
+#pragma interface
+
+#include <java/rmi/RemoteException.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace rmi
+ {
+ class UnexpectedException;
+ }
+ }
+}
+
+class java::rmi::UnexpectedException : public ::java::rmi::RemoteException
+{
+
+public:
+ UnexpectedException(::java::lang::String *);
+ UnexpectedException(::java::lang::String *, ::java::lang::Exception *);
+private:
+ static const jlong serialVersionUID = 1800467484195073863LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_rmi_UnexpectedException__
diff --git a/libjava/java/rmi/UnknownHostException.h b/libjava/java/rmi/UnknownHostException.h
new file mode 100644
index 0000000..a516ebc
--- /dev/null
+++ b/libjava/java/rmi/UnknownHostException.h
@@ -0,0 +1,33 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_rmi_UnknownHostException__
+#define __java_rmi_UnknownHostException__
+
+#pragma interface
+
+#include <java/rmi/RemoteException.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace rmi
+ {
+ class UnknownHostException;
+ }
+ }
+}
+
+class java::rmi::UnknownHostException : public ::java::rmi::RemoteException
+{
+
+public:
+ UnknownHostException(::java::lang::String *);
+ UnknownHostException(::java::lang::String *, ::java::lang::Exception *);
+private:
+ static const jlong serialVersionUID = -8152710247442114228LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_rmi_UnknownHostException__
diff --git a/libjava/java/rmi/UnmarshalException.h b/libjava/java/rmi/UnmarshalException.h
new file mode 100644
index 0000000..0e6c471
--- /dev/null
+++ b/libjava/java/rmi/UnmarshalException.h
@@ -0,0 +1,33 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_rmi_UnmarshalException__
+#define __java_rmi_UnmarshalException__
+
+#pragma interface
+
+#include <java/rmi/RemoteException.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace rmi
+ {
+ class UnmarshalException;
+ }
+ }
+}
+
+class java::rmi::UnmarshalException : public ::java::rmi::RemoteException
+{
+
+public:
+ UnmarshalException(::java::lang::String *);
+ UnmarshalException(::java::lang::String *, ::java::lang::Exception *);
+private:
+ static const jlong serialVersionUID = 594380845140740218LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_rmi_UnmarshalException__
diff --git a/libjava/java/rmi/activation/Activatable.h b/libjava/java/rmi/activation/Activatable.h
new file mode 100644
index 0000000..63f8297
--- /dev/null
+++ b/libjava/java/rmi/activation/Activatable.h
@@ -0,0 +1,67 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_rmi_activation_Activatable__
+#define __java_rmi_activation_Activatable__
+
+#pragma interface
+
+#include <java/rmi/server/RemoteServer.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace rmi
+ {
+ class MarshalledObject;
+ class Remote;
+ namespace activation
+ {
+ class Activatable;
+ class ActivationDesc;
+ class ActivationID;
+ }
+ namespace server
+ {
+ class ObjID;
+ class RMIClientSocketFactory;
+ class RMIServerSocketFactory;
+ }
+ }
+ }
+}
+
+class java::rmi::activation::Activatable : public ::java::rmi::server::RemoteServer
+{
+
+public: // actually protected
+ Activatable(::java::lang::String *, ::java::rmi::MarshalledObject *, jboolean, jint);
+ Activatable(::java::lang::String *, ::java::rmi::MarshalledObject *, jboolean, jint, ::java::rmi::server::RMIClientSocketFactory *, ::java::rmi::server::RMIServerSocketFactory *);
+ Activatable(::java::rmi::activation::ActivationID *, jint);
+ Activatable(::java::rmi::activation::ActivationID *, jint, ::java::rmi::server::RMIClientSocketFactory *, ::java::rmi::server::RMIServerSocketFactory *);
+ virtual ::java::rmi::activation::ActivationID * getID();
+public: // actually package-private
+ static ::java::rmi::activation::ActivationID * obtainId(::java::rmi::activation::ActivationDesc *);
+public:
+ static ::java::rmi::Remote * register$(::java::rmi::activation::ActivationDesc *);
+ static jboolean inactive(::java::rmi::activation::ActivationID *);
+ static void unregister(::java::rmi::activation::ActivationID *);
+ static ::java::rmi::activation::ActivationID * exportObject(::java::rmi::Remote *, ::java::lang::String *, ::java::rmi::MarshalledObject *, jboolean, jint);
+ static ::java::rmi::activation::ActivationID * exportObject(::java::rmi::Remote *, ::java::lang::String *, ::java::rmi::MarshalledObject *, jboolean, jint, ::java::rmi::server::RMIClientSocketFactory *, ::java::rmi::server::RMIServerSocketFactory *);
+ static ::java::rmi::Remote * exportObject(::java::rmi::Remote *, ::java::rmi::activation::ActivationID *, jint);
+ static ::java::rmi::Remote * exportObject(::java::rmi::Remote *, ::java::rmi::activation::ActivationID *, jint, ::java::rmi::server::RMIClientSocketFactory *, ::java::rmi::server::RMIServerSocketFactory *);
+ static jboolean unexportObject(::java::rmi::Remote *, jboolean);
+public: // actually package-private
+ static ::java::rmi::Remote * exportObject(::java::rmi::Remote *, jint, ::java::rmi::server::RMIServerSocketFactory *);
+public:
+ static ::java::rmi::Remote * export$(::java::rmi::activation::ActivationID *, ::java::rmi::Remote *, jint, ::java::rmi::server::RMIServerSocketFactory *);
+ static ::java::rmi::server::ObjID * makeId(::java::rmi::activation::ActivationID *);
+public: // actually package-private
+ static ::java::rmi::Remote * toStub(::java::rmi::activation::ActivationID *, ::java::lang::Class *);
+ static const jlong serialVersionUID = -3120617863591563455LL;
+ ::java::rmi::activation::ActivationID * __attribute__((aligned(__alignof__( ::java::rmi::server::RemoteServer)))) id;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_rmi_activation_Activatable__
diff --git a/libjava/java/rmi/activation/ActivateFailedException.h b/libjava/java/rmi/activation/ActivateFailedException.h
new file mode 100644
index 0000000..7d231a2
--- /dev/null
+++ b/libjava/java/rmi/activation/ActivateFailedException.h
@@ -0,0 +1,36 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_rmi_activation_ActivateFailedException__
+#define __java_rmi_activation_ActivateFailedException__
+
+#pragma interface
+
+#include <java/rmi/RemoteException.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace rmi
+ {
+ namespace activation
+ {
+ class ActivateFailedException;
+ }
+ }
+ }
+}
+
+class java::rmi::activation::ActivateFailedException : public ::java::rmi::RemoteException
+{
+
+public:
+ ActivateFailedException(::java::lang::String *);
+ ActivateFailedException(::java::lang::String *, ::java::lang::Exception *);
+private:
+ static const jlong serialVersionUID = 4863550261346652506LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_rmi_activation_ActivateFailedException__
diff --git a/libjava/java/rmi/activation/ActivationDesc.h b/libjava/java/rmi/activation/ActivationDesc.h
new file mode 100644
index 0000000..618997b
--- /dev/null
+++ b/libjava/java/rmi/activation/ActivationDesc.h
@@ -0,0 +1,55 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_rmi_activation_ActivationDesc__
+#define __java_rmi_activation_ActivationDesc__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace rmi
+ {
+ class MarshalledObject;
+ namespace activation
+ {
+ class ActivationDesc;
+ class ActivationGroupID;
+ }
+ }
+ }
+}
+
+class java::rmi::activation::ActivationDesc : public ::java::lang::Object
+{
+
+public:
+ ActivationDesc(::java::lang::String *, ::java::lang::String *, ::java::rmi::MarshalledObject *);
+ ActivationDesc(::java::lang::String *, ::java::lang::String *, ::java::rmi::MarshalledObject *, jboolean);
+ ActivationDesc(::java::rmi::activation::ActivationGroupID *, ::java::lang::String *, ::java::lang::String *, ::java::rmi::MarshalledObject *);
+ ActivationDesc(::java::rmi::activation::ActivationGroupID *, ::java::lang::String *, ::java::lang::String *, ::java::rmi::MarshalledObject *, jboolean);
+ ::java::rmi::activation::ActivationGroupID * getGroupID();
+ ::java::lang::String * getClassName();
+ ::java::lang::String * getLocation();
+ ::java::rmi::MarshalledObject * getData();
+ jboolean getRestartMode();
+ jboolean equals(::java::lang::Object *);
+ jint hashCode();
+public: // actually package-private
+ static jint hash(::java::lang::Object *);
+ static jboolean eq(::java::lang::Object *, ::java::lang::Object *);
+ static const jlong serialVersionUID = 7455834104417690957LL;
+private:
+ ::java::rmi::activation::ActivationGroupID * __attribute__((aligned(__alignof__( ::java::lang::Object)))) groupid;
+ ::java::lang::String * classname;
+ ::java::lang::String * location;
+ ::java::rmi::MarshalledObject * data;
+ jboolean restart;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_rmi_activation_ActivationDesc__
diff --git a/libjava/java/rmi/activation/ActivationException.h b/libjava/java/rmi/activation/ActivationException.h
new file mode 100644
index 0000000..81f55e2
--- /dev/null
+++ b/libjava/java/rmi/activation/ActivationException.h
@@ -0,0 +1,40 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_rmi_activation_ActivationException__
+#define __java_rmi_activation_ActivationException__
+
+#pragma interface
+
+#include <java/lang/Exception.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace rmi
+ {
+ namespace activation
+ {
+ class ActivationException;
+ }
+ }
+ }
+}
+
+class java::rmi::activation::ActivationException : public ::java::lang::Exception
+{
+
+public:
+ ActivationException();
+ ActivationException(::java::lang::String *);
+ ActivationException(::java::lang::String *, ::java::lang::Throwable *);
+ virtual ::java::lang::String * getMessage();
+ virtual ::java::lang::Throwable * getCause();
+private:
+ static const jlong serialVersionUID = -4320118837291406071LL;
+public:
+ ::java::lang::Throwable * __attribute__((aligned(__alignof__( ::java::lang::Exception)))) detail;
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_rmi_activation_ActivationException__
diff --git a/libjava/java/rmi/activation/ActivationGroup.h b/libjava/java/rmi/activation/ActivationGroup.h
new file mode 100644
index 0000000..b9bf86d
--- /dev/null
+++ b/libjava/java/rmi/activation/ActivationGroup.h
@@ -0,0 +1,63 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_rmi_activation_ActivationGroup__
+#define __java_rmi_activation_ActivationGroup__
+
+#pragma interface
+
+#include <java/rmi/server/UnicastRemoteObject.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace rmi
+ {
+ class MarshalledObject;
+ class Remote;
+ namespace activation
+ {
+ class ActivationDesc;
+ class ActivationGroup;
+ class ActivationGroupDesc;
+ class ActivationGroupID;
+ class ActivationID;
+ class ActivationMonitor;
+ class ActivationSystem;
+ }
+ }
+ }
+}
+
+class java::rmi::activation::ActivationGroup : public ::java::rmi::server::UnicastRemoteObject
+{
+
+public: // actually protected
+ ActivationGroup(::java::rmi::activation::ActivationGroupID *);
+public:
+ virtual void activeObject(::java::rmi::activation::ActivationID *, ::java::rmi::Remote *) = 0;
+ virtual jboolean inactiveObject(::java::rmi::activation::ActivationID *);
+ static ::java::rmi::activation::ActivationGroup * createGroup(::java::rmi::activation::ActivationGroupID *, ::java::rmi::activation::ActivationGroupDesc *, jlong);
+ static ::java::rmi::activation::ActivationGroupID * currentGroupID();
+ static void setSystem(::java::rmi::activation::ActivationSystem *);
+ static ::java::rmi::activation::ActivationSystem * getSystem();
+public: // actually protected
+ virtual void activeObject(::java::rmi::activation::ActivationID *, ::java::rmi::MarshalledObject *);
+ virtual void inactiveGroup();
+public:
+ virtual ::java::rmi::MarshalledObject * newInstance(::java::rmi::activation::ActivationID *, ::java::rmi::activation::ActivationDesc *) = 0;
+public: // actually package-private
+ static const jlong serialVersionUID = -7696947875314805420LL;
+ static ::java::rmi::activation::ActivationGroupID * currentGroupId;
+ ::java::rmi::activation::ActivationGroupID * __attribute__((aligned(__alignof__( ::java::rmi::server::UnicastRemoteObject)))) groupId;
+ ::java::rmi::activation::ActivationMonitor * monitor;
+ jlong incarnation;
+ static ::java::rmi::activation::ActivationSystem * system;
+ static JArray< ::java::lang::Class * > * cConstructorTypes;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_rmi_activation_ActivationGroup__
diff --git a/libjava/java/rmi/activation/ActivationGroupDesc$CommandEnvironment.h b/libjava/java/rmi/activation/ActivationGroupDesc$CommandEnvironment.h
new file mode 100644
index 0000000..f1cc495
--- /dev/null
+++ b/libjava/java/rmi/activation/ActivationGroupDesc$CommandEnvironment.h
@@ -0,0 +1,46 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_rmi_activation_ActivationGroupDesc$CommandEnvironment__
+#define __java_rmi_activation_ActivationGroupDesc$CommandEnvironment__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace rmi
+ {
+ namespace activation
+ {
+ class ActivationGroupDesc$CommandEnvironment;
+ }
+ }
+ }
+}
+
+class java::rmi::activation::ActivationGroupDesc$CommandEnvironment : public ::java::lang::Object
+{
+
+public:
+ ActivationGroupDesc$CommandEnvironment(::java::lang::String *, JArray< ::java::lang::String * > *);
+ virtual ::java::lang::String * getCommandPath();
+ virtual JArray< ::java::lang::String * > * getCommandOptions();
+ virtual jboolean equals(::java::lang::Object *);
+ virtual jint hashCode();
+public: // actually package-private
+ static const jlong serialVersionUID = 6165754737887770191LL;
+private:
+ static JArray< ::java::lang::String * > * NO_ARGS;
+public: // actually package-private
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) command;
+ JArray< ::java::lang::String * > * options;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_rmi_activation_ActivationGroupDesc$CommandEnvironment__
diff --git a/libjava/java/rmi/activation/ActivationGroupDesc.h b/libjava/java/rmi/activation/ActivationGroupDesc.h
new file mode 100644
index 0000000..8229e57
--- /dev/null
+++ b/libjava/java/rmi/activation/ActivationGroupDesc.h
@@ -0,0 +1,54 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_rmi_activation_ActivationGroupDesc__
+#define __java_rmi_activation_ActivationGroupDesc__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace rmi
+ {
+ class MarshalledObject;
+ namespace activation
+ {
+ class ActivationGroupDesc;
+ class ActivationGroupDesc$CommandEnvironment;
+ }
+ }
+ }
+}
+
+class java::rmi::activation::ActivationGroupDesc : public ::java::lang::Object
+{
+
+public:
+ ActivationGroupDesc(::java::util::Properties *, ::java::rmi::activation::ActivationGroupDesc$CommandEnvironment *);
+ ActivationGroupDesc(::java::lang::String *, ::java::lang::String *, ::java::rmi::MarshalledObject *, ::java::util::Properties *, ::java::rmi::activation::ActivationGroupDesc$CommandEnvironment *);
+ ::java::lang::String * getClassName();
+ ::java::lang::String * getLocation();
+ ::java::rmi::MarshalledObject * getData();
+ ::java::util::Properties * getPropertyOverrides();
+ ::java::rmi::activation::ActivationGroupDesc$CommandEnvironment * getCommandEnvironment();
+ jboolean equals(::java::lang::Object *);
+public: // actually package-private
+ static jboolean eq(::java::lang::Object *, ::java::lang::Object *);
+public:
+ jint hashCode();
+public: // actually package-private
+ static const jlong serialVersionUID = -4936225423168276595LL;
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) className;
+ ::java::lang::String * location;
+ ::java::rmi::MarshalledObject * data;
+ ::java::rmi::activation::ActivationGroupDesc$CommandEnvironment * env;
+ ::java::util::Properties * props;
+ jlong hash;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_rmi_activation_ActivationGroupDesc__
diff --git a/libjava/java/rmi/activation/ActivationGroupID.h b/libjava/java/rmi/activation/ActivationGroupID.h
new file mode 100644
index 0000000..be942fe
--- /dev/null
+++ b/libjava/java/rmi/activation/ActivationGroupID.h
@@ -0,0 +1,46 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_rmi_activation_ActivationGroupID__
+#define __java_rmi_activation_ActivationGroupID__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace rmi
+ {
+ namespace activation
+ {
+ class ActivationGroupID;
+ class ActivationSystem;
+ }
+ namespace server
+ {
+ class UID;
+ }
+ }
+ }
+}
+
+class java::rmi::activation::ActivationGroupID : public ::java::lang::Object
+{
+
+public:
+ ActivationGroupID(::java::rmi::activation::ActivationSystem *);
+ virtual ::java::rmi::activation::ActivationSystem * getSystem();
+ virtual jint hashCode();
+ virtual jboolean equals(::java::lang::Object *);
+ virtual ::java::lang::String * toString();
+public: // actually package-private
+ static const jlong serialVersionUID = -1648432278909740833LL;
+ ::java::rmi::activation::ActivationSystem * __attribute__((aligned(__alignof__( ::java::lang::Object)))) system;
+ ::java::rmi::server::UID * uid;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_rmi_activation_ActivationGroupID__
diff --git a/libjava/java/rmi/activation/ActivationGroup_Stub.h b/libjava/java/rmi/activation/ActivationGroup_Stub.h
new file mode 100644
index 0000000..4dc223c
--- /dev/null
+++ b/libjava/java/rmi/activation/ActivationGroup_Stub.h
@@ -0,0 +1,43 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_rmi_activation_ActivationGroup_Stub__
+#define __java_rmi_activation_ActivationGroup_Stub__
+
+#pragma interface
+
+#include <java/rmi/server/RemoteStub.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace rmi
+ {
+ class MarshalledObject;
+ namespace activation
+ {
+ class ActivationDesc;
+ class ActivationGroup_Stub;
+ class ActivationID;
+ }
+ namespace server
+ {
+ class RemoteRef;
+ }
+ }
+ }
+}
+
+class java::rmi::activation::ActivationGroup_Stub : public ::java::rmi::server::RemoteStub
+{
+
+public:
+ ActivationGroup_Stub(::java::rmi::server::RemoteRef *);
+ ::java::rmi::MarshalledObject * newInstance(::java::rmi::activation::ActivationID *, ::java::rmi::activation::ActivationDesc *);
+private:
+ static const jlong serialVersionUID = 2LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_rmi_activation_ActivationGroup_Stub__
diff --git a/libjava/java/rmi/activation/ActivationID.h b/libjava/java/rmi/activation/ActivationID.h
new file mode 100644
index 0000000..831962e
--- /dev/null
+++ b/libjava/java/rmi/activation/ActivationID.h
@@ -0,0 +1,55 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_rmi_activation_ActivationID__
+#define __java_rmi_activation_ActivationID__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace rmi
+ {
+ class Remote;
+ namespace activation
+ {
+ class ActivationGroup;
+ class ActivationID;
+ class Activator;
+ }
+ namespace server
+ {
+ class UID;
+ }
+ }
+ }
+}
+
+class java::rmi::activation::ActivationID : public ::java::lang::Object
+{
+
+public:
+ ActivationID(::java::rmi::activation::Activator *);
+ virtual ::java::rmi::Remote * activate(jboolean);
+ virtual jint hashCode();
+ virtual jboolean equals(::java::lang::Object *);
+private:
+ void readObject(::java::io::ObjectInputStream *);
+ void writeObject(::java::io::ObjectOutputStream *);
+public: // actually package-private
+ static jboolean eq(::java::lang::Object *, ::java::lang::Object *);
+public:
+ virtual ::java::lang::String * toString();
+public: // actually package-private
+ static const jlong serialVersionUID = -4608673054848209235LL;
+ ::java::rmi::activation::Activator * __attribute__((aligned(__alignof__( ::java::lang::Object)))) activator;
+ ::java::rmi::server::UID * uid;
+ ::java::rmi::activation::ActivationGroup * group;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_rmi_activation_ActivationID__
diff --git a/libjava/java/rmi/activation/ActivationInstantiator.h b/libjava/java/rmi/activation/ActivationInstantiator.h
new file mode 100644
index 0000000..5249407
--- /dev/null
+++ b/libjava/java/rmi/activation/ActivationInstantiator.h
@@ -0,0 +1,35 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_rmi_activation_ActivationInstantiator__
+#define __java_rmi_activation_ActivationInstantiator__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace rmi
+ {
+ class MarshalledObject;
+ namespace activation
+ {
+ class ActivationDesc;
+ class ActivationID;
+ class ActivationInstantiator;
+ }
+ }
+ }
+}
+
+class java::rmi::activation::ActivationInstantiator : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::rmi::MarshalledObject * newInstance(::java::rmi::activation::ActivationID *, ::java::rmi::activation::ActivationDesc *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_rmi_activation_ActivationInstantiator__
diff --git a/libjava/java/rmi/activation/ActivationMonitor.h b/libjava/java/rmi/activation/ActivationMonitor.h
new file mode 100644
index 0000000..a41dc63
--- /dev/null
+++ b/libjava/java/rmi/activation/ActivationMonitor.h
@@ -0,0 +1,37 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_rmi_activation_ActivationMonitor__
+#define __java_rmi_activation_ActivationMonitor__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace rmi
+ {
+ class MarshalledObject;
+ namespace activation
+ {
+ class ActivationGroupID;
+ class ActivationID;
+ class ActivationMonitor;
+ }
+ }
+ }
+}
+
+class java::rmi::activation::ActivationMonitor : public ::java::lang::Object
+{
+
+public:
+ virtual void activeObject(::java::rmi::activation::ActivationID *, ::java::rmi::MarshalledObject *) = 0;
+ virtual void inactiveObject(::java::rmi::activation::ActivationID *) = 0;
+ virtual void inactiveGroup(::java::rmi::activation::ActivationGroupID *, jlong) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_rmi_activation_ActivationMonitor__
diff --git a/libjava/java/rmi/activation/ActivationSystem.h b/libjava/java/rmi/activation/ActivationSystem.h
new file mode 100644
index 0000000..cb4f145
--- /dev/null
+++ b/libjava/java/rmi/activation/ActivationSystem.h
@@ -0,0 +1,48 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_rmi_activation_ActivationSystem__
+#define __java_rmi_activation_ActivationSystem__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace rmi
+ {
+ namespace activation
+ {
+ class ActivationDesc;
+ class ActivationGroupDesc;
+ class ActivationGroupID;
+ class ActivationID;
+ class ActivationInstantiator;
+ class ActivationMonitor;
+ class ActivationSystem;
+ }
+ }
+ }
+}
+
+class java::rmi::activation::ActivationSystem : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::rmi::activation::ActivationID * registerObject(::java::rmi::activation::ActivationDesc *) = 0;
+ virtual void unregisterObject(::java::rmi::activation::ActivationID *) = 0;
+ virtual ::java::rmi::activation::ActivationGroupID * registerGroup(::java::rmi::activation::ActivationGroupDesc *) = 0;
+ virtual ::java::rmi::activation::ActivationMonitor * activeGroup(::java::rmi::activation::ActivationGroupID *, ::java::rmi::activation::ActivationInstantiator *, jlong) = 0;
+ virtual void unregisterGroup(::java::rmi::activation::ActivationGroupID *) = 0;
+ virtual void shutdown() = 0;
+ virtual ::java::rmi::activation::ActivationDesc * setActivationDesc(::java::rmi::activation::ActivationID *, ::java::rmi::activation::ActivationDesc *) = 0;
+ virtual ::java::rmi::activation::ActivationGroupDesc * setActivationGroupDesc(::java::rmi::activation::ActivationGroupID *, ::java::rmi::activation::ActivationGroupDesc *) = 0;
+ virtual ::java::rmi::activation::ActivationDesc * getActivationDesc(::java::rmi::activation::ActivationID *) = 0;
+ virtual ::java::rmi::activation::ActivationGroupDesc * getActivationGroupDesc(::java::rmi::activation::ActivationGroupID *) = 0;
+ static const jint SYSTEM_PORT = 1098;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_rmi_activation_ActivationSystem__
diff --git a/libjava/java/rmi/activation/Activator.h b/libjava/java/rmi/activation/Activator.h
new file mode 100644
index 0000000..7976abc
--- /dev/null
+++ b/libjava/java/rmi/activation/Activator.h
@@ -0,0 +1,34 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_rmi_activation_Activator__
+#define __java_rmi_activation_Activator__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace rmi
+ {
+ class MarshalledObject;
+ namespace activation
+ {
+ class ActivationID;
+ class Activator;
+ }
+ }
+ }
+}
+
+class java::rmi::activation::Activator : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::rmi::MarshalledObject * activate(::java::rmi::activation::ActivationID *, jboolean) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_rmi_activation_Activator__
diff --git a/libjava/java/rmi/activation/UnknownGroupException.h b/libjava/java/rmi/activation/UnknownGroupException.h
new file mode 100644
index 0000000..27afe4c
--- /dev/null
+++ b/libjava/java/rmi/activation/UnknownGroupException.h
@@ -0,0 +1,35 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_rmi_activation_UnknownGroupException__
+#define __java_rmi_activation_UnknownGroupException__
+
+#pragma interface
+
+#include <java/rmi/activation/ActivationException.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace rmi
+ {
+ namespace activation
+ {
+ class UnknownGroupException;
+ }
+ }
+ }
+}
+
+class java::rmi::activation::UnknownGroupException : public ::java::rmi::activation::ActivationException
+{
+
+public:
+ UnknownGroupException(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = 7056094974750002460LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_rmi_activation_UnknownGroupException__
diff --git a/libjava/java/rmi/activation/UnknownObjectException.h b/libjava/java/rmi/activation/UnknownObjectException.h
new file mode 100644
index 0000000..9bda597
--- /dev/null
+++ b/libjava/java/rmi/activation/UnknownObjectException.h
@@ -0,0 +1,35 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_rmi_activation_UnknownObjectException__
+#define __java_rmi_activation_UnknownObjectException__
+
+#pragma interface
+
+#include <java/rmi/activation/ActivationException.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace rmi
+ {
+ namespace activation
+ {
+ class UnknownObjectException;
+ }
+ }
+ }
+}
+
+class java::rmi::activation::UnknownObjectException : public ::java::rmi::activation::ActivationException
+{
+
+public:
+ UnknownObjectException(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = 3425547551622251430LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_rmi_activation_UnknownObjectException__
diff --git a/libjava/java/rmi/dgc/DGC.h b/libjava/java/rmi/dgc/DGC.h
new file mode 100644
index 0000000..b240c1a
--- /dev/null
+++ b/libjava/java/rmi/dgc/DGC.h
@@ -0,0 +1,41 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_rmi_dgc_DGC__
+#define __java_rmi_dgc_DGC__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace rmi
+ {
+ namespace dgc
+ {
+ class DGC;
+ class Lease;
+ class VMID;
+ }
+ namespace server
+ {
+ class ObjID;
+ }
+ }
+ }
+}
+
+class java::rmi::dgc::DGC : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::rmi::dgc::Lease * dirty(JArray< ::java::rmi::server::ObjID * > *, jlong, ::java::rmi::dgc::Lease *) = 0;
+ virtual void clean(JArray< ::java::rmi::server::ObjID * > *, jlong, ::java::rmi::dgc::VMID *, jboolean) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_rmi_dgc_DGC__
diff --git a/libjava/java/rmi/dgc/Lease.h b/libjava/java/rmi/dgc/Lease.h
new file mode 100644
index 0000000..e3ad0bf
--- /dev/null
+++ b/libjava/java/rmi/dgc/Lease.h
@@ -0,0 +1,42 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_rmi_dgc_Lease__
+#define __java_rmi_dgc_Lease__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace rmi
+ {
+ namespace dgc
+ {
+ class Lease;
+ class VMID;
+ }
+ }
+ }
+}
+
+class java::rmi::dgc::Lease : public ::java::lang::Object
+{
+
+public:
+ Lease(::java::rmi::dgc::VMID *, jlong);
+ ::java::rmi::dgc::VMID * getVMID();
+ jlong getValue();
+ ::java::lang::String * toString();
+public: // actually package-private
+ static const jlong serialVersionUID = -5713411624328831948LL;
+private:
+ ::java::rmi::dgc::VMID * __attribute__((aligned(__alignof__( ::java::lang::Object)))) vmid;
+ jlong value;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_rmi_dgc_Lease__
diff --git a/libjava/java/rmi/dgc/VMID.h b/libjava/java/rmi/dgc/VMID.h
new file mode 100644
index 0000000..082553b
--- /dev/null
+++ b/libjava/java/rmi/dgc/VMID.h
@@ -0,0 +1,53 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_rmi_dgc_VMID__
+#define __java_rmi_dgc_VMID__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace rmi
+ {
+ namespace dgc
+ {
+ class VMID;
+ }
+ namespace server
+ {
+ class UID;
+ }
+ }
+ }
+}
+
+class java::rmi::dgc::VMID : public ::java::lang::Object
+{
+
+public:
+ VMID();
+ static jboolean isUnique();
+ jint hashCode();
+ jboolean equals(::java::lang::Object *);
+ ::java::lang::String * toString();
+public: // actually package-private
+ static const jlong serialVersionUID = -538642295484486218LL;
+ static jboolean areWeUnique;
+ static JArray< jbyte > * localAddr;
+private:
+ JArray< jbyte > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) addr;
+public: // actually package-private
+ jint hash;
+private:
+ ::java::rmi::server::UID * uid;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_rmi_dgc_VMID__
diff --git a/libjava/java/rmi/registry/LocateRegistry.h b/libjava/java/rmi/registry/LocateRegistry.h
new file mode 100644
index 0000000..75b0b4a
--- /dev/null
+++ b/libjava/java/rmi/registry/LocateRegistry.h
@@ -0,0 +1,45 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_rmi_registry_LocateRegistry__
+#define __java_rmi_registry_LocateRegistry__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace rmi
+ {
+ namespace registry
+ {
+ class LocateRegistry;
+ class Registry;
+ }
+ namespace server
+ {
+ class RMIClientSocketFactory;
+ class RMIServerSocketFactory;
+ }
+ }
+ }
+}
+
+class java::rmi::registry::LocateRegistry : public ::java::lang::Object
+{
+
+ LocateRegistry();
+public:
+ static ::java::rmi::registry::Registry * getRegistry();
+ static ::java::rmi::registry::Registry * getRegistry(jint);
+ static ::java::rmi::registry::Registry * getRegistry(::java::lang::String *);
+ static ::java::rmi::registry::Registry * getRegistry(::java::lang::String *, jint);
+ static ::java::rmi::registry::Registry * getRegistry(::java::lang::String *, jint, ::java::rmi::server::RMIClientSocketFactory *);
+ static ::java::rmi::registry::Registry * createRegistry(jint);
+ static ::java::rmi::registry::Registry * createRegistry(jint, ::java::rmi::server::RMIClientSocketFactory *, ::java::rmi::server::RMIServerSocketFactory *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_rmi_registry_LocateRegistry__
diff --git a/libjava/java/rmi/registry/Registry.h b/libjava/java/rmi/registry/Registry.h
new file mode 100644
index 0000000..470ef2b
--- /dev/null
+++ b/libjava/java/rmi/registry/Registry.h
@@ -0,0 +1,40 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_rmi_registry_Registry__
+#define __java_rmi_registry_Registry__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace rmi
+ {
+ class Remote;
+ namespace registry
+ {
+ class Registry;
+ }
+ }
+ }
+}
+
+class java::rmi::registry::Registry : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::rmi::Remote * lookup(::java::lang::String *) = 0;
+ virtual void bind(::java::lang::String *, ::java::rmi::Remote *) = 0;
+ virtual void unbind(::java::lang::String *) = 0;
+ virtual void rebind(::java::lang::String *, ::java::rmi::Remote *) = 0;
+ virtual JArray< ::java::lang::String * > * list() = 0;
+ static const jint REGISTRY_PORT = 1099;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_rmi_registry_Registry__
diff --git a/libjava/java/rmi/registry/RegistryHandler.h b/libjava/java/rmi/registry/RegistryHandler.h
new file mode 100644
index 0000000..cd29094
--- /dev/null
+++ b/libjava/java/rmi/registry/RegistryHandler.h
@@ -0,0 +1,34 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_rmi_registry_RegistryHandler__
+#define __java_rmi_registry_RegistryHandler__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace rmi
+ {
+ namespace registry
+ {
+ class Registry;
+ class RegistryHandler;
+ }
+ }
+ }
+}
+
+class java::rmi::registry::RegistryHandler : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::rmi::registry::Registry * registryStub(::java::lang::String *, jint) = 0;
+ virtual ::java::rmi::registry::Registry * registryImpl(jint) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_rmi_registry_RegistryHandler__
diff --git a/libjava/java/rmi/server/ExportException.h b/libjava/java/rmi/server/ExportException.h
new file mode 100644
index 0000000..471a944
--- /dev/null
+++ b/libjava/java/rmi/server/ExportException.h
@@ -0,0 +1,36 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_rmi_server_ExportException__
+#define __java_rmi_server_ExportException__
+
+#pragma interface
+
+#include <java/rmi/RemoteException.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace rmi
+ {
+ namespace server
+ {
+ class ExportException;
+ }
+ }
+ }
+}
+
+class java::rmi::server::ExportException : public ::java::rmi::RemoteException
+{
+
+public:
+ ExportException(::java::lang::String *);
+ ExportException(::java::lang::String *, ::java::lang::Exception *);
+private:
+ static const jlong serialVersionUID = -9155485338494060170LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_rmi_server_ExportException__
diff --git a/libjava/java/rmi/server/LoaderHandler.h b/libjava/java/rmi/server/LoaderHandler.h
new file mode 100644
index 0000000..6b515f7
--- /dev/null
+++ b/libjava/java/rmi/server/LoaderHandler.h
@@ -0,0 +1,39 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_rmi_server_LoaderHandler__
+#define __java_rmi_server_LoaderHandler__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace net
+ {
+ class URL;
+ }
+ namespace rmi
+ {
+ namespace server
+ {
+ class LoaderHandler;
+ }
+ }
+ }
+}
+
+class java::rmi::server::LoaderHandler : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::lang::Class * loadClass(::java::lang::String *) = 0;
+ virtual ::java::lang::Class * loadClass(::java::net::URL *, ::java::lang::String *) = 0;
+ virtual ::java::lang::Object * getSecurityContext(::java::lang::ClassLoader *) = 0;
+ static ::java::lang::String * packagePrefix;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_rmi_server_LoaderHandler__
diff --git a/libjava/java/rmi/server/LogStream.h b/libjava/java/rmi/server/LogStream.h
new file mode 100644
index 0000000..6dfcfbf
--- /dev/null
+++ b/libjava/java/rmi/server/LogStream.h
@@ -0,0 +1,49 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_rmi_server_LogStream__
+#define __java_rmi_server_LogStream__
+
+#pragma interface
+
+#include <java/io/PrintStream.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace rmi
+ {
+ namespace server
+ {
+ class LogStream;
+ }
+ }
+ }
+}
+
+class java::rmi::server::LogStream : public ::java::io::PrintStream
+{
+
+ LogStream(::java::io::OutputStream *);
+public:
+ static ::java::rmi::server::LogStream * log(::java::lang::String *);
+ static ::java::io::PrintStream * getDefaultStream();
+ static void setDefaultStream(::java::io::PrintStream *);
+ virtual ::java::io::OutputStream * getOutputStream();
+ virtual void setOutputStream(::java::io::OutputStream *);
+ virtual void write(jint);
+ virtual void write(JArray< jbyte > *, jint, jint);
+ virtual ::java::lang::String * toString();
+ static jint parseLevel(::java::lang::String *);
+ static const jint SILENT = 0;
+ static const jint BRIEF = 10;
+ static const jint VERBOSE = 20;
+private:
+ static ::java::io::PrintStream * defStream;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_rmi_server_LogStream__
diff --git a/libjava/java/rmi/server/ObjID.h b/libjava/java/rmi/server/ObjID.h
new file mode 100644
index 0000000..f830f0f
--- /dev/null
+++ b/libjava/java/rmi/server/ObjID.h
@@ -0,0 +1,55 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_rmi_server_ObjID__
+#define __java_rmi_server_ObjID__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace rmi
+ {
+ namespace server
+ {
+ class ObjID;
+ class UID;
+ }
+ }
+ }
+}
+
+class java::rmi::server::ObjID : public ::java::lang::Object
+{
+
+public:
+ ObjID();
+ ObjID(jint);
+ void write(::java::io::ObjectOutput *);
+ static ::java::rmi::server::ObjID * read(::java::io::ObjectInput *);
+ jint hashCode();
+ jboolean equals(::java::lang::Object *);
+public: // actually package-private
+ static jboolean eq(::java::lang::Object *, ::java::lang::Object *);
+public:
+ ::java::lang::String * toString();
+public: // actually package-private
+ static const jlong serialVersionUID = -6386392263968365220LL;
+private:
+ static jlong next;
+ static ::java::lang::Object * lock;
+public:
+ static const jint REGISTRY_ID = 0;
+ static const jint ACTIVATOR_ID = 1;
+ static const jint DGC_ID = 2;
+public: // actually package-private
+ jlong __attribute__((aligned(__alignof__( ::java::lang::Object)))) objNum;
+ ::java::rmi::server::UID * space;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_rmi_server_ObjID__
diff --git a/libjava/java/rmi/server/Operation.h b/libjava/java/rmi/server/Operation.h
new file mode 100644
index 0000000..e7b70ec
--- /dev/null
+++ b/libjava/java/rmi/server/Operation.h
@@ -0,0 +1,37 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_rmi_server_Operation__
+#define __java_rmi_server_Operation__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace rmi
+ {
+ namespace server
+ {
+ class Operation;
+ }
+ }
+ }
+}
+
+class java::rmi::server::Operation : public ::java::lang::Object
+{
+
+public:
+ Operation(::java::lang::String *);
+ virtual ::java::lang::String * getOperation();
+ virtual ::java::lang::String * toString();
+private:
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) operation;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_rmi_server_Operation__
diff --git a/libjava/java/rmi/server/RMIClassLoader.h b/libjava/java/rmi/server/RMIClassLoader.h
new file mode 100644
index 0000000..1d29dfd
--- /dev/null
+++ b/libjava/java/rmi/server/RMIClassLoader.h
@@ -0,0 +1,51 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_rmi_server_RMIClassLoader__
+#define __java_rmi_server_RMIClassLoader__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace net
+ {
+ class URL;
+ }
+ namespace rmi
+ {
+ namespace server
+ {
+ class RMIClassLoader;
+ class RMIClassLoaderSpi;
+ }
+ }
+ }
+}
+
+class java::rmi::server::RMIClassLoader : public ::java::lang::Object
+{
+
+ RMIClassLoader();
+public:
+ static ::java::lang::Class * loadClass(::java::lang::String *);
+ static ::java::lang::Class * loadClass(::java::lang::String *, ::java::lang::String *);
+ static ::java::lang::Class * loadClass(::java::lang::String *, ::java::lang::String *, ::java::lang::ClassLoader *);
+ static ::java::lang::Class * loadProxyClass(::java::lang::String *, JArray< ::java::lang::String * > *, ::java::lang::ClassLoader *);
+ static ::java::lang::Class * loadClass(::java::net::URL *, ::java::lang::String *);
+ static ::java::lang::ClassLoader * getClassLoader(::java::lang::String *);
+ static ::java::lang::String * getClassAnnotation(::java::lang::Class *);
+ static ::java::lang::Object * getSecurityContext(::java::lang::ClassLoader *);
+ static ::java::rmi::server::RMIClassLoaderSpi * getDefaultProviderInstance();
+private:
+ static ::java::rmi::server::RMIClassLoaderSpi * getProviderInstance();
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_rmi_server_RMIClassLoader__
diff --git a/libjava/java/rmi/server/RMIClassLoaderSpi.h b/libjava/java/rmi/server/RMIClassLoaderSpi.h
new file mode 100644
index 0000000..978a11a
--- /dev/null
+++ b/libjava/java/rmi/server/RMIClassLoaderSpi.h
@@ -0,0 +1,38 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_rmi_server_RMIClassLoaderSpi__
+#define __java_rmi_server_RMIClassLoaderSpi__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace rmi
+ {
+ namespace server
+ {
+ class RMIClassLoaderSpi;
+ }
+ }
+ }
+}
+
+class java::rmi::server::RMIClassLoaderSpi : public ::java::lang::Object
+{
+
+public:
+ RMIClassLoaderSpi();
+ virtual ::java::lang::Class * loadClass(::java::lang::String *, ::java::lang::String *, ::java::lang::ClassLoader *) = 0;
+ virtual ::java::lang::Class * loadProxyClass(::java::lang::String *, JArray< ::java::lang::String * > *, ::java::lang::ClassLoader *) = 0;
+ virtual ::java::lang::ClassLoader * getClassLoader(::java::lang::String *) = 0;
+ virtual ::java::lang::String * getClassAnnotation(::java::lang::Class *) = 0;
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_rmi_server_RMIClassLoaderSpi__
diff --git a/libjava/java/rmi/server/RMIClientSocketFactory.h b/libjava/java/rmi/server/RMIClientSocketFactory.h
new file mode 100644
index 0000000..4a07319
--- /dev/null
+++ b/libjava/java/rmi/server/RMIClientSocketFactory.h
@@ -0,0 +1,36 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_rmi_server_RMIClientSocketFactory__
+#define __java_rmi_server_RMIClientSocketFactory__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace net
+ {
+ class Socket;
+ }
+ namespace rmi
+ {
+ namespace server
+ {
+ class RMIClientSocketFactory;
+ }
+ }
+ }
+}
+
+class java::rmi::server::RMIClientSocketFactory : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::net::Socket * createSocket(::java::lang::String *, jint) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_rmi_server_RMIClientSocketFactory__
diff --git a/libjava/java/rmi/server/RMIFailureHandler.h b/libjava/java/rmi/server/RMIFailureHandler.h
new file mode 100644
index 0000000..da177a0
--- /dev/null
+++ b/libjava/java/rmi/server/RMIFailureHandler.h
@@ -0,0 +1,32 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_rmi_server_RMIFailureHandler__
+#define __java_rmi_server_RMIFailureHandler__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace rmi
+ {
+ namespace server
+ {
+ class RMIFailureHandler;
+ }
+ }
+ }
+}
+
+class java::rmi::server::RMIFailureHandler : public ::java::lang::Object
+{
+
+public:
+ virtual jboolean failure(::java::lang::Exception *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_rmi_server_RMIFailureHandler__
diff --git a/libjava/java/rmi/server/RMIServerSocketFactory.h b/libjava/java/rmi/server/RMIServerSocketFactory.h
new file mode 100644
index 0000000..daf42af
--- /dev/null
+++ b/libjava/java/rmi/server/RMIServerSocketFactory.h
@@ -0,0 +1,36 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_rmi_server_RMIServerSocketFactory__
+#define __java_rmi_server_RMIServerSocketFactory__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace net
+ {
+ class ServerSocket;
+ }
+ namespace rmi
+ {
+ namespace server
+ {
+ class RMIServerSocketFactory;
+ }
+ }
+ }
+}
+
+class java::rmi::server::RMIServerSocketFactory : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::net::ServerSocket * createServerSocket(jint) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_rmi_server_RMIServerSocketFactory__
diff --git a/libjava/java/rmi/server/RMISocketFactory.h b/libjava/java/rmi/server/RMISocketFactory.h
new file mode 100644
index 0000000..f79b04c
--- /dev/null
+++ b/libjava/java/rmi/server/RMISocketFactory.h
@@ -0,0 +1,50 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_rmi_server_RMISocketFactory__
+#define __java_rmi_server_RMISocketFactory__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace net
+ {
+ class ServerSocket;
+ class Socket;
+ }
+ namespace rmi
+ {
+ namespace server
+ {
+ class RMIFailureHandler;
+ class RMISocketFactory;
+ }
+ }
+ }
+}
+
+class java::rmi::server::RMISocketFactory : public ::java::lang::Object
+{
+
+public:
+ RMISocketFactory();
+ virtual ::java::net::Socket * createSocket(::java::lang::String *, jint) = 0;
+ virtual ::java::net::ServerSocket * createServerSocket(jint) = 0;
+ static void setSocketFactory(::java::rmi::server::RMISocketFactory *);
+ static ::java::rmi::server::RMISocketFactory * getSocketFactory();
+ static ::java::rmi::server::RMISocketFactory * getDefaultSocketFactory();
+ static void setFailureHandler(::java::rmi::server::RMIFailureHandler *);
+ static ::java::rmi::server::RMIFailureHandler * getFailureHandler();
+private:
+ static ::java::rmi::server::RMISocketFactory * defaultFactory;
+ static ::java::rmi::server::RMISocketFactory * currentFactory;
+ static ::java::rmi::server::RMIFailureHandler * currentHandler;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_rmi_server_RMISocketFactory__
diff --git a/libjava/java/rmi/server/RemoteCall.h b/libjava/java/rmi/server/RemoteCall.h
new file mode 100644
index 0000000..e416f0b
--- /dev/null
+++ b/libjava/java/rmi/server/RemoteCall.h
@@ -0,0 +1,38 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_rmi_server_RemoteCall__
+#define __java_rmi_server_RemoteCall__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace rmi
+ {
+ namespace server
+ {
+ class RemoteCall;
+ }
+ }
+ }
+}
+
+class java::rmi::server::RemoteCall : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::io::ObjectOutput * getOutputStream() = 0;
+ virtual void releaseOutputStream() = 0;
+ virtual ::java::io::ObjectInput * getInputStream() = 0;
+ virtual void releaseInputStream() = 0;
+ virtual ::java::io::ObjectOutput * getResultStream(jboolean) = 0;
+ virtual void executeCall() = 0;
+ virtual void done() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_rmi_server_RemoteCall__
diff --git a/libjava/java/rmi/server/RemoteObject.h b/libjava/java/rmi/server/RemoteObject.h
new file mode 100644
index 0000000..5a35b02
--- /dev/null
+++ b/libjava/java/rmi/server/RemoteObject.h
@@ -0,0 +1,54 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_rmi_server_RemoteObject__
+#define __java_rmi_server_RemoteObject__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace rmi
+ {
+ class Remote;
+ namespace server
+ {
+ class RemoteObject;
+ class RemoteRef;
+ }
+ }
+ }
+}
+
+class java::rmi::server::RemoteObject : public ::java::lang::Object
+{
+
+public: // actually protected
+ RemoteObject();
+ RemoteObject(::java::rmi::server::RemoteRef *);
+public:
+ virtual ::java::rmi::server::RemoteRef * getRef();
+public: // actually package-private
+ static void addStub(::java::rmi::Remote *, ::java::rmi::Remote *);
+ static void deleteStub(::java::rmi::Remote *);
+public:
+ static ::java::rmi::Remote * toStub(::java::rmi::Remote *);
+ virtual jint hashCode();
+ virtual jboolean equals(::java::lang::Object *);
+ virtual ::java::lang::String * toString();
+private:
+ void readObject(::java::io::ObjectInputStream *);
+ void writeObject(::java::io::ObjectOutputStream *);
+ static const jlong serialVersionUID = -3215090123894869218LL;
+public: // actually protected
+ ::java::rmi::server::RemoteRef * __attribute__((aligned(__alignof__( ::java::lang::Object)))) ref;
+private:
+ static ::java::util::WeakHashMap * stubs;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_rmi_server_RemoteObject__
diff --git a/libjava/java/rmi/server/RemoteObjectInvocationHandler.h b/libjava/java/rmi/server/RemoteObjectInvocationHandler.h
new file mode 100644
index 0000000..babacb8
--- /dev/null
+++ b/libjava/java/rmi/server/RemoteObjectInvocationHandler.h
@@ -0,0 +1,43 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_rmi_server_RemoteObjectInvocationHandler__
+#define __java_rmi_server_RemoteObjectInvocationHandler__
+
+#pragma interface
+
+#include <java/rmi/server/RemoteObject.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace rmi
+ {
+ namespace server
+ {
+ class RemoteObjectInvocationHandler;
+ class RemoteRef;
+ }
+ }
+ }
+}
+
+class java::rmi::server::RemoteObjectInvocationHandler : public ::java::rmi::server::RemoteObject
+{
+
+public:
+ RemoteObjectInvocationHandler(::java::rmi::server::RemoteRef *);
+ virtual ::java::lang::Object * invoke(::java::lang::Object *, ::java::lang::reflect::Method *, JArray< ::java::lang::Object * > *);
+public: // actually package-private
+ static const jlong serialVersionUID = 2LL;
+ static ::java::util::Hashtable * methodHashCodes;
+ static JArray< ::java::lang::Class * > * noArgsC;
+ static JArray< ::java::lang::Class * > * anObjectC;
+ static JArray< ::java::lang::Object * > * noArgs;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_rmi_server_RemoteObjectInvocationHandler__
diff --git a/libjava/java/rmi/server/RemoteRef.h b/libjava/java/rmi/server/RemoteRef.h
new file mode 100644
index 0000000..e73eb3c
--- /dev/null
+++ b/libjava/java/rmi/server/RemoteRef.h
@@ -0,0 +1,49 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_rmi_server_RemoteRef__
+#define __java_rmi_server_RemoteRef__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace rmi
+ {
+ class Remote;
+ namespace server
+ {
+ class Operation;
+ class RemoteCall;
+ class RemoteObject;
+ class RemoteRef;
+ }
+ }
+ }
+}
+
+class java::rmi::server::RemoteRef : public ::java::lang::Object
+{
+
+public:
+ virtual void invoke(::java::rmi::server::RemoteCall *) = 0;
+ virtual ::java::lang::Object * invoke(::java::rmi::Remote *, ::java::lang::reflect::Method *, JArray< ::java::lang::Object * > *, jlong) = 0;
+ virtual ::java::rmi::server::RemoteCall * newCall(::java::rmi::server::RemoteObject *, JArray< ::java::rmi::server::Operation * > *, jint, jlong) = 0;
+ virtual void done(::java::rmi::server::RemoteCall *) = 0;
+ virtual jboolean remoteEquals(::java::rmi::server::RemoteRef *) = 0;
+ virtual jint remoteHashCode() = 0;
+ virtual ::java::lang::String * getRefClass(::java::io::ObjectOutput *) = 0;
+ virtual ::java::lang::String * remoteToString() = 0;
+ virtual void readExternal(::java::io::ObjectInput *) = 0;
+ virtual void writeExternal(::java::io::ObjectOutput *) = 0;
+ static const jlong serialVersionUID = 3632638527362204081LL;
+ static ::java::lang::String * packagePrefix;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_rmi_server_RemoteRef__
diff --git a/libjava/java/rmi/server/RemoteServer.h b/libjava/java/rmi/server/RemoteServer.h
new file mode 100644
index 0000000..9822a79
--- /dev/null
+++ b/libjava/java/rmi/server/RemoteServer.h
@@ -0,0 +1,41 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_rmi_server_RemoteServer__
+#define __java_rmi_server_RemoteServer__
+
+#pragma interface
+
+#include <java/rmi/server/RemoteObject.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace rmi
+ {
+ namespace server
+ {
+ class RemoteRef;
+ class RemoteServer;
+ }
+ }
+ }
+}
+
+class java::rmi::server::RemoteServer : public ::java::rmi::server::RemoteObject
+{
+
+public: // actually protected
+ RemoteServer();
+ RemoteServer(::java::rmi::server::RemoteRef *);
+public:
+ static ::java::lang::String * getClientHost();
+ static void setLog(::java::io::OutputStream *);
+ static ::java::io::PrintStream * getLog();
+private:
+ static const jlong serialVersionUID = -4100238210092549637LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_rmi_server_RemoteServer__
diff --git a/libjava/java/rmi/server/RemoteStub.h b/libjava/java/rmi/server/RemoteStub.h
new file mode 100644
index 0000000..75e1a7f
--- /dev/null
+++ b/libjava/java/rmi/server/RemoteStub.h
@@ -0,0 +1,38 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_rmi_server_RemoteStub__
+#define __java_rmi_server_RemoteStub__
+
+#pragma interface
+
+#include <java/rmi/server/RemoteObject.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace rmi
+ {
+ namespace server
+ {
+ class RemoteRef;
+ class RemoteStub;
+ }
+ }
+ }
+}
+
+class java::rmi::server::RemoteStub : public ::java::rmi::server::RemoteObject
+{
+
+public: // actually protected
+ RemoteStub();
+ RemoteStub(::java::rmi::server::RemoteRef *);
+ static void setRef(::java::rmi::server::RemoteStub *, ::java::rmi::server::RemoteRef *);
+public: // actually package-private
+ static const jlong serialVersionUID = -1585587260594494182LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_rmi_server_RemoteStub__
diff --git a/libjava/java/rmi/server/ServerCloneException.h b/libjava/java/rmi/server/ServerCloneException.h
new file mode 100644
index 0000000..37d027c
--- /dev/null
+++ b/libjava/java/rmi/server/ServerCloneException.h
@@ -0,0 +1,39 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_rmi_server_ServerCloneException__
+#define __java_rmi_server_ServerCloneException__
+
+#pragma interface
+
+#include <java/lang/CloneNotSupportedException.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace rmi
+ {
+ namespace server
+ {
+ class ServerCloneException;
+ }
+ }
+ }
+}
+
+class java::rmi::server::ServerCloneException : public ::java::lang::CloneNotSupportedException
+{
+
+public:
+ ServerCloneException(::java::lang::String *);
+ ServerCloneException(::java::lang::String *, ::java::lang::Exception *);
+ virtual ::java::lang::String * getMessage();
+ virtual ::java::lang::Throwable * getCause();
+private:
+ static const jlong serialVersionUID = 6617456357664815945LL;
+public:
+ ::java::lang::Exception * __attribute__((aligned(__alignof__( ::java::lang::CloneNotSupportedException)))) detail;
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_rmi_server_ServerCloneException__
diff --git a/libjava/java/rmi/server/ServerNotActiveException.h b/libjava/java/rmi/server/ServerNotActiveException.h
new file mode 100644
index 0000000..6064177
--- /dev/null
+++ b/libjava/java/rmi/server/ServerNotActiveException.h
@@ -0,0 +1,36 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_rmi_server_ServerNotActiveException__
+#define __java_rmi_server_ServerNotActiveException__
+
+#pragma interface
+
+#include <java/lang/Exception.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace rmi
+ {
+ namespace server
+ {
+ class ServerNotActiveException;
+ }
+ }
+ }
+}
+
+class java::rmi::server::ServerNotActiveException : public ::java::lang::Exception
+{
+
+public:
+ ServerNotActiveException();
+ ServerNotActiveException(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = 4687940720827538231LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_rmi_server_ServerNotActiveException__
diff --git a/libjava/java/rmi/server/ServerRef.h b/libjava/java/rmi/server/ServerRef.h
new file mode 100644
index 0000000..d0c3782
--- /dev/null
+++ b/libjava/java/rmi/server/ServerRef.h
@@ -0,0 +1,52 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_rmi_server_ServerRef__
+#define __java_rmi_server_ServerRef__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace rmi
+ {
+ class Remote;
+ namespace server
+ {
+ class Operation;
+ class RemoteCall;
+ class RemoteObject;
+ class RemoteRef;
+ class RemoteStub;
+ class ServerRef;
+ }
+ }
+ }
+}
+
+class java::rmi::server::ServerRef : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::rmi::server::RemoteStub * exportObject(::java::rmi::Remote *, ::java::lang::Object *) = 0;
+ virtual ::java::lang::String * getClientHost() = 0;
+ virtual void invoke(::java::rmi::server::RemoteCall *) = 0;
+ virtual ::java::lang::Object * invoke(::java::rmi::Remote *, ::java::lang::reflect::Method *, JArray< ::java::lang::Object * > *, jlong) = 0;
+ virtual ::java::rmi::server::RemoteCall * newCall(::java::rmi::server::RemoteObject *, JArray< ::java::rmi::server::Operation * > *, jint, jlong) = 0;
+ virtual void done(::java::rmi::server::RemoteCall *) = 0;
+ virtual jboolean remoteEquals(::java::rmi::server::RemoteRef *) = 0;
+ virtual jint remoteHashCode() = 0;
+ virtual ::java::lang::String * getRefClass(::java::io::ObjectOutput *) = 0;
+ virtual ::java::lang::String * remoteToString() = 0;
+ virtual void readExternal(::java::io::ObjectInput *) = 0;
+ virtual void writeExternal(::java::io::ObjectOutput *) = 0;
+ static const jlong serialVersionUID = -4557750989390278438LL;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_rmi_server_ServerRef__
diff --git a/libjava/java/rmi/server/Skeleton.h b/libjava/java/rmi/server/Skeleton.h
new file mode 100644
index 0000000..492385b
--- /dev/null
+++ b/libjava/java/rmi/server/Skeleton.h
@@ -0,0 +1,38 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_rmi_server_Skeleton__
+#define __java_rmi_server_Skeleton__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace rmi
+ {
+ class Remote;
+ namespace server
+ {
+ class Operation;
+ class RemoteCall;
+ class Skeleton;
+ }
+ }
+ }
+}
+
+class java::rmi::server::Skeleton : public ::java::lang::Object
+{
+
+public:
+ virtual void dispatch(::java::rmi::Remote *, ::java::rmi::server::RemoteCall *, jint, jlong) = 0;
+ virtual JArray< ::java::rmi::server::Operation * > * getOperations() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_rmi_server_Skeleton__
diff --git a/libjava/java/rmi/server/SkeletonMismatchException.h b/libjava/java/rmi/server/SkeletonMismatchException.h
new file mode 100644
index 0000000..6d5d492
--- /dev/null
+++ b/libjava/java/rmi/server/SkeletonMismatchException.h
@@ -0,0 +1,35 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_rmi_server_SkeletonMismatchException__
+#define __java_rmi_server_SkeletonMismatchException__
+
+#pragma interface
+
+#include <java/rmi/RemoteException.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace rmi
+ {
+ namespace server
+ {
+ class SkeletonMismatchException;
+ }
+ }
+ }
+}
+
+class java::rmi::server::SkeletonMismatchException : public ::java::rmi::RemoteException
+{
+
+public:
+ SkeletonMismatchException(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = -7780460454818859281LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_rmi_server_SkeletonMismatchException__
diff --git a/libjava/java/rmi/server/SkeletonNotFoundException.h b/libjava/java/rmi/server/SkeletonNotFoundException.h
new file mode 100644
index 0000000..f403029
--- /dev/null
+++ b/libjava/java/rmi/server/SkeletonNotFoundException.h
@@ -0,0 +1,36 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_rmi_server_SkeletonNotFoundException__
+#define __java_rmi_server_SkeletonNotFoundException__
+
+#pragma interface
+
+#include <java/rmi/RemoteException.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace rmi
+ {
+ namespace server
+ {
+ class SkeletonNotFoundException;
+ }
+ }
+ }
+}
+
+class java::rmi::server::SkeletonNotFoundException : public ::java::rmi::RemoteException
+{
+
+public:
+ SkeletonNotFoundException(::java::lang::String *);
+ SkeletonNotFoundException(::java::lang::String *, ::java::lang::Exception *);
+private:
+ static const jlong serialVersionUID = -7860299673822761231LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_rmi_server_SkeletonNotFoundException__
diff --git a/libjava/java/rmi/server/SocketSecurityException.h b/libjava/java/rmi/server/SocketSecurityException.h
new file mode 100644
index 0000000..39c3441
--- /dev/null
+++ b/libjava/java/rmi/server/SocketSecurityException.h
@@ -0,0 +1,36 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_rmi_server_SocketSecurityException__
+#define __java_rmi_server_SocketSecurityException__
+
+#pragma interface
+
+#include <java/rmi/server/ExportException.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace rmi
+ {
+ namespace server
+ {
+ class SocketSecurityException;
+ }
+ }
+ }
+}
+
+class java::rmi::server::SocketSecurityException : public ::java::rmi::server::ExportException
+{
+
+public:
+ SocketSecurityException(::java::lang::String *);
+ SocketSecurityException(::java::lang::String *, ::java::lang::Exception *);
+private:
+ static const jlong serialVersionUID = -7622072999407781979LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_rmi_server_SocketSecurityException__
diff --git a/libjava/java/rmi/server/UID.h b/libjava/java/rmi/server/UID.h
new file mode 100644
index 0000000..85887ea
--- /dev/null
+++ b/libjava/java/rmi/server/UID.h
@@ -0,0 +1,50 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_rmi_server_UID__
+#define __java_rmi_server_UID__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace rmi
+ {
+ namespace server
+ {
+ class UID;
+ }
+ }
+ }
+}
+
+class java::rmi::server::UID : public ::java::lang::Object
+{
+
+public:
+ UID();
+ UID(jshort);
+ jint hashCode();
+ jboolean equals(::java::lang::Object *);
+ static ::java::rmi::server::UID * read(::java::io::DataInput *);
+ void write(::java::io::DataOutput *);
+public: // actually package-private
+ static jint getMachineId();
+public:
+ ::java::lang::String * toString();
+private:
+ static const jlong serialVersionUID = 1086053664494604050LL;
+ static jshort uidCounter;
+ static jlong last;
+ static jint machineId;
+ jshort __attribute__((aligned(__alignof__( ::java::lang::Object)))) count;
+ jint unique;
+ jlong time;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_rmi_server_UID__
diff --git a/libjava/java/rmi/server/UnicastRemoteObject.h b/libjava/java/rmi/server/UnicastRemoteObject.h
new file mode 100644
index 0000000..274507f
--- /dev/null
+++ b/libjava/java/rmi/server/UnicastRemoteObject.h
@@ -0,0 +1,55 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_rmi_server_UnicastRemoteObject__
+#define __java_rmi_server_UnicastRemoteObject__
+
+#pragma interface
+
+#include <java/rmi/server/RemoteServer.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace rmi
+ {
+ class Remote;
+ namespace server
+ {
+ class RMIClientSocketFactory;
+ class RMIServerSocketFactory;
+ class RemoteRef;
+ class RemoteStub;
+ class UnicastRemoteObject;
+ }
+ }
+ }
+}
+
+class java::rmi::server::UnicastRemoteObject : public ::java::rmi::server::RemoteServer
+{
+
+public: // actually protected
+ UnicastRemoteObject();
+ UnicastRemoteObject(jint);
+ UnicastRemoteObject(jint, ::java::rmi::server::RMIClientSocketFactory *, ::java::rmi::server::RMIServerSocketFactory *);
+ UnicastRemoteObject(::java::rmi::server::RemoteRef *);
+public:
+ virtual ::java::lang::Object * clone();
+ static ::java::rmi::server::RemoteStub * exportObject(::java::rmi::Remote *);
+ static ::java::rmi::Remote * exportObject(::java::rmi::Remote *, jint);
+public: // actually package-private
+ static ::java::rmi::Remote * exportObject(::java::rmi::Remote *, jint, ::java::rmi::server::RMIServerSocketFactory *);
+public:
+ static ::java::rmi::Remote * exportObject(::java::rmi::Remote *, jint, ::java::rmi::server::RMIClientSocketFactory *, ::java::rmi::server::RMIServerSocketFactory *);
+ static jboolean unexportObject(::java::rmi::Remote *, jboolean);
+private:
+ static const jlong serialVersionUID = 4974527148936298033LL;
+ jint __attribute__((aligned(__alignof__( ::java::rmi::server::RemoteServer)))) port;
+ ::java::rmi::server::RMIClientSocketFactory * csf;
+ ::java::rmi::server::RMIServerSocketFactory * ssf;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_rmi_server_UnicastRemoteObject__
diff --git a/libjava/java/rmi/server/Unreferenced.h b/libjava/java/rmi/server/Unreferenced.h
new file mode 100644
index 0000000..70f802a
--- /dev/null
+++ b/libjava/java/rmi/server/Unreferenced.h
@@ -0,0 +1,32 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_rmi_server_Unreferenced__
+#define __java_rmi_server_Unreferenced__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace rmi
+ {
+ namespace server
+ {
+ class Unreferenced;
+ }
+ }
+ }
+}
+
+class java::rmi::server::Unreferenced : public ::java::lang::Object
+{
+
+public:
+ virtual void unreferenced() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_rmi_server_Unreferenced__
diff --git a/libjava/java/security/AccessControlContext.h b/libjava/java/security/AccessControlContext.h
new file mode 100644
index 0000000..e83852a
--- /dev/null
+++ b/libjava/java/security/AccessControlContext.h
@@ -0,0 +1,48 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_AccessControlContext__
+#define __java_security_AccessControlContext__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class AccessControlContext;
+ class DomainCombiner;
+ class Permission;
+ class ProtectionDomain;
+ }
+ }
+}
+
+class java::security::AccessControlContext : public ::java::lang::Object
+{
+
+public:
+ AccessControlContext(JArray< ::java::security::ProtectionDomain * > *);
+ AccessControlContext(::java::security::AccessControlContext *, ::java::security::DomainCombiner *);
+public: // actually package-private
+ AccessControlContext(JArray< ::java::security::ProtectionDomain * > *, ::java::security::AccessControlContext *, ::java::security::DomainCombiner *);
+public:
+ ::java::security::DomainCombiner * getDomainCombiner();
+ void checkPermission(::java::security::Permission *);
+ jboolean equals(::java::lang::Object *);
+ jint hashCode();
+public: // actually package-private
+ JArray< ::java::security::ProtectionDomain * > * getProtectionDomains();
+private:
+ JArray< ::java::security::ProtectionDomain * > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) protectionDomains;
+ ::java::security::DomainCombiner * combiner;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_AccessControlContext__
diff --git a/libjava/java/security/AccessControlException.h b/libjava/java/security/AccessControlException.h
new file mode 100644
index 0000000..1dcd122
--- /dev/null
+++ b/libjava/java/security/AccessControlException.h
@@ -0,0 +1,36 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_AccessControlException__
+#define __java_security_AccessControlException__
+
+#pragma interface
+
+#include <java/lang/SecurityException.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class AccessControlException;
+ class Permission;
+ }
+ }
+}
+
+class java::security::AccessControlException : public ::java::lang::SecurityException
+{
+
+public:
+ AccessControlException(::java::lang::String *);
+ AccessControlException(::java::lang::String *, ::java::security::Permission *);
+ virtual ::java::security::Permission * getPermission();
+private:
+ static const jlong serialVersionUID = 5138225684096988535LL;
+ ::java::security::Permission * __attribute__((aligned(__alignof__( ::java::lang::SecurityException)))) perm;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_AccessControlException__
diff --git a/libjava/java/security/AccessController.h b/libjava/java/security/AccessController.h
new file mode 100644
index 0000000..96cc367
--- /dev/null
+++ b/libjava/java/security/AccessController.h
@@ -0,0 +1,39 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_AccessController__
+#define __java_security_AccessController__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class AccessControlContext;
+ class AccessController;
+ class Permission;
+ class PrivilegedAction;
+ class PrivilegedExceptionAction;
+ }
+ }
+}
+
+class java::security::AccessController : public ::java::lang::Object
+{
+
+ AccessController();
+public:
+ static void checkPermission(::java::security::Permission *);
+ static ::java::lang::Object * doPrivileged(::java::security::PrivilegedAction *);
+ static ::java::lang::Object * doPrivileged(::java::security::PrivilegedAction *, ::java::security::AccessControlContext *);
+ static ::java::lang::Object * doPrivileged(::java::security::PrivilegedExceptionAction *);
+ static ::java::lang::Object * doPrivileged(::java::security::PrivilegedExceptionAction *, ::java::security::AccessControlContext *);
+ static ::java::security::AccessControlContext * getContext();
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_AccessController__
diff --git a/libjava/java/security/AlgorithmParameterGenerator.h b/libjava/java/security/AlgorithmParameterGenerator.h
new file mode 100644
index 0000000..02c9dbf
--- /dev/null
+++ b/libjava/java/security/AlgorithmParameterGenerator.h
@@ -0,0 +1,54 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_AlgorithmParameterGenerator__
+#define __java_security_AlgorithmParameterGenerator__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class AlgorithmParameterGenerator;
+ class AlgorithmParameterGeneratorSpi;
+ class AlgorithmParameters;
+ class Provider;
+ class SecureRandom;
+ namespace spec
+ {
+ class AlgorithmParameterSpec;
+ }
+ }
+ }
+}
+
+class java::security::AlgorithmParameterGenerator : public ::java::lang::Object
+{
+
+public: // actually protected
+ AlgorithmParameterGenerator(::java::security::AlgorithmParameterGeneratorSpi *, ::java::security::Provider *, ::java::lang::String *);
+public:
+ virtual ::java::lang::String * getAlgorithm();
+ static ::java::security::AlgorithmParameterGenerator * getInstance(::java::lang::String *);
+ static ::java::security::AlgorithmParameterGenerator * getInstance(::java::lang::String *, ::java::lang::String *);
+ static ::java::security::AlgorithmParameterGenerator * getInstance(::java::lang::String *, ::java::security::Provider *);
+ virtual ::java::security::Provider * getProvider();
+ virtual void init(jint);
+ virtual void init(jint, ::java::security::SecureRandom *);
+ virtual void init(::java::security::spec::AlgorithmParameterSpec *);
+ virtual void init(::java::security::spec::AlgorithmParameterSpec *, ::java::security::SecureRandom *);
+ virtual ::java::security::AlgorithmParameters * generateParameters();
+private:
+ static ::java::lang::String * ALGORITHM_PARAMETER_GENERATOR;
+ ::java::security::AlgorithmParameterGeneratorSpi * __attribute__((aligned(__alignof__( ::java::lang::Object)))) paramGenSpi;
+ ::java::security::Provider * provider;
+ ::java::lang::String * algorithm;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_AlgorithmParameterGenerator__
diff --git a/libjava/java/security/AlgorithmParameterGeneratorSpi.h b/libjava/java/security/AlgorithmParameterGeneratorSpi.h
new file mode 100644
index 0000000..c40dfd3
--- /dev/null
+++ b/libjava/java/security/AlgorithmParameterGeneratorSpi.h
@@ -0,0 +1,40 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_AlgorithmParameterGeneratorSpi__
+#define __java_security_AlgorithmParameterGeneratorSpi__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class AlgorithmParameterGeneratorSpi;
+ class AlgorithmParameters;
+ class SecureRandom;
+ namespace spec
+ {
+ class AlgorithmParameterSpec;
+ }
+ }
+ }
+}
+
+class java::security::AlgorithmParameterGeneratorSpi : public ::java::lang::Object
+{
+
+public:
+ AlgorithmParameterGeneratorSpi();
+public: // actually protected
+ virtual void engineInit(jint, ::java::security::SecureRandom *) = 0;
+ virtual void engineInit(::java::security::spec::AlgorithmParameterSpec *, ::java::security::SecureRandom *) = 0;
+ virtual ::java::security::AlgorithmParameters * engineGenerateParameters() = 0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_AlgorithmParameterGeneratorSpi__
diff --git a/libjava/java/security/AlgorithmParameters.h b/libjava/java/security/AlgorithmParameters.h
new file mode 100644
index 0000000..630b043
--- /dev/null
+++ b/libjava/java/security/AlgorithmParameters.h
@@ -0,0 +1,56 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_AlgorithmParameters__
+#define __java_security_AlgorithmParameters__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class AlgorithmParameters;
+ class AlgorithmParametersSpi;
+ class Provider;
+ namespace spec
+ {
+ class AlgorithmParameterSpec;
+ }
+ }
+ }
+}
+
+class java::security::AlgorithmParameters : public ::java::lang::Object
+{
+
+public: // actually protected
+ AlgorithmParameters(::java::security::AlgorithmParametersSpi *, ::java::security::Provider *, ::java::lang::String *);
+public:
+ virtual ::java::lang::String * getAlgorithm();
+ static ::java::security::AlgorithmParameters * getInstance(::java::lang::String *);
+ static ::java::security::AlgorithmParameters * getInstance(::java::lang::String *, ::java::lang::String *);
+ static ::java::security::AlgorithmParameters * getInstance(::java::lang::String *, ::java::security::Provider *);
+ virtual ::java::security::Provider * getProvider();
+ virtual void init(::java::security::spec::AlgorithmParameterSpec *);
+ virtual void init(JArray< jbyte > *);
+ virtual void init(JArray< jbyte > *, ::java::lang::String *);
+ virtual ::java::security::spec::AlgorithmParameterSpec * getParameterSpec(::java::lang::Class *);
+ virtual JArray< jbyte > * getEncoded();
+ virtual JArray< jbyte > * getEncoded(::java::lang::String *);
+ virtual ::java::lang::String * toString();
+private:
+ static ::java::lang::String * ALGORITHM_PARAMETERS;
+ ::java::security::AlgorithmParametersSpi * __attribute__((aligned(__alignof__( ::java::lang::Object)))) paramSpi;
+ ::java::security::Provider * provider;
+ ::java::lang::String * algorithm;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_AlgorithmParameters__
diff --git a/libjava/java/security/AlgorithmParametersSpi.h b/libjava/java/security/AlgorithmParametersSpi.h
new file mode 100644
index 0000000..a3c2696
--- /dev/null
+++ b/libjava/java/security/AlgorithmParametersSpi.h
@@ -0,0 +1,44 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_AlgorithmParametersSpi__
+#define __java_security_AlgorithmParametersSpi__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class AlgorithmParametersSpi;
+ namespace spec
+ {
+ class AlgorithmParameterSpec;
+ }
+ }
+ }
+}
+
+class java::security::AlgorithmParametersSpi : public ::java::lang::Object
+{
+
+public:
+ AlgorithmParametersSpi();
+public: // actually protected
+ virtual void engineInit(::java::security::spec::AlgorithmParameterSpec *) = 0;
+ virtual void engineInit(JArray< jbyte > *) = 0;
+ virtual void engineInit(JArray< jbyte > *, ::java::lang::String *) = 0;
+ virtual ::java::security::spec::AlgorithmParameterSpec * engineGetParameterSpec(::java::lang::Class *) = 0;
+ virtual JArray< jbyte > * engineGetEncoded() = 0;
+ virtual JArray< jbyte > * engineGetEncoded(::java::lang::String *) = 0;
+ virtual ::java::lang::String * engineToString() = 0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_AlgorithmParametersSpi__
diff --git a/libjava/java/security/AllPermission$AllPermissionCollection.h b/libjava/java/security/AllPermission$AllPermissionCollection.h
new file mode 100644
index 0000000..bf88353
--- /dev/null
+++ b/libjava/java/security/AllPermission$AllPermissionCollection.h
@@ -0,0 +1,39 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_AllPermission$AllPermissionCollection__
+#define __java_security_AllPermission$AllPermissionCollection__
+
+#pragma interface
+
+#include <java/security/PermissionCollection.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class AllPermission$AllPermissionCollection;
+ class Permission;
+ }
+ }
+}
+
+class java::security::AllPermission$AllPermissionCollection : public ::java::security::PermissionCollection
+{
+
+ AllPermission$AllPermissionCollection();
+public:
+ void add(::java::security::Permission *);
+ jboolean implies(::java::security::Permission *);
+ ::java::util::Enumeration * elements();
+public: // actually package-private
+ AllPermission$AllPermissionCollection(::java::security::AllPermission$AllPermissionCollection *);
+private:
+ static const jlong serialVersionUID = -4023755556366636806LL;
+ jboolean __attribute__((aligned(__alignof__( ::java::security::PermissionCollection)))) all_allowed;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_AllPermission$AllPermissionCollection__
diff --git a/libjava/java/security/AllPermission.h b/libjava/java/security/AllPermission.h
new file mode 100644
index 0000000..7700a93
--- /dev/null
+++ b/libjava/java/security/AllPermission.h
@@ -0,0 +1,40 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_AllPermission__
+#define __java_security_AllPermission__
+
+#pragma interface
+
+#include <java/security/Permission.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class AllPermission;
+ class Permission;
+ class PermissionCollection;
+ }
+ }
+}
+
+class java::security::AllPermission : public ::java::security::Permission
+{
+
+public:
+ AllPermission();
+ AllPermission(::java::lang::String *, ::java::lang::String *);
+ jboolean implies(::java::security::Permission *);
+ jboolean equals(::java::lang::Object *);
+ jint hashCode();
+ ::java::lang::String * getActions();
+ ::java::security::PermissionCollection * newPermissionCollection();
+private:
+ static const jlong serialVersionUID = -2916474571451318075LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_AllPermission__
diff --git a/libjava/java/security/BasicPermission$BasicPermissionCollection.h b/libjava/java/security/BasicPermission$BasicPermissionCollection.h
new file mode 100644
index 0000000..a2d1454
--- /dev/null
+++ b/libjava/java/security/BasicPermission$BasicPermissionCollection.h
@@ -0,0 +1,40 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_BasicPermission$BasicPermissionCollection__
+#define __java_security_BasicPermission$BasicPermissionCollection__
+
+#pragma interface
+
+#include <java/security/PermissionCollection.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class BasicPermission$BasicPermissionCollection;
+ class Permission;
+ }
+ }
+}
+
+class java::security::BasicPermission$BasicPermissionCollection : public ::java::security::PermissionCollection
+{
+
+public: // actually package-private
+ BasicPermission$BasicPermissionCollection(::java::lang::Class *);
+public:
+ void add(::java::security::Permission *);
+ jboolean implies(::java::security::Permission *);
+ ::java::util::Enumeration * elements();
+private:
+ static const jlong serialVersionUID = 739301742472979399LL;
+ ::java::util::Hashtable * __attribute__((aligned(__alignof__( ::java::security::PermissionCollection)))) permissions;
+ jboolean all_allowed;
+ ::java::lang::Class * permClass;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_BasicPermission$BasicPermissionCollection__
diff --git a/libjava/java/security/BasicPermission.h b/libjava/java/security/BasicPermission.h
new file mode 100644
index 0000000..3683862
--- /dev/null
+++ b/libjava/java/security/BasicPermission.h
@@ -0,0 +1,40 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_BasicPermission__
+#define __java_security_BasicPermission__
+
+#pragma interface
+
+#include <java/security/Permission.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class BasicPermission;
+ class Permission;
+ class PermissionCollection;
+ }
+ }
+}
+
+class java::security::BasicPermission : public ::java::security::Permission
+{
+
+public:
+ BasicPermission(::java::lang::String *);
+ BasicPermission(::java::lang::String *, ::java::lang::String *);
+ virtual jboolean implies(::java::security::Permission *);
+ virtual jboolean equals(::java::lang::Object *);
+ virtual jint hashCode();
+ virtual ::java::lang::String * getActions();
+ virtual ::java::security::PermissionCollection * newPermissionCollection();
+private:
+ static const jlong serialVersionUID = 6279438298436773498LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_BasicPermission__
diff --git a/libjava/java/security/Certificate.h b/libjava/java/security/Certificate.h
new file mode 100644
index 0000000..9c7af28
--- /dev/null
+++ b/libjava/java/security/Certificate.h
@@ -0,0 +1,37 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_Certificate__
+#define __java_security_Certificate__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class Certificate;
+ class Principal;
+ class PublicKey;
+ }
+ }
+}
+
+class java::security::Certificate : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::security::Principal * getGuarantor() = 0;
+ virtual ::java::security::Principal * getPrincipal() = 0;
+ virtual ::java::security::PublicKey * getPublicKey() = 0;
+ virtual void encode(::java::io::OutputStream *) = 0;
+ virtual void decode(::java::io::InputStream *) = 0;
+ virtual ::java::lang::String * getFormat() = 0;
+ virtual ::java::lang::String * toString(jboolean) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_security_Certificate__
diff --git a/libjava/java/security/CodeSource.h b/libjava/java/security/CodeSource.h
new file mode 100644
index 0000000..35dffd9
--- /dev/null
+++ b/libjava/java/security/CodeSource.h
@@ -0,0 +1,52 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_CodeSource__
+#define __java_security_CodeSource__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace net
+ {
+ class URL;
+ }
+ namespace security
+ {
+ class CodeSource;
+ namespace cert
+ {
+ class Certificate;
+ }
+ }
+ }
+}
+
+class java::security::CodeSource : public ::java::lang::Object
+{
+
+public:
+ CodeSource(::java::net::URL *, JArray< ::java::security::cert::Certificate * > *);
+ virtual jint hashCode();
+ virtual jboolean equals(::java::lang::Object *);
+ virtual ::java::net::URL * getLocation();
+ virtual JArray< ::java::security::cert::Certificate * > * getCertificates();
+ virtual jboolean implies(::java::security::CodeSource *);
+ virtual ::java::lang::String * toString();
+private:
+ void readObject(::java::io::ObjectInputStream *);
+ void writeObject(::java::io::ObjectOutputStream *);
+ static const jlong serialVersionUID = 4977541819976013951LL;
+ ::java::net::URL * __attribute__((aligned(__alignof__( ::java::lang::Object)))) location;
+ ::java::util::HashSet * certs;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_CodeSource__
diff --git a/libjava/java/security/DigestException.h b/libjava/java/security/DigestException.h
new file mode 100644
index 0000000..d216415
--- /dev/null
+++ b/libjava/java/security/DigestException.h
@@ -0,0 +1,35 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_DigestException__
+#define __java_security_DigestException__
+
+#pragma interface
+
+#include <java/security/GeneralSecurityException.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class DigestException;
+ }
+ }
+}
+
+class java::security::DigestException : public ::java::security::GeneralSecurityException
+{
+
+public:
+ DigestException();
+ DigestException(::java::lang::String *);
+ DigestException(::java::lang::String *, ::java::lang::Throwable *);
+ DigestException(::java::lang::Throwable *);
+private:
+ static const jlong serialVersionUID = 5821450303093652515LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_DigestException__
diff --git a/libjava/java/security/DigestInputStream.h b/libjava/java/security/DigestInputStream.h
new file mode 100644
index 0000000..b112ad2
--- /dev/null
+++ b/libjava/java/security/DigestInputStream.h
@@ -0,0 +1,43 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_DigestInputStream__
+#define __java_security_DigestInputStream__
+
+#pragma interface
+
+#include <java/io/FilterInputStream.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class DigestInputStream;
+ class MessageDigest;
+ }
+ }
+}
+
+class java::security::DigestInputStream : public ::java::io::FilterInputStream
+{
+
+public:
+ DigestInputStream(::java::io::InputStream *, ::java::security::MessageDigest *);
+ virtual ::java::security::MessageDigest * getMessageDigest();
+ virtual void setMessageDigest(::java::security::MessageDigest *);
+ virtual jint read();
+ virtual jint read(JArray< jbyte > *, jint, jint);
+ virtual void on(jboolean);
+ virtual ::java::lang::String * toString();
+public: // actually protected
+ ::java::security::MessageDigest * __attribute__((aligned(__alignof__( ::java::io::FilterInputStream)))) digest;
+private:
+ jboolean state;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_DigestInputStream__
diff --git a/libjava/java/security/DigestOutputStream.h b/libjava/java/security/DigestOutputStream.h
new file mode 100644
index 0000000..5c1605c
--- /dev/null
+++ b/libjava/java/security/DigestOutputStream.h
@@ -0,0 +1,43 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_DigestOutputStream__
+#define __java_security_DigestOutputStream__
+
+#pragma interface
+
+#include <java/io/FilterOutputStream.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class DigestOutputStream;
+ class MessageDigest;
+ }
+ }
+}
+
+class java::security::DigestOutputStream : public ::java::io::FilterOutputStream
+{
+
+public:
+ DigestOutputStream(::java::io::OutputStream *, ::java::security::MessageDigest *);
+ virtual ::java::security::MessageDigest * getMessageDigest();
+ virtual void setMessageDigest(::java::security::MessageDigest *);
+ virtual void write(jint);
+ virtual void write(JArray< jbyte > *, jint, jint);
+ virtual void on(jboolean);
+ virtual ::java::lang::String * toString();
+public: // actually protected
+ ::java::security::MessageDigest * __attribute__((aligned(__alignof__( ::java::io::FilterOutputStream)))) digest;
+private:
+ jboolean state;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_DigestOutputStream__
diff --git a/libjava/java/security/DomainCombiner.h b/libjava/java/security/DomainCombiner.h
new file mode 100644
index 0000000..18906b9
--- /dev/null
+++ b/libjava/java/security/DomainCombiner.h
@@ -0,0 +1,32 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_DomainCombiner__
+#define __java_security_DomainCombiner__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class DomainCombiner;
+ class ProtectionDomain;
+ }
+ }
+}
+
+class java::security::DomainCombiner : public ::java::lang::Object
+{
+
+public:
+ virtual JArray< ::java::security::ProtectionDomain * > * combine(JArray< ::java::security::ProtectionDomain * > *, JArray< ::java::security::ProtectionDomain * > *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_security_DomainCombiner__
diff --git a/libjava/java/security/DummyKeyPairGenerator.h b/libjava/java/security/DummyKeyPairGenerator.h
new file mode 100644
index 0000000..c0f3581
--- /dev/null
+++ b/libjava/java/security/DummyKeyPairGenerator.h
@@ -0,0 +1,43 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_DummyKeyPairGenerator__
+#define __java_security_DummyKeyPairGenerator__
+
+#pragma interface
+
+#include <java/security/KeyPairGenerator.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class DummyKeyPairGenerator;
+ class KeyPair;
+ class KeyPairGeneratorSpi;
+ class SecureRandom;
+ namespace spec
+ {
+ class AlgorithmParameterSpec;
+ }
+ }
+ }
+}
+
+class java::security::DummyKeyPairGenerator : public ::java::security::KeyPairGenerator
+{
+
+public:
+ DummyKeyPairGenerator(::java::security::KeyPairGeneratorSpi *, ::java::lang::String *);
+ ::java::lang::Object * clone();
+ void initialize(jint, ::java::security::SecureRandom *);
+ void initialize(::java::security::spec::AlgorithmParameterSpec *, ::java::security::SecureRandom *);
+ ::java::security::KeyPair * generateKeyPair();
+private:
+ ::java::security::KeyPairGeneratorSpi * __attribute__((aligned(__alignof__( ::java::security::KeyPairGenerator)))) kpgSpi;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_DummyKeyPairGenerator__
diff --git a/libjava/java/security/DummyMessageDigest.h b/libjava/java/security/DummyMessageDigest.h
new file mode 100644
index 0000000..431096d
--- /dev/null
+++ b/libjava/java/security/DummyMessageDigest.h
@@ -0,0 +1,42 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_DummyMessageDigest__
+#define __java_security_DummyMessageDigest__
+
+#pragma interface
+
+#include <java/security/MessageDigest.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class DummyMessageDigest;
+ class MessageDigestSpi;
+ }
+ }
+}
+
+class java::security::DummyMessageDigest : public ::java::security::MessageDigest
+{
+
+public:
+ DummyMessageDigest(::java::security::MessageDigestSpi *, ::java::lang::String *);
+ ::java::lang::Object * clone();
+ JArray< jbyte > * engineDigest();
+ jint engineDigest(JArray< jbyte > *, jint, jint);
+ jint engineGetDigestLength();
+ void engineReset();
+ void engineUpdate(jbyte);
+ void engineUpdate(JArray< jbyte > *, jint, jint);
+private:
+ ::java::security::MessageDigestSpi * __attribute__((aligned(__alignof__( ::java::security::MessageDigest)))) mdSpi;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_DummyMessageDigest__
diff --git a/libjava/java/security/DummySignature.h b/libjava/java/security/DummySignature.h
new file mode 100644
index 0000000..3454747
--- /dev/null
+++ b/libjava/java/security/DummySignature.h
@@ -0,0 +1,47 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_DummySignature__
+#define __java_security_DummySignature__
+
+#pragma interface
+
+#include <java/security/Signature.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class DummySignature;
+ class PrivateKey;
+ class PublicKey;
+ class SignatureSpi;
+ }
+ }
+}
+
+class java::security::DummySignature : public ::java::security::Signature
+{
+
+public:
+ DummySignature(::java::security::SignatureSpi *, ::java::lang::String *);
+ ::java::lang::Object * clone();
+public: // actually protected
+ void engineInitVerify(::java::security::PublicKey *);
+ void engineInitSign(::java::security::PrivateKey *);
+ void engineUpdate(jbyte);
+ void engineUpdate(JArray< jbyte > *, jint, jint);
+ JArray< jbyte > * engineSign();
+ jboolean engineVerify(JArray< jbyte > *);
+ void engineSetParameter(::java::lang::String *, ::java::lang::Object *);
+ ::java::lang::Object * engineGetParameter(::java::lang::String *);
+private:
+ ::java::security::SignatureSpi * __attribute__((aligned(__alignof__( ::java::security::Signature)))) sigSpi;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_DummySignature__
diff --git a/libjava/java/security/GeneralSecurityException.h b/libjava/java/security/GeneralSecurityException.h
new file mode 100644
index 0000000..6b309b5
--- /dev/null
+++ b/libjava/java/security/GeneralSecurityException.h
@@ -0,0 +1,35 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_GeneralSecurityException__
+#define __java_security_GeneralSecurityException__
+
+#pragma interface
+
+#include <java/lang/Exception.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class GeneralSecurityException;
+ }
+ }
+}
+
+class java::security::GeneralSecurityException : public ::java::lang::Exception
+{
+
+public:
+ GeneralSecurityException();
+ GeneralSecurityException(::java::lang::String *);
+ GeneralSecurityException(::java::lang::String *, ::java::lang::Throwable *);
+ GeneralSecurityException(::java::lang::Throwable *);
+private:
+ static const jlong serialVersionUID = 894798122053539237LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_GeneralSecurityException__
diff --git a/libjava/java/security/Guard.h b/libjava/java/security/Guard.h
new file mode 100644
index 0000000..07cc643
--- /dev/null
+++ b/libjava/java/security/Guard.h
@@ -0,0 +1,29 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_Guard__
+#define __java_security_Guard__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class Guard;
+ }
+ }
+}
+
+class java::security::Guard : public ::java::lang::Object
+{
+
+public:
+ virtual void checkGuard(::java::lang::Object *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_security_Guard__
diff --git a/libjava/java/security/GuardedObject.h b/libjava/java/security/GuardedObject.h
new file mode 100644
index 0000000..3796512
--- /dev/null
+++ b/libjava/java/security/GuardedObject.h
@@ -0,0 +1,37 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_GuardedObject__
+#define __java_security_GuardedObject__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class Guard;
+ class GuardedObject;
+ }
+ }
+}
+
+class java::security::GuardedObject : public ::java::lang::Object
+{
+
+public:
+ GuardedObject(::java::lang::Object *, ::java::security::Guard *);
+ virtual ::java::lang::Object * getObject();
+private:
+ void writeObject(::java::io::ObjectOutputStream *);
+ static const jlong serialVersionUID = -5240450096227834308LL;
+ ::java::security::Guard * __attribute__((aligned(__alignof__( ::java::lang::Object)))) guard;
+ ::java::lang::Object * object;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_GuardedObject__
diff --git a/libjava/java/security/Identity.h b/libjava/java/security/Identity.h
new file mode 100644
index 0000000..8208e7f
--- /dev/null
+++ b/libjava/java/security/Identity.h
@@ -0,0 +1,61 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_Identity__
+#define __java_security_Identity__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class Certificate;
+ class Identity;
+ class IdentityScope;
+ class PublicKey;
+ }
+ }
+}
+
+class java::security::Identity : public ::java::lang::Object
+{
+
+public: // actually protected
+ Identity();
+public:
+ Identity(::java::lang::String *, ::java::security::IdentityScope *);
+ Identity(::java::lang::String *);
+ virtual ::java::lang::String * getName();
+ virtual ::java::security::IdentityScope * getScope();
+ virtual ::java::security::PublicKey * getPublicKey();
+ virtual void setPublicKey(::java::security::PublicKey *);
+ virtual void setInfo(::java::lang::String *);
+ virtual ::java::lang::String * getInfo();
+ virtual void addCertificate(::java::security::Certificate *);
+ virtual void removeCertificate(::java::security::Certificate *);
+ virtual JArray< ::java::security::Certificate * > * certificates();
+ virtual jboolean equals(::java::lang::Object *);
+public: // actually protected
+ virtual jboolean identityEquals(::java::security::Identity *);
+public:
+ virtual ::java::lang::String * toString();
+ virtual ::java::lang::String * toString(jboolean);
+ virtual jint hashCode();
+private:
+ static const jlong serialVersionUID = 3609922007826600659LL;
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) name;
+ ::java::security::IdentityScope * scope;
+ ::java::security::PublicKey * publicKey;
+ ::java::lang::String * info;
+ ::java::util::Vector * certificates__;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_Identity__
diff --git a/libjava/java/security/IdentityScope.h b/libjava/java/security/IdentityScope.h
new file mode 100644
index 0000000..90a4930
--- /dev/null
+++ b/libjava/java/security/IdentityScope.h
@@ -0,0 +1,51 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_IdentityScope__
+#define __java_security_IdentityScope__
+
+#pragma interface
+
+#include <java/security/Identity.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class Identity;
+ class IdentityScope;
+ class Principal;
+ class PublicKey;
+ }
+ }
+}
+
+class java::security::IdentityScope : public ::java::security::Identity
+{
+
+public: // actually protected
+ IdentityScope();
+public:
+ IdentityScope(::java::lang::String *);
+ IdentityScope(::java::lang::String *, ::java::security::IdentityScope *);
+ static ::java::security::IdentityScope * getSystemScope();
+public: // actually protected
+ static void setSystemScope(::java::security::IdentityScope *);
+public:
+ virtual jint size() = 0;
+ virtual ::java::security::Identity * getIdentity(::java::lang::String *) = 0;
+ virtual ::java::security::Identity * getIdentity(::java::security::Principal *);
+ virtual ::java::security::Identity * getIdentity(::java::security::PublicKey *) = 0;
+ virtual void addIdentity(::java::security::Identity *) = 0;
+ virtual void removeIdentity(::java::security::Identity *) = 0;
+ virtual ::java::util::Enumeration * identities() = 0;
+ virtual ::java::lang::String * toString();
+private:
+ static const jlong serialVersionUID = -2337346281189773310LL;
+ static ::java::security::IdentityScope * systemScope;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_IdentityScope__
diff --git a/libjava/java/security/IntersectingDomainCombiner.h b/libjava/java/security/IntersectingDomainCombiner.h
new file mode 100644
index 0000000..f192c26
--- /dev/null
+++ b/libjava/java/security/IntersectingDomainCombiner.h
@@ -0,0 +1,36 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_IntersectingDomainCombiner__
+#define __java_security_IntersectingDomainCombiner__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class IntersectingDomainCombiner;
+ class ProtectionDomain;
+ }
+ }
+}
+
+class java::security::IntersectingDomainCombiner : public ::java::lang::Object
+{
+
+ IntersectingDomainCombiner();
+public:
+ JArray< ::java::security::ProtectionDomain * > * combine(JArray< ::java::security::ProtectionDomain * > *, JArray< ::java::security::ProtectionDomain * > *);
+public: // actually package-private
+ static ::java::security::IntersectingDomainCombiner * SINGLETON;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_IntersectingDomainCombiner__
diff --git a/libjava/java/security/InvalidAlgorithmParameterException.h b/libjava/java/security/InvalidAlgorithmParameterException.h
new file mode 100644
index 0000000..8ff0d7e
--- /dev/null
+++ b/libjava/java/security/InvalidAlgorithmParameterException.h
@@ -0,0 +1,35 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_InvalidAlgorithmParameterException__
+#define __java_security_InvalidAlgorithmParameterException__
+
+#pragma interface
+
+#include <java/security/GeneralSecurityException.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class InvalidAlgorithmParameterException;
+ }
+ }
+}
+
+class java::security::InvalidAlgorithmParameterException : public ::java::security::GeneralSecurityException
+{
+
+public:
+ InvalidAlgorithmParameterException();
+ InvalidAlgorithmParameterException(::java::lang::String *);
+ InvalidAlgorithmParameterException(::java::lang::String *, ::java::lang::Throwable *);
+ InvalidAlgorithmParameterException(::java::lang::Throwable *);
+private:
+ static const jlong serialVersionUID = 2864672297499471472LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_InvalidAlgorithmParameterException__
diff --git a/libjava/java/security/InvalidKeyException.h b/libjava/java/security/InvalidKeyException.h
new file mode 100644
index 0000000..f79473c
--- /dev/null
+++ b/libjava/java/security/InvalidKeyException.h
@@ -0,0 +1,35 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_InvalidKeyException__
+#define __java_security_InvalidKeyException__
+
+#pragma interface
+
+#include <java/security/KeyException.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class InvalidKeyException;
+ }
+ }
+}
+
+class java::security::InvalidKeyException : public ::java::security::KeyException
+{
+
+public:
+ InvalidKeyException();
+ InvalidKeyException(::java::lang::String *);
+ InvalidKeyException(::java::lang::String *, ::java::lang::Throwable *);
+ InvalidKeyException(::java::lang::Throwable *);
+private:
+ static const jlong serialVersionUID = 5698479920593359816LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_InvalidKeyException__
diff --git a/libjava/java/security/InvalidParameterException.h b/libjava/java/security/InvalidParameterException.h
new file mode 100644
index 0000000..fd9c9a7
--- /dev/null
+++ b/libjava/java/security/InvalidParameterException.h
@@ -0,0 +1,33 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_InvalidParameterException__
+#define __java_security_InvalidParameterException__
+
+#pragma interface
+
+#include <java/lang/IllegalArgumentException.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class InvalidParameterException;
+ }
+ }
+}
+
+class java::security::InvalidParameterException : public ::java::lang::IllegalArgumentException
+{
+
+public:
+ InvalidParameterException();
+ InvalidParameterException(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = -857968536935667808LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_InvalidParameterException__
diff --git a/libjava/java/security/Key.h b/libjava/java/security/Key.h
new file mode 100644
index 0000000..630f812
--- /dev/null
+++ b/libjava/java/security/Key.h
@@ -0,0 +1,34 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_Key__
+#define __java_security_Key__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class Key;
+ }
+ }
+}
+
+class java::security::Key : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::lang::String * getAlgorithm() = 0;
+ virtual ::java::lang::String * getFormat() = 0;
+ virtual JArray< jbyte > * getEncoded() = 0;
+ static const jlong serialVersionUID = 6603384152749567654LL;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_security_Key__
diff --git a/libjava/java/security/KeyException.h b/libjava/java/security/KeyException.h
new file mode 100644
index 0000000..0d3ce51
--- /dev/null
+++ b/libjava/java/security/KeyException.h
@@ -0,0 +1,35 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_KeyException__
+#define __java_security_KeyException__
+
+#pragma interface
+
+#include <java/security/GeneralSecurityException.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class KeyException;
+ }
+ }
+}
+
+class java::security::KeyException : public ::java::security::GeneralSecurityException
+{
+
+public:
+ KeyException();
+ KeyException(::java::lang::String *);
+ KeyException(::java::lang::String *, ::java::lang::Throwable *);
+ KeyException(::java::lang::Throwable *);
+private:
+ static const jlong serialVersionUID = -7483676942812432108LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_KeyException__
diff --git a/libjava/java/security/KeyFactory.h b/libjava/java/security/KeyFactory.h
new file mode 100644
index 0000000..adcec17
--- /dev/null
+++ b/libjava/java/security/KeyFactory.h
@@ -0,0 +1,54 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_KeyFactory__
+#define __java_security_KeyFactory__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class Key;
+ class KeyFactory;
+ class KeyFactorySpi;
+ class PrivateKey;
+ class Provider;
+ class PublicKey;
+ namespace spec
+ {
+ class KeySpec;
+ }
+ }
+ }
+}
+
+class java::security::KeyFactory : public ::java::lang::Object
+{
+
+public: // actually protected
+ KeyFactory(::java::security::KeyFactorySpi *, ::java::security::Provider *, ::java::lang::String *);
+public:
+ static ::java::security::KeyFactory * getInstance(::java::lang::String *);
+ static ::java::security::KeyFactory * getInstance(::java::lang::String *, ::java::lang::String *);
+ static ::java::security::KeyFactory * getInstance(::java::lang::String *, ::java::security::Provider *);
+ virtual ::java::security::Provider * getProvider();
+ virtual ::java::lang::String * getAlgorithm();
+ virtual ::java::security::PublicKey * generatePublic(::java::security::spec::KeySpec *);
+ virtual ::java::security::PrivateKey * generatePrivate(::java::security::spec::KeySpec *);
+ virtual ::java::security::spec::KeySpec * getKeySpec(::java::security::Key *, ::java::lang::Class *);
+ virtual ::java::security::Key * translateKey(::java::security::Key *);
+private:
+ static ::java::lang::String * KEY_FACTORY;
+ ::java::security::KeyFactorySpi * __attribute__((aligned(__alignof__( ::java::lang::Object)))) keyFacSpi;
+ ::java::security::Provider * provider;
+ ::java::lang::String * algorithm;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_KeyFactory__
diff --git a/libjava/java/security/KeyFactorySpi.h b/libjava/java/security/KeyFactorySpi.h
new file mode 100644
index 0000000..518893b5
--- /dev/null
+++ b/libjava/java/security/KeyFactorySpi.h
@@ -0,0 +1,42 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_KeyFactorySpi__
+#define __java_security_KeyFactorySpi__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class Key;
+ class KeyFactorySpi;
+ class PrivateKey;
+ class PublicKey;
+ namespace spec
+ {
+ class KeySpec;
+ }
+ }
+ }
+}
+
+class java::security::KeyFactorySpi : public ::java::lang::Object
+{
+
+public:
+ KeyFactorySpi();
+public: // actually protected
+ virtual ::java::security::PublicKey * engineGeneratePublic(::java::security::spec::KeySpec *) = 0;
+ virtual ::java::security::PrivateKey * engineGeneratePrivate(::java::security::spec::KeySpec *) = 0;
+ virtual ::java::security::spec::KeySpec * engineGetKeySpec(::java::security::Key *, ::java::lang::Class *) = 0;
+ virtual ::java::security::Key * engineTranslateKey(::java::security::Key *) = 0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_KeyFactorySpi__
diff --git a/libjava/java/security/KeyManagementException.h b/libjava/java/security/KeyManagementException.h
new file mode 100644
index 0000000..20d6964
--- /dev/null
+++ b/libjava/java/security/KeyManagementException.h
@@ -0,0 +1,35 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_KeyManagementException__
+#define __java_security_KeyManagementException__
+
+#pragma interface
+
+#include <java/security/KeyException.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class KeyManagementException;
+ }
+ }
+}
+
+class java::security::KeyManagementException : public ::java::security::KeyException
+{
+
+public:
+ KeyManagementException();
+ KeyManagementException(::java::lang::String *);
+ KeyManagementException(::java::lang::String *, ::java::lang::Throwable *);
+ KeyManagementException(::java::lang::Throwable *);
+private:
+ static const jlong serialVersionUID = 947674216157062695LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_KeyManagementException__
diff --git a/libjava/java/security/KeyPair.h b/libjava/java/security/KeyPair.h
new file mode 100644
index 0000000..c6c607b
--- /dev/null
+++ b/libjava/java/security/KeyPair.h
@@ -0,0 +1,38 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_KeyPair__
+#define __java_security_KeyPair__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class KeyPair;
+ class PrivateKey;
+ class PublicKey;
+ }
+ }
+}
+
+class java::security::KeyPair : public ::java::lang::Object
+{
+
+public:
+ KeyPair(::java::security::PublicKey *, ::java::security::PrivateKey *);
+ ::java::security::PublicKey * getPublic();
+ ::java::security::PrivateKey * getPrivate();
+private:
+ static const jlong serialVersionUID = -7565189502268009837LL;
+ ::java::security::PublicKey * __attribute__((aligned(__alignof__( ::java::lang::Object)))) publicKey;
+ ::java::security::PrivateKey * privateKey;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_KeyPair__
diff --git a/libjava/java/security/KeyPairGenerator.h b/libjava/java/security/KeyPairGenerator.h
new file mode 100644
index 0000000..f1bef60
--- /dev/null
+++ b/libjava/java/security/KeyPairGenerator.h
@@ -0,0 +1,55 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_KeyPairGenerator__
+#define __java_security_KeyPairGenerator__
+
+#pragma interface
+
+#include <java/security/KeyPairGeneratorSpi.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class KeyPair;
+ class KeyPairGenerator;
+ class Provider;
+ class SecureRandom;
+ namespace spec
+ {
+ class AlgorithmParameterSpec;
+ }
+ }
+ }
+}
+
+class java::security::KeyPairGenerator : public ::java::security::KeyPairGeneratorSpi
+{
+
+public: // actually protected
+ KeyPairGenerator(::java::lang::String *);
+public:
+ virtual ::java::lang::String * getAlgorithm();
+ static ::java::security::KeyPairGenerator * getInstance(::java::lang::String *);
+ static ::java::security::KeyPairGenerator * getInstance(::java::lang::String *, ::java::lang::String *);
+ static ::java::security::KeyPairGenerator * getInstance(::java::lang::String *, ::java::security::Provider *);
+ virtual ::java::security::Provider * getProvider();
+ virtual void initialize(jint);
+ virtual void initialize(jint, ::java::security::SecureRandom *);
+ virtual void initialize(::java::security::spec::AlgorithmParameterSpec *);
+ virtual void initialize(::java::security::spec::AlgorithmParameterSpec *, ::java::security::SecureRandom *);
+ virtual ::java::security::KeyPair * genKeyPair();
+ virtual ::java::security::KeyPair * generateKeyPair();
+private:
+ static ::java::lang::String * KEY_PAIR_GENERATOR;
+public: // actually package-private
+ ::java::security::Provider * __attribute__((aligned(__alignof__( ::java::security::KeyPairGeneratorSpi)))) provider;
+private:
+ ::java::lang::String * algorithm;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_KeyPairGenerator__
diff --git a/libjava/java/security/KeyPairGeneratorSpi.h b/libjava/java/security/KeyPairGeneratorSpi.h
new file mode 100644
index 0000000..0aa4389
--- /dev/null
+++ b/libjava/java/security/KeyPairGeneratorSpi.h
@@ -0,0 +1,41 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_KeyPairGeneratorSpi__
+#define __java_security_KeyPairGeneratorSpi__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class KeyPair;
+ class KeyPairGeneratorSpi;
+ class SecureRandom;
+ namespace spec
+ {
+ class AlgorithmParameterSpec;
+ }
+ }
+ }
+}
+
+class java::security::KeyPairGeneratorSpi : public ::java::lang::Object
+{
+
+public:
+ KeyPairGeneratorSpi();
+ virtual void initialize(jint, ::java::security::SecureRandom *) = 0;
+ virtual void initialize(::java::security::spec::AlgorithmParameterSpec *, ::java::security::SecureRandom *);
+ virtual ::java::security::KeyPair * generateKeyPair() = 0;
+public: // actually protected
+ virtual ::java::lang::Object * clone();
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_KeyPairGeneratorSpi__
diff --git a/libjava/java/security/KeyStore.h b/libjava/java/security/KeyStore.h
new file mode 100644
index 0000000..80f7981
--- /dev/null
+++ b/libjava/java/security/KeyStore.h
@@ -0,0 +1,67 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_KeyStore__
+#define __java_security_KeyStore__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class Key;
+ class KeyStore;
+ class KeyStoreSpi;
+ class Provider;
+ namespace cert
+ {
+ class Certificate;
+ }
+ }
+ }
+}
+
+class java::security::KeyStore : public ::java::lang::Object
+{
+
+public: // actually protected
+ KeyStore(::java::security::KeyStoreSpi *, ::java::security::Provider *, ::java::lang::String *);
+public:
+ static ::java::security::KeyStore * getInstance(::java::lang::String *);
+ static ::java::security::KeyStore * getInstance(::java::lang::String *, ::java::lang::String *);
+ static ::java::security::KeyStore * getInstance(::java::lang::String *, ::java::security::Provider *);
+ static ::java::lang::String * getDefaultType();
+ virtual ::java::security::Provider * getProvider();
+ virtual ::java::lang::String * getType();
+ virtual ::java::security::Key * getKey(::java::lang::String *, JArray< jchar > *);
+ virtual JArray< ::java::security::cert::Certificate * > * getCertificateChain(::java::lang::String *);
+ virtual ::java::security::cert::Certificate * getCertificate(::java::lang::String *);
+ virtual ::java::util::Date * getCreationDate(::java::lang::String *);
+ virtual void setKeyEntry(::java::lang::String *, ::java::security::Key *, JArray< jchar > *, JArray< ::java::security::cert::Certificate * > *);
+ virtual void setKeyEntry(::java::lang::String *, JArray< jbyte > *, JArray< ::java::security::cert::Certificate * > *);
+ virtual void setCertificateEntry(::java::lang::String *, ::java::security::cert::Certificate *);
+ virtual void deleteEntry(::java::lang::String *);
+ virtual ::java::util::Enumeration * aliases();
+ virtual jboolean containsAlias(::java::lang::String *);
+ virtual jint size();
+ virtual jboolean isKeyEntry(::java::lang::String *);
+ virtual jboolean isCertificateEntry(::java::lang::String *);
+ virtual ::java::lang::String * getCertificateAlias(::java::security::cert::Certificate *);
+ virtual void store(::java::io::OutputStream *, JArray< jchar > *);
+ virtual void load(::java::io::InputStream *, JArray< jchar > *);
+private:
+ static ::java::lang::String * KEY_STORE;
+ ::java::security::KeyStoreSpi * __attribute__((aligned(__alignof__( ::java::lang::Object)))) keyStoreSpi;
+ ::java::security::Provider * provider;
+ ::java::lang::String * type;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_KeyStore__
diff --git a/libjava/java/security/KeyStoreException.h b/libjava/java/security/KeyStoreException.h
new file mode 100644
index 0000000..e056a68
--- /dev/null
+++ b/libjava/java/security/KeyStoreException.h
@@ -0,0 +1,35 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_KeyStoreException__
+#define __java_security_KeyStoreException__
+
+#pragma interface
+
+#include <java/security/GeneralSecurityException.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class KeyStoreException;
+ }
+ }
+}
+
+class java::security::KeyStoreException : public ::java::security::GeneralSecurityException
+{
+
+public:
+ KeyStoreException();
+ KeyStoreException(::java::lang::String *);
+ KeyStoreException(::java::lang::String *, ::java::lang::Throwable *);
+ KeyStoreException(::java::lang::Throwable *);
+private:
+ static const jlong serialVersionUID = -1119353179322377262LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_KeyStoreException__
diff --git a/libjava/java/security/KeyStoreSpi.h b/libjava/java/security/KeyStoreSpi.h
new file mode 100644
index 0000000..054cea6
--- /dev/null
+++ b/libjava/java/security/KeyStoreSpi.h
@@ -0,0 +1,52 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_KeyStoreSpi__
+#define __java_security_KeyStoreSpi__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class Key;
+ class KeyStoreSpi;
+ namespace cert
+ {
+ class Certificate;
+ }
+ }
+ }
+}
+
+class java::security::KeyStoreSpi : public ::java::lang::Object
+{
+
+public:
+ KeyStoreSpi();
+ virtual ::java::security::Key * engineGetKey(::java::lang::String *, JArray< jchar > *) = 0;
+ virtual JArray< ::java::security::cert::Certificate * > * engineGetCertificateChain(::java::lang::String *) = 0;
+ virtual ::java::security::cert::Certificate * engineGetCertificate(::java::lang::String *) = 0;
+ virtual ::java::util::Date * engineGetCreationDate(::java::lang::String *) = 0;
+ virtual void engineSetKeyEntry(::java::lang::String *, ::java::security::Key *, JArray< jchar > *, JArray< ::java::security::cert::Certificate * > *) = 0;
+ virtual void engineSetKeyEntry(::java::lang::String *, JArray< jbyte > *, JArray< ::java::security::cert::Certificate * > *) = 0;
+ virtual void engineSetCertificateEntry(::java::lang::String *, ::java::security::cert::Certificate *) = 0;
+ virtual void engineDeleteEntry(::java::lang::String *) = 0;
+ virtual ::java::util::Enumeration * engineAliases() = 0;
+ virtual jboolean engineContainsAlias(::java::lang::String *) = 0;
+ virtual jint engineSize() = 0;
+ virtual jboolean engineIsKeyEntry(::java::lang::String *) = 0;
+ virtual jboolean engineIsCertificateEntry(::java::lang::String *) = 0;
+ virtual ::java::lang::String * engineGetCertificateAlias(::java::security::cert::Certificate *) = 0;
+ virtual void engineStore(::java::io::OutputStream *, JArray< jchar > *) = 0;
+ virtual void engineLoad(::java::io::InputStream *, JArray< jchar > *) = 0;
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_KeyStoreSpi__
diff --git a/libjava/java/security/MessageDigest.h b/libjava/java/security/MessageDigest.h
new file mode 100644
index 0000000..5cd6cf3
--- /dev/null
+++ b/libjava/java/security/MessageDigest.h
@@ -0,0 +1,63 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_MessageDigest__
+#define __java_security_MessageDigest__
+
+#pragma interface
+
+#include <java/security/MessageDigestSpi.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteBuffer;
+ }
+ namespace security
+ {
+ class MessageDigest;
+ class Provider;
+ }
+ }
+}
+
+class java::security::MessageDigest : public ::java::security::MessageDigestSpi
+{
+
+public: // actually protected
+ MessageDigest(::java::lang::String *);
+public:
+ static ::java::security::MessageDigest * getInstance(::java::lang::String *);
+ static ::java::security::MessageDigest * getInstance(::java::lang::String *, ::java::lang::String *);
+ static ::java::security::MessageDigest * getInstance(::java::lang::String *, ::java::security::Provider *);
+ virtual ::java::security::Provider * getProvider();
+ virtual void update(jbyte);
+ virtual void update(JArray< jbyte > *, jint, jint);
+ virtual void update(JArray< jbyte > *);
+ virtual void update(::java::nio::ByteBuffer *);
+ virtual JArray< jbyte > * digest();
+ virtual jint digest(JArray< jbyte > *, jint, jint);
+ virtual JArray< jbyte > * digest(JArray< jbyte > *);
+ virtual ::java::lang::String * toString();
+ static jboolean isEqual(JArray< jbyte > *, JArray< jbyte > *);
+ virtual void reset();
+ virtual ::java::lang::String * getAlgorithm();
+ virtual jint getDigestLength();
+ virtual ::java::lang::Object * clone();
+private:
+ ::java::lang::String * digestToString();
+ static ::java::lang::String * MESSAGE_DIGEST;
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::security::MessageDigestSpi)))) algorithm;
+public: // actually package-private
+ ::java::security::Provider * provider;
+private:
+ JArray< jbyte > * lastDigest;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_MessageDigest__
diff --git a/libjava/java/security/MessageDigestSpi.h b/libjava/java/security/MessageDigestSpi.h
new file mode 100644
index 0000000..fea06bf
--- /dev/null
+++ b/libjava/java/security/MessageDigestSpi.h
@@ -0,0 +1,45 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_MessageDigestSpi__
+#define __java_security_MessageDigestSpi__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteBuffer;
+ }
+ namespace security
+ {
+ class MessageDigestSpi;
+ }
+ }
+}
+
+class java::security::MessageDigestSpi : public ::java::lang::Object
+{
+
+public:
+ MessageDigestSpi();
+public: // actually protected
+ virtual jint engineGetDigestLength();
+ virtual void engineUpdate(jbyte) = 0;
+ virtual void engineUpdate(JArray< jbyte > *, jint, jint) = 0;
+ virtual void engineUpdate(::java::nio::ByteBuffer *);
+ virtual JArray< jbyte > * engineDigest() = 0;
+ virtual jint engineDigest(JArray< jbyte > *, jint, jint);
+ virtual void engineReset() = 0;
+public:
+ virtual ::java::lang::Object * clone();
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_MessageDigestSpi__
diff --git a/libjava/java/security/NoSuchAlgorithmException.h b/libjava/java/security/NoSuchAlgorithmException.h
new file mode 100644
index 0000000..413821e
--- /dev/null
+++ b/libjava/java/security/NoSuchAlgorithmException.h
@@ -0,0 +1,35 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_NoSuchAlgorithmException__
+#define __java_security_NoSuchAlgorithmException__
+
+#pragma interface
+
+#include <java/security/GeneralSecurityException.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class NoSuchAlgorithmException;
+ }
+ }
+}
+
+class java::security::NoSuchAlgorithmException : public ::java::security::GeneralSecurityException
+{
+
+public:
+ NoSuchAlgorithmException();
+ NoSuchAlgorithmException(::java::lang::String *);
+ NoSuchAlgorithmException(::java::lang::String *, ::java::lang::Throwable *);
+ NoSuchAlgorithmException(::java::lang::Throwable *);
+private:
+ static const jlong serialVersionUID = -7443947487218346562LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_NoSuchAlgorithmException__
diff --git a/libjava/java/security/NoSuchProviderException.h b/libjava/java/security/NoSuchProviderException.h
new file mode 100644
index 0000000..16878c3
--- /dev/null
+++ b/libjava/java/security/NoSuchProviderException.h
@@ -0,0 +1,33 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_NoSuchProviderException__
+#define __java_security_NoSuchProviderException__
+
+#pragma interface
+
+#include <java/security/GeneralSecurityException.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class NoSuchProviderException;
+ }
+ }
+}
+
+class java::security::NoSuchProviderException : public ::java::security::GeneralSecurityException
+{
+
+public:
+ NoSuchProviderException();
+ NoSuchProviderException(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = 8488111756688534474LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_NoSuchProviderException__
diff --git a/libjava/java/security/Permission.h b/libjava/java/security/Permission.h
new file mode 100644
index 0000000..c565f2b
--- /dev/null
+++ b/libjava/java/security/Permission.h
@@ -0,0 +1,42 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_Permission__
+#define __java_security_Permission__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class Permission;
+ class PermissionCollection;
+ }
+ }
+}
+
+class java::security::Permission : public ::java::lang::Object
+{
+
+public:
+ Permission(::java::lang::String *);
+ virtual void checkGuard(::java::lang::Object *);
+ virtual jboolean implies(::java::security::Permission *) = 0;
+ virtual jboolean equals(::java::lang::Object *) = 0;
+ virtual jint hashCode() = 0;
+ virtual ::java::lang::String * getName();
+ virtual ::java::lang::String * getActions() = 0;
+ virtual ::java::security::PermissionCollection * newPermissionCollection();
+ virtual ::java::lang::String * toString();
+private:
+ static const jlong serialVersionUID = -5636570222231596674LL;
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) name;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_Permission__
diff --git a/libjava/java/security/PermissionCollection.h b/libjava/java/security/PermissionCollection.h
new file mode 100644
index 0000000..868c23e
--- /dev/null
+++ b/libjava/java/security/PermissionCollection.h
@@ -0,0 +1,40 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_PermissionCollection__
+#define __java_security_PermissionCollection__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class Permission;
+ class PermissionCollection;
+ }
+ }
+}
+
+class java::security::PermissionCollection : public ::java::lang::Object
+{
+
+public:
+ PermissionCollection();
+ virtual void add(::java::security::Permission *) = 0;
+ virtual jboolean implies(::java::security::Permission *) = 0;
+ virtual ::java::util::Enumeration * elements() = 0;
+ virtual void setReadOnly();
+ virtual jboolean isReadOnly();
+ virtual ::java::lang::String * toString();
+private:
+ static const jlong serialVersionUID = -6727011328946861783LL;
+ jboolean __attribute__((aligned(__alignof__( ::java::lang::Object)))) readOnly;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_PermissionCollection__
diff --git a/libjava/java/security/Permissions$1.h b/libjava/java/security/Permissions$1.h
new file mode 100644
index 0000000..d14b456
--- /dev/null
+++ b/libjava/java/security/Permissions$1.h
@@ -0,0 +1,38 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_Permissions$1__
+#define __java_security_Permissions$1__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class Permissions;
+ class Permissions$1;
+ }
+ }
+}
+
+class java::security::Permissions$1 : public ::java::lang::Object
+{
+
+public: // actually package-private
+ Permissions$1(::java::security::Permissions *);
+public:
+ jboolean hasMoreElements();
+ ::java::lang::Object * nextElement();
+public: // actually package-private
+ ::java::util::Enumeration * __attribute__((aligned(__alignof__( ::java::lang::Object)))) main_enum;
+ ::java::util::Enumeration * sub_enum;
+ ::java::security::Permissions * this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_Permissions$1__
diff --git a/libjava/java/security/Permissions$PermissionsHash.h b/libjava/java/security/Permissions$PermissionsHash.h
new file mode 100644
index 0000000..870065a
--- /dev/null
+++ b/libjava/java/security/Permissions$PermissionsHash.h
@@ -0,0 +1,39 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_Permissions$PermissionsHash__
+#define __java_security_Permissions$PermissionsHash__
+
+#pragma interface
+
+#include <java/security/PermissionCollection.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class Permission;
+ class Permissions$PermissionsHash;
+ }
+ }
+}
+
+class java::security::Permissions$PermissionsHash : public ::java::security::PermissionCollection
+{
+
+ Permissions$PermissionsHash();
+public:
+ void add(::java::security::Permission *);
+ jboolean implies(::java::security::Permission *);
+ ::java::util::Enumeration * elements();
+public: // actually package-private
+ Permissions$PermissionsHash(::java::security::Permissions$PermissionsHash *);
+private:
+ static const jlong serialVersionUID = -8491988220802933440LL;
+ ::java::util::Hashtable * __attribute__((aligned(__alignof__( ::java::security::PermissionCollection)))) perms;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_Permissions$PermissionsHash__
diff --git a/libjava/java/security/Permissions.h b/libjava/java/security/Permissions.h
new file mode 100644
index 0000000..5484fa9
--- /dev/null
+++ b/libjava/java/security/Permissions.h
@@ -0,0 +1,40 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_Permissions__
+#define __java_security_Permissions__
+
+#pragma interface
+
+#include <java/security/PermissionCollection.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class Permission;
+ class PermissionCollection;
+ class Permissions;
+ }
+ }
+}
+
+class java::security::Permissions : public ::java::security::PermissionCollection
+{
+
+public:
+ Permissions();
+ void add(::java::security::Permission *);
+ jboolean implies(::java::security::Permission *);
+ ::java::util::Enumeration * elements();
+private:
+ static const jlong serialVersionUID = 4858622370623524688LL;
+ ::java::security::PermissionCollection * __attribute__((aligned(__alignof__( ::java::security::PermissionCollection)))) allPermission;
+public: // actually package-private
+ ::java::util::Hashtable * perms;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_Permissions__
diff --git a/libjava/java/security/Policy.h b/libjava/java/security/Policy.h
new file mode 100644
index 0000000..1162095
--- /dev/null
+++ b/libjava/java/security/Policy.h
@@ -0,0 +1,49 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_Policy__
+#define __java_security_Policy__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class CodeSource;
+ class Permission;
+ class PermissionCollection;
+ class Policy;
+ class ProtectionDomain;
+ }
+ }
+}
+
+class java::security::Policy : public ::java::lang::Object
+{
+
+public:
+ Policy();
+ static ::java::security::Policy * getPolicy();
+ static void setPolicy(::java::security::Policy *);
+private:
+ static void setup(::java::security::Policy *);
+public: // actually package-private
+ static ::java::security::Policy * getCurrentPolicy();
+ static jboolean isLoaded();
+public:
+ virtual ::java::security::PermissionCollection * getPermissions(::java::security::CodeSource *) = 0;
+ virtual ::java::security::PermissionCollection * getPermissions(::java::security::ProtectionDomain *);
+ virtual jboolean implies(::java::security::ProtectionDomain *, ::java::security::Permission *);
+ virtual void refresh() = 0;
+private:
+ static ::java::security::Policy * currentPolicy;
+ ::java::util::Map * __attribute__((aligned(__alignof__( ::java::lang::Object)))) pd2pc;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_Policy__
diff --git a/libjava/java/security/Principal.h b/libjava/java/security/Principal.h
new file mode 100644
index 0000000..e3cfb31
--- /dev/null
+++ b/libjava/java/security/Principal.h
@@ -0,0 +1,32 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_Principal__
+#define __java_security_Principal__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class Principal;
+ }
+ }
+}
+
+class java::security::Principal : public ::java::lang::Object
+{
+
+public:
+ virtual jboolean equals(::java::lang::Object *) = 0;
+ virtual ::java::lang::String * toString() = 0;
+ virtual jint hashCode() = 0;
+ virtual ::java::lang::String * getName() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_security_Principal__
diff --git a/libjava/java/security/PrivateKey.h b/libjava/java/security/PrivateKey.h
new file mode 100644
index 0000000..2be7e63
--- /dev/null
+++ b/libjava/java/security/PrivateKey.h
@@ -0,0 +1,34 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_PrivateKey__
+#define __java_security_PrivateKey__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class PrivateKey;
+ }
+ }
+}
+
+class java::security::PrivateKey : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::lang::String * getAlgorithm() = 0;
+ virtual ::java::lang::String * getFormat() = 0;
+ virtual JArray< jbyte > * getEncoded() = 0;
+ static const jlong serialVersionUID = 6034044314589513430LL;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_security_PrivateKey__
diff --git a/libjava/java/security/PrivilegedAction.h b/libjava/java/security/PrivilegedAction.h
new file mode 100644
index 0000000..17481fd
--- /dev/null
+++ b/libjava/java/security/PrivilegedAction.h
@@ -0,0 +1,29 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_PrivilegedAction__
+#define __java_security_PrivilegedAction__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class PrivilegedAction;
+ }
+ }
+}
+
+class java::security::PrivilegedAction : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::lang::Object * run() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_security_PrivilegedAction__
diff --git a/libjava/java/security/PrivilegedActionException.h b/libjava/java/security/PrivilegedActionException.h
new file mode 100644
index 0000000..165a1c5
--- /dev/null
+++ b/libjava/java/security/PrivilegedActionException.h
@@ -0,0 +1,36 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_PrivilegedActionException__
+#define __java_security_PrivilegedActionException__
+
+#pragma interface
+
+#include <java/lang/Exception.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class PrivilegedActionException;
+ }
+ }
+}
+
+class java::security::PrivilegedActionException : public ::java::lang::Exception
+{
+
+public:
+ PrivilegedActionException(::java::lang::Exception *);
+ virtual ::java::lang::Exception * getException();
+ virtual ::java::lang::Throwable * getCause();
+ virtual ::java::lang::String * toString();
+private:
+ static const jlong serialVersionUID = 4724086851538908602LL;
+ ::java::lang::Exception * __attribute__((aligned(__alignof__( ::java::lang::Exception)))) exception;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_PrivilegedActionException__
diff --git a/libjava/java/security/PrivilegedExceptionAction.h b/libjava/java/security/PrivilegedExceptionAction.h
new file mode 100644
index 0000000..bfb3046
--- /dev/null
+++ b/libjava/java/security/PrivilegedExceptionAction.h
@@ -0,0 +1,29 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_PrivilegedExceptionAction__
+#define __java_security_PrivilegedExceptionAction__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class PrivilegedExceptionAction;
+ }
+ }
+}
+
+class java::security::PrivilegedExceptionAction : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::lang::Object * run() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_security_PrivilegedExceptionAction__
diff --git a/libjava/java/security/ProtectionDomain.h b/libjava/java/security/ProtectionDomain.h
new file mode 100644
index 0000000..7f20466
--- /dev/null
+++ b/libjava/java/security/ProtectionDomain.h
@@ -0,0 +1,52 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_ProtectionDomain__
+#define __java_security_ProtectionDomain__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class CodeSource;
+ class Permission;
+ class PermissionCollection;
+ class Principal;
+ class ProtectionDomain;
+ }
+ }
+}
+
+class java::security::ProtectionDomain : public ::java::lang::Object
+{
+
+public:
+ ProtectionDomain(::java::security::CodeSource *, ::java::security::PermissionCollection *);
+ ProtectionDomain(::java::security::CodeSource *, ::java::security::PermissionCollection *, ::java::lang::ClassLoader *, JArray< ::java::security::Principal * > *);
+private:
+ ProtectionDomain(::java::security::CodeSource *, ::java::security::PermissionCollection *, ::java::lang::ClassLoader *, JArray< ::java::security::Principal * > *, jboolean);
+public:
+ virtual ::java::security::CodeSource * getCodeSource();
+ virtual ::java::lang::ClassLoader * getClassLoader();
+ virtual JArray< ::java::security::Principal * > * getPrincipals();
+ virtual ::java::security::PermissionCollection * getPermissions();
+ virtual jboolean implies(::java::security::Permission *);
+ virtual ::java::lang::String * toString();
+private:
+ ::java::security::CodeSource * __attribute__((aligned(__alignof__( ::java::lang::Object)))) code_source;
+ ::java::security::PermissionCollection * perms;
+ ::java::lang::ClassLoader * classloader;
+ JArray< ::java::security::Principal * > * principals;
+ jboolean staticBinding;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_ProtectionDomain__
diff --git a/libjava/java/security/Provider.h b/libjava/java/security/Provider.h
new file mode 100644
index 0000000..5954805
--- /dev/null
+++ b/libjava/java/security/Provider.h
@@ -0,0 +1,45 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_Provider__
+#define __java_security_Provider__
+
+#pragma interface
+
+#include <java/util/Properties.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class Provider;
+ }
+ }
+}
+
+class java::security::Provider : public ::java::util::Properties
+{
+
+public: // actually protected
+ Provider(::java::lang::String *, jdouble, ::java::lang::String *);
+public:
+ virtual ::java::lang::String * getName();
+ virtual jdouble getVersion();
+ virtual ::java::lang::String * getInfo();
+ virtual ::java::lang::Object * put(::java::lang::Object *, ::java::lang::Object *);
+ virtual ::java::lang::Object * get(::java::lang::Object *);
+ virtual ::java::lang::Object * remove(::java::lang::Object *);
+ virtual void clear();
+ virtual ::java::lang::String * toString();
+private:
+ ::java::lang::Object * toCanonicalKey(::java::lang::Object *);
+ static const jlong serialVersionUID = -4298000515446427739LL;
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::util::Properties)))) info;
+ ::java::lang::String * name;
+ jdouble version;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_Provider__
diff --git a/libjava/java/security/ProviderException.h b/libjava/java/security/ProviderException.h
new file mode 100644
index 0000000..843a100
--- /dev/null
+++ b/libjava/java/security/ProviderException.h
@@ -0,0 +1,35 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_ProviderException__
+#define __java_security_ProviderException__
+
+#pragma interface
+
+#include <java/lang/RuntimeException.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class ProviderException;
+ }
+ }
+}
+
+class java::security::ProviderException : public ::java::lang::RuntimeException
+{
+
+public:
+ ProviderException();
+ ProviderException(::java::lang::String *);
+ ProviderException(::java::lang::String *, ::java::lang::Throwable *);
+ ProviderException(::java::lang::Throwable *);
+private:
+ static const jlong serialVersionUID = 5256023526693665674LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_ProviderException__
diff --git a/libjava/java/security/PublicKey.h b/libjava/java/security/PublicKey.h
new file mode 100644
index 0000000..6a2a72b
--- /dev/null
+++ b/libjava/java/security/PublicKey.h
@@ -0,0 +1,34 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_PublicKey__
+#define __java_security_PublicKey__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class PublicKey;
+ }
+ }
+}
+
+class java::security::PublicKey : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::lang::String * getAlgorithm() = 0;
+ virtual ::java::lang::String * getFormat() = 0;
+ virtual JArray< jbyte > * getEncoded() = 0;
+ static const jlong serialVersionUID = 7187392471159151072LL;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_security_PublicKey__
diff --git a/libjava/java/security/SecureClassLoader.h b/libjava/java/security/SecureClassLoader.h
new file mode 100644
index 0000000..c8431a7b
--- /dev/null
+++ b/libjava/java/security/SecureClassLoader.h
@@ -0,0 +1,48 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_SecureClassLoader__
+#define __java_security_SecureClassLoader__
+
+#pragma interface
+
+#include <java/lang/ClassLoader.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteBuffer;
+ }
+ namespace security
+ {
+ class CodeSource;
+ class PermissionCollection;
+ class ProtectionDomain;
+ class SecureClassLoader;
+ }
+ }
+}
+
+class java::security::SecureClassLoader : public ::java::lang::ClassLoader
+{
+
+public: // actually protected
+ SecureClassLoader(::java::lang::ClassLoader *);
+ SecureClassLoader();
+ virtual ::java::lang::Class * defineClass(::java::lang::String *, JArray< jbyte > *, jint, jint, ::java::security::CodeSource *);
+ virtual ::java::lang::Class * defineClass(::java::lang::String *, ::java::nio::ByteBuffer *, ::java::security::CodeSource *);
+private:
+ ::java::security::ProtectionDomain * getProtectionDomain(::java::security::CodeSource *);
+public: // actually protected
+ virtual ::java::security::PermissionCollection * getPermissions(::java::security::CodeSource *);
+private:
+ ::java::util::HashMap * __attribute__((aligned(__alignof__( ::java::lang::ClassLoader)))) protectionDomainCache;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_SecureClassLoader__
diff --git a/libjava/java/security/SecureRandom.h b/libjava/java/security/SecureRandom.h
new file mode 100644
index 0000000..58561ab
--- /dev/null
+++ b/libjava/java/security/SecureRandom.h
@@ -0,0 +1,71 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_SecureRandom__
+#define __java_security_SecureRandom__
+
+#pragma interface
+
+#include <java/util/Random.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class Provider;
+ class SecureRandom;
+ class SecureRandomSpi;
+ }
+ }
+}
+
+class java::security::SecureRandom : public ::java::util::Random
+{
+
+public:
+ SecureRandom();
+ SecureRandom(JArray< jbyte > *);
+public: // actually protected
+ SecureRandom(::java::security::SecureRandomSpi *, ::java::security::Provider *);
+private:
+ SecureRandom(::java::security::SecureRandomSpi *, ::java::security::Provider *, ::java::lang::String *);
+public:
+ static ::java::security::SecureRandom * getInstance(::java::lang::String *);
+ static ::java::security::SecureRandom * getInstance(::java::lang::String *, ::java::lang::String *);
+ static ::java::security::SecureRandom * getInstance(::java::lang::String *, ::java::security::Provider *);
+ virtual ::java::security::Provider * getProvider();
+ virtual ::java::lang::String * getAlgorithm();
+ virtual void setSeed(JArray< jbyte > *);
+ virtual void setSeed(jlong);
+ virtual void nextBytes(JArray< jbyte > *);
+public: // actually protected
+ virtual jint next(jint);
+public:
+ static JArray< jbyte > * getSeed(jint);
+ virtual JArray< jbyte > * generateSeed(jint);
+private:
+ static jint generateSeed(JArray< jbyte > *);
+ static jint generateSeed(JArray< jbyte > *, jint, jint);
+ static ::java::lang::String * SECURE_RANDOM;
+ static const jlong serialVersionUID = 4940670005562187LL;
+public: // actually package-private
+ jlong __attribute__((aligned(__alignof__( ::java::util::Random)))) counter;
+ ::java::security::Provider * provider;
+ JArray< jbyte > * randomBytes;
+ jint randomBytesUsed;
+ ::java::security::SecureRandomSpi * secureRandomSpi;
+ JArray< jbyte > * state;
+private:
+ ::java::lang::String * algorithm;
+ jboolean isSeeded;
+ static ::java::lang::String * SECURERANDOM_SOURCE;
+ static ::java::lang::String * JAVA_SECURITY_EGD;
+ static ::java::util::logging::Logger * logger;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_SecureRandom__
diff --git a/libjava/java/security/SecureRandomSpi.h b/libjava/java/security/SecureRandomSpi.h
new file mode 100644
index 0000000..8b2b6d7
--- /dev/null
+++ b/libjava/java/security/SecureRandomSpi.h
@@ -0,0 +1,38 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_SecureRandomSpi__
+#define __java_security_SecureRandomSpi__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class SecureRandomSpi;
+ }
+ }
+}
+
+class java::security::SecureRandomSpi : public ::java::lang::Object
+{
+
+public:
+ SecureRandomSpi();
+public: // actually protected
+ virtual void engineSetSeed(JArray< jbyte > *) = 0;
+ virtual void engineNextBytes(JArray< jbyte > *) = 0;
+ virtual JArray< jbyte > * engineGenerateSeed(jint) = 0;
+private:
+ static const jlong serialVersionUID = -2991854161009191830LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_SecureRandomSpi__
diff --git a/libjava/java/security/Security.h b/libjava/java/security/Security.h
new file mode 100644
index 0000000..201c995
--- /dev/null
+++ b/libjava/java/security/Security.h
@@ -0,0 +1,51 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_Security__
+#define __java_security_Security__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class Provider;
+ class Security;
+ }
+ }
+}
+
+class java::security::Security : public ::java::lang::Object
+{
+
+ Security();
+ static jboolean loadProviders(::java::lang::String *, ::java::lang::String *);
+public:
+ static ::java::lang::String * getAlgorithmProperty(::java::lang::String *, ::java::lang::String *);
+ static jint insertProviderAt(::java::security::Provider *, jint);
+ static jint addProvider(::java::security::Provider *);
+ static void removeProvider(::java::lang::String *);
+ static JArray< ::java::security::Provider * > * getProviders();
+ static ::java::security::Provider * getProvider(::java::lang::String *);
+ static ::java::lang::String * getProperty(::java::lang::String *);
+ static void setProperty(::java::lang::String *, ::java::lang::String *);
+ static ::java::util::Set * getAlgorithms(::java::lang::String *);
+ static JArray< ::java::security::Provider * > * getProviders(::java::lang::String *);
+ static JArray< ::java::security::Provider * > * getProviders(::java::util::Map *);
+private:
+ static void selectProviders(::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::util::LinkedHashSet *, ::java::util::LinkedHashSet *);
+ static jboolean provides(::java::security::Provider *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
+ static ::java::lang::String * ALG_ALIAS;
+ static ::java::util::Vector * providers;
+ static ::java::util::Properties * secprops;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_Security__
diff --git a/libjava/java/security/Security.java b/libjava/java/security/Security.java
deleted file mode 100644
index 630a554..0000000
--- a/libjava/java/security/Security.java
+++ /dev/null
@@ -1,714 +0,0 @@
-/* Security.java --- Java base security class implementation
- Copyright (C) 1999, 2001, 2002, 2003, 2004, 2005, 2006
- Free Software Foundation, Inc.
-
-This file is part of GNU Classpath.
-
-GNU Classpath is free software; you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 2, or (at your option)
-any later version.
-
-GNU Classpath is distributed in the hope that it will be useful, but
-WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with GNU Classpath; see the file COPYING. If not, write to the
-Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
-02110-1301 USA.
-
-Linking this library statically or dynamically with other modules is
-making a combined work based on this library. Thus, the terms and
-conditions of the GNU General Public License cover the whole
-combination.
-
-As a special exception, the copyright holders of this library give you
-permission to link this library with independent modules to produce an
-executable, regardless of the license terms of these independent
-modules, and to copy and distribute the resulting executable under
-terms of your choice, provided that you also meet, for each linked
-independent module, the terms and conditions of the license of that
-module. An independent module is a module which is not derived from
-or based on this library. If you modify this library, you may extend
-this exception to your version of the library, but you are not
-obligated to do so. If you do not wish to do so, delete this
-exception statement from your version. */
-
-
-package java.security;
-
-import gnu.classpath.SystemProperties;
-
-import gnu.classpath.Configuration;
-// GCJ LOCAL - We don't have VMStackWalker yet.
-// import gnu.classpath.VMStackWalker;
-
-import java.io.IOException;
-import java.io.InputStream;
-import java.net.URL;
-import java.util.Collections;
-import java.util.Enumeration;
-import java.util.HashMap;
-import java.util.HashSet;
-import java.util.Iterator;
-import java.util.LinkedHashSet;
-import java.util.Map;
-import java.util.Properties;
-import java.util.Set;
-import java.util.Vector;
-
-/**
- * This class centralizes all security properties and common security methods.
- * One of its primary uses is to manage security providers.
- *
- * @author Mark Benvenuto (ivymccough@worldnet.att.net)
- */
-public final class Security
-{
- private static final String ALG_ALIAS = "Alg.Alias.";
-
- private static Vector providers = new Vector();
- private static Properties secprops = new Properties();
-
- static
- {
- String base = SystemProperties.getProperty("gnu.classpath.home.url");
- String vendor = SystemProperties.getProperty("gnu.classpath.vm.shortname");
-
- // Try VM specific security file
- boolean loaded = loadProviders (base, vendor);
-
- // Append classpath standard provider if possible
- if (!loadProviders (base, "classpath")
- && !loaded
- && providers.size() == 0)
- {
- if (Configuration.DEBUG)
- {
- /* No providers found and both security files failed to
- * load properly. Give a warning in case of DEBUG is
- * enabled. Could be done with java.util.logging later.
- */
- System.err.println
- ("WARNING: could not properly read security provider files:");
- System.err.println
- (" " + base + "/security/" + vendor
- + ".security");
- System.err.println
- (" " + base + "/security/" + "classpath"
- + ".security");
- System.err.println
- (" Falling back to standard GNU security provider");
- }
- // Note that this matches our classpath.security file.
- providers.addElement (new gnu.java.security.provider.Gnu());
- providers.addElement(new gnu.javax.crypto.jce.GnuCrypto());
- providers.addElement(new gnu.javax.crypto.jce.GnuSasl());
- providers.addElement(new gnu.javax.net.ssl.provider.Jessie());
- providers.addElement(new gnu.javax.security.auth.callback.GnuCallbacks());
- }
- }
- // This class can't be instantiated.
- private Security()
- {
- }
-
- /**
- * Tries to load the vender specific security providers from the given base
- * URL. Returns true if the resource could be read and completely parsed
- * successfully, false otherwise.
- */
- private static boolean loadProviders(String baseUrl, String vendor)
- {
- if (baseUrl == null || vendor == null)
- return false;
-
- boolean result = true;
- String secfilestr = baseUrl + "/security/" + vendor + ".security";
- try
- {
- InputStream fin = new URL(secfilestr).openStream();
- secprops.load(fin);
-
- int i = 1;
- String name;
- while ((name = secprops.getProperty("security.provider." + i)) != null)
- {
- Exception exception = null;
- try
- {
- ClassLoader sys = ClassLoader.getSystemClassLoader();
- providers.addElement(Class.forName(name, true, sys).newInstance());
- }
- catch (ClassNotFoundException x)
- {
- exception = x;
- }
- catch (InstantiationException x)
- {
- exception = x;
- }
- catch (IllegalAccessException x)
- {
- exception = x;
- }
-
- if (exception != null)
- {
- System.err.println ("WARNING: Error loading security provider "
- + name + ": " + exception);
- result = false;
- }
- i++;
- }
- }
- catch (IOException ignored)
- {
- result = false;
- }
-
- return result;
- }
-
- /**
- * Returns the value associated to a designated property name for a given
- * algorithm.
- *
- * @param algName
- * the algorithm name.
- * @param propName
- * the name of the property to return.
- * @return the value of the specified property or <code>null</code> if none
- * found.
- * @deprecated Use the provider-based and algorithm-independent
- * {@link AlgorithmParameters} and {@link KeyFactory} engine
- * classes instead.
- */
- public static String getAlgorithmProperty(String algName, String propName)
- {
- if (algName == null || propName == null)
- return null;
-
- String property = String.valueOf(propName) + "." + String.valueOf(algName);
- Provider p;
- for (Iterator i = providers.iterator(); i.hasNext(); )
- {
- p = (Provider) i.next();
- for (Iterator j = p.keySet().iterator(); j.hasNext(); )
- {
- String key = (String) j.next();
- if (key.equalsIgnoreCase(property))
- return p.getProperty(key);
- }
- }
- return null;
- }
-
- /**
- * Inserts a new designated {@link Provider} at a designated (1-based)
- * position in the current list of installed {@link Provider}s,
- *
- * @param provider
- * the new {@link Provider} to add.
- * @param position
- * the position (starting from 1) of where to install
- * <code>provider</code>.
- * @return the actual position, in the list of installed Providers. Returns
- * <code>-1</code> if <code>provider</code> was laready in the
- * list. The actual position may be different than the desired
- * <code>position</code>.
- * @throws SecurityException
- * if a {@link SecurityManager} is installed and it disallows this
- * operation.
- * @see #getProvider(String)
- * @see #removeProvider(String)
- * @see SecurityPermission
- */
- public static int insertProviderAt(Provider provider, int position)
- {
- SecurityManager sm = System.getSecurityManager();
- if (sm != null)
- sm.checkSecurityAccess("insertProvider." + provider.getName());
-
- position--;
- int max = providers.size ();
- for (int i = 0; i < max; i++)
- {
- if (((Provider) providers.elementAt(i)).getName().equals(provider.getName()))
- return -1;
- }
-
- if (position < 0)
- position = 0;
- if (position > max)
- position = max;
-
- providers.insertElementAt(provider, position);
-
- return position + 1;
- }
-
- /**
- * Appends the designated new {@link Provider} to the current list of
- * installed {@link Provider}s.
- *
- * @param provider
- * the new {@link Provider} to append.
- * @return the position (starting from 1) of <code>provider</code> in the
- * current list of {@link Provider}s, or <code>-1</code> if
- * <code>provider</code> was already there.
- * @throws SecurityException
- * if a {@link SecurityManager} is installed and it disallows this
- * operation.
- * @see #getProvider(String)
- * @see #removeProvider(String)
- * @see SecurityPermission
- */
- public static int addProvider(Provider provider)
- {
- return insertProviderAt (provider, providers.size () + 1);
- }
-
- /**
- * Removes an already installed {@link Provider}, given its name, from the
- * current list of installed {@link Provider}s.
- *
- * @param name
- * the name of an already installed {@link Provider} to remove.
- * @throws SecurityException
- * if a {@link SecurityManager} is installed and it disallows this
- * operation.
- * @see #getProvider(String)
- * @see #addProvider(Provider)
- */
- public static void removeProvider(String name)
- {
- SecurityManager sm = System.getSecurityManager();
- if (sm != null)
- sm.checkSecurityAccess("removeProvider." + name);
-
- int max = providers.size ();
- for (int i = 0; i < max; i++)
- {
- if (((Provider) providers.elementAt(i)).getName().equals(name))
- {
- providers.remove(i);
- break;
- }
- }
- }
-
- /**
- * Returns the current list of installed {@link Provider}s as an array
- * ordered according to their installation preference order.
- *
- * @return an array of all the installed providers.
- */
- public static Provider[] getProviders()
- {
- Provider[] array = new Provider[providers.size ()];
- providers.copyInto (array);
- return array;
- }
-
- /**
- * Returns an already installed {@link Provider} given its name.
- *
- * @param name
- * the name of an already installed {@link Provider}.
- * @return the {@link Provider} known by <code>name</code>. Returns
- * <code>null</code> if the current list of {@link Provider}s does
- * not include one named <code>name</code>.
- * @see #removeProvider(String)
- * @see #addProvider(Provider)
- */
- public static Provider getProvider(String name)
- {
- if (name == null)
- return null;
- else
- {
- name = name.trim();
- if (name.length() == 0)
- return null;
- }
- Provider p;
- int max = providers.size ();
- for (int i = 0; i < max; i++)
- {
- p = (Provider) providers.elementAt(i);
- if (p.getName().equals(name))
- return p;
- }
- return null;
- }
-
- /**
- * Returns the value associated with a Security propery.
- *
- * @param key
- * the key of the property to fetch.
- * @return the value of the Security property associated with
- * <code>key</code>. Returns <code>null</code> if no such property
- * was found.
- * @throws SecurityException
- * if a {@link SecurityManager} is installed and it disallows this
- * operation.
- * @see #setProperty(String, String)
- * @see SecurityPermission
- */
- public static String getProperty(String key)
- {
- // GCJ LOCAL - We don't have VMStackWalker yet.
- // XXX To prevent infinite recursion when the SecurityManager calls us,
- // don't do a security check if the caller is trusted (by virtue of having
- // been loaded by the bootstrap class loader).
- SecurityManager sm = System.getSecurityManager();
- // if (sm != null && VMStackWalker.getCallingClassLoader() != null)
- if (sm != null)
- sm.checkSecurityAccess("getProperty." + key);
-
- return secprops.getProperty(key);
- }
-
- /**
- * Sets or changes a designated Security property to a designated value.
- *
- * @param key
- * the name of the property to set.
- * @param datum
- * the new value of the property.
- * @throws SecurityException
- * if a {@link SecurityManager} is installed and it disallows this
- * operation.
- * @see #getProperty(String)
- * @see SecurityPermission
- */
- public static void setProperty(String key, String datum)
- {
- SecurityManager sm = System.getSecurityManager();
- if (sm != null)
- sm.checkSecurityAccess("setProperty." + key);
-
- if (datum == null)
- secprops.remove(key);
- else
- secprops.put(key, datum);
- }
-
- /**
- * For a given <i>service</i> (e.g. Signature, MessageDigest, etc...) this
- * method returns the {@link Set} of all available algorithm names (instances
- * of {@link String}, from all currently installed {@link Provider}s.
- *
- * @param serviceName
- * the case-insensitive name of a service (e.g. Signature,
- * MessageDigest, etc).
- * @return a {@link Set} of {@link String}s containing the names of all
- * algorithm names provided by all of the currently installed
- * {@link Provider}s.
- * @since 1.4
- */
- public static Set getAlgorithms(String serviceName)
- {
- HashSet result = new HashSet();
- if (serviceName == null || serviceName.length() == 0)
- return result;
-
- serviceName = serviceName.trim();
- if (serviceName.length() == 0)
- return result;
-
- serviceName = serviceName.toUpperCase()+".";
- Provider[] providers = getProviders();
- int ndx;
- for (int i = 0; i < providers.length; i++)
- for (Enumeration e = providers[i].propertyNames(); e.hasMoreElements(); )
- {
- String service = ((String) e.nextElement()).trim();
- if (service.toUpperCase().startsWith(serviceName))
- {
- service = service.substring(serviceName.length()).trim();
- ndx = service.indexOf(' '); // get rid of attributes
- if (ndx != -1)
- service = service.substring(0, ndx);
- result.add(service);
- }
- }
- return Collections.unmodifiableSet(result);
- }
-
- /**
- * Returns an array of currently installed {@link Provider}s, ordered
- * according to their installation preference order, which satisfy a given
- * <i>selection</i> criterion.
- *
- * <p>This implementation recognizes a <i>selection</i> criterion written in
- * one of two following forms:</p>
- *
- * <ul>
- * <li>&lt;crypto_service&gt;.&lt;algorithm_or_type&gt;: Where
- * <i>crypto_service</i> is a case-insensitive string, similar to what has
- * been described in the {@link #getAlgorithms(String)} method, and
- * <i>algorithm_or_type</i> is a known case-insensitive name of an
- * Algorithm, or one of its aliases.
- *
- * <p>For example, "CertificateFactory.X.509" would return all the installed
- * {@link Provider}s which provide a <i>CertificateFactory</i>
- * implementation of <i>X.509</i>.</p></li>
- *
- * <li>&lt;crypto_service&gt;.&lt;algorithm_or_type&gt; &lt;attribute_name&gt;:&lt;value&gt;:
- * Where <i>crypto_service</i> is a case-insensitive string, similar to what
- * has been described in the {@link #getAlgorithms(String)} method,
- * <i>algorithm_or_type</i> is a case-insensitive known name of an Algorithm
- * or one of its aliases, <i>attribute_name</i> is a case-insensitive
- * property name with no whitespace characters, and no dots, in-between, and
- * <i>value</i> is a {@link String} with no whitespace characters in-between.
- *
- * <p>For example, "Signature.Sha1WithDSS KeySize:1024" would return all the
- * installed {@link Provider}s which declared their ability to provide
- * <i>Signature</i> services, using the <i>Sha1WithDSS</i> algorithm with
- * key sizes of <i>1024</i>.</p></li>
- * </ul>
- *
- * @param filter
- * the <i>selection</i> criterion for selecting among the installed
- * {@link Provider}s.
- * @return all the installed {@link Provider}s which satisfy the <i>selection</i>
- * criterion. Returns <code>null</code> if no installed
- * {@link Provider}s were found which satisfy the <i>selection</i>
- * criterion. Returns ALL installed {@link Provider}s if
- * <code>filter</code> is <code>null</code> or is an empty string.
- * @throws InvalidParameterException
- * if an exception occurs while parsing the <code>filter</code>.
- * @see #getProviders(Map)
- */
- public static Provider[] getProviders(String filter)
- {
- if (providers == null || providers.isEmpty())
- return null;
-
- if (filter == null || filter.length() == 0)
- return getProviders();
-
- HashMap map = new HashMap(1);
- int i = filter.indexOf(':');
- if (i == -1) // <service>.<algorithm>
- map.put(filter, "");
- else // <service>.<algorithm> <attribute>:<value>
- map.put(filter.substring(0, i), filter.substring(i+1));
-
- return getProviders(map);
- }
-
- /**
- * Returns an array of currently installed {@link Provider}s which satisfy a
- * set of <i>selection</i> criteria.
- *
- * <p>The <i>selection</i> criteria are defined in a {@link Map} where each
- * element specifies a <i>selection</i> querry. The <i>Keys</i> in this
- * {@link Map} must be in one of the two following forms:</p>
- *
- * <ul>
- * <li>&lt;crypto_service&gt;.&lt;algorithm_or_type&gt;: Where
- * <i>crypto_service</i> is a case-insensitive string, similar to what has
- * been described in the {@link #getAlgorithms(String)} method, and
- * <i>algorithm_or_type</i> is a case-insensitive known name of an
- * Algorithm, or one of its aliases. The <i>value</i> of the entry in the
- * {@link Map} for such a <i>Key</i> MUST be the empty string.
- * {@link Provider}s which provide an implementation for the designated
- * <i>service algorithm</i> are included in the result.</li>
- *
- * <li>&lt;crypto_service&gt;.&lt;algorithm_or_type&gt; &lt;attribute_name&gt;:
- * Where <i>crypto_service</i> is a case-insensitive string, similar to what
- * has been described in the {@link #getAlgorithms(String)} method,
- * <i>algorithm_or_type</i> is a case-insensitive known name of an Algorithm
- * or one of its aliases, and <i>attribute_name</i> is a case-insensitive
- * property name with no whitespace characters, and no dots, in-between. The
- * <i>value</i> of the entry in this {@link Map} for such a <i>Key</i> MUST
- * NOT be <code>null</code> or an empty string. {@link Provider}s which
- * declare the designated <i>attribute_name</i> and <i>value</i> for the
- * designated <i>service algorithm</i> are included in the result.</li>
- * </ul>
- *
- * @param filter
- * a {@link Map} of <i>selection querries</i>.
- * @return all currently installed {@link Provider}s which satisfy ALL the
- * <i>selection</i> criteria defined in <code>filter</code>.
- * Returns ALL installed {@link Provider}s if <code>filter</code>
- * is <code>null</code> or empty.
- * @throws InvalidParameterException
- * if an exception is encountered while parsing the syntax of the
- * {@link Map}'s <i>keys</i>.
- * @see #getProviders(String)
- */
- public static Provider[] getProviders(Map filter)
- {
- if (providers == null || providers.isEmpty())
- return null;
-
- if (filter == null)
- return getProviders();
-
- Set querries = filter.keySet();
- if (querries == null || querries.isEmpty())
- return getProviders();
-
- LinkedHashSet result = new LinkedHashSet(providers); // assume all
- int dot, ws;
- String querry, service, algorithm, attribute, value;
- LinkedHashSet serviceProviders = new LinkedHashSet(); // preserve insertion order
- for (Iterator i = querries.iterator(); i.hasNext(); )
- {
- querry = (String) i.next();
- if (querry == null) // all providers
- continue;
-
- querry = querry.trim();
- if (querry.length() == 0) // all providers
- continue;
-
- dot = querry.indexOf('.');
- if (dot == -1) // syntax error
- throw new InvalidParameterException(
- "missing dot in '" + String.valueOf(querry)+"'");
-
- value = (String) filter.get(querry);
- // deconstruct querry into [service, algorithm, attribute]
- if (value == null || value.trim().length() == 0) // <service>.<algorithm>
- {
- value = null;
- attribute = null;
- service = querry.substring(0, dot).trim();
- algorithm = querry.substring(dot+1).trim();
- }
- else // <service>.<algorithm> <attribute>
- {
- ws = querry.indexOf(' ');
- if (ws == -1)
- throw new InvalidParameterException(
- "value (" + String.valueOf(value) +
- ") is not empty, but querry (" + String.valueOf(querry) +
- ") is missing at least one space character");
- value = value.trim();
- attribute = querry.substring(ws+1).trim();
- // was the dot in the attribute?
- if (attribute.indexOf('.') != -1)
- throw new InvalidParameterException(
- "attribute_name (" + String.valueOf(attribute) +
- ") in querry (" + String.valueOf(querry) + ") contains a dot");
-
- querry = querry.substring(0, ws).trim();
- service = querry.substring(0, dot).trim();
- algorithm = querry.substring(dot+1).trim();
- }
-
- // service and algorithm must not be empty
- if (service.length() == 0)
- throw new InvalidParameterException(
- "<crypto_service> in querry (" + String.valueOf(querry) +
- ") is empty");
-
- if (algorithm.length() == 0)
- throw new InvalidParameterException(
- "<algorithm_or_type> in querry (" + String.valueOf(querry) +
- ") is empty");
-
- selectProviders(service, algorithm, attribute, value, result, serviceProviders);
- result.retainAll(serviceProviders); // eval next retaining found providers
- if (result.isEmpty()) // no point continuing
- break;
- }
-
- if (result.isEmpty())
- return null;
-
- return (Provider[]) result.toArray(new Provider[result.size()]);
- }
-
- private static void selectProviders(String svc, String algo, String attr,
- String val, LinkedHashSet providerSet,
- LinkedHashSet result)
- {
- result.clear(); // ensure we start with an empty result set
- for (Iterator i = providerSet.iterator(); i.hasNext(); )
- {
- Provider p = (Provider) i.next();
- if (provides(p, svc, algo, attr, val))
- result.add(p);
- }
- }
-
- private static boolean provides(Provider p, String svc, String algo,
- String attr, String val)
- {
- Iterator it;
- String serviceDotAlgorithm = null;
- String key = null;
- String realVal;
- boolean found = false;
- // if <svc>.<algo> <attr> is in the set then so is <svc>.<algo>
- // but it may be stored under an alias <algo>. resolve
- outer: for (int r = 0; r < 3; r++) // guard against circularity
- {
- serviceDotAlgorithm = (svc+"."+String.valueOf(algo)).trim();
- for (it = p.keySet().iterator(); it.hasNext(); )
- {
- key = (String) it.next();
- if (key.equalsIgnoreCase(serviceDotAlgorithm)) // eureka
- {
- found = true;
- break outer;
- }
- // it may be there but as an alias
- if (key.equalsIgnoreCase(ALG_ALIAS + serviceDotAlgorithm))
- {
- algo = p.getProperty(key);
- continue outer;
- }
- // else continue inner
- }
- }
-
- if (!found)
- return false;
-
- // found a candidate for the querry. do we have an attr to match?
- if (val == null) // <service>.<algorithm> querry
- return true;
-
- // <service>.<algorithm> <attribute>; find the key entry that match
- String realAttr;
- int limit = serviceDotAlgorithm.length() + 1;
- for (it = p.keySet().iterator(); it.hasNext(); )
- {
- key = (String) it.next();
- if (key.length() <= limit)
- continue;
-
- if (key.substring(0, limit).equalsIgnoreCase(serviceDotAlgorithm+" "))
- {
- realAttr = key.substring(limit).trim();
- if (! realAttr.equalsIgnoreCase(attr))
- continue;
-
- // eveything matches so far. do the value
- realVal = p.getProperty(key);
- if (realVal == null)
- return false;
-
- realVal = realVal.trim();
- // is it a string value?
- if (val.equalsIgnoreCase(realVal))
- return true;
-
- // assume value is a number. cehck for greater-than-or-equal
- return (new Integer(val).intValue() >= new Integer(realVal).intValue());
- }
- }
-
- return false;
- }
-}
diff --git a/libjava/java/security/SecurityPermission.h b/libjava/java/security/SecurityPermission.h
new file mode 100644
index 0000000..c28bdc6
--- /dev/null
+++ b/libjava/java/security/SecurityPermission.h
@@ -0,0 +1,33 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_SecurityPermission__
+#define __java_security_SecurityPermission__
+
+#pragma interface
+
+#include <java/security/BasicPermission.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class SecurityPermission;
+ }
+ }
+}
+
+class java::security::SecurityPermission : public ::java::security::BasicPermission
+{
+
+public:
+ SecurityPermission(::java::lang::String *);
+ SecurityPermission(::java::lang::String *, ::java::lang::String *);
+private:
+ static const jlong serialVersionUID = 5236109936224050470LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_SecurityPermission__
diff --git a/libjava/java/security/Signature.h b/libjava/java/security/Signature.h
new file mode 100644
index 0000000..43f4d52
--- /dev/null
+++ b/libjava/java/security/Signature.h
@@ -0,0 +1,84 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_Signature__
+#define __java_security_Signature__
+
+#pragma interface
+
+#include <java/security/SignatureSpi.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteBuffer;
+ }
+ namespace security
+ {
+ class AlgorithmParameters;
+ class PrivateKey;
+ class Provider;
+ class PublicKey;
+ class SecureRandom;
+ class Signature;
+ namespace cert
+ {
+ class Certificate;
+ }
+ namespace spec
+ {
+ class AlgorithmParameterSpec;
+ }
+ }
+ }
+}
+
+class java::security::Signature : public ::java::security::SignatureSpi
+{
+
+public: // actually protected
+ Signature(::java::lang::String *);
+public:
+ static ::java::security::Signature * getInstance(::java::lang::String *);
+ static ::java::security::Signature * getInstance(::java::lang::String *, ::java::lang::String *);
+ static ::java::security::Signature * getInstance(::java::lang::String *, ::java::security::Provider *);
+ virtual ::java::security::Provider * getProvider();
+ virtual void initVerify(::java::security::PublicKey *);
+ virtual void initVerify(::java::security::cert::Certificate *);
+ virtual void initSign(::java::security::PrivateKey *);
+ virtual void initSign(::java::security::PrivateKey *, ::java::security::SecureRandom *);
+ virtual JArray< jbyte > * sign();
+ virtual jint sign(JArray< jbyte > *, jint, jint);
+ virtual jboolean verify(JArray< jbyte > *);
+ virtual jboolean verify(JArray< jbyte > *, jint, jint);
+ virtual void update(jbyte);
+ virtual void update(JArray< jbyte > *);
+ virtual void update(JArray< jbyte > *, jint, jint);
+ virtual void update(::java::nio::ByteBuffer *);
+ virtual ::java::lang::String * getAlgorithm();
+ virtual ::java::lang::String * toString();
+ virtual void setParameter(::java::lang::String *, ::java::lang::Object *);
+ virtual void setParameter(::java::security::spec::AlgorithmParameterSpec *);
+ virtual ::java::security::AlgorithmParameters * getParameters();
+ virtual ::java::lang::Object * getParameter(::java::lang::String *);
+ virtual ::java::lang::Object * clone();
+private:
+ static ::java::lang::String * SIGNATURE;
+public: // actually protected
+ static const jint UNINITIALIZED = 0;
+ static const jint SIGN = 2;
+ static const jint VERIFY = 3;
+ jint __attribute__((aligned(__alignof__( ::java::security::SignatureSpi)))) state;
+private:
+ ::java::lang::String * algorithm;
+public: // actually package-private
+ ::java::security::Provider * provider;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_Signature__
diff --git a/libjava/java/security/SignatureException.h b/libjava/java/security/SignatureException.h
new file mode 100644
index 0000000..32e3d75
--- /dev/null
+++ b/libjava/java/security/SignatureException.h
@@ -0,0 +1,35 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_SignatureException__
+#define __java_security_SignatureException__
+
+#pragma interface
+
+#include <java/security/GeneralSecurityException.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class SignatureException;
+ }
+ }
+}
+
+class java::security::SignatureException : public ::java::security::GeneralSecurityException
+{
+
+public:
+ SignatureException();
+ SignatureException(::java::lang::String *);
+ SignatureException(::java::lang::String *, ::java::lang::Throwable *);
+ SignatureException(::java::lang::Throwable *);
+private:
+ static const jlong serialVersionUID = 7509989324975124438LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_SignatureException__
diff --git a/libjava/java/security/SignatureSpi.h b/libjava/java/security/SignatureSpi.h
new file mode 100644
index 0000000..7e2406e
--- /dev/null
+++ b/libjava/java/security/SignatureSpi.h
@@ -0,0 +1,63 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_SignatureSpi__
+#define __java_security_SignatureSpi__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteBuffer;
+ }
+ namespace security
+ {
+ class AlgorithmParameters;
+ class PrivateKey;
+ class PublicKey;
+ class SecureRandom;
+ class SignatureSpi;
+ namespace spec
+ {
+ class AlgorithmParameterSpec;
+ }
+ }
+ }
+}
+
+class java::security::SignatureSpi : public ::java::lang::Object
+{
+
+public:
+ SignatureSpi();
+public: // actually protected
+ virtual void engineInitVerify(::java::security::PublicKey *) = 0;
+ virtual void engineInitSign(::java::security::PrivateKey *) = 0;
+ virtual void engineInitSign(::java::security::PrivateKey *, ::java::security::SecureRandom *);
+ virtual void engineUpdate(jbyte) = 0;
+ virtual void engineUpdate(JArray< jbyte > *, jint, jint) = 0;
+ virtual void engineUpdate(::java::nio::ByteBuffer *);
+ virtual JArray< jbyte > * engineSign() = 0;
+ virtual jint engineSign(JArray< jbyte > *, jint, jint);
+ virtual jboolean engineVerify(JArray< jbyte > *) = 0;
+ virtual jboolean engineVerify(JArray< jbyte > *, jint, jint);
+ virtual void engineSetParameter(::java::lang::String *, ::java::lang::Object *) = 0;
+ virtual void engineSetParameter(::java::security::spec::AlgorithmParameterSpec *);
+ virtual ::java::security::AlgorithmParameters * engineGetParameters();
+ virtual ::java::lang::Object * engineGetParameter(::java::lang::String *) = 0;
+public:
+ virtual ::java::lang::Object * clone();
+public: // actually protected
+ ::java::security::SecureRandom * __attribute__((aligned(__alignof__( ::java::lang::Object)))) appRandom;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_SignatureSpi__
diff --git a/libjava/java/security/SignedObject.h b/libjava/java/security/SignedObject.h
new file mode 100644
index 0000000..4300537
--- /dev/null
+++ b/libjava/java/security/SignedObject.h
@@ -0,0 +1,45 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_SignedObject__
+#define __java_security_SignedObject__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class PrivateKey;
+ class PublicKey;
+ class Signature;
+ class SignedObject;
+ }
+ }
+}
+
+class java::security::SignedObject : public ::java::lang::Object
+{
+
+public:
+ SignedObject(::java::io::Serializable *, ::java::security::PrivateKey *, ::java::security::Signature *);
+ ::java::lang::Object * getObject();
+ JArray< jbyte > * getSignature();
+ ::java::lang::String * getAlgorithm();
+ jboolean verify(::java::security::PublicKey *, ::java::security::Signature *);
+private:
+ void readObject(::java::io::ObjectInputStream *);
+ static const jlong serialVersionUID = 720502720485447167LL;
+ JArray< jbyte > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) content;
+ JArray< jbyte > * signature;
+ ::java::lang::String * thealgorithm;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_SignedObject__
diff --git a/libjava/java/security/Signer.h b/libjava/java/security/Signer.h
new file mode 100644
index 0000000..080bc8a
--- /dev/null
+++ b/libjava/java/security/Signer.h
@@ -0,0 +1,42 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_Signer__
+#define __java_security_Signer__
+
+#pragma interface
+
+#include <java/security/Identity.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class IdentityScope;
+ class KeyPair;
+ class PrivateKey;
+ class Signer;
+ }
+ }
+}
+
+class java::security::Signer : public ::java::security::Identity
+{
+
+public: // actually protected
+ Signer();
+public:
+ Signer(::java::lang::String *);
+ Signer(::java::lang::String *, ::java::security::IdentityScope *);
+ virtual ::java::security::PrivateKey * getPrivateKey();
+ virtual void setKeyPair(::java::security::KeyPair *);
+ virtual ::java::lang::String * toString();
+private:
+ static const jlong serialVersionUID = -1763464102261361480LL;
+ ::java::security::PrivateKey * __attribute__((aligned(__alignof__( ::java::security::Identity)))) privateKey;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_Signer__
diff --git a/libjava/java/security/UnrecoverableKeyException.h b/libjava/java/security/UnrecoverableKeyException.h
new file mode 100644
index 0000000..51c0c8a
--- /dev/null
+++ b/libjava/java/security/UnrecoverableKeyException.h
@@ -0,0 +1,33 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_UnrecoverableKeyException__
+#define __java_security_UnrecoverableKeyException__
+
+#pragma interface
+
+#include <java/security/GeneralSecurityException.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class UnrecoverableKeyException;
+ }
+ }
+}
+
+class java::security::UnrecoverableKeyException : public ::java::security::GeneralSecurityException
+{
+
+public:
+ UnrecoverableKeyException();
+ UnrecoverableKeyException(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = 7275063078190151277LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_UnrecoverableKeyException__
diff --git a/libjava/java/security/UnresolvedPermission.h b/libjava/java/security/UnresolvedPermission.h
new file mode 100644
index 0000000..ceebc5b
--- /dev/null
+++ b/libjava/java/security/UnresolvedPermission.h
@@ -0,0 +1,56 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_UnresolvedPermission__
+#define __java_security_UnresolvedPermission__
+
+#pragma interface
+
+#include <java/security/Permission.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class Permission;
+ class PermissionCollection;
+ class UnresolvedPermission;
+ namespace cert
+ {
+ class Certificate;
+ }
+ }
+ }
+}
+
+class java::security::UnresolvedPermission : public ::java::security::Permission
+{
+
+public:
+ UnresolvedPermission(::java::lang::String *, ::java::lang::String *, ::java::lang::String *, JArray< ::java::security::cert::Certificate * > *);
+ jboolean implies(::java::security::Permission *);
+ jboolean equals(::java::lang::Object *);
+ jint hashCode();
+ ::java::lang::String * getActions();
+ ::java::lang::String * toString();
+ ::java::security::PermissionCollection * newPermissionCollection();
+ ::java::lang::String * getUnresolvedType();
+ ::java::lang::String * getUnresolvedName();
+ ::java::lang::String * getUnresolvedActions();
+ JArray< ::java::security::cert::Certificate * > * getUnresolvedCerts();
+private:
+ static const jlong serialVersionUID = -4821973115467008846LL;
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::security::Permission)))) actions;
+ JArray< ::java::security::cert::Certificate * > * certs;
+public: // actually package-private
+ ::java::lang::String * type;
+private:
+ ::java::lang::String * name;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_UnresolvedPermission__
diff --git a/libjava/java/security/UnresolvedPermissionCollection$1.h b/libjava/java/security/UnresolvedPermissionCollection$1.h
new file mode 100644
index 0000000..94cfec5
--- /dev/null
+++ b/libjava/java/security/UnresolvedPermissionCollection$1.h
@@ -0,0 +1,38 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_UnresolvedPermissionCollection$1__
+#define __java_security_UnresolvedPermissionCollection$1__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class UnresolvedPermissionCollection;
+ class UnresolvedPermissionCollection$1;
+ }
+ }
+}
+
+class java::security::UnresolvedPermissionCollection$1 : public ::java::lang::Object
+{
+
+public: // actually package-private
+ UnresolvedPermissionCollection$1(::java::security::UnresolvedPermissionCollection *);
+public:
+ jboolean hasMoreElements();
+ ::java::lang::Object * nextElement();
+public: // actually package-private
+ ::java::util::Enumeration * __attribute__((aligned(__alignof__( ::java::lang::Object)))) main_enum;
+ ::java::util::Enumeration * sub_enum;
+ ::java::security::UnresolvedPermissionCollection * this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_UnresolvedPermissionCollection$1__
diff --git a/libjava/java/security/UnresolvedPermissionCollection.h b/libjava/java/security/UnresolvedPermissionCollection.h
new file mode 100644
index 0000000..2d31d0e
--- /dev/null
+++ b/libjava/java/security/UnresolvedPermissionCollection.h
@@ -0,0 +1,39 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_UnresolvedPermissionCollection__
+#define __java_security_UnresolvedPermissionCollection__
+
+#pragma interface
+
+#include <java/security/PermissionCollection.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class Permission;
+ class UnresolvedPermissionCollection;
+ }
+ }
+}
+
+class java::security::UnresolvedPermissionCollection : public ::java::security::PermissionCollection
+{
+
+public: // actually package-private
+ UnresolvedPermissionCollection();
+public:
+ virtual void add(::java::security::Permission *);
+ virtual jboolean implies(::java::security::Permission *);
+ virtual ::java::util::Enumeration * elements();
+private:
+ static const jlong serialVersionUID = -7176153071733132400LL;
+public: // actually package-private
+ ::java::util::Hashtable * __attribute__((aligned(__alignof__( ::java::security::PermissionCollection)))) permissions;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_UnresolvedPermissionCollection__
diff --git a/libjava/java/security/VMAccessControlState.h b/libjava/java/security/VMAccessControlState.h
new file mode 100644
index 0000000..5c71033
--- /dev/null
+++ b/libjava/java/security/VMAccessControlState.h
@@ -0,0 +1,37 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_VMAccessControlState__
+#define __java_security_VMAccessControlState__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class VMAccessControlState;
+ }
+ }
+}
+
+class java::security::VMAccessControlState : public ::java::lang::Object
+{
+
+ VMAccessControlState();
+public: // actually package-private
+ static ::java::security::VMAccessControlState * getThreadState();
+ virtual jboolean isInGetContext();
+ virtual void setInGetContext(jboolean);
+ virtual ::java::util::LinkedList * getContexts();
+private:
+ ::java::util::LinkedList * __attribute__((aligned(__alignof__( ::java::lang::Object)))) contexts;
+ jboolean inGetContext;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_VMAccessControlState__
diff --git a/libjava/java/security/VMAccessController.h b/libjava/java/security/VMAccessController.h
new file mode 100644
index 0000000..20cd9ce
--- /dev/null
+++ b/libjava/java/security/VMAccessController.h
@@ -0,0 +1,41 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_VMAccessController__
+#define __java_security_VMAccessController__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class AccessControlContext;
+ class VMAccessController;
+ }
+ }
+}
+
+class java::security::VMAccessController : public ::java::lang::Object
+{
+
+ static void debug(::java::lang::String *);
+ VMAccessController();
+public: // actually package-private
+ static void pushContext(::java::security::AccessControlContext *);
+ static void popContext();
+ static ::java::security::AccessControlContext * getContext();
+private:
+ static JArray< ::java::lang::Object * > * getStack();
+ static ::java::security::AccessControlContext * DEFAULT_CONTEXT;
+ static jboolean DEBUG;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_VMAccessController__
diff --git a/libjava/java/security/VMSecureRandom$Spinner.h b/libjava/java/security/VMSecureRandom$Spinner.h
new file mode 100644
index 0000000..32a1e31
--- /dev/null
+++ b/libjava/java/security/VMSecureRandom$Spinner.h
@@ -0,0 +1,38 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_VMSecureRandom$Spinner__
+#define __java_security_VMSecureRandom$Spinner__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class VMSecureRandom$Spinner;
+ }
+ }
+}
+
+class java::security::VMSecureRandom$Spinner : public ::java::lang::Object
+{
+
+public: // actually package-private
+ VMSecureRandom$Spinner(jbyte);
+public:
+ virtual void run();
+private:
+ void stop();
+public: // actually package-private
+ static void access$0(::java::security::VMSecureRandom$Spinner *);
+ volatile jbyte __attribute__((aligned(__alignof__( ::java::lang::Object)))) value;
+ volatile jboolean running;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_VMSecureRandom$Spinner__
diff --git a/libjava/java/security/VMSecureRandom.h b/libjava/java/security/VMSecureRandom.h
new file mode 100644
index 0000000..982bc0f
--- /dev/null
+++ b/libjava/java/security/VMSecureRandom.h
@@ -0,0 +1,33 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_VMSecureRandom__
+#define __java_security_VMSecureRandom__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class VMSecureRandom;
+ }
+ }
+}
+
+class java::security::VMSecureRandom : public ::java::lang::Object
+{
+
+public: // actually package-private
+ VMSecureRandom();
+ static jint generateSeed(JArray< jbyte > *, jint, jint);
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_VMSecureRandom__
diff --git a/libjava/java/security/acl/Acl.h b/libjava/java/security/acl/Acl.h
new file mode 100644
index 0000000..82c8d6d
--- /dev/null
+++ b/libjava/java/security/acl/Acl.h
@@ -0,0 +1,45 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_acl_Acl__
+#define __java_security_acl_Acl__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class Principal;
+ namespace acl
+ {
+ class Acl;
+ class AclEntry;
+ class Permission;
+ }
+ }
+ }
+}
+
+class java::security::acl::Acl : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::lang::String * getName() = 0;
+ virtual void setName(::java::security::Principal *, ::java::lang::String *) = 0;
+ virtual jboolean addEntry(::java::security::Principal *, ::java::security::acl::AclEntry *) = 0;
+ virtual jboolean removeEntry(::java::security::Principal *, ::java::security::acl::AclEntry *) = 0;
+ virtual ::java::util::Enumeration * entries() = 0;
+ virtual jboolean checkPermission(::java::security::Principal *, ::java::security::acl::Permission *) = 0;
+ virtual ::java::util::Enumeration * getPermissions(::java::security::Principal *) = 0;
+ virtual ::java::lang::String * toString() = 0;
+ virtual jboolean addOwner(::java::security::Principal *, ::java::security::Principal *) = 0;
+ virtual jboolean deleteOwner(::java::security::Principal *, ::java::security::Principal *) = 0;
+ virtual jboolean isOwner(::java::security::Principal *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_security_acl_Acl__
diff --git a/libjava/java/security/acl/AclEntry.h b/libjava/java/security/acl/AclEntry.h
new file mode 100644
index 0000000..3b098b0
--- /dev/null
+++ b/libjava/java/security/acl/AclEntry.h
@@ -0,0 +1,43 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_acl_AclEntry__
+#define __java_security_acl_AclEntry__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class Principal;
+ namespace acl
+ {
+ class AclEntry;
+ class Permission;
+ }
+ }
+ }
+}
+
+class java::security::acl::AclEntry : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::security::Principal * getPrincipal() = 0;
+ virtual jboolean setPrincipal(::java::security::Principal *) = 0;
+ virtual void setNegativePermissions() = 0;
+ virtual jboolean isNegative() = 0;
+ virtual jboolean addPermission(::java::security::acl::Permission *) = 0;
+ virtual jboolean removePermission(::java::security::acl::Permission *) = 0;
+ virtual jboolean checkPermission(::java::security::acl::Permission *) = 0;
+ virtual ::java::util::Enumeration * permissions() = 0;
+ virtual ::java::lang::String * toString() = 0;
+ virtual ::java::lang::Object * clone() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_security_acl_AclEntry__
diff --git a/libjava/java/security/acl/AclNotFoundException.h b/libjava/java/security/acl/AclNotFoundException.h
new file mode 100644
index 0000000..9daea65
--- /dev/null
+++ b/libjava/java/security/acl/AclNotFoundException.h
@@ -0,0 +1,35 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_acl_AclNotFoundException__
+#define __java_security_acl_AclNotFoundException__
+
+#pragma interface
+
+#include <java/lang/Exception.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ namespace acl
+ {
+ class AclNotFoundException;
+ }
+ }
+ }
+}
+
+class java::security::acl::AclNotFoundException : public ::java::lang::Exception
+{
+
+public:
+ AclNotFoundException();
+private:
+ static const jlong serialVersionUID = 5684295034092681791LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_acl_AclNotFoundException__
diff --git a/libjava/java/security/acl/Group.h b/libjava/java/security/acl/Group.h
new file mode 100644
index 0000000..780774d
--- /dev/null
+++ b/libjava/java/security/acl/Group.h
@@ -0,0 +1,37 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_acl_Group__
+#define __java_security_acl_Group__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class Principal;
+ namespace acl
+ {
+ class Group;
+ }
+ }
+ }
+}
+
+class java::security::acl::Group : public ::java::lang::Object
+{
+
+public:
+ virtual jboolean addMember(::java::security::Principal *) = 0;
+ virtual jboolean removeMember(::java::security::Principal *) = 0;
+ virtual jboolean isMember(::java::security::Principal *) = 0;
+ virtual ::java::util::Enumeration * members() = 0;
+ virtual ::java::lang::String * getName() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_security_acl_Group__
diff --git a/libjava/java/security/acl/LastOwnerException.h b/libjava/java/security/acl/LastOwnerException.h
new file mode 100644
index 0000000..eb03366
--- /dev/null
+++ b/libjava/java/security/acl/LastOwnerException.h
@@ -0,0 +1,35 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_acl_LastOwnerException__
+#define __java_security_acl_LastOwnerException__
+
+#pragma interface
+
+#include <java/lang/Exception.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ namespace acl
+ {
+ class LastOwnerException;
+ }
+ }
+ }
+}
+
+class java::security::acl::LastOwnerException : public ::java::lang::Exception
+{
+
+public:
+ LastOwnerException();
+private:
+ static const jlong serialVersionUID = -5141997548211140359LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_acl_LastOwnerException__
diff --git a/libjava/java/security/acl/NotOwnerException.h b/libjava/java/security/acl/NotOwnerException.h
new file mode 100644
index 0000000..627e4e57
--- /dev/null
+++ b/libjava/java/security/acl/NotOwnerException.h
@@ -0,0 +1,35 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_acl_NotOwnerException__
+#define __java_security_acl_NotOwnerException__
+
+#pragma interface
+
+#include <java/lang/Exception.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ namespace acl
+ {
+ class NotOwnerException;
+ }
+ }
+ }
+}
+
+class java::security::acl::NotOwnerException : public ::java::lang::Exception
+{
+
+public:
+ NotOwnerException();
+private:
+ static const jlong serialVersionUID = -5555597911163362399LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_acl_NotOwnerException__
diff --git a/libjava/java/security/acl/Owner.h b/libjava/java/security/acl/Owner.h
new file mode 100644
index 0000000..b8bc09b
--- /dev/null
+++ b/libjava/java/security/acl/Owner.h
@@ -0,0 +1,35 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_acl_Owner__
+#define __java_security_acl_Owner__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class Principal;
+ namespace acl
+ {
+ class Owner;
+ }
+ }
+ }
+}
+
+class java::security::acl::Owner : public ::java::lang::Object
+{
+
+public:
+ virtual jboolean addOwner(::java::security::Principal *, ::java::security::Principal *) = 0;
+ virtual jboolean deleteOwner(::java::security::Principal *, ::java::security::Principal *) = 0;
+ virtual jboolean isOwner(::java::security::Principal *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_security_acl_Owner__
diff --git a/libjava/java/security/acl/Permission.h b/libjava/java/security/acl/Permission.h
new file mode 100644
index 0000000..f1c9b25
--- /dev/null
+++ b/libjava/java/security/acl/Permission.h
@@ -0,0 +1,33 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_acl_Permission__
+#define __java_security_acl_Permission__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ namespace acl
+ {
+ class Permission;
+ }
+ }
+ }
+}
+
+class java::security::acl::Permission : public ::java::lang::Object
+{
+
+public:
+ virtual jboolean equals(::java::lang::Object *) = 0;
+ virtual ::java::lang::String * toString() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_security_acl_Permission__
diff --git a/libjava/java/security/cert/CRL.h b/libjava/java/security/cert/CRL.h
new file mode 100644
index 0000000..e1b5298
--- /dev/null
+++ b/libjava/java/security/cert/CRL.h
@@ -0,0 +1,40 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_cert_CRL__
+#define __java_security_cert_CRL__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ namespace cert
+ {
+ class CRL;
+ class Certificate;
+ }
+ }
+ }
+}
+
+class java::security::cert::CRL : public ::java::lang::Object
+{
+
+public: // actually protected
+ CRL(::java::lang::String *);
+public:
+ virtual ::java::lang::String * getType();
+ virtual ::java::lang::String * toString() = 0;
+ virtual jboolean isRevoked(::java::security::cert::Certificate *) = 0;
+private:
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) type;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_cert_CRL__
diff --git a/libjava/java/security/cert/CRLException.h b/libjava/java/security/cert/CRLException.h
new file mode 100644
index 0000000..7e2401e
--- /dev/null
+++ b/libjava/java/security/cert/CRLException.h
@@ -0,0 +1,38 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_cert_CRLException__
+#define __java_security_cert_CRLException__
+
+#pragma interface
+
+#include <java/security/GeneralSecurityException.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ namespace cert
+ {
+ class CRLException;
+ }
+ }
+ }
+}
+
+class java::security::cert::CRLException : public ::java::security::GeneralSecurityException
+{
+
+public:
+ CRLException();
+ CRLException(::java::lang::String *);
+ CRLException(::java::lang::String *, ::java::lang::Throwable *);
+ CRLException(::java::lang::Throwable *);
+private:
+ static const jlong serialVersionUID = -6694728944094197147LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_cert_CRLException__
diff --git a/libjava/java/security/cert/CRLSelector.h b/libjava/java/security/cert/CRLSelector.h
new file mode 100644
index 0000000..fb5fe7a
--- /dev/null
+++ b/libjava/java/security/cert/CRLSelector.h
@@ -0,0 +1,34 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_cert_CRLSelector__
+#define __java_security_cert_CRLSelector__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ namespace cert
+ {
+ class CRL;
+ class CRLSelector;
+ }
+ }
+ }
+}
+
+class java::security::cert::CRLSelector : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::lang::Object * clone() = 0;
+ virtual jboolean match(::java::security::cert::CRL *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_security_cert_CRLSelector__
diff --git a/libjava/java/security/cert/CertPath$CertPathRep.h b/libjava/java/security/cert/CertPath$CertPathRep.h
new file mode 100644
index 0000000..a688e1b
--- /dev/null
+++ b/libjava/java/security/cert/CertPath$CertPathRep.h
@@ -0,0 +1,40 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_cert_CertPath$CertPathRep__
+#define __java_security_cert_CertPath$CertPathRep__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ namespace cert
+ {
+ class CertPath$CertPathRep;
+ }
+ }
+ }
+}
+
+class java::security::cert::CertPath$CertPathRep : public ::java::lang::Object
+{
+
+public: // actually protected
+ CertPath$CertPathRep(::java::lang::String *, JArray< jbyte > *);
+ virtual ::java::lang::Object * readResolve();
+private:
+ static const jlong serialVersionUID = 3015633072427920915LL;
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) type;
+ JArray< jbyte > * data;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_cert_CertPath$CertPathRep__
diff --git a/libjava/java/security/cert/CertPath.h b/libjava/java/security/cert/CertPath.h
new file mode 100644
index 0000000..ed73789
--- /dev/null
+++ b/libjava/java/security/cert/CertPath.h
@@ -0,0 +1,49 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_cert_CertPath__
+#define __java_security_cert_CertPath__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ namespace cert
+ {
+ class CertPath;
+ }
+ }
+ }
+}
+
+class java::security::cert::CertPath : public ::java::lang::Object
+{
+
+public: // actually protected
+ CertPath(::java::lang::String *);
+public:
+ virtual ::java::lang::String * getType();
+ virtual ::java::util::Iterator * getEncodings() = 0;
+ virtual jboolean equals(::java::lang::Object *);
+ virtual jint hashCode();
+ virtual ::java::lang::String * toString();
+ virtual JArray< jbyte > * getEncoded() = 0;
+ virtual JArray< jbyte > * getEncoded(::java::lang::String *) = 0;
+ virtual ::java::util::List * getCertificates() = 0;
+public: // actually protected
+ virtual ::java::lang::Object * writeReplace();
+private:
+ static const jlong serialVersionUID = 6068470306649138683LL;
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) type;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_cert_CertPath__
diff --git a/libjava/java/security/cert/CertPathBuilder.h b/libjava/java/security/cert/CertPathBuilder.h
new file mode 100644
index 0000000..2905f74
--- /dev/null
+++ b/libjava/java/security/cert/CertPathBuilder.h
@@ -0,0 +1,50 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_cert_CertPathBuilder__
+#define __java_security_cert_CertPathBuilder__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class Provider;
+ namespace cert
+ {
+ class CertPathBuilder;
+ class CertPathBuilderResult;
+ class CertPathBuilderSpi;
+ class CertPathParameters;
+ }
+ }
+ }
+}
+
+class java::security::cert::CertPathBuilder : public ::java::lang::Object
+{
+
+public: // actually protected
+ CertPathBuilder(::java::security::cert::CertPathBuilderSpi *, ::java::security::Provider *, ::java::lang::String *);
+public:
+ static ::java::lang::String * getDefaultType();
+ static ::java::security::cert::CertPathBuilder * getInstance(::java::lang::String *);
+ static ::java::security::cert::CertPathBuilder * getInstance(::java::lang::String *, ::java::lang::String *);
+ static ::java::security::cert::CertPathBuilder * getInstance(::java::lang::String *, ::java::security::Provider *);
+ virtual ::java::lang::String * getAlgorithm();
+ virtual ::java::security::Provider * getProvider();
+ virtual ::java::security::cert::CertPathBuilderResult * build(::java::security::cert::CertPathParameters *);
+private:
+ static ::java::lang::String * CERT_PATH_BUILDER;
+ ::java::security::cert::CertPathBuilderSpi * __attribute__((aligned(__alignof__( ::java::lang::Object)))) cpbSpi;
+ ::java::security::Provider * provider;
+ ::java::lang::String * algorithm;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_cert_CertPathBuilder__
diff --git a/libjava/java/security/cert/CertPathBuilderException.h b/libjava/java/security/cert/CertPathBuilderException.h
new file mode 100644
index 0000000..c2cb71b
--- /dev/null
+++ b/libjava/java/security/cert/CertPathBuilderException.h
@@ -0,0 +1,44 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_cert_CertPathBuilderException__
+#define __java_security_cert_CertPathBuilderException__
+
+#pragma interface
+
+#include <java/security/GeneralSecurityException.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ namespace cert
+ {
+ class CertPathBuilderException;
+ }
+ }
+ }
+}
+
+class java::security::cert::CertPathBuilderException : public ::java::security::GeneralSecurityException
+{
+
+public:
+ CertPathBuilderException();
+ CertPathBuilderException(::java::lang::String *);
+ CertPathBuilderException(::java::lang::Throwable *);
+ CertPathBuilderException(::java::lang::String *, ::java::lang::Throwable *);
+ virtual ::java::lang::String * getMessage();
+ virtual ::java::lang::Throwable * getCause();
+ virtual ::java::lang::String * toString();
+ virtual void printStackTrace();
+ virtual void printStackTrace(::java::io::PrintStream *);
+ virtual void printStackTrace(::java::io::PrintWriter *);
+private:
+ static const jlong serialVersionUID = 5316471420178794402LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_cert_CertPathBuilderException__
diff --git a/libjava/java/security/cert/CertPathBuilderResult.h b/libjava/java/security/cert/CertPathBuilderResult.h
new file mode 100644
index 0000000..74849e8
--- /dev/null
+++ b/libjava/java/security/cert/CertPathBuilderResult.h
@@ -0,0 +1,34 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_cert_CertPathBuilderResult__
+#define __java_security_cert_CertPathBuilderResult__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ namespace cert
+ {
+ class CertPath;
+ class CertPathBuilderResult;
+ }
+ }
+ }
+}
+
+class java::security::cert::CertPathBuilderResult : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::lang::Object * clone() = 0;
+ virtual ::java::security::cert::CertPath * getCertPath() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_security_cert_CertPathBuilderResult__
diff --git a/libjava/java/security/cert/CertPathBuilderSpi.h b/libjava/java/security/cert/CertPathBuilderSpi.h
new file mode 100644
index 0000000..8b9524a
--- /dev/null
+++ b/libjava/java/security/cert/CertPathBuilderSpi.h
@@ -0,0 +1,35 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_cert_CertPathBuilderSpi__
+#define __java_security_cert_CertPathBuilderSpi__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ namespace cert
+ {
+ class CertPathBuilderResult;
+ class CertPathBuilderSpi;
+ class CertPathParameters;
+ }
+ }
+ }
+}
+
+class java::security::cert::CertPathBuilderSpi : public ::java::lang::Object
+{
+
+public:
+ CertPathBuilderSpi();
+ virtual ::java::security::cert::CertPathBuilderResult * engineBuild(::java::security::cert::CertPathParameters *) = 0;
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_cert_CertPathBuilderSpi__
diff --git a/libjava/java/security/cert/CertPathParameters.h b/libjava/java/security/cert/CertPathParameters.h
new file mode 100644
index 0000000..a6752df
--- /dev/null
+++ b/libjava/java/security/cert/CertPathParameters.h
@@ -0,0 +1,32 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_cert_CertPathParameters__
+#define __java_security_cert_CertPathParameters__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ namespace cert
+ {
+ class CertPathParameters;
+ }
+ }
+ }
+}
+
+class java::security::cert::CertPathParameters : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::lang::Object * clone() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_security_cert_CertPathParameters__
diff --git a/libjava/java/security/cert/CertPathValidator$1.h b/libjava/java/security/cert/CertPathValidator$1.h
new file mode 100644
index 0000000..e248320
--- /dev/null
+++ b/libjava/java/security/cert/CertPathValidator$1.h
@@ -0,0 +1,34 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_cert_CertPathValidator$1__
+#define __java_security_cert_CertPathValidator$1__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ namespace cert
+ {
+ class CertPathValidator$1;
+ }
+ }
+ }
+}
+
+class java::security::cert::CertPathValidator$1 : public ::java::lang::Object
+{
+
+public: // actually package-private
+ CertPathValidator$1();
+public:
+ ::java::lang::Object * run();
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_cert_CertPathValidator$1__
diff --git a/libjava/java/security/cert/CertPathValidator.h b/libjava/java/security/cert/CertPathValidator.h
new file mode 100644
index 0000000..4424264f
--- /dev/null
+++ b/libjava/java/security/cert/CertPathValidator.h
@@ -0,0 +1,51 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_cert_CertPathValidator__
+#define __java_security_cert_CertPathValidator__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class Provider;
+ namespace cert
+ {
+ class CertPath;
+ class CertPathParameters;
+ class CertPathValidator;
+ class CertPathValidatorResult;
+ class CertPathValidatorSpi;
+ }
+ }
+ }
+}
+
+class java::security::cert::CertPathValidator : public ::java::lang::Object
+{
+
+public: // actually protected
+ CertPathValidator(::java::security::cert::CertPathValidatorSpi *, ::java::security::Provider *, ::java::lang::String *);
+public:
+ static ::java::lang::String * getDefaultType();
+ static ::java::security::cert::CertPathValidator * getInstance(::java::lang::String *);
+ static ::java::security::cert::CertPathValidator * getInstance(::java::lang::String *, ::java::lang::String *);
+ static ::java::security::cert::CertPathValidator * getInstance(::java::lang::String *, ::java::security::Provider *);
+ virtual ::java::lang::String * getAlgorithm();
+ virtual ::java::security::Provider * getProvider();
+ virtual ::java::security::cert::CertPathValidatorResult * validate(::java::security::cert::CertPath *, ::java::security::cert::CertPathParameters *);
+private:
+ static ::java::lang::String * CERT_PATH_VALIDATOR;
+ ::java::security::cert::CertPathValidatorSpi * __attribute__((aligned(__alignof__( ::java::lang::Object)))) validatorSpi;
+ ::java::security::Provider * provider;
+ ::java::lang::String * algorithm;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_cert_CertPathValidator__
diff --git a/libjava/java/security/cert/CertPathValidatorException.h b/libjava/java/security/cert/CertPathValidatorException.h
new file mode 100644
index 0000000..14289c7
--- /dev/null
+++ b/libjava/java/security/cert/CertPathValidatorException.h
@@ -0,0 +1,50 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_cert_CertPathValidatorException__
+#define __java_security_cert_CertPathValidatorException__
+
+#pragma interface
+
+#include <java/security/GeneralSecurityException.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ namespace cert
+ {
+ class CertPath;
+ class CertPathValidatorException;
+ }
+ }
+ }
+}
+
+class java::security::cert::CertPathValidatorException : public ::java::security::GeneralSecurityException
+{
+
+public:
+ CertPathValidatorException();
+ CertPathValidatorException(::java::lang::String *);
+ CertPathValidatorException(::java::lang::Throwable *);
+ CertPathValidatorException(::java::lang::String *, ::java::lang::Throwable *);
+ CertPathValidatorException(::java::lang::String *, ::java::lang::Throwable *, ::java::security::cert::CertPath *, jint);
+ virtual ::java::lang::String * getMessage();
+ virtual ::java::security::cert::CertPath * getCertPath();
+ virtual jint getIndex();
+ virtual ::java::lang::Throwable * getCause();
+ virtual ::java::lang::String * toString();
+ virtual void printStackTrace();
+ virtual void printStackTrace(::java::io::PrintStream *);
+ virtual void printStackTrace(::java::io::PrintWriter *);
+private:
+ static const jlong serialVersionUID = -3083180014971893139LL;
+ jint __attribute__((aligned(__alignof__( ::java::security::GeneralSecurityException)))) index;
+ ::java::security::cert::CertPath * certPath;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_cert_CertPathValidatorException__
diff --git a/libjava/java/security/cert/CertPathValidatorResult.h b/libjava/java/security/cert/CertPathValidatorResult.h
new file mode 100644
index 0000000..1a45320
--- /dev/null
+++ b/libjava/java/security/cert/CertPathValidatorResult.h
@@ -0,0 +1,32 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_cert_CertPathValidatorResult__
+#define __java_security_cert_CertPathValidatorResult__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ namespace cert
+ {
+ class CertPathValidatorResult;
+ }
+ }
+ }
+}
+
+class java::security::cert::CertPathValidatorResult : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::lang::Object * clone() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_security_cert_CertPathValidatorResult__
diff --git a/libjava/java/security/cert/CertPathValidatorSpi.h b/libjava/java/security/cert/CertPathValidatorSpi.h
new file mode 100644
index 0000000..cb737ef
--- /dev/null
+++ b/libjava/java/security/cert/CertPathValidatorSpi.h
@@ -0,0 +1,36 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_cert_CertPathValidatorSpi__
+#define __java_security_cert_CertPathValidatorSpi__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ namespace cert
+ {
+ class CertPath;
+ class CertPathParameters;
+ class CertPathValidatorResult;
+ class CertPathValidatorSpi;
+ }
+ }
+ }
+}
+
+class java::security::cert::CertPathValidatorSpi : public ::java::lang::Object
+{
+
+public:
+ CertPathValidatorSpi();
+ virtual ::java::security::cert::CertPathValidatorResult * engineValidate(::java::security::cert::CertPath *, ::java::security::cert::CertPathParameters *) = 0;
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_cert_CertPathValidatorSpi__
diff --git a/libjava/java/security/cert/CertSelector.h b/libjava/java/security/cert/CertSelector.h
new file mode 100644
index 0000000..2288bcc
--- /dev/null
+++ b/libjava/java/security/cert/CertSelector.h
@@ -0,0 +1,34 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_cert_CertSelector__
+#define __java_security_cert_CertSelector__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ namespace cert
+ {
+ class CertSelector;
+ class Certificate;
+ }
+ }
+ }
+}
+
+class java::security::cert::CertSelector : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::lang::Object * clone() = 0;
+ virtual jboolean match(::java::security::cert::Certificate *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_security_cert_CertSelector__
diff --git a/libjava/java/security/cert/CertStore$1.h b/libjava/java/security/cert/CertStore$1.h
new file mode 100644
index 0000000..16ae232
--- /dev/null
+++ b/libjava/java/security/cert/CertStore$1.h
@@ -0,0 +1,34 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_cert_CertStore$1__
+#define __java_security_cert_CertStore$1__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ namespace cert
+ {
+ class CertStore$1;
+ }
+ }
+ }
+}
+
+class java::security::cert::CertStore$1 : public ::java::lang::Object
+{
+
+public: // actually package-private
+ CertStore$1();
+public:
+ ::java::lang::Object * run();
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_cert_CertStore$1__
diff --git a/libjava/java/security/cert/CertStore.h b/libjava/java/security/cert/CertStore.h
new file mode 100644
index 0000000..af7e748
--- /dev/null
+++ b/libjava/java/security/cert/CertStore.h
@@ -0,0 +1,54 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_cert_CertStore__
+#define __java_security_cert_CertStore__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class Provider;
+ namespace cert
+ {
+ class CRLSelector;
+ class CertSelector;
+ class CertStore;
+ class CertStoreParameters;
+ class CertStoreSpi;
+ }
+ }
+ }
+}
+
+class java::security::cert::CertStore : public ::java::lang::Object
+{
+
+public: // actually protected
+ CertStore(::java::security::cert::CertStoreSpi *, ::java::security::Provider *, ::java::lang::String *, ::java::security::cert::CertStoreParameters *);
+public:
+ static ::java::lang::String * getDefaultType();
+ static ::java::security::cert::CertStore * getInstance(::java::lang::String *, ::java::security::cert::CertStoreParameters *);
+ static ::java::security::cert::CertStore * getInstance(::java::lang::String *, ::java::security::cert::CertStoreParameters *, ::java::lang::String *);
+ static ::java::security::cert::CertStore * getInstance(::java::lang::String *, ::java::security::cert::CertStoreParameters *, ::java::security::Provider *);
+ virtual ::java::lang::String * getType();
+ virtual ::java::security::Provider * getProvider();
+ virtual ::java::security::cert::CertStoreParameters * getCertStoreParameters();
+ virtual ::java::util::Collection * getCertificates(::java::security::cert::CertSelector *);
+ virtual ::java::util::Collection * getCRLs(::java::security::cert::CRLSelector *);
+private:
+ static ::java::lang::String * CERT_STORE;
+ ::java::security::cert::CertStoreSpi * __attribute__((aligned(__alignof__( ::java::lang::Object)))) storeSpi;
+ ::java::security::Provider * provider;
+ ::java::lang::String * type;
+ ::java::security::cert::CertStoreParameters * params;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_cert_CertStore__
diff --git a/libjava/java/security/cert/CertStoreException.h b/libjava/java/security/cert/CertStoreException.h
new file mode 100644
index 0000000..72e42f9
--- /dev/null
+++ b/libjava/java/security/cert/CertStoreException.h
@@ -0,0 +1,44 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_cert_CertStoreException__
+#define __java_security_cert_CertStoreException__
+
+#pragma interface
+
+#include <java/security/GeneralSecurityException.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ namespace cert
+ {
+ class CertStoreException;
+ }
+ }
+ }
+}
+
+class java::security::cert::CertStoreException : public ::java::security::GeneralSecurityException
+{
+
+public:
+ CertStoreException();
+ CertStoreException(::java::lang::String *);
+ CertStoreException(::java::lang::Throwable *);
+ CertStoreException(::java::lang::String *, ::java::lang::Throwable *);
+ virtual ::java::lang::String * getMessage();
+ virtual ::java::lang::Throwable * getCause();
+ virtual ::java::lang::String * toString();
+ virtual void printStackTrace();
+ virtual void printStackTrace(::java::io::PrintStream *);
+ virtual void printStackTrace(::java::io::PrintWriter *);
+private:
+ static const jlong serialVersionUID = 2395296107471573245LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_cert_CertStoreException__
diff --git a/libjava/java/security/cert/CertStoreParameters.h b/libjava/java/security/cert/CertStoreParameters.h
new file mode 100644
index 0000000..57eda81
--- /dev/null
+++ b/libjava/java/security/cert/CertStoreParameters.h
@@ -0,0 +1,32 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_cert_CertStoreParameters__
+#define __java_security_cert_CertStoreParameters__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ namespace cert
+ {
+ class CertStoreParameters;
+ }
+ }
+ }
+}
+
+class java::security::cert::CertStoreParameters : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::lang::Object * clone() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_security_cert_CertStoreParameters__
diff --git a/libjava/java/security/cert/CertStoreSpi.h b/libjava/java/security/cert/CertStoreSpi.h
new file mode 100644
index 0000000..30dc3a4
--- /dev/null
+++ b/libjava/java/security/cert/CertStoreSpi.h
@@ -0,0 +1,37 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_cert_CertStoreSpi__
+#define __java_security_cert_CertStoreSpi__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ namespace cert
+ {
+ class CRLSelector;
+ class CertSelector;
+ class CertStoreParameters;
+ class CertStoreSpi;
+ }
+ }
+ }
+}
+
+class java::security::cert::CertStoreSpi : public ::java::lang::Object
+{
+
+public:
+ CertStoreSpi(::java::security::cert::CertStoreParameters *);
+ virtual ::java::util::Collection * engineGetCertificates(::java::security::cert::CertSelector *) = 0;
+ virtual ::java::util::Collection * engineGetCRLs(::java::security::cert::CRLSelector *) = 0;
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_cert_CertStoreSpi__
diff --git a/libjava/java/security/cert/Certificate$CertificateRep.h b/libjava/java/security/cert/Certificate$CertificateRep.h
new file mode 100644
index 0000000..3eb75f2
--- /dev/null
+++ b/libjava/java/security/cert/Certificate$CertificateRep.h
@@ -0,0 +1,40 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_cert_Certificate$CertificateRep__
+#define __java_security_cert_Certificate$CertificateRep__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ namespace cert
+ {
+ class Certificate$CertificateRep;
+ }
+ }
+ }
+}
+
+class java::security::cert::Certificate$CertificateRep : public ::java::lang::Object
+{
+
+public: // actually protected
+ Certificate$CertificateRep(::java::lang::String *, JArray< jbyte > *);
+ virtual ::java::lang::Object * readResolve();
+private:
+ static const jlong serialVersionUID = -8563758940495660020LL;
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) type;
+ JArray< jbyte > * data;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_cert_Certificate$CertificateRep__
diff --git a/libjava/java/security/cert/Certificate.h b/libjava/java/security/cert/Certificate.h
new file mode 100644
index 0000000..350d78a
--- /dev/null
+++ b/libjava/java/security/cert/Certificate.h
@@ -0,0 +1,50 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_cert_Certificate__
+#define __java_security_cert_Certificate__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class PublicKey;
+ namespace cert
+ {
+ class Certificate;
+ }
+ }
+ }
+}
+
+class java::security::cert::Certificate : public ::java::lang::Object
+{
+
+public: // actually protected
+ Certificate(::java::lang::String *);
+public:
+ virtual ::java::lang::String * getType();
+ virtual jboolean equals(::java::lang::Object *);
+ virtual jint hashCode();
+ virtual JArray< jbyte > * getEncoded() = 0;
+ virtual void verify(::java::security::PublicKey *) = 0;
+ virtual void verify(::java::security::PublicKey *, ::java::lang::String *) = 0;
+ virtual ::java::lang::String * toString() = 0;
+ virtual ::java::security::PublicKey * getPublicKey() = 0;
+public: // actually protected
+ virtual ::java::lang::Object * writeReplace();
+private:
+ static const jlong serialVersionUID = -3585440601605666277LL;
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) type;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_cert_Certificate__
diff --git a/libjava/java/security/cert/CertificateEncodingException.h b/libjava/java/security/cert/CertificateEncodingException.h
new file mode 100644
index 0000000..f97e40e
--- /dev/null
+++ b/libjava/java/security/cert/CertificateEncodingException.h
@@ -0,0 +1,38 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_cert_CertificateEncodingException__
+#define __java_security_cert_CertificateEncodingException__
+
+#pragma interface
+
+#include <java/security/cert/CertificateException.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ namespace cert
+ {
+ class CertificateEncodingException;
+ }
+ }
+ }
+}
+
+class java::security::cert::CertificateEncodingException : public ::java::security::cert::CertificateException
+{
+
+public:
+ CertificateEncodingException();
+ CertificateEncodingException(::java::lang::String *);
+ CertificateEncodingException(::java::lang::String *, ::java::lang::Throwable *);
+ CertificateEncodingException(::java::lang::Throwable *);
+private:
+ static const jlong serialVersionUID = 6219492851589449162LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_cert_CertificateEncodingException__
diff --git a/libjava/java/security/cert/CertificateException.h b/libjava/java/security/cert/CertificateException.h
new file mode 100644
index 0000000..11658e2
--- /dev/null
+++ b/libjava/java/security/cert/CertificateException.h
@@ -0,0 +1,38 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_cert_CertificateException__
+#define __java_security_cert_CertificateException__
+
+#pragma interface
+
+#include <java/security/GeneralSecurityException.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ namespace cert
+ {
+ class CertificateException;
+ }
+ }
+ }
+}
+
+class java::security::cert::CertificateException : public ::java::security::GeneralSecurityException
+{
+
+public:
+ CertificateException();
+ CertificateException(::java::lang::String *);
+ CertificateException(::java::lang::String *, ::java::lang::Throwable *);
+ CertificateException(::java::lang::Throwable *);
+private:
+ static const jlong serialVersionUID = 3192535253797119798LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_cert_CertificateException__
diff --git a/libjava/java/security/cert/CertificateExpiredException.h b/libjava/java/security/cert/CertificateExpiredException.h
new file mode 100644
index 0000000..a92013d
--- /dev/null
+++ b/libjava/java/security/cert/CertificateExpiredException.h
@@ -0,0 +1,36 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_cert_CertificateExpiredException__
+#define __java_security_cert_CertificateExpiredException__
+
+#pragma interface
+
+#include <java/security/cert/CertificateException.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ namespace cert
+ {
+ class CertificateExpiredException;
+ }
+ }
+ }
+}
+
+class java::security::cert::CertificateExpiredException : public ::java::security::cert::CertificateException
+{
+
+public:
+ CertificateExpiredException();
+ CertificateExpiredException(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = 9071001339691533771LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_cert_CertificateExpiredException__
diff --git a/libjava/java/security/cert/CertificateFactory.h b/libjava/java/security/cert/CertificateFactory.h
new file mode 100644
index 0000000..184e3e4
--- /dev/null
+++ b/libjava/java/security/cert/CertificateFactory.h
@@ -0,0 +1,57 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_cert_CertificateFactory__
+#define __java_security_cert_CertificateFactory__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class Provider;
+ namespace cert
+ {
+ class CRL;
+ class CertPath;
+ class Certificate;
+ class CertificateFactory;
+ class CertificateFactorySpi;
+ }
+ }
+ }
+}
+
+class java::security::cert::CertificateFactory : public ::java::lang::Object
+{
+
+public: // actually protected
+ CertificateFactory(::java::security::cert::CertificateFactorySpi *, ::java::security::Provider *, ::java::lang::String *);
+public:
+ static ::java::security::cert::CertificateFactory * getInstance(::java::lang::String *);
+ static ::java::security::cert::CertificateFactory * getInstance(::java::lang::String *, ::java::lang::String *);
+ static ::java::security::cert::CertificateFactory * getInstance(::java::lang::String *, ::java::security::Provider *);
+ virtual ::java::security::Provider * getProvider();
+ virtual ::java::lang::String * getType();
+ virtual ::java::security::cert::Certificate * generateCertificate(::java::io::InputStream *);
+ virtual ::java::util::Collection * generateCertificates(::java::io::InputStream *);
+ virtual ::java::security::cert::CRL * generateCRL(::java::io::InputStream *);
+ virtual ::java::util::Collection * generateCRLs(::java::io::InputStream *);
+ virtual ::java::security::cert::CertPath * generateCertPath(::java::io::InputStream *);
+ virtual ::java::security::cert::CertPath * generateCertPath(::java::io::InputStream *, ::java::lang::String *);
+ virtual ::java::security::cert::CertPath * generateCertPath(::java::util::List *);
+ virtual ::java::util::Iterator * getCertPathEncodings();
+private:
+ static ::java::lang::String * CERTIFICATE_FACTORY;
+ ::java::security::cert::CertificateFactorySpi * __attribute__((aligned(__alignof__( ::java::lang::Object)))) certFacSpi;
+ ::java::security::Provider * provider;
+ ::java::lang::String * type;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_cert_CertificateFactory__
diff --git a/libjava/java/security/cert/CertificateFactorySpi.h b/libjava/java/security/cert/CertificateFactorySpi.h
new file mode 100644
index 0000000..2370e67
--- /dev/null
+++ b/libjava/java/security/cert/CertificateFactorySpi.h
@@ -0,0 +1,43 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_cert_CertificateFactorySpi__
+#define __java_security_cert_CertificateFactorySpi__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ namespace cert
+ {
+ class CRL;
+ class CertPath;
+ class Certificate;
+ class CertificateFactorySpi;
+ }
+ }
+ }
+}
+
+class java::security::cert::CertificateFactorySpi : public ::java::lang::Object
+{
+
+public:
+ CertificateFactorySpi();
+ virtual ::java::security::cert::Certificate * engineGenerateCertificate(::java::io::InputStream *) = 0;
+ virtual ::java::util::Collection * engineGenerateCertificates(::java::io::InputStream *) = 0;
+ virtual ::java::security::cert::CRL * engineGenerateCRL(::java::io::InputStream *) = 0;
+ virtual ::java::util::Collection * engineGenerateCRLs(::java::io::InputStream *) = 0;
+ virtual ::java::security::cert::CertPath * engineGenerateCertPath(::java::io::InputStream *);
+ virtual ::java::security::cert::CertPath * engineGenerateCertPath(::java::io::InputStream *, ::java::lang::String *);
+ virtual ::java::security::cert::CertPath * engineGenerateCertPath(::java::util::List *);
+ virtual ::java::util::Iterator * engineGetCertPathEncodings();
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_cert_CertificateFactorySpi__
diff --git a/libjava/java/security/cert/CertificateNotYetValidException.h b/libjava/java/security/cert/CertificateNotYetValidException.h
new file mode 100644
index 0000000..510bb39
--- /dev/null
+++ b/libjava/java/security/cert/CertificateNotYetValidException.h
@@ -0,0 +1,36 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_cert_CertificateNotYetValidException__
+#define __java_security_cert_CertificateNotYetValidException__
+
+#pragma interface
+
+#include <java/security/cert/CertificateException.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ namespace cert
+ {
+ class CertificateNotYetValidException;
+ }
+ }
+ }
+}
+
+class java::security::cert::CertificateNotYetValidException : public ::java::security::cert::CertificateException
+{
+
+public:
+ CertificateNotYetValidException();
+ CertificateNotYetValidException(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = 4355919900041064702LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_cert_CertificateNotYetValidException__
diff --git a/libjava/java/security/cert/CertificateParsingException.h b/libjava/java/security/cert/CertificateParsingException.h
new file mode 100644
index 0000000..2827e89
--- /dev/null
+++ b/libjava/java/security/cert/CertificateParsingException.h
@@ -0,0 +1,38 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_cert_CertificateParsingException__
+#define __java_security_cert_CertificateParsingException__
+
+#pragma interface
+
+#include <java/security/cert/CertificateException.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ namespace cert
+ {
+ class CertificateParsingException;
+ }
+ }
+ }
+}
+
+class java::security::cert::CertificateParsingException : public ::java::security::cert::CertificateException
+{
+
+public:
+ CertificateParsingException();
+ CertificateParsingException(::java::lang::String *);
+ CertificateParsingException(::java::lang::String *, ::java::lang::Throwable *);
+ CertificateParsingException(::java::lang::Throwable *);
+private:
+ static const jlong serialVersionUID = -7989222416793322029LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_cert_CertificateParsingException__
diff --git a/libjava/java/security/cert/CollectionCertStoreParameters.h b/libjava/java/security/cert/CollectionCertStoreParameters.h
new file mode 100644
index 0000000..cabf8df
--- /dev/null
+++ b/libjava/java/security/cert/CollectionCertStoreParameters.h
@@ -0,0 +1,39 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_cert_CollectionCertStoreParameters__
+#define __java_security_cert_CollectionCertStoreParameters__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ namespace cert
+ {
+ class CollectionCertStoreParameters;
+ }
+ }
+ }
+}
+
+class java::security::cert::CollectionCertStoreParameters : public ::java::lang::Object
+{
+
+public:
+ CollectionCertStoreParameters();
+ CollectionCertStoreParameters(::java::util::Collection *);
+ virtual ::java::lang::Object * clone();
+ virtual ::java::util::Collection * getCollection();
+ virtual ::java::lang::String * toString();
+private:
+ ::java::util::Collection * __attribute__((aligned(__alignof__( ::java::lang::Object)))) collection;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_cert_CollectionCertStoreParameters__
diff --git a/libjava/java/security/cert/LDAPCertStoreParameters.h b/libjava/java/security/cert/LDAPCertStoreParameters.h
new file mode 100644
index 0000000..2cdde19
--- /dev/null
+++ b/libjava/java/security/cert/LDAPCertStoreParameters.h
@@ -0,0 +1,43 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_cert_LDAPCertStoreParameters__
+#define __java_security_cert_LDAPCertStoreParameters__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ namespace cert
+ {
+ class LDAPCertStoreParameters;
+ }
+ }
+ }
+}
+
+class java::security::cert::LDAPCertStoreParameters : public ::java::lang::Object
+{
+
+public:
+ LDAPCertStoreParameters();
+ LDAPCertStoreParameters(::java::lang::String *);
+ LDAPCertStoreParameters(::java::lang::String *, jint);
+ virtual ::java::lang::Object * clone();
+ virtual ::java::lang::String * getServerName();
+ virtual jint getPort();
+ virtual ::java::lang::String * toString();
+private:
+ static const jint LDAP_PORT = 389;
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) serverName;
+ jint port;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_cert_LDAPCertStoreParameters__
diff --git a/libjava/java/security/cert/PKIXBuilderParameters.h b/libjava/java/security/cert/PKIXBuilderParameters.h
new file mode 100644
index 0000000..bb9ffd7
--- /dev/null
+++ b/libjava/java/security/cert/PKIXBuilderParameters.h
@@ -0,0 +1,41 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_cert_PKIXBuilderParameters__
+#define __java_security_cert_PKIXBuilderParameters__
+
+#pragma interface
+
+#include <java/security/cert/PKIXParameters.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class KeyStore;
+ namespace cert
+ {
+ class CertSelector;
+ class PKIXBuilderParameters;
+ }
+ }
+ }
+}
+
+class java::security::cert::PKIXBuilderParameters : public ::java::security::cert::PKIXParameters
+{
+
+public:
+ PKIXBuilderParameters(::java::security::KeyStore *, ::java::security::cert::CertSelector *);
+ PKIXBuilderParameters(::java::util::Set *, ::java::security::cert::CertSelector *);
+ virtual jint getMaxPathLength();
+ virtual void setMaxPathLength(jint);
+ virtual ::java::lang::String * toString();
+private:
+ jint __attribute__((aligned(__alignof__( ::java::security::cert::PKIXParameters)))) maxPathLength;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_cert_PKIXBuilderParameters__
diff --git a/libjava/java/security/cert/PKIXCertPathBuilderResult.h b/libjava/java/security/cert/PKIXCertPathBuilderResult.h
new file mode 100644
index 0000000..ad6ee69
--- /dev/null
+++ b/libjava/java/security/cert/PKIXCertPathBuilderResult.h
@@ -0,0 +1,41 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_cert_PKIXCertPathBuilderResult__
+#define __java_security_cert_PKIXCertPathBuilderResult__
+
+#pragma interface
+
+#include <java/security/cert/PKIXCertPathValidatorResult.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class PublicKey;
+ namespace cert
+ {
+ class CertPath;
+ class PKIXCertPathBuilderResult;
+ class PolicyNode;
+ class TrustAnchor;
+ }
+ }
+ }
+}
+
+class java::security::cert::PKIXCertPathBuilderResult : public ::java::security::cert::PKIXCertPathValidatorResult
+{
+
+public:
+ PKIXCertPathBuilderResult(::java::security::cert::CertPath *, ::java::security::cert::TrustAnchor *, ::java::security::cert::PolicyNode *, ::java::security::PublicKey *);
+ virtual ::java::security::cert::CertPath * getCertPath();
+ virtual ::java::lang::String * toString();
+private:
+ ::java::security::cert::CertPath * __attribute__((aligned(__alignof__( ::java::security::cert::PKIXCertPathValidatorResult)))) certPath;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_cert_PKIXCertPathBuilderResult__
diff --git a/libjava/java/security/cert/PKIXCertPathChecker.h b/libjava/java/security/cert/PKIXCertPathChecker.h
new file mode 100644
index 0000000..375e8f3
--- /dev/null
+++ b/libjava/java/security/cert/PKIXCertPathChecker.h
@@ -0,0 +1,39 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_cert_PKIXCertPathChecker__
+#define __java_security_cert_PKIXCertPathChecker__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ namespace cert
+ {
+ class Certificate;
+ class PKIXCertPathChecker;
+ }
+ }
+ }
+}
+
+class java::security::cert::PKIXCertPathChecker : public ::java::lang::Object
+{
+
+public: // actually protected
+ PKIXCertPathChecker();
+public:
+ virtual ::java::lang::Object * clone();
+ virtual void init(jboolean) = 0;
+ virtual jboolean isForwardCheckingSupported() = 0;
+ virtual ::java::util::Set * getSupportedExtensions() = 0;
+ virtual void check(::java::security::cert::Certificate *, ::java::util::Collection *) = 0;
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_cert_PKIXCertPathChecker__
diff --git a/libjava/java/security/cert/PKIXCertPathValidatorResult.h b/libjava/java/security/cert/PKIXCertPathValidatorResult.h
new file mode 100644
index 0000000..879bc2b
--- /dev/null
+++ b/libjava/java/security/cert/PKIXCertPathValidatorResult.h
@@ -0,0 +1,45 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_cert_PKIXCertPathValidatorResult__
+#define __java_security_cert_PKIXCertPathValidatorResult__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class PublicKey;
+ namespace cert
+ {
+ class PKIXCertPathValidatorResult;
+ class PolicyNode;
+ class TrustAnchor;
+ }
+ }
+ }
+}
+
+class java::security::cert::PKIXCertPathValidatorResult : public ::java::lang::Object
+{
+
+public:
+ PKIXCertPathValidatorResult(::java::security::cert::TrustAnchor *, ::java::security::cert::PolicyNode *, ::java::security::PublicKey *);
+ virtual ::java::security::cert::TrustAnchor * getTrustAnchor();
+ virtual ::java::security::cert::PolicyNode * getPolicyTree();
+ virtual ::java::security::PublicKey * getPublicKey();
+ virtual ::java::lang::Object * clone();
+ virtual ::java::lang::String * toString();
+private:
+ ::java::security::cert::TrustAnchor * __attribute__((aligned(__alignof__( ::java::lang::Object)))) trustAnchor;
+ ::java::security::cert::PolicyNode * policyTree;
+ ::java::security::PublicKey * subjectPublicKey;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_cert_PKIXCertPathValidatorResult__
diff --git a/libjava/java/security/cert/PKIXParameters.h b/libjava/java/security/cert/PKIXParameters.h
new file mode 100644
index 0000000..7a95369
--- /dev/null
+++ b/libjava/java/security/cert/PKIXParameters.h
@@ -0,0 +1,83 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_cert_PKIXParameters__
+#define __java_security_cert_PKIXParameters__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class KeyStore;
+ namespace cert
+ {
+ class CertSelector;
+ class CertStore;
+ class PKIXCertPathChecker;
+ class PKIXParameters;
+ }
+ }
+ }
+}
+
+class java::security::cert::PKIXParameters : public ::java::lang::Object
+{
+
+public:
+ PKIXParameters(::java::security::KeyStore *);
+ PKIXParameters(::java::util::Set *);
+private:
+ PKIXParameters();
+ PKIXParameters(::java::security::cert::PKIXParameters *);
+public:
+ virtual ::java::util::Set * getTrustAnchors();
+ virtual void setTrustAnchors(::java::util::Set *);
+ virtual ::java::util::Set * getInitialPolicies();
+ virtual void setInitialPolicies(::java::util::Set *);
+ virtual void addCertStore(::java::security::cert::CertStore *);
+ virtual ::java::util::List * getCertStores();
+ virtual void setCertStores(::java::util::List *);
+ virtual jboolean isRevocationEnabled();
+ virtual void setRevocationEnabled(jboolean);
+ virtual jboolean isExplicitPolicyRequired();
+ virtual void setExplicitPolicyRequired(jboolean);
+ virtual jboolean isPolicyMappingInhibited();
+ virtual void setPolicyMappingInhibited(jboolean);
+ virtual jboolean isAnyPolicyInhibited();
+ virtual void setAnyPolicyInhibited(jboolean);
+ virtual jboolean getPolicyQualifiersRejected();
+ virtual void setPolicyQualifiersRejected(jboolean);
+ virtual ::java::util::Date * getDate();
+ virtual void setDate(::java::util::Date *);
+ virtual void addCertPathChecker(::java::security::cert::PKIXCertPathChecker *);
+ virtual ::java::util::List * getCertPathCheckers();
+ virtual void setCertPathCheckers(::java::util::List *);
+ virtual ::java::lang::String * getSigProvider();
+ virtual void setSigProvider(::java::lang::String *);
+ virtual ::java::security::cert::CertSelector * getTargetCertConstraints();
+ virtual void setTargetCertConstraints(::java::security::cert::CertSelector *);
+ virtual ::java::lang::Object * clone();
+ virtual ::java::lang::String * toString();
+private:
+ ::java::util::Set * __attribute__((aligned(__alignof__( ::java::lang::Object)))) trustAnchors;
+ ::java::util::Set * initPolicies;
+ ::java::util::List * certStores;
+ ::java::util::List * pathCheckers;
+ jboolean revocationEnabled;
+ jboolean exPolicyRequired;
+ jboolean policyMappingInhibited;
+ jboolean anyPolicyInhibited;
+ jboolean policyQualRejected;
+ ::java::util::Date * date;
+ ::java::lang::String * sigProvider;
+ ::java::security::cert::CertSelector * targetConstraints;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_cert_PKIXParameters__
diff --git a/libjava/java/security/cert/PolicyNode.h b/libjava/java/security/cert/PolicyNode.h
new file mode 100644
index 0000000..04cadaf
--- /dev/null
+++ b/libjava/java/security/cert/PolicyNode.h
@@ -0,0 +1,38 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_cert_PolicyNode__
+#define __java_security_cert_PolicyNode__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ namespace cert
+ {
+ class PolicyNode;
+ }
+ }
+ }
+}
+
+class java::security::cert::PolicyNode : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::util::Iterator * getChildren() = 0;
+ virtual jint getDepth() = 0;
+ virtual ::java::util::Set * getExpectedPolicies() = 0;
+ virtual ::java::security::cert::PolicyNode * getParent() = 0;
+ virtual ::java::util::Set * getPolicyQualifiers() = 0;
+ virtual ::java::lang::String * getValidPolicy() = 0;
+ virtual jboolean isCritical() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_security_cert_PolicyNode__
diff --git a/libjava/java/security/cert/PolicyQualifierInfo.h b/libjava/java/security/cert/PolicyQualifierInfo.h
new file mode 100644
index 0000000..ed16d26
--- /dev/null
+++ b/libjava/java/security/cert/PolicyQualifierInfo.h
@@ -0,0 +1,57 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_cert_PolicyQualifierInfo__
+#define __java_security_cert_PolicyQualifierInfo__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace security
+ {
+ class OID;
+ namespace der
+ {
+ class DERValue;
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace security
+ {
+ namespace cert
+ {
+ class PolicyQualifierInfo;
+ }
+ }
+ }
+}
+
+class java::security::cert::PolicyQualifierInfo : public ::java::lang::Object
+{
+
+public:
+ PolicyQualifierInfo(JArray< jbyte > *);
+ virtual ::java::lang::String * getPolicyQualifierId();
+ virtual JArray< jbyte > * getEncoded();
+ virtual JArray< jbyte > * getPolicyQualifier();
+ virtual ::java::lang::String * toString();
+private:
+ ::gnu::java::security::OID * __attribute__((aligned(__alignof__( ::java::lang::Object)))) oid;
+ JArray< jbyte > * encoded;
+ ::gnu::java::security::der::DERValue * qualifier;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_cert_PolicyQualifierInfo__
diff --git a/libjava/java/security/cert/TrustAnchor.h b/libjava/java/security/cert/TrustAnchor.h
new file mode 100644
index 0000000..3afc671
--- /dev/null
+++ b/libjava/java/security/cert/TrustAnchor.h
@@ -0,0 +1,61 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_cert_TrustAnchor__
+#define __java_security_cert_TrustAnchor__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace security
+ {
+ namespace x509
+ {
+ class X500DistinguishedName;
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace security
+ {
+ class PublicKey;
+ namespace cert
+ {
+ class TrustAnchor;
+ class X509Certificate;
+ }
+ }
+ }
+}
+
+class java::security::cert::TrustAnchor : public ::java::lang::Object
+{
+
+public:
+ TrustAnchor(::java::security::cert::X509Certificate *, JArray< jbyte > *);
+ TrustAnchor(::java::lang::String *, ::java::security::PublicKey *, JArray< jbyte > *);
+ virtual ::java::security::cert::X509Certificate * getTrustedCert();
+ virtual ::java::lang::String * getCAName();
+ virtual ::java::security::PublicKey * getCAPublicKey();
+ virtual JArray< jbyte > * getNameConstraints();
+ virtual ::java::lang::String * toString();
+private:
+ ::gnu::java::security::x509::X500DistinguishedName * __attribute__((aligned(__alignof__( ::java::lang::Object)))) caName;
+ ::java::security::PublicKey * caKey;
+ ::java::security::cert::X509Certificate * trustedCert;
+ JArray< jbyte > * nameConstraints;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_cert_TrustAnchor__
diff --git a/libjava/java/security/cert/X509CRL.h b/libjava/java/security/cert/X509CRL.h
new file mode 100644
index 0000000..1c92665
--- /dev/null
+++ b/libjava/java/security/cert/X509CRL.h
@@ -0,0 +1,76 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_cert_X509CRL__
+#define __java_security_cert_X509CRL__
+
+#pragma interface
+
+#include <java/security/cert/CRL.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace math
+ {
+ class BigInteger;
+ }
+ namespace security
+ {
+ class Principal;
+ class PublicKey;
+ namespace cert
+ {
+ class X509CRL;
+ class X509CRLEntry;
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace security
+ {
+ namespace auth
+ {
+ namespace x500
+ {
+ class X500Principal;
+ }
+ }
+ }
+ }
+}
+
+class java::security::cert::X509CRL : public ::java::security::cert::CRL
+{
+
+public: // actually protected
+ X509CRL();
+public:
+ virtual jboolean equals(::java::lang::Object *);
+ virtual jint hashCode();
+ virtual JArray< jbyte > * getEncoded() = 0;
+ virtual void verify(::java::security::PublicKey *) = 0;
+ virtual void verify(::java::security::PublicKey *, ::java::lang::String *) = 0;
+ virtual jint getVersion() = 0;
+ virtual ::java::security::Principal * getIssuerDN() = 0;
+ virtual ::java::util::Date * getThisUpdate() = 0;
+ virtual ::java::util::Date * getNextUpdate() = 0;
+ virtual ::java::security::cert::X509CRLEntry * getRevokedCertificate(::java::math::BigInteger *) = 0;
+ virtual ::java::util::Set * getRevokedCertificates() = 0;
+ virtual JArray< jbyte > * getTBSCertList() = 0;
+ virtual JArray< jbyte > * getSignature() = 0;
+ virtual ::java::lang::String * getSigAlgName() = 0;
+ virtual ::java::lang::String * getSigAlgOID() = 0;
+ virtual JArray< jbyte > * getSigAlgParams() = 0;
+ virtual ::javax::security::auth::x500::X500Principal * getIssuerX500Principal();
+ virtual jboolean hasUnsupportedCriticalExtension() = 0;
+ virtual ::java::util::Set * getCriticalExtensionOIDs() = 0;
+ virtual ::java::util::Set * getNonCriticalExtensionOIDs() = 0;
+ virtual JArray< jbyte > * getExtensionValue(::java::lang::String *) = 0;
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_cert_X509CRL__
diff --git a/libjava/java/security/cert/X509CRLEntry.h b/libjava/java/security/cert/X509CRLEntry.h
new file mode 100644
index 0000000..8d9c8d5
--- /dev/null
+++ b/libjava/java/security/cert/X509CRLEntry.h
@@ -0,0 +1,49 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_cert_X509CRLEntry__
+#define __java_security_cert_X509CRLEntry__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace math
+ {
+ class BigInteger;
+ }
+ namespace security
+ {
+ namespace cert
+ {
+ class X509CRLEntry;
+ }
+ }
+ }
+}
+
+class java::security::cert::X509CRLEntry : public ::java::lang::Object
+{
+
+public:
+ X509CRLEntry();
+ virtual jboolean equals(::java::lang::Object *);
+ virtual jint hashCode();
+ virtual JArray< jbyte > * getEncoded() = 0;
+ virtual ::java::math::BigInteger * getSerialNumber() = 0;
+ virtual ::java::util::Date * getRevocationDate() = 0;
+ virtual jboolean hasExtensions() = 0;
+ virtual ::java::lang::String * toString() = 0;
+ virtual jboolean hasUnsupportedCriticalExtension() = 0;
+ virtual ::java::util::Set * getCriticalExtensionOIDs() = 0;
+ virtual ::java::util::Set * getNonCriticalExtensionOIDs() = 0;
+ virtual JArray< jbyte > * getExtensionValue(::java::lang::String *) = 0;
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_cert_X509CRLEntry__
diff --git a/libjava/java/security/cert/X509CRLSelector.h b/libjava/java/security/cert/X509CRLSelector.h
new file mode 100644
index 0000000..e888f63
--- /dev/null
+++ b/libjava/java/security/cert/X509CRLSelector.h
@@ -0,0 +1,63 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_cert_X509CRLSelector__
+#define __java_security_cert_X509CRLSelector__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace math
+ {
+ class BigInteger;
+ }
+ namespace security
+ {
+ namespace cert
+ {
+ class CRL;
+ class X509CRLSelector;
+ class X509Certificate;
+ }
+ }
+ }
+}
+
+class java::security::cert::X509CRLSelector : public ::java::lang::Object
+{
+
+public:
+ X509CRLSelector();
+ virtual void addIssuerName(JArray< jbyte > *);
+ virtual void addIssuerName(::java::lang::String *);
+ virtual void setIssuerNames(::java::util::Collection *);
+ virtual ::java::util::Collection * getIssuerNames();
+ virtual ::java::math::BigInteger * getMaxCRL();
+ virtual ::java::math::BigInteger * getMinCRL();
+ virtual void setMaxCRLNumber(::java::math::BigInteger *);
+ virtual void setMinCRLNumber(::java::math::BigInteger *);
+ virtual ::java::util::Date * getDateAndTime();
+ virtual void setDateAndTime(::java::util::Date *);
+ virtual ::java::security::cert::X509Certificate * getCertificateChecking();
+ virtual void setCertificateChecking(::java::security::cert::X509Certificate *);
+ virtual ::java::lang::String * toString();
+ virtual jboolean match(::java::security::cert::CRL *);
+ virtual ::java::lang::Object * clone();
+private:
+ static ::java::lang::String * CRL_NUMBER_ID;
+ ::java::util::List * __attribute__((aligned(__alignof__( ::java::lang::Object)))) issuerNames;
+ ::java::math::BigInteger * maxCrlNumber;
+ ::java::math::BigInteger * minCrlNumber;
+ ::java::util::Date * date;
+ ::java::security::cert::X509Certificate * cert;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_cert_X509CRLSelector__
diff --git a/libjava/java/security/cert/X509CertSelector.h b/libjava/java/security/cert/X509CertSelector.h
new file mode 100644
index 0000000..69dd81e
--- /dev/null
+++ b/libjava/java/security/cert/X509CertSelector.h
@@ -0,0 +1,132 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_cert_X509CertSelector__
+#define __java_security_cert_X509CertSelector__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace security
+ {
+ class OID;
+ }
+ }
+ }
+ namespace java
+ {
+ namespace math
+ {
+ class BigInteger;
+ }
+ namespace security
+ {
+ class PublicKey;
+ namespace cert
+ {
+ class Certificate;
+ class X509CertSelector;
+ class X509Certificate;
+ }
+ namespace spec
+ {
+ class X509EncodedKeySpec;
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace security
+ {
+ namespace auth
+ {
+ namespace x500
+ {
+ class X500Principal;
+ }
+ }
+ }
+ }
+}
+
+class java::security::cert::X509CertSelector : public ::java::lang::Object
+{
+
+public:
+ X509CertSelector();
+ virtual ::java::security::cert::X509Certificate * getCertificate();
+ virtual void setCertificate(::java::security::cert::X509Certificate *);
+ virtual ::java::math::BigInteger * getSerialNumber();
+ virtual void setSerialNumber(::java::math::BigInteger *);
+ virtual ::java::lang::String * getIssuerAsString();
+ virtual JArray< jbyte > * getIssuerAsBytes();
+ virtual void setIssuer(::java::lang::String *);
+ virtual void setIssuer(JArray< jbyte > *);
+ virtual ::java::lang::String * getSubjectAsString();
+ virtual JArray< jbyte > * getSubjectAsBytes();
+ virtual void setSubject(::java::lang::String *);
+ virtual void setSubject(JArray< jbyte > *);
+ virtual JArray< jbyte > * getSubjectKeyIdentifier();
+ virtual void setSubjectKeyIdentifier(JArray< jbyte > *);
+ virtual JArray< jbyte > * getAuthorityKeyIdentifier();
+ virtual void setAuthorityKeyIdentifier(JArray< jbyte > *);
+ virtual ::java::util::Date * getCertificateValid();
+ virtual void setCertificateValid(::java::util::Date *);
+ virtual ::java::util::Date * getPrivateKeyValid();
+ virtual void setPrivateKeyValid(::java::util::Date *);
+ virtual ::java::lang::String * getSubjectPublicKeyAlgID();
+ virtual void setSubjectPublicKeyAlgID(::java::lang::String *);
+ virtual ::java::security::PublicKey * getSubjectPublicKey();
+ virtual void setSubjectPublicKey(::java::security::PublicKey *);
+ virtual void setSubjectPublicKey(JArray< jbyte > *);
+ virtual JArray< jboolean > * getKeyUsage();
+ virtual void setKeyUsage(JArray< jboolean > *);
+ virtual ::java::util::Set * getExtendedKeyUsage();
+ virtual void setExtendedKeyUsage(::java::util::Set *);
+ virtual jboolean getMatchAllSubjectAltNames();
+ virtual void setMatchAllSubjectAltNames(jboolean);
+ virtual void setSubjectAlternativeNames(::java::util::Collection *);
+ virtual void addSubjectAlternativeName(jint, ::java::lang::String *);
+ virtual void addSubjectAlternativeName(jint, JArray< jbyte > *);
+ virtual JArray< jbyte > * getNameConstraints();
+ virtual void setNameConstraints(JArray< jbyte > *);
+ virtual jint getBasicConstraints();
+ virtual void setBasicConstraints(jint);
+ virtual jboolean match(::java::security::cert::Certificate *);
+ virtual ::java::lang::String * toString();
+ virtual ::java::lang::Object * clone();
+private:
+ static jboolean checkOid(JArray< jint > *);
+ static ::java::lang::String * AUTH_KEY_ID;
+ static ::java::lang::String * SUBJECT_KEY_ID;
+ static ::java::lang::String * NAME_CONSTRAINTS_ID;
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) basicConstraints;
+ ::java::security::cert::X509Certificate * cert;
+ ::java::math::BigInteger * serialNo;
+ ::javax::security::auth::x500::X500Principal * issuer;
+ ::javax::security::auth::x500::X500Principal * subject;
+ JArray< jbyte > * subjectKeyId;
+ JArray< jbyte > * authKeyId;
+ JArray< jboolean > * keyUsage;
+ ::java::util::Date * certValid;
+ ::gnu::java::security::OID * sigId;
+ ::java::security::PublicKey * subjectKey;
+ ::java::security::spec::X509EncodedKeySpec * subjectKeySpec;
+ ::java::util::Set * keyPurposeSet;
+ ::java::util::List * altNames;
+ jboolean matchAllNames;
+ JArray< jbyte > * nameConstraints;
+ ::java::util::Set * policy;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_cert_X509CertSelector__
diff --git a/libjava/java/security/cert/X509Certificate.h b/libjava/java/security/cert/X509Certificate.h
new file mode 100644
index 0000000..9f8afe1
--- /dev/null
+++ b/libjava/java/security/cert/X509Certificate.h
@@ -0,0 +1,82 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_cert_X509Certificate__
+#define __java_security_cert_X509Certificate__
+
+#pragma interface
+
+#include <java/security/cert/Certificate.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace math
+ {
+ class BigInteger;
+ }
+ namespace security
+ {
+ class Principal;
+ namespace cert
+ {
+ class X509Certificate;
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace security
+ {
+ namespace auth
+ {
+ namespace x500
+ {
+ class X500Principal;
+ }
+ }
+ }
+ }
+}
+
+class java::security::cert::X509Certificate : public ::java::security::cert::Certificate
+{
+
+public: // actually protected
+ X509Certificate();
+public:
+ virtual void checkValidity() = 0;
+ virtual void checkValidity(::java::util::Date *) = 0;
+ virtual jint getVersion() = 0;
+ virtual ::java::math::BigInteger * getSerialNumber() = 0;
+ virtual ::java::security::Principal * getIssuerDN() = 0;
+ virtual ::java::security::Principal * getSubjectDN() = 0;
+ virtual ::java::util::Date * getNotBefore() = 0;
+ virtual ::java::util::Date * getNotAfter() = 0;
+ virtual JArray< jbyte > * getTBSCertificate() = 0;
+ virtual JArray< jbyte > * getSignature() = 0;
+ virtual ::java::lang::String * getSigAlgName() = 0;
+ virtual ::java::lang::String * getSigAlgOID() = 0;
+ virtual JArray< jbyte > * getSigAlgParams() = 0;
+ virtual JArray< jboolean > * getIssuerUniqueID() = 0;
+ virtual JArray< jboolean > * getSubjectUniqueID() = 0;
+ virtual JArray< jboolean > * getKeyUsage() = 0;
+ virtual jint getBasicConstraints() = 0;
+ virtual ::java::util::List * getExtendedKeyUsage();
+ virtual ::java::util::Collection * getSubjectAlternativeNames();
+ virtual ::java::util::Collection * getIssuerAlternativeNames();
+ virtual ::javax::security::auth::x500::X500Principal * getSubjectX500Principal();
+ virtual ::javax::security::auth::x500::X500Principal * getIssuerX500Principal();
+ virtual jboolean hasUnsupportedCriticalExtension() = 0;
+ virtual ::java::util::Set * getCriticalExtensionOIDs() = 0;
+ virtual ::java::util::Set * getNonCriticalExtensionOIDs() = 0;
+ virtual JArray< jbyte > * getExtensionValue(::java::lang::String *) = 0;
+private:
+ static const jlong serialVersionUID = -2491127588187038216LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_cert_X509Certificate__
diff --git a/libjava/java/security/cert/X509Extension.h b/libjava/java/security/cert/X509Extension.h
new file mode 100644
index 0000000..53eb5d1
--- /dev/null
+++ b/libjava/java/security/cert/X509Extension.h
@@ -0,0 +1,37 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_cert_X509Extension__
+#define __java_security_cert_X509Extension__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ namespace cert
+ {
+ class X509Extension;
+ }
+ }
+ }
+}
+
+class java::security::cert::X509Extension : public ::java::lang::Object
+{
+
+public:
+ virtual jboolean hasUnsupportedCriticalExtension() = 0;
+ virtual ::java::util::Set * getCriticalExtensionOIDs() = 0;
+ virtual ::java::util::Set * getNonCriticalExtensionOIDs() = 0;
+ virtual JArray< jbyte > * getExtensionValue(::java::lang::String *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_security_cert_X509Extension__
diff --git a/libjava/java/security/interfaces/DSAKey.h b/libjava/java/security/interfaces/DSAKey.h
new file mode 100644
index 0000000..ee58f37
--- /dev/null
+++ b/libjava/java/security/interfaces/DSAKey.h
@@ -0,0 +1,33 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_interfaces_DSAKey__
+#define __java_security_interfaces_DSAKey__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ namespace interfaces
+ {
+ class DSAKey;
+ class DSAParams;
+ }
+ }
+ }
+}
+
+class java::security::interfaces::DSAKey : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::security::interfaces::DSAParams * getParams() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_security_interfaces_DSAKey__
diff --git a/libjava/java/security/interfaces/DSAKeyPairGenerator.h b/libjava/java/security/interfaces/DSAKeyPairGenerator.h
new file mode 100644
index 0000000..424348c
--- /dev/null
+++ b/libjava/java/security/interfaces/DSAKeyPairGenerator.h
@@ -0,0 +1,35 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_interfaces_DSAKeyPairGenerator__
+#define __java_security_interfaces_DSAKeyPairGenerator__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class SecureRandom;
+ namespace interfaces
+ {
+ class DSAKeyPairGenerator;
+ class DSAParams;
+ }
+ }
+ }
+}
+
+class java::security::interfaces::DSAKeyPairGenerator : public ::java::lang::Object
+{
+
+public:
+ virtual void initialize(::java::security::interfaces::DSAParams *, ::java::security::SecureRandom *) = 0;
+ virtual void initialize(jint, jboolean, ::java::security::SecureRandom *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_security_interfaces_DSAKeyPairGenerator__
diff --git a/libjava/java/security/interfaces/DSAParams.h b/libjava/java/security/interfaces/DSAParams.h
new file mode 100644
index 0000000..e6963fb
--- /dev/null
+++ b/libjava/java/security/interfaces/DSAParams.h
@@ -0,0 +1,38 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_interfaces_DSAParams__
+#define __java_security_interfaces_DSAParams__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace math
+ {
+ class BigInteger;
+ }
+ namespace security
+ {
+ namespace interfaces
+ {
+ class DSAParams;
+ }
+ }
+ }
+}
+
+class java::security::interfaces::DSAParams : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::math::BigInteger * getG() = 0;
+ virtual ::java::math::BigInteger * getP() = 0;
+ virtual ::java::math::BigInteger * getQ() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_security_interfaces_DSAParams__
diff --git a/libjava/java/security/interfaces/DSAPrivateKey.h b/libjava/java/security/interfaces/DSAPrivateKey.h
new file mode 100644
index 0000000..e1fb8e8
--- /dev/null
+++ b/libjava/java/security/interfaces/DSAPrivateKey.h
@@ -0,0 +1,44 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_interfaces_DSAPrivateKey__
+#define __java_security_interfaces_DSAPrivateKey__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace math
+ {
+ class BigInteger;
+ }
+ namespace security
+ {
+ namespace interfaces
+ {
+ class DSAParams;
+ class DSAPrivateKey;
+ }
+ }
+ }
+}
+
+class java::security::interfaces::DSAPrivateKey : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::math::BigInteger * getX() = 0;
+ virtual ::java::security::interfaces::DSAParams * getParams() = 0;
+ virtual ::java::lang::String * getAlgorithm() = 0;
+ virtual ::java::lang::String * getFormat() = 0;
+ virtual JArray< jbyte > * getEncoded() = 0;
+ static const jlong serialVersionUID = 7776497482533790279LL;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_security_interfaces_DSAPrivateKey__
diff --git a/libjava/java/security/interfaces/DSAPublicKey.h b/libjava/java/security/interfaces/DSAPublicKey.h
new file mode 100644
index 0000000..0791610
--- /dev/null
+++ b/libjava/java/security/interfaces/DSAPublicKey.h
@@ -0,0 +1,44 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_interfaces_DSAPublicKey__
+#define __java_security_interfaces_DSAPublicKey__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace math
+ {
+ class BigInteger;
+ }
+ namespace security
+ {
+ namespace interfaces
+ {
+ class DSAParams;
+ class DSAPublicKey;
+ }
+ }
+ }
+}
+
+class java::security::interfaces::DSAPublicKey : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::math::BigInteger * getY() = 0;
+ virtual ::java::security::interfaces::DSAParams * getParams() = 0;
+ virtual ::java::lang::String * getAlgorithm() = 0;
+ virtual ::java::lang::String * getFormat() = 0;
+ virtual JArray< jbyte > * getEncoded() = 0;
+ static const jlong serialVersionUID = 1234526332779022332LL;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_security_interfaces_DSAPublicKey__
diff --git a/libjava/java/security/interfaces/RSAKey.h b/libjava/java/security/interfaces/RSAKey.h
new file mode 100644
index 0000000..76985bd
--- /dev/null
+++ b/libjava/java/security/interfaces/RSAKey.h
@@ -0,0 +1,36 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_interfaces_RSAKey__
+#define __java_security_interfaces_RSAKey__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace math
+ {
+ class BigInteger;
+ }
+ namespace security
+ {
+ namespace interfaces
+ {
+ class RSAKey;
+ }
+ }
+ }
+}
+
+class java::security::interfaces::RSAKey : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::math::BigInteger * getModulus() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_security_interfaces_RSAKey__
diff --git a/libjava/java/security/interfaces/RSAMultiPrimePrivateCrtKey.h b/libjava/java/security/interfaces/RSAMultiPrimePrivateCrtKey.h
new file mode 100644
index 0000000..3e4ff33
--- /dev/null
+++ b/libjava/java/security/interfaces/RSAMultiPrimePrivateCrtKey.h
@@ -0,0 +1,54 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_interfaces_RSAMultiPrimePrivateCrtKey__
+#define __java_security_interfaces_RSAMultiPrimePrivateCrtKey__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace math
+ {
+ class BigInteger;
+ }
+ namespace security
+ {
+ namespace interfaces
+ {
+ class RSAMultiPrimePrivateCrtKey;
+ }
+ namespace spec
+ {
+ class RSAOtherPrimeInfo;
+ }
+ }
+ }
+}
+
+class java::security::interfaces::RSAMultiPrimePrivateCrtKey : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::math::BigInteger * getPublicExponent() = 0;
+ virtual ::java::math::BigInteger * getPrimeP() = 0;
+ virtual ::java::math::BigInteger * getPrimeQ() = 0;
+ virtual ::java::math::BigInteger * getPrimeExponentP() = 0;
+ virtual ::java::math::BigInteger * getPrimeExponentQ() = 0;
+ virtual ::java::math::BigInteger * getCrtCoefficient() = 0;
+ virtual JArray< ::java::security::spec::RSAOtherPrimeInfo * > * getOtherPrimeInfo() = 0;
+ virtual ::java::math::BigInteger * getPrivateExponent() = 0;
+ virtual ::java::lang::String * getAlgorithm() = 0;
+ virtual ::java::lang::String * getFormat() = 0;
+ virtual JArray< jbyte > * getEncoded() = 0;
+ virtual ::java::math::BigInteger * getModulus() = 0;
+ static const jlong serialVersionUID = 618058533534628008LL;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_security_interfaces_RSAMultiPrimePrivateCrtKey__
diff --git a/libjava/java/security/interfaces/RSAPrivateCrtKey.h b/libjava/java/security/interfaces/RSAPrivateCrtKey.h
new file mode 100644
index 0000000..7c6943d
--- /dev/null
+++ b/libjava/java/security/interfaces/RSAPrivateCrtKey.h
@@ -0,0 +1,49 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_interfaces_RSAPrivateCrtKey__
+#define __java_security_interfaces_RSAPrivateCrtKey__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace math
+ {
+ class BigInteger;
+ }
+ namespace security
+ {
+ namespace interfaces
+ {
+ class RSAPrivateCrtKey;
+ }
+ }
+ }
+}
+
+class java::security::interfaces::RSAPrivateCrtKey : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::math::BigInteger * getPublicExponent() = 0;
+ virtual ::java::math::BigInteger * getPrimeP() = 0;
+ virtual ::java::math::BigInteger * getPrimeQ() = 0;
+ virtual ::java::math::BigInteger * getPrimeExponentP() = 0;
+ virtual ::java::math::BigInteger * getPrimeExponentQ() = 0;
+ virtual ::java::math::BigInteger * getCrtCoefficient() = 0;
+ virtual ::java::math::BigInteger * getPrivateExponent() = 0;
+ virtual ::java::lang::String * getAlgorithm() = 0;
+ virtual ::java::lang::String * getFormat() = 0;
+ virtual JArray< jbyte > * getEncoded() = 0;
+ virtual ::java::math::BigInteger * getModulus() = 0;
+ static const jlong serialVersionUID = -5682214253527700368LL;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_security_interfaces_RSAPrivateCrtKey__
diff --git a/libjava/java/security/interfaces/RSAPrivateKey.h b/libjava/java/security/interfaces/RSAPrivateKey.h
new file mode 100644
index 0000000..b1e6139
--- /dev/null
+++ b/libjava/java/security/interfaces/RSAPrivateKey.h
@@ -0,0 +1,43 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_interfaces_RSAPrivateKey__
+#define __java_security_interfaces_RSAPrivateKey__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace math
+ {
+ class BigInteger;
+ }
+ namespace security
+ {
+ namespace interfaces
+ {
+ class RSAPrivateKey;
+ }
+ }
+ }
+}
+
+class java::security::interfaces::RSAPrivateKey : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::math::BigInteger * getPrivateExponent() = 0;
+ virtual ::java::lang::String * getAlgorithm() = 0;
+ virtual ::java::lang::String * getFormat() = 0;
+ virtual JArray< jbyte > * getEncoded() = 0;
+ virtual ::java::math::BigInteger * getModulus() = 0;
+ static const jlong serialVersionUID = 5187144804936595022LL;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_security_interfaces_RSAPrivateKey__
diff --git a/libjava/java/security/interfaces/RSAPublicKey.h b/libjava/java/security/interfaces/RSAPublicKey.h
new file mode 100644
index 0000000..d2cd7e7
--- /dev/null
+++ b/libjava/java/security/interfaces/RSAPublicKey.h
@@ -0,0 +1,43 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_interfaces_RSAPublicKey__
+#define __java_security_interfaces_RSAPublicKey__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace math
+ {
+ class BigInteger;
+ }
+ namespace security
+ {
+ namespace interfaces
+ {
+ class RSAPublicKey;
+ }
+ }
+ }
+}
+
+class java::security::interfaces::RSAPublicKey : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::math::BigInteger * getPublicExponent() = 0;
+ virtual ::java::lang::String * getAlgorithm() = 0;
+ virtual ::java::lang::String * getFormat() = 0;
+ virtual JArray< jbyte > * getEncoded() = 0;
+ virtual ::java::math::BigInteger * getModulus() = 0;
+ static const jlong serialVersionUID = -8727434096241101194LL;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_security_interfaces_RSAPublicKey__
diff --git a/libjava/java/security/spec/AlgorithmParameterSpec.h b/libjava/java/security/spec/AlgorithmParameterSpec.h
new file mode 100644
index 0000000..9fa07b0
--- /dev/null
+++ b/libjava/java/security/spec/AlgorithmParameterSpec.h
@@ -0,0 +1,31 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_spec_AlgorithmParameterSpec__
+#define __java_security_spec_AlgorithmParameterSpec__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ namespace spec
+ {
+ class AlgorithmParameterSpec;
+ }
+ }
+ }
+}
+
+class java::security::spec::AlgorithmParameterSpec : public ::java::lang::Object
+{
+
+public:
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_security_spec_AlgorithmParameterSpec__
diff --git a/libjava/java/security/spec/DSAParameterSpec.h b/libjava/java/security/spec/DSAParameterSpec.h
new file mode 100644
index 0000000..83a2cb8
--- /dev/null
+++ b/libjava/java/security/spec/DSAParameterSpec.h
@@ -0,0 +1,44 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_spec_DSAParameterSpec__
+#define __java_security_spec_DSAParameterSpec__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace math
+ {
+ class BigInteger;
+ }
+ namespace security
+ {
+ namespace spec
+ {
+ class DSAParameterSpec;
+ }
+ }
+ }
+}
+
+class java::security::spec::DSAParameterSpec : public ::java::lang::Object
+{
+
+public:
+ DSAParameterSpec(::java::math::BigInteger *, ::java::math::BigInteger *, ::java::math::BigInteger *);
+ virtual ::java::math::BigInteger * getP();
+ virtual ::java::math::BigInteger * getQ();
+ virtual ::java::math::BigInteger * getG();
+private:
+ ::java::math::BigInteger * __attribute__((aligned(__alignof__( ::java::lang::Object)))) p;
+ ::java::math::BigInteger * q;
+ ::java::math::BigInteger * g;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_spec_DSAParameterSpec__
diff --git a/libjava/java/security/spec/DSAPrivateKeySpec.h b/libjava/java/security/spec/DSAPrivateKeySpec.h
new file mode 100644
index 0000000..fe1cae3
--- /dev/null
+++ b/libjava/java/security/spec/DSAPrivateKeySpec.h
@@ -0,0 +1,46 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_spec_DSAPrivateKeySpec__
+#define __java_security_spec_DSAPrivateKeySpec__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace math
+ {
+ class BigInteger;
+ }
+ namespace security
+ {
+ namespace spec
+ {
+ class DSAPrivateKeySpec;
+ }
+ }
+ }
+}
+
+class java::security::spec::DSAPrivateKeySpec : public ::java::lang::Object
+{
+
+public:
+ DSAPrivateKeySpec(::java::math::BigInteger *, ::java::math::BigInteger *, ::java::math::BigInteger *, ::java::math::BigInteger *);
+ virtual ::java::math::BigInteger * getX();
+ virtual ::java::math::BigInteger * getP();
+ virtual ::java::math::BigInteger * getQ();
+ virtual ::java::math::BigInteger * getG();
+private:
+ ::java::math::BigInteger * __attribute__((aligned(__alignof__( ::java::lang::Object)))) x;
+ ::java::math::BigInteger * p;
+ ::java::math::BigInteger * q;
+ ::java::math::BigInteger * g;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_spec_DSAPrivateKeySpec__
diff --git a/libjava/java/security/spec/DSAPublicKeySpec.h b/libjava/java/security/spec/DSAPublicKeySpec.h
new file mode 100644
index 0000000..aa0cc5c
--- /dev/null
+++ b/libjava/java/security/spec/DSAPublicKeySpec.h
@@ -0,0 +1,46 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_spec_DSAPublicKeySpec__
+#define __java_security_spec_DSAPublicKeySpec__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace math
+ {
+ class BigInteger;
+ }
+ namespace security
+ {
+ namespace spec
+ {
+ class DSAPublicKeySpec;
+ }
+ }
+ }
+}
+
+class java::security::spec::DSAPublicKeySpec : public ::java::lang::Object
+{
+
+public:
+ DSAPublicKeySpec(::java::math::BigInteger *, ::java::math::BigInteger *, ::java::math::BigInteger *, ::java::math::BigInteger *);
+ virtual ::java::math::BigInteger * getY();
+ virtual ::java::math::BigInteger * getP();
+ virtual ::java::math::BigInteger * getQ();
+ virtual ::java::math::BigInteger * getG();
+private:
+ ::java::math::BigInteger * __attribute__((aligned(__alignof__( ::java::lang::Object)))) y;
+ ::java::math::BigInteger * p;
+ ::java::math::BigInteger * q;
+ ::java::math::BigInteger * g;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_spec_DSAPublicKeySpec__
diff --git a/libjava/java/security/spec/EncodedKeySpec.h b/libjava/java/security/spec/EncodedKeySpec.h
new file mode 100644
index 0000000..bc913b1
--- /dev/null
+++ b/libjava/java/security/spec/EncodedKeySpec.h
@@ -0,0 +1,39 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_spec_EncodedKeySpec__
+#define __java_security_spec_EncodedKeySpec__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ namespace spec
+ {
+ class EncodedKeySpec;
+ }
+ }
+ }
+}
+
+class java::security::spec::EncodedKeySpec : public ::java::lang::Object
+{
+
+public:
+ EncodedKeySpec(JArray< jbyte > *);
+ virtual JArray< jbyte > * getEncoded();
+ virtual ::java::lang::String * getFormat() = 0;
+private:
+ JArray< jbyte > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) encodedKey;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_spec_EncodedKeySpec__
diff --git a/libjava/java/security/spec/InvalidKeySpecException.h b/libjava/java/security/spec/InvalidKeySpecException.h
new file mode 100644
index 0000000..ff2ea69
--- /dev/null
+++ b/libjava/java/security/spec/InvalidKeySpecException.h
@@ -0,0 +1,38 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_spec_InvalidKeySpecException__
+#define __java_security_spec_InvalidKeySpecException__
+
+#pragma interface
+
+#include <java/security/GeneralSecurityException.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ namespace spec
+ {
+ class InvalidKeySpecException;
+ }
+ }
+ }
+}
+
+class java::security::spec::InvalidKeySpecException : public ::java::security::GeneralSecurityException
+{
+
+public:
+ InvalidKeySpecException();
+ InvalidKeySpecException(::java::lang::String *);
+ InvalidKeySpecException(::java::lang::String *, ::java::lang::Throwable *);
+ InvalidKeySpecException(::java::lang::Throwable *);
+private:
+ static const jlong serialVersionUID = 3546139293998810778LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_spec_InvalidKeySpecException__
diff --git a/libjava/java/security/spec/InvalidParameterSpecException.h b/libjava/java/security/spec/InvalidParameterSpecException.h
new file mode 100644
index 0000000..e80550d
--- /dev/null
+++ b/libjava/java/security/spec/InvalidParameterSpecException.h
@@ -0,0 +1,36 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_spec_InvalidParameterSpecException__
+#define __java_security_spec_InvalidParameterSpecException__
+
+#pragma interface
+
+#include <java/security/GeneralSecurityException.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ namespace spec
+ {
+ class InvalidParameterSpecException;
+ }
+ }
+ }
+}
+
+class java::security::spec::InvalidParameterSpecException : public ::java::security::GeneralSecurityException
+{
+
+public:
+ InvalidParameterSpecException();
+ InvalidParameterSpecException(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = -970468769593399342LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_spec_InvalidParameterSpecException__
diff --git a/libjava/java/security/spec/KeySpec.h b/libjava/java/security/spec/KeySpec.h
new file mode 100644
index 0000000..cdb7b40
--- /dev/null
+++ b/libjava/java/security/spec/KeySpec.h
@@ -0,0 +1,31 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_spec_KeySpec__
+#define __java_security_spec_KeySpec__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ namespace spec
+ {
+ class KeySpec;
+ }
+ }
+ }
+}
+
+class java::security::spec::KeySpec : public ::java::lang::Object
+{
+
+public:
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_security_spec_KeySpec__
diff --git a/libjava/java/security/spec/PKCS8EncodedKeySpec.h b/libjava/java/security/spec/PKCS8EncodedKeySpec.h
new file mode 100644
index 0000000..20e7007
--- /dev/null
+++ b/libjava/java/security/spec/PKCS8EncodedKeySpec.h
@@ -0,0 +1,36 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_spec_PKCS8EncodedKeySpec__
+#define __java_security_spec_PKCS8EncodedKeySpec__
+
+#pragma interface
+
+#include <java/security/spec/EncodedKeySpec.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ namespace spec
+ {
+ class PKCS8EncodedKeySpec;
+ }
+ }
+ }
+}
+
+class java::security::spec::PKCS8EncodedKeySpec : public ::java::security::spec::EncodedKeySpec
+{
+
+public:
+ PKCS8EncodedKeySpec(JArray< jbyte > *);
+ virtual JArray< jbyte > * getEncoded();
+ virtual ::java::lang::String * getFormat();
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_spec_PKCS8EncodedKeySpec__
diff --git a/libjava/java/security/spec/PSSParameterSpec.h b/libjava/java/security/spec/PSSParameterSpec.h
new file mode 100644
index 0000000..01253a2
--- /dev/null
+++ b/libjava/java/security/spec/PSSParameterSpec.h
@@ -0,0 +1,36 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_spec_PSSParameterSpec__
+#define __java_security_spec_PSSParameterSpec__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ namespace spec
+ {
+ class PSSParameterSpec;
+ }
+ }
+ }
+}
+
+class java::security::spec::PSSParameterSpec : public ::java::lang::Object
+{
+
+public:
+ PSSParameterSpec(jint);
+ virtual jint getSaltLength();
+private:
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) saltLen;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_spec_PSSParameterSpec__
diff --git a/libjava/java/security/spec/RSAKeyGenParameterSpec.h b/libjava/java/security/spec/RSAKeyGenParameterSpec.h
new file mode 100644
index 0000000..a047dd6
--- /dev/null
+++ b/libjava/java/security/spec/RSAKeyGenParameterSpec.h
@@ -0,0 +1,44 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_spec_RSAKeyGenParameterSpec__
+#define __java_security_spec_RSAKeyGenParameterSpec__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace math
+ {
+ class BigInteger;
+ }
+ namespace security
+ {
+ namespace spec
+ {
+ class RSAKeyGenParameterSpec;
+ }
+ }
+ }
+}
+
+class java::security::spec::RSAKeyGenParameterSpec : public ::java::lang::Object
+{
+
+public:
+ RSAKeyGenParameterSpec(jint, ::java::math::BigInteger *);
+ virtual jint getKeysize();
+ virtual ::java::math::BigInteger * getPublicExponent();
+private:
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) keysize;
+ ::java::math::BigInteger * publicExponent;
+public:
+ static ::java::math::BigInteger * F0;
+ static ::java::math::BigInteger * F4;
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_spec_RSAKeyGenParameterSpec__
diff --git a/libjava/java/security/spec/RSAMultiPrimePrivateCrtKeySpec.h b/libjava/java/security/spec/RSAMultiPrimePrivateCrtKeySpec.h
new file mode 100644
index 0000000..bebb3d3
--- /dev/null
+++ b/libjava/java/security/spec/RSAMultiPrimePrivateCrtKeySpec.h
@@ -0,0 +1,55 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_spec_RSAMultiPrimePrivateCrtKeySpec__
+#define __java_security_spec_RSAMultiPrimePrivateCrtKeySpec__
+
+#pragma interface
+
+#include <java/security/spec/RSAPrivateKeySpec.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace math
+ {
+ class BigInteger;
+ }
+ namespace security
+ {
+ namespace spec
+ {
+ class RSAMultiPrimePrivateCrtKeySpec;
+ class RSAOtherPrimeInfo;
+ }
+ }
+ }
+}
+
+class java::security::spec::RSAMultiPrimePrivateCrtKeySpec : public ::java::security::spec::RSAPrivateKeySpec
+{
+
+public:
+ RSAMultiPrimePrivateCrtKeySpec(::java::math::BigInteger *, ::java::math::BigInteger *, ::java::math::BigInteger *, ::java::math::BigInteger *, ::java::math::BigInteger *, ::java::math::BigInteger *, ::java::math::BigInteger *, ::java::math::BigInteger *, JArray< ::java::security::spec::RSAOtherPrimeInfo * > *);
+ virtual ::java::math::BigInteger * getPublicExponent();
+ virtual ::java::math::BigInteger * getPrimeP();
+ virtual ::java::math::BigInteger * getPrimeQ();
+ virtual ::java::math::BigInteger * getPrimeExponentP();
+ virtual ::java::math::BigInteger * getPrimeExponentQ();
+ virtual ::java::math::BigInteger * getCrtCoefficient();
+ virtual JArray< ::java::security::spec::RSAOtherPrimeInfo * > * getOtherPrimeInfo();
+private:
+ ::java::math::BigInteger * __attribute__((aligned(__alignof__( ::java::security::spec::RSAPrivateKeySpec)))) publicExponent;
+ ::java::math::BigInteger * primeP;
+ ::java::math::BigInteger * primeQ;
+ ::java::math::BigInteger * primeExponentP;
+ ::java::math::BigInteger * primeExponentQ;
+ ::java::math::BigInteger * crtCoefficient;
+ JArray< ::java::security::spec::RSAOtherPrimeInfo * > * otherPrimeInfo;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_spec_RSAMultiPrimePrivateCrtKeySpec__
diff --git a/libjava/java/security/spec/RSAOtherPrimeInfo.h b/libjava/java/security/spec/RSAOtherPrimeInfo.h
new file mode 100644
index 0000000..878e3e5
--- /dev/null
+++ b/libjava/java/security/spec/RSAOtherPrimeInfo.h
@@ -0,0 +1,44 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_spec_RSAOtherPrimeInfo__
+#define __java_security_spec_RSAOtherPrimeInfo__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace math
+ {
+ class BigInteger;
+ }
+ namespace security
+ {
+ namespace spec
+ {
+ class RSAOtherPrimeInfo;
+ }
+ }
+ }
+}
+
+class java::security::spec::RSAOtherPrimeInfo : public ::java::lang::Object
+{
+
+public:
+ RSAOtherPrimeInfo(::java::math::BigInteger *, ::java::math::BigInteger *, ::java::math::BigInteger *);
+ virtual ::java::math::BigInteger * getPrime();
+ virtual ::java::math::BigInteger * getExponent();
+ virtual ::java::math::BigInteger * getCrtCoefficient();
+private:
+ ::java::math::BigInteger * __attribute__((aligned(__alignof__( ::java::lang::Object)))) prime;
+ ::java::math::BigInteger * primeExponent;
+ ::java::math::BigInteger * crtCoefficient;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_spec_RSAOtherPrimeInfo__
diff --git a/libjava/java/security/spec/RSAPrivateCrtKeySpec.h b/libjava/java/security/spec/RSAPrivateCrtKeySpec.h
new file mode 100644
index 0000000..4f25ac6
--- /dev/null
+++ b/libjava/java/security/spec/RSAPrivateCrtKeySpec.h
@@ -0,0 +1,50 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_spec_RSAPrivateCrtKeySpec__
+#define __java_security_spec_RSAPrivateCrtKeySpec__
+
+#pragma interface
+
+#include <java/security/spec/RSAPrivateKeySpec.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace math
+ {
+ class BigInteger;
+ }
+ namespace security
+ {
+ namespace spec
+ {
+ class RSAPrivateCrtKeySpec;
+ }
+ }
+ }
+}
+
+class java::security::spec::RSAPrivateCrtKeySpec : public ::java::security::spec::RSAPrivateKeySpec
+{
+
+public:
+ RSAPrivateCrtKeySpec(::java::math::BigInteger *, ::java::math::BigInteger *, ::java::math::BigInteger *, ::java::math::BigInteger *, ::java::math::BigInteger *, ::java::math::BigInteger *, ::java::math::BigInteger *, ::java::math::BigInteger *);
+ virtual ::java::math::BigInteger * getPublicExponent();
+ virtual ::java::math::BigInteger * getPrimeP();
+ virtual ::java::math::BigInteger * getPrimeQ();
+ virtual ::java::math::BigInteger * getPrimeExponentP();
+ virtual ::java::math::BigInteger * getPrimeExponentQ();
+ virtual ::java::math::BigInteger * getCrtCoefficient();
+private:
+ ::java::math::BigInteger * __attribute__((aligned(__alignof__( ::java::security::spec::RSAPrivateKeySpec)))) publicExponent;
+ ::java::math::BigInteger * primeP;
+ ::java::math::BigInteger * primeQ;
+ ::java::math::BigInteger * primeExponentP;
+ ::java::math::BigInteger * primeExponentQ;
+ ::java::math::BigInteger * crtCoefficient;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_spec_RSAPrivateCrtKeySpec__
diff --git a/libjava/java/security/spec/RSAPrivateKeySpec.h b/libjava/java/security/spec/RSAPrivateKeySpec.h
new file mode 100644
index 0000000..4b0136b
--- /dev/null
+++ b/libjava/java/security/spec/RSAPrivateKeySpec.h
@@ -0,0 +1,42 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_spec_RSAPrivateKeySpec__
+#define __java_security_spec_RSAPrivateKeySpec__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace math
+ {
+ class BigInteger;
+ }
+ namespace security
+ {
+ namespace spec
+ {
+ class RSAPrivateKeySpec;
+ }
+ }
+ }
+}
+
+class java::security::spec::RSAPrivateKeySpec : public ::java::lang::Object
+{
+
+public:
+ RSAPrivateKeySpec(::java::math::BigInteger *, ::java::math::BigInteger *);
+ virtual ::java::math::BigInteger * getModulus();
+ virtual ::java::math::BigInteger * getPrivateExponent();
+private:
+ ::java::math::BigInteger * __attribute__((aligned(__alignof__( ::java::lang::Object)))) modulus;
+ ::java::math::BigInteger * privateExponent;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_spec_RSAPrivateKeySpec__
diff --git a/libjava/java/security/spec/RSAPublicKeySpec.h b/libjava/java/security/spec/RSAPublicKeySpec.h
new file mode 100644
index 0000000..d6f80a3
--- /dev/null
+++ b/libjava/java/security/spec/RSAPublicKeySpec.h
@@ -0,0 +1,42 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_spec_RSAPublicKeySpec__
+#define __java_security_spec_RSAPublicKeySpec__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace math
+ {
+ class BigInteger;
+ }
+ namespace security
+ {
+ namespace spec
+ {
+ class RSAPublicKeySpec;
+ }
+ }
+ }
+}
+
+class java::security::spec::RSAPublicKeySpec : public ::java::lang::Object
+{
+
+public:
+ RSAPublicKeySpec(::java::math::BigInteger *, ::java::math::BigInteger *);
+ virtual ::java::math::BigInteger * getModulus();
+ virtual ::java::math::BigInteger * getPublicExponent();
+private:
+ ::java::math::BigInteger * __attribute__((aligned(__alignof__( ::java::lang::Object)))) modulus;
+ ::java::math::BigInteger * publicExponent;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_spec_RSAPublicKeySpec__
diff --git a/libjava/java/security/spec/X509EncodedKeySpec.h b/libjava/java/security/spec/X509EncodedKeySpec.h
new file mode 100644
index 0000000..426ea1b
--- /dev/null
+++ b/libjava/java/security/spec/X509EncodedKeySpec.h
@@ -0,0 +1,36 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_security_spec_X509EncodedKeySpec__
+#define __java_security_spec_X509EncodedKeySpec__
+
+#pragma interface
+
+#include <java/security/spec/EncodedKeySpec.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ namespace spec
+ {
+ class X509EncodedKeySpec;
+ }
+ }
+ }
+}
+
+class java::security::spec::X509EncodedKeySpec : public ::java::security::spec::EncodedKeySpec
+{
+
+public:
+ X509EncodedKeySpec(JArray< jbyte > *);
+ virtual JArray< jbyte > * getEncoded();
+ virtual ::java::lang::String * getFormat();
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_security_spec_X509EncodedKeySpec__
diff --git a/libjava/java/sql/Array.h b/libjava/java/sql/Array.h
new file mode 100644
index 0000000..34a1e84
--- /dev/null
+++ b/libjava/java/sql/Array.h
@@ -0,0 +1,39 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_sql_Array__
+#define __java_sql_Array__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace sql
+ {
+ class Array;
+ class ResultSet;
+ }
+ }
+}
+
+class java::sql::Array : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::lang::String * getBaseTypeName() = 0;
+ virtual jint getBaseType() = 0;
+ virtual ::java::lang::Object * getArray() = 0;
+ virtual ::java::lang::Object * getArray(::java::util::Map *) = 0;
+ virtual ::java::lang::Object * getArray(jlong, jint) = 0;
+ virtual ::java::lang::Object * getArray(jlong, jint, ::java::util::Map *) = 0;
+ virtual ::java::sql::ResultSet * getResultSet() = 0;
+ virtual ::java::sql::ResultSet * getResultSet(::java::util::Map *) = 0;
+ virtual ::java::sql::ResultSet * getResultSet(jlong, jint) = 0;
+ virtual ::java::sql::ResultSet * getResultSet(jlong, jint, ::java::util::Map *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_sql_Array__
diff --git a/libjava/java/sql/BatchUpdateException.h b/libjava/java/sql/BatchUpdateException.h
new file mode 100644
index 0000000..b9d28cf
--- /dev/null
+++ b/libjava/java/sql/BatchUpdateException.h
@@ -0,0 +1,41 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_sql_BatchUpdateException__
+#define __java_sql_BatchUpdateException__
+
+#pragma interface
+
+#include <java/sql/SQLException.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace sql
+ {
+ class BatchUpdateException;
+ }
+ }
+}
+
+class java::sql::BatchUpdateException : public ::java::sql::SQLException
+{
+
+public:
+ BatchUpdateException(::java::lang::String *, ::java::lang::String *, jint, JArray< jint > *);
+ BatchUpdateException(::java::lang::String *, ::java::lang::String *, JArray< jint > *);
+ BatchUpdateException(::java::lang::String *, JArray< jint > *);
+ BatchUpdateException(JArray< jint > *);
+ BatchUpdateException();
+ virtual JArray< jint > * getUpdateCounts();
+public: // actually package-private
+ static const jlong serialVersionUID = 5977529877145521757LL;
+private:
+ JArray< jint > * __attribute__((aligned(__alignof__( ::java::sql::SQLException)))) updateCounts;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_sql_BatchUpdateException__
diff --git a/libjava/java/sql/Blob.h b/libjava/java/sql/Blob.h
new file mode 100644
index 0000000..a1b00c2
--- /dev/null
+++ b/libjava/java/sql/Blob.h
@@ -0,0 +1,39 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_sql_Blob__
+#define __java_sql_Blob__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace sql
+ {
+ class Blob;
+ }
+ }
+}
+
+class java::sql::Blob : public ::java::lang::Object
+{
+
+public:
+ virtual jlong length() = 0;
+ virtual JArray< jbyte > * getBytes(jlong, jint) = 0;
+ virtual ::java::io::InputStream * getBinaryStream() = 0;
+ virtual jlong position(JArray< jbyte > *, jlong) = 0;
+ virtual jlong position(::java::sql::Blob *, jlong) = 0;
+ virtual jint setBytes(jlong, JArray< jbyte > *) = 0;
+ virtual jint setBytes(jlong, JArray< jbyte > *, jint, jint) = 0;
+ virtual ::java::io::OutputStream * setBinaryStream(jlong) = 0;
+ virtual void truncate(jlong) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_sql_Blob__
diff --git a/libjava/java/sql/CallableStatement.h b/libjava/java/sql/CallableStatement.h
new file mode 100644
index 0000000..143184e
--- /dev/null
+++ b/libjava/java/sql/CallableStatement.h
@@ -0,0 +1,203 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_sql_CallableStatement__
+#define __java_sql_CallableStatement__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace math
+ {
+ class BigDecimal;
+ }
+ namespace net
+ {
+ class URL;
+ }
+ namespace sql
+ {
+ class Array;
+ class Blob;
+ class CallableStatement;
+ class Clob;
+ class Connection;
+ class Date;
+ class ParameterMetaData;
+ class Ref;
+ class ResultSet;
+ class ResultSetMetaData;
+ class SQLWarning;
+ class Time;
+ class Timestamp;
+ }
+ }
+}
+
+class java::sql::CallableStatement : public ::java::lang::Object
+{
+
+public:
+ virtual void registerOutParameter(jint, jint) = 0;
+ virtual void registerOutParameter(jint, jint, jint) = 0;
+ virtual jboolean wasNull() = 0;
+ virtual ::java::lang::String * getString(jint) = 0;
+ virtual jboolean getBoolean(jint) = 0;
+ virtual jbyte getByte(jint) = 0;
+ virtual jshort getShort(jint) = 0;
+ virtual jint getInt(jint) = 0;
+ virtual jlong getLong(jint) = 0;
+ virtual jfloat getFloat(jint) = 0;
+ virtual jdouble getDouble(jint) = 0;
+ virtual ::java::math::BigDecimal * getBigDecimal(jint, jint) = 0;
+ virtual JArray< jbyte > * getBytes(jint) = 0;
+ virtual ::java::sql::Date * getDate(jint) = 0;
+ virtual ::java::sql::Time * getTime(jint) = 0;
+ virtual ::java::sql::Timestamp * getTimestamp(jint) = 0;
+ virtual ::java::lang::Object * getObject(jint) = 0;
+ virtual ::java::math::BigDecimal * getBigDecimal(jint) = 0;
+ virtual ::java::lang::Object * getObject(jint, ::java::util::Map *) = 0;
+ virtual ::java::sql::Ref * getRef(jint) = 0;
+ virtual ::java::sql::Blob * getBlob(jint) = 0;
+ virtual ::java::sql::Clob * getClob(jint) = 0;
+ virtual ::java::sql::Array * getArray(jint) = 0;
+ virtual ::java::sql::Date * getDate(jint, ::java::util::Calendar *) = 0;
+ virtual ::java::sql::Time * getTime(jint, ::java::util::Calendar *) = 0;
+ virtual ::java::sql::Timestamp * getTimestamp(jint, ::java::util::Calendar *) = 0;
+ virtual void registerOutParameter(jint, jint, ::java::lang::String *) = 0;
+ virtual void registerOutParameter(::java::lang::String *, jint) = 0;
+ virtual void registerOutParameter(::java::lang::String *, jint, jint) = 0;
+ virtual void registerOutParameter(::java::lang::String *, jint, ::java::lang::String *) = 0;
+ virtual ::java::net::URL * getURL(jint) = 0;
+ virtual void setURL(::java::lang::String *, ::java::net::URL *) = 0;
+ virtual void setNull(::java::lang::String *, jint) = 0;
+ virtual void setBoolean(::java::lang::String *, jboolean) = 0;
+ virtual void setByte(::java::lang::String *, jbyte) = 0;
+ virtual void setShort(::java::lang::String *, jshort) = 0;
+ virtual void setInt(::java::lang::String *, jint) = 0;
+ virtual void setLong(::java::lang::String *, jlong) = 0;
+ virtual void setFloat(::java::lang::String *, jfloat) = 0;
+ virtual void setDouble(::java::lang::String *, jdouble) = 0;
+ virtual void setBigDecimal(::java::lang::String *, ::java::math::BigDecimal *) = 0;
+ virtual void setString(::java::lang::String *, ::java::lang::String *) = 0;
+ virtual void setBytes(::java::lang::String *, JArray< jbyte > *) = 0;
+ virtual void setDate(::java::lang::String *, ::java::sql::Date *) = 0;
+ virtual void setTime(::java::lang::String *, ::java::sql::Time *) = 0;
+ virtual void setTimestamp(::java::lang::String *, ::java::sql::Timestamp *) = 0;
+ virtual void setAsciiStream(::java::lang::String *, ::java::io::InputStream *, jint) = 0;
+ virtual void setBinaryStream(::java::lang::String *, ::java::io::InputStream *, jint) = 0;
+ virtual void setObject(::java::lang::String *, ::java::lang::Object *, jint, jint) = 0;
+ virtual void setObject(::java::lang::String *, ::java::lang::Object *, jint) = 0;
+ virtual void setObject(::java::lang::String *, ::java::lang::Object *) = 0;
+ virtual void setCharacterStream(::java::lang::String *, ::java::io::Reader *, jint) = 0;
+ virtual void setDate(::java::lang::String *, ::java::sql::Date *, ::java::util::Calendar *) = 0;
+ virtual void setTime(::java::lang::String *, ::java::sql::Time *, ::java::util::Calendar *) = 0;
+ virtual void setTimestamp(::java::lang::String *, ::java::sql::Timestamp *, ::java::util::Calendar *) = 0;
+ virtual void setNull(::java::lang::String *, jint, ::java::lang::String *) = 0;
+ virtual ::java::lang::String * getString(::java::lang::String *) = 0;
+ virtual jboolean getBoolean(::java::lang::String *) = 0;
+ virtual jbyte getByte(::java::lang::String *) = 0;
+ virtual jshort getShort(::java::lang::String *) = 0;
+ virtual jint getInt(::java::lang::String *) = 0;
+ virtual jlong getLong(::java::lang::String *) = 0;
+ virtual jfloat getFloat(::java::lang::String *) = 0;
+ virtual jdouble getDouble(::java::lang::String *) = 0;
+ virtual JArray< jbyte > * getBytes(::java::lang::String *) = 0;
+ virtual ::java::sql::Date * getDate(::java::lang::String *) = 0;
+ virtual ::java::sql::Time * getTime(::java::lang::String *) = 0;
+ virtual ::java::sql::Timestamp * getTimestamp(::java::lang::String *) = 0;
+ virtual ::java::lang::Object * getObject(::java::lang::String *) = 0;
+ virtual ::java::math::BigDecimal * getBigDecimal(::java::lang::String *) = 0;
+ virtual ::java::lang::Object * getObject(::java::lang::String *, ::java::util::Map *) = 0;
+ virtual ::java::sql::Ref * getRef(::java::lang::String *) = 0;
+ virtual ::java::sql::Blob * getBlob(::java::lang::String *) = 0;
+ virtual ::java::sql::Clob * getClob(::java::lang::String *) = 0;
+ virtual ::java::sql::Array * getArray(::java::lang::String *) = 0;
+ virtual ::java::sql::Date * getDate(::java::lang::String *, ::java::util::Calendar *) = 0;
+ virtual ::java::sql::Time * getTime(::java::lang::String *, ::java::util::Calendar *) = 0;
+ virtual ::java::sql::Timestamp * getTimestamp(::java::lang::String *, ::java::util::Calendar *) = 0;
+ virtual ::java::net::URL * getURL(::java::lang::String *) = 0;
+ virtual ::java::sql::ResultSet * executeQuery() = 0;
+ virtual jint executeUpdate() = 0;
+ virtual void setNull(jint, jint) = 0;
+ virtual void setBoolean(jint, jboolean) = 0;
+ virtual void setByte(jint, jbyte) = 0;
+ virtual void setShort(jint, jshort) = 0;
+ virtual void setInt(jint, jint) = 0;
+ virtual void setLong(jint, jlong) = 0;
+ virtual void setFloat(jint, jfloat) = 0;
+ virtual void setDouble(jint, jdouble) = 0;
+ virtual void setBigDecimal(jint, ::java::math::BigDecimal *) = 0;
+ virtual void setString(jint, ::java::lang::String *) = 0;
+ virtual void setBytes(jint, JArray< jbyte > *) = 0;
+ virtual void setDate(jint, ::java::sql::Date *) = 0;
+ virtual void setTime(jint, ::java::sql::Time *) = 0;
+ virtual void setTimestamp(jint, ::java::sql::Timestamp *) = 0;
+ virtual void setAsciiStream(jint, ::java::io::InputStream *, jint) = 0;
+ virtual void setUnicodeStream(jint, ::java::io::InputStream *, jint) = 0;
+ virtual void setBinaryStream(jint, ::java::io::InputStream *, jint) = 0;
+ virtual void clearParameters() = 0;
+ virtual void setObject(jint, ::java::lang::Object *, jint, jint) = 0;
+ virtual void setObject(jint, ::java::lang::Object *, jint) = 0;
+ virtual void setObject(jint, ::java::lang::Object *) = 0;
+ virtual jboolean execute() = 0;
+ virtual void addBatch() = 0;
+ virtual void setCharacterStream(jint, ::java::io::Reader *, jint) = 0;
+ virtual void setRef(jint, ::java::sql::Ref *) = 0;
+ virtual void setBlob(jint, ::java::sql::Blob *) = 0;
+ virtual void setClob(jint, ::java::sql::Clob *) = 0;
+ virtual void setArray(jint, ::java::sql::Array *) = 0;
+ virtual ::java::sql::ResultSetMetaData * getMetaData() = 0;
+ virtual void setDate(jint, ::java::sql::Date *, ::java::util::Calendar *) = 0;
+ virtual void setTime(jint, ::java::sql::Time *, ::java::util::Calendar *) = 0;
+ virtual void setTimestamp(jint, ::java::sql::Timestamp *, ::java::util::Calendar *) = 0;
+ virtual void setNull(jint, jint, ::java::lang::String *) = 0;
+ virtual void setURL(jint, ::java::net::URL *) = 0;
+ virtual ::java::sql::ParameterMetaData * getParameterMetaData() = 0;
+ virtual ::java::sql::ResultSet * executeQuery(::java::lang::String *) = 0;
+ virtual jint executeUpdate(::java::lang::String *) = 0;
+ virtual void close() = 0;
+ virtual jint getMaxFieldSize() = 0;
+ virtual void setMaxFieldSize(jint) = 0;
+ virtual jint getMaxRows() = 0;
+ virtual void setMaxRows(jint) = 0;
+ virtual void setEscapeProcessing(jboolean) = 0;
+ virtual jint getQueryTimeout() = 0;
+ virtual void setQueryTimeout(jint) = 0;
+ virtual void cancel() = 0;
+ virtual ::java::sql::SQLWarning * getWarnings() = 0;
+ virtual void clearWarnings() = 0;
+ virtual void setCursorName(::java::lang::String *) = 0;
+ virtual jboolean execute(::java::lang::String *) = 0;
+ virtual ::java::sql::ResultSet * getResultSet() = 0;
+ virtual jint getUpdateCount() = 0;
+ virtual jboolean getMoreResults() = 0;
+ virtual void setFetchDirection(jint) = 0;
+ virtual jint getFetchDirection() = 0;
+ virtual void setFetchSize(jint) = 0;
+ virtual jint getFetchSize() = 0;
+ virtual jint getResultSetConcurrency() = 0;
+ virtual jint getResultSetType() = 0;
+ virtual void addBatch(::java::lang::String *) = 0;
+ virtual void clearBatch() = 0;
+ virtual JArray< jint > * executeBatch() = 0;
+ virtual ::java::sql::Connection * getConnection() = 0;
+ virtual jboolean getMoreResults(jint) = 0;
+ virtual ::java::sql::ResultSet * getGeneratedKeys() = 0;
+ virtual jint executeUpdate(::java::lang::String *, jint) = 0;
+ virtual jint executeUpdate(::java::lang::String *, JArray< jint > *) = 0;
+ virtual jint executeUpdate(::java::lang::String *, JArray< ::java::lang::String * > *) = 0;
+ virtual jboolean execute(::java::lang::String *, jint) = 0;
+ virtual jboolean execute(::java::lang::String *, JArray< jint > *) = 0;
+ virtual jboolean execute(::java::lang::String *, JArray< ::java::lang::String * > *) = 0;
+ virtual jint getResultSetHoldability() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_sql_CallableStatement__
diff --git a/libjava/java/sql/Clob.h b/libjava/java/sql/Clob.h
new file mode 100644
index 0000000..a402a03
--- /dev/null
+++ b/libjava/java/sql/Clob.h
@@ -0,0 +1,39 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_sql_Clob__
+#define __java_sql_Clob__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace sql
+ {
+ class Clob;
+ }
+ }
+}
+
+class java::sql::Clob : public ::java::lang::Object
+{
+
+public:
+ virtual jlong length() = 0;
+ virtual ::java::lang::String * getSubString(jlong, jint) = 0;
+ virtual ::java::io::Reader * getCharacterStream() = 0;
+ virtual ::java::io::InputStream * getAsciiStream() = 0;
+ virtual jlong position(::java::lang::String *, jlong) = 0;
+ virtual jlong position(::java::sql::Clob *, jlong) = 0;
+ virtual jint setString(jlong, ::java::lang::String *) = 0;
+ virtual jint setString(jlong, ::java::lang::String *, jint, jint) = 0;
+ virtual ::java::io::OutputStream * setAsciiStream(jlong) = 0;
+ virtual ::java::io::Writer * setCharacterStream(jlong) = 0;
+ virtual void truncate(jlong) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_sql_Clob__
diff --git a/libjava/java/sql/Connection.h b/libjava/java/sql/Connection.h
new file mode 100644
index 0000000..3ce236f
--- /dev/null
+++ b/libjava/java/sql/Connection.h
@@ -0,0 +1,77 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_sql_Connection__
+#define __java_sql_Connection__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace sql
+ {
+ class CallableStatement;
+ class Connection;
+ class DatabaseMetaData;
+ class PreparedStatement;
+ class SQLWarning;
+ class Savepoint;
+ class Statement;
+ }
+ }
+}
+
+class java::sql::Connection : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::sql::Statement * createStatement() = 0;
+ virtual ::java::sql::PreparedStatement * prepareStatement(::java::lang::String *) = 0;
+ virtual ::java::sql::CallableStatement * prepareCall(::java::lang::String *) = 0;
+ virtual ::java::lang::String * nativeSQL(::java::lang::String *) = 0;
+ virtual void setAutoCommit(jboolean) = 0;
+ virtual jboolean getAutoCommit() = 0;
+ virtual void commit() = 0;
+ virtual void rollback() = 0;
+ virtual void close() = 0;
+ virtual jboolean isClosed() = 0;
+ virtual ::java::sql::DatabaseMetaData * getMetaData() = 0;
+ virtual void setReadOnly(jboolean) = 0;
+ virtual jboolean isReadOnly() = 0;
+ virtual void setCatalog(::java::lang::String *) = 0;
+ virtual ::java::lang::String * getCatalog() = 0;
+ virtual void setTransactionIsolation(jint) = 0;
+ virtual jint getTransactionIsolation() = 0;
+ virtual ::java::sql::SQLWarning * getWarnings() = 0;
+ virtual void clearWarnings() = 0;
+ virtual ::java::sql::Statement * createStatement(jint, jint) = 0;
+ virtual ::java::sql::PreparedStatement * prepareStatement(::java::lang::String *, jint, jint) = 0;
+ virtual ::java::sql::CallableStatement * prepareCall(::java::lang::String *, jint, jint) = 0;
+ virtual ::java::util::Map * getTypeMap() = 0;
+ virtual void setTypeMap(::java::util::Map *) = 0;
+ virtual void setHoldability(jint) = 0;
+ virtual jint getHoldability() = 0;
+ virtual ::java::sql::Savepoint * setSavepoint() = 0;
+ virtual ::java::sql::Savepoint * setSavepoint(::java::lang::String *) = 0;
+ virtual void rollback(::java::sql::Savepoint *) = 0;
+ virtual void releaseSavepoint(::java::sql::Savepoint *) = 0;
+ virtual ::java::sql::Statement * createStatement(jint, jint, jint) = 0;
+ virtual ::java::sql::PreparedStatement * prepareStatement(::java::lang::String *, jint, jint, jint) = 0;
+ virtual ::java::sql::CallableStatement * prepareCall(::java::lang::String *, jint, jint, jint) = 0;
+ virtual ::java::sql::PreparedStatement * prepareStatement(::java::lang::String *, jint) = 0;
+ virtual ::java::sql::PreparedStatement * prepareStatement(::java::lang::String *, JArray< jint > *) = 0;
+ virtual ::java::sql::PreparedStatement * prepareStatement(::java::lang::String *, JArray< ::java::lang::String * > *) = 0;
+ static const jint TRANSACTION_NONE = 0;
+ static const jint TRANSACTION_READ_UNCOMMITTED = 1;
+ static const jint TRANSACTION_READ_COMMITTED = 2;
+ static const jint TRANSACTION_REPEATABLE_READ = 4;
+ static const jint TRANSACTION_SERIALIZABLE = 8;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_sql_Connection__
diff --git a/libjava/java/sql/DataTruncation.h b/libjava/java/sql/DataTruncation.h
new file mode 100644
index 0000000..584c65bc
--- /dev/null
+++ b/libjava/java/sql/DataTruncation.h
@@ -0,0 +1,43 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_sql_DataTruncation__
+#define __java_sql_DataTruncation__
+
+#pragma interface
+
+#include <java/sql/SQLWarning.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace sql
+ {
+ class DataTruncation;
+ }
+ }
+}
+
+class java::sql::DataTruncation : public ::java::sql::SQLWarning
+{
+
+public:
+ DataTruncation(jint, jboolean, jboolean, jint, jint);
+ virtual jint getIndex();
+ virtual jboolean getParameter();
+ virtual jboolean getRead();
+ virtual jint getDataSize();
+ virtual jint getTransferSize();
+public: // actually package-private
+ static const jlong serialVersionUID = 6464298989504059473LL;
+private:
+ jint __attribute__((aligned(__alignof__( ::java::sql::SQLWarning)))) dataSize;
+ jint index;
+ jboolean parameter;
+ jboolean read;
+ jint transferSize;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_sql_DataTruncation__
diff --git a/libjava/java/sql/DatabaseMetaData.h b/libjava/java/sql/DatabaseMetaData.h
new file mode 100644
index 0000000..0d1feb7
--- /dev/null
+++ b/libjava/java/sql/DatabaseMetaData.h
@@ -0,0 +1,245 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_sql_DatabaseMetaData__
+#define __java_sql_DatabaseMetaData__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace sql
+ {
+ class Connection;
+ class DatabaseMetaData;
+ class ResultSet;
+ }
+ }
+}
+
+class java::sql::DatabaseMetaData : public ::java::lang::Object
+{
+
+public:
+ virtual jboolean allProceduresAreCallable() = 0;
+ virtual jboolean allTablesAreSelectable() = 0;
+ virtual ::java::lang::String * getURL() = 0;
+ virtual ::java::lang::String * getUserName() = 0;
+ virtual jboolean isReadOnly() = 0;
+ virtual jboolean nullsAreSortedHigh() = 0;
+ virtual jboolean nullsAreSortedLow() = 0;
+ virtual jboolean nullsAreSortedAtStart() = 0;
+ virtual jboolean nullsAreSortedAtEnd() = 0;
+ virtual ::java::lang::String * getDatabaseProductName() = 0;
+ virtual ::java::lang::String * getDatabaseProductVersion() = 0;
+ virtual ::java::lang::String * getDriverName() = 0;
+ virtual ::java::lang::String * getDriverVersion() = 0;
+ virtual jint getDriverMajorVersion() = 0;
+ virtual jint getDriverMinorVersion() = 0;
+ virtual jboolean usesLocalFiles() = 0;
+ virtual jboolean usesLocalFilePerTable() = 0;
+ virtual jboolean supportsMixedCaseIdentifiers() = 0;
+ virtual jboolean storesUpperCaseIdentifiers() = 0;
+ virtual jboolean storesLowerCaseIdentifiers() = 0;
+ virtual jboolean storesMixedCaseIdentifiers() = 0;
+ virtual jboolean supportsMixedCaseQuotedIdentifiers() = 0;
+ virtual jboolean storesUpperCaseQuotedIdentifiers() = 0;
+ virtual jboolean storesLowerCaseQuotedIdentifiers() = 0;
+ virtual jboolean storesMixedCaseQuotedIdentifiers() = 0;
+ virtual ::java::lang::String * getIdentifierQuoteString() = 0;
+ virtual ::java::lang::String * getSQLKeywords() = 0;
+ virtual ::java::lang::String * getNumericFunctions() = 0;
+ virtual ::java::lang::String * getStringFunctions() = 0;
+ virtual ::java::lang::String * getSystemFunctions() = 0;
+ virtual ::java::lang::String * getTimeDateFunctions() = 0;
+ virtual ::java::lang::String * getSearchStringEscape() = 0;
+ virtual ::java::lang::String * getExtraNameCharacters() = 0;
+ virtual jboolean supportsAlterTableWithAddColumn() = 0;
+ virtual jboolean supportsAlterTableWithDropColumn() = 0;
+ virtual jboolean supportsColumnAliasing() = 0;
+ virtual jboolean nullPlusNonNullIsNull() = 0;
+ virtual jboolean supportsConvert() = 0;
+ virtual jboolean supportsConvert(jint, jint) = 0;
+ virtual jboolean supportsTableCorrelationNames() = 0;
+ virtual jboolean supportsDifferentTableCorrelationNames() = 0;
+ virtual jboolean supportsExpressionsInOrderBy() = 0;
+ virtual jboolean supportsOrderByUnrelated() = 0;
+ virtual jboolean supportsGroupBy() = 0;
+ virtual jboolean supportsGroupByUnrelated() = 0;
+ virtual jboolean supportsGroupByBeyondSelect() = 0;
+ virtual jboolean supportsLikeEscapeClause() = 0;
+ virtual jboolean supportsMultipleResultSets() = 0;
+ virtual jboolean supportsMultipleTransactions() = 0;
+ virtual jboolean supportsNonNullableColumns() = 0;
+ virtual jboolean supportsMinimumSQLGrammar() = 0;
+ virtual jboolean supportsCoreSQLGrammar() = 0;
+ virtual jboolean supportsExtendedSQLGrammar() = 0;
+ virtual jboolean supportsANSI92EntryLevelSQL() = 0;
+ virtual jboolean supportsANSI92IntermediateSQL() = 0;
+ virtual jboolean supportsANSI92FullSQL() = 0;
+ virtual jboolean supportsIntegrityEnhancementFacility() = 0;
+ virtual jboolean supportsOuterJoins() = 0;
+ virtual jboolean supportsFullOuterJoins() = 0;
+ virtual jboolean supportsLimitedOuterJoins() = 0;
+ virtual ::java::lang::String * getSchemaTerm() = 0;
+ virtual ::java::lang::String * getProcedureTerm() = 0;
+ virtual ::java::lang::String * getCatalogTerm() = 0;
+ virtual jboolean isCatalogAtStart() = 0;
+ virtual ::java::lang::String * getCatalogSeparator() = 0;
+ virtual jboolean supportsSchemasInDataManipulation() = 0;
+ virtual jboolean supportsSchemasInProcedureCalls() = 0;
+ virtual jboolean supportsSchemasInTableDefinitions() = 0;
+ virtual jboolean supportsSchemasInIndexDefinitions() = 0;
+ virtual jboolean supportsSchemasInPrivilegeDefinitions() = 0;
+ virtual jboolean supportsCatalogsInDataManipulation() = 0;
+ virtual jboolean supportsCatalogsInProcedureCalls() = 0;
+ virtual jboolean supportsCatalogsInTableDefinitions() = 0;
+ virtual jboolean supportsCatalogsInIndexDefinitions() = 0;
+ virtual jboolean supportsCatalogsInPrivilegeDefinitions() = 0;
+ virtual jboolean supportsPositionedDelete() = 0;
+ virtual jboolean supportsPositionedUpdate() = 0;
+ virtual jboolean supportsSelectForUpdate() = 0;
+ virtual jboolean supportsStoredProcedures() = 0;
+ virtual jboolean supportsSubqueriesInComparisons() = 0;
+ virtual jboolean supportsSubqueriesInExists() = 0;
+ virtual jboolean supportsSubqueriesInIns() = 0;
+ virtual jboolean supportsSubqueriesInQuantifieds() = 0;
+ virtual jboolean supportsCorrelatedSubqueries() = 0;
+ virtual jboolean supportsUnion() = 0;
+ virtual jboolean supportsUnionAll() = 0;
+ virtual jboolean supportsOpenCursorsAcrossCommit() = 0;
+ virtual jboolean supportsOpenCursorsAcrossRollback() = 0;
+ virtual jboolean supportsOpenStatementsAcrossCommit() = 0;
+ virtual jboolean supportsOpenStatementsAcrossRollback() = 0;
+ virtual jint getMaxBinaryLiteralLength() = 0;
+ virtual jint getMaxCharLiteralLength() = 0;
+ virtual jint getMaxColumnNameLength() = 0;
+ virtual jint getMaxColumnsInGroupBy() = 0;
+ virtual jint getMaxColumnsInIndex() = 0;
+ virtual jint getMaxColumnsInOrderBy() = 0;
+ virtual jint getMaxColumnsInSelect() = 0;
+ virtual jint getMaxColumnsInTable() = 0;
+ virtual jint getMaxConnections() = 0;
+ virtual jint getMaxCursorNameLength() = 0;
+ virtual jint getMaxIndexLength() = 0;
+ virtual jint getMaxSchemaNameLength() = 0;
+ virtual jint getMaxProcedureNameLength() = 0;
+ virtual jint getMaxCatalogNameLength() = 0;
+ virtual jint getMaxRowSize() = 0;
+ virtual jboolean doesMaxRowSizeIncludeBlobs() = 0;
+ virtual jint getMaxStatementLength() = 0;
+ virtual jint getMaxStatements() = 0;
+ virtual jint getMaxTableNameLength() = 0;
+ virtual jint getMaxTablesInSelect() = 0;
+ virtual jint getMaxUserNameLength() = 0;
+ virtual jint getDefaultTransactionIsolation() = 0;
+ virtual jboolean supportsTransactions() = 0;
+ virtual jboolean supportsTransactionIsolationLevel(jint) = 0;
+ virtual jboolean supportsDataDefinitionAndDataManipulationTransactions() = 0;
+ virtual jboolean supportsDataManipulationTransactionsOnly() = 0;
+ virtual jboolean dataDefinitionCausesTransactionCommit() = 0;
+ virtual jboolean dataDefinitionIgnoredInTransactions() = 0;
+ virtual ::java::sql::ResultSet * getProcedures(::java::lang::String *, ::java::lang::String *, ::java::lang::String *) = 0;
+ virtual ::java::sql::ResultSet * getProcedureColumns(::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *) = 0;
+ virtual ::java::sql::ResultSet * getTables(::java::lang::String *, ::java::lang::String *, ::java::lang::String *, JArray< ::java::lang::String * > *) = 0;
+ virtual ::java::sql::ResultSet * getSchemas() = 0;
+ virtual ::java::sql::ResultSet * getCatalogs() = 0;
+ virtual ::java::sql::ResultSet * getTableTypes() = 0;
+ virtual ::java::sql::ResultSet * getColumns(::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *) = 0;
+ virtual ::java::sql::ResultSet * getColumnPrivileges(::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *) = 0;
+ virtual ::java::sql::ResultSet * getTablePrivileges(::java::lang::String *, ::java::lang::String *, ::java::lang::String *) = 0;
+ virtual ::java::sql::ResultSet * getBestRowIdentifier(::java::lang::String *, ::java::lang::String *, ::java::lang::String *, jint, jboolean) = 0;
+ virtual ::java::sql::ResultSet * getVersionColumns(::java::lang::String *, ::java::lang::String *, ::java::lang::String *) = 0;
+ virtual ::java::sql::ResultSet * getPrimaryKeys(::java::lang::String *, ::java::lang::String *, ::java::lang::String *) = 0;
+ virtual ::java::sql::ResultSet * getImportedKeys(::java::lang::String *, ::java::lang::String *, ::java::lang::String *) = 0;
+ virtual ::java::sql::ResultSet * getExportedKeys(::java::lang::String *, ::java::lang::String *, ::java::lang::String *) = 0;
+ virtual ::java::sql::ResultSet * getCrossReference(::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *) = 0;
+ virtual ::java::sql::ResultSet * getTypeInfo() = 0;
+ virtual ::java::sql::ResultSet * getIndexInfo(::java::lang::String *, ::java::lang::String *, ::java::lang::String *, jboolean, jboolean) = 0;
+ virtual jboolean supportsResultSetType(jint) = 0;
+ virtual jboolean supportsResultSetConcurrency(jint, jint) = 0;
+ virtual jboolean ownUpdatesAreVisible(jint) = 0;
+ virtual jboolean ownDeletesAreVisible(jint) = 0;
+ virtual jboolean ownInsertsAreVisible(jint) = 0;
+ virtual jboolean othersUpdatesAreVisible(jint) = 0;
+ virtual jboolean othersDeletesAreVisible(jint) = 0;
+ virtual jboolean othersInsertsAreVisible(jint) = 0;
+ virtual jboolean updatesAreDetected(jint) = 0;
+ virtual jboolean deletesAreDetected(jint) = 0;
+ virtual jboolean insertsAreDetected(jint) = 0;
+ virtual jboolean supportsBatchUpdates() = 0;
+ virtual ::java::sql::ResultSet * getUDTs(::java::lang::String *, ::java::lang::String *, ::java::lang::String *, JArray< jint > *) = 0;
+ virtual ::java::sql::Connection * getConnection() = 0;
+ virtual jboolean supportsSavepoints() = 0;
+ virtual jboolean supportsNamedParameters() = 0;
+ virtual jboolean supportsMultipleOpenResults() = 0;
+ virtual jboolean supportsGetGeneratedKeys() = 0;
+ virtual ::java::sql::ResultSet * getSuperTypes(::java::lang::String *, ::java::lang::String *, ::java::lang::String *) = 0;
+ virtual ::java::sql::ResultSet * getSuperTables(::java::lang::String *, ::java::lang::String *, ::java::lang::String *) = 0;
+ virtual ::java::sql::ResultSet * getAttributes(::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *) = 0;
+ virtual jboolean supportsResultSetHoldability(jint) = 0;
+ virtual jint getResultSetHoldability() = 0;
+ virtual jint getDatabaseMajorVersion() = 0;
+ virtual jint getDatabaseMinorVersion() = 0;
+ virtual jint getJDBCMajorVersion() = 0;
+ virtual jint getJDBCMinorVersion() = 0;
+ virtual jint getSQLStateType() = 0;
+ virtual jboolean locatorsUpdateCopy() = 0;
+ virtual jboolean supportsStatementPooling() = 0;
+ static const jint procedureResultUnknown = 0;
+ static const jint procedureNoResult = 1;
+ static const jint procedureReturnsResult = 2;
+ static const jint procedureColumnUnknown = 0;
+ static const jint procedureColumnIn = 1;
+ static const jint procedureColumnInOut = 2;
+ static const jint procedureColumnOut = 4;
+ static const jint procedureColumnReturn = 5;
+ static const jint procedureColumnResult = 3;
+ static const jint procedureNoNulls = 0;
+ static const jint procedureNullable = 1;
+ static const jint procedureNullableUnknown = 2;
+ static const jint columnNoNulls = 0;
+ static const jint columnNullable = 1;
+ static const jint columnNullableUnknown = 2;
+ static const jint bestRowTemporary = 0;
+ static const jint bestRowTransaction = 1;
+ static const jint bestRowSession = 2;
+ static const jint bestRowUnknown = 0;
+ static const jint bestRowNotPseudo = 1;
+ static const jint bestRowPseudo = 2;
+ static const jint versionColumnUnknown = 0;
+ static const jint versionColumnNotPseudo = 1;
+ static const jint versionColumnPseudo = 2;
+ static const jint importedKeyCascade = 0;
+ static const jint importedKeyRestrict = 1;
+ static const jint importedKeySetNull = 2;
+ static const jint importedKeyNoAction = 3;
+ static const jint importedKeySetDefault = 4;
+ static const jint importedKeyInitiallyDeferred = 5;
+ static const jint importedKeyInitiallyImmediate = 6;
+ static const jint importedKeyNotDeferrable = 7;
+ static const jint typeNoNulls = 0;
+ static const jint typeNullable = 1;
+ static const jint typeNullableUnknown = 2;
+ static const jint typePredNone = 0;
+ static const jint typePredChar = 1;
+ static const jint typePredBasic = 2;
+ static const jint typeSearchable = 3;
+ static const jshort tableIndexStatistic = 0;
+ static const jshort tableIndexClustered = 1;
+ static const jshort tableIndexHashed = 2;
+ static const jshort tableIndexOther = 3;
+ static const jshort attributeNoNulls = 0;
+ static const jshort attributeNullable = 1;
+ static const jshort attributeNullableUnknown = 2;
+ static const jint sqlStateXOpen = 1;
+ static const jint sqlStateSQL99 = 2;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_sql_DatabaseMetaData__
diff --git a/libjava/java/sql/Date.h b/libjava/java/sql/Date.h
new file mode 100644
index 0000000..8a7939b
--- /dev/null
+++ b/libjava/java/sql/Date.h
@@ -0,0 +1,47 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_sql_Date__
+#define __java_sql_Date__
+
+#pragma interface
+
+#include <java/util/Date.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace sql
+ {
+ class Date;
+ }
+ namespace text
+ {
+ class SimpleDateFormat;
+ }
+ }
+}
+
+class java::sql::Date : public ::java::util::Date
+{
+
+public:
+ Date(jint, jint, jint);
+ Date(jlong);
+ virtual jint getHours();
+ virtual jint getMinutes();
+ virtual jint getSeconds();
+ virtual void setHours(jint);
+ virtual void setMinutes(jint);
+ virtual void setSeconds(jint);
+ static ::java::sql::Date * valueOf(::java::lang::String *);
+ virtual ::java::lang::String * toString();
+public: // actually package-private
+ static const jlong serialVersionUID = 1511598038487230103LL;
+private:
+ static ::java::text::SimpleDateFormat * sdf;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_sql_Date__
diff --git a/libjava/java/sql/Driver.h b/libjava/java/sql/Driver.h
new file mode 100644
index 0000000..f9800b0
--- /dev/null
+++ b/libjava/java/sql/Driver.h
@@ -0,0 +1,38 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_sql_Driver__
+#define __java_sql_Driver__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace sql
+ {
+ class Connection;
+ class Driver;
+ class DriverPropertyInfo;
+ }
+ }
+}
+
+class java::sql::Driver : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::sql::Connection * connect(::java::lang::String *, ::java::util::Properties *) = 0;
+ virtual jboolean acceptsURL(::java::lang::String *) = 0;
+ virtual JArray< ::java::sql::DriverPropertyInfo * > * getPropertyInfo(::java::lang::String *, ::java::util::Properties *) = 0;
+ virtual jint getMajorVersion() = 0;
+ virtual jint getMinorVersion() = 0;
+ virtual jboolean jdbcCompliant() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_sql_Driver__
diff --git a/libjava/java/sql/DriverManager.h b/libjava/java/sql/DriverManager.h
new file mode 100644
index 0000000..f9d87ea
--- /dev/null
+++ b/libjava/java/sql/DriverManager.h
@@ -0,0 +1,51 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_sql_DriverManager__
+#define __java_sql_DriverManager__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace sql
+ {
+ class Connection;
+ class Driver;
+ class DriverManager;
+ }
+ }
+}
+
+class java::sql::DriverManager : public ::java::lang::Object
+{
+
+ DriverManager();
+public:
+ static ::java::io::PrintWriter * getLogWriter();
+ static void setLogWriter(::java::io::PrintWriter *);
+ static ::java::sql::Connection * getConnection(::java::lang::String *, ::java::util::Properties *);
+ static ::java::sql::Connection * getConnection(::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
+ static ::java::sql::Connection * getConnection(::java::lang::String *);
+ static ::java::sql::Driver * getDriver(::java::lang::String *);
+ static void registerDriver(::java::sql::Driver *);
+ static void deregisterDriver(::java::sql::Driver *);
+ static ::java::util::Enumeration * getDrivers();
+ static void setLoginTimeout(jint);
+ static jint getLoginTimeout();
+ static void setLogStream(::java::io::PrintStream *);
+ static ::java::io::PrintStream * getLogStream();
+ static void println(::java::lang::String *);
+private:
+ static ::java::io::PrintStream * log_stream;
+ static ::java::io::PrintWriter * log_writer;
+ static jint login_timeout;
+ static ::java::util::Vector * drivers;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_sql_DriverManager__
diff --git a/libjava/java/sql/DriverPropertyInfo.h b/libjava/java/sql/DriverPropertyInfo.h
new file mode 100644
index 0000000..46e21af
--- /dev/null
+++ b/libjava/java/sql/DriverPropertyInfo.h
@@ -0,0 +1,36 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_sql_DriverPropertyInfo__
+#define __java_sql_DriverPropertyInfo__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace sql
+ {
+ class DriverPropertyInfo;
+ }
+ }
+}
+
+class java::sql::DriverPropertyInfo : public ::java::lang::Object
+{
+
+public:
+ DriverPropertyInfo(::java::lang::String *, ::java::lang::String *);
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) name;
+ ::java::lang::String * description;
+ jboolean required;
+ ::java::lang::String * value;
+ JArray< ::java::lang::String * > * choices;
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_sql_DriverPropertyInfo__
diff --git a/libjava/java/sql/ParameterMetaData.h b/libjava/java/sql/ParameterMetaData.h
new file mode 100644
index 0000000..a377668
--- /dev/null
+++ b/libjava/java/sql/ParameterMetaData.h
@@ -0,0 +1,44 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_sql_ParameterMetaData__
+#define __java_sql_ParameterMetaData__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace sql
+ {
+ class ParameterMetaData;
+ }
+ }
+}
+
+class java::sql::ParameterMetaData : public ::java::lang::Object
+{
+
+public:
+ virtual jint getParameterCount() = 0;
+ virtual jint isNullable(jint) = 0;
+ virtual jboolean isSigned(jint) = 0;
+ virtual jint getPrecision(jint) = 0;
+ virtual jint getScale(jint) = 0;
+ virtual jint getParameterType(jint) = 0;
+ virtual ::java::lang::String * getParameterTypeName(jint) = 0;
+ virtual ::java::lang::String * getParameterClassName(jint) = 0;
+ virtual jint getParameterMode(jint) = 0;
+ static const jint parameterNoNulls = 0;
+ static const jint parameterNullable = 1;
+ static const jint parameterNullableUnknown = 2;
+ static const jint parameterModeUnknown = 0;
+ static const jint parameterModeIn = 1;
+ static const jint parameterModeInOut = 2;
+ static const jint parameterModeOut = 4;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_sql_ParameterMetaData__
diff --git a/libjava/java/sql/PreparedStatement.h b/libjava/java/sql/PreparedStatement.h
new file mode 100644
index 0000000..dcb2e5d
--- /dev/null
+++ b/libjava/java/sql/PreparedStatement.h
@@ -0,0 +1,124 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_sql_PreparedStatement__
+#define __java_sql_PreparedStatement__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace math
+ {
+ class BigDecimal;
+ }
+ namespace net
+ {
+ class URL;
+ }
+ namespace sql
+ {
+ class Array;
+ class Blob;
+ class Clob;
+ class Connection;
+ class Date;
+ class ParameterMetaData;
+ class PreparedStatement;
+ class Ref;
+ class ResultSet;
+ class ResultSetMetaData;
+ class SQLWarning;
+ class Time;
+ class Timestamp;
+ }
+ }
+}
+
+class java::sql::PreparedStatement : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::sql::ResultSet * executeQuery() = 0;
+ virtual jint executeUpdate() = 0;
+ virtual void setNull(jint, jint) = 0;
+ virtual void setBoolean(jint, jboolean) = 0;
+ virtual void setByte(jint, jbyte) = 0;
+ virtual void setShort(jint, jshort) = 0;
+ virtual void setInt(jint, jint) = 0;
+ virtual void setLong(jint, jlong) = 0;
+ virtual void setFloat(jint, jfloat) = 0;
+ virtual void setDouble(jint, jdouble) = 0;
+ virtual void setBigDecimal(jint, ::java::math::BigDecimal *) = 0;
+ virtual void setString(jint, ::java::lang::String *) = 0;
+ virtual void setBytes(jint, JArray< jbyte > *) = 0;
+ virtual void setDate(jint, ::java::sql::Date *) = 0;
+ virtual void setTime(jint, ::java::sql::Time *) = 0;
+ virtual void setTimestamp(jint, ::java::sql::Timestamp *) = 0;
+ virtual void setAsciiStream(jint, ::java::io::InputStream *, jint) = 0;
+ virtual void setUnicodeStream(jint, ::java::io::InputStream *, jint) = 0;
+ virtual void setBinaryStream(jint, ::java::io::InputStream *, jint) = 0;
+ virtual void clearParameters() = 0;
+ virtual void setObject(jint, ::java::lang::Object *, jint, jint) = 0;
+ virtual void setObject(jint, ::java::lang::Object *, jint) = 0;
+ virtual void setObject(jint, ::java::lang::Object *) = 0;
+ virtual jboolean execute() = 0;
+ virtual void addBatch() = 0;
+ virtual void setCharacterStream(jint, ::java::io::Reader *, jint) = 0;
+ virtual void setRef(jint, ::java::sql::Ref *) = 0;
+ virtual void setBlob(jint, ::java::sql::Blob *) = 0;
+ virtual void setClob(jint, ::java::sql::Clob *) = 0;
+ virtual void setArray(jint, ::java::sql::Array *) = 0;
+ virtual ::java::sql::ResultSetMetaData * getMetaData() = 0;
+ virtual void setDate(jint, ::java::sql::Date *, ::java::util::Calendar *) = 0;
+ virtual void setTime(jint, ::java::sql::Time *, ::java::util::Calendar *) = 0;
+ virtual void setTimestamp(jint, ::java::sql::Timestamp *, ::java::util::Calendar *) = 0;
+ virtual void setNull(jint, jint, ::java::lang::String *) = 0;
+ virtual void setURL(jint, ::java::net::URL *) = 0;
+ virtual ::java::sql::ParameterMetaData * getParameterMetaData() = 0;
+ virtual ::java::sql::ResultSet * executeQuery(::java::lang::String *) = 0;
+ virtual jint executeUpdate(::java::lang::String *) = 0;
+ virtual void close() = 0;
+ virtual jint getMaxFieldSize() = 0;
+ virtual void setMaxFieldSize(jint) = 0;
+ virtual jint getMaxRows() = 0;
+ virtual void setMaxRows(jint) = 0;
+ virtual void setEscapeProcessing(jboolean) = 0;
+ virtual jint getQueryTimeout() = 0;
+ virtual void setQueryTimeout(jint) = 0;
+ virtual void cancel() = 0;
+ virtual ::java::sql::SQLWarning * getWarnings() = 0;
+ virtual void clearWarnings() = 0;
+ virtual void setCursorName(::java::lang::String *) = 0;
+ virtual jboolean execute(::java::lang::String *) = 0;
+ virtual ::java::sql::ResultSet * getResultSet() = 0;
+ virtual jint getUpdateCount() = 0;
+ virtual jboolean getMoreResults() = 0;
+ virtual void setFetchDirection(jint) = 0;
+ virtual jint getFetchDirection() = 0;
+ virtual void setFetchSize(jint) = 0;
+ virtual jint getFetchSize() = 0;
+ virtual jint getResultSetConcurrency() = 0;
+ virtual jint getResultSetType() = 0;
+ virtual void addBatch(::java::lang::String *) = 0;
+ virtual void clearBatch() = 0;
+ virtual JArray< jint > * executeBatch() = 0;
+ virtual ::java::sql::Connection * getConnection() = 0;
+ virtual jboolean getMoreResults(jint) = 0;
+ virtual ::java::sql::ResultSet * getGeneratedKeys() = 0;
+ virtual jint executeUpdate(::java::lang::String *, jint) = 0;
+ virtual jint executeUpdate(::java::lang::String *, JArray< jint > *) = 0;
+ virtual jint executeUpdate(::java::lang::String *, JArray< ::java::lang::String * > *) = 0;
+ virtual jboolean execute(::java::lang::String *, jint) = 0;
+ virtual jboolean execute(::java::lang::String *, JArray< jint > *) = 0;
+ virtual jboolean execute(::java::lang::String *, JArray< ::java::lang::String * > *) = 0;
+ virtual jint getResultSetHoldability() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_sql_PreparedStatement__
diff --git a/libjava/java/sql/Ref.h b/libjava/java/sql/Ref.h
new file mode 100644
index 0000000..79cfc9a
--- /dev/null
+++ b/libjava/java/sql/Ref.h
@@ -0,0 +1,32 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_sql_Ref__
+#define __java_sql_Ref__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace sql
+ {
+ class Ref;
+ }
+ }
+}
+
+class java::sql::Ref : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::lang::String * getBaseTypeName() = 0;
+ virtual ::java::lang::Object * getObject(::java::util::Map *) = 0;
+ virtual ::java::lang::Object * getObject() = 0;
+ virtual void setObject(::java::lang::Object *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_sql_Ref__
diff --git a/libjava/java/sql/ResultSet.h b/libjava/java/sql/ResultSet.h
new file mode 100644
index 0000000..969c0ec
--- /dev/null
+++ b/libjava/java/sql/ResultSet.h
@@ -0,0 +1,197 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_sql_ResultSet__
+#define __java_sql_ResultSet__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace math
+ {
+ class BigDecimal;
+ }
+ namespace net
+ {
+ class URL;
+ }
+ namespace sql
+ {
+ class Array;
+ class Blob;
+ class Clob;
+ class Date;
+ class Ref;
+ class ResultSet;
+ class ResultSetMetaData;
+ class SQLWarning;
+ class Statement;
+ class Time;
+ class Timestamp;
+ }
+ }
+}
+
+class java::sql::ResultSet : public ::java::lang::Object
+{
+
+public:
+ virtual jboolean next() = 0;
+ virtual void close() = 0;
+ virtual jboolean wasNull() = 0;
+ virtual ::java::lang::String * getString(jint) = 0;
+ virtual jboolean getBoolean(jint) = 0;
+ virtual jbyte getByte(jint) = 0;
+ virtual jshort getShort(jint) = 0;
+ virtual jint getInt(jint) = 0;
+ virtual jlong getLong(jint) = 0;
+ virtual jfloat getFloat(jint) = 0;
+ virtual jdouble getDouble(jint) = 0;
+ virtual ::java::math::BigDecimal * getBigDecimal(jint, jint) = 0;
+ virtual JArray< jbyte > * getBytes(jint) = 0;
+ virtual ::java::sql::Date * getDate(jint) = 0;
+ virtual ::java::sql::Time * getTime(jint) = 0;
+ virtual ::java::sql::Timestamp * getTimestamp(jint) = 0;
+ virtual ::java::io::InputStream * getAsciiStream(jint) = 0;
+ virtual ::java::io::InputStream * getUnicodeStream(jint) = 0;
+ virtual ::java::io::InputStream * getBinaryStream(jint) = 0;
+ virtual ::java::lang::String * getString(::java::lang::String *) = 0;
+ virtual jboolean getBoolean(::java::lang::String *) = 0;
+ virtual jbyte getByte(::java::lang::String *) = 0;
+ virtual jshort getShort(::java::lang::String *) = 0;
+ virtual jint getInt(::java::lang::String *) = 0;
+ virtual jlong getLong(::java::lang::String *) = 0;
+ virtual jfloat getFloat(::java::lang::String *) = 0;
+ virtual jdouble getDouble(::java::lang::String *) = 0;
+ virtual ::java::math::BigDecimal * getBigDecimal(::java::lang::String *, jint) = 0;
+ virtual JArray< jbyte > * getBytes(::java::lang::String *) = 0;
+ virtual ::java::sql::Date * getDate(::java::lang::String *) = 0;
+ virtual ::java::sql::Time * getTime(::java::lang::String *) = 0;
+ virtual ::java::sql::Timestamp * getTimestamp(::java::lang::String *) = 0;
+ virtual ::java::io::InputStream * getAsciiStream(::java::lang::String *) = 0;
+ virtual ::java::io::InputStream * getUnicodeStream(::java::lang::String *) = 0;
+ virtual ::java::io::InputStream * getBinaryStream(::java::lang::String *) = 0;
+ virtual ::java::sql::SQLWarning * getWarnings() = 0;
+ virtual void clearWarnings() = 0;
+ virtual ::java::lang::String * getCursorName() = 0;
+ virtual ::java::sql::ResultSetMetaData * getMetaData() = 0;
+ virtual ::java::lang::Object * getObject(jint) = 0;
+ virtual ::java::lang::Object * getObject(::java::lang::String *) = 0;
+ virtual jint findColumn(::java::lang::String *) = 0;
+ virtual ::java::io::Reader * getCharacterStream(jint) = 0;
+ virtual ::java::io::Reader * getCharacterStream(::java::lang::String *) = 0;
+ virtual ::java::math::BigDecimal * getBigDecimal(jint) = 0;
+ virtual ::java::math::BigDecimal * getBigDecimal(::java::lang::String *) = 0;
+ virtual jboolean isBeforeFirst() = 0;
+ virtual jboolean isAfterLast() = 0;
+ virtual jboolean isFirst() = 0;
+ virtual jboolean isLast() = 0;
+ virtual void beforeFirst() = 0;
+ virtual void afterLast() = 0;
+ virtual jboolean first() = 0;
+ virtual jboolean last() = 0;
+ virtual jint getRow() = 0;
+ virtual jboolean absolute(jint) = 0;
+ virtual jboolean relative(jint) = 0;
+ virtual jboolean previous() = 0;
+ virtual void setFetchDirection(jint) = 0;
+ virtual jint getFetchDirection() = 0;
+ virtual void setFetchSize(jint) = 0;
+ virtual jint getFetchSize() = 0;
+ virtual jint getType() = 0;
+ virtual jint getConcurrency() = 0;
+ virtual jboolean rowUpdated() = 0;
+ virtual jboolean rowInserted() = 0;
+ virtual jboolean rowDeleted() = 0;
+ virtual void updateNull(jint) = 0;
+ virtual void updateBoolean(jint, jboolean) = 0;
+ virtual void updateByte(jint, jbyte) = 0;
+ virtual void updateShort(jint, jshort) = 0;
+ virtual void updateInt(jint, jint) = 0;
+ virtual void updateLong(jint, jlong) = 0;
+ virtual void updateFloat(jint, jfloat) = 0;
+ virtual void updateDouble(jint, jdouble) = 0;
+ virtual void updateBigDecimal(jint, ::java::math::BigDecimal *) = 0;
+ virtual void updateString(jint, ::java::lang::String *) = 0;
+ virtual void updateBytes(jint, JArray< jbyte > *) = 0;
+ virtual void updateDate(jint, ::java::sql::Date *) = 0;
+ virtual void updateTime(jint, ::java::sql::Time *) = 0;
+ virtual void updateTimestamp(jint, ::java::sql::Timestamp *) = 0;
+ virtual void updateAsciiStream(jint, ::java::io::InputStream *, jint) = 0;
+ virtual void updateBinaryStream(jint, ::java::io::InputStream *, jint) = 0;
+ virtual void updateCharacterStream(jint, ::java::io::Reader *, jint) = 0;
+ virtual void updateObject(jint, ::java::lang::Object *, jint) = 0;
+ virtual void updateObject(jint, ::java::lang::Object *) = 0;
+ virtual void updateNull(::java::lang::String *) = 0;
+ virtual void updateBoolean(::java::lang::String *, jboolean) = 0;
+ virtual void updateByte(::java::lang::String *, jbyte) = 0;
+ virtual void updateShort(::java::lang::String *, jshort) = 0;
+ virtual void updateInt(::java::lang::String *, jint) = 0;
+ virtual void updateLong(::java::lang::String *, jlong) = 0;
+ virtual void updateFloat(::java::lang::String *, jfloat) = 0;
+ virtual void updateDouble(::java::lang::String *, jdouble) = 0;
+ virtual void updateBigDecimal(::java::lang::String *, ::java::math::BigDecimal *) = 0;
+ virtual void updateString(::java::lang::String *, ::java::lang::String *) = 0;
+ virtual void updateBytes(::java::lang::String *, JArray< jbyte > *) = 0;
+ virtual void updateDate(::java::lang::String *, ::java::sql::Date *) = 0;
+ virtual void updateTime(::java::lang::String *, ::java::sql::Time *) = 0;
+ virtual void updateTimestamp(::java::lang::String *, ::java::sql::Timestamp *) = 0;
+ virtual void updateAsciiStream(::java::lang::String *, ::java::io::InputStream *, jint) = 0;
+ virtual void updateBinaryStream(::java::lang::String *, ::java::io::InputStream *, jint) = 0;
+ virtual void updateCharacterStream(::java::lang::String *, ::java::io::Reader *, jint) = 0;
+ virtual void updateObject(::java::lang::String *, ::java::lang::Object *, jint) = 0;
+ virtual void updateObject(::java::lang::String *, ::java::lang::Object *) = 0;
+ virtual void insertRow() = 0;
+ virtual void updateRow() = 0;
+ virtual void deleteRow() = 0;
+ virtual void refreshRow() = 0;
+ virtual void cancelRowUpdates() = 0;
+ virtual void moveToInsertRow() = 0;
+ virtual void moveToCurrentRow() = 0;
+ virtual ::java::sql::Statement * getStatement() = 0;
+ virtual ::java::lang::Object * getObject(jint, ::java::util::Map *) = 0;
+ virtual ::java::sql::Ref * getRef(jint) = 0;
+ virtual ::java::sql::Blob * getBlob(jint) = 0;
+ virtual ::java::sql::Clob * getClob(jint) = 0;
+ virtual ::java::sql::Array * getArray(jint) = 0;
+ virtual ::java::lang::Object * getObject(::java::lang::String *, ::java::util::Map *) = 0;
+ virtual ::java::sql::Ref * getRef(::java::lang::String *) = 0;
+ virtual ::java::sql::Blob * getBlob(::java::lang::String *) = 0;
+ virtual ::java::sql::Clob * getClob(::java::lang::String *) = 0;
+ virtual ::java::sql::Array * getArray(::java::lang::String *) = 0;
+ virtual ::java::sql::Date * getDate(jint, ::java::util::Calendar *) = 0;
+ virtual ::java::sql::Date * getDate(::java::lang::String *, ::java::util::Calendar *) = 0;
+ virtual ::java::sql::Time * getTime(jint, ::java::util::Calendar *) = 0;
+ virtual ::java::sql::Time * getTime(::java::lang::String *, ::java::util::Calendar *) = 0;
+ virtual ::java::sql::Timestamp * getTimestamp(jint, ::java::util::Calendar *) = 0;
+ virtual ::java::sql::Timestamp * getTimestamp(::java::lang::String *, ::java::util::Calendar *) = 0;
+ virtual ::java::net::URL * getURL(jint) = 0;
+ virtual ::java::net::URL * getURL(::java::lang::String *) = 0;
+ virtual void updateRef(jint, ::java::sql::Ref *) = 0;
+ virtual void updateRef(::java::lang::String *, ::java::sql::Ref *) = 0;
+ virtual void updateBlob(jint, ::java::sql::Blob *) = 0;
+ virtual void updateBlob(::java::lang::String *, ::java::sql::Blob *) = 0;
+ virtual void updateClob(jint, ::java::sql::Clob *) = 0;
+ virtual void updateClob(::java::lang::String *, ::java::sql::Clob *) = 0;
+ virtual void updateArray(jint, ::java::sql::Array *) = 0;
+ virtual void updateArray(::java::lang::String *, ::java::sql::Array *) = 0;
+ static const jint FETCH_FORWARD = 1000;
+ static const jint FETCH_REVERSE = 1001;
+ static const jint FETCH_UNKNOWN = 1002;
+ static const jint TYPE_FORWARD_ONLY = 1003;
+ static const jint TYPE_SCROLL_INSENSITIVE = 1004;
+ static const jint TYPE_SCROLL_SENSITIVE = 1005;
+ static const jint CONCUR_READ_ONLY = 1007;
+ static const jint CONCUR_UPDATABLE = 1008;
+ static const jint HOLD_CURSORS_OVER_COMMIT = 1;
+ static const jint CLOSE_CURSORS_AT_COMMIT = 2;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_sql_ResultSet__
diff --git a/libjava/java/sql/ResultSetMetaData.h b/libjava/java/sql/ResultSetMetaData.h
new file mode 100644
index 0000000..d871ade
--- /dev/null
+++ b/libjava/java/sql/ResultSetMetaData.h
@@ -0,0 +1,52 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_sql_ResultSetMetaData__
+#define __java_sql_ResultSetMetaData__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace sql
+ {
+ class ResultSetMetaData;
+ }
+ }
+}
+
+class java::sql::ResultSetMetaData : public ::java::lang::Object
+{
+
+public:
+ virtual jint getColumnCount() = 0;
+ virtual jboolean isAutoIncrement(jint) = 0;
+ virtual jboolean isCaseSensitive(jint) = 0;
+ virtual jboolean isSearchable(jint) = 0;
+ virtual jboolean isCurrency(jint) = 0;
+ virtual jint isNullable(jint) = 0;
+ virtual jboolean isSigned(jint) = 0;
+ virtual jint getColumnDisplaySize(jint) = 0;
+ virtual ::java::lang::String * getColumnLabel(jint) = 0;
+ virtual ::java::lang::String * getColumnName(jint) = 0;
+ virtual ::java::lang::String * getSchemaName(jint) = 0;
+ virtual jint getPrecision(jint) = 0;
+ virtual jint getScale(jint) = 0;
+ virtual ::java::lang::String * getTableName(jint) = 0;
+ virtual ::java::lang::String * getCatalogName(jint) = 0;
+ virtual jint getColumnType(jint) = 0;
+ virtual ::java::lang::String * getColumnTypeName(jint) = 0;
+ virtual jboolean isReadOnly(jint) = 0;
+ virtual jboolean isWritable(jint) = 0;
+ virtual jboolean isDefinitelyWritable(jint) = 0;
+ virtual ::java::lang::String * getColumnClassName(jint) = 0;
+ static const jint columnNoNulls = 0;
+ static const jint columnNullable = 1;
+ static const jint columnNullableUnknown = 2;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_sql_ResultSetMetaData__
diff --git a/libjava/java/sql/SQLData.h b/libjava/java/sql/SQLData.h
new file mode 100644
index 0000000..d63205a
--- /dev/null
+++ b/libjava/java/sql/SQLData.h
@@ -0,0 +1,33 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_sql_SQLData__
+#define __java_sql_SQLData__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace sql
+ {
+ class SQLData;
+ class SQLInput;
+ class SQLOutput;
+ }
+ }
+}
+
+class java::sql::SQLData : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::lang::String * getSQLTypeName() = 0;
+ virtual void readSQL(::java::sql::SQLInput *, ::java::lang::String *) = 0;
+ virtual void writeSQL(::java::sql::SQLOutput *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_sql_SQLData__
diff --git a/libjava/java/sql/SQLException.h b/libjava/java/sql/SQLException.h
new file mode 100644
index 0000000..3f88d94
--- /dev/null
+++ b/libjava/java/sql/SQLException.h
@@ -0,0 +1,43 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_sql_SQLException__
+#define __java_sql_SQLException__
+
+#pragma interface
+
+#include <java/lang/Exception.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace sql
+ {
+ class SQLException;
+ }
+ }
+}
+
+class java::sql::SQLException : public ::java::lang::Exception
+{
+
+public:
+ SQLException(::java::lang::String *, ::java::lang::String *, jint);
+ SQLException(::java::lang::String *, ::java::lang::String *);
+ SQLException(::java::lang::String *);
+ SQLException();
+ virtual ::java::lang::String * getSQLState();
+ virtual jint getErrorCode();
+ virtual ::java::sql::SQLException * getNextException();
+ virtual void setNextException(::java::sql::SQLException *);
+public: // actually package-private
+ static const jlong serialVersionUID = 2135244094396331484LL;
+private:
+ ::java::sql::SQLException * __attribute__((aligned(__alignof__( ::java::lang::Exception)))) next;
+ ::java::lang::String * SQLState;
+ jint vendorCode;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_sql_SQLException__
diff --git a/libjava/java/sql/SQLInput.h b/libjava/java/sql/SQLInput.h
new file mode 100644
index 0000000..d19ffc0
--- /dev/null
+++ b/libjava/java/sql/SQLInput.h
@@ -0,0 +1,68 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_sql_SQLInput__
+#define __java_sql_SQLInput__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace math
+ {
+ class BigDecimal;
+ }
+ namespace net
+ {
+ class URL;
+ }
+ namespace sql
+ {
+ class Array;
+ class Blob;
+ class Clob;
+ class Date;
+ class Ref;
+ class SQLInput;
+ class Time;
+ class Timestamp;
+ }
+ }
+}
+
+class java::sql::SQLInput : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::lang::String * readString() = 0;
+ virtual jboolean readBoolean() = 0;
+ virtual jbyte readByte() = 0;
+ virtual jshort readShort() = 0;
+ virtual jint readInt() = 0;
+ virtual jlong readLong() = 0;
+ virtual jfloat readFloat() = 0;
+ virtual jdouble readDouble() = 0;
+ virtual ::java::math::BigDecimal * readBigDecimal() = 0;
+ virtual JArray< jbyte > * readBytes() = 0;
+ virtual ::java::sql::Date * readDate() = 0;
+ virtual ::java::sql::Time * readTime() = 0;
+ virtual ::java::sql::Timestamp * readTimestamp() = 0;
+ virtual ::java::io::Reader * readCharacterStream() = 0;
+ virtual ::java::io::InputStream * readAsciiStream() = 0;
+ virtual ::java::io::InputStream * readBinaryStream() = 0;
+ virtual ::java::lang::Object * readObject() = 0;
+ virtual ::java::sql::Ref * readRef() = 0;
+ virtual ::java::sql::Blob * readBlob() = 0;
+ virtual ::java::sql::Clob * readClob() = 0;
+ virtual ::java::sql::Array * readArray() = 0;
+ virtual jboolean wasNull() = 0;
+ virtual ::java::net::URL * readURL() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_sql_SQLInput__
diff --git a/libjava/java/sql/SQLOutput.h b/libjava/java/sql/SQLOutput.h
new file mode 100644
index 0000000..f0be2db
--- /dev/null
+++ b/libjava/java/sql/SQLOutput.h
@@ -0,0 +1,70 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_sql_SQLOutput__
+#define __java_sql_SQLOutput__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace math
+ {
+ class BigDecimal;
+ }
+ namespace net
+ {
+ class URL;
+ }
+ namespace sql
+ {
+ class Array;
+ class Blob;
+ class Clob;
+ class Date;
+ class Ref;
+ class SQLData;
+ class SQLOutput;
+ class Struct;
+ class Time;
+ class Timestamp;
+ }
+ }
+}
+
+class java::sql::SQLOutput : public ::java::lang::Object
+{
+
+public:
+ virtual void writeString(::java::lang::String *) = 0;
+ virtual void writeBoolean(jboolean) = 0;
+ virtual void writeByte(jbyte) = 0;
+ virtual void writeShort(jshort) = 0;
+ virtual void writeInt(jint) = 0;
+ virtual void writeLong(jlong) = 0;
+ virtual void writeFloat(jfloat) = 0;
+ virtual void writeDouble(jdouble) = 0;
+ virtual void writeBigDecimal(::java::math::BigDecimal *) = 0;
+ virtual void writeBytes(JArray< jbyte > *) = 0;
+ virtual void writeDate(::java::sql::Date *) = 0;
+ virtual void writeTime(::java::sql::Time *) = 0;
+ virtual void writeTimestamp(::java::sql::Timestamp *) = 0;
+ virtual void writeCharacterStream(::java::io::Reader *) = 0;
+ virtual void writeAsciiStream(::java::io::InputStream *) = 0;
+ virtual void writeBinaryStream(::java::io::InputStream *) = 0;
+ virtual void writeObject(::java::sql::SQLData *) = 0;
+ virtual void writeRef(::java::sql::Ref *) = 0;
+ virtual void writeBlob(::java::sql::Blob *) = 0;
+ virtual void writeClob(::java::sql::Clob *) = 0;
+ virtual void writeStruct(::java::sql::Struct *) = 0;
+ virtual void writeArray(::java::sql::Array *) = 0;
+ virtual void writeURL(::java::net::URL *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_sql_SQLOutput__
diff --git a/libjava/java/sql/SQLPermission.h b/libjava/java/sql/SQLPermission.h
new file mode 100644
index 0000000..a426f31a0
--- /dev/null
+++ b/libjava/java/sql/SQLPermission.h
@@ -0,0 +1,30 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_sql_SQLPermission__
+#define __java_sql_SQLPermission__
+
+#pragma interface
+
+#include <java/security/BasicPermission.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace sql
+ {
+ class SQLPermission;
+ }
+ }
+}
+
+class java::sql::SQLPermission : public ::java::security::BasicPermission
+{
+
+public:
+ SQLPermission(::java::lang::String *);
+ SQLPermission(::java::lang::String *, ::java::lang::String *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_sql_SQLPermission__
diff --git a/libjava/java/sql/SQLWarning.h b/libjava/java/sql/SQLWarning.h
new file mode 100644
index 0000000..5cb2572
--- /dev/null
+++ b/libjava/java/sql/SQLWarning.h
@@ -0,0 +1,37 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_sql_SQLWarning__
+#define __java_sql_SQLWarning__
+
+#pragma interface
+
+#include <java/sql/SQLException.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace sql
+ {
+ class SQLWarning;
+ }
+ }
+}
+
+class java::sql::SQLWarning : public ::java::sql::SQLException
+{
+
+public:
+ SQLWarning(::java::lang::String *, ::java::lang::String *, jint);
+ SQLWarning(::java::lang::String *, ::java::lang::String *);
+ SQLWarning(::java::lang::String *);
+ SQLWarning();
+ virtual ::java::sql::SQLWarning * getNextWarning();
+ virtual void setNextWarning(::java::sql::SQLWarning *);
+public: // actually package-private
+ static const jlong serialVersionUID = 3917336774604784856LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_sql_SQLWarning__
diff --git a/libjava/java/sql/Savepoint.h b/libjava/java/sql/Savepoint.h
new file mode 100644
index 0000000..d22773c
--- /dev/null
+++ b/libjava/java/sql/Savepoint.h
@@ -0,0 +1,30 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_sql_Savepoint__
+#define __java_sql_Savepoint__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace sql
+ {
+ class Savepoint;
+ }
+ }
+}
+
+class java::sql::Savepoint : public ::java::lang::Object
+{
+
+public:
+ virtual jint getSavepointId() = 0;
+ virtual ::java::lang::String * getSavepointName() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_sql_Savepoint__
diff --git a/libjava/java/sql/Statement.h b/libjava/java/sql/Statement.h
new file mode 100644
index 0000000..b4cba44
--- /dev/null
+++ b/libjava/java/sql/Statement.h
@@ -0,0 +1,77 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_sql_Statement__
+#define __java_sql_Statement__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace sql
+ {
+ class Connection;
+ class ResultSet;
+ class SQLWarning;
+ class Statement;
+ }
+ }
+}
+
+class java::sql::Statement : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::sql::ResultSet * executeQuery(::java::lang::String *) = 0;
+ virtual jint executeUpdate(::java::lang::String *) = 0;
+ virtual void close() = 0;
+ virtual jint getMaxFieldSize() = 0;
+ virtual void setMaxFieldSize(jint) = 0;
+ virtual jint getMaxRows() = 0;
+ virtual void setMaxRows(jint) = 0;
+ virtual void setEscapeProcessing(jboolean) = 0;
+ virtual jint getQueryTimeout() = 0;
+ virtual void setQueryTimeout(jint) = 0;
+ virtual void cancel() = 0;
+ virtual ::java::sql::SQLWarning * getWarnings() = 0;
+ virtual void clearWarnings() = 0;
+ virtual void setCursorName(::java::lang::String *) = 0;
+ virtual jboolean execute(::java::lang::String *) = 0;
+ virtual ::java::sql::ResultSet * getResultSet() = 0;
+ virtual jint getUpdateCount() = 0;
+ virtual jboolean getMoreResults() = 0;
+ virtual void setFetchDirection(jint) = 0;
+ virtual jint getFetchDirection() = 0;
+ virtual void setFetchSize(jint) = 0;
+ virtual jint getFetchSize() = 0;
+ virtual jint getResultSetConcurrency() = 0;
+ virtual jint getResultSetType() = 0;
+ virtual void addBatch(::java::lang::String *) = 0;
+ virtual void clearBatch() = 0;
+ virtual JArray< jint > * executeBatch() = 0;
+ virtual ::java::sql::Connection * getConnection() = 0;
+ virtual jboolean getMoreResults(jint) = 0;
+ virtual ::java::sql::ResultSet * getGeneratedKeys() = 0;
+ virtual jint executeUpdate(::java::lang::String *, jint) = 0;
+ virtual jint executeUpdate(::java::lang::String *, JArray< jint > *) = 0;
+ virtual jint executeUpdate(::java::lang::String *, JArray< ::java::lang::String * > *) = 0;
+ virtual jboolean execute(::java::lang::String *, jint) = 0;
+ virtual jboolean execute(::java::lang::String *, JArray< jint > *) = 0;
+ virtual jboolean execute(::java::lang::String *, JArray< ::java::lang::String * > *) = 0;
+ virtual jint getResultSetHoldability() = 0;
+ static const jint CLOSE_CURRENT_RESULT = 1;
+ static const jint KEEP_CURRENT_RESULT = 2;
+ static const jint CLOSE_ALL_RESULTS = 3;
+ static const jint SUCCESS_NO_INFO = -2;
+ static const jint EXECUTE_FAILED = -3;
+ static const jint RETURN_GENERATED_KEYS = 1;
+ static const jint NO_GENERATED_KEYS = 2;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_sql_Statement__
diff --git a/libjava/java/sql/Struct.h b/libjava/java/sql/Struct.h
new file mode 100644
index 0000000..ff9be27
--- /dev/null
+++ b/libjava/java/sql/Struct.h
@@ -0,0 +1,33 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_sql_Struct__
+#define __java_sql_Struct__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace sql
+ {
+ class Struct;
+ }
+ }
+}
+
+class java::sql::Struct : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::lang::String * getSQLTypeName() = 0;
+ virtual JArray< ::java::lang::Object * > * getAttributes() = 0;
+ virtual JArray< ::java::lang::Object * > * getAttributes(::java::util::Map *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_sql_Struct__
diff --git a/libjava/java/sql/Time.h b/libjava/java/sql/Time.h
new file mode 100644
index 0000000..a9c5d12
--- /dev/null
+++ b/libjava/java/sql/Time.h
@@ -0,0 +1,48 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_sql_Time__
+#define __java_sql_Time__
+
+#pragma interface
+
+#include <java/util/Date.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace sql
+ {
+ class Time;
+ }
+ namespace text
+ {
+ class SimpleDateFormat;
+ }
+ }
+}
+
+class java::sql::Time : public ::java::util::Date
+{
+
+public:
+ virtual jint getDate();
+ virtual jint getDay();
+ virtual jint getMonth();
+ virtual jint getYear();
+ virtual void setDate(jint);
+ virtual void setMonth(jint);
+ virtual void setYear(jint);
+ static ::java::sql::Time * valueOf(::java::lang::String *);
+ Time(jint, jint, jint);
+ Time(jlong);
+ virtual ::java::lang::String * toString();
+public: // actually package-private
+ static const jlong serialVersionUID = 8397324403548013681LL;
+private:
+ static ::java::text::SimpleDateFormat * sdf;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_sql_Time__
diff --git a/libjava/java/sql/Timestamp.h b/libjava/java/sql/Timestamp.h
new file mode 100644
index 0000000..2b27498
--- /dev/null
+++ b/libjava/java/sql/Timestamp.h
@@ -0,0 +1,54 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_sql_Timestamp__
+#define __java_sql_Timestamp__
+
+#pragma interface
+
+#include <java/util/Date.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace sql
+ {
+ class Timestamp;
+ }
+ namespace text
+ {
+ class DecimalFormat;
+ class SimpleDateFormat;
+ }
+ }
+}
+
+class java::sql::Timestamp : public ::java::util::Date
+{
+
+public:
+ static ::java::sql::Timestamp * valueOf(::java::lang::String *);
+ Timestamp(jint, jint, jint, jint, jint, jint, jint);
+ Timestamp(jlong);
+ virtual jlong getTime();
+ virtual ::java::lang::String * toString();
+ virtual jint getNanos();
+ virtual void setNanos(jint);
+ virtual jboolean before(::java::sql::Timestamp *);
+ virtual jboolean after(::java::sql::Timestamp *);
+ virtual jboolean equals(::java::lang::Object *);
+ virtual jboolean equals(::java::sql::Timestamp *);
+ virtual jint compareTo(::java::sql::Timestamp *);
+ virtual jint target$compareTo(::java::util::Date *);
+public: // actually package-private
+ static const jlong serialVersionUID = 2745179027874758501LL;
+private:
+ static ::java::text::SimpleDateFormat * dateFormat;
+ static ::java::text::DecimalFormat * decimalFormat;
+ static ::java::lang::StringBuffer * sbuf;
+ jint __attribute__((aligned(__alignof__( ::java::util::Date)))) nanos;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_sql_Timestamp__
diff --git a/libjava/java/sql/Types.h b/libjava/java/sql/Types.h
new file mode 100644
index 0000000..8f6388f
--- /dev/null
+++ b/libjava/java/sql/Types.h
@@ -0,0 +1,59 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_sql_Types__
+#define __java_sql_Types__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace sql
+ {
+ class Types;
+ }
+ }
+}
+
+class java::sql::Types : public ::java::lang::Object
+{
+
+ Types();
+public:
+ static const jint BIT = -7;
+ static const jint TINYINT = -6;
+ static const jint SMALLINT = 5;
+ static const jint INTEGER = 4;
+ static const jint BIGINT = -5;
+ static const jint FLOAT = 6;
+ static const jint REAL = 7;
+ static const jint DOUBLE = 8;
+ static const jint NUMERIC = 2;
+ static const jint DECIMAL = 3;
+ static const jint CHAR = 1;
+ static const jint VARCHAR = 12;
+ static const jint LONGVARCHAR = -1;
+ static const jint DATE = 91;
+ static const jint TIME = 92;
+ static const jint TIMESTAMP = 93;
+ static const jint BINARY = -2;
+ static const jint VARBINARY = -3;
+ static const jint LONGVARBINARY = -4;
+ static const jint NULL = 0;
+ static const jint OTHER = 1111;
+ static const jint JAVA_OBJECT = 2000;
+ static const jint DISTINCT = 2001;
+ static const jint STRUCT = 2002;
+ static const jint ARRAY = 2003;
+ static const jint BLOB = 2004;
+ static const jint CLOB = 2005;
+ static const jint REF = 2006;
+ static const jint DATALINK = 70;
+ static const jint BOOLEAN = 16;
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_sql_Types__
diff --git a/libjava/java/text/Annotation.h b/libjava/java/text/Annotation.h
new file mode 100644
index 0000000..7170a3f
--- /dev/null
+++ b/libjava/java/text/Annotation.h
@@ -0,0 +1,34 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_text_Annotation__
+#define __java_text_Annotation__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace text
+ {
+ class Annotation;
+ }
+ }
+}
+
+class java::text::Annotation : public ::java::lang::Object
+{
+
+public:
+ Annotation(::java::lang::Object *);
+ virtual ::java::lang::Object * getValue();
+ virtual ::java::lang::String * toString();
+private:
+ ::java::lang::Object * __attribute__((aligned(__alignof__( ::java::lang::Object)))) attrib;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_text_Annotation__
diff --git a/libjava/java/text/AttributedCharacterIterator$Attribute.h b/libjava/java/text/AttributedCharacterIterator$Attribute.h
new file mode 100644
index 0000000..f472240
--- /dev/null
+++ b/libjava/java/text/AttributedCharacterIterator$Attribute.h
@@ -0,0 +1,44 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_text_AttributedCharacterIterator$Attribute__
+#define __java_text_AttributedCharacterIterator$Attribute__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace text
+ {
+ class AttributedCharacterIterator$Attribute;
+ }
+ }
+}
+
+class java::text::AttributedCharacterIterator$Attribute : public ::java::lang::Object
+{
+
+public: // actually protected
+ AttributedCharacterIterator$Attribute(::java::lang::String *);
+ virtual ::java::lang::String * getName();
+ virtual ::java::lang::Object * readResolve();
+public:
+ virtual jboolean equals(::java::lang::Object *);
+ virtual jint hashCode();
+ virtual ::java::lang::String * toString();
+private:
+ static const jlong serialVersionUID = -9142742483513960612LL;
+public:
+ static ::java::text::AttributedCharacterIterator$Attribute * LANGUAGE;
+ static ::java::text::AttributedCharacterIterator$Attribute * READING;
+ static ::java::text::AttributedCharacterIterator$Attribute * INPUT_METHOD_SEGMENT;
+private:
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) name;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_text_AttributedCharacterIterator$Attribute__
diff --git a/libjava/java/text/AttributedCharacterIterator.h b/libjava/java/text/AttributedCharacterIterator.h
new file mode 100644
index 0000000..c5b04f6
--- /dev/null
+++ b/libjava/java/text/AttributedCharacterIterator.h
@@ -0,0 +1,47 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_text_AttributedCharacterIterator__
+#define __java_text_AttributedCharacterIterator__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace text
+ {
+ class AttributedCharacterIterator;
+ class AttributedCharacterIterator$Attribute;
+ }
+ }
+}
+
+class java::text::AttributedCharacterIterator : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::util::Set * getAllAttributeKeys() = 0;
+ virtual ::java::util::Map * getAttributes() = 0;
+ virtual ::java::lang::Object * getAttribute(::java::text::AttributedCharacterIterator$Attribute *) = 0;
+ virtual jint getRunStart() = 0;
+ virtual jint getRunStart(::java::util::Set *) = 0;
+ virtual jint getRunStart(::java::text::AttributedCharacterIterator$Attribute *) = 0;
+ virtual jint getRunLimit() = 0;
+ virtual jint getRunLimit(::java::util::Set *) = 0;
+ virtual jint getRunLimit(::java::text::AttributedCharacterIterator$Attribute *) = 0;
+ virtual jchar current() = 0;
+ virtual jchar next() = 0;
+ virtual jchar previous() = 0;
+ virtual jchar first() = 0;
+ virtual jchar last() = 0;
+ virtual jint getIndex() = 0;
+ virtual jchar setIndex(jint) = 0;
+ virtual jint getBeginIndex() = 0;
+ virtual jint getEndIndex() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_text_AttributedCharacterIterator__
diff --git a/libjava/java/text/AttributedString$AttributeRange.h b/libjava/java/text/AttributedString$AttributeRange.h
new file mode 100644
index 0000000..49e33d1
--- /dev/null
+++ b/libjava/java/text/AttributedString$AttributeRange.h
@@ -0,0 +1,35 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_text_AttributedString$AttributeRange__
+#define __java_text_AttributedString$AttributeRange__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace text
+ {
+ class AttributedString;
+ class AttributedString$AttributeRange;
+ }
+ }
+}
+
+class java::text::AttributedString$AttributeRange : public ::java::lang::Object
+{
+
+public: // actually package-private
+ AttributedString$AttributeRange(::java::text::AttributedString *, ::java::util::Map *, jint, jint);
+ ::java::util::Map * __attribute__((aligned(__alignof__( ::java::lang::Object)))) attribs;
+ jint beginIndex;
+ jint endIndex;
+ ::java::text::AttributedString * this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_text_AttributedString$AttributeRange__
diff --git a/libjava/java/text/AttributedString.h b/libjava/java/text/AttributedString.h
new file mode 100644
index 0000000..51b4c0b
--- /dev/null
+++ b/libjava/java/text/AttributedString.h
@@ -0,0 +1,49 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_text_AttributedString__
+#define __java_text_AttributedString__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace text
+ {
+ class AttributedCharacterIterator;
+ class AttributedCharacterIterator$Attribute;
+ class AttributedString;
+ class AttributedString$AttributeRange;
+ class StringCharacterIterator;
+ }
+ }
+}
+
+class java::text::AttributedString : public ::java::lang::Object
+{
+
+public:
+ AttributedString(::java::lang::String *);
+ AttributedString(::java::lang::String *, ::java::util::Map *);
+ AttributedString(::java::text::AttributedCharacterIterator *);
+ AttributedString(::java::text::AttributedCharacterIterator *, jint, jint);
+ AttributedString(::java::text::AttributedCharacterIterator *, jint, jint, JArray< ::java::text::AttributedCharacterIterator$Attribute * > *);
+ virtual void addAttribute(::java::text::AttributedCharacterIterator$Attribute *, ::java::lang::Object *);
+ virtual void addAttribute(::java::text::AttributedCharacterIterator$Attribute *, ::java::lang::Object *, jint, jint);
+ virtual void addAttributes(::java::util::Map *, jint, jint);
+ virtual ::java::text::AttributedCharacterIterator * getIterator();
+ virtual ::java::text::AttributedCharacterIterator * getIterator(JArray< ::java::text::AttributedCharacterIterator$Attribute * > *);
+ virtual ::java::text::AttributedCharacterIterator * getIterator(JArray< ::java::text::AttributedCharacterIterator$Attribute * > *, jint, jint);
+private:
+ ::java::text::StringCharacterIterator * __attribute__((aligned(__alignof__( ::java::lang::Object)))) sci;
+ JArray< ::java::text::AttributedString$AttributeRange * > * attribs;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_text_AttributedString__
diff --git a/libjava/java/text/AttributedStringIterator.h b/libjava/java/text/AttributedStringIterator.h
new file mode 100644
index 0000000..bc2e77f
--- /dev/null
+++ b/libjava/java/text/AttributedStringIterator.h
@@ -0,0 +1,63 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_text_AttributedStringIterator__
+#define __java_text_AttributedStringIterator__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace text
+ {
+ class AttributedCharacterIterator$Attribute;
+ class AttributedString$AttributeRange;
+ class AttributedStringIterator;
+ class CharacterIterator;
+ class StringCharacterIterator;
+ }
+ }
+}
+
+class java::text::AttributedStringIterator : public ::java::lang::Object
+{
+
+public: // actually package-private
+ AttributedStringIterator(::java::text::StringCharacterIterator *, JArray< ::java::text::AttributedString$AttributeRange * > *, jint, jint, JArray< ::java::text::AttributedCharacterIterator$Attribute * > *);
+public:
+ virtual ::java::lang::Object * clone();
+ virtual jchar current();
+ virtual jchar next();
+ virtual jchar previous();
+ virtual jchar first();
+ virtual jchar last();
+ virtual jint getIndex();
+ virtual jchar setIndex(jint);
+ virtual jint getBeginIndex();
+ virtual jint getEndIndex();
+ virtual ::java::util::Set * getAllAttributeKeys();
+ virtual jint getRunLimit();
+ virtual jint getRunLimit(::java::text::AttributedCharacterIterator$Attribute *);
+ virtual jint getRunLimit(::java::util::Set *);
+ virtual jint getRunStart();
+ virtual jint getRunStart(::java::text::AttributedCharacterIterator$Attribute *);
+ virtual jint getRunStart(::java::util::Set *);
+private:
+ ::java::lang::Object * getAttribute(::java::text::AttributedCharacterIterator$Attribute *, jint);
+public:
+ virtual ::java::lang::Object * getAttribute(::java::text::AttributedCharacterIterator$Attribute *);
+ virtual ::java::util::Map * getAttributes();
+private:
+ ::java::text::CharacterIterator * __attribute__((aligned(__alignof__( ::java::lang::Object)))) ci;
+ JArray< ::java::text::AttributedString$AttributeRange * > * attribs;
+ JArray< ::java::text::AttributedCharacterIterator$Attribute * > * restricts;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_text_AttributedStringIterator__
diff --git a/libjava/java/text/Bidi.h b/libjava/java/text/Bidi.h
new file mode 100644
index 0000000..59b80ed
--- /dev/null
+++ b/libjava/java/text/Bidi.h
@@ -0,0 +1,80 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_text_Bidi__
+#define __java_text_Bidi__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace text
+ {
+ class AttributedCharacterIterator;
+ class Bidi;
+ }
+ }
+}
+
+class java::text::Bidi : public ::java::lang::Object
+{
+
+public:
+ Bidi(::java::text::AttributedCharacterIterator *);
+ Bidi(JArray< jchar > *, jint, JArray< jbyte > *, jint, jint, jint);
+ Bidi(::java::lang::String *, jint);
+private:
+ void computeTypes();
+ jint computeParagraphEmbeddingLevel();
+ void computeExplicitLevels();
+ void computeRuns();
+ void resolveWeakTypes();
+ void resolveNeutralTypes();
+ void resolveImplicitLevels();
+ void reinsertFormattingCodes();
+ void runBidi();
+public:
+ jboolean baseIsLeftToRight();
+ ::java::text::Bidi * createLineBidi(jint, jint);
+ jint getBaseLevel();
+ jint getLength();
+ jint getLevelAt(jint);
+ jint getRunCount();
+ jint getRunLevel(jint);
+ jint getRunLimit(jint);
+ jint getRunStart(jint);
+ jboolean isLeftToRight();
+ jboolean isMixed();
+ jboolean isRightToLeft();
+ ::java::lang::String * toString();
+ static void reorderVisually(JArray< jbyte > *, jint, JArray< ::java::lang::Object * > *, jint, jint);
+ static jboolean requiresBidi(JArray< jchar > *, jint, jint);
+ static const jint DIRECTION_DEFAULT_LEFT_TO_RIGHT = -2;
+ static const jint DIRECTION_DEFAULT_RIGHT_TO_LEFT = -1;
+ static const jint DIRECTION_LEFT_TO_RIGHT = 0;
+ static const jint DIRECTION_RIGHT_TO_LEFT = 1;
+private:
+ static const jint LTOR = 1;
+ static const jint RTOL = 2;
+ JArray< jchar > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) text;
+ jint textOffset;
+ JArray< jbyte > * embeddings;
+ jint embeddingOffset;
+ jint length;
+ jint flags;
+ jint baseEmbedding;
+ JArray< jbyte > * types;
+ JArray< jbyte > * levels;
+ ::java::util::ArrayList * formatterIndices;
+ JArray< jint > * runs;
+ jint resultFlags;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_text_Bidi__
diff --git a/libjava/java/text/BreakIterator.h b/libjava/java/text/BreakIterator.h
new file mode 100644
index 0000000..2c6f90e
--- /dev/null
+++ b/libjava/java/text/BreakIterator.h
@@ -0,0 +1,59 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_text_BreakIterator__
+#define __java_text_BreakIterator__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace text
+ {
+ class BreakIterator;
+ class CharacterIterator;
+ }
+ }
+}
+
+class java::text::BreakIterator : public ::java::lang::Object
+{
+
+public: // actually protected
+ BreakIterator();
+public:
+ virtual ::java::lang::Object * clone();
+ virtual jint current() = 0;
+ virtual jint first() = 0;
+ virtual jint following(jint) = 0;
+ static JArray< ::java::util::Locale * > * getAvailableLocales();
+private:
+ static ::java::text::BreakIterator * getInstance(::java::lang::String *, ::java::util::Locale *);
+public:
+ static ::java::text::BreakIterator * getCharacterInstance();
+ static ::java::text::BreakIterator * getCharacterInstance(::java::util::Locale *);
+ static ::java::text::BreakIterator * getLineInstance();
+ static ::java::text::BreakIterator * getLineInstance(::java::util::Locale *);
+ static ::java::text::BreakIterator * getSentenceInstance();
+ static ::java::text::BreakIterator * getSentenceInstance(::java::util::Locale *);
+ virtual ::java::text::CharacterIterator * getText() = 0;
+ static ::java::text::BreakIterator * getWordInstance();
+ static ::java::text::BreakIterator * getWordInstance(::java::util::Locale *);
+ virtual jboolean isBoundary(jint);
+ virtual jint last() = 0;
+ virtual jint next() = 0;
+ virtual jint next(jint) = 0;
+ virtual jint preceding(jint);
+ virtual jint previous() = 0;
+ virtual void setText(::java::lang::String *);
+ virtual void setText(::java::text::CharacterIterator *) = 0;
+ static const jint DONE = -1;
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_text_BreakIterator__
diff --git a/libjava/java/text/CharacterIterator.h b/libjava/java/text/CharacterIterator.h
new file mode 100644
index 0000000..d13612f
--- /dev/null
+++ b/libjava/java/text/CharacterIterator.h
@@ -0,0 +1,39 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_text_CharacterIterator__
+#define __java_text_CharacterIterator__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace text
+ {
+ class CharacterIterator;
+ }
+ }
+}
+
+class java::text::CharacterIterator : public ::java::lang::Object
+{
+
+public:
+ virtual jchar current() = 0;
+ virtual jchar next() = 0;
+ virtual jchar previous() = 0;
+ virtual jchar first() = 0;
+ virtual jchar last() = 0;
+ virtual jint getIndex() = 0;
+ virtual jchar setIndex(jint) = 0;
+ virtual jint getBeginIndex() = 0;
+ virtual jint getEndIndex() = 0;
+ virtual ::java::lang::Object * clone() = 0;
+ static const jchar DONE = 65535;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_text_CharacterIterator__
diff --git a/libjava/java/text/ChoiceFormat.h b/libjava/java/text/ChoiceFormat.h
new file mode 100644
index 0000000..30aa77a
--- /dev/null
+++ b/libjava/java/text/ChoiceFormat.h
@@ -0,0 +1,57 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_text_ChoiceFormat__
+#define __java_text_ChoiceFormat__
+
+#pragma interface
+
+#include <java/text/NumberFormat.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace text
+ {
+ class ChoiceFormat;
+ class FieldPosition;
+ class ParsePosition;
+ }
+ }
+}
+
+class java::text::ChoiceFormat : public ::java::text::NumberFormat
+{
+
+public:
+ virtual void applyPattern(::java::lang::String *);
+ ChoiceFormat(::java::lang::String *);
+ ChoiceFormat(JArray< jdouble > *, JArray< ::java::lang::String * > *);
+ virtual jboolean equals(::java::lang::Object *);
+ virtual ::java::lang::StringBuffer * format(jlong, ::java::lang::StringBuffer *, ::java::text::FieldPosition *);
+ virtual ::java::lang::StringBuffer * format(jdouble, ::java::lang::StringBuffer *, ::java::text::FieldPosition *);
+ virtual JArray< ::java::lang::Object * > * getFormats();
+ virtual JArray< jdouble > * getLimits();
+ virtual jint hashCode();
+ static jdouble nextDouble(jdouble);
+ static jdouble nextDouble(jdouble, jboolean);
+ virtual ::java::lang::Number * parse(::java::lang::String *, ::java::text::ParsePosition *);
+ static jdouble previousDouble(jdouble);
+ virtual void setChoices(JArray< jdouble > *, JArray< ::java::lang::String * > *);
+private:
+ void quoteString(::java::lang::StringBuffer *, ::java::lang::String *);
+public:
+ virtual ::java::lang::String * toPattern();
+private:
+ JArray< ::java::lang::String * > * __attribute__((aligned(__alignof__( ::java::text::NumberFormat)))) choiceFormats;
+ JArray< jdouble > * choiceLimits;
+ static const jint mantissaBits = 52;
+ static const jint exponentBits = 11;
+ static const jlong serialVersionUID = 1795184449645032964LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_text_ChoiceFormat__
diff --git a/libjava/java/text/CollationElementIterator.h b/libjava/java/text/CollationElementIterator.h
new file mode 100644
index 0000000..19d92b8
--- /dev/null
+++ b/libjava/java/text/CollationElementIterator.h
@@ -0,0 +1,58 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_text_CollationElementIterator__
+#define __java_text_CollationElementIterator__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace text
+ {
+ class CharacterIterator;
+ class CollationElementIterator;
+ class RuleBasedCollator;
+ class RuleBasedCollator$CollationElement;
+ }
+ }
+}
+
+class java::text::CollationElementIterator : public ::java::lang::Object
+{
+
+public: // actually package-private
+ CollationElementIterator(::java::text::RuleBasedCollator *, ::java::lang::String *);
+ ::java::text::RuleBasedCollator$CollationElement * nextBlock();
+ ::java::text::RuleBasedCollator$CollationElement * previousBlock();
+public:
+ jint next();
+ jint previous();
+ static jint primaryOrder(jint);
+ void reset();
+ static jshort secondaryOrder(jint);
+ static jshort tertiaryOrder(jint);
+ void setText(::java::lang::String *);
+ void setText(::java::text::CharacterIterator *);
+ jint getOffset();
+ void setOffset(jint);
+ jint getMaxExpansion(jint);
+ static const jint NULLORDER = -1;
+public: // actually package-private
+ ::java::text::RuleBasedCollator * __attribute__((aligned(__alignof__( ::java::lang::Object)))) collator;
+ ::java::lang::String * text;
+ jint index;
+ jint textIndex;
+private:
+ JArray< ::java::text::RuleBasedCollator$CollationElement * > * text_decomposition;
+ JArray< jint > * text_indexes;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_text_CollationElementIterator__
diff --git a/libjava/java/text/CollationKey.h b/libjava/java/text/CollationKey.h
new file mode 100644
index 0000000..83a6c5a
--- /dev/null
+++ b/libjava/java/text/CollationKey.h
@@ -0,0 +1,44 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_text_CollationKey__
+#define __java_text_CollationKey__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace text
+ {
+ class CollationKey;
+ class Collator;
+ }
+ }
+}
+
+class java::text::CollationKey : public ::java::lang::Object
+{
+
+public: // actually package-private
+ CollationKey(::java::text::Collator *, ::java::lang::String *, JArray< jbyte > *);
+public:
+ virtual jint target$compareTo(::java::text::CollationKey *);
+ virtual jboolean equals(::java::lang::Object *);
+ virtual ::java::lang::String * getSourceString();
+ virtual jint hashCode();
+ virtual JArray< jbyte > * toByteArray();
+ virtual jint compareTo(::java::lang::Object *);
+private:
+ ::java::text::Collator * __attribute__((aligned(__alignof__( ::java::lang::Object)))) collator;
+ ::java::lang::String * originalText;
+ JArray< jbyte > * key;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_text_CollationKey__
diff --git a/libjava/java/text/Collator.h b/libjava/java/text/Collator.h
new file mode 100644
index 0000000..075dcb2
--- /dev/null
+++ b/libjava/java/text/Collator.h
@@ -0,0 +1,61 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_text_Collator__
+#define __java_text_Collator__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace text
+ {
+ class CollationKey;
+ class Collator;
+ }
+ }
+}
+
+class java::text::Collator : public ::java::lang::Object
+{
+
+public: // actually protected
+ Collator();
+public:
+ virtual jint compare(::java::lang::String *, ::java::lang::String *) = 0;
+ virtual jint compare(::java::lang::Object *, ::java::lang::Object *);
+ virtual jboolean equals(::java::lang::Object *);
+ virtual jboolean equals(::java::lang::String *, ::java::lang::String *);
+ virtual ::java::lang::Object * clone();
+ static JArray< ::java::util::Locale * > * getAvailableLocales();
+ virtual ::java::text::CollationKey * getCollationKey(::java::lang::String *) = 0;
+ virtual jint getDecomposition();
+ static ::java::text::Collator * getInstance();
+ static ::java::text::Collator * getInstance(::java::util::Locale *);
+ virtual jint getStrength();
+ virtual jint hashCode() = 0;
+ virtual void setDecomposition(jint);
+ virtual void setStrength(jint);
+public: // actually package-private
+ virtual void decomposeCharacter(jchar, ::java::lang::StringBuffer *);
+public:
+ static const jint PRIMARY = 0;
+ static const jint SECONDARY = 1;
+ static const jint TERTIARY = 2;
+ static const jint IDENTICAL = 3;
+ static const jint NO_DECOMPOSITION = 0;
+ static const jint CANONICAL_DECOMPOSITION = 1;
+ static const jint FULL_DECOMPOSITION = 2;
+public: // actually package-private
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) decmp;
+ jint strength;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_text_Collator__
diff --git a/libjava/java/text/DateFormat$Field.h b/libjava/java/text/DateFormat$Field.h
new file mode 100644
index 0000000..e586d22
--- /dev/null
+++ b/libjava/java/text/DateFormat$Field.h
@@ -0,0 +1,69 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_text_DateFormat$Field__
+#define __java_text_DateFormat$Field__
+
+#pragma interface
+
+#include <java/text/Format$Field.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace text
+ {
+ class DateFormat$Field;
+ }
+ }
+}
+
+class java::text::DateFormat$Field : public ::java::text::Format$Field
+{
+
+ DateFormat$Field();
+public: // actually protected
+ DateFormat$Field(::java::lang::String *, jint);
+public:
+ virtual jint getCalendarField();
+ static ::java::text::DateFormat$Field * ofCalendarField(jint);
+public: // actually protected
+ virtual ::java::lang::Object * readResolve();
+public: // actually package-private
+ static const jlong serialVersionUID = 7441350119349544720LL;
+private:
+ jint __attribute__((aligned(__alignof__( ::java::text::Format$Field)))) calendarField;
+public:
+ static ::java::text::DateFormat$Field * ERA;
+ static ::java::text::DateFormat$Field * YEAR;
+ static ::java::text::DateFormat$Field * MONTH;
+ static ::java::text::DateFormat$Field * DAY_OF_MONTH;
+ static ::java::text::DateFormat$Field * HOUR_OF_DAY1;
+ static ::java::text::DateFormat$Field * HOUR_OF_DAY0;
+ static ::java::text::DateFormat$Field * MINUTE;
+ static ::java::text::DateFormat$Field * SECOND;
+ static ::java::text::DateFormat$Field * MILLISECOND;
+ static ::java::text::DateFormat$Field * DAY_OF_WEEK;
+ static ::java::text::DateFormat$Field * DAY_OF_YEAR;
+ static ::java::text::DateFormat$Field * DAY_OF_WEEK_IN_MONTH;
+ static ::java::text::DateFormat$Field * WEEK_OF_YEAR;
+ static ::java::text::DateFormat$Field * WEEK_OF_MONTH;
+ static ::java::text::DateFormat$Field * AM_PM;
+ static ::java::text::DateFormat$Field * HOUR1;
+ static ::java::text::DateFormat$Field * HOUR0;
+ static ::java::text::DateFormat$Field * TIME_ZONE;
+ static ::java::text::DateFormat$Field * ISO_YEAR;
+ static ::java::text::DateFormat$Field * LOCALIZED_DAY_OF_WEEK;
+ static ::java::text::DateFormat$Field * EXTENDED_YEAR;
+ static ::java::text::DateFormat$Field * MODIFIED_JULIAN_DAY;
+ static ::java::text::DateFormat$Field * MILLISECOND_IN_DAY;
+ static ::java::text::DateFormat$Field * RFC822_TIME_ZONE;
+public: // actually package-private
+ static JArray< ::java::text::DateFormat$Field * > * allFields;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_text_DateFormat$Field__
diff --git a/libjava/java/text/DateFormat.h b/libjava/java/text/DateFormat.h
new file mode 100644
index 0000000..447fef3
--- /dev/null
+++ b/libjava/java/text/DateFormat.h
@@ -0,0 +1,102 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_text_DateFormat__
+#define __java_text_DateFormat__
+
+#pragma interface
+
+#include <java/text/Format.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace text
+ {
+ class DateFormat;
+ class FieldPosition;
+ class NumberFormat;
+ class ParsePosition;
+ }
+ }
+}
+
+class java::text::DateFormat : public ::java::text::Format
+{
+
+public: // actually protected
+ DateFormat();
+public:
+ virtual jboolean equals(::java::lang::Object *);
+ virtual ::java::lang::Object * clone();
+ virtual ::java::lang::StringBuffer * format(::java::lang::Object *, ::java::lang::StringBuffer *, ::java::text::FieldPosition *);
+ virtual ::java::lang::String * format(::java::util::Date *);
+ virtual ::java::lang::StringBuffer * format(::java::util::Date *, ::java::lang::StringBuffer *, ::java::text::FieldPosition *) = 0;
+ static JArray< ::java::util::Locale * > * getAvailableLocales();
+ virtual ::java::util::Calendar * getCalendar();
+private:
+ static ::java::text::DateFormat * computeInstance(jint, ::java::util::Locale *, jboolean, jboolean);
+ static ::java::text::DateFormat * computeInstance(jint, jint, ::java::util::Locale *, jboolean, jboolean);
+public:
+ static ::java::text::DateFormat * getDateInstance();
+ static ::java::text::DateFormat * getDateInstance(jint);
+ static ::java::text::DateFormat * getDateInstance(jint, ::java::util::Locale *);
+ static ::java::text::DateFormat * getDateTimeInstance();
+ static ::java::text::DateFormat * getDateTimeInstance(jint, jint);
+ static ::java::text::DateFormat * getDateTimeInstance(jint, jint, ::java::util::Locale *);
+ static ::java::text::DateFormat * getInstance();
+ virtual ::java::text::NumberFormat * getNumberFormat();
+ static ::java::text::DateFormat * getTimeInstance();
+ static ::java::text::DateFormat * getTimeInstance(jint);
+ static ::java::text::DateFormat * getTimeInstance(jint, ::java::util::Locale *);
+ virtual ::java::util::TimeZone * getTimeZone();
+ virtual jint hashCode();
+ virtual jboolean isLenient();
+ virtual ::java::util::Date * parse(::java::lang::String *);
+ virtual ::java::util::Date * parse(::java::lang::String *, ::java::text::ParsePosition *) = 0;
+ virtual ::java::lang::Object * parseObject(::java::lang::String *, ::java::text::ParsePosition *);
+ virtual void setCalendar(::java::util::Calendar *);
+ virtual void setLenient(jboolean);
+ virtual void setNumberFormat(::java::text::NumberFormat *);
+ virtual void setTimeZone(::java::util::TimeZone *);
+private:
+ static const jlong serialVersionUID = 7218322306649953788LL;
+public: // actually protected
+ ::java::util::Calendar * __attribute__((aligned(__alignof__( ::java::text::Format)))) calendar;
+ ::java::text::NumberFormat * numberFormat;
+public:
+ static const jint FULL = 0;
+ static const jint LONG = 1;
+ static const jint MEDIUM = 2;
+ static const jint SHORT = 3;
+ static const jint DEFAULT = 2;
+ static const jint ERA_FIELD = 0;
+ static const jint YEAR_FIELD = 1;
+ static const jint MONTH_FIELD = 2;
+ static const jint DATE_FIELD = 3;
+ static const jint HOUR_OF_DAY1_FIELD = 4;
+ static const jint HOUR_OF_DAY0_FIELD = 5;
+ static const jint MINUTE_FIELD = 6;
+ static const jint SECOND_FIELD = 7;
+ static const jint MILLISECOND_FIELD = 8;
+ static const jint DAY_OF_WEEK_FIELD = 9;
+ static const jint DAY_OF_YEAR_FIELD = 10;
+ static const jint DAY_OF_WEEK_IN_MONTH_FIELD = 11;
+ static const jint WEEK_OF_YEAR_FIELD = 12;
+ static const jint WEEK_OF_MONTH_FIELD = 13;
+ static const jint AM_PM_FIELD = 14;
+ static const jint HOUR1_FIELD = 15;
+ static const jint HOUR0_FIELD = 16;
+ static const jint TIMEZONE_FIELD = 17;
+ static const jint ISO_YEAR_FIELD = 18;
+ static const jint LOCALIZED_DAY_OF_WEEK_FIELD = 19;
+ static const jint EXTENDED_YEAR_FIELD = 20;
+ static const jint MODIFIED_JULIAN_DAY_FIELD = 21;
+ static const jint MILLISECOND_IN_DAY_FIELD = 22;
+ static const jint RFC822_TIMEZONE_FIELD = 23;
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_text_DateFormat__
diff --git a/libjava/java/text/DateFormatSymbols.h b/libjava/java/text/DateFormatSymbols.h
new file mode 100644
index 0000000..1ef65b7
--- /dev/null
+++ b/libjava/java/text/DateFormatSymbols.h
@@ -0,0 +1,74 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_text_DateFormatSymbols__
+#define __java_text_DateFormatSymbols__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace text
+ {
+ class DateFormatSymbols;
+ }
+ }
+}
+
+class java::text::DateFormatSymbols : public ::java::lang::Object
+{
+
+ JArray< ::java::lang::String * > * formatsForKey(::java::util::ResourceBundle *, ::java::lang::String *);
+public:
+ DateFormatSymbols(::java::util::Locale *);
+ DateFormatSymbols();
+ virtual JArray< ::java::lang::String * > * getAmPmStrings();
+ virtual JArray< ::java::lang::String * > * getEras();
+ virtual ::java::lang::String * getLocalPatternChars();
+ virtual JArray< ::java::lang::String * > * getMonths();
+ virtual JArray< ::java::lang::String * > * getShortMonths();
+ virtual JArray< ::java::lang::String * > * getShortWeekdays();
+ virtual JArray< ::java::lang::String * > * getWeekdays();
+ virtual JArray< JArray< ::java::lang::String * > * > * getZoneStrings();
+ virtual void setAmPmStrings(JArray< ::java::lang::String * > *);
+ virtual void setEras(JArray< ::java::lang::String * > *);
+ virtual void setLocalPatternChars(::java::lang::String *);
+ virtual void setMonths(JArray< ::java::lang::String * > *);
+ virtual void setShortMonths(JArray< ::java::lang::String * > *);
+ virtual void setShortWeekdays(JArray< ::java::lang::String * > *);
+ virtual void setWeekdays(JArray< ::java::lang::String * > *);
+ virtual void setZoneStrings(JArray< JArray< ::java::lang::String * > * > *);
+private:
+ static jboolean equals(::java::lang::Object *, ::java::lang::Object *);
+ static jint hashCode(::java::lang::Object *);
+public:
+ virtual jboolean equals(::java::lang::Object *);
+ virtual ::java::lang::Object * clone();
+ virtual jint hashCode();
+public: // actually package-private
+ JArray< ::java::lang::String * > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) ampms;
+ JArray< ::java::lang::String * > * eras;
+private:
+ ::java::lang::String * localPatternChars;
+public: // actually package-private
+ JArray< ::java::lang::String * > * months;
+ JArray< ::java::lang::String * > * shortMonths;
+ JArray< ::java::lang::String * > * shortWeekdays;
+ JArray< ::java::lang::String * > * weekdays;
+private:
+ JArray< JArray< ::java::lang::String * > * > * zoneStrings;
+ static const jlong serialVersionUID = -5987973545549424702LL;
+ static JArray< ::java::lang::String * > * formatPrefixes;
+public: // actually package-private
+ JArray< ::java::lang::String * > * dateFormats;
+ JArray< ::java::lang::String * > * timeFormats;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_text_DateFormatSymbols__
diff --git a/libjava/java/text/DecimalFormat.h b/libjava/java/text/DecimalFormat.h
new file mode 100644
index 0000000..14cf9d2
--- /dev/null
+++ b/libjava/java/text/DecimalFormat.h
@@ -0,0 +1,120 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_text_DecimalFormat__
+#define __java_text_DecimalFormat__
+
+#pragma interface
+
+#include <java/text/NumberFormat.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace math
+ {
+ class BigDecimal;
+ }
+ namespace text
+ {
+ class AttributedCharacterIterator;
+ class DecimalFormat;
+ class DecimalFormatSymbols;
+ class FieldPosition;
+ class NumberFormat$Field;
+ class ParsePosition;
+ }
+ }
+}
+
+class java::text::DecimalFormat : public ::java::text::NumberFormat
+{
+
+public:
+ DecimalFormat();
+ DecimalFormat(::java::lang::String *);
+ DecimalFormat(::java::lang::String *, ::java::text::DecimalFormatSymbols *);
+ virtual void applyLocalizedPattern(::java::lang::String *);
+ virtual void applyPattern(::java::lang::String *);
+ virtual ::java::lang::Object * clone();
+ virtual jboolean equals(::java::lang::Object *);
+ virtual jint hashCode();
+ virtual ::java::lang::StringBuffer * format(::java::lang::Object *, ::java::lang::StringBuffer *, ::java::text::FieldPosition *);
+ virtual ::java::lang::StringBuffer * format(jdouble, ::java::lang::StringBuffer *, ::java::text::FieldPosition *);
+ virtual ::java::lang::StringBuffer * format(jlong, ::java::lang::StringBuffer *, ::java::text::FieldPosition *);
+ virtual ::java::text::AttributedCharacterIterator * formatToCharacterIterator(::java::lang::Object *);
+ virtual ::java::util::Currency * getCurrency();
+ virtual ::java::text::DecimalFormatSymbols * getDecimalFormatSymbols();
+ virtual jint getGroupingSize();
+ virtual jint getMultiplier();
+ virtual ::java::lang::String * getNegativePrefix();
+ virtual ::java::lang::String * getNegativeSuffix();
+ virtual ::java::lang::String * getPositivePrefix();
+ virtual ::java::lang::String * getPositiveSuffix();
+ virtual jboolean isDecimalSeparatorAlwaysShown();
+ virtual void setParseBigDecimal(jboolean);
+ virtual jboolean isParseBigDecimal();
+ virtual ::java::lang::Number * parse(::java::lang::String *, ::java::text::ParsePosition *);
+ virtual void setCurrency(::java::util::Currency *);
+ virtual void setDecimalFormatSymbols(::java::text::DecimalFormatSymbols *);
+ virtual void setDecimalSeparatorAlwaysShown(jboolean);
+ virtual void setGroupingSize(jint);
+ virtual void setMaximumIntegerDigits(jint);
+ virtual void setMinimumIntegerDigits(jint);
+ virtual void setMaximumFractionDigits(jint);
+ virtual void setMinimumFractionDigits(jint);
+ virtual void setMultiplier(jint);
+ virtual void setNegativePrefix(::java::lang::String *);
+ virtual void setNegativeSuffix(::java::lang::String *);
+ virtual void setPositivePrefix(::java::lang::String *);
+ virtual void setPositiveSuffix(::java::lang::String *);
+ virtual ::java::lang::String * toLocalizedPattern();
+ virtual ::java::lang::String * toPattern();
+private:
+ jboolean equals(::java::lang::String *, ::java::lang::String *);
+ ::java::lang::String * patternChars(::java::text::DecimalFormatSymbols *);
+ ::java::lang::StringBuffer * quoteFix(::java::lang::String *, ::java::lang::String *);
+ ::java::lang::String * computePattern(::java::text::DecimalFormatSymbols *);
+ void applyPatternWithSymbols(::java::lang::String *, ::java::text::DecimalFormatSymbols *);
+ jint scanFix(::java::lang::String *, ::java::text::DecimalFormatSymbols *, jint, jboolean);
+ jint scanNumberInteger(::java::lang::String *, ::java::text::DecimalFormatSymbols *, jint);
+ jint scanFractionalPortion(::java::lang::String *, ::java::text::DecimalFormatSymbols *, jint);
+ jint scanExponent(::java::lang::String *, ::java::text::DecimalFormatSymbols *, jint);
+ void scanNegativePattern(::java::lang::String *, ::java::text::DecimalFormatSymbols *, jint);
+ void formatInternal(::java::math::BigDecimal *, jboolean, ::java::lang::StringBuffer *, ::java::text::FieldPosition *);
+ void handleFractionalPart(::java::lang::StringBuffer *, ::java::lang::String *, ::java::text::FieldPosition *, jboolean);
+ void appendZero(::java::lang::StringBuffer *, jint, jint);
+ void appendDigit(::java::lang::String *, ::java::lang::StringBuffer *, jboolean);
+ jlong getExponent(::java::math::BigDecimal *);
+ ::java::lang::String * adjustTrailingZeros(::java::lang::String *, jint);
+ void addAttribute(::java::text::NumberFormat$Field *, jint, jint);
+ void setDefaultValues();
+ static const jlong serialVersionUID = 864413376551465018LL;
+ static const jint DEFAULT_INTEGER_DIGITS = 309;
+ static const jint DEFAULT_FRACTION_DIGITS = 340;
+ static ::java::text::DecimalFormatSymbols * nonLocalizedSymbols;
+ jboolean __attribute__((aligned(__alignof__( ::java::text::NumberFormat)))) parseBigDecimal;
+ jboolean useCurrencySeparator;
+ jboolean decimalSeparatorAlwaysShown;
+ jboolean showDecimalSeparator;
+ jboolean groupingSeparatorInPattern;
+ jbyte groupingSize;
+ jbyte minExponentDigits;
+ jint exponentRound;
+ jint multiplier;
+ jint negativePatternMultiplier;
+ ::java::lang::String * negativePrefix;
+ ::java::lang::String * negativeSuffix;
+ ::java::lang::String * positivePrefix;
+ ::java::lang::String * positiveSuffix;
+ ::java::text::DecimalFormatSymbols * symbols;
+ jboolean useExponentialNotation;
+ jint maxIntegerDigitsExponent;
+ jboolean hasNegativePrefix;
+ jboolean hasFractionalPattern;
+ ::java::util::ArrayList * attributes;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_text_DecimalFormat__
diff --git a/libjava/java/text/DecimalFormatSymbols.h b/libjava/java/text/DecimalFormatSymbols.h
new file mode 100644
index 0000000..96bd286
--- /dev/null
+++ b/libjava/java/text/DecimalFormatSymbols.h
@@ -0,0 +1,91 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_text_DecimalFormatSymbols__
+#define __java_text_DecimalFormatSymbols__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace text
+ {
+ class DecimalFormatSymbols;
+ }
+ }
+}
+
+class java::text::DecimalFormatSymbols : public ::java::lang::Object
+{
+
+public:
+ ::java::lang::Object * clone();
+ DecimalFormatSymbols();
+private:
+ ::java::lang::String * safeGetString(::java::util::ResourceBundle *, ::java::lang::String *, ::java::lang::String *);
+ jchar safeGetChar(::java::util::ResourceBundle *, ::java::lang::String *, jchar);
+public:
+ DecimalFormatSymbols(::java::util::Locale *);
+ jboolean equals(::java::lang::Object *);
+ ::java::util::Currency * getCurrency();
+ ::java::lang::String * getCurrencySymbol();
+ jchar getDecimalSeparator();
+ jchar getDigit();
+public: // actually package-private
+ jchar getExponential();
+public:
+ jchar getGroupingSeparator();
+ ::java::lang::String * getInfinity();
+ ::java::lang::String * getInternationalCurrencySymbol();
+ jchar getMinusSign();
+ jchar getMonetaryDecimalSeparator();
+ ::java::lang::String * getNaN();
+ jchar getPatternSeparator();
+ jchar getPercent();
+ jchar getPerMill();
+ jchar getZeroDigit();
+ jint hashCode();
+ void setCurrency(::java::util::Currency *);
+ void setCurrencySymbol(::java::lang::String *);
+ void setDecimalSeparator(jchar);
+ void setDigit(jchar);
+public: // actually package-private
+ void setExponential(jchar);
+public:
+ void setGroupingSeparator(jchar);
+ void setInfinity(::java::lang::String *);
+ void setInternationalCurrencySymbol(::java::lang::String *);
+ void setMinusSign(jchar);
+ void setMonetaryDecimalSeparator(jchar);
+ void setNaN(::java::lang::String *);
+ void setPatternSeparator(jchar);
+ void setPercent(jchar);
+ void setPerMill(jchar);
+ void setZeroDigit(jchar);
+private:
+ void readObject(::java::io::ObjectInputStream *);
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) currencySymbol;
+ jchar decimalSeparator;
+ jchar digit;
+ jchar exponential;
+ jchar groupingSeparator;
+ ::java::lang::String * infinity;
+ ::java::lang::String * intlCurrencySymbol;
+ jchar minusSign;
+ jchar monetarySeparator;
+ ::java::lang::String * NaN;
+ jchar patternSeparator;
+ jchar percent;
+ jchar perMill;
+ jint serialVersionOnStream;
+ jchar zeroDigit;
+ ::java::util::Locale * locale;
+ static const jlong serialVersionUID = 5772796243397350300LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_text_DecimalFormatSymbols__
diff --git a/libjava/java/text/FieldPosition.h b/libjava/java/text/FieldPosition.h
new file mode 100644
index 0000000..d61f911
--- /dev/null
+++ b/libjava/java/text/FieldPosition.h
@@ -0,0 +1,47 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_text_FieldPosition__
+#define __java_text_FieldPosition__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace text
+ {
+ class FieldPosition;
+ class Format$Field;
+ }
+ }
+}
+
+class java::text::FieldPosition : public ::java::lang::Object
+{
+
+public:
+ FieldPosition(::java::text::Format$Field *);
+ FieldPosition(::java::text::Format$Field *, jint);
+ FieldPosition(jint);
+ virtual jint getField();
+ virtual ::java::text::Format$Field * getFieldAttribute();
+ virtual jint getBeginIndex();
+ virtual void setBeginIndex(jint);
+ virtual jint getEndIndex();
+ virtual void setEndIndex(jint);
+ virtual jboolean equals(::java::lang::Object *);
+ virtual jint hashCode();
+ virtual ::java::lang::String * toString();
+private:
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) field_id;
+ jint begin;
+ jint end;
+ ::java::text::Format$Field * field_attribute;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_text_FieldPosition__
diff --git a/libjava/java/text/Format$Field.h b/libjava/java/text/Format$Field.h
new file mode 100644
index 0000000..197dd7d
--- /dev/null
+++ b/libjava/java/text/Format$Field.h
@@ -0,0 +1,32 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_text_Format$Field__
+#define __java_text_Format$Field__
+
+#pragma interface
+
+#include <java/text/AttributedCharacterIterator$Attribute.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace text
+ {
+ class Format$Field;
+ }
+ }
+}
+
+class java::text::Format$Field : public ::java::text::AttributedCharacterIterator$Attribute
+{
+
+public: // actually protected
+ Format$Field(::java::lang::String *);
+public: // actually package-private
+ static const jlong serialVersionUID = 276966692217360283LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_text_Format$Field__
diff --git a/libjava/java/text/Format.h b/libjava/java/text/Format.h
new file mode 100644
index 0000000..5813bd0
--- /dev/null
+++ b/libjava/java/text/Format.h
@@ -0,0 +1,41 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_text_Format__
+#define __java_text_Format__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace text
+ {
+ class AttributedCharacterIterator;
+ class FieldPosition;
+ class Format;
+ class ParsePosition;
+ }
+ }
+}
+
+class java::text::Format : public ::java::lang::Object
+{
+
+public:
+ Format();
+ virtual ::java::lang::String * format(::java::lang::Object *);
+ virtual ::java::lang::StringBuffer * format(::java::lang::Object *, ::java::lang::StringBuffer *, ::java::text::FieldPosition *) = 0;
+ virtual ::java::lang::Object * parseObject(::java::lang::String *);
+ virtual ::java::lang::Object * parseObject(::java::lang::String *, ::java::text::ParsePosition *) = 0;
+ virtual ::java::text::AttributedCharacterIterator * formatToCharacterIterator(::java::lang::Object *);
+ virtual ::java::lang::Object * clone();
+public: // actually package-private
+ static const jlong serialVersionUID = -299282585814624189LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_text_Format__
diff --git a/libjava/java/text/MessageFormat$Field.h b/libjava/java/text/MessageFormat$Field.h
new file mode 100644
index 0000000..78a9beb
--- /dev/null
+++ b/libjava/java/text/MessageFormat$Field.h
@@ -0,0 +1,35 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_text_MessageFormat$Field__
+#define __java_text_MessageFormat$Field__
+
+#pragma interface
+
+#include <java/text/Format$Field.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace text
+ {
+ class MessageFormat$Field;
+ }
+ }
+}
+
+class java::text::MessageFormat$Field : public ::java::text::Format$Field
+{
+
+ MessageFormat$Field();
+public: // actually protected
+ MessageFormat$Field(::java::lang::String *);
+ virtual ::java::lang::Object * readResolve();
+public: // actually package-private
+ static const jlong serialVersionUID = 7899943957617360810LL;
+public:
+ static ::java::text::MessageFormat$Field * ARGUMENT;
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_text_MessageFormat$Field__
diff --git a/libjava/java/text/MessageFormat$MessageFormatElement.h b/libjava/java/text/MessageFormat$MessageFormatElement.h
new file mode 100644
index 0000000..9a95f1f
--- /dev/null
+++ b/libjava/java/text/MessageFormat$MessageFormatElement.h
@@ -0,0 +1,40 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_text_MessageFormat$MessageFormatElement__
+#define __java_text_MessageFormat$MessageFormatElement__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace text
+ {
+ class Format;
+ class MessageFormat$MessageFormatElement;
+ }
+ }
+}
+
+class java::text::MessageFormat$MessageFormatElement : public ::java::lang::Object
+{
+
+ MessageFormat$MessageFormatElement();
+public: // actually package-private
+ void setLocale(::java::util::Locale *);
+ MessageFormat$MessageFormatElement(::java::text::MessageFormat$MessageFormatElement *);
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) argNumber;
+ ::java::text::Format * setFormat;
+ ::java::text::Format * format;
+ ::java::lang::Class * formatClass;
+ ::java::lang::String * type;
+ ::java::lang::String * style;
+ ::java::lang::String * trailer;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_text_MessageFormat$MessageFormatElement__
diff --git a/libjava/java/text/MessageFormat.h b/libjava/java/text/MessageFormat.h
new file mode 100644
index 0000000..47d476f
--- /dev/null
+++ b/libjava/java/text/MessageFormat.h
@@ -0,0 +1,83 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_text_MessageFormat__
+#define __java_text_MessageFormat__
+
+#pragma interface
+
+#include <java/text/Format.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace text
+ {
+ class FormatCharacterIterator;
+ }
+ }
+ }
+ namespace java
+ {
+ namespace text
+ {
+ class AttributedCharacterIterator;
+ class FieldPosition;
+ class Format;
+ class MessageFormat;
+ class MessageFormat$MessageFormatElement;
+ class ParsePosition;
+ }
+ }
+}
+
+class java::text::MessageFormat : public ::java::text::Format
+{
+
+ static jint scanString(::java::lang::String *, jint, ::java::lang::StringBuffer *);
+ static jint scanFormatElement(::java::lang::String *, jint, ::java::lang::StringBuffer *, jchar);
+ static jint scanFormat(::java::lang::String *, jint, ::java::lang::StringBuffer *, ::java::util::Vector *, ::java::util::Locale *);
+public:
+ virtual void applyPattern(::java::lang::String *);
+ virtual ::java::lang::Object * clone();
+ virtual jboolean equals(::java::lang::Object *);
+ virtual ::java::text::AttributedCharacterIterator * formatToCharacterIterator(::java::lang::Object *);
+ static ::java::lang::String * format(::java::lang::String *, JArray< ::java::lang::Object * > *);
+ virtual ::java::lang::StringBuffer * format(JArray< ::java::lang::Object * > *, ::java::lang::StringBuffer *, ::java::text::FieldPosition *);
+private:
+ ::java::lang::StringBuffer * formatInternal(JArray< ::java::lang::Object * > *, ::java::lang::StringBuffer *, ::java::text::FieldPosition *, ::gnu::java::text::FormatCharacterIterator *);
+public:
+ virtual ::java::lang::StringBuffer * format(::java::lang::Object *, ::java::lang::StringBuffer *, ::java::text::FieldPosition *);
+ virtual JArray< ::java::text::Format * > * getFormats();
+ virtual ::java::util::Locale * getLocale();
+ virtual jint hashCode();
+private:
+ MessageFormat();
+public:
+ MessageFormat(::java::lang::String *);
+ MessageFormat(::java::lang::String *, ::java::util::Locale *);
+ virtual JArray< ::java::lang::Object * > * parse(::java::lang::String *, ::java::text::ParsePosition *);
+ virtual JArray< ::java::lang::Object * > * parse(::java::lang::String *);
+ virtual ::java::lang::Object * parseObject(::java::lang::String *, ::java::text::ParsePosition *);
+ virtual void setFormat(jint, ::java::text::Format *);
+ virtual void setFormats(JArray< ::java::text::Format * > *);
+ virtual void setLocale(::java::util::Locale *);
+ virtual ::java::lang::String * toPattern();
+ virtual JArray< ::java::text::Format * > * getFormatsByArgumentIndex();
+ virtual void setFormatByArgumentIndex(jint, ::java::text::Format *);
+ virtual void setFormatsByArgumentIndex(JArray< ::java::text::Format * > *);
+private:
+ static const jlong serialVersionUID = 6479157306784022952LL;
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::text::Format)))) pattern;
+ ::java::util::Locale * locale;
+ JArray< ::java::text::MessageFormat$MessageFormatElement * > * elements;
+ ::java::lang::String * leader;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_text_MessageFormat__
diff --git a/libjava/java/text/NumberFormat$Field.h b/libjava/java/text/NumberFormat$Field.h
new file mode 100644
index 0000000..6b72af0
--- /dev/null
+++ b/libjava/java/text/NumberFormat$Field.h
@@ -0,0 +1,50 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_text_NumberFormat$Field__
+#define __java_text_NumberFormat$Field__
+
+#pragma interface
+
+#include <java/text/Format$Field.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace text
+ {
+ class NumberFormat$Field;
+ }
+ }
+}
+
+class java::text::NumberFormat$Field : public ::java::text::Format$Field
+{
+
+ NumberFormat$Field();
+public: // actually protected
+ NumberFormat$Field(::java::lang::String *);
+ virtual ::java::lang::Object * readResolve();
+public: // actually package-private
+ static const jlong serialVersionUID = 7494728892700160890LL;
+public:
+ static ::java::text::NumberFormat$Field * INTEGER;
+ static ::java::text::NumberFormat$Field * FRACTION;
+ static ::java::text::NumberFormat$Field * EXPONENT;
+ static ::java::text::NumberFormat$Field * DECIMAL_SEPARATOR;
+ static ::java::text::NumberFormat$Field * SIGN;
+ static ::java::text::NumberFormat$Field * GROUPING_SEPARATOR;
+ static ::java::text::NumberFormat$Field * EXPONENT_SYMBOL;
+ static ::java::text::NumberFormat$Field * PERCENT;
+ static ::java::text::NumberFormat$Field * PERMILLE;
+ static ::java::text::NumberFormat$Field * CURRENCY;
+ static ::java::text::NumberFormat$Field * EXPONENT_SIGN;
+private:
+ static JArray< ::java::text::NumberFormat$Field * > * allFields;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_text_NumberFormat$Field__
diff --git a/libjava/java/text/NumberFormat.h b/libjava/java/text/NumberFormat.h
new file mode 100644
index 0000000..c800b99
--- /dev/null
+++ b/libjava/java/text/NumberFormat.h
@@ -0,0 +1,100 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_text_NumberFormat__
+#define __java_text_NumberFormat__
+
+#pragma interface
+
+#include <java/text/Format.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace text
+ {
+ class FieldPosition;
+ class NumberFormat;
+ class ParsePosition;
+ }
+ }
+}
+
+class java::text::NumberFormat : public ::java::text::Format
+{
+
+public:
+ virtual ::java::lang::String * format(jlong);
+ virtual ::java::lang::StringBuffer * format(::java::lang::Object *, ::java::lang::StringBuffer *, ::java::text::FieldPosition *);
+ virtual ::java::lang::StringBuffer * format(jdouble, ::java::lang::StringBuffer *, ::java::text::FieldPosition *) = 0;
+ virtual ::java::lang::StringBuffer * format(jlong, ::java::lang::StringBuffer *, ::java::text::FieldPosition *) = 0;
+ virtual jboolean equals(::java::lang::Object *);
+ static JArray< ::java::util::Locale * > * getAvailableLocales();
+private:
+ static ::java::text::NumberFormat * computeInstance(::java::util::Locale *, ::java::lang::String *, ::java::lang::String *);
+public:
+ static ::java::text::NumberFormat * getCurrencyInstance();
+ static ::java::text::NumberFormat * getCurrencyInstance(::java::util::Locale *);
+ static ::java::text::NumberFormat * getInstance();
+ static ::java::text::NumberFormat * getInstance(::java::util::Locale *);
+ virtual jint getMaximumFractionDigits();
+ virtual jint getMaximumIntegerDigits();
+ virtual jint getMinimumFractionDigits();
+ virtual jint getMinimumIntegerDigits();
+ static ::java::text::NumberFormat * getNumberInstance();
+ static ::java::text::NumberFormat * getNumberInstance(::java::util::Locale *);
+ static ::java::text::NumberFormat * getIntegerInstance();
+ static ::java::text::NumberFormat * getIntegerInstance(::java::util::Locale *);
+ static ::java::text::NumberFormat * getPercentInstance();
+ static ::java::text::NumberFormat * getPercentInstance(::java::util::Locale *);
+ virtual jint hashCode();
+ virtual jboolean isGroupingUsed();
+ virtual jboolean isParseIntegerOnly();
+ NumberFormat();
+ virtual ::java::lang::Number * parse(::java::lang::String *, ::java::text::ParsePosition *) = 0;
+ virtual ::java::lang::Number * parse(::java::lang::String *);
+ virtual ::java::lang::Object * parseObject(::java::lang::String *, ::java::text::ParsePosition *);
+ virtual void setGroupingUsed(jboolean);
+ virtual void setMaximumFractionDigits(jint);
+ virtual void setMaximumIntegerDigits(jint);
+ virtual void setMinimumFractionDigits(jint);
+ virtual void setMinimumIntegerDigits(jint);
+ virtual void setParseIntegerOnly(jboolean);
+ virtual ::java::lang::String * format(jdouble);
+private:
+ void readObject(::java::io::ObjectInputStream *);
+ void writeObject(::java::io::ObjectOutputStream *);
+public:
+ virtual ::java::util::Currency * getCurrency();
+ virtual void setCurrency(::java::util::Currency *);
+ static const jint INTEGER_FIELD = 0;
+ static const jint FRACTION_FIELD = 1;
+public: // actually package-private
+ jboolean __attribute__((aligned(__alignof__( ::java::text::Format)))) groupingUsed;
+ jint maximumFractionDigits;
+private:
+ jbyte maxFractionDigits;
+public: // actually package-private
+ jint maximumIntegerDigits;
+private:
+ jbyte maxIntegerDigits;
+public: // actually package-private
+ jint minimumFractionDigits;
+private:
+ jbyte minFractionDigits;
+public: // actually package-private
+ jint minimumIntegerDigits;
+private:
+ jbyte minIntegerDigits;
+public: // actually package-private
+ jboolean parseIntegerOnly;
+private:
+ jint serialVersionOnStream;
+ static const jlong serialVersionUID = -2308460125733713944LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_text_NumberFormat__
diff --git a/libjava/java/text/ParseException.h b/libjava/java/text/ParseException.h
new file mode 100644
index 0000000..e8b314f
--- /dev/null
+++ b/libjava/java/text/ParseException.h
@@ -0,0 +1,34 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_text_ParseException__
+#define __java_text_ParseException__
+
+#pragma interface
+
+#include <java/lang/Exception.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace text
+ {
+ class ParseException;
+ }
+ }
+}
+
+class java::text::ParseException : public ::java::lang::Exception
+{
+
+public:
+ ParseException(::java::lang::String *, jint);
+ virtual jint getErrorOffset();
+private:
+ static const jlong serialVersionUID = 2703218443322787634LL;
+ jint __attribute__((aligned(__alignof__( ::java::lang::Exception)))) errorOffset;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_text_ParseException__
diff --git a/libjava/java/text/ParsePosition.h b/libjava/java/text/ParsePosition.h
new file mode 100644
index 0000000..4f7970c
--- /dev/null
+++ b/libjava/java/text/ParsePosition.h
@@ -0,0 +1,40 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_text_ParsePosition__
+#define __java_text_ParsePosition__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace text
+ {
+ class ParsePosition;
+ }
+ }
+}
+
+class java::text::ParsePosition : public ::java::lang::Object
+{
+
+public:
+ ParsePosition(jint);
+ virtual jint getIndex();
+ virtual void setIndex(jint);
+ virtual jint getErrorIndex();
+ virtual void setErrorIndex(jint);
+ virtual jboolean equals(::java::lang::Object *);
+ virtual jint hashCode();
+ virtual ::java::lang::String * toString();
+private:
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) index;
+ jint error_index;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_text_ParsePosition__
diff --git a/libjava/java/text/RuleBasedCollator$CollationElement.h b/libjava/java/text/RuleBasedCollator$CollationElement.h
new file mode 100644
index 0000000..8baa2a4
--- /dev/null
+++ b/libjava/java/text/RuleBasedCollator$CollationElement.h
@@ -0,0 +1,38 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_text_RuleBasedCollator$CollationElement__
+#define __java_text_RuleBasedCollator$CollationElement__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace text
+ {
+ class RuleBasedCollator$CollationElement;
+ }
+ }
+}
+
+class java::text::RuleBasedCollator$CollationElement : public ::java::lang::Object
+{
+
+public: // actually package-private
+ RuleBasedCollator$CollationElement(::java::lang::String *, jint, jshort, jshort, jshort, ::java::lang::String *, jboolean);
+ jint getValue();
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) key;
+ jint primary;
+ jshort secondary;
+ jshort tertiary;
+ jshort equality;
+ jboolean ignore;
+ ::java::lang::String * expansion;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_text_RuleBasedCollator$CollationElement__
diff --git a/libjava/java/text/RuleBasedCollator$CollationSorter.h b/libjava/java/text/RuleBasedCollator$CollationSorter.h
new file mode 100644
index 0000000..4436ec9
--- /dev/null
+++ b/libjava/java/text/RuleBasedCollator$CollationSorter.h
@@ -0,0 +1,42 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_text_RuleBasedCollator$CollationSorter__
+#define __java_text_RuleBasedCollator$CollationSorter__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace text
+ {
+ class RuleBasedCollator$CollationSorter;
+ }
+ }
+}
+
+class java::text::RuleBasedCollator$CollationSorter : public ::java::lang::Object
+{
+
+public: // actually package-private
+ RuleBasedCollator$CollationSorter();
+ static const jint GREATERP = 0;
+ static const jint GREATERS = 1;
+ static const jint GREATERT = 2;
+ static const jint EQUAL = 3;
+ static const jint RESET = 4;
+ static const jint INVERSE_SECONDARY = 5;
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) comparisonType;
+ ::java::lang::String * textElement;
+ jint hashText;
+ jint offset;
+ jboolean ignore;
+ ::java::lang::String * expansionOrdering;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_text_RuleBasedCollator$CollationSorter__
diff --git a/libjava/java/text/RuleBasedCollator.h b/libjava/java/text/RuleBasedCollator.h
new file mode 100644
index 0000000..06803c8
--- /dev/null
+++ b/libjava/java/text/RuleBasedCollator.h
@@ -0,0 +1,70 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_text_RuleBasedCollator__
+#define __java_text_RuleBasedCollator__
+
+#pragma interface
+
+#include <java/text/Collator.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace text
+ {
+ class CharacterIterator;
+ class CollationElementIterator;
+ class CollationKey;
+ class RuleBasedCollator;
+ class RuleBasedCollator$CollationElement;
+ }
+ }
+}
+
+class java::text::RuleBasedCollator : public ::java::text::Collator
+{
+
+public:
+ RuleBasedCollator(::java::lang::String *);
+public: // actually package-private
+ static jint findPrefixLength(::java::lang::String *, ::java::lang::String *);
+private:
+ void mergeRules(jint, ::java::lang::String *, ::java::util::ArrayList *, ::java::util::ArrayList *);
+ jint subParseString(jboolean, ::java::util::ArrayList *, jint, ::java::lang::String *);
+public:
+ virtual ::java::lang::Object * clone();
+private:
+ ::java::util::ArrayList * parseString(::java::lang::String *);
+ void buildCollationVector(::java::util::ArrayList *);
+ void buildPrefixAccess();
+public:
+ virtual jint compare(::java::lang::String *, ::java::lang::String *);
+ virtual jboolean equals(::java::lang::Object *);
+public: // actually package-private
+ virtual ::java::text::RuleBasedCollator$CollationElement * getDefaultElement(jchar);
+ virtual ::java::text::RuleBasedCollator$CollationElement * getDefaultAccentedElement(jchar);
+public:
+ virtual ::java::text::CollationElementIterator * getCollationElementIterator(::java::lang::String *);
+ virtual ::java::text::CollationElementIterator * getCollationElementIterator(::java::text::CharacterIterator *);
+ virtual ::java::text::CollationKey * getCollationKey(::java::lang::String *);
+ virtual ::java::lang::String * getRules();
+ virtual jint hashCode();
+private:
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::text::Collator)))) rules;
+ JArray< ::java::lang::Object * > * ce_table;
+public: // actually package-private
+ ::java::util::HashMap * prefix_tree;
+private:
+ jint last_primary_value;
+ jint last_tertiary_value;
+ jboolean inverseAccentComparison;
+public: // actually package-private
+ static ::java::text::RuleBasedCollator$CollationElement * SPECIAL_UNKNOWN_SEQ;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_text_RuleBasedCollator__
diff --git a/libjava/java/text/SimpleDateFormat$CompiledField.h b/libjava/java/text/SimpleDateFormat$CompiledField.h
new file mode 100644
index 0000000..b188792
--- /dev/null
+++ b/libjava/java/text/SimpleDateFormat$CompiledField.h
@@ -0,0 +1,42 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_text_SimpleDateFormat$CompiledField__
+#define __java_text_SimpleDateFormat$CompiledField__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace text
+ {
+ class SimpleDateFormat;
+ class SimpleDateFormat$CompiledField;
+ }
+ }
+}
+
+class java::text::SimpleDateFormat$CompiledField : public ::java::lang::Object
+{
+
+public:
+ SimpleDateFormat$CompiledField(::java::text::SimpleDateFormat *, jint, jint, jchar);
+ virtual jint getField();
+ virtual jint getSize();
+ virtual jchar getCharacter();
+ virtual ::java::lang::String * toString();
+public: // actually package-private
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) field;
+ jint size;
+private:
+ jchar character;
+public: // actually package-private
+ ::java::text::SimpleDateFormat * this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_text_SimpleDateFormat$CompiledField__
diff --git a/libjava/java/text/SimpleDateFormat.h b/libjava/java/text/SimpleDateFormat.h
new file mode 100644
index 0000000..a6ffbf5
--- /dev/null
+++ b/libjava/java/text/SimpleDateFormat.h
@@ -0,0 +1,87 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_text_SimpleDateFormat__
+#define __java_text_SimpleDateFormat__
+
+#pragma interface
+
+#include <java/text/DateFormat.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace text
+ {
+ class FormatBuffer;
+ }
+ }
+ }
+ namespace java
+ {
+ namespace text
+ {
+ class AttributedCharacterIterator;
+ class DateFormatSymbols;
+ class FieldPosition;
+ class ParsePosition;
+ class SimpleDateFormat;
+ }
+ }
+}
+
+class java::text::SimpleDateFormat : public ::java::text::DateFormat
+{
+
+ void readObject(::java::io::ObjectInputStream *);
+ void compileFormat(::java::lang::String *);
+public:
+ virtual ::java::lang::String * toString();
+ SimpleDateFormat();
+ SimpleDateFormat(::java::lang::String *);
+ SimpleDateFormat(::java::lang::String *, ::java::util::Locale *);
+ SimpleDateFormat(::java::lang::String *, ::java::text::DateFormatSymbols *);
+ virtual ::java::lang::String * toPattern();
+ virtual ::java::lang::String * toLocalizedPattern();
+ virtual void applyPattern(::java::lang::String *);
+ virtual void applyLocalizedPattern(::java::lang::String *);
+private:
+ ::java::lang::String * translateLocalizedPattern(::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
+public:
+ virtual ::java::util::Date * get2DigitYearStart();
+ virtual void set2DigitYearStart(::java::util::Date *);
+ virtual ::java::text::DateFormatSymbols * getDateFormatSymbols();
+ virtual void setDateFormatSymbols(::java::text::DateFormatSymbols *);
+ virtual jboolean equals(::java::lang::Object *);
+ virtual jint hashCode();
+private:
+ void formatWithAttribute(::java::util::Date *, ::gnu::java::text::FormatBuffer *, ::java::text::FieldPosition *);
+public:
+ virtual ::java::lang::StringBuffer * format(::java::util::Date *, ::java::lang::StringBuffer *, ::java::text::FieldPosition *);
+ virtual ::java::text::AttributedCharacterIterator * formatToCharacterIterator(::java::lang::Object *);
+private:
+ void withLeadingZeros(jint, jint, ::gnu::java::text::FormatBuffer *);
+ jboolean expect(::java::lang::String *, ::java::text::ParsePosition *, jchar);
+public:
+ virtual ::java::util::Date * parse(::java::lang::String *, ::java::text::ParsePosition *);
+private:
+ ::java::lang::Integer * computeOffset(::java::lang::String *, ::java::text::ParsePosition *);
+ void computeCenturyStart();
+public:
+ virtual ::java::lang::Object * clone();
+private:
+ ::java::util::ArrayList * __attribute__((aligned(__alignof__( ::java::text::DateFormat)))) tokens;
+ ::java::text::DateFormatSymbols * formatData;
+ ::java::util::Date * defaultCenturyStart;
+ jint defaultCentury;
+ ::java::lang::String * pattern;
+ jint serialVersionOnStream;
+ static const jlong serialVersionUID = 4774881970558875024LL;
+ static ::java::lang::String * standardChars;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_text_SimpleDateFormat__
diff --git a/libjava/java/text/StringCharacterIterator.h b/libjava/java/text/StringCharacterIterator.h
new file mode 100644
index 0000000..d176963
--- /dev/null
+++ b/libjava/java/text/StringCharacterIterator.h
@@ -0,0 +1,53 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_text_StringCharacterIterator__
+#define __java_text_StringCharacterIterator__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace text
+ {
+ class StringCharacterIterator;
+ }
+ }
+}
+
+class java::text::StringCharacterIterator : public ::java::lang::Object
+{
+
+public:
+ StringCharacterIterator(::java::lang::String *);
+ StringCharacterIterator(::java::lang::String *, jint);
+ StringCharacterIterator(::java::lang::String *, jint, jint, jint);
+public: // actually package-private
+ StringCharacterIterator(::java::text::StringCharacterIterator *, jint, jint);
+public:
+ jchar current();
+ jchar next();
+ jchar previous();
+ jchar first();
+ jchar last();
+ jint getIndex();
+ jchar setIndex(jint);
+ jint getBeginIndex();
+ jint getEndIndex();
+ ::java::lang::Object * clone();
+ jboolean equals(::java::lang::Object *);
+ jint hashCode();
+ void setText(::java::lang::String *);
+private:
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) text;
+ jint begin;
+ jint end;
+ jint index;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_text_StringCharacterIterator__
diff --git a/libjava/java/util/AbstractCollection.h b/libjava/java/util/AbstractCollection.h
new file mode 100644
index 0000000..15d129d
--- /dev/null
+++ b/libjava/java/util/AbstractCollection.h
@@ -0,0 +1,46 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_AbstractCollection__
+#define __java_util_AbstractCollection__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+
+class java::util::AbstractCollection : public ::java::lang::Object
+{
+
+public: // actually protected
+ AbstractCollection();
+public:
+ virtual ::java::util::Iterator * iterator() = 0;
+ virtual jint size() = 0;
+ virtual jboolean add(::java::lang::Object *);
+ virtual jboolean addAll(::java::util::Collection *);
+ virtual void clear();
+ virtual jboolean contains(::java::lang::Object *);
+ virtual jboolean containsAll(::java::util::Collection *);
+ virtual jboolean isEmpty();
+ virtual jboolean remove(::java::lang::Object *);
+ virtual jboolean removeAll(::java::util::Collection *);
+public: // actually package-private
+ virtual jboolean removeAllInternal(::java::util::Collection *);
+public:
+ virtual jboolean retainAll(::java::util::Collection *);
+public: // actually package-private
+ virtual jboolean retainAllInternal(::java::util::Collection *);
+public:
+ virtual JArray< ::java::lang::Object * > * toArray();
+ virtual JArray< ::java::lang::Object * > * toArray(JArray< ::java::lang::Object * > *);
+ virtual ::java::lang::String * toString();
+public: // actually package-private
+ static jboolean equals(::java::lang::Object *, ::java::lang::Object *);
+ static jint hashCode(::java::lang::Object *);
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_AbstractCollection__
diff --git a/libjava/java/util/AbstractList$1.h b/libjava/java/util/AbstractList$1.h
new file mode 100644
index 0000000..996ce73
--- /dev/null
+++ b/libjava/java/util/AbstractList$1.h
@@ -0,0 +1,35 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_AbstractList$1__
+#define __java_util_AbstractList$1__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::AbstractList$1 : public ::java::lang::Object
+{
+
+public: // actually package-private
+ AbstractList$1(::java::util::AbstractList$SubList *, jint);
+public:
+ jboolean hasNext();
+ jboolean hasPrevious();
+ ::java::lang::Object * next();
+ ::java::lang::Object * previous();
+ jint nextIndex();
+ jint previousIndex();
+ void remove();
+ void set(::java::lang::Object *);
+ void add(::java::lang::Object *);
+private:
+ ::java::util::ListIterator * __attribute__((aligned(__alignof__( ::java::lang::Object)))) i;
+ jint position;
+public: // actually package-private
+ ::java::util::AbstractList$SubList * this$1;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_AbstractList$1__
diff --git a/libjava/java/util/AbstractList$2.h b/libjava/java/util/AbstractList$2.h
new file mode 100644
index 0000000..6971dc8
--- /dev/null
+++ b/libjava/java/util/AbstractList$2.h
@@ -0,0 +1,33 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_AbstractList$2__
+#define __java_util_AbstractList$2__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::AbstractList$2 : public ::java::lang::Object
+{
+
+public: // actually package-private
+ AbstractList$2(::java::util::AbstractList *);
+private:
+ void checkMod();
+public:
+ jboolean hasNext();
+ ::java::lang::Object * next();
+ void remove();
+private:
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) pos;
+ jint size;
+ jint last;
+ jint knownMod;
+public: // actually package-private
+ ::java::util::AbstractList * this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_AbstractList$2__
diff --git a/libjava/java/util/AbstractList$3.h b/libjava/java/util/AbstractList$3.h
new file mode 100644
index 0000000..0bf2bda
--- /dev/null
+++ b/libjava/java/util/AbstractList$3.h
@@ -0,0 +1,39 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_AbstractList$3__
+#define __java_util_AbstractList$3__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::AbstractList$3 : public ::java::lang::Object
+{
+
+public: // actually package-private
+ AbstractList$3(::java::util::AbstractList *, jint);
+private:
+ void checkMod();
+public:
+ jboolean hasNext();
+ jboolean hasPrevious();
+ ::java::lang::Object * next();
+ ::java::lang::Object * previous();
+ jint nextIndex();
+ jint previousIndex();
+ void remove();
+ void set(::java::lang::Object *);
+ void add(::java::lang::Object *);
+private:
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) knownMod;
+ jint position;
+ jint lastReturned;
+ jint size;
+public: // actually package-private
+ ::java::util::AbstractList * this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_AbstractList$3__
diff --git a/libjava/java/util/AbstractList$RandomAccessSubList.h b/libjava/java/util/AbstractList$RandomAccessSubList.h
new file mode 100644
index 0000000..49b23bc
--- /dev/null
+++ b/libjava/java/util/AbstractList$RandomAccessSubList.h
@@ -0,0 +1,20 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_AbstractList$RandomAccessSubList__
+#define __java_util_AbstractList$RandomAccessSubList__
+
+#pragma interface
+
+#include <java/util/AbstractList$SubList.h>
+
+class java::util::AbstractList$RandomAccessSubList : public ::java::util::AbstractList$SubList
+{
+
+public: // actually package-private
+ AbstractList$RandomAccessSubList(::java::util::AbstractList *, jint, jint);
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_AbstractList$RandomAccessSubList__
diff --git a/libjava/java/util/AbstractList$SubList.h b/libjava/java/util/AbstractList$SubList.h
new file mode 100644
index 0000000..e258ed4
--- /dev/null
+++ b/libjava/java/util/AbstractList$SubList.h
@@ -0,0 +1,41 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_AbstractList$SubList__
+#define __java_util_AbstractList$SubList__
+
+#pragma interface
+
+#include <java/util/AbstractList.h>
+
+class java::util::AbstractList$SubList : public ::java::util::AbstractList
+{
+
+public: // actually package-private
+ AbstractList$SubList(::java::util::AbstractList *, jint, jint);
+ virtual void checkMod();
+private:
+ void checkBoundsInclusive(jint);
+ void checkBoundsExclusive(jint);
+public:
+ virtual jint size();
+ virtual ::java::lang::Object * set(jint, ::java::lang::Object *);
+ virtual ::java::lang::Object * get(jint);
+ virtual void add(jint, ::java::lang::Object *);
+ virtual ::java::lang::Object * remove(jint);
+public: // actually protected
+ virtual void removeRange(jint, jint);
+public:
+ virtual jboolean addAll(jint, ::java::util::Collection *);
+ virtual jboolean addAll(::java::util::Collection *);
+ virtual ::java::util::Iterator * iterator();
+ virtual ::java::util::ListIterator * listIterator(jint);
+public: // actually package-private
+ ::java::util::AbstractList * __attribute__((aligned(__alignof__( ::java::util::AbstractList)))) backingList;
+ jint offset;
+ jint size__;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_AbstractList$SubList__
diff --git a/libjava/java/util/AbstractList.h b/libjava/java/util/AbstractList.h
new file mode 100644
index 0000000..ace35d6
--- /dev/null
+++ b/libjava/java/util/AbstractList.h
@@ -0,0 +1,41 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_AbstractList__
+#define __java_util_AbstractList__
+
+#pragma interface
+
+#include <java/util/AbstractCollection.h>
+
+class java::util::AbstractList : public ::java::util::AbstractCollection
+{
+
+public: // actually protected
+ AbstractList();
+public:
+ virtual ::java::lang::Object * get(jint) = 0;
+ virtual void add(jint, ::java::lang::Object *);
+ virtual jboolean add(::java::lang::Object *);
+ virtual jboolean addAll(jint, ::java::util::Collection *);
+ virtual void clear();
+ virtual jboolean equals(::java::lang::Object *);
+ virtual jint hashCode();
+ virtual jint indexOf(::java::lang::Object *);
+ virtual ::java::util::Iterator * iterator();
+ virtual jint lastIndexOf(::java::lang::Object *);
+ virtual ::java::util::ListIterator * listIterator();
+ virtual ::java::util::ListIterator * listIterator(jint);
+ virtual ::java::lang::Object * remove(jint);
+public: // actually protected
+ virtual void removeRange(jint, jint);
+public:
+ virtual ::java::lang::Object * set(jint, ::java::lang::Object *);
+ virtual ::java::util::List * subList(jint, jint);
+public: // actually protected
+ jint __attribute__((aligned(__alignof__( ::java::util::AbstractCollection)))) modCount;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_AbstractList__
diff --git a/libjava/java/util/AbstractMap$1.h b/libjava/java/util/AbstractMap$1.h
new file mode 100644
index 0000000..bf27fc1
--- /dev/null
+++ b/libjava/java/util/AbstractMap$1.h
@@ -0,0 +1,27 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_AbstractMap$1__
+#define __java_util_AbstractMap$1__
+
+#pragma interface
+
+#include <java/util/AbstractSet.h>
+
+class java::util::AbstractMap$1 : public ::java::util::AbstractSet
+{
+
+public: // actually package-private
+ AbstractMap$1(::java::util::AbstractMap *);
+public:
+ jint size();
+ jboolean contains(::java::lang::Object *);
+ ::java::util::Iterator * iterator();
+public: // actually package-private
+ static ::java::util::AbstractMap * access$0(::java::util::AbstractMap$1 *);
+ ::java::util::AbstractMap * __attribute__((aligned(__alignof__( ::java::util::AbstractSet)))) this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_AbstractMap$1__
diff --git a/libjava/java/util/AbstractMap$2.h b/libjava/java/util/AbstractMap$2.h
new file mode 100644
index 0000000..048cfa7
--- /dev/null
+++ b/libjava/java/util/AbstractMap$2.h
@@ -0,0 +1,28 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_AbstractMap$2__
+#define __java_util_AbstractMap$2__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::AbstractMap$2 : public ::java::lang::Object
+{
+
+public: // actually package-private
+ AbstractMap$2(::java::util::AbstractMap$1 *);
+public:
+ jboolean hasNext();
+ ::java::lang::Object * next();
+ void remove();
+private:
+ ::java::util::Iterator * __attribute__((aligned(__alignof__( ::java::lang::Object)))) map_iterator;
+public: // actually package-private
+ ::java::util::AbstractMap$1 * this$1;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_AbstractMap$2__
diff --git a/libjava/java/util/AbstractMap$3.h b/libjava/java/util/AbstractMap$3.h
new file mode 100644
index 0000000..5797790
--- /dev/null
+++ b/libjava/java/util/AbstractMap$3.h
@@ -0,0 +1,27 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_AbstractMap$3__
+#define __java_util_AbstractMap$3__
+
+#pragma interface
+
+#include <java/util/AbstractCollection.h>
+
+class java::util::AbstractMap$3 : public ::java::util::AbstractCollection
+{
+
+public: // actually package-private
+ AbstractMap$3(::java::util::AbstractMap *);
+public:
+ jint size();
+ jboolean contains(::java::lang::Object *);
+ ::java::util::Iterator * iterator();
+public: // actually package-private
+ static ::java::util::AbstractMap * access$0(::java::util::AbstractMap$3 *);
+ ::java::util::AbstractMap * __attribute__((aligned(__alignof__( ::java::util::AbstractCollection)))) this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_AbstractMap$3__
diff --git a/libjava/java/util/AbstractMap$4.h b/libjava/java/util/AbstractMap$4.h
new file mode 100644
index 0000000..4bf2886
--- /dev/null
+++ b/libjava/java/util/AbstractMap$4.h
@@ -0,0 +1,28 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_AbstractMap$4__
+#define __java_util_AbstractMap$4__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::AbstractMap$4 : public ::java::lang::Object
+{
+
+public: // actually package-private
+ AbstractMap$4(::java::util::AbstractMap$3 *);
+public:
+ jboolean hasNext();
+ ::java::lang::Object * next();
+ void remove();
+private:
+ ::java::util::Iterator * __attribute__((aligned(__alignof__( ::java::lang::Object)))) map_iterator;
+public: // actually package-private
+ ::java::util::AbstractMap$3 * this$1;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_AbstractMap$4__
diff --git a/libjava/java/util/AbstractMap$SimpleEntry.h b/libjava/java/util/AbstractMap$SimpleEntry.h
new file mode 100644
index 0000000..0cc266d
--- /dev/null
+++ b/libjava/java/util/AbstractMap$SimpleEntry.h
@@ -0,0 +1,30 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_AbstractMap$SimpleEntry__
+#define __java_util_AbstractMap$SimpleEntry__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::AbstractMap$SimpleEntry : public ::java::lang::Object
+{
+
+public:
+ AbstractMap$SimpleEntry(::java::lang::Object *, ::java::lang::Object *);
+ AbstractMap$SimpleEntry(::java::util::Map$Entry *);
+ virtual jboolean equals(::java::lang::Object *);
+ virtual ::java::lang::Object * getKey();
+ virtual ::java::lang::Object * getValue();
+ virtual jint hashCode();
+ virtual ::java::lang::Object * setValue(::java::lang::Object *);
+ virtual ::java::lang::String * toString();
+public: // actually package-private
+ ::java::lang::Object * __attribute__((aligned(__alignof__( ::java::lang::Object)))) key;
+ ::java::lang::Object * value;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_AbstractMap$SimpleEntry__
diff --git a/libjava/java/util/AbstractMap$SimpleImmutableEntry.h b/libjava/java/util/AbstractMap$SimpleImmutableEntry.h
new file mode 100644
index 0000000..540d5f49
--- /dev/null
+++ b/libjava/java/util/AbstractMap$SimpleImmutableEntry.h
@@ -0,0 +1,27 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_AbstractMap$SimpleImmutableEntry__
+#define __java_util_AbstractMap$SimpleImmutableEntry__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::AbstractMap$SimpleImmutableEntry : public ::java::lang::Object
+{
+
+public:
+ AbstractMap$SimpleImmutableEntry(::java::lang::Object *, ::java::lang::Object *);
+ AbstractMap$SimpleImmutableEntry(::java::util::Map$Entry *);
+ virtual ::java::lang::Object * getKey();
+ virtual ::java::lang::Object * getValue();
+ virtual ::java::lang::Object * setValue(::java::lang::Object *);
+public: // actually package-private
+ ::java::lang::Object * __attribute__((aligned(__alignof__( ::java::lang::Object)))) key;
+ ::java::lang::Object * value;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_AbstractMap$SimpleImmutableEntry__
diff --git a/libjava/java/util/AbstractMap.h b/libjava/java/util/AbstractMap.h
new file mode 100644
index 0000000..fba9276
--- /dev/null
+++ b/libjava/java/util/AbstractMap.h
@@ -0,0 +1,47 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_AbstractMap__
+#define __java_util_AbstractMap__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::AbstractMap : public ::java::lang::Object
+{
+
+public: // actually protected
+ AbstractMap();
+public:
+ virtual ::java::util::Set * entrySet() = 0;
+ virtual void clear();
+public: // actually protected
+ virtual ::java::lang::Object * clone();
+public:
+ virtual jboolean containsKey(::java::lang::Object *);
+ virtual jboolean containsValue(::java::lang::Object *);
+ virtual jboolean equals(::java::lang::Object *);
+ virtual ::java::lang::Object * get(::java::lang::Object *);
+ virtual jint hashCode();
+ virtual jboolean isEmpty();
+ virtual ::java::util::Set * keySet();
+ virtual ::java::lang::Object * put(::java::lang::Object *, ::java::lang::Object *);
+ virtual void putAll(::java::util::Map *);
+ virtual ::java::lang::Object * remove(::java::lang::Object *);
+ virtual jint size();
+ virtual ::java::lang::String * toString();
+ virtual ::java::util::Collection * values();
+public: // actually package-private
+ static jboolean equals(::java::lang::Object *, ::java::lang::Object *);
+ static jint hashCode(::java::lang::Object *);
+ static const jint KEYS = 0;
+ static const jint VALUES = 1;
+ static const jint ENTRIES = 2;
+ ::java::util::Set * __attribute__((aligned(__alignof__( ::java::lang::Object)))) keys;
+ ::java::util::Collection * values__;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_AbstractMap__
diff --git a/libjava/java/util/AbstractQueue.h b/libjava/java/util/AbstractQueue.h
new file mode 100644
index 0000000..f194c25
--- /dev/null
+++ b/libjava/java/util/AbstractQueue.h
@@ -0,0 +1,28 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_AbstractQueue__
+#define __java_util_AbstractQueue__
+
+#pragma interface
+
+#include <java/util/AbstractCollection.h>
+
+class java::util::AbstractQueue : public ::java::util::AbstractCollection
+{
+
+public: // actually protected
+ AbstractQueue();
+public:
+ virtual jboolean add(::java::lang::Object *);
+ virtual ::java::lang::Object * remove();
+ virtual ::java::lang::Object * element();
+ virtual void clear();
+ virtual jboolean addAll(::java::util::Collection *);
+ virtual jboolean offer(::java::lang::Object *) = 0;
+ virtual ::java::lang::Object * poll() = 0;
+ virtual ::java::lang::Object * peek() = 0;
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_AbstractQueue__
diff --git a/libjava/java/util/AbstractSequentialList.h b/libjava/java/util/AbstractSequentialList.h
new file mode 100644
index 0000000..7763024
--- /dev/null
+++ b/libjava/java/util/AbstractSequentialList.h
@@ -0,0 +1,27 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_AbstractSequentialList__
+#define __java_util_AbstractSequentialList__
+
+#pragma interface
+
+#include <java/util/AbstractList.h>
+
+class java::util::AbstractSequentialList : public ::java::util::AbstractList
+{
+
+public: // actually protected
+ AbstractSequentialList();
+public:
+ virtual ::java::util::ListIterator * listIterator(jint) = 0;
+ virtual void add(jint, ::java::lang::Object *);
+ virtual jboolean addAll(jint, ::java::util::Collection *);
+ virtual ::java::lang::Object * get(jint);
+ virtual ::java::util::Iterator * iterator();
+ virtual ::java::lang::Object * remove(jint);
+ virtual ::java::lang::Object * set(jint, ::java::lang::Object *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_AbstractSequentialList__
diff --git a/libjava/java/util/AbstractSet.h b/libjava/java/util/AbstractSet.h
new file mode 100644
index 0000000..b3ec399
--- /dev/null
+++ b/libjava/java/util/AbstractSet.h
@@ -0,0 +1,23 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_AbstractSet__
+#define __java_util_AbstractSet__
+
+#pragma interface
+
+#include <java/util/AbstractCollection.h>
+
+class java::util::AbstractSet : public ::java::util::AbstractCollection
+{
+
+public: // actually protected
+ AbstractSet();
+public:
+ virtual jboolean equals(::java::lang::Object *);
+ virtual jint hashCode();
+ virtual jboolean removeAll(::java::util::Collection *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_AbstractSet__
diff --git a/libjava/java/util/ArrayDeque$DeqIterator.h b/libjava/java/util/ArrayDeque$DeqIterator.h
new file mode 100644
index 0000000..bbe30bc
--- /dev/null
+++ b/libjava/java/util/ArrayDeque$DeqIterator.h
@@ -0,0 +1,31 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_ArrayDeque$DeqIterator__
+#define __java_util_ArrayDeque$DeqIterator__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::ArrayDeque$DeqIterator : public ::java::lang::Object
+{
+
+ ArrayDeque$DeqIterator(::java::util::ArrayDeque *);
+public:
+ virtual jboolean hasNext();
+ virtual ::java::lang::Object * next();
+ virtual void remove();
+public: // actually package-private
+ ArrayDeque$DeqIterator(::java::util::ArrayDeque *, ::java::util::ArrayDeque$DeqIterator *);
+private:
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) cursor;
+ jint fence;
+ jint lastRet;
+public: // actually package-private
+ ::java::util::ArrayDeque * this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_ArrayDeque$DeqIterator__
diff --git a/libjava/java/util/ArrayDeque$DescendingIterator.h b/libjava/java/util/ArrayDeque$DescendingIterator.h
new file mode 100644
index 0000000..ee72fd7
--- /dev/null
+++ b/libjava/java/util/ArrayDeque$DescendingIterator.h
@@ -0,0 +1,31 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_ArrayDeque$DescendingIterator__
+#define __java_util_ArrayDeque$DescendingIterator__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::ArrayDeque$DescendingIterator : public ::java::lang::Object
+{
+
+ ArrayDeque$DescendingIterator(::java::util::ArrayDeque *);
+public:
+ virtual jboolean hasNext();
+ virtual ::java::lang::Object * next();
+ virtual void remove();
+public: // actually package-private
+ ArrayDeque$DescendingIterator(::java::util::ArrayDeque *, ::java::util::ArrayDeque$DescendingIterator *);
+private:
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) cursor;
+ jint fence;
+ jint lastRet;
+public: // actually package-private
+ ::java::util::ArrayDeque * this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_ArrayDeque$DescendingIterator__
diff --git a/libjava/java/util/ArrayDeque.h b/libjava/java/util/ArrayDeque.h
new file mode 100644
index 0000000..6154213
--- /dev/null
+++ b/libjava/java/util/ArrayDeque.h
@@ -0,0 +1,81 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_ArrayDeque__
+#define __java_util_ArrayDeque__
+
+#pragma interface
+
+#include <java/util/AbstractCollection.h>
+#include <gcj/array.h>
+
+
+class java::util::ArrayDeque : public ::java::util::AbstractCollection
+{
+
+ void allocateElements(jint);
+ void doubleCapacity();
+ JArray< ::java::lang::Object * > * copyElements(JArray< ::java::lang::Object * > *);
+public:
+ ArrayDeque();
+ ArrayDeque(jint);
+ ArrayDeque(::java::util::Collection *);
+ virtual void addFirst(::java::lang::Object *);
+ virtual void addLast(::java::lang::Object *);
+ virtual jboolean offerFirst(::java::lang::Object *);
+ virtual jboolean offerLast(::java::lang::Object *);
+ virtual ::java::lang::Object * removeFirst();
+ virtual ::java::lang::Object * removeLast();
+ virtual ::java::lang::Object * pollFirst();
+ virtual ::java::lang::Object * pollLast();
+ virtual ::java::lang::Object * getFirst();
+ virtual ::java::lang::Object * getLast();
+ virtual ::java::lang::Object * peekFirst();
+ virtual ::java::lang::Object * peekLast();
+ virtual jboolean removeFirstOccurrence(::java::lang::Object *);
+ virtual jboolean removeLastOccurrence(::java::lang::Object *);
+ virtual jboolean add(::java::lang::Object *);
+ virtual jboolean offer(::java::lang::Object *);
+ virtual ::java::lang::Object * remove();
+ virtual ::java::lang::Object * poll();
+ virtual ::java::lang::Object * element();
+ virtual ::java::lang::Object * peek();
+ virtual void push(::java::lang::Object *);
+ virtual ::java::lang::Object * pop();
+private:
+ void checkInvariants();
+ jboolean delete$(jint);
+public:
+ virtual jint size();
+ virtual jboolean isEmpty();
+ virtual ::java::util::Iterator * iterator();
+ virtual ::java::util::Iterator * descendingIterator();
+ virtual jboolean contains(::java::lang::Object *);
+ virtual jboolean remove(::java::lang::Object *);
+ virtual void clear();
+ virtual JArray< ::java::lang::Object * > * toArray();
+ virtual JArray< ::java::lang::Object * > * toArray(JArray< ::java::lang::Object * > *);
+ virtual ::java::util::ArrayDeque * target$clone();
+private:
+ void writeObject(::java::io::ObjectOutputStream *);
+ void readObject(::java::io::ObjectInputStream *);
+public:
+ virtual ::java::lang::Object * clone();
+public: // actually package-private
+ static jint access$1(::java::util::ArrayDeque *);
+ static jint access$2(::java::util::ArrayDeque *);
+ static JArray< ::java::lang::Object * > * access$3(::java::util::ArrayDeque *);
+ static jboolean access$4(::java::util::ArrayDeque *, jint);
+private:
+ JArray< ::java::lang::Object * > * __attribute__((aligned(__alignof__( ::java::util::AbstractCollection)))) elements;
+ jint head;
+ jint tail;
+ static const jint MIN_INITIAL_CAPACITY = 8;
+ static const jlong serialVersionUID = 2340985798034038923LL;
+public: // actually package-private
+ static jboolean $assertionsDisabled;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_ArrayDeque__
diff --git a/libjava/java/util/ArrayList.h b/libjava/java/util/ArrayList.h
new file mode 100644
index 0000000..755e7c5
--- /dev/null
+++ b/libjava/java/util/ArrayList.h
@@ -0,0 +1,57 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_ArrayList__
+#define __java_util_ArrayList__
+
+#pragma interface
+
+#include <java/util/AbstractList.h>
+#include <gcj/array.h>
+
+
+class java::util::ArrayList : public ::java::util::AbstractList
+{
+
+public:
+ ArrayList(jint);
+ ArrayList();
+ ArrayList(::java::util::Collection *);
+ virtual void trimToSize();
+ virtual void ensureCapacity(jint);
+ virtual jint size();
+ virtual jboolean isEmpty();
+ virtual jboolean contains(::java::lang::Object *);
+ virtual jint indexOf(::java::lang::Object *);
+ virtual jint lastIndexOf(::java::lang::Object *);
+ virtual ::java::lang::Object * clone();
+ virtual JArray< ::java::lang::Object * > * toArray();
+ virtual JArray< ::java::lang::Object * > * toArray(JArray< ::java::lang::Object * > *);
+ virtual ::java::lang::Object * get(jint);
+ virtual ::java::lang::Object * set(jint, ::java::lang::Object *);
+ virtual jboolean add(::java::lang::Object *);
+ virtual void add(jint, ::java::lang::Object *);
+ virtual ::java::lang::Object * remove(jint);
+ virtual void clear();
+ virtual jboolean addAll(::java::util::Collection *);
+ virtual jboolean addAll(jint, ::java::util::Collection *);
+public: // actually protected
+ virtual void removeRange(jint, jint);
+private:
+ void checkBoundInclusive(jint);
+ void checkBoundExclusive(jint);
+public: // actually package-private
+ virtual jboolean removeAllInternal(::java::util::Collection *);
+ virtual jboolean retainAllInternal(::java::util::Collection *);
+private:
+ void writeObject(::java::io::ObjectOutputStream *);
+ void readObject(::java::io::ObjectInputStream *);
+ static const jlong serialVersionUID = 8683452581122892189LL;
+ static const jint DEFAULT_CAPACITY = 10;
+ jint __attribute__((aligned(__alignof__( ::java::util::AbstractList)))) size__;
+ JArray< ::java::lang::Object * > * data;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_ArrayList__
diff --git a/libjava/java/util/Arrays$ArrayList.h b/libjava/java/util/Arrays$ArrayList.h
new file mode 100644
index 0000000..3fe9686
--- /dev/null
+++ b/libjava/java/util/Arrays$ArrayList.h
@@ -0,0 +1,34 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_Arrays$ArrayList__
+#define __java_util_Arrays$ArrayList__
+
+#pragma interface
+
+#include <java/util/AbstractList.h>
+#include <gcj/array.h>
+
+
+class java::util::Arrays$ArrayList : public ::java::util::AbstractList
+{
+
+public: // actually package-private
+ Arrays$ArrayList(JArray< ::java::lang::Object * > *);
+public:
+ ::java::lang::Object * get(jint);
+ jint size();
+ ::java::lang::Object * set(jint, ::java::lang::Object *);
+ jboolean contains(::java::lang::Object *);
+ jint indexOf(::java::lang::Object *);
+ jint lastIndexOf(::java::lang::Object *);
+ JArray< ::java::lang::Object * > * toArray();
+ JArray< ::java::lang::Object * > * toArray(JArray< ::java::lang::Object * > *);
+private:
+ static const jlong serialVersionUID = -2764017481108945198LL;
+ JArray< ::java::lang::Object * > * __attribute__((aligned(__alignof__( ::java::util::AbstractList)))) a;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_Arrays$ArrayList__
diff --git a/libjava/java/util/Arrays.h b/libjava/java/util/Arrays.h
new file mode 100644
index 0000000..6b4941d
--- /dev/null
+++ b/libjava/java/util/Arrays.h
@@ -0,0 +1,144 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_Arrays__
+#define __java_util_Arrays__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+
+class java::util::Arrays : public ::java::lang::Object
+{
+
+ Arrays();
+public:
+ static jint binarySearch(JArray< jbyte > *, jbyte);
+ static jint binarySearch(JArray< jchar > *, jchar);
+ static jint binarySearch(JArray< jshort > *, jshort);
+ static jint binarySearch(JArray< jint > *, jint);
+ static jint binarySearch(JArray< jlong > *, jlong);
+ static jint binarySearch(JArray< jfloat > *, jfloat);
+ static jint binarySearch(JArray< jdouble > *, jdouble);
+ static jint binarySearch(JArray< ::java::lang::Object * > *, ::java::lang::Object *);
+ static jint binarySearch(JArray< ::java::lang::Object * > *, ::java::lang::Object *, ::java::util::Comparator *);
+ static jboolean equals(JArray< jboolean > *, JArray< jboolean > *);
+ static jboolean equals(JArray< jbyte > *, JArray< jbyte > *);
+ static jboolean equals(JArray< jchar > *, JArray< jchar > *);
+ static jboolean equals(JArray< jshort > *, JArray< jshort > *);
+ static jboolean equals(JArray< jint > *, JArray< jint > *);
+ static jboolean equals(JArray< jlong > *, JArray< jlong > *);
+ static jboolean equals(JArray< jfloat > *, JArray< jfloat > *);
+ static jboolean equals(JArray< jdouble > *, JArray< jdouble > *);
+ static jboolean equals(JArray< ::java::lang::Object * > *, JArray< ::java::lang::Object * > *);
+ static void fill(JArray< jboolean > *, jboolean);
+ static void fill(JArray< jboolean > *, jint, jint, jboolean);
+ static void fill(JArray< jbyte > *, jbyte);
+ static void fill(JArray< jbyte > *, jint, jint, jbyte);
+ static void fill(JArray< jchar > *, jchar);
+ static void fill(JArray< jchar > *, jint, jint, jchar);
+ static void fill(JArray< jshort > *, jshort);
+ static void fill(JArray< jshort > *, jint, jint, jshort);
+ static void fill(JArray< jint > *, jint);
+ static void fill(JArray< jint > *, jint, jint, jint);
+ static void fill(JArray< jlong > *, jlong);
+ static void fill(JArray< jlong > *, jint, jint, jlong);
+ static void fill(JArray< jfloat > *, jfloat);
+ static void fill(JArray< jfloat > *, jint, jint, jfloat);
+ static void fill(JArray< jdouble > *, jdouble);
+ static void fill(JArray< jdouble > *, jint, jint, jdouble);
+ static void fill(JArray< ::java::lang::Object * > *, ::java::lang::Object *);
+ static void fill(JArray< ::java::lang::Object * > *, jint, jint, ::java::lang::Object *);
+ static void sort(JArray< jbyte > *);
+ static void sort(JArray< jbyte > *, jint, jint);
+private:
+ static jint med3(jint, jint, jint, JArray< jbyte > *);
+ static void swap(jint, jint, JArray< jbyte > *);
+ static void vecswap(jint, jint, jint, JArray< jbyte > *);
+ static void qsort(JArray< jbyte > *, jint, jint);
+public:
+ static void sort(JArray< jchar > *);
+ static void sort(JArray< jchar > *, jint, jint);
+private:
+ static jint med3(jint, jint, jint, JArray< jchar > *);
+ static void swap(jint, jint, JArray< jchar > *);
+ static void vecswap(jint, jint, jint, JArray< jchar > *);
+ static void qsort(JArray< jchar > *, jint, jint);
+public:
+ static void sort(JArray< jshort > *);
+ static void sort(JArray< jshort > *, jint, jint);
+private:
+ static jint med3(jint, jint, jint, JArray< jshort > *);
+ static void swap(jint, jint, JArray< jshort > *);
+ static void vecswap(jint, jint, jint, JArray< jshort > *);
+ static void qsort(JArray< jshort > *, jint, jint);
+public:
+ static void sort(JArray< jint > *);
+ static void sort(JArray< jint > *, jint, jint);
+private:
+ static jint med3(jint, jint, jint, JArray< jint > *);
+ static void swap(jint, jint, JArray< jint > *);
+ static void vecswap(jint, jint, jint, JArray< jint > *);
+ static jint compare(jint, jint);
+ static void qsort(JArray< jint > *, jint, jint);
+public:
+ static void sort(JArray< jlong > *);
+ static void sort(JArray< jlong > *, jint, jint);
+private:
+ static jint med3(jint, jint, jint, JArray< jlong > *);
+ static void swap(jint, jint, JArray< jlong > *);
+ static void vecswap(jint, jint, jint, JArray< jlong > *);
+ static jint compare(jlong, jlong);
+ static void qsort(JArray< jlong > *, jint, jint);
+public:
+ static void sort(JArray< jfloat > *);
+ static void sort(JArray< jfloat > *, jint, jint);
+private:
+ static jint med3(jint, jint, jint, JArray< jfloat > *);
+ static void swap(jint, jint, JArray< jfloat > *);
+ static void vecswap(jint, jint, jint, JArray< jfloat > *);
+ static void qsort(JArray< jfloat > *, jint, jint);
+public:
+ static void sort(JArray< jdouble > *);
+ static void sort(JArray< jdouble > *, jint, jint);
+private:
+ static jint med3(jint, jint, jint, JArray< jdouble > *);
+ static void swap(jint, jint, JArray< jdouble > *);
+ static void vecswap(jint, jint, jint, JArray< jdouble > *);
+ static void qsort(JArray< jdouble > *, jint, jint);
+public:
+ static void sort(JArray< ::java::lang::Object * > *);
+ static void sort(JArray< ::java::lang::Object * > *, ::java::util::Comparator *);
+ static void sort(JArray< ::java::lang::Object * > *, jint, jint);
+ static void sort(JArray< ::java::lang::Object * > *, jint, jint, ::java::util::Comparator *);
+ static ::java::util::List * asList(JArray< ::java::lang::Object * > *);
+ static jint hashCode(JArray< jlong > *);
+ static jint hashCode(JArray< jint > *);
+ static jint hashCode(JArray< jshort > *);
+ static jint hashCode(JArray< jchar > *);
+ static jint hashCode(JArray< jbyte > *);
+ static jint hashCode(JArray< jboolean > *);
+ static jint hashCode(JArray< jfloat > *);
+ static jint hashCode(JArray< jdouble > *);
+ static jint hashCode(JArray< ::java::lang::Object * > *);
+ static jint deepHashCode(JArray< ::java::lang::Object * > *);
+ static jboolean deepEquals(JArray< ::java::lang::Object * > *, JArray< ::java::lang::Object * > *);
+ static ::java::lang::String * toString(JArray< jboolean > *);
+ static ::java::lang::String * toString(JArray< jbyte > *);
+ static ::java::lang::String * toString(JArray< jchar > *);
+ static ::java::lang::String * toString(JArray< jshort > *);
+ static ::java::lang::String * toString(JArray< jint > *);
+ static ::java::lang::String * toString(JArray< jlong > *);
+ static ::java::lang::String * toString(JArray< jfloat > *);
+ static ::java::lang::String * toString(JArray< jdouble > *);
+ static ::java::lang::String * toString(JArray< ::java::lang::Object * > *);
+private:
+ static void deepToString(JArray< ::java::lang::Object * > *, ::java::lang::StringBuilder *, ::java::util::HashSet *);
+public:
+ static ::java::lang::String * deepToString(JArray< ::java::lang::Object * > *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_Arrays__
diff --git a/libjava/java/util/BitSet.h b/libjava/java/util/BitSet.h
new file mode 100644
index 0000000..1470ca0
--- /dev/null
+++ b/libjava/java/util/BitSet.h
@@ -0,0 +1,57 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_BitSet__
+#define __java_util_BitSet__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+
+class java::util::BitSet : public ::java::lang::Object
+{
+
+public:
+ BitSet();
+ BitSet(jint);
+ virtual void and$(::java::util::BitSet *);
+ virtual void andNot(::java::util::BitSet *);
+ virtual jint cardinality();
+ virtual void clear();
+ virtual void clear(jint);
+ virtual void clear(jint, jint);
+ virtual ::java::lang::Object * clone();
+ virtual jboolean equals(::java::lang::Object *);
+ virtual void flip(jint);
+ virtual void flip(jint, jint);
+ virtual jboolean get(jint);
+ virtual ::java::util::BitSet * get(jint, jint);
+ virtual jint hashCode();
+ virtual jboolean intersects(::java::util::BitSet *);
+ virtual jboolean isEmpty();
+ virtual jint length();
+ virtual jint nextClearBit(jint);
+ virtual jint nextSetBit(jint);
+ virtual void or$(::java::util::BitSet *);
+ virtual void set(jint);
+ virtual void set(jint, jboolean);
+ virtual void set(jint, jint);
+ virtual void set(jint, jint, jboolean);
+ virtual jint size();
+ virtual ::java::lang::String * toString();
+ virtual void xor$(::java::util::BitSet *);
+private:
+ void ensure(jint);
+public: // actually package-private
+ virtual jboolean containsAll(::java::util::BitSet *);
+private:
+ static const jlong serialVersionUID = 7997698588986878753LL;
+ static const jint LONG_MASK = 63;
+ JArray< jlong > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) bits;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_BitSet__
diff --git a/libjava/java/util/Calendar.h b/libjava/java/util/Calendar.h
new file mode 100644
index 0000000..2cc0bef
--- /dev/null
+++ b/libjava/java/util/Calendar.h
@@ -0,0 +1,140 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_Calendar__
+#define __java_util_Calendar__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+
+class java::util::Calendar : public ::java::lang::Object
+{
+
+ static ::java::util::ResourceBundle * getBundle(::java::util::Locale *);
+public: // actually protected
+ Calendar();
+ Calendar(::java::util::TimeZone *, ::java::util::Locale *);
+public:
+ static ::java::util::Calendar * getInstance();
+ static ::java::util::Calendar * getInstance(::java::util::TimeZone *);
+ static ::java::util::Calendar * getInstance(::java::util::Locale *);
+ static ::java::util::Calendar * getInstance(::java::util::TimeZone *, ::java::util::Locale *);
+ static JArray< ::java::util::Locale * > * getAvailableLocales();
+public: // actually protected
+ virtual void computeTime() = 0;
+ virtual void computeFields() = 0;
+public:
+ virtual ::java::util::Date * getTime();
+ virtual void setTime(::java::util::Date *);
+ virtual jlong getTimeInMillis();
+ virtual void setTimeInMillis(jlong);
+ virtual jint get(jint);
+public: // actually protected
+ virtual jint internalGet(jint);
+public:
+ virtual void set(jint, jint);
+ virtual void set(jint, jint, jint);
+ virtual void set(jint, jint, jint, jint, jint);
+ virtual void set(jint, jint, jint, jint, jint, jint);
+ virtual void clear();
+ virtual void clear(jint);
+ virtual jboolean isSet(jint);
+public: // actually protected
+ virtual void complete();
+public:
+ virtual jboolean equals(::java::lang::Object *);
+ virtual jint hashCode();
+ virtual jboolean before(::java::lang::Object *);
+ virtual jboolean after(::java::lang::Object *);
+ virtual void add(jint, jint) = 0;
+ virtual void roll(jint, jboolean) = 0;
+ virtual void roll(jint, jint);
+ virtual void setTimeZone(::java::util::TimeZone *);
+ virtual ::java::util::TimeZone * getTimeZone();
+ virtual void setLenient(jboolean);
+ virtual jboolean isLenient();
+ virtual void setFirstDayOfWeek(jint);
+ virtual jint getFirstDayOfWeek();
+ virtual void setMinimalDaysInFirstWeek(jint);
+ virtual jint getMinimalDaysInFirstWeek();
+ virtual jint getMinimum(jint) = 0;
+ virtual jint getMaximum(jint) = 0;
+ virtual jint getGreatestMinimum(jint) = 0;
+ virtual jint getLeastMaximum(jint) = 0;
+ virtual jint getActualMinimum(jint);
+ virtual jint getActualMaximum(jint);
+ virtual ::java::lang::Object * clone();
+ virtual ::java::lang::String * toString();
+private:
+ void writeObject(::java::io::ObjectOutputStream *);
+ void readObject(::java::io::ObjectInputStream *);
+public:
+ static const jint ERA = 0;
+ static const jint YEAR = 1;
+ static const jint MONTH = 2;
+ static const jint WEEK_OF_YEAR = 3;
+ static const jint WEEK_OF_MONTH = 4;
+ static const jint DATE = 5;
+ static const jint DAY_OF_MONTH = 5;
+ static const jint DAY_OF_YEAR = 6;
+ static const jint DAY_OF_WEEK = 7;
+ static const jint DAY_OF_WEEK_IN_MONTH = 8;
+ static const jint AM_PM = 9;
+ static const jint HOUR = 10;
+ static const jint HOUR_OF_DAY = 11;
+ static const jint MINUTE = 12;
+ static const jint SECOND = 13;
+ static const jint MILLISECOND = 14;
+ static const jint ZONE_OFFSET = 15;
+ static const jint DST_OFFSET = 16;
+ static const jint FIELD_COUNT = 17;
+ static const jint SUNDAY = 1;
+ static const jint MONDAY = 2;
+ static const jint TUESDAY = 3;
+ static const jint WEDNESDAY = 4;
+ static const jint THURSDAY = 5;
+ static const jint FRIDAY = 6;
+ static const jint SATURDAY = 7;
+ static const jint JANUARY = 0;
+ static const jint FEBRUARY = 1;
+ static const jint MARCH = 2;
+ static const jint APRIL = 3;
+ static const jint MAY = 4;
+ static const jint JUNE = 5;
+ static const jint JULY = 6;
+ static const jint AUGUST = 7;
+ static const jint SEPTEMBER = 8;
+ static const jint OCTOBER = 9;
+ static const jint NOVEMBER = 10;
+ static const jint DECEMBER = 11;
+ static const jint UNDECIMBER = 12;
+ static const jint AM = 0;
+ static const jint PM = 1;
+public: // actually protected
+ JArray< jint > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) fields;
+ JArray< jboolean > * isSet__;
+ jlong time;
+ jboolean isTimeSet;
+ jboolean areFieldsSet;
+private:
+ ::java::util::TimeZone * zone;
+ jboolean lenient;
+ jint firstDayOfWeek;
+ jint minimalDaysInFirstWeek;
+ jboolean explicitDSTOffset;
+ jint serialVersionOnStream;
+public: // actually package-private
+ static const jlong serialVersionUID = -1807547505821590642LL;
+private:
+ static ::java::lang::String * bundleName;
+ static ::java::util::HashMap * cache;
+ static JArray< ::java::lang::Class * > * ctorArgTypes;
+ static JArray< ::java::lang::String * > * fieldNames;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_Calendar__
diff --git a/libjava/java/util/Collection.h b/libjava/java/util/Collection.h
new file mode 100644
index 0000000..afeb7ff
--- /dev/null
+++ b/libjava/java/util/Collection.h
@@ -0,0 +1,35 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_Collection__
+#define __java_util_Collection__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+
+class java::util::Collection : public ::java::lang::Object
+{
+
+public:
+ virtual jboolean add(::java::lang::Object *) = 0;
+ virtual jboolean addAll(::java::util::Collection *) = 0;
+ virtual void clear() = 0;
+ virtual jboolean contains(::java::lang::Object *) = 0;
+ virtual jboolean containsAll(::java::util::Collection *) = 0;
+ virtual jboolean equals(::java::lang::Object *) = 0;
+ virtual jint hashCode() = 0;
+ virtual jboolean isEmpty() = 0;
+ virtual ::java::util::Iterator * iterator() = 0;
+ virtual jboolean remove(::java::lang::Object *) = 0;
+ virtual jboolean removeAll(::java::util::Collection *) = 0;
+ virtual jboolean retainAll(::java::util::Collection *) = 0;
+ virtual jint size() = 0;
+ virtual JArray< ::java::lang::Object * > * toArray() = 0;
+ virtual JArray< ::java::lang::Object * > * toArray(JArray< ::java::lang::Object * > *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_util_Collection__
diff --git a/libjava/java/util/Collections$1$SynchronizedMapEntry.h b/libjava/java/util/Collections$1$SynchronizedMapEntry.h
new file mode 100644
index 0000000..7548987
--- /dev/null
+++ b/libjava/java/util/Collections$1$SynchronizedMapEntry.h
@@ -0,0 +1,30 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_Collections$1$SynchronizedMapEntry__
+#define __java_util_Collections$1$SynchronizedMapEntry__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::Collections$1$SynchronizedMapEntry : public ::java::lang::Object
+{
+
+public: // actually package-private
+ Collections$1$SynchronizedMapEntry(::java::util::Collections$SynchronizedMap *, ::java::util::Map$Entry *);
+public:
+ virtual jboolean equals(::java::lang::Object *);
+ virtual ::java::lang::Object * getKey();
+ virtual ::java::lang::Object * getValue();
+ virtual jint hashCode();
+ virtual ::java::lang::Object * setValue(::java::lang::Object *);
+ virtual ::java::lang::String * toString();
+public: // actually package-private
+ ::java::util::Map$Entry * __attribute__((aligned(__alignof__( ::java::lang::Object)))) e;
+ ::java::util::Collections$SynchronizedMap * this$1;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_Collections$1$SynchronizedMapEntry__
diff --git a/libjava/java/util/Collections$1.h b/libjava/java/util/Collections$1.h
new file mode 100644
index 0000000..bd8fda5
--- /dev/null
+++ b/libjava/java/util/Collections$1.h
@@ -0,0 +1,28 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_Collections$1__
+#define __java_util_Collections$1__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::Collections$1 : public ::java::lang::Object
+{
+
+public: // actually package-private
+ Collections$1(::java::util::Collections$SingletonSet *);
+public:
+ jboolean hasNext();
+ ::java::lang::Object * next();
+ void remove();
+private:
+ jboolean __attribute__((aligned(__alignof__( ::java::lang::Object)))) hasNext__;
+public: // actually package-private
+ ::java::util::Collections$SingletonSet * this$1;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_Collections$1__
diff --git a/libjava/java/util/Collections$2.h b/libjava/java/util/Collections$2.h
new file mode 100644
index 0000000..baf1d14
--- /dev/null
+++ b/libjava/java/util/Collections$2.h
@@ -0,0 +1,24 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_Collections$2__
+#define __java_util_Collections$2__
+
+#pragma interface
+
+#include <java/util/AbstractMap$SimpleEntry.h>
+
+class java::util::Collections$2 : public ::java::util::AbstractMap$SimpleEntry
+{
+
+public: // actually package-private
+ Collections$2(::java::util::Collections$SingletonMap *, ::java::lang::Object *, ::java::lang::Object *);
+public:
+ ::java::lang::Object * setValue(::java::lang::Object *);
+public: // actually package-private
+ ::java::util::Collections$SingletonMap * __attribute__((aligned(__alignof__( ::java::util::AbstractMap$SimpleEntry)))) this$1;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_Collections$2__
diff --git a/libjava/java/util/Collections$3.h b/libjava/java/util/Collections$3.h
new file mode 100644
index 0000000..9c0a2bf
--- /dev/null
+++ b/libjava/java/util/Collections$3.h
@@ -0,0 +1,25 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_Collections$3__
+#define __java_util_Collections$3__
+
+#pragma interface
+
+#include <java/util/Collections$SynchronizedSet.h>
+
+class java::util::Collections$3 : public ::java::util::Collections$SynchronizedSet
+{
+
+public: // actually package-private
+ Collections$3(::java::util::Collections$SynchronizedMap *, ::java::lang::Object *, ::java::util::Set *);
+public:
+ ::java::util::Iterator * iterator();
+public: // actually package-private
+ static ::java::util::Collections$SynchronizedMap * access$0(::java::util::Collections$3 *);
+ ::java::util::Collections$SynchronizedMap * __attribute__((aligned(__alignof__( ::java::util::Collections$SynchronizedSet)))) this$1;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_Collections$3__
diff --git a/libjava/java/util/Collections$4.h b/libjava/java/util/Collections$4.h
new file mode 100644
index 0000000..eb7699b
--- /dev/null
+++ b/libjava/java/util/Collections$4.h
@@ -0,0 +1,25 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_Collections$4__
+#define __java_util_Collections$4__
+
+#pragma interface
+
+#include <java/util/Collections$SynchronizedIterator.h>
+
+class java::util::Collections$4 : public ::java::util::Collections$SynchronizedIterator
+{
+
+public: // actually package-private
+ Collections$4(::java::util::Collections$3 *, ::java::lang::Object *, ::java::util::Iterator *);
+public:
+ ::java::util::Map$Entry * target$next();
+ ::java::lang::Object * next();
+public: // actually package-private
+ ::java::util::Collections$3 * __attribute__((aligned(__alignof__( ::java::util::Collections$SynchronizedIterator)))) this$2;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_Collections$4__
diff --git a/libjava/java/util/Collections$5.h b/libjava/java/util/Collections$5.h
new file mode 100644
index 0000000..b57ee4f
--- /dev/null
+++ b/libjava/java/util/Collections$5.h
@@ -0,0 +1,25 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_Collections$5__
+#define __java_util_Collections$5__
+
+#pragma interface
+
+#include <java/util/Collections$UnmodifiableIterator.h>
+
+class java::util::Collections$5 : public ::java::util::Collections$UnmodifiableIterator
+{
+
+public: // actually package-private
+ Collections$5(::java::util::Collections$UnmodifiableMap$UnmodifiableEntrySet *, ::java::util::Iterator *);
+public:
+ ::java::util::Map$Entry * target$next();
+ ::java::lang::Object * next();
+public: // actually package-private
+ ::java::util::Collections$UnmodifiableMap$UnmodifiableEntrySet * __attribute__((aligned(__alignof__( ::java::util::Collections$UnmodifiableIterator)))) this$2;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_Collections$5__
diff --git a/libjava/java/util/Collections$6.h b/libjava/java/util/Collections$6.h
new file mode 100644
index 0000000..ec45029
--- /dev/null
+++ b/libjava/java/util/Collections$6.h
@@ -0,0 +1,25 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_Collections$6__
+#define __java_util_Collections$6__
+
+#pragma interface
+
+#include <java/util/Collections$CheckedIterator.h>
+
+class java::util::Collections$6 : public ::java::util::Collections$CheckedIterator
+{
+
+public: // actually package-private
+ Collections$6(::java::util::Collections$CheckedMap$CheckedEntrySet *, ::java::util::Iterator *, ::java::lang::Class *);
+public:
+ ::java::lang::Object * next();
+public: // actually package-private
+ static ::java::util::Collections$CheckedMap$CheckedEntrySet * access$0(::java::util::Collections$6 *);
+ ::java::util::Collections$CheckedMap$CheckedEntrySet * __attribute__((aligned(__alignof__( ::java::util::Collections$CheckedIterator)))) this$2;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_Collections$6__
diff --git a/libjava/java/util/Collections$7.h b/libjava/java/util/Collections$7.h
new file mode 100644
index 0000000..ba27fbf
--- /dev/null
+++ b/libjava/java/util/Collections$7.h
@@ -0,0 +1,31 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_Collections$7__
+#define __java_util_Collections$7__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::Collections$7 : public ::java::lang::Object
+{
+
+public: // actually package-private
+ Collections$7(::java::util::Collections$6 *, ::java::util::Map$Entry *);
+public:
+ jboolean equals(::java::lang::Object *);
+ ::java::lang::Object * getKey();
+ ::java::lang::Object * getValue();
+ jint hashCode();
+ ::java::lang::Object * setValue(::java::lang::Object *);
+ ::java::lang::String * toString();
+public: // actually package-private
+ ::java::util::Collections$6 * __attribute__((aligned(__alignof__( ::java::lang::Object)))) this$3;
+private:
+ ::java::util::Map$Entry * val$e;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_Collections$7__
diff --git a/libjava/java/util/Collections$8.h b/libjava/java/util/Collections$8.h
new file mode 100644
index 0000000..9662cca
--- /dev/null
+++ b/libjava/java/util/Collections$8.h
@@ -0,0 +1,25 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_Collections$8__
+#define __java_util_Collections$8__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::Collections$8 : public ::java::lang::Object
+{
+
+public: // actually package-private
+ Collections$8(::java::util::Iterator *);
+public:
+ jboolean hasMoreElements();
+ ::java::lang::Object * nextElement();
+private:
+ ::java::util::Iterator * __attribute__((aligned(__alignof__( ::java::lang::Object)))) val$i;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_Collections$8__
diff --git a/libjava/java/util/Collections$9.h b/libjava/java/util/Collections$9.h
new file mode 100644
index 0000000..303ea40
--- /dev/null
+++ b/libjava/java/util/Collections$9.h
@@ -0,0 +1,24 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_Collections$9__
+#define __java_util_Collections$9__
+
+#pragma interface
+
+#include <java/util/Collections$ReverseComparator.h>
+
+class java::util::Collections$9 : public ::java::util::Collections$ReverseComparator
+{
+
+public: // actually package-private
+ Collections$9(::java::util::Comparator *);
+public:
+ jint compare(::java::lang::Object *, ::java::lang::Object *);
+private:
+ ::java::util::Comparator * __attribute__((aligned(__alignof__( ::java::util::Collections$ReverseComparator)))) val$c;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_Collections$9__
diff --git a/libjava/java/util/Collections$CheckedCollection.h b/libjava/java/util/Collections$CheckedCollection.h
new file mode 100644
index 0000000..688439f
--- /dev/null
+++ b/libjava/java/util/Collections$CheckedCollection.h
@@ -0,0 +1,42 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_Collections$CheckedCollection__
+#define __java_util_Collections$CheckedCollection__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+
+class java::util::Collections$CheckedCollection : public ::java::lang::Object
+{
+
+public: // actually package-private
+ Collections$CheckedCollection(::java::util::Collection *, ::java::lang::Class *);
+public:
+ virtual jboolean add(::java::lang::Object *);
+ virtual jboolean addAll(::java::util::Collection *);
+ virtual void clear();
+ virtual jboolean contains(::java::lang::Object *);
+ virtual jboolean containsAll(::java::util::Collection *);
+ virtual jboolean isEmpty();
+ virtual ::java::util::Iterator * iterator();
+ virtual jboolean remove(::java::lang::Object *);
+ virtual jboolean removeAll(::java::util::Collection *);
+ virtual jboolean retainAll(::java::util::Collection *);
+ virtual jint size();
+ virtual JArray< ::java::lang::Object * > * toArray();
+ virtual JArray< ::java::lang::Object * > * toArray(JArray< ::java::lang::Object * > *);
+ virtual ::java::lang::String * toString();
+private:
+ static const jlong serialVersionUID = 1578914078182001775LL;
+public: // actually package-private
+ ::java::util::Collection * __attribute__((aligned(__alignof__( ::java::lang::Object)))) c;
+ ::java::lang::Class * type;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_Collections$CheckedCollection__
diff --git a/libjava/java/util/Collections$CheckedIterator.h b/libjava/java/util/Collections$CheckedIterator.h
new file mode 100644
index 0000000..cce1f0b
--- /dev/null
+++ b/libjava/java/util/Collections$CheckedIterator.h
@@ -0,0 +1,28 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_Collections$CheckedIterator__
+#define __java_util_Collections$CheckedIterator__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::Collections$CheckedIterator : public ::java::lang::Object
+{
+
+public: // actually package-private
+ Collections$CheckedIterator(::java::util::Iterator *, ::java::lang::Class *);
+public:
+ virtual ::java::lang::Object * next();
+ virtual jboolean hasNext();
+ virtual void remove();
+private:
+ ::java::util::Iterator * __attribute__((aligned(__alignof__( ::java::lang::Object)))) i;
+public: // actually package-private
+ ::java::lang::Class * type;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_Collections$CheckedIterator__
diff --git a/libjava/java/util/Collections$CheckedList.h b/libjava/java/util/Collections$CheckedList.h
new file mode 100644
index 0000000..6158bc2
--- /dev/null
+++ b/libjava/java/util/Collections$CheckedList.h
@@ -0,0 +1,37 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_Collections$CheckedList__
+#define __java_util_Collections$CheckedList__
+
+#pragma interface
+
+#include <java/util/Collections$CheckedCollection.h>
+
+class java::util::Collections$CheckedList : public ::java::util::Collections$CheckedCollection
+{
+
+public: // actually package-private
+ Collections$CheckedList(::java::util::List *, ::java::lang::Class *);
+public:
+ virtual void add(jint, ::java::lang::Object *);
+ virtual jboolean addAll(jint, ::java::util::Collection *);
+ virtual jboolean equals(::java::lang::Object *);
+ virtual ::java::lang::Object * get(jint);
+ virtual jint hashCode();
+ virtual jint indexOf(::java::lang::Object *);
+ virtual jint lastIndexOf(::java::lang::Object *);
+ virtual ::java::util::ListIterator * listIterator();
+ virtual ::java::util::ListIterator * listIterator(jint);
+ virtual ::java::lang::Object * remove(jint);
+ virtual ::java::lang::Object * set(jint, ::java::lang::Object *);
+ virtual ::java::util::List * subList(jint, jint);
+private:
+ static const jlong serialVersionUID = 65247728283967356LL;
+public: // actually package-private
+ ::java::util::List * __attribute__((aligned(__alignof__( ::java::util::Collections$CheckedCollection)))) list;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_Collections$CheckedList__
diff --git a/libjava/java/util/Collections$CheckedListIterator.h b/libjava/java/util/Collections$CheckedListIterator.h
new file mode 100644
index 0000000..2c1b9f0
--- /dev/null
+++ b/libjava/java/util/Collections$CheckedListIterator.h
@@ -0,0 +1,29 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_Collections$CheckedListIterator__
+#define __java_util_Collections$CheckedListIterator__
+
+#pragma interface
+
+#include <java/util/Collections$CheckedIterator.h>
+
+class java::util::Collections$CheckedListIterator : public ::java::util::Collections$CheckedIterator
+{
+
+public: // actually package-private
+ Collections$CheckedListIterator(::java::util::ListIterator *, ::java::lang::Class *);
+public:
+ void add(::java::lang::Object *);
+ jboolean hasPrevious();
+ jint nextIndex();
+ ::java::lang::Object * previous();
+ jint previousIndex();
+ void set(::java::lang::Object *);
+private:
+ ::java::util::ListIterator * __attribute__((aligned(__alignof__( ::java::util::Collections$CheckedIterator)))) li;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_Collections$CheckedListIterator__
diff --git a/libjava/java/util/Collections$CheckedMap$CheckedEntrySet.h b/libjava/java/util/Collections$CheckedMap$CheckedEntrySet.h
new file mode 100644
index 0000000..1882b9a
--- /dev/null
+++ b/libjava/java/util/Collections$CheckedMap$CheckedEntrySet.h
@@ -0,0 +1,27 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_Collections$CheckedMap$CheckedEntrySet__
+#define __java_util_Collections$CheckedMap$CheckedEntrySet__
+
+#pragma interface
+
+#include <java/util/Collections$CheckedSet.h>
+
+class java::util::Collections$CheckedMap$CheckedEntrySet : public ::java::util::Collections$CheckedSet
+{
+
+public: // actually package-private
+ Collections$CheckedMap$CheckedEntrySet(::java::util::Set *, ::java::lang::Class *, ::java::lang::Class *, ::java::lang::Class *);
+public:
+ ::java::util::Iterator * iterator();
+public: // actually package-private
+ static ::java::lang::Class * access$0(::java::util::Collections$CheckedMap$CheckedEntrySet *);
+private:
+ ::java::lang::Class * __attribute__((aligned(__alignof__( ::java::util::Collections$CheckedSet)))) keyType;
+ ::java::lang::Class * valueType;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_Collections$CheckedMap$CheckedEntrySet__
diff --git a/libjava/java/util/Collections$CheckedMap.h b/libjava/java/util/Collections$CheckedMap.h
new file mode 100644
index 0000000..e32b255
--- /dev/null
+++ b/libjava/java/util/Collections$CheckedMap.h
@@ -0,0 +1,46 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_Collections$CheckedMap__
+#define __java_util_Collections$CheckedMap__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::Collections$CheckedMap : public ::java::lang::Object
+{
+
+public: // actually package-private
+ Collections$CheckedMap(::java::util::Map *, ::java::lang::Class *, ::java::lang::Class *);
+public:
+ virtual void clear();
+ virtual jboolean containsKey(::java::lang::Object *);
+ virtual jboolean containsValue(::java::lang::Object *);
+ virtual ::java::util::Set * entrySet();
+ virtual jboolean equals(::java::lang::Object *);
+ virtual ::java::lang::Object * get(::java::lang::Object *);
+ virtual ::java::lang::Object * put(::java::lang::Object *, ::java::lang::Object *);
+ virtual jint hashCode();
+ virtual jboolean isEmpty();
+ virtual ::java::util::Set * keySet();
+ virtual void putAll(::java::util::Map *);
+ virtual ::java::lang::Object * remove(::java::lang::Object *);
+ virtual jint size();
+ virtual ::java::lang::String * toString();
+ virtual ::java::util::Collection * values();
+private:
+ static const jlong serialVersionUID = 5742860141034234728LL;
+ ::java::util::Map * __attribute__((aligned(__alignof__( ::java::lang::Object)))) m;
+public: // actually package-private
+ ::java::lang::Class * keyType;
+ ::java::lang::Class * valueType;
+private:
+ ::java::util::Set * entries;
+ ::java::util::Set * keys;
+ ::java::util::Collection * values__;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_Collections$CheckedMap__
diff --git a/libjava/java/util/Collections$CheckedRandomAccessList.h b/libjava/java/util/Collections$CheckedRandomAccessList.h
new file mode 100644
index 0000000..4fad9a7
--- /dev/null
+++ b/libjava/java/util/Collections$CheckedRandomAccessList.h
@@ -0,0 +1,22 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_Collections$CheckedRandomAccessList__
+#define __java_util_Collections$CheckedRandomAccessList__
+
+#pragma interface
+
+#include <java/util/Collections$CheckedList.h>
+
+class java::util::Collections$CheckedRandomAccessList : public ::java::util::Collections$CheckedList
+{
+
+public: // actually package-private
+ Collections$CheckedRandomAccessList(::java::util::List *, ::java::lang::Class *);
+private:
+ static const jlong serialVersionUID = 1638200125423088369LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_Collections$CheckedRandomAccessList__
diff --git a/libjava/java/util/Collections$CheckedSet.h b/libjava/java/util/Collections$CheckedSet.h
new file mode 100644
index 0000000..e58a98d
--- /dev/null
+++ b/libjava/java/util/Collections$CheckedSet.h
@@ -0,0 +1,25 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_Collections$CheckedSet__
+#define __java_util_Collections$CheckedSet__
+
+#pragma interface
+
+#include <java/util/Collections$CheckedCollection.h>
+
+class java::util::Collections$CheckedSet : public ::java::util::Collections$CheckedCollection
+{
+
+public: // actually package-private
+ Collections$CheckedSet(::java::util::Set *, ::java::lang::Class *);
+public:
+ virtual jboolean equals(::java::lang::Object *);
+ virtual jint hashCode();
+private:
+ static const jlong serialVersionUID = 4694047833775013803LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_Collections$CheckedSet__
diff --git a/libjava/java/util/Collections$CheckedSortedMap.h b/libjava/java/util/Collections$CheckedSortedMap.h
new file mode 100644
index 0000000..54d8305
--- /dev/null
+++ b/libjava/java/util/Collections$CheckedSortedMap.h
@@ -0,0 +1,30 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_Collections$CheckedSortedMap__
+#define __java_util_Collections$CheckedSortedMap__
+
+#pragma interface
+
+#include <java/util/Collections$CheckedMap.h>
+
+class java::util::Collections$CheckedSortedMap : public ::java::util::Collections$CheckedMap
+{
+
+public: // actually package-private
+ Collections$CheckedSortedMap(::java::util::SortedMap *, ::java::lang::Class *, ::java::lang::Class *);
+public:
+ virtual ::java::util::Comparator * comparator();
+ virtual ::java::lang::Object * firstKey();
+ virtual ::java::util::SortedMap * headMap(::java::lang::Object *);
+ virtual ::java::lang::Object * lastKey();
+ virtual ::java::util::SortedMap * subMap(::java::lang::Object *, ::java::lang::Object *);
+ virtual ::java::util::SortedMap * tailMap(::java::lang::Object *);
+private:
+ static const jlong serialVersionUID = 1599671320688067438LL;
+ ::java::util::SortedMap * __attribute__((aligned(__alignof__( ::java::util::Collections$CheckedMap)))) sm;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_Collections$CheckedSortedMap__
diff --git a/libjava/java/util/Collections$CheckedSortedSet.h b/libjava/java/util/Collections$CheckedSortedSet.h
new file mode 100644
index 0000000..f658175
--- /dev/null
+++ b/libjava/java/util/Collections$CheckedSortedSet.h
@@ -0,0 +1,30 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_Collections$CheckedSortedSet__
+#define __java_util_Collections$CheckedSortedSet__
+
+#pragma interface
+
+#include <java/util/Collections$CheckedSet.h>
+
+class java::util::Collections$CheckedSortedSet : public ::java::util::Collections$CheckedSet
+{
+
+public: // actually package-private
+ Collections$CheckedSortedSet(::java::util::SortedSet *, ::java::lang::Class *);
+public:
+ virtual ::java::util::Comparator * comparator();
+ virtual ::java::lang::Object * first();
+ virtual ::java::util::SortedSet * headSet(::java::lang::Object *);
+ virtual ::java::lang::Object * last();
+ virtual ::java::util::SortedSet * subSet(::java::lang::Object *, ::java::lang::Object *);
+ virtual ::java::util::SortedSet * tailSet(::java::lang::Object *);
+private:
+ static const jlong serialVersionUID = 1599911165492914959LL;
+ ::java::util::SortedSet * __attribute__((aligned(__alignof__( ::java::util::Collections$CheckedSet)))) ss;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_Collections$CheckedSortedSet__
diff --git a/libjava/java/util/Collections$CopiesList.h b/libjava/java/util/Collections$CopiesList.h
new file mode 100644
index 0000000..3ff503d
--- /dev/null
+++ b/libjava/java/util/Collections$CopiesList.h
@@ -0,0 +1,35 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_Collections$CopiesList__
+#define __java_util_Collections$CopiesList__
+
+#pragma interface
+
+#include <java/util/AbstractList.h>
+#include <gcj/array.h>
+
+
+class java::util::Collections$CopiesList : public ::java::util::AbstractList
+{
+
+public: // actually package-private
+ Collections$CopiesList(jint, ::java::lang::Object *);
+public:
+ jint size();
+ ::java::lang::Object * get(jint);
+ jboolean contains(::java::lang::Object *);
+ jint indexOf(::java::lang::Object *);
+ jint lastIndexOf(::java::lang::Object *);
+ ::java::util::List * subList(jint, jint);
+ JArray< ::java::lang::Object * > * toArray();
+ ::java::lang::String * toString();
+private:
+ static const jlong serialVersionUID = 2739099268398711800LL;
+ jint __attribute__((aligned(__alignof__( ::java::util::AbstractList)))) n;
+ ::java::lang::Object * element;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_Collections$CopiesList__
diff --git a/libjava/java/util/Collections$EmptyList.h b/libjava/java/util/Collections$EmptyList.h
new file mode 100644
index 0000000..8133e16
--- /dev/null
+++ b/libjava/java/util/Collections$EmptyList.h
@@ -0,0 +1,39 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_Collections$EmptyList__
+#define __java_util_Collections$EmptyList__
+
+#pragma interface
+
+#include <java/util/AbstractList.h>
+#include <gcj/array.h>
+
+
+class java::util::Collections$EmptyList : public ::java::util::AbstractList
+{
+
+public: // actually package-private
+ Collections$EmptyList();
+public:
+ jint size();
+ ::java::lang::Object * get(jint);
+ jboolean contains(::java::lang::Object *);
+ jboolean containsAll(::java::util::Collection *);
+ jboolean equals(::java::lang::Object *);
+ jint hashCode();
+ jint indexOf(::java::lang::Object *);
+ jint lastIndexOf(::java::lang::Object *);
+ jboolean remove(::java::lang::Object *);
+ jboolean removeAll(::java::util::Collection *);
+ jboolean retainAll(::java::util::Collection *);
+ JArray< ::java::lang::Object * > * toArray();
+ JArray< ::java::lang::Object * > * toArray(JArray< ::java::lang::Object * > *);
+ ::java::lang::String * toString();
+private:
+ static const jlong serialVersionUID = 8842843931221139166LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_Collections$EmptyList__
diff --git a/libjava/java/util/Collections$EmptyMap.h b/libjava/java/util/Collections$EmptyMap.h
new file mode 100644
index 0000000..6b09265
--- /dev/null
+++ b/libjava/java/util/Collections$EmptyMap.h
@@ -0,0 +1,34 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_Collections$EmptyMap__
+#define __java_util_Collections$EmptyMap__
+
+#pragma interface
+
+#include <java/util/AbstractMap.h>
+
+class java::util::Collections$EmptyMap : public ::java::util::AbstractMap
+{
+
+public: // actually package-private
+ Collections$EmptyMap();
+public:
+ ::java::util::Set * entrySet();
+ jboolean containsKey(::java::lang::Object *);
+ jboolean containsValue(::java::lang::Object *);
+ jboolean equals(::java::lang::Object *);
+ ::java::lang::Object * get(::java::lang::Object *);
+ jint hashCode();
+ ::java::util::Set * keySet();
+ ::java::lang::Object * remove(::java::lang::Object *);
+ jint size();
+ ::java::util::Collection * values();
+ ::java::lang::String * toString();
+private:
+ static const jlong serialVersionUID = 6428348081105594320LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_Collections$EmptyMap__
diff --git a/libjava/java/util/Collections$EmptySet.h b/libjava/java/util/Collections$EmptySet.h
new file mode 100644
index 0000000..cbd0126
--- /dev/null
+++ b/libjava/java/util/Collections$EmptySet.h
@@ -0,0 +1,37 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_Collections$EmptySet__
+#define __java_util_Collections$EmptySet__
+
+#pragma interface
+
+#include <java/util/AbstractSet.h>
+#include <gcj/array.h>
+
+
+class java::util::Collections$EmptySet : public ::java::util::AbstractSet
+{
+
+public: // actually package-private
+ Collections$EmptySet();
+public:
+ jint size();
+ ::java::util::Iterator * iterator();
+ jboolean contains(::java::lang::Object *);
+ jboolean containsAll(::java::util::Collection *);
+ jboolean equals(::java::lang::Object *);
+ jint hashCode();
+ jboolean remove(::java::lang::Object *);
+ jboolean removeAll(::java::util::Collection *);
+ jboolean retainAll(::java::util::Collection *);
+ JArray< ::java::lang::Object * > * toArray();
+ JArray< ::java::lang::Object * > * toArray(JArray< ::java::lang::Object * > *);
+ ::java::lang::String * toString();
+private:
+ static const jlong serialVersionUID = 1582296315990362920LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_Collections$EmptySet__
diff --git a/libjava/java/util/Collections$ReverseComparator.h b/libjava/java/util/Collections$ReverseComparator.h
new file mode 100644
index 0000000..006c27c
--- /dev/null
+++ b/libjava/java/util/Collections$ReverseComparator.h
@@ -0,0 +1,24 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_Collections$ReverseComparator__
+#define __java_util_Collections$ReverseComparator__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::Collections$ReverseComparator : public ::java::lang::Object
+{
+
+public: // actually package-private
+ Collections$ReverseComparator();
+public:
+ virtual jint compare(::java::lang::Object *, ::java::lang::Object *);
+private:
+ static const jlong serialVersionUID = 7207038068494060240LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_Collections$ReverseComparator__
diff --git a/libjava/java/util/Collections$SingletonList.h b/libjava/java/util/Collections$SingletonList.h
new file mode 100644
index 0000000..03340f1
--- /dev/null
+++ b/libjava/java/util/Collections$SingletonList.h
@@ -0,0 +1,36 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_Collections$SingletonList__
+#define __java_util_Collections$SingletonList__
+
+#pragma interface
+
+#include <java/util/AbstractList.h>
+#include <gcj/array.h>
+
+
+class java::util::Collections$SingletonList : public ::java::util::AbstractList
+{
+
+public: // actually package-private
+ Collections$SingletonList(::java::lang::Object *);
+public:
+ jint size();
+ ::java::lang::Object * get(jint);
+ jboolean contains(::java::lang::Object *);
+ jboolean containsAll(::java::util::Collection *);
+ jint hashCode();
+ jint indexOf(::java::lang::Object *);
+ jint lastIndexOf(::java::lang::Object *);
+ ::java::util::List * subList(jint, jint);
+ JArray< ::java::lang::Object * > * toArray();
+ ::java::lang::String * toString();
+private:
+ static const jlong serialVersionUID = 3093736618740652951LL;
+ ::java::lang::Object * __attribute__((aligned(__alignof__( ::java::util::AbstractList)))) element;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_Collections$SingletonList__
diff --git a/libjava/java/util/Collections$SingletonMap.h b/libjava/java/util/Collections$SingletonMap.h
new file mode 100644
index 0000000..a5b0768
--- /dev/null
+++ b/libjava/java/util/Collections$SingletonMap.h
@@ -0,0 +1,35 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_Collections$SingletonMap__
+#define __java_util_Collections$SingletonMap__
+
+#pragma interface
+
+#include <java/util/AbstractMap.h>
+
+class java::util::Collections$SingletonMap : public ::java::util::AbstractMap
+{
+
+public: // actually package-private
+ Collections$SingletonMap(::java::lang::Object *, ::java::lang::Object *);
+public:
+ ::java::util::Set * entrySet();
+ jboolean containsKey(::java::lang::Object *);
+ jboolean containsValue(::java::lang::Object *);
+ ::java::lang::Object * get(::java::lang::Object *);
+ jint hashCode();
+ ::java::util::Set * keySet();
+ jint size();
+ ::java::util::Collection * values();
+ ::java::lang::String * toString();
+private:
+ static const jlong serialVersionUID = -6979724477215052911LL;
+ ::java::lang::Object * __attribute__((aligned(__alignof__( ::java::util::AbstractMap)))) k;
+ ::java::lang::Object * v;
+ ::java::util::Set * entries;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_Collections$SingletonMap__
diff --git a/libjava/java/util/Collections$SingletonSet.h b/libjava/java/util/Collections$SingletonSet.h
new file mode 100644
index 0000000..51deccd
--- /dev/null
+++ b/libjava/java/util/Collections$SingletonSet.h
@@ -0,0 +1,34 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_Collections$SingletonSet__
+#define __java_util_Collections$SingletonSet__
+
+#pragma interface
+
+#include <java/util/AbstractSet.h>
+#include <gcj/array.h>
+
+
+class java::util::Collections$SingletonSet : public ::java::util::AbstractSet
+{
+
+public: // actually package-private
+ Collections$SingletonSet(::java::lang::Object *);
+public:
+ jint size();
+ ::java::util::Iterator * iterator();
+ jboolean contains(::java::lang::Object *);
+ jboolean containsAll(::java::util::Collection *);
+ jint hashCode();
+ JArray< ::java::lang::Object * > * toArray();
+ ::java::lang::String * toString();
+private:
+ static const jlong serialVersionUID = 3193687207550431679LL;
+public: // actually package-private
+ ::java::lang::Object * __attribute__((aligned(__alignof__( ::java::util::AbstractSet)))) element;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_Collections$SingletonSet__
diff --git a/libjava/java/util/Collections$SynchronizedCollection.h b/libjava/java/util/Collections$SynchronizedCollection.h
new file mode 100644
index 0000000..a41b8d2
--- /dev/null
+++ b/libjava/java/util/Collections$SynchronizedCollection.h
@@ -0,0 +1,43 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_Collections$SynchronizedCollection__
+#define __java_util_Collections$SynchronizedCollection__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+
+class java::util::Collections$SynchronizedCollection : public ::java::lang::Object
+{
+
+public: // actually package-private
+ Collections$SynchronizedCollection(::java::util::Collection *);
+ Collections$SynchronizedCollection(::java::lang::Object *, ::java::util::Collection *);
+public:
+ virtual jboolean add(::java::lang::Object *);
+ virtual jboolean addAll(::java::util::Collection *);
+ virtual void clear();
+ virtual jboolean contains(::java::lang::Object *);
+ virtual jboolean containsAll(::java::util::Collection *);
+ virtual jboolean isEmpty();
+ virtual ::java::util::Iterator * iterator();
+ virtual jboolean remove(::java::lang::Object *);
+ virtual jboolean removeAll(::java::util::Collection *);
+ virtual jboolean retainAll(::java::util::Collection *);
+ virtual jint size();
+ virtual JArray< ::java::lang::Object * > * toArray();
+ virtual JArray< ::java::lang::Object * > * toArray(JArray< ::java::lang::Object * > *);
+ virtual ::java::lang::String * toString();
+private:
+ static const jlong serialVersionUID = 3053995032091335093LL;
+public: // actually package-private
+ ::java::util::Collection * __attribute__((aligned(__alignof__( ::java::lang::Object)))) c;
+ ::java::lang::Object * mutex;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_Collections$SynchronizedCollection__
diff --git a/libjava/java/util/Collections$SynchronizedIterator.h b/libjava/java/util/Collections$SynchronizedIterator.h
new file mode 100644
index 0000000..bc0950b6
--- /dev/null
+++ b/libjava/java/util/Collections$SynchronizedIterator.h
@@ -0,0 +1,28 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_Collections$SynchronizedIterator__
+#define __java_util_Collections$SynchronizedIterator__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::Collections$SynchronizedIterator : public ::java::lang::Object
+{
+
+public: // actually package-private
+ Collections$SynchronizedIterator(::java::lang::Object *, ::java::util::Iterator *);
+public:
+ virtual ::java::lang::Object * next();
+ virtual jboolean hasNext();
+ virtual void remove();
+public: // actually package-private
+ ::java::lang::Object * __attribute__((aligned(__alignof__( ::java::lang::Object)))) mutex;
+private:
+ ::java::util::Iterator * i;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_Collections$SynchronizedIterator__
diff --git a/libjava/java/util/Collections$SynchronizedList.h b/libjava/java/util/Collections$SynchronizedList.h
new file mode 100644
index 0000000..3404a09
--- /dev/null
+++ b/libjava/java/util/Collections$SynchronizedList.h
@@ -0,0 +1,38 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_Collections$SynchronizedList__
+#define __java_util_Collections$SynchronizedList__
+
+#pragma interface
+
+#include <java/util/Collections$SynchronizedCollection.h>
+
+class java::util::Collections$SynchronizedList : public ::java::util::Collections$SynchronizedCollection
+{
+
+public: // actually package-private
+ Collections$SynchronizedList(::java::util::List *);
+ Collections$SynchronizedList(::java::lang::Object *, ::java::util::List *);
+public:
+ virtual void add(jint, ::java::lang::Object *);
+ virtual jboolean addAll(jint, ::java::util::Collection *);
+ virtual jboolean equals(::java::lang::Object *);
+ virtual ::java::lang::Object * get(jint);
+ virtual jint hashCode();
+ virtual jint indexOf(::java::lang::Object *);
+ virtual jint lastIndexOf(::java::lang::Object *);
+ virtual ::java::util::ListIterator * listIterator();
+ virtual ::java::util::ListIterator * listIterator(jint);
+ virtual ::java::lang::Object * remove(jint);
+ virtual ::java::lang::Object * set(jint, ::java::lang::Object *);
+ virtual ::java::util::List * subList(jint, jint);
+private:
+ static const jlong serialVersionUID = -7754090372962971524LL;
+public: // actually package-private
+ ::java::util::List * __attribute__((aligned(__alignof__( ::java::util::Collections$SynchronizedCollection)))) list;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_Collections$SynchronizedList__
diff --git a/libjava/java/util/Collections$SynchronizedListIterator.h b/libjava/java/util/Collections$SynchronizedListIterator.h
new file mode 100644
index 0000000..87cd16b
--- /dev/null
+++ b/libjava/java/util/Collections$SynchronizedListIterator.h
@@ -0,0 +1,29 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_Collections$SynchronizedListIterator__
+#define __java_util_Collections$SynchronizedListIterator__
+
+#pragma interface
+
+#include <java/util/Collections$SynchronizedIterator.h>
+
+class java::util::Collections$SynchronizedListIterator : public ::java::util::Collections$SynchronizedIterator
+{
+
+public: // actually package-private
+ Collections$SynchronizedListIterator(::java::lang::Object *, ::java::util::ListIterator *);
+public:
+ void add(::java::lang::Object *);
+ jboolean hasPrevious();
+ jint nextIndex();
+ ::java::lang::Object * previous();
+ jint previousIndex();
+ void set(::java::lang::Object *);
+private:
+ ::java::util::ListIterator * __attribute__((aligned(__alignof__( ::java::util::Collections$SynchronizedIterator)))) li;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_Collections$SynchronizedListIterator__
diff --git a/libjava/java/util/Collections$SynchronizedMap.h b/libjava/java/util/Collections$SynchronizedMap.h
new file mode 100644
index 0000000..6232204
--- /dev/null
+++ b/libjava/java/util/Collections$SynchronizedMap.h
@@ -0,0 +1,46 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_Collections$SynchronizedMap__
+#define __java_util_Collections$SynchronizedMap__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::Collections$SynchronizedMap : public ::java::lang::Object
+{
+
+public: // actually package-private
+ Collections$SynchronizedMap(::java::util::Map *);
+ Collections$SynchronizedMap(::java::lang::Object *, ::java::util::Map *);
+public:
+ virtual void clear();
+ virtual jboolean containsKey(::java::lang::Object *);
+ virtual jboolean containsValue(::java::lang::Object *);
+ virtual ::java::util::Set * entrySet();
+ virtual jboolean equals(::java::lang::Object *);
+ virtual ::java::lang::Object * get(::java::lang::Object *);
+ virtual jint hashCode();
+ virtual jboolean isEmpty();
+ virtual ::java::util::Set * keySet();
+ virtual ::java::lang::Object * put(::java::lang::Object *, ::java::lang::Object *);
+ virtual void putAll(::java::util::Map *);
+ virtual ::java::lang::Object * remove(::java::lang::Object *);
+ virtual jint size();
+ virtual ::java::lang::String * toString();
+ virtual ::java::util::Collection * values();
+private:
+ static const jlong serialVersionUID = 1978198479659022715LL;
+ ::java::util::Map * __attribute__((aligned(__alignof__( ::java::lang::Object)))) m;
+public: // actually package-private
+ ::java::lang::Object * mutex;
+private:
+ ::java::util::Set * entries;
+ ::java::util::Set * keys;
+ ::java::util::Collection * values__;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_Collections$SynchronizedMap__
diff --git a/libjava/java/util/Collections$SynchronizedRandomAccessList.h b/libjava/java/util/Collections$SynchronizedRandomAccessList.h
new file mode 100644
index 0000000..3bf085e
--- /dev/null
+++ b/libjava/java/util/Collections$SynchronizedRandomAccessList.h
@@ -0,0 +1,25 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_Collections$SynchronizedRandomAccessList__
+#define __java_util_Collections$SynchronizedRandomAccessList__
+
+#pragma interface
+
+#include <java/util/Collections$SynchronizedList.h>
+
+class java::util::Collections$SynchronizedRandomAccessList : public ::java::util::Collections$SynchronizedList
+{
+
+public: // actually package-private
+ Collections$SynchronizedRandomAccessList(::java::util::List *);
+ Collections$SynchronizedRandomAccessList(::java::lang::Object *, ::java::util::List *);
+public:
+ ::java::util::List * subList(jint, jint);
+private:
+ static const jlong serialVersionUID = 1530674583602358482LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_Collections$SynchronizedRandomAccessList__
diff --git a/libjava/java/util/Collections$SynchronizedSet.h b/libjava/java/util/Collections$SynchronizedSet.h
new file mode 100644
index 0000000..bb5b676
--- /dev/null
+++ b/libjava/java/util/Collections$SynchronizedSet.h
@@ -0,0 +1,26 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_Collections$SynchronizedSet__
+#define __java_util_Collections$SynchronizedSet__
+
+#pragma interface
+
+#include <java/util/Collections$SynchronizedCollection.h>
+
+class java::util::Collections$SynchronizedSet : public ::java::util::Collections$SynchronizedCollection
+{
+
+public: // actually package-private
+ Collections$SynchronizedSet(::java::util::Set *);
+ Collections$SynchronizedSet(::java::lang::Object *, ::java::util::Set *);
+public:
+ virtual jboolean equals(::java::lang::Object *);
+ virtual jint hashCode();
+private:
+ static const jlong serialVersionUID = 487447009682186044LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_Collections$SynchronizedSet__
diff --git a/libjava/java/util/Collections$SynchronizedSortedMap.h b/libjava/java/util/Collections$SynchronizedSortedMap.h
new file mode 100644
index 0000000..d31025f
--- /dev/null
+++ b/libjava/java/util/Collections$SynchronizedSortedMap.h
@@ -0,0 +1,31 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_Collections$SynchronizedSortedMap__
+#define __java_util_Collections$SynchronizedSortedMap__
+
+#pragma interface
+
+#include <java/util/Collections$SynchronizedMap.h>
+
+class java::util::Collections$SynchronizedSortedMap : public ::java::util::Collections$SynchronizedMap
+{
+
+public: // actually package-private
+ Collections$SynchronizedSortedMap(::java::util::SortedMap *);
+ Collections$SynchronizedSortedMap(::java::lang::Object *, ::java::util::SortedMap *);
+public:
+ ::java::util::Comparator * comparator();
+ ::java::lang::Object * firstKey();
+ ::java::util::SortedMap * headMap(::java::lang::Object *);
+ ::java::lang::Object * lastKey();
+ ::java::util::SortedMap * subMap(::java::lang::Object *, ::java::lang::Object *);
+ ::java::util::SortedMap * tailMap(::java::lang::Object *);
+private:
+ static const jlong serialVersionUID = -8798146769416483793LL;
+ ::java::util::SortedMap * __attribute__((aligned(__alignof__( ::java::util::Collections$SynchronizedMap)))) sm;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_Collections$SynchronizedSortedMap__
diff --git a/libjava/java/util/Collections$SynchronizedSortedSet.h b/libjava/java/util/Collections$SynchronizedSortedSet.h
new file mode 100644
index 0000000..dd25a17
--- /dev/null
+++ b/libjava/java/util/Collections$SynchronizedSortedSet.h
@@ -0,0 +1,31 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_Collections$SynchronizedSortedSet__
+#define __java_util_Collections$SynchronizedSortedSet__
+
+#pragma interface
+
+#include <java/util/Collections$SynchronizedSet.h>
+
+class java::util::Collections$SynchronizedSortedSet : public ::java::util::Collections$SynchronizedSet
+{
+
+public: // actually package-private
+ Collections$SynchronizedSortedSet(::java::util::SortedSet *);
+ Collections$SynchronizedSortedSet(::java::lang::Object *, ::java::util::SortedSet *);
+public:
+ ::java::util::Comparator * comparator();
+ ::java::lang::Object * first();
+ ::java::util::SortedSet * headSet(::java::lang::Object *);
+ ::java::lang::Object * last();
+ ::java::util::SortedSet * subSet(::java::lang::Object *, ::java::lang::Object *);
+ ::java::util::SortedSet * tailSet(::java::lang::Object *);
+private:
+ static const jlong serialVersionUID = 8695801310862127406LL;
+ ::java::util::SortedSet * __attribute__((aligned(__alignof__( ::java::util::Collections$SynchronizedSet)))) ss;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_Collections$SynchronizedSortedSet__
diff --git a/libjava/java/util/Collections$UnmodifiableCollection.h b/libjava/java/util/Collections$UnmodifiableCollection.h
new file mode 100644
index 0000000..2241b88
--- /dev/null
+++ b/libjava/java/util/Collections$UnmodifiableCollection.h
@@ -0,0 +1,41 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_Collections$UnmodifiableCollection__
+#define __java_util_Collections$UnmodifiableCollection__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+
+class java::util::Collections$UnmodifiableCollection : public ::java::lang::Object
+{
+
+public: // actually package-private
+ Collections$UnmodifiableCollection(::java::util::Collection *);
+public:
+ virtual jboolean add(::java::lang::Object *);
+ virtual jboolean addAll(::java::util::Collection *);
+ virtual void clear();
+ virtual jboolean contains(::java::lang::Object *);
+ virtual jboolean containsAll(::java::util::Collection *);
+ virtual jboolean isEmpty();
+ virtual ::java::util::Iterator * iterator();
+ virtual jboolean remove(::java::lang::Object *);
+ virtual jboolean removeAll(::java::util::Collection *);
+ virtual jboolean retainAll(::java::util::Collection *);
+ virtual jint size();
+ virtual JArray< ::java::lang::Object * > * toArray();
+ virtual JArray< ::java::lang::Object * > * toArray(JArray< ::java::lang::Object * > *);
+ virtual ::java::lang::String * toString();
+private:
+ static const jlong serialVersionUID = 1820017752578914078LL;
+public: // actually package-private
+ ::java::util::Collection * __attribute__((aligned(__alignof__( ::java::lang::Object)))) c;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_Collections$UnmodifiableCollection__
diff --git a/libjava/java/util/Collections$UnmodifiableIterator.h b/libjava/java/util/Collections$UnmodifiableIterator.h
new file mode 100644
index 0000000..3782626
--- /dev/null
+++ b/libjava/java/util/Collections$UnmodifiableIterator.h
@@ -0,0 +1,26 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_Collections$UnmodifiableIterator__
+#define __java_util_Collections$UnmodifiableIterator__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::Collections$UnmodifiableIterator : public ::java::lang::Object
+{
+
+public: // actually package-private
+ Collections$UnmodifiableIterator(::java::util::Iterator *);
+public:
+ virtual ::java::lang::Object * next();
+ virtual jboolean hasNext();
+ virtual void remove();
+private:
+ ::java::util::Iterator * __attribute__((aligned(__alignof__( ::java::lang::Object)))) i;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_Collections$UnmodifiableIterator__
diff --git a/libjava/java/util/Collections$UnmodifiableList.h b/libjava/java/util/Collections$UnmodifiableList.h
new file mode 100644
index 0000000..e1da477
--- /dev/null
+++ b/libjava/java/util/Collections$UnmodifiableList.h
@@ -0,0 +1,37 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_Collections$UnmodifiableList__
+#define __java_util_Collections$UnmodifiableList__
+
+#pragma interface
+
+#include <java/util/Collections$UnmodifiableCollection.h>
+
+class java::util::Collections$UnmodifiableList : public ::java::util::Collections$UnmodifiableCollection
+{
+
+public: // actually package-private
+ Collections$UnmodifiableList(::java::util::List *);
+public:
+ virtual void add(jint, ::java::lang::Object *);
+ virtual jboolean addAll(jint, ::java::util::Collection *);
+ virtual jboolean equals(::java::lang::Object *);
+ virtual ::java::lang::Object * get(jint);
+ virtual jint hashCode();
+ virtual jint indexOf(::java::lang::Object *);
+ virtual jint lastIndexOf(::java::lang::Object *);
+ virtual ::java::util::ListIterator * listIterator();
+ virtual ::java::util::ListIterator * listIterator(jint);
+ virtual ::java::lang::Object * remove(jint);
+ virtual ::java::lang::Object * set(jint, ::java::lang::Object *);
+ virtual ::java::util::List * subList(jint, jint);
+private:
+ static const jlong serialVersionUID = -283967356065247728LL;
+public: // actually package-private
+ ::java::util::List * __attribute__((aligned(__alignof__( ::java::util::Collections$UnmodifiableCollection)))) list;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_Collections$UnmodifiableList__
diff --git a/libjava/java/util/Collections$UnmodifiableListIterator.h b/libjava/java/util/Collections$UnmodifiableListIterator.h
new file mode 100644
index 0000000..f921a5c
--- /dev/null
+++ b/libjava/java/util/Collections$UnmodifiableListIterator.h
@@ -0,0 +1,29 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_Collections$UnmodifiableListIterator__
+#define __java_util_Collections$UnmodifiableListIterator__
+
+#pragma interface
+
+#include <java/util/Collections$UnmodifiableIterator.h>
+
+class java::util::Collections$UnmodifiableListIterator : public ::java::util::Collections$UnmodifiableIterator
+{
+
+public: // actually package-private
+ Collections$UnmodifiableListIterator(::java::util::ListIterator *);
+public:
+ void add(::java::lang::Object *);
+ jboolean hasPrevious();
+ jint nextIndex();
+ ::java::lang::Object * previous();
+ jint previousIndex();
+ void set(::java::lang::Object *);
+private:
+ ::java::util::ListIterator * __attribute__((aligned(__alignof__( ::java::util::Collections$UnmodifiableIterator)))) li;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_Collections$UnmodifiableListIterator__
diff --git a/libjava/java/util/Collections$UnmodifiableMap$UnmodifiableEntrySet$UnmodifiableMapEntry.h b/libjava/java/util/Collections$UnmodifiableMap$UnmodifiableEntrySet$UnmodifiableMapEntry.h
new file mode 100644
index 0000000..c0358c9
--- /dev/null
+++ b/libjava/java/util/Collections$UnmodifiableMap$UnmodifiableEntrySet$UnmodifiableMapEntry.h
@@ -0,0 +1,30 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_Collections$UnmodifiableMap$UnmodifiableEntrySet$UnmodifiableMapEntry__
+#define __java_util_Collections$UnmodifiableMap$UnmodifiableEntrySet$UnmodifiableMapEntry__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::Collections$UnmodifiableMap$UnmodifiableEntrySet$UnmodifiableMapEntry : public ::java::lang::Object
+{
+
+ Collections$UnmodifiableMap$UnmodifiableEntrySet$UnmodifiableMapEntry(::java::util::Map$Entry *);
+public:
+ jboolean equals(::java::lang::Object *);
+ ::java::lang::Object * getKey();
+ ::java::lang::Object * getValue();
+ jint hashCode();
+ ::java::lang::Object * setValue(::java::lang::Object *);
+ ::java::lang::String * toString();
+public: // actually package-private
+ Collections$UnmodifiableMap$UnmodifiableEntrySet$UnmodifiableMapEntry(::java::util::Map$Entry *, ::java::util::Collections$UnmodifiableMap$UnmodifiableEntrySet$UnmodifiableMapEntry *);
+private:
+ ::java::util::Map$Entry * __attribute__((aligned(__alignof__( ::java::lang::Object)))) e;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_Collections$UnmodifiableMap$UnmodifiableEntrySet$UnmodifiableMapEntry__
diff --git a/libjava/java/util/Collections$UnmodifiableMap$UnmodifiableEntrySet.h b/libjava/java/util/Collections$UnmodifiableMap$UnmodifiableEntrySet.h
new file mode 100644
index 0000000..cf49d7f
--- /dev/null
+++ b/libjava/java/util/Collections$UnmodifiableMap$UnmodifiableEntrySet.h
@@ -0,0 +1,29 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_Collections$UnmodifiableMap$UnmodifiableEntrySet__
+#define __java_util_Collections$UnmodifiableMap$UnmodifiableEntrySet__
+
+#pragma interface
+
+#include <java/util/Collections$UnmodifiableSet.h>
+#include <gcj/array.h>
+
+
+class java::util::Collections$UnmodifiableMap$UnmodifiableEntrySet : public ::java::util::Collections$UnmodifiableSet
+{
+
+public: // actually package-private
+ Collections$UnmodifiableMap$UnmodifiableEntrySet(::java::util::Set *);
+public:
+ ::java::util::Iterator * iterator();
+ JArray< ::java::util::Map$Entry * > * target$toArray();
+ JArray< ::java::util::Map$Entry * > * toArray(JArray< ::java::util::Map$Entry * > *);
+ JArray< ::java::lang::Object * > * toArray();
+private:
+ static const jlong serialVersionUID = 7854390611657943733LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_Collections$UnmodifiableMap$UnmodifiableEntrySet__
diff --git a/libjava/java/util/Collections$UnmodifiableMap.h b/libjava/java/util/Collections$UnmodifiableMap.h
new file mode 100644
index 0000000..3aaee0a
--- /dev/null
+++ b/libjava/java/util/Collections$UnmodifiableMap.h
@@ -0,0 +1,42 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_Collections$UnmodifiableMap__
+#define __java_util_Collections$UnmodifiableMap__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::Collections$UnmodifiableMap : public ::java::lang::Object
+{
+
+public: // actually package-private
+ Collections$UnmodifiableMap(::java::util::Map *);
+public:
+ virtual void clear();
+ virtual jboolean containsKey(::java::lang::Object *);
+ virtual jboolean containsValue(::java::lang::Object *);
+ virtual ::java::util::Set * entrySet();
+ virtual jboolean equals(::java::lang::Object *);
+ virtual ::java::lang::Object * get(::java::lang::Object *);
+ virtual ::java::lang::Object * put(::java::lang::Object *, ::java::lang::Object *);
+ virtual jint hashCode();
+ virtual jboolean isEmpty();
+ virtual ::java::util::Set * keySet();
+ virtual void putAll(::java::util::Map *);
+ virtual ::java::lang::Object * remove(::java::lang::Object *);
+ virtual jint size();
+ virtual ::java::lang::String * toString();
+ virtual ::java::util::Collection * values();
+private:
+ static const jlong serialVersionUID = -1034234728574286014LL;
+ ::java::util::Map * __attribute__((aligned(__alignof__( ::java::lang::Object)))) m;
+ ::java::util::Set * entries;
+ ::java::util::Set * keys;
+ ::java::util::Collection * values__;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_Collections$UnmodifiableMap__
diff --git a/libjava/java/util/Collections$UnmodifiableRandomAccessList.h b/libjava/java/util/Collections$UnmodifiableRandomAccessList.h
new file mode 100644
index 0000000..62a310b
--- /dev/null
+++ b/libjava/java/util/Collections$UnmodifiableRandomAccessList.h
@@ -0,0 +1,22 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_Collections$UnmodifiableRandomAccessList__
+#define __java_util_Collections$UnmodifiableRandomAccessList__
+
+#pragma interface
+
+#include <java/util/Collections$UnmodifiableList.h>
+
+class java::util::Collections$UnmodifiableRandomAccessList : public ::java::util::Collections$UnmodifiableList
+{
+
+public: // actually package-private
+ Collections$UnmodifiableRandomAccessList(::java::util::List *);
+private:
+ static const jlong serialVersionUID = -2542308836966382001LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_Collections$UnmodifiableRandomAccessList__
diff --git a/libjava/java/util/Collections$UnmodifiableSet.h b/libjava/java/util/Collections$UnmodifiableSet.h
new file mode 100644
index 0000000..3633ae2
--- /dev/null
+++ b/libjava/java/util/Collections$UnmodifiableSet.h
@@ -0,0 +1,25 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_Collections$UnmodifiableSet__
+#define __java_util_Collections$UnmodifiableSet__
+
+#pragma interface
+
+#include <java/util/Collections$UnmodifiableCollection.h>
+
+class java::util::Collections$UnmodifiableSet : public ::java::util::Collections$UnmodifiableCollection
+{
+
+public: // actually package-private
+ Collections$UnmodifiableSet(::java::util::Set *);
+public:
+ virtual jboolean equals(::java::lang::Object *);
+ virtual jint hashCode();
+private:
+ static const jlong serialVersionUID = -9215047833775013803LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_Collections$UnmodifiableSet__
diff --git a/libjava/java/util/Collections$UnmodifiableSortedMap.h b/libjava/java/util/Collections$UnmodifiableSortedMap.h
new file mode 100644
index 0000000..6c5a374
--- /dev/null
+++ b/libjava/java/util/Collections$UnmodifiableSortedMap.h
@@ -0,0 +1,30 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_Collections$UnmodifiableSortedMap__
+#define __java_util_Collections$UnmodifiableSortedMap__
+
+#pragma interface
+
+#include <java/util/Collections$UnmodifiableMap.h>
+
+class java::util::Collections$UnmodifiableSortedMap : public ::java::util::Collections$UnmodifiableMap
+{
+
+public: // actually package-private
+ Collections$UnmodifiableSortedMap(::java::util::SortedMap *);
+public:
+ virtual ::java::util::Comparator * comparator();
+ virtual ::java::lang::Object * firstKey();
+ virtual ::java::util::SortedMap * headMap(::java::lang::Object *);
+ virtual ::java::lang::Object * lastKey();
+ virtual ::java::util::SortedMap * subMap(::java::lang::Object *, ::java::lang::Object *);
+ virtual ::java::util::SortedMap * tailMap(::java::lang::Object *);
+private:
+ static const jlong serialVersionUID = -8806743815996713206LL;
+ ::java::util::SortedMap * __attribute__((aligned(__alignof__( ::java::util::Collections$UnmodifiableMap)))) sm;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_Collections$UnmodifiableSortedMap__
diff --git a/libjava/java/util/Collections$UnmodifiableSortedSet.h b/libjava/java/util/Collections$UnmodifiableSortedSet.h
new file mode 100644
index 0000000..50d776d
--- /dev/null
+++ b/libjava/java/util/Collections$UnmodifiableSortedSet.h
@@ -0,0 +1,30 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_Collections$UnmodifiableSortedSet__
+#define __java_util_Collections$UnmodifiableSortedSet__
+
+#pragma interface
+
+#include <java/util/Collections$UnmodifiableSet.h>
+
+class java::util::Collections$UnmodifiableSortedSet : public ::java::util::Collections$UnmodifiableSet
+{
+
+public: // actually package-private
+ Collections$UnmodifiableSortedSet(::java::util::SortedSet *);
+public:
+ virtual ::java::util::Comparator * comparator();
+ virtual ::java::lang::Object * first();
+ virtual ::java::util::SortedSet * headSet(::java::lang::Object *);
+ virtual ::java::lang::Object * last();
+ virtual ::java::util::SortedSet * subSet(::java::lang::Object *, ::java::lang::Object *);
+ virtual ::java::util::SortedSet * tailSet(::java::lang::Object *);
+private:
+ static const jlong serialVersionUID = -4929149591599911165LL;
+ ::java::util::SortedSet * __attribute__((aligned(__alignof__( ::java::util::Collections$UnmodifiableSet)))) ss;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_Collections$UnmodifiableSortedSet__
diff --git a/libjava/java/util/Collections.h b/libjava/java/util/Collections.h
new file mode 100644
index 0000000..6e11724
--- /dev/null
+++ b/libjava/java/util/Collections.h
@@ -0,0 +1,85 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_Collections__
+#define __java_util_Collections__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+
+class java::util::Collections : public ::java::lang::Object
+{
+
+ static jboolean isSequential(::java::util::List *);
+ Collections();
+public:
+ static ::java::util::Set * emptySet();
+ static ::java::util::List * emptyList();
+ static ::java::util::Map * emptyMap();
+public: // actually package-private
+ static jint compare(::java::lang::Object *, ::java::lang::Object *, ::java::util::Comparator *);
+public:
+ static jint binarySearch(::java::util::List *, ::java::lang::Object *);
+ static jint binarySearch(::java::util::List *, ::java::lang::Object *, ::java::util::Comparator *);
+ static void copy(::java::util::List *, ::java::util::List *);
+ static ::java::util::Enumeration * enumeration(::java::util::Collection *);
+ static void fill(::java::util::List *, ::java::lang::Object *);
+ static jint indexOfSubList(::java::util::List *, ::java::util::List *);
+ static jint lastIndexOfSubList(::java::util::List *, ::java::util::List *);
+ static ::java::util::ArrayList * list(::java::util::Enumeration *);
+ static ::java::lang::Object * max(::java::util::Collection *);
+ static ::java::lang::Object * max(::java::util::Collection *, ::java::util::Comparator *);
+ static ::java::lang::Object * min(::java::util::Collection *);
+ static ::java::lang::Object * min(::java::util::Collection *, ::java::util::Comparator *);
+ static ::java::util::List * nCopies(jint, ::java::lang::Object *);
+ static jboolean replaceAll(::java::util::List *, ::java::lang::Object *, ::java::lang::Object *);
+ static void reverse(::java::util::List *);
+ static ::java::util::Comparator * reverseOrder(::java::util::Comparator *);
+ static ::java::util::Comparator * reverseOrder();
+ static void rotate(::java::util::List *, jint);
+ static void shuffle(::java::util::List *);
+ static void shuffle(::java::util::List *, ::java::util::Random *);
+ static jint frequency(::java::util::Collection *, ::java::lang::Object *);
+ static jboolean addAll(::java::util::Collection *, JArray< ::java::lang::Object * > *);
+ static jboolean disjoint(::java::util::Collection *, ::java::util::Collection *);
+ static ::java::util::Set * singleton(::java::lang::Object *);
+ static ::java::util::List * singletonList(::java::lang::Object *);
+ static ::java::util::Map * singletonMap(::java::lang::Object *, ::java::lang::Object *);
+ static void sort(::java::util::List *);
+ static void sort(::java::util::List *, ::java::util::Comparator *);
+ static void swap(::java::util::List *, jint, jint);
+ static ::java::util::Collection * synchronizedCollection(::java::util::Collection *);
+ static ::java::util::List * synchronizedList(::java::util::List *);
+ static ::java::util::Map * synchronizedMap(::java::util::Map *);
+ static ::java::util::Set * synchronizedSet(::java::util::Set *);
+ static ::java::util::SortedMap * synchronizedSortedMap(::java::util::SortedMap *);
+ static ::java::util::SortedSet * synchronizedSortedSet(::java::util::SortedSet *);
+ static ::java::util::Collection * unmodifiableCollection(::java::util::Collection *);
+ static ::java::util::List * unmodifiableList(::java::util::List *);
+ static ::java::util::Map * unmodifiableMap(::java::util::Map *);
+ static ::java::util::Set * unmodifiableSet(::java::util::Set *);
+ static ::java::util::SortedMap * unmodifiableSortedMap(::java::util::SortedMap *);
+ static ::java::util::SortedSet * unmodifiableSortedSet(::java::util::SortedSet *);
+ static ::java::util::Collection * checkedCollection(::java::util::Collection *, ::java::lang::Class *);
+ static ::java::util::List * checkedList(::java::util::List *, ::java::lang::Class *);
+ static ::java::util::Map * checkedMap(::java::util::Map *, ::java::lang::Class *, ::java::lang::Class *);
+ static ::java::util::Set * checkedSet(::java::util::Set *, ::java::lang::Class *);
+ static ::java::util::SortedMap * checkedSortedMap(::java::util::SortedMap *, ::java::lang::Class *, ::java::lang::Class *);
+ static ::java::util::SortedSet * checkedSortedSet(::java::util::SortedSet *, ::java::lang::Class *);
+private:
+ static const jint LARGE_LIST_SIZE = 16;
+public:
+ static ::java::util::Set * EMPTY_SET;
+ static ::java::util::List * EMPTY_LIST;
+ static ::java::util::Map * EMPTY_MAP;
+private:
+ static ::java::util::Collections$ReverseComparator * rcInstance;
+ static ::java::util::Random * defaultRandom;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_Collections__
diff --git a/libjava/java/util/Comparator.h b/libjava/java/util/Comparator.h
new file mode 100644
index 0000000..f14275e
--- /dev/null
+++ b/libjava/java/util/Comparator.h
@@ -0,0 +1,20 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_Comparator__
+#define __java_util_Comparator__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::Comparator : public ::java::lang::Object
+{
+
+public:
+ virtual jint compare(::java::lang::Object *, ::java::lang::Object *) = 0;
+ virtual jboolean equals(::java::lang::Object *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_util_Comparator__
diff --git a/libjava/java/util/ConcurrentModificationException.h b/libjava/java/util/ConcurrentModificationException.h
new file mode 100644
index 0000000..012ab65
--- /dev/null
+++ b/libjava/java/util/ConcurrentModificationException.h
@@ -0,0 +1,23 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_ConcurrentModificationException__
+#define __java_util_ConcurrentModificationException__
+
+#pragma interface
+
+#include <java/lang/RuntimeException.h>
+
+class java::util::ConcurrentModificationException : public ::java::lang::RuntimeException
+{
+
+public:
+ ConcurrentModificationException();
+ ConcurrentModificationException(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = -3666751008965953603LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_ConcurrentModificationException__
diff --git a/libjava/java/util/Currency.h b/libjava/java/util/Currency.h
new file mode 100644
index 0000000..c868cef
--- /dev/null
+++ b/libjava/java/util/Currency.h
@@ -0,0 +1,37 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_Currency__
+#define __java_util_Currency__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::Currency : public ::java::lang::Object
+{
+
+ Currency();
+ Currency(::java::util::Locale *);
+public:
+ ::java::lang::String * getCurrencyCode();
+ jint getDefaultFractionDigits();
+ static ::java::util::Currency * getInstance(::java::util::Locale *);
+ static ::java::util::Currency * getInstance(::java::lang::String *);
+ ::java::lang::String * getSymbol();
+ ::java::lang::String * getSymbol(::java::util::Locale *);
+ ::java::lang::String * toString();
+private:
+ ::java::lang::Object * readResolve();
+public: // actually package-private
+ static const jlong serialVersionUID = -158308464356906721LL;
+private:
+ ::java::util::Locale * __attribute__((aligned(__alignof__( ::java::lang::Object)))) locale;
+ ::java::util::ResourceBundle * res;
+ ::java::lang::String * currencyCode;
+ static ::java::util::Map * cache;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_Currency__
diff --git a/libjava/java/util/Date.h b/libjava/java/util/Date.h
new file mode 100644
index 0000000..e981483
--- /dev/null
+++ b/libjava/java/util/Date.h
@@ -0,0 +1,69 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_Date__
+#define __java_util_Date__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+
+class java::util::Date : public ::java::lang::Object
+{
+
+public:
+ Date();
+ Date(jlong);
+ Date(jint, jint, jint);
+ Date(jint, jint, jint, jint, jint);
+ Date(jint, jint, jint, jint, jint, jint);
+ Date(::java::lang::String *);
+ virtual ::java::lang::Object * clone();
+ static jlong UTC(jint, jint, jint, jint, jint, jint);
+ virtual jlong getTime();
+ virtual jint getTimezoneOffset();
+ virtual void setTime(jlong);
+ virtual jboolean after(::java::util::Date *);
+ virtual jboolean before(::java::util::Date *);
+ virtual jboolean equals(::java::lang::Object *);
+ virtual jint target$compareTo(::java::util::Date *);
+ virtual jint hashCode();
+ virtual ::java::lang::String * toString();
+ virtual ::java::lang::String * toLocaleString();
+ virtual ::java::lang::String * toGMTString();
+private:
+ static jint parseTz(::java::lang::String *, jchar);
+ static jint parseMonth(::java::lang::String *);
+ static jboolean parseDayOfWeek(::java::lang::String *);
+public:
+ static jlong parse(::java::lang::String *);
+ virtual jint getYear();
+ virtual void setYear(jint);
+ virtual jint getMonth();
+ virtual void setMonth(jint);
+ virtual jint getDate();
+ virtual void setDate(jint);
+ virtual jint getDay();
+ virtual jint getHours();
+ virtual void setHours(jint);
+ virtual jint getMinutes();
+ virtual void setMinutes(jint);
+ virtual jint getSeconds();
+ virtual void setSeconds(jint);
+private:
+ void readObject(::java::io::ObjectInputStream *);
+ void writeObject(::java::io::ObjectOutputStream *);
+public:
+ virtual jint compareTo(::java::lang::Object *);
+private:
+ static const jlong serialVersionUID = 7523967970034938905LL;
+ jlong __attribute__((aligned(__alignof__( ::java::lang::Object)))) time;
+ static JArray< ::java::lang::String * > * weekNames;
+ static JArray< ::java::lang::String * > * monthNames;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_Date__
diff --git a/libjava/java/util/Deque.h b/libjava/java/util/Deque.h
new file mode 100644
index 0000000..0ceb91f
--- /dev/null
+++ b/libjava/java/util/Deque.h
@@ -0,0 +1,55 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_Deque__
+#define __java_util_Deque__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+
+class java::util::Deque : public ::java::lang::Object
+{
+
+public:
+ virtual void addFirst(::java::lang::Object *) = 0;
+ virtual void addLast(::java::lang::Object *) = 0;
+ virtual jboolean offerFirst(::java::lang::Object *) = 0;
+ virtual jboolean offerLast(::java::lang::Object *) = 0;
+ virtual ::java::lang::Object * removeFirst() = 0;
+ virtual ::java::lang::Object * removeLast() = 0;
+ virtual ::java::lang::Object * pollFirst() = 0;
+ virtual ::java::lang::Object * pollLast() = 0;
+ virtual ::java::lang::Object * getFirst() = 0;
+ virtual ::java::lang::Object * getLast() = 0;
+ virtual ::java::lang::Object * peekFirst() = 0;
+ virtual ::java::lang::Object * peekLast() = 0;
+ virtual jboolean removeFirstOccurrence(::java::lang::Object *) = 0;
+ virtual jboolean removeLastOccurrence(::java::lang::Object *) = 0;
+ virtual jboolean add(::java::lang::Object *) = 0;
+ virtual jboolean offer(::java::lang::Object *) = 0;
+ virtual ::java::lang::Object * remove() = 0;
+ virtual ::java::lang::Object * poll() = 0;
+ virtual ::java::lang::Object * element() = 0;
+ virtual ::java::lang::Object * peek() = 0;
+ virtual void push(::java::lang::Object *) = 0;
+ virtual ::java::lang::Object * pop() = 0;
+ virtual jboolean remove(::java::lang::Object *) = 0;
+ virtual jboolean contains(::java::lang::Object *) = 0;
+ virtual jint size() = 0;
+ virtual ::java::util::Iterator * iterator() = 0;
+ virtual ::java::util::Iterator * descendingIterator() = 0;
+ virtual jboolean addAll(::java::util::Collection *) = 0;
+ virtual void clear() = 0;
+ virtual jboolean containsAll(::java::util::Collection *) = 0;
+ virtual jboolean isEmpty() = 0;
+ virtual jboolean removeAll(::java::util::Collection *) = 0;
+ virtual jboolean retainAll(::java::util::Collection *) = 0;
+ virtual JArray< ::java::lang::Object * > * toArray() = 0;
+ virtual JArray< ::java::lang::Object * > * toArray(JArray< ::java::lang::Object * > *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_util_Deque__
diff --git a/libjava/java/util/Dictionary.h b/libjava/java/util/Dictionary.h
new file mode 100644
index 0000000..5f02531
--- /dev/null
+++ b/libjava/java/util/Dictionary.h
@@ -0,0 +1,26 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_Dictionary__
+#define __java_util_Dictionary__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::Dictionary : public ::java::lang::Object
+{
+
+public:
+ Dictionary();
+ virtual ::java::util::Enumeration * elements() = 0;
+ virtual ::java::lang::Object * get(::java::lang::Object *) = 0;
+ virtual jboolean isEmpty() = 0;
+ virtual ::java::util::Enumeration * keys() = 0;
+ virtual ::java::lang::Object * put(::java::lang::Object *, ::java::lang::Object *) = 0;
+ virtual ::java::lang::Object * remove(::java::lang::Object *) = 0;
+ virtual jint size() = 0;
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_Dictionary__
diff --git a/libjava/java/util/DuplicateFormatFlagsException.h b/libjava/java/util/DuplicateFormatFlagsException.h
new file mode 100644
index 0000000..c384bc0
--- /dev/null
+++ b/libjava/java/util/DuplicateFormatFlagsException.h
@@ -0,0 +1,24 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_DuplicateFormatFlagsException__
+#define __java_util_DuplicateFormatFlagsException__
+
+#pragma interface
+
+#include <java/util/IllegalFormatException.h>
+
+class java::util::DuplicateFormatFlagsException : public ::java::util::IllegalFormatException
+{
+
+public:
+ DuplicateFormatFlagsException(::java::lang::String *);
+ virtual ::java::lang::String * getFlags();
+private:
+ static const jlong serialVersionUID = 18890531LL;
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::util::IllegalFormatException)))) flags;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_DuplicateFormatFlagsException__
diff --git a/libjava/java/util/EmptyStackException.h b/libjava/java/util/EmptyStackException.h
new file mode 100644
index 0000000..7b5b167
--- /dev/null
+++ b/libjava/java/util/EmptyStackException.h
@@ -0,0 +1,22 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_EmptyStackException__
+#define __java_util_EmptyStackException__
+
+#pragma interface
+
+#include <java/lang/RuntimeException.h>
+
+class java::util::EmptyStackException : public ::java::lang::RuntimeException
+{
+
+public:
+ EmptyStackException();
+private:
+ static const jlong serialVersionUID = 5084686378493302095LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_EmptyStackException__
diff --git a/libjava/java/util/EnumMap$1.h b/libjava/java/util/EnumMap$1.h
new file mode 100644
index 0000000..372f25f
--- /dev/null
+++ b/libjava/java/util/EnumMap$1.h
@@ -0,0 +1,29 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_EnumMap$1__
+#define __java_util_EnumMap$1__
+
+#pragma interface
+
+#include <java/util/AbstractSet.h>
+
+class java::util::EnumMap$1 : public ::java::util::AbstractSet
+{
+
+public: // actually package-private
+ EnumMap$1(::java::util::EnumMap *);
+public:
+ jint size();
+ ::java::util::Iterator * iterator();
+ void clear();
+ jboolean contains(::java::lang::Object *);
+ jboolean remove(::java::lang::Object *);
+public: // actually package-private
+ static ::java::util::EnumMap * access$0(::java::util::EnumMap$1 *);
+ ::java::util::EnumMap * __attribute__((aligned(__alignof__( ::java::util::AbstractSet)))) this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_EnumMap$1__
diff --git a/libjava/java/util/EnumMap$2.h b/libjava/java/util/EnumMap$2.h
new file mode 100644
index 0000000..325d8ad
--- /dev/null
+++ b/libjava/java/util/EnumMap$2.h
@@ -0,0 +1,29 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_EnumMap$2__
+#define __java_util_EnumMap$2__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::EnumMap$2 : public ::java::lang::Object
+{
+
+public: // actually package-private
+ EnumMap$2(::java::util::EnumMap$1 *);
+public:
+ jboolean hasNext();
+ ::java::lang::Enum * target$next();
+ void remove();
+ ::java::lang::Object * next();
+public: // actually package-private
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) count;
+ jint index;
+ ::java::util::EnumMap$1 * this$1;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_EnumMap$2__
diff --git a/libjava/java/util/EnumMap$3.h b/libjava/java/util/EnumMap$3.h
new file mode 100644
index 0000000..5682426
--- /dev/null
+++ b/libjava/java/util/EnumMap$3.h
@@ -0,0 +1,27 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_EnumMap$3__
+#define __java_util_EnumMap$3__
+
+#pragma interface
+
+#include <java/util/AbstractCollection.h>
+
+class java::util::EnumMap$3 : public ::java::util::AbstractCollection
+{
+
+public: // actually package-private
+ EnumMap$3(::java::util::EnumMap *);
+public:
+ jint size();
+ ::java::util::Iterator * iterator();
+ void clear();
+public: // actually package-private
+ static ::java::util::EnumMap * access$0(::java::util::EnumMap$3 *);
+ ::java::util::EnumMap * __attribute__((aligned(__alignof__( ::java::util::AbstractCollection)))) this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_EnumMap$3__
diff --git a/libjava/java/util/EnumMap$4.h b/libjava/java/util/EnumMap$4.h
new file mode 100644
index 0000000..4ea6286
--- /dev/null
+++ b/libjava/java/util/EnumMap$4.h
@@ -0,0 +1,28 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_EnumMap$4__
+#define __java_util_EnumMap$4__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::EnumMap$4 : public ::java::lang::Object
+{
+
+public: // actually package-private
+ EnumMap$4(::java::util::EnumMap$3 *);
+public:
+ jboolean hasNext();
+ ::java::lang::Object * next();
+ void remove();
+public: // actually package-private
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) count;
+ jint index;
+ ::java::util::EnumMap$3 * this$1;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_EnumMap$4__
diff --git a/libjava/java/util/EnumMap$5.h b/libjava/java/util/EnumMap$5.h
new file mode 100644
index 0000000..d38ef91
--- /dev/null
+++ b/libjava/java/util/EnumMap$5.h
@@ -0,0 +1,29 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_EnumMap$5__
+#define __java_util_EnumMap$5__
+
+#pragma interface
+
+#include <java/util/AbstractSet.h>
+
+class java::util::EnumMap$5 : public ::java::util::AbstractSet
+{
+
+public: // actually package-private
+ EnumMap$5(::java::util::EnumMap *);
+public:
+ jint size();
+ ::java::util::Iterator * iterator();
+ void clear();
+ jboolean contains(::java::lang::Object *);
+ jboolean remove(::java::lang::Object *);
+public: // actually package-private
+ static ::java::util::EnumMap * access$0(::java::util::EnumMap$5 *);
+ ::java::util::EnumMap * __attribute__((aligned(__alignof__( ::java::util::AbstractSet)))) this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_EnumMap$5__
diff --git a/libjava/java/util/EnumMap$6.h b/libjava/java/util/EnumMap$6.h
new file mode 100644
index 0000000..fde1cbd
--- /dev/null
+++ b/libjava/java/util/EnumMap$6.h
@@ -0,0 +1,30 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_EnumMap$6__
+#define __java_util_EnumMap$6__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::EnumMap$6 : public ::java::lang::Object
+{
+
+public: // actually package-private
+ EnumMap$6(::java::util::EnumMap$5 *);
+public:
+ jboolean hasNext();
+ ::java::util::Map$Entry * target$next();
+ void remove();
+ ::java::lang::Object * next();
+public: // actually package-private
+ static ::java::util::EnumMap$5 * access$1(::java::util::EnumMap$6 *);
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) count;
+ jint index;
+ ::java::util::EnumMap$5 * this$1;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_EnumMap$6__
diff --git a/libjava/java/util/EnumMap$7.h b/libjava/java/util/EnumMap$7.h
new file mode 100644
index 0000000..3e9439f
--- /dev/null
+++ b/libjava/java/util/EnumMap$7.h
@@ -0,0 +1,24 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_EnumMap$7__
+#define __java_util_EnumMap$7__
+
+#pragma interface
+
+#include <java/util/AbstractMap$SimpleEntry.h>
+
+class java::util::EnumMap$7 : public ::java::util::AbstractMap$SimpleEntry
+{
+
+public: // actually package-private
+ EnumMap$7(::java::util::EnumMap$6 *, ::java::lang::Enum *, ::java::lang::Object *);
+public:
+ ::java::lang::Object * setValue(::java::lang::Object *);
+public: // actually package-private
+ ::java::util::EnumMap$6 * __attribute__((aligned(__alignof__( ::java::util::AbstractMap$SimpleEntry)))) this$2;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_EnumMap$7__
diff --git a/libjava/java/util/EnumMap.h b/libjava/java/util/EnumMap.h
new file mode 100644
index 0000000..0c303d8
--- /dev/null
+++ b/libjava/java/util/EnumMap.h
@@ -0,0 +1,47 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_EnumMap__
+#define __java_util_EnumMap__
+
+#pragma interface
+
+#include <java/util/AbstractMap.h>
+#include <gcj/array.h>
+
+
+class java::util::EnumMap : public ::java::util::AbstractMap
+{
+
+public:
+ EnumMap(::java::lang::Class *);
+ EnumMap(::java::util::EnumMap *);
+ EnumMap(::java::util::Map *);
+ virtual jint size();
+ virtual jboolean containsValue(::java::lang::Object *);
+ virtual jboolean containsKey(::java::lang::Object *);
+ virtual ::java::lang::Object * get(::java::lang::Object *);
+ virtual ::java::lang::Object * target$put(::java::lang::Enum *, ::java::lang::Object *);
+ virtual ::java::lang::Object * remove(::java::lang::Object *);
+ virtual void putAll(::java::util::Map *);
+ virtual void clear();
+ virtual ::java::util::Set * keySet();
+ virtual ::java::util::Collection * values();
+ virtual ::java::util::Set * entrySet();
+ virtual jboolean equals(::java::lang::Object *);
+ virtual ::java::util::EnumMap * target$clone();
+ virtual ::java::lang::Object * clone();
+ virtual ::java::lang::Object * put(::java::lang::Object *, ::java::lang::Object *);
+private:
+ static const jlong serialVersionUID = 458661240069192865LL;
+public: // actually package-private
+ JArray< ::java::lang::Object * > * __attribute__((aligned(__alignof__( ::java::util::AbstractMap)))) store;
+ jint cardinality;
+ ::java::lang::Class * enumClass;
+ ::java::util::Set * entries;
+ static ::java::lang::Object * emptySlot;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_EnumMap__
diff --git a/libjava/java/util/EnumSet$1.h b/libjava/java/util/EnumSet$1.h
new file mode 100644
index 0000000..38088dc
--- /dev/null
+++ b/libjava/java/util/EnumSet$1.h
@@ -0,0 +1,29 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_EnumSet$1__
+#define __java_util_EnumSet$1__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::EnumSet$1 : public ::java::lang::Object
+{
+
+public: // actually package-private
+ EnumSet$1(::java::util::EnumSet *);
+public:
+ jboolean hasNext();
+ ::java::lang::Enum * target$next();
+ void remove();
+ ::java::lang::Object * next();
+public: // actually package-private
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) next__;
+ jint count;
+ ::java::util::EnumSet * this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_EnumSet$1__
diff --git a/libjava/java/util/EnumSet.h b/libjava/java/util/EnumSet.h
new file mode 100644
index 0000000..f0e2a7a
--- /dev/null
+++ b/libjava/java/util/EnumSet.h
@@ -0,0 +1,54 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_EnumSet__
+#define __java_util_EnumSet__
+
+#pragma interface
+
+#include <java/util/AbstractSet.h>
+#include <gcj/array.h>
+
+
+class java::util::EnumSet : public ::java::util::AbstractSet
+{
+
+public: // actually package-private
+ EnumSet();
+public:
+ virtual ::java::util::EnumSet * target$clone();
+ virtual jint size();
+ virtual ::java::util::Iterator * iterator();
+ virtual jboolean target$add(::java::lang::Enum *);
+ virtual jboolean addAll(::java::util::Collection *);
+ virtual void clear();
+ virtual jboolean contains(::java::lang::Object *);
+ virtual jboolean containsAll(::java::util::Collection *);
+ virtual jboolean remove(::java::lang::Object *);
+ virtual jboolean removeAll(::java::util::Collection *);
+ virtual jboolean retainAll(::java::util::Collection *);
+ static ::java::util::EnumSet * allOf(::java::lang::Class *);
+ static ::java::util::EnumSet * noneOf(::java::lang::Class *);
+ static ::java::util::EnumSet * copyOf(::java::util::EnumSet *);
+ static ::java::util::EnumSet * copyOf(::java::util::Collection *);
+ static ::java::util::EnumSet * complementOf(::java::util::EnumSet *);
+ static ::java::util::EnumSet * of(::java::lang::Enum *);
+ static ::java::util::EnumSet * of(::java::lang::Enum *, ::java::lang::Enum *);
+ static ::java::util::EnumSet * of(::java::lang::Enum *, ::java::lang::Enum *, ::java::lang::Enum *);
+ static ::java::util::EnumSet * of(::java::lang::Enum *, ::java::lang::Enum *, ::java::lang::Enum *, ::java::lang::Enum *);
+ static ::java::util::EnumSet * of(::java::lang::Enum *, ::java::lang::Enum *, ::java::lang::Enum *, ::java::lang::Enum *, ::java::lang::Enum *);
+ static ::java::util::EnumSet * of(::java::lang::Enum *, JArray< ::java::lang::Enum * > *);
+ static ::java::util::EnumSet * range(::java::lang::Enum *, ::java::lang::Enum *);
+ virtual ::java::lang::Object * clone();
+ virtual jboolean add(::java::lang::Object *);
+private:
+ static const jlong serialVersionUID = 4782406773684236311LL;
+public: // actually package-private
+ ::java::util::BitSet * __attribute__((aligned(__alignof__( ::java::util::AbstractSet)))) store;
+ jint cardinality;
+ ::java::lang::Class * enumClass;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_EnumSet__
diff --git a/libjava/java/util/Enumeration.h b/libjava/java/util/Enumeration.h
new file mode 100644
index 0000000..a79045f
--- /dev/null
+++ b/libjava/java/util/Enumeration.h
@@ -0,0 +1,20 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_Enumeration__
+#define __java_util_Enumeration__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::Enumeration : public ::java::lang::Object
+{
+
+public:
+ virtual jboolean hasMoreElements() = 0;
+ virtual ::java::lang::Object * nextElement() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_util_Enumeration__
diff --git a/libjava/java/util/EventListener.h b/libjava/java/util/EventListener.h
new file mode 100644
index 0000000..7ab4585
--- /dev/null
+++ b/libjava/java/util/EventListener.h
@@ -0,0 +1,18 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_EventListener__
+#define __java_util_EventListener__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::EventListener : public ::java::lang::Object
+{
+
+public:
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_util_EventListener__
diff --git a/libjava/java/util/EventListenerProxy.h b/libjava/java/util/EventListenerProxy.h
new file mode 100644
index 0000000..06f1650
--- /dev/null
+++ b/libjava/java/util/EventListenerProxy.h
@@ -0,0 +1,23 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_EventListenerProxy__
+#define __java_util_EventListenerProxy__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::EventListenerProxy : public ::java::lang::Object
+{
+
+public:
+ EventListenerProxy(::java::util::EventListener *);
+ virtual ::java::util::EventListener * getListener();
+private:
+ ::java::util::EventListener * __attribute__((aligned(__alignof__( ::java::lang::Object)))) listener;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_EventListenerProxy__
diff --git a/libjava/java/util/EventObject.h b/libjava/java/util/EventObject.h
new file mode 100644
index 0000000..bd1862b
--- /dev/null
+++ b/libjava/java/util/EventObject.h
@@ -0,0 +1,26 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_EventObject__
+#define __java_util_EventObject__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::EventObject : public ::java::lang::Object
+{
+
+public:
+ EventObject(::java::lang::Object *);
+ virtual ::java::lang::Object * getSource();
+ virtual ::java::lang::String * toString();
+private:
+ static const jlong serialVersionUID = 5516075349620653480LL;
+public: // actually protected
+ ::java::lang::Object * __attribute__((aligned(__alignof__( ::java::lang::Object)))) source;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_EventObject__
diff --git a/libjava/java/util/FormatFlagsConversionMismatchException.h b/libjava/java/util/FormatFlagsConversionMismatchException.h
new file mode 100644
index 0000000..ce0d3fe
--- /dev/null
+++ b/libjava/java/util/FormatFlagsConversionMismatchException.h
@@ -0,0 +1,26 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_FormatFlagsConversionMismatchException__
+#define __java_util_FormatFlagsConversionMismatchException__
+
+#pragma interface
+
+#include <java/util/IllegalFormatException.h>
+
+class java::util::FormatFlagsConversionMismatchException : public ::java::util::IllegalFormatException
+{
+
+public:
+ FormatFlagsConversionMismatchException(::java::lang::String *, jchar);
+ virtual jchar getConversion();
+ virtual ::java::lang::String * getFlags();
+private:
+ static const jlong serialVersionUID = 19120414LL;
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::util::IllegalFormatException)))) f;
+ jchar c;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_FormatFlagsConversionMismatchException__
diff --git a/libjava/java/util/Formattable.h b/libjava/java/util/Formattable.h
new file mode 100644
index 0000000..7af1df7
--- /dev/null
+++ b/libjava/java/util/Formattable.h
@@ -0,0 +1,19 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_Formattable__
+#define __java_util_Formattable__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::Formattable : public ::java::lang::Object
+{
+
+public:
+ virtual void formatTo(::java::util::Formatter *, jint, jint, jint) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_util_Formattable__
diff --git a/libjava/java/util/FormattableFlags.h b/libjava/java/util/FormattableFlags.h
new file mode 100644
index 0000000..36fba01
--- /dev/null
+++ b/libjava/java/util/FormattableFlags.h
@@ -0,0 +1,29 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_FormattableFlags__
+#define __java_util_FormattableFlags__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::FormattableFlags : public ::java::lang::Object
+{
+
+ FormattableFlags();
+public:
+ static const jint LEFT_JUSTIFY = 1;
+ static const jint UPPERCASE = 2;
+ static const jint ALTERNATE = 4;
+public: // actually package-private
+ static const jint PLUS = 8;
+ static const jint SPACE = 16;
+ static const jint ZERO = 32;
+ static const jint COMMA = 64;
+ static const jint PAREN = 128;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_FormattableFlags__
diff --git a/libjava/java/util/Formatter$BigDecimalLayoutForm.h b/libjava/java/util/Formatter$BigDecimalLayoutForm.h
new file mode 100644
index 0000000..a6ea3a8
--- /dev/null
+++ b/libjava/java/util/Formatter$BigDecimalLayoutForm.h
@@ -0,0 +1,28 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_Formatter$BigDecimalLayoutForm__
+#define __java_util_Formatter$BigDecimalLayoutForm__
+
+#pragma interface
+
+#include <java/lang/Enum.h>
+#include <gcj/array.h>
+
+
+class java::util::Formatter$BigDecimalLayoutForm : public ::java::lang::Enum
+{
+
+ Formatter$BigDecimalLayoutForm(::java::lang::String *, jint);
+public:
+ static JArray< ::java::util::Formatter$BigDecimalLayoutForm * > * values();
+ static ::java::util::Formatter$BigDecimalLayoutForm * valueOf(::java::lang::String *);
+ static ::java::util::Formatter$BigDecimalLayoutForm * DECIMAL_FLOAT;
+ static ::java::util::Formatter$BigDecimalLayoutForm * SCIENTIFIC;
+private:
+ static JArray< ::java::util::Formatter$BigDecimalLayoutForm * > * ENUM$VALUES;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_Formatter$BigDecimalLayoutForm__
diff --git a/libjava/java/util/Formatter.h b/libjava/java/util/Formatter.h
new file mode 100644
index 0000000..5d513ed
--- /dev/null
+++ b/libjava/java/util/Formatter.h
@@ -0,0 +1,90 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_Formatter__
+#define __java_util_Formatter__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace text
+ {
+ class DateFormatSymbols;
+ }
+ }
+}
+
+class java::util::Formatter : public ::java::lang::Object
+{
+
+public:
+ Formatter();
+ Formatter(::java::util::Locale *);
+ Formatter(::java::lang::Appendable *);
+ Formatter(::java::lang::Appendable *, ::java::util::Locale *);
+ Formatter(::java::io::File *);
+ Formatter(::java::io::File *, ::java::lang::String *);
+ Formatter(::java::io::File *, ::java::lang::String *, ::java::util::Locale *);
+ Formatter(::java::io::OutputStream *);
+ Formatter(::java::io::OutputStream *, ::java::lang::String *);
+ Formatter(::java::io::OutputStream *, ::java::lang::String *, ::java::util::Locale *);
+ Formatter(::java::io::PrintStream *);
+ Formatter(::java::lang::String *);
+ Formatter(::java::lang::String *, ::java::lang::String *);
+ Formatter(::java::lang::String *, ::java::lang::String *, ::java::util::Locale *);
+ void close();
+ void flush();
+private:
+ ::java::lang::String * getName(jint);
+ void checkFlags(jint, jint, jchar);
+ void noPrecision(jint);
+ void applyLocalization(::java::lang::StringBuilder *, jint, jint, jboolean);
+ void genericFormat(::java::lang::String *, jint, jint, jint);
+ void booleanFormat(::java::lang::Object *, jint, jint, jint, jchar);
+ void hashCodeFormat(::java::lang::Object *, jint, jint, jint, jchar);
+ void stringFormat(::java::lang::Object *, jint, jint, jint, jchar);
+ void characterFormat(::java::lang::Object *, jint, jint, jint, jchar);
+ void percentFormat(jint, jint, jint);
+ void newLineFormat(jint, jint, jint);
+ ::java::lang::StringBuilder * basicIntegralConversion(::java::lang::Object *, jint, jint, jint, jint, jchar);
+ void hexOrOctalConversion(::java::lang::Object *, jint, jint, jint, jint, jchar);
+ void decimalConversion(::java::lang::Object *, jint, jint, jint, jchar);
+ void singleDateTimeConversion(::java::lang::StringBuilder *, ::java::util::Calendar *, jchar, ::java::text::DateFormatSymbols *);
+ void dateTimeConversion(::java::lang::Object *, jint, jint, jint, jchar, jchar);
+ void advance();
+ jint parseInt();
+ jint parseArgumentIndex();
+ jint parseFlags();
+ jint parseWidth();
+ jint parsePrecision();
+public:
+ ::java::util::Formatter * format(::java::util::Locale *, ::java::lang::String *, JArray< ::java::lang::Object * > *);
+ ::java::util::Formatter * format(::java::lang::String *, JArray< ::java::lang::Object * > *);
+ ::java::io::IOException * ioException();
+ ::java::util::Locale * locale();
+ ::java::lang::Appendable * out();
+ ::java::lang::String * toString();
+private:
+ ::java::lang::Appendable * __attribute__((aligned(__alignof__( ::java::lang::Object)))) out__;
+ ::java::util::Locale * locale__;
+ jboolean closed;
+ ::java::io::IOException * ioException__;
+ ::java::lang::String * format__;
+ jint index;
+ jint length;
+ ::java::util::Locale * fmtLocale;
+ static ::java::lang::String * FLAGS;
+ static ::java::lang::String * lineSeparator;
+public: // actually package-private
+ static jboolean $assertionsDisabled;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_Formatter__
diff --git a/libjava/java/util/FormatterClosedException.h b/libjava/java/util/FormatterClosedException.h
new file mode 100644
index 0000000..e4e950b
--- /dev/null
+++ b/libjava/java/util/FormatterClosedException.h
@@ -0,0 +1,22 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_FormatterClosedException__
+#define __java_util_FormatterClosedException__
+
+#pragma interface
+
+#include <java/lang/IllegalStateException.h>
+
+class java::util::FormatterClosedException : public ::java::lang::IllegalStateException
+{
+
+public:
+ FormatterClosedException();
+private:
+ static const jlong serialVersionUID = 18111216LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_FormatterClosedException__
diff --git a/libjava/java/util/GregorianCalendar.h b/libjava/java/util/GregorianCalendar.h
new file mode 100644
index 0000000..46fb48e
--- /dev/null
+++ b/libjava/java/util/GregorianCalendar.h
@@ -0,0 +1,72 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_GregorianCalendar__
+#define __java_util_GregorianCalendar__
+
+#pragma interface
+
+#include <java/util/Calendar.h>
+#include <gcj/array.h>
+
+
+class java::util::GregorianCalendar : public ::java::util::Calendar
+{
+
+public:
+ GregorianCalendar();
+ GregorianCalendar(::java::util::TimeZone *);
+ GregorianCalendar(::java::util::Locale *);
+ GregorianCalendar(::java::util::TimeZone *, ::java::util::Locale *);
+private:
+ GregorianCalendar(::java::util::TimeZone *, ::java::util::Locale *, jboolean);
+public:
+ GregorianCalendar(jint, jint, jint);
+ GregorianCalendar(jint, jint, jint, jint, jint);
+ GregorianCalendar(jint, jint, jint, jint, jint, jint);
+ virtual void setGregorianChange(::java::util::Date *);
+ virtual ::java::util::Date * getGregorianChange();
+ virtual jboolean isLeapYear(jint);
+private:
+ jint getWeekDay(jint, jint);
+ jint getFirstDayOfMonth(jint, jint);
+ jboolean isGregorian(jint, jint);
+ void nonLeniencyCheck();
+public: // actually protected
+ virtual void computeTime();
+private:
+ jlong getLinearDay(jint, jint, jboolean);
+ void calculateDay(JArray< jint > *, jlong, jboolean);
+public: // actually protected
+ virtual void computeFields();
+public:
+ virtual jint hashCode();
+ virtual jboolean equals(::java::lang::Object *);
+ virtual void add(jint, jint);
+ virtual void roll(jint, jboolean);
+private:
+ void cleanUpAfterRoll(jint, jint);
+public:
+ virtual void roll(jint, jint);
+ virtual jint getMinimum(jint);
+ virtual jint getMaximum(jint);
+ virtual jint getGreatestMinimum(jint);
+ virtual jint getLeastMaximum(jint);
+ virtual jint getActualMinimum(jint);
+ virtual jint getActualMaximum(jint);
+ static const jint BC = 0;
+ static const jint AD = 1;
+private:
+ jlong __attribute__((aligned(__alignof__( ::java::util::Calendar)))) gregorianCutover;
+public: // actually package-private
+ static const jlong serialVersionUID = -8125100834729963327LL;
+private:
+ static ::java::lang::String * bundleName;
+ static const jint EPOCH_DAYS = 719162;
+ static JArray< jint > * minimums;
+ static JArray< jint > * maximums;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_GregorianCalendar__
diff --git a/libjava/java/util/HashMap$1.h b/libjava/java/util/HashMap$1.h
new file mode 100644
index 0000000..216fc615
--- /dev/null
+++ b/libjava/java/util/HashMap$1.h
@@ -0,0 +1,28 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_HashMap$1__
+#define __java_util_HashMap$1__
+
+#pragma interface
+
+#include <java/util/AbstractSet.h>
+
+class java::util::HashMap$1 : public ::java::util::AbstractSet
+{
+
+public: // actually package-private
+ HashMap$1(::java::util::HashMap *);
+public:
+ jint size();
+ ::java::util::Iterator * iterator();
+ void clear();
+ jboolean contains(::java::lang::Object *);
+ jboolean remove(::java::lang::Object *);
+public: // actually package-private
+ ::java::util::HashMap * __attribute__((aligned(__alignof__( ::java::util::AbstractSet)))) this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_HashMap$1__
diff --git a/libjava/java/util/HashMap$2.h b/libjava/java/util/HashMap$2.h
new file mode 100644
index 0000000..3baedc5
--- /dev/null
+++ b/libjava/java/util/HashMap$2.h
@@ -0,0 +1,26 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_HashMap$2__
+#define __java_util_HashMap$2__
+
+#pragma interface
+
+#include <java/util/AbstractCollection.h>
+
+class java::util::HashMap$2 : public ::java::util::AbstractCollection
+{
+
+public: // actually package-private
+ HashMap$2(::java::util::HashMap *);
+public:
+ jint size();
+ ::java::util::Iterator * iterator();
+ void clear();
+public: // actually package-private
+ ::java::util::HashMap * __attribute__((aligned(__alignof__( ::java::util::AbstractCollection)))) this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_HashMap$2__
diff --git a/libjava/java/util/HashMap$3.h b/libjava/java/util/HashMap$3.h
new file mode 100644
index 0000000..b08e464
--- /dev/null
+++ b/libjava/java/util/HashMap$3.h
@@ -0,0 +1,28 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_HashMap$3__
+#define __java_util_HashMap$3__
+
+#pragma interface
+
+#include <java/util/AbstractSet.h>
+
+class java::util::HashMap$3 : public ::java::util::AbstractSet
+{
+
+public: // actually package-private
+ HashMap$3(::java::util::HashMap *);
+public:
+ jint size();
+ ::java::util::Iterator * iterator();
+ void clear();
+ jboolean contains(::java::lang::Object *);
+ jboolean remove(::java::lang::Object *);
+public: // actually package-private
+ ::java::util::HashMap * __attribute__((aligned(__alignof__( ::java::util::AbstractSet)))) this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_HashMap$3__
diff --git a/libjava/java/util/HashMap$HashEntry.h b/libjava/java/util/HashMap$HashEntry.h
new file mode 100644
index 0000000..9f0093d
--- /dev/null
+++ b/libjava/java/util/HashMap$HashEntry.h
@@ -0,0 +1,23 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_HashMap$HashEntry__
+#define __java_util_HashMap$HashEntry__
+
+#pragma interface
+
+#include <java/util/AbstractMap$SimpleEntry.h>
+
+class java::util::HashMap$HashEntry : public ::java::util::AbstractMap$SimpleEntry
+{
+
+public: // actually package-private
+ HashMap$HashEntry(::java::lang::Object *, ::java::lang::Object *);
+ virtual void access();
+ virtual ::java::lang::Object * cleanup();
+ ::java::util::HashMap$HashEntry * __attribute__((aligned(__alignof__( ::java::util::AbstractMap$SimpleEntry)))) next;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_HashMap$HashEntry__
diff --git a/libjava/java/util/HashMap$HashIterator.h b/libjava/java/util/HashMap$HashIterator.h
new file mode 100644
index 0000000..b56fb35
--- /dev/null
+++ b/libjava/java/util/HashMap$HashIterator.h
@@ -0,0 +1,33 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_HashMap$HashIterator__
+#define __java_util_HashMap$HashIterator__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::HashMap$HashIterator : public ::java::lang::Object
+{
+
+public: // actually package-private
+ HashMap$HashIterator(::java::util::HashMap *, jint);
+public:
+ jboolean hasNext();
+ ::java::lang::Object * next();
+ void remove();
+private:
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) type;
+ jint knownMod;
+ jint count;
+ jint idx;
+ ::java::util::HashMap$HashEntry * last;
+ ::java::util::HashMap$HashEntry * next__;
+public: // actually package-private
+ ::java::util::HashMap * this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_HashMap$HashIterator__
diff --git a/libjava/java/util/HashMap.h b/libjava/java/util/HashMap.h
new file mode 100644
index 0000000..5b8c77f
--- /dev/null
+++ b/libjava/java/util/HashMap.h
@@ -0,0 +1,61 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_HashMap__
+#define __java_util_HashMap__
+
+#pragma interface
+
+#include <java/util/AbstractMap.h>
+#include <gcj/array.h>
+
+
+class java::util::HashMap : public ::java::util::AbstractMap
+{
+
+public:
+ HashMap();
+ HashMap(::java::util::Map *);
+ HashMap(jint);
+ HashMap(jint, jfloat);
+ virtual jint size();
+ virtual jboolean isEmpty();
+ virtual ::java::lang::Object * get(::java::lang::Object *);
+ virtual jboolean containsKey(::java::lang::Object *);
+ virtual ::java::lang::Object * put(::java::lang::Object *, ::java::lang::Object *);
+ virtual void putAll(::java::util::Map *);
+ virtual ::java::lang::Object * remove(::java::lang::Object *);
+ virtual void clear();
+ virtual jboolean containsValue(::java::lang::Object *);
+ virtual ::java::lang::Object * clone();
+ virtual ::java::util::Set * keySet();
+ virtual ::java::util::Collection * values();
+ virtual ::java::util::Set * entrySet();
+public: // actually package-private
+ virtual void addEntry(::java::lang::Object *, ::java::lang::Object *, jint, jboolean);
+ virtual ::java::util::HashMap$HashEntry * getEntry(::java::lang::Object *);
+ virtual jint hash(::java::lang::Object *);
+ virtual ::java::util::Iterator * iterator(jint);
+ virtual void putAllInternal(::java::util::Map *);
+private:
+ void rehash();
+ void writeObject(::java::io::ObjectOutputStream *);
+ void readObject(::java::io::ObjectInputStream *);
+public: // actually package-private
+ static const jint DEFAULT_CAPACITY = 11;
+ static jfloat DEFAULT_LOAD_FACTOR;
+private:
+ static const jlong serialVersionUID = 362498820763181265LL;
+ jint __attribute__((aligned(__alignof__( ::java::util::AbstractMap)))) threshold;
+public: // actually package-private
+ jfloat loadFactor;
+ JArray< ::java::util::HashMap$HashEntry * > * buckets;
+ jint modCount;
+ jint size__;
+private:
+ ::java::util::Set * entries;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_HashMap__
diff --git a/libjava/java/util/HashSet.h b/libjava/java/util/HashSet.h
new file mode 100644
index 0000000..0d96ab9
--- /dev/null
+++ b/libjava/java/util/HashSet.h
@@ -0,0 +1,38 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_HashSet__
+#define __java_util_HashSet__
+
+#pragma interface
+
+#include <java/util/AbstractSet.h>
+
+class java::util::HashSet : public ::java::util::AbstractSet
+{
+
+public:
+ HashSet();
+ HashSet(jint);
+ HashSet(jint, jfloat);
+ HashSet(::java::util::Collection *);
+ virtual jboolean add(::java::lang::Object *);
+ virtual void clear();
+ virtual ::java::lang::Object * clone();
+ virtual jboolean contains(::java::lang::Object *);
+ virtual jboolean isEmpty();
+ virtual ::java::util::Iterator * iterator();
+ virtual jboolean remove(::java::lang::Object *);
+ virtual jint size();
+public: // actually package-private
+ virtual ::java::util::HashMap * init(jint, jfloat);
+private:
+ void writeObject(::java::io::ObjectOutputStream *);
+ void readObject(::java::io::ObjectInputStream *);
+ static const jlong serialVersionUID = -5024744406713321676LL;
+ ::java::util::HashMap * __attribute__((aligned(__alignof__( ::java::util::AbstractSet)))) map;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_HashSet__
diff --git a/libjava/java/util/Hashtable$1.h b/libjava/java/util/Hashtable$1.h
new file mode 100644
index 0000000..3400f043
--- /dev/null
+++ b/libjava/java/util/Hashtable$1.h
@@ -0,0 +1,28 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_Hashtable$1__
+#define __java_util_Hashtable$1__
+
+#pragma interface
+
+#include <java/util/AbstractSet.h>
+
+class java::util::Hashtable$1 : public ::java::util::AbstractSet
+{
+
+public: // actually package-private
+ Hashtable$1(::java::util::Hashtable *);
+public:
+ jint size();
+ ::java::util::Iterator * iterator();
+ void clear();
+ jboolean contains(::java::lang::Object *);
+ jboolean remove(::java::lang::Object *);
+public: // actually package-private
+ ::java::util::Hashtable * __attribute__((aligned(__alignof__( ::java::util::AbstractSet)))) this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_Hashtable$1__
diff --git a/libjava/java/util/Hashtable$2.h b/libjava/java/util/Hashtable$2.h
new file mode 100644
index 0000000..7f099d5
--- /dev/null
+++ b/libjava/java/util/Hashtable$2.h
@@ -0,0 +1,26 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_Hashtable$2__
+#define __java_util_Hashtable$2__
+
+#pragma interface
+
+#include <java/util/AbstractCollection.h>
+
+class java::util::Hashtable$2 : public ::java::util::AbstractCollection
+{
+
+public: // actually package-private
+ Hashtable$2(::java::util::Hashtable *);
+public:
+ jint size();
+ ::java::util::Iterator * iterator();
+ void clear();
+public: // actually package-private
+ ::java::util::Hashtable * __attribute__((aligned(__alignof__( ::java::util::AbstractCollection)))) this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_Hashtable$2__
diff --git a/libjava/java/util/Hashtable$3.h b/libjava/java/util/Hashtable$3.h
new file mode 100644
index 0000000..bb8bd28
--- /dev/null
+++ b/libjava/java/util/Hashtable$3.h
@@ -0,0 +1,28 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_Hashtable$3__
+#define __java_util_Hashtable$3__
+
+#pragma interface
+
+#include <java/util/AbstractSet.h>
+
+class java::util::Hashtable$3 : public ::java::util::AbstractSet
+{
+
+public: // actually package-private
+ Hashtable$3(::java::util::Hashtable *);
+public:
+ jint size();
+ ::java::util::Iterator * iterator();
+ void clear();
+ jboolean contains(::java::lang::Object *);
+ jboolean remove(::java::lang::Object *);
+public: // actually package-private
+ ::java::util::Hashtable * __attribute__((aligned(__alignof__( ::java::util::AbstractSet)))) this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_Hashtable$3__
diff --git a/libjava/java/util/Hashtable$EntryEnumerator.h b/libjava/java/util/Hashtable$EntryEnumerator.h
new file mode 100644
index 0000000..1480d18
--- /dev/null
+++ b/libjava/java/util/Hashtable$EntryEnumerator.h
@@ -0,0 +1,29 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_Hashtable$EntryEnumerator__
+#define __java_util_Hashtable$EntryEnumerator__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::Hashtable$EntryEnumerator : public ::java::lang::Object
+{
+
+public: // actually package-private
+ Hashtable$EntryEnumerator(::java::util::Hashtable *);
+public:
+ virtual jboolean hasMoreElements();
+ virtual ::java::util::Map$Entry * target$nextElement();
+ virtual ::java::lang::Object * nextElement();
+public: // actually package-private
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) count;
+ jint idx;
+ ::java::util::Hashtable$HashEntry * next;
+ ::java::util::Hashtable * this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_Hashtable$EntryEnumerator__
diff --git a/libjava/java/util/Hashtable$EntryIterator.h b/libjava/java/util/Hashtable$EntryIterator.h
new file mode 100644
index 0000000..d70d486
--- /dev/null
+++ b/libjava/java/util/Hashtable$EntryIterator.h
@@ -0,0 +1,32 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_Hashtable$EntryIterator__
+#define __java_util_Hashtable$EntryIterator__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::Hashtable$EntryIterator : public ::java::lang::Object
+{
+
+public: // actually package-private
+ Hashtable$EntryIterator(::java::util::Hashtable *);
+public:
+ virtual jboolean hasNext();
+ virtual ::java::util::Map$Entry * target$next();
+ virtual void remove();
+ virtual ::java::lang::Object * next();
+public: // actually package-private
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) knownMod;
+ jint count;
+ jint idx;
+ ::java::util::Hashtable$HashEntry * last;
+ ::java::util::Hashtable$HashEntry * next__;
+ ::java::util::Hashtable * this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_Hashtable$EntryIterator__
diff --git a/libjava/java/util/Hashtable$HashEntry.h b/libjava/java/util/Hashtable$HashEntry.h
new file mode 100644
index 0000000..c0a1c58
--- /dev/null
+++ b/libjava/java/util/Hashtable$HashEntry.h
@@ -0,0 +1,24 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_Hashtable$HashEntry__
+#define __java_util_Hashtable$HashEntry__
+
+#pragma interface
+
+#include <java/util/AbstractMap$SimpleEntry.h>
+
+class java::util::Hashtable$HashEntry : public ::java::util::AbstractMap$SimpleEntry
+{
+
+public: // actually package-private
+ Hashtable$HashEntry(::java::lang::Object *, ::java::lang::Object *);
+public:
+ ::java::lang::Object * setValue(::java::lang::Object *);
+public: // actually package-private
+ ::java::util::Hashtable$HashEntry * __attribute__((aligned(__alignof__( ::java::util::AbstractMap$SimpleEntry)))) next;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_Hashtable$HashEntry__
diff --git a/libjava/java/util/Hashtable$KeyEnumerator.h b/libjava/java/util/Hashtable$KeyEnumerator.h
new file mode 100644
index 0000000..db4765d
--- /dev/null
+++ b/libjava/java/util/Hashtable$KeyEnumerator.h
@@ -0,0 +1,27 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_Hashtable$KeyEnumerator__
+#define __java_util_Hashtable$KeyEnumerator__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::Hashtable$KeyEnumerator : public ::java::lang::Object
+{
+
+public: // actually package-private
+ Hashtable$KeyEnumerator(::java::util::Hashtable *);
+public:
+ jboolean hasMoreElements();
+ ::java::lang::Object * nextElement();
+private:
+ ::java::util::Hashtable$EntryEnumerator * __attribute__((aligned(__alignof__( ::java::lang::Object)))) enumerator;
+public: // actually package-private
+ ::java::util::Hashtable * this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_Hashtable$KeyEnumerator__
diff --git a/libjava/java/util/Hashtable$KeyIterator.h b/libjava/java/util/Hashtable$KeyIterator.h
new file mode 100644
index 0000000..faf1d93
--- /dev/null
+++ b/libjava/java/util/Hashtable$KeyIterator.h
@@ -0,0 +1,28 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_Hashtable$KeyIterator__
+#define __java_util_Hashtable$KeyIterator__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::Hashtable$KeyIterator : public ::java::lang::Object
+{
+
+public: // actually package-private
+ Hashtable$KeyIterator(::java::util::Hashtable *);
+public:
+ virtual jboolean hasNext();
+ virtual ::java::lang::Object * next();
+ virtual void remove();
+private:
+ ::java::util::Hashtable$EntryIterator * __attribute__((aligned(__alignof__( ::java::lang::Object)))) iterator;
+public: // actually package-private
+ ::java::util::Hashtable * this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_Hashtable$KeyIterator__
diff --git a/libjava/java/util/Hashtable$ValueEnumerator.h b/libjava/java/util/Hashtable$ValueEnumerator.h
new file mode 100644
index 0000000..4dce71a
--- /dev/null
+++ b/libjava/java/util/Hashtable$ValueEnumerator.h
@@ -0,0 +1,27 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_Hashtable$ValueEnumerator__
+#define __java_util_Hashtable$ValueEnumerator__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::Hashtable$ValueEnumerator : public ::java::lang::Object
+{
+
+public: // actually package-private
+ Hashtable$ValueEnumerator(::java::util::Hashtable *);
+public:
+ jboolean hasMoreElements();
+ ::java::lang::Object * nextElement();
+private:
+ ::java::util::Hashtable$EntryEnumerator * __attribute__((aligned(__alignof__( ::java::lang::Object)))) enumerator;
+public: // actually package-private
+ ::java::util::Hashtable * this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_Hashtable$ValueEnumerator__
diff --git a/libjava/java/util/Hashtable$ValueIterator.h b/libjava/java/util/Hashtable$ValueIterator.h
new file mode 100644
index 0000000..d252798
--- /dev/null
+++ b/libjava/java/util/Hashtable$ValueIterator.h
@@ -0,0 +1,28 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_Hashtable$ValueIterator__
+#define __java_util_Hashtable$ValueIterator__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::Hashtable$ValueIterator : public ::java::lang::Object
+{
+
+public: // actually package-private
+ Hashtable$ValueIterator(::java::util::Hashtable *);
+public:
+ virtual jboolean hasNext();
+ virtual ::java::lang::Object * next();
+ virtual void remove();
+private:
+ ::java::util::Hashtable$EntryIterator * __attribute__((aligned(__alignof__( ::java::lang::Object)))) iterator;
+public: // actually package-private
+ ::java::util::Hashtable * this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_Hashtable$ValueIterator__
diff --git a/libjava/java/util/Hashtable.h b/libjava/java/util/Hashtable.h
new file mode 100644
index 0000000..bc33cb1
--- /dev/null
+++ b/libjava/java/util/Hashtable.h
@@ -0,0 +1,67 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_Hashtable__
+#define __java_util_Hashtable__
+
+#pragma interface
+
+#include <java/util/Dictionary.h>
+#include <gcj/array.h>
+
+
+class java::util::Hashtable : public ::java::util::Dictionary
+{
+
+public:
+ Hashtable();
+ Hashtable(::java::util::Map *);
+ Hashtable(jint);
+ Hashtable(jint, jfloat);
+ virtual jint size();
+ virtual jboolean isEmpty();
+ virtual ::java::util::Enumeration * keys();
+ virtual ::java::util::Enumeration * elements();
+ virtual jboolean contains(::java::lang::Object *);
+ virtual jboolean containsValue(::java::lang::Object *);
+ virtual jboolean containsKey(::java::lang::Object *);
+ virtual ::java::lang::Object * get(::java::lang::Object *);
+ virtual ::java::lang::Object * put(::java::lang::Object *, ::java::lang::Object *);
+ virtual ::java::lang::Object * remove(::java::lang::Object *);
+ virtual void putAll(::java::util::Map *);
+ virtual void clear();
+ virtual ::java::lang::Object * clone();
+ virtual ::java::lang::String * toString();
+ virtual ::java::util::Set * keySet();
+ virtual ::java::util::Collection * values();
+ virtual ::java::util::Set * entrySet();
+ virtual jboolean equals(::java::lang::Object *);
+ virtual jint hashCode();
+private:
+ jint hash(::java::lang::Object *);
+public: // actually package-private
+ virtual ::java::util::Hashtable$HashEntry * getEntry(::java::lang::Object *);
+ virtual void putAllInternal(::java::util::Map *);
+public: // actually protected
+ virtual void rehash();
+private:
+ void writeObject(::java::io::ObjectOutputStream *);
+ void readObject(::java::io::ObjectInputStream *);
+ static const jint DEFAULT_CAPACITY = 11;
+ static jfloat DEFAULT_LOAD_FACTOR;
+ static const jlong serialVersionUID = 1421746759512286392LL;
+ jint __attribute__((aligned(__alignof__( ::java::util::Dictionary)))) threshold;
+ jfloat loadFactor;
+public: // actually package-private
+ JArray< ::java::util::Hashtable$HashEntry * > * buckets;
+ jint modCount;
+ jint size__;
+private:
+ ::java::util::Set * keys__;
+ ::java::util::Collection * values__;
+ ::java::util::Set * entries;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_Hashtable__
diff --git a/libjava/java/util/IdentityHashMap$1.h b/libjava/java/util/IdentityHashMap$1.h
new file mode 100644
index 0000000..6db083c
--- /dev/null
+++ b/libjava/java/util/IdentityHashMap$1.h
@@ -0,0 +1,29 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_IdentityHashMap$1__
+#define __java_util_IdentityHashMap$1__
+
+#pragma interface
+
+#include <java/util/AbstractSet.h>
+
+class java::util::IdentityHashMap$1 : public ::java::util::AbstractSet
+{
+
+public: // actually package-private
+ IdentityHashMap$1(::java::util::IdentityHashMap *);
+public:
+ jint size();
+ ::java::util::Iterator * iterator();
+ void clear();
+ jboolean contains(::java::lang::Object *);
+ jint hashCode();
+ jboolean remove(::java::lang::Object *);
+public: // actually package-private
+ ::java::util::IdentityHashMap * __attribute__((aligned(__alignof__( ::java::util::AbstractSet)))) this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_IdentityHashMap$1__
diff --git a/libjava/java/util/IdentityHashMap$2.h b/libjava/java/util/IdentityHashMap$2.h
new file mode 100644
index 0000000..b8d6ab6
--- /dev/null
+++ b/libjava/java/util/IdentityHashMap$2.h
@@ -0,0 +1,29 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_IdentityHashMap$2__
+#define __java_util_IdentityHashMap$2__
+
+#pragma interface
+
+#include <java/util/AbstractSet.h>
+
+class java::util::IdentityHashMap$2 : public ::java::util::AbstractSet
+{
+
+public: // actually package-private
+ IdentityHashMap$2(::java::util::IdentityHashMap *);
+public:
+ jint size();
+ ::java::util::Iterator * iterator();
+ void clear();
+ jboolean contains(::java::lang::Object *);
+ jint hashCode();
+ jboolean remove(::java::lang::Object *);
+public: // actually package-private
+ ::java::util::IdentityHashMap * __attribute__((aligned(__alignof__( ::java::util::AbstractSet)))) this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_IdentityHashMap$2__
diff --git a/libjava/java/util/IdentityHashMap$3.h b/libjava/java/util/IdentityHashMap$3.h
new file mode 100644
index 0000000..d2a3975
--- /dev/null
+++ b/libjava/java/util/IdentityHashMap$3.h
@@ -0,0 +1,27 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_IdentityHashMap$3__
+#define __java_util_IdentityHashMap$3__
+
+#pragma interface
+
+#include <java/util/AbstractCollection.h>
+
+class java::util::IdentityHashMap$3 : public ::java::util::AbstractCollection
+{
+
+public: // actually package-private
+ IdentityHashMap$3(::java::util::IdentityHashMap *);
+public:
+ jint size();
+ ::java::util::Iterator * iterator();
+ void clear();
+ jboolean remove(::java::lang::Object *);
+public: // actually package-private
+ ::java::util::IdentityHashMap * __attribute__((aligned(__alignof__( ::java::util::AbstractCollection)))) this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_IdentityHashMap$3__
diff --git a/libjava/java/util/IdentityHashMap$IdentityEntry.h b/libjava/java/util/IdentityHashMap$IdentityEntry.h
new file mode 100644
index 0000000..be9fa72
--- /dev/null
+++ b/libjava/java/util/IdentityHashMap$IdentityEntry.h
@@ -0,0 +1,31 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_IdentityHashMap$IdentityEntry__
+#define __java_util_IdentityHashMap$IdentityEntry__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::IdentityHashMap$IdentityEntry : public ::java::lang::Object
+{
+
+public: // actually package-private
+ IdentityHashMap$IdentityEntry(::java::util::IdentityHashMap *, jint);
+public:
+ jboolean equals(::java::lang::Object *);
+ ::java::lang::Object * getKey();
+ ::java::lang::Object * getValue();
+ jint hashCode();
+ ::java::lang::Object * setValue(::java::lang::Object *);
+ ::java::lang::String * toString();
+public: // actually package-private
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) loc;
+ jint knownMod;
+ ::java::util::IdentityHashMap * this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_IdentityHashMap$IdentityEntry__
diff --git a/libjava/java/util/IdentityHashMap$IdentityIterator.h b/libjava/java/util/IdentityHashMap$IdentityIterator.h
new file mode 100644
index 0000000..d2ab43e
--- /dev/null
+++ b/libjava/java/util/IdentityHashMap$IdentityIterator.h
@@ -0,0 +1,30 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_IdentityHashMap$IdentityIterator__
+#define __java_util_IdentityHashMap$IdentityIterator__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::IdentityHashMap$IdentityIterator : public ::java::lang::Object
+{
+
+public: // actually package-private
+ IdentityHashMap$IdentityIterator(::java::util::IdentityHashMap *, jint);
+public:
+ virtual jboolean hasNext();
+ virtual ::java::lang::Object * next();
+ virtual void remove();
+public: // actually package-private
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) type;
+ jint knownMod;
+ jint count;
+ jint loc;
+ ::java::util::IdentityHashMap * this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_IdentityHashMap$IdentityIterator__
diff --git a/libjava/java/util/IdentityHashMap.h b/libjava/java/util/IdentityHashMap.h
new file mode 100644
index 0000000..9e77a4b
--- /dev/null
+++ b/libjava/java/util/IdentityHashMap.h
@@ -0,0 +1,61 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_IdentityHashMap__
+#define __java_util_IdentityHashMap__
+
+#pragma interface
+
+#include <java/util/AbstractMap.h>
+#include <gcj/array.h>
+
+
+class java::util::IdentityHashMap : public ::java::util::AbstractMap
+{
+
+public:
+ IdentityHashMap();
+ IdentityHashMap(jint);
+ IdentityHashMap(::java::util::Map *);
+ virtual void clear();
+ virtual ::java::lang::Object * clone();
+ virtual jboolean containsKey(::java::lang::Object *);
+ virtual jboolean containsValue(::java::lang::Object *);
+ virtual ::java::util::Set * entrySet();
+ virtual jboolean equals(::java::lang::Object *);
+ virtual ::java::lang::Object * get(::java::lang::Object *);
+ virtual jint hashCode();
+ virtual jboolean isEmpty();
+ virtual ::java::util::Set * keySet();
+ virtual ::java::lang::Object * put(::java::lang::Object *, ::java::lang::Object *);
+ virtual void putAll(::java::util::Map *);
+public: // actually package-private
+ virtual void removeAtIndex(jint);
+public:
+ virtual ::java::lang::Object * remove(::java::lang::Object *);
+ virtual jint size();
+ virtual ::java::util::Collection * values();
+public: // actually package-private
+ virtual ::java::lang::Object * xform(::java::lang::Object *);
+ virtual ::java::lang::Object * unxform(::java::lang::Object *);
+ virtual jint hash(::java::lang::Object *);
+private:
+ void readObject(::java::io::ObjectInputStream *);
+ void writeObject(::java::io::ObjectOutputStream *);
+ static const jint DEFAULT_CAPACITY = 21;
+public: // actually package-private
+ static ::java::lang::Object * nullslot;
+private:
+ static const jlong serialVersionUID = 8188218128353913216LL;
+public: // actually package-private
+ jint __attribute__((aligned(__alignof__( ::java::util::AbstractMap)))) size__;
+ JArray< ::java::lang::Object * > * table;
+ jint modCount;
+private:
+ ::java::util::Set * entries;
+ jint threshold;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_IdentityHashMap__
diff --git a/libjava/java/util/IllegalFormatCodePointException.h b/libjava/java/util/IllegalFormatCodePointException.h
new file mode 100644
index 0000000..30801b6
--- /dev/null
+++ b/libjava/java/util/IllegalFormatCodePointException.h
@@ -0,0 +1,25 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_IllegalFormatCodePointException__
+#define __java_util_IllegalFormatCodePointException__
+
+#pragma interface
+
+#include <java/util/IllegalFormatException.h>
+
+class java::util::IllegalFormatCodePointException : public ::java::util::IllegalFormatException
+{
+
+public:
+ IllegalFormatCodePointException(jint);
+ virtual jint getCodePoint();
+private:
+ static const jlong serialVersionUID = 19080630LL;
+public: // actually package-private
+ jint __attribute__((aligned(__alignof__( ::java::util::IllegalFormatException)))) c;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_IllegalFormatCodePointException__
diff --git a/libjava/java/util/IllegalFormatConversionException.h b/libjava/java/util/IllegalFormatConversionException.h
new file mode 100644
index 0000000..b6b7e81
--- /dev/null
+++ b/libjava/java/util/IllegalFormatConversionException.h
@@ -0,0 +1,27 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_IllegalFormatConversionException__
+#define __java_util_IllegalFormatConversionException__
+
+#pragma interface
+
+#include <java/util/IllegalFormatException.h>
+
+class java::util::IllegalFormatConversionException : public ::java::util::IllegalFormatException
+{
+
+public:
+ IllegalFormatConversionException(jchar, ::java::lang::Class *);
+ virtual jchar getConversion();
+ virtual ::java::lang::Class * getArgumentClass();
+private:
+ static const jlong serialVersionUID = 17000126LL;
+public: // actually package-private
+ jchar __attribute__((aligned(__alignof__( ::java::util::IllegalFormatException)))) c;
+ ::java::lang::Class * arg;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_IllegalFormatConversionException__
diff --git a/libjava/java/util/IllegalFormatException.h b/libjava/java/util/IllegalFormatException.h
new file mode 100644
index 0000000..bf5f408
--- /dev/null
+++ b/libjava/java/util/IllegalFormatException.h
@@ -0,0 +1,23 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_IllegalFormatException__
+#define __java_util_IllegalFormatException__
+
+#pragma interface
+
+#include <java/lang/IllegalArgumentException.h>
+
+class java::util::IllegalFormatException : public ::java::lang::IllegalArgumentException
+{
+
+public: // actually package-private
+ IllegalFormatException();
+ IllegalFormatException(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = 18830826LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_IllegalFormatException__
diff --git a/libjava/java/util/IllegalFormatFlagsException.h b/libjava/java/util/IllegalFormatFlagsException.h
new file mode 100644
index 0000000..c5c13c0
--- /dev/null
+++ b/libjava/java/util/IllegalFormatFlagsException.h
@@ -0,0 +1,24 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_IllegalFormatFlagsException__
+#define __java_util_IllegalFormatFlagsException__
+
+#pragma interface
+
+#include <java/util/IllegalFormatException.h>
+
+class java::util::IllegalFormatFlagsException : public ::java::util::IllegalFormatException
+{
+
+public:
+ IllegalFormatFlagsException(::java::lang::String *);
+ virtual ::java::lang::String * getFlags();
+private:
+ static const jlong serialVersionUID = 790824LL;
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::util::IllegalFormatException)))) flags;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_IllegalFormatFlagsException__
diff --git a/libjava/java/util/IllegalFormatPrecisionException.h b/libjava/java/util/IllegalFormatPrecisionException.h
new file mode 100644
index 0000000..a4ca0ec
--- /dev/null
+++ b/libjava/java/util/IllegalFormatPrecisionException.h
@@ -0,0 +1,24 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_IllegalFormatPrecisionException__
+#define __java_util_IllegalFormatPrecisionException__
+
+#pragma interface
+
+#include <java/util/IllegalFormatException.h>
+
+class java::util::IllegalFormatPrecisionException : public ::java::util::IllegalFormatException
+{
+
+public:
+ IllegalFormatPrecisionException(jint);
+ virtual jint getPrecision();
+private:
+ static const jlong serialVersionUID = 18711008LL;
+ jint __attribute__((aligned(__alignof__( ::java::util::IllegalFormatException)))) p;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_IllegalFormatPrecisionException__
diff --git a/libjava/java/util/IllegalFormatWidthException.h b/libjava/java/util/IllegalFormatWidthException.h
new file mode 100644
index 0000000..e278642
--- /dev/null
+++ b/libjava/java/util/IllegalFormatWidthException.h
@@ -0,0 +1,24 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_IllegalFormatWidthException__
+#define __java_util_IllegalFormatWidthException__
+
+#pragma interface
+
+#include <java/util/IllegalFormatException.h>
+
+class java::util::IllegalFormatWidthException : public ::java::util::IllegalFormatException
+{
+
+public:
+ IllegalFormatWidthException(jint);
+ virtual jint getWidth();
+private:
+ static const jlong serialVersionUID = 16660902LL;
+ jint __attribute__((aligned(__alignof__( ::java::util::IllegalFormatException)))) w;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_IllegalFormatWidthException__
diff --git a/libjava/java/util/InputMismatchException.h b/libjava/java/util/InputMismatchException.h
new file mode 100644
index 0000000..d1d7216
--- /dev/null
+++ b/libjava/java/util/InputMismatchException.h
@@ -0,0 +1,20 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_InputMismatchException__
+#define __java_util_InputMismatchException__
+
+#pragma interface
+
+#include <java/util/NoSuchElementException.h>
+
+class java::util::InputMismatchException : public ::java::util::NoSuchElementException
+{
+
+public:
+ InputMismatchException();
+ InputMismatchException(::java::lang::String *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_InputMismatchException__
diff --git a/libjava/java/util/InvalidPropertiesFormatException.h b/libjava/java/util/InvalidPropertiesFormatException.h
new file mode 100644
index 0000000..0380e88
--- /dev/null
+++ b/libjava/java/util/InvalidPropertiesFormatException.h
@@ -0,0 +1,25 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_InvalidPropertiesFormatException__
+#define __java_util_InvalidPropertiesFormatException__
+
+#pragma interface
+
+#include <java/io/IOException.h>
+
+class java::util::InvalidPropertiesFormatException : public ::java::io::IOException
+{
+
+public:
+ InvalidPropertiesFormatException(::java::lang::String *);
+ InvalidPropertiesFormatException(::java::lang::Throwable *);
+private:
+ void writeObject(::java::io::ObjectOutputStream *);
+ void readObject(::java::io::ObjectInputStream *);
+ static const jlong serialVersionUID = 7763056076009360219LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_InvalidPropertiesFormatException__
diff --git a/libjava/java/util/Iterator.h b/libjava/java/util/Iterator.h
new file mode 100644
index 0000000..27343a5
--- /dev/null
+++ b/libjava/java/util/Iterator.h
@@ -0,0 +1,21 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_Iterator__
+#define __java_util_Iterator__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::Iterator : public ::java::lang::Object
+{
+
+public:
+ virtual jboolean hasNext() = 0;
+ virtual ::java::lang::Object * next() = 0;
+ virtual void remove() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_util_Iterator__
diff --git a/libjava/java/util/LinkedHashMap$1.h b/libjava/java/util/LinkedHashMap$1.h
new file mode 100644
index 0000000..ce2d625
--- /dev/null
+++ b/libjava/java/util/LinkedHashMap$1.h
@@ -0,0 +1,31 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_LinkedHashMap$1__
+#define __java_util_LinkedHashMap$1__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::LinkedHashMap$1 : public ::java::lang::Object
+{
+
+public: // actually package-private
+ LinkedHashMap$1(::java::util::LinkedHashMap *, jint);
+public:
+ jboolean hasNext();
+ ::java::lang::Object * next();
+ void remove();
+public: // actually package-private
+ ::java::util::LinkedHashMap$LinkedHashEntry * __attribute__((aligned(__alignof__( ::java::lang::Object)))) current;
+ ::java::util::LinkedHashMap$LinkedHashEntry * last;
+ jint knownMod;
+ ::java::util::LinkedHashMap * this$0;
+private:
+ jint val$type;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_LinkedHashMap$1__
diff --git a/libjava/java/util/LinkedHashMap$LinkedHashEntry.h b/libjava/java/util/LinkedHashMap$LinkedHashEntry.h
new file mode 100644
index 0000000..8db632b
--- /dev/null
+++ b/libjava/java/util/LinkedHashMap$LinkedHashEntry.h
@@ -0,0 +1,25 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_LinkedHashMap$LinkedHashEntry__
+#define __java_util_LinkedHashMap$LinkedHashEntry__
+
+#pragma interface
+
+#include <java/util/HashMap$HashEntry.h>
+
+class java::util::LinkedHashMap$LinkedHashEntry : public ::java::util::HashMap$HashEntry
+{
+
+public: // actually package-private
+ LinkedHashMap$LinkedHashEntry(::java::util::LinkedHashMap *, ::java::lang::Object *, ::java::lang::Object *);
+ virtual void access();
+ virtual ::java::lang::Object * cleanup();
+ ::java::util::LinkedHashMap$LinkedHashEntry * __attribute__((aligned(__alignof__( ::java::util::HashMap$HashEntry)))) pred;
+ ::java::util::LinkedHashMap$LinkedHashEntry * succ;
+ ::java::util::LinkedHashMap * this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_LinkedHashMap$LinkedHashEntry__
diff --git a/libjava/java/util/LinkedHashMap.h b/libjava/java/util/LinkedHashMap.h
new file mode 100644
index 0000000..d573088
--- /dev/null
+++ b/libjava/java/util/LinkedHashMap.h
@@ -0,0 +1,38 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_LinkedHashMap__
+#define __java_util_LinkedHashMap__
+
+#pragma interface
+
+#include <java/util/HashMap.h>
+
+class java::util::LinkedHashMap : public ::java::util::HashMap
+{
+
+public:
+ LinkedHashMap();
+ LinkedHashMap(::java::util::Map *);
+ LinkedHashMap(jint);
+ LinkedHashMap(jint, jfloat);
+ LinkedHashMap(jint, jfloat, jboolean);
+ virtual void clear();
+ virtual jboolean containsValue(::java::lang::Object *);
+ virtual ::java::lang::Object * get(::java::lang::Object *);
+public: // actually protected
+ virtual jboolean removeEldestEntry(::java::util::Map$Entry *);
+public: // actually package-private
+ virtual void addEntry(::java::lang::Object *, ::java::lang::Object *, jint, jboolean);
+ virtual void putAllInternal(::java::util::Map *);
+ virtual ::java::util::Iterator * iterator(jint);
+private:
+ static const jlong serialVersionUID = 3801124242820219131LL;
+public: // actually package-private
+ ::java::util::LinkedHashMap$LinkedHashEntry * __attribute__((aligned(__alignof__( ::java::util::HashMap)))) root;
+ jboolean accessOrder;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_LinkedHashMap__
diff --git a/libjava/java/util/LinkedHashSet.h b/libjava/java/util/LinkedHashSet.h
new file mode 100644
index 0000000..d63aec8
--- /dev/null
+++ b/libjava/java/util/LinkedHashSet.h
@@ -0,0 +1,27 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_LinkedHashSet__
+#define __java_util_LinkedHashSet__
+
+#pragma interface
+
+#include <java/util/HashSet.h>
+
+class java::util::LinkedHashSet : public ::java::util::HashSet
+{
+
+public:
+ LinkedHashSet();
+ LinkedHashSet(jint);
+ LinkedHashSet(jint, jfloat);
+ LinkedHashSet(::java::util::Collection *);
+public: // actually package-private
+ virtual ::java::util::HashMap * init(jint, jfloat);
+private:
+ static const jlong serialVersionUID = -2851667679971038690LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_LinkedHashSet__
diff --git a/libjava/java/util/LinkedList$Entry.h b/libjava/java/util/LinkedList$Entry.h
new file mode 100644
index 0000000..c44d48c
--- /dev/null
+++ b/libjava/java/util/LinkedList$Entry.h
@@ -0,0 +1,23 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_LinkedList$Entry__
+#define __java_util_LinkedList$Entry__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::LinkedList$Entry : public ::java::lang::Object
+{
+
+public: // actually package-private
+ LinkedList$Entry(::java::lang::Object *);
+ ::java::lang::Object * __attribute__((aligned(__alignof__( ::java::lang::Object)))) data;
+ ::java::util::LinkedList$Entry * next;
+ ::java::util::LinkedList$Entry * previous;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_LinkedList$Entry__
diff --git a/libjava/java/util/LinkedList$LinkedListItr.h b/libjava/java/util/LinkedList$LinkedListItr.h
new file mode 100644
index 0000000..2756e20
--- /dev/null
+++ b/libjava/java/util/LinkedList$LinkedListItr.h
@@ -0,0 +1,40 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_LinkedList$LinkedListItr__
+#define __java_util_LinkedList$LinkedListItr__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::LinkedList$LinkedListItr : public ::java::lang::Object
+{
+
+public: // actually package-private
+ LinkedList$LinkedListItr(::java::util::LinkedList *, jint);
+private:
+ void checkMod();
+public:
+ jint nextIndex();
+ jint previousIndex();
+ jboolean hasNext();
+ jboolean hasPrevious();
+ ::java::lang::Object * next();
+ ::java::lang::Object * previous();
+ void remove();
+ void add(::java::lang::Object *);
+ void set(::java::lang::Object *);
+private:
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) knownMod;
+ ::java::util::LinkedList$Entry * next__;
+ ::java::util::LinkedList$Entry * previous__;
+ ::java::util::LinkedList$Entry * lastReturned;
+ jint position;
+public: // actually package-private
+ ::java::util::LinkedList * this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_LinkedList$LinkedListItr__
diff --git a/libjava/java/util/LinkedList.h b/libjava/java/util/LinkedList.h
new file mode 100644
index 0000000..aee4f09
--- /dev/null
+++ b/libjava/java/util/LinkedList.h
@@ -0,0 +1,68 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_LinkedList__
+#define __java_util_LinkedList__
+
+#pragma interface
+
+#include <java/util/AbstractSequentialList.h>
+#include <gcj/array.h>
+
+
+class java::util::LinkedList : public ::java::util::AbstractSequentialList
+{
+
+public: // actually package-private
+ virtual ::java::util::LinkedList$Entry * getEntry(jint);
+ virtual void removeEntry(::java::util::LinkedList$Entry *);
+private:
+ void checkBoundsInclusive(jint);
+ void checkBoundsExclusive(jint);
+public:
+ LinkedList();
+ LinkedList(::java::util::Collection *);
+ virtual ::java::lang::Object * getFirst();
+ virtual ::java::lang::Object * getLast();
+ virtual ::java::lang::Object * removeFirst();
+ virtual ::java::lang::Object * removeLast();
+ virtual void addFirst(::java::lang::Object *);
+ virtual void addLast(::java::lang::Object *);
+private:
+ void addLastEntry(::java::util::LinkedList$Entry *);
+public:
+ virtual jboolean contains(::java::lang::Object *);
+ virtual jint size();
+ virtual jboolean add(::java::lang::Object *);
+ virtual jboolean remove(::java::lang::Object *);
+ virtual jboolean addAll(::java::util::Collection *);
+ virtual jboolean addAll(jint, ::java::util::Collection *);
+ virtual void clear();
+ virtual ::java::lang::Object * get(jint);
+ virtual ::java::lang::Object * set(jint, ::java::lang::Object *);
+ virtual void add(jint, ::java::lang::Object *);
+ virtual ::java::lang::Object * remove(jint);
+ virtual jint indexOf(::java::lang::Object *);
+ virtual jint lastIndexOf(::java::lang::Object *);
+ virtual ::java::util::ListIterator * listIterator(jint);
+ virtual ::java::lang::Object * clone();
+ virtual JArray< ::java::lang::Object * > * toArray();
+ virtual JArray< ::java::lang::Object * > * toArray(JArray< ::java::lang::Object * > *);
+ virtual jboolean offer(::java::lang::Object *);
+ virtual ::java::lang::Object * element();
+ virtual ::java::lang::Object * peek();
+ virtual ::java::lang::Object * poll();
+ virtual ::java::lang::Object * remove();
+private:
+ void writeObject(::java::io::ObjectOutputStream *);
+ void readObject(::java::io::ObjectInputStream *);
+ static const jlong serialVersionUID = 876323262645176354LL;
+public: // actually package-private
+ ::java::util::LinkedList$Entry * __attribute__((aligned(__alignof__( ::java::util::AbstractSequentialList)))) first;
+ ::java::util::LinkedList$Entry * last;
+ jint size__;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_LinkedList__
diff --git a/libjava/java/util/List.h b/libjava/java/util/List.h
new file mode 100644
index 0000000..89e637b
--- /dev/null
+++ b/libjava/java/util/List.h
@@ -0,0 +1,45 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_List__
+#define __java_util_List__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+
+class java::util::List : public ::java::lang::Object
+{
+
+public:
+ virtual void add(jint, ::java::lang::Object *) = 0;
+ virtual jboolean add(::java::lang::Object *) = 0;
+ virtual jboolean addAll(jint, ::java::util::Collection *) = 0;
+ virtual jboolean addAll(::java::util::Collection *) = 0;
+ virtual void clear() = 0;
+ virtual jboolean contains(::java::lang::Object *) = 0;
+ virtual jboolean containsAll(::java::util::Collection *) = 0;
+ virtual jboolean equals(::java::lang::Object *) = 0;
+ virtual ::java::lang::Object * get(jint) = 0;
+ virtual jint hashCode() = 0;
+ virtual jint indexOf(::java::lang::Object *) = 0;
+ virtual jboolean isEmpty() = 0;
+ virtual ::java::util::Iterator * iterator() = 0;
+ virtual jint lastIndexOf(::java::lang::Object *) = 0;
+ virtual ::java::util::ListIterator * listIterator() = 0;
+ virtual ::java::util::ListIterator * listIterator(jint) = 0;
+ virtual ::java::lang::Object * remove(jint) = 0;
+ virtual jboolean remove(::java::lang::Object *) = 0;
+ virtual jboolean removeAll(::java::util::Collection *) = 0;
+ virtual jboolean retainAll(::java::util::Collection *) = 0;
+ virtual ::java::lang::Object * set(jint, ::java::lang::Object *) = 0;
+ virtual jint size() = 0;
+ virtual ::java::util::List * subList(jint, jint) = 0;
+ virtual JArray< ::java::lang::Object * > * toArray() = 0;
+ virtual JArray< ::java::lang::Object * > * toArray(JArray< ::java::lang::Object * > *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_util_List__
diff --git a/libjava/java/util/ListIterator.h b/libjava/java/util/ListIterator.h
new file mode 100644
index 0000000..947ad3c
--- /dev/null
+++ b/libjava/java/util/ListIterator.h
@@ -0,0 +1,27 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_ListIterator__
+#define __java_util_ListIterator__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::ListIterator : public ::java::lang::Object
+{
+
+public:
+ virtual jboolean hasNext() = 0;
+ virtual jboolean hasPrevious() = 0;
+ virtual ::java::lang::Object * next() = 0;
+ virtual ::java::lang::Object * previous() = 0;
+ virtual jint nextIndex() = 0;
+ virtual jint previousIndex() = 0;
+ virtual void add(::java::lang::Object *) = 0;
+ virtual void remove() = 0;
+ virtual void set(::java::lang::Object *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_util_ListIterator__
diff --git a/libjava/java/util/ListResourceBundle.h b/libjava/java/util/ListResourceBundle.h
new file mode 100644
index 0000000..216d14b
--- /dev/null
+++ b/libjava/java/util/ListResourceBundle.h
@@ -0,0 +1,26 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_ListResourceBundle__
+#define __java_util_ListResourceBundle__
+
+#pragma interface
+
+#include <java/util/ResourceBundle.h>
+#include <gcj/array.h>
+
+
+class java::util::ListResourceBundle : public ::java::util::ResourceBundle
+{
+
+public:
+ ListResourceBundle();
+ virtual ::java::lang::Object * handleGetObject(::java::lang::String *);
+ virtual ::java::util::Enumeration * getKeys();
+public: // actually protected
+ virtual JArray< JArray< ::java::lang::Object * > * > * getContents() = 0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_ListResourceBundle__
diff --git a/libjava/java/util/Locale.h b/libjava/java/util/Locale.h
new file mode 100644
index 0000000..6868aa1
--- /dev/null
+++ b/libjava/java/util/Locale.h
@@ -0,0 +1,82 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_Locale__
+#define __java_util_Locale__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+
+class java::util::Locale : public ::java::lang::Object
+{
+
+ static ::java::util::Locale * getLocale(::java::lang::String *);
+ static ::java::util::Locale * getLocale(::java::lang::String *, ::java::lang::String *);
+ static ::java::util::Locale * getLocale(::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
+ ::java::lang::String * convertLanguage(::java::lang::String *);
+public:
+ Locale(::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
+ Locale(::java::lang::String *, ::java::lang::String *);
+ Locale(::java::lang::String *);
+ static ::java::util::Locale * getDefault();
+ static void setDefault(::java::util::Locale *);
+ static JArray< ::java::util::Locale * > * getAvailableLocales();
+ static JArray< ::java::lang::String * > * getISOCountries();
+ static JArray< ::java::lang::String * > * getISOLanguages();
+ ::java::lang::String * getLanguage();
+ ::java::lang::String * getCountry();
+ ::java::lang::String * getVariant();
+ ::java::lang::String * toString();
+ ::java::lang::String * getISO3Language();
+ ::java::lang::String * getISO3Country();
+ ::java::lang::String * getDisplayLanguage();
+ ::java::lang::String * getDisplayLanguage(::java::util::Locale *);
+ ::java::lang::String * getDisplayCountry();
+ ::java::lang::String * getDisplayCountry(::java::util::Locale *);
+ ::java::lang::String * getDisplayVariant();
+ ::java::lang::String * getDisplayVariant(::java::util::Locale *);
+ ::java::lang::String * getDisplayName();
+ ::java::lang::String * getDisplayName(::java::util::Locale *);
+ ::java::lang::Object * clone();
+ jint hashCode();
+ jboolean equals(::java::lang::Object *);
+private:
+ void writeObject(::java::io::ObjectOutputStream *);
+ void readObject(::java::io::ObjectInputStream *);
+public:
+ static ::java::util::Locale * ENGLISH;
+ static ::java::util::Locale * FRENCH;
+ static ::java::util::Locale * GERMAN;
+ static ::java::util::Locale * ITALIAN;
+ static ::java::util::Locale * JAPANESE;
+ static ::java::util::Locale * KOREAN;
+ static ::java::util::Locale * CHINESE;
+ static ::java::util::Locale * SIMPLIFIED_CHINESE;
+ static ::java::util::Locale * TRADITIONAL_CHINESE;
+ static ::java::util::Locale * FRANCE;
+ static ::java::util::Locale * GERMANY;
+ static ::java::util::Locale * ITALY;
+ static ::java::util::Locale * JAPAN;
+ static ::java::util::Locale * KOREA;
+ static ::java::util::Locale * CHINA;
+ static ::java::util::Locale * PRC;
+ static ::java::util::Locale * TAIWAN;
+ static ::java::util::Locale * UK;
+ static ::java::util::Locale * US;
+ static ::java::util::Locale * CANADA;
+ static ::java::util::Locale * CANADA_FRENCH;
+private:
+ static const jlong serialVersionUID = 9149081749638150636LL;
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) language;
+ ::java::lang::String * country;
+ ::java::lang::String * variant;
+ jint hashcode;
+ static ::java::util::Locale * defaultLocale;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_Locale__
diff --git a/libjava/java/util/Map$Entry.h b/libjava/java/util/Map$Entry.h
new file mode 100644
index 0000000..694a37e
--- /dev/null
+++ b/libjava/java/util/Map$Entry.h
@@ -0,0 +1,23 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_Map$Entry__
+#define __java_util_Map$Entry__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::Map$Entry : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::lang::Object * getKey() = 0;
+ virtual ::java::lang::Object * getValue() = 0;
+ virtual ::java::lang::Object * setValue(::java::lang::Object *) = 0;
+ virtual jint hashCode() = 0;
+ virtual jboolean equals(::java::lang::Object *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_util_Map$Entry__
diff --git a/libjava/java/util/Map.h b/libjava/java/util/Map.h
new file mode 100644
index 0000000..05cc5e9
--- /dev/null
+++ b/libjava/java/util/Map.h
@@ -0,0 +1,32 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_Map__
+#define __java_util_Map__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::Map : public ::java::lang::Object
+{
+
+public:
+ virtual void clear() = 0;
+ virtual jboolean containsKey(::java::lang::Object *) = 0;
+ virtual jboolean containsValue(::java::lang::Object *) = 0;
+ virtual ::java::util::Set * entrySet() = 0;
+ virtual jboolean equals(::java::lang::Object *) = 0;
+ virtual ::java::lang::Object * get(::java::lang::Object *) = 0;
+ virtual ::java::lang::Object * put(::java::lang::Object *, ::java::lang::Object *) = 0;
+ virtual jint hashCode() = 0;
+ virtual jboolean isEmpty() = 0;
+ virtual ::java::util::Set * keySet() = 0;
+ virtual void putAll(::java::util::Map *) = 0;
+ virtual ::java::lang::Object * remove(::java::lang::Object *) = 0;
+ virtual jint size() = 0;
+ virtual ::java::util::Collection * values() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_util_Map__
diff --git a/libjava/java/util/MissingFormatArgumentException.h b/libjava/java/util/MissingFormatArgumentException.h
new file mode 100644
index 0000000..d0908d2
--- /dev/null
+++ b/libjava/java/util/MissingFormatArgumentException.h
@@ -0,0 +1,24 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_MissingFormatArgumentException__
+#define __java_util_MissingFormatArgumentException__
+
+#pragma interface
+
+#include <java/util/IllegalFormatException.h>
+
+class java::util::MissingFormatArgumentException : public ::java::util::IllegalFormatException
+{
+
+public:
+ MissingFormatArgumentException(::java::lang::String *);
+ virtual ::java::lang::String * getFormatSpecifier();
+private:
+ static const jlong serialVersionUID = 19190115LL;
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::util::IllegalFormatException)))) s;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_MissingFormatArgumentException__
diff --git a/libjava/java/util/MissingFormatWidthException.h b/libjava/java/util/MissingFormatWidthException.h
new file mode 100644
index 0000000..dac93c0
--- /dev/null
+++ b/libjava/java/util/MissingFormatWidthException.h
@@ -0,0 +1,24 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_MissingFormatWidthException__
+#define __java_util_MissingFormatWidthException__
+
+#pragma interface
+
+#include <java/util/IllegalFormatException.h>
+
+class java::util::MissingFormatWidthException : public ::java::util::IllegalFormatException
+{
+
+public:
+ MissingFormatWidthException(::java::lang::String *);
+ virtual ::java::lang::String * getFormatSpecifier();
+private:
+ static const jlong serialVersionUID = 15560123LL;
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::util::IllegalFormatException)))) s;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_MissingFormatWidthException__
diff --git a/libjava/java/util/MissingResourceException.h b/libjava/java/util/MissingResourceException.h
new file mode 100644
index 0000000..0523e03
--- /dev/null
+++ b/libjava/java/util/MissingResourceException.h
@@ -0,0 +1,26 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_MissingResourceException__
+#define __java_util_MissingResourceException__
+
+#pragma interface
+
+#include <java/lang/RuntimeException.h>
+
+class java::util::MissingResourceException : public ::java::lang::RuntimeException
+{
+
+public:
+ MissingResourceException(::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
+ virtual ::java::lang::String * getClassName();
+ virtual ::java::lang::String * getKey();
+private:
+ static const jlong serialVersionUID = -4876345176062000401LL;
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::RuntimeException)))) className;
+ ::java::lang::String * key;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_MissingResourceException__
diff --git a/libjava/java/util/NavigableMap.h b/libjava/java/util/NavigableMap.h
new file mode 100644
index 0000000..9e48348
--- /dev/null
+++ b/libjava/java/util/NavigableMap.h
@@ -0,0 +1,54 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_NavigableMap__
+#define __java_util_NavigableMap__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::NavigableMap : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::util::Map$Entry * lowerEntry(::java::lang::Object *) = 0;
+ virtual ::java::lang::Object * lowerKey(::java::lang::Object *) = 0;
+ virtual ::java::util::Map$Entry * floorEntry(::java::lang::Object *) = 0;
+ virtual ::java::lang::Object * floorKey(::java::lang::Object *) = 0;
+ virtual ::java::util::Map$Entry * ceilingEntry(::java::lang::Object *) = 0;
+ virtual ::java::lang::Object * ceilingKey(::java::lang::Object *) = 0;
+ virtual ::java::util::Map$Entry * higherEntry(::java::lang::Object *) = 0;
+ virtual ::java::lang::Object * higherKey(::java::lang::Object *) = 0;
+ virtual ::java::util::Map$Entry * firstEntry() = 0;
+ virtual ::java::util::Map$Entry * lastEntry() = 0;
+ virtual ::java::util::Map$Entry * pollFirstEntry() = 0;
+ virtual ::java::util::Map$Entry * pollLastEntry() = 0;
+ virtual ::java::util::NavigableMap * descendingMap() = 0;
+ virtual ::java::util::NavigableSet * navigableKeySet() = 0;
+ virtual ::java::util::NavigableSet * descendingKeySet() = 0;
+ virtual ::java::util::NavigableMap * subMap(::java::lang::Object *, jboolean, ::java::lang::Object *, jboolean) = 0;
+ virtual ::java::util::NavigableMap * headMap(::java::lang::Object *, jboolean) = 0;
+ virtual ::java::util::NavigableMap * tailMap(::java::lang::Object *, jboolean) = 0;
+ virtual ::java::util::SortedMap * subMap(::java::lang::Object *, ::java::lang::Object *) = 0;
+ virtual ::java::util::SortedMap * headMap(::java::lang::Object *) = 0;
+ virtual ::java::util::SortedMap * tailMap(::java::lang::Object *) = 0;
+ virtual ::java::util::Comparator * comparator() = 0;
+ virtual ::java::lang::Object * firstKey() = 0;
+ virtual ::java::lang::Object * lastKey() = 0;
+ virtual void clear() = 0;
+ virtual jboolean containsKey(::java::lang::Object *) = 0;
+ virtual jboolean containsValue(::java::lang::Object *) = 0;
+ virtual ::java::util::Set * entrySet() = 0;
+ virtual ::java::lang::Object * get(::java::lang::Object *) = 0;
+ virtual ::java::lang::Object * put(::java::lang::Object *, ::java::lang::Object *) = 0;
+ virtual jboolean isEmpty() = 0;
+ virtual ::java::util::Set * keySet() = 0;
+ virtual void putAll(::java::util::Map *) = 0;
+ virtual ::java::lang::Object * remove(::java::lang::Object *) = 0;
+ virtual jint size() = 0;
+ virtual ::java::util::Collection * values() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_util_NavigableMap__
diff --git a/libjava/java/util/NavigableSet.h b/libjava/java/util/NavigableSet.h
new file mode 100644
index 0000000..c7e228e
--- /dev/null
+++ b/libjava/java/util/NavigableSet.h
@@ -0,0 +1,50 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_NavigableSet__
+#define __java_util_NavigableSet__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+
+class java::util::NavigableSet : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::lang::Object * lower(::java::lang::Object *) = 0;
+ virtual ::java::lang::Object * floor(::java::lang::Object *) = 0;
+ virtual ::java::lang::Object * ceiling(::java::lang::Object *) = 0;
+ virtual ::java::lang::Object * higher(::java::lang::Object *) = 0;
+ virtual ::java::lang::Object * pollFirst() = 0;
+ virtual ::java::lang::Object * pollLast() = 0;
+ virtual ::java::util::Iterator * iterator() = 0;
+ virtual ::java::util::NavigableSet * descendingSet() = 0;
+ virtual ::java::util::Iterator * descendingIterator() = 0;
+ virtual ::java::util::NavigableSet * subSet(::java::lang::Object *, jboolean, ::java::lang::Object *, jboolean) = 0;
+ virtual ::java::util::NavigableSet * headSet(::java::lang::Object *, jboolean) = 0;
+ virtual ::java::util::NavigableSet * tailSet(::java::lang::Object *, jboolean) = 0;
+ virtual ::java::util::SortedSet * subSet(::java::lang::Object *, ::java::lang::Object *) = 0;
+ virtual ::java::util::SortedSet * headSet(::java::lang::Object *) = 0;
+ virtual ::java::util::SortedSet * tailSet(::java::lang::Object *) = 0;
+ virtual ::java::util::Comparator * comparator() = 0;
+ virtual ::java::lang::Object * first() = 0;
+ virtual ::java::lang::Object * last() = 0;
+ virtual jboolean add(::java::lang::Object *) = 0;
+ virtual jboolean addAll(::java::util::Collection *) = 0;
+ virtual void clear() = 0;
+ virtual jboolean contains(::java::lang::Object *) = 0;
+ virtual jboolean containsAll(::java::util::Collection *) = 0;
+ virtual jboolean isEmpty() = 0;
+ virtual jboolean remove(::java::lang::Object *) = 0;
+ virtual jboolean removeAll(::java::util::Collection *) = 0;
+ virtual jboolean retainAll(::java::util::Collection *) = 0;
+ virtual jint size() = 0;
+ virtual JArray< ::java::lang::Object * > * toArray() = 0;
+ virtual JArray< ::java::lang::Object * > * toArray(JArray< ::java::lang::Object * > *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_util_NavigableSet__
diff --git a/libjava/java/util/NoSuchElementException.h b/libjava/java/util/NoSuchElementException.h
new file mode 100644
index 0000000..43cd646
--- /dev/null
+++ b/libjava/java/util/NoSuchElementException.h
@@ -0,0 +1,23 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_NoSuchElementException__
+#define __java_util_NoSuchElementException__
+
+#pragma interface
+
+#include <java/lang/RuntimeException.h>
+
+class java::util::NoSuchElementException : public ::java::lang::RuntimeException
+{
+
+public:
+ NoSuchElementException();
+ NoSuchElementException(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = 6769829250639411880LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_NoSuchElementException__
diff --git a/libjava/java/util/Observable.h b/libjava/java/util/Observable.h
new file mode 100644
index 0000000..070e97d
--- /dev/null
+++ b/libjava/java/util/Observable.h
@@ -0,0 +1,35 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_Observable__
+#define __java_util_Observable__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::Observable : public ::java::lang::Object
+{
+
+public:
+ Observable();
+ virtual void addObserver(::java::util::Observer *);
+public: // actually protected
+ virtual void clearChanged();
+public:
+ virtual jint countObservers();
+ virtual void deleteObserver(::java::util::Observer *);
+ virtual void deleteObservers();
+ virtual jboolean hasChanged();
+ virtual void notifyObservers();
+ virtual void notifyObservers(::java::lang::Object *);
+public: // actually protected
+ virtual void setChanged();
+private:
+ jboolean __attribute__((aligned(__alignof__( ::java::lang::Object)))) changed;
+ ::java::util::LinkedHashSet * observers;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_Observable__
diff --git a/libjava/java/util/Observer.h b/libjava/java/util/Observer.h
new file mode 100644
index 0000000..05964fe
--- /dev/null
+++ b/libjava/java/util/Observer.h
@@ -0,0 +1,19 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_Observer__
+#define __java_util_Observer__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::Observer : public ::java::lang::Object
+{
+
+public:
+ virtual void update(::java::util::Observable *, ::java::lang::Object *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_util_Observer__
diff --git a/libjava/java/util/PriorityQueue$1.h b/libjava/java/util/PriorityQueue$1.h
new file mode 100644
index 0000000..1977dea
--- /dev/null
+++ b/libjava/java/util/PriorityQueue$1.h
@@ -0,0 +1,28 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_PriorityQueue$1__
+#define __java_util_PriorityQueue$1__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::PriorityQueue$1 : public ::java::lang::Object
+{
+
+public: // actually package-private
+ PriorityQueue$1(::java::util::PriorityQueue *);
+public:
+ jboolean hasNext();
+ ::java::lang::Object * next();
+ void remove();
+public: // actually package-private
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) index;
+ jint count;
+ ::java::util::PriorityQueue * this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_PriorityQueue$1__
diff --git a/libjava/java/util/PriorityQueue.h b/libjava/java/util/PriorityQueue.h
new file mode 100644
index 0000000..7072486
--- /dev/null
+++ b/libjava/java/util/PriorityQueue.h
@@ -0,0 +1,48 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_PriorityQueue__
+#define __java_util_PriorityQueue__
+
+#pragma interface
+
+#include <java/util/AbstractQueue.h>
+#include <gcj/array.h>
+
+
+class java::util::PriorityQueue : public ::java::util::AbstractQueue
+{
+
+public:
+ PriorityQueue();
+ PriorityQueue(::java::util::Collection *);
+ PriorityQueue(jint);
+ PriorityQueue(jint, ::java::util::Comparator *);
+ PriorityQueue(::java::util::PriorityQueue *);
+ PriorityQueue(::java::util::SortedSet *);
+ virtual void clear();
+ virtual ::java::util::Comparator * comparator();
+ virtual ::java::util::Iterator * iterator();
+ virtual jboolean offer(::java::lang::Object *);
+ virtual ::java::lang::Object * peek();
+ virtual ::java::lang::Object * poll();
+ virtual jboolean remove(::java::lang::Object *);
+ virtual jint size();
+ virtual jboolean addAll(::java::util::Collection *);
+public: // actually package-private
+ virtual jint findSlot(jint);
+ virtual void remove(jint);
+ virtual void bubbleUp(jint);
+ virtual void resize();
+private:
+ static const jint DEFAULT_CAPACITY = 11;
+ static const jlong serialVersionUID = -7720805057305804111LL;
+public: // actually package-private
+ jint __attribute__((aligned(__alignof__( ::java::util::AbstractQueue)))) used;
+ JArray< ::java::lang::Object * > * storage;
+ ::java::util::Comparator * comparator__;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_PriorityQueue__
diff --git a/libjava/java/util/Properties.h b/libjava/java/util/Properties.h
new file mode 100644
index 0000000..5075e34
--- /dev/null
+++ b/libjava/java/util/Properties.h
@@ -0,0 +1,40 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_Properties__
+#define __java_util_Properties__
+
+#pragma interface
+
+#include <java/util/Hashtable.h>
+
+class java::util::Properties : public ::java::util::Hashtable
+{
+
+public:
+ Properties();
+ Properties(::java::util::Properties *);
+ virtual ::java::lang::Object * setProperty(::java::lang::String *, ::java::lang::String *);
+ virtual void load(::java::io::InputStream *);
+ virtual void save(::java::io::OutputStream *, ::java::lang::String *);
+ virtual void store(::java::io::OutputStream *, ::java::lang::String *);
+ virtual ::java::lang::String * getProperty(::java::lang::String *);
+ virtual ::java::lang::String * getProperty(::java::lang::String *, ::java::lang::String *);
+ virtual ::java::util::Enumeration * propertyNames();
+ virtual void list(::java::io::PrintStream *);
+ virtual void list(::java::io::PrintWriter *);
+private:
+ void formatForOutput(::java::lang::String *, ::java::lang::StringBuilder *, jboolean);
+public:
+ virtual void storeToXML(::java::io::OutputStream *, ::java::lang::String *);
+ virtual void storeToXML(::java::io::OutputStream *, ::java::lang::String *, ::java::lang::String *);
+ virtual void loadFromXML(::java::io::InputStream *);
+public: // actually protected
+ ::java::util::Properties * __attribute__((aligned(__alignof__( ::java::util::Hashtable)))) defaults;
+private:
+ static const jlong serialVersionUID = 4112578634029874840LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_Properties__
diff --git a/libjava/java/util/PropertyPermission.h b/libjava/java/util/PropertyPermission.h
new file mode 100644
index 0000000..afd5514
--- /dev/null
+++ b/libjava/java/util/PropertyPermission.h
@@ -0,0 +1,52 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_PropertyPermission__
+#define __java_util_PropertyPermission__
+
+#pragma interface
+
+#include <java/security/BasicPermission.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class Permission;
+ class PermissionCollection;
+ }
+ }
+}
+
+class java::util::PropertyPermission : public ::java::security::BasicPermission
+{
+
+public:
+ PropertyPermission(::java::lang::String *, ::java::lang::String *);
+private:
+ void setActions(::java::lang::String *);
+ void readObject(::java::io::ObjectInputStream *);
+ void writeObject(::java::io::ObjectOutputStream *);
+public:
+ jboolean implies(::java::security::Permission *);
+ jboolean equals(::java::lang::Object *);
+ jint hashCode();
+ ::java::lang::String * getActions();
+ ::java::security::PermissionCollection * newPermissionCollection();
+private:
+ static JArray< ::java::io::ObjectStreamField * > * serialPersistentFields;
+ static const jlong serialVersionUID = 885438825399942851LL;
+ static const jint READ = 1;
+ static const jint WRITE = 2;
+public: // actually package-private
+ jint __attribute__((aligned(__alignof__( ::java::security::BasicPermission)))) actions;
+private:
+ static JArray< ::java::lang::String * > * actionStrings;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_PropertyPermission__
diff --git a/libjava/java/util/PropertyPermissionCollection.h b/libjava/java/util/PropertyPermissionCollection.h
new file mode 100644
index 0000000..0c00a4e
--- /dev/null
+++ b/libjava/java/util/PropertyPermissionCollection.h
@@ -0,0 +1,38 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_PropertyPermissionCollection__
+#define __java_util_PropertyPermissionCollection__
+
+#pragma interface
+
+#include <java/security/PermissionCollection.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class Permission;
+ }
+ }
+}
+
+class java::util::PropertyPermissionCollection : public ::java::security::PermissionCollection
+{
+
+public: // actually package-private
+ PropertyPermissionCollection();
+public:
+ virtual void add(::java::security::Permission *);
+ virtual jboolean implies(::java::security::Permission *);
+ virtual ::java::util::Enumeration * elements();
+private:
+ static const jlong serialVersionUID = 7015263904581634791LL;
+ ::java::util::Hashtable * __attribute__((aligned(__alignof__( ::java::security::PermissionCollection)))) permissions;
+ jboolean all_allowed;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_PropertyPermissionCollection__
diff --git a/libjava/java/util/PropertyResourceBundle.h b/libjava/java/util/PropertyResourceBundle.h
new file mode 100644
index 0000000..a0f0726
--- /dev/null
+++ b/libjava/java/util/PropertyResourceBundle.h
@@ -0,0 +1,24 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_PropertyResourceBundle__
+#define __java_util_PropertyResourceBundle__
+
+#pragma interface
+
+#include <java/util/ResourceBundle.h>
+
+class java::util::PropertyResourceBundle : public ::java::util::ResourceBundle
+{
+
+public:
+ PropertyResourceBundle(::java::io::InputStream *);
+ virtual ::java::lang::Object * handleGetObject(::java::lang::String *);
+ virtual ::java::util::Enumeration * getKeys();
+private:
+ ::java::util::Properties * __attribute__((aligned(__alignof__( ::java::util::ResourceBundle)))) properties;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_PropertyResourceBundle__
diff --git a/libjava/java/util/Queue.h b/libjava/java/util/Queue.h
new file mode 100644
index 0000000..c4e8f05
--- /dev/null
+++ b/libjava/java/util/Queue.h
@@ -0,0 +1,38 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_Queue__
+#define __java_util_Queue__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+
+class java::util::Queue : public ::java::lang::Object
+{
+
+public:
+ virtual jboolean add(::java::lang::Object *) = 0;
+ virtual jboolean offer(::java::lang::Object *) = 0;
+ virtual ::java::lang::Object * remove() = 0;
+ virtual ::java::lang::Object * poll() = 0;
+ virtual ::java::lang::Object * element() = 0;
+ virtual ::java::lang::Object * peek() = 0;
+ virtual jboolean addAll(::java::util::Collection *) = 0;
+ virtual void clear() = 0;
+ virtual jboolean contains(::java::lang::Object *) = 0;
+ virtual jboolean containsAll(::java::util::Collection *) = 0;
+ virtual jboolean isEmpty() = 0;
+ virtual ::java::util::Iterator * iterator() = 0;
+ virtual jboolean remove(::java::lang::Object *) = 0;
+ virtual jboolean removeAll(::java::util::Collection *) = 0;
+ virtual jboolean retainAll(::java::util::Collection *) = 0;
+ virtual jint size() = 0;
+ virtual JArray< ::java::lang::Object * > * toArray() = 0;
+ virtual JArray< ::java::lang::Object * > * toArray(JArray< ::java::lang::Object * > *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_util_Queue__
diff --git a/libjava/java/util/Random.h b/libjava/java/util/Random.h
new file mode 100644
index 0000000..93bcf2e
--- /dev/null
+++ b/libjava/java/util/Random.h
@@ -0,0 +1,40 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_Random__
+#define __java_util_Random__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+
+class java::util::Random : public ::java::lang::Object
+{
+
+public:
+ Random();
+ Random(jlong);
+ virtual void setSeed(jlong);
+public: // actually protected
+ virtual jint next(jint);
+public:
+ virtual void nextBytes(JArray< jbyte > *);
+ virtual jint nextInt();
+ virtual jint nextInt(jint);
+ virtual jlong nextLong();
+ virtual jboolean nextBoolean();
+ virtual jfloat nextFloat();
+ virtual jdouble nextDouble();
+ virtual jdouble nextGaussian();
+private:
+ jboolean __attribute__((aligned(__alignof__( ::java::lang::Object)))) haveNextNextGaussian;
+ jdouble nextNextGaussian;
+ jlong seed;
+ static const jlong serialVersionUID = 3905348978240129619LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_Random__
diff --git a/libjava/java/util/RandomAccess.h b/libjava/java/util/RandomAccess.h
new file mode 100644
index 0000000..e2bfce7
--- /dev/null
+++ b/libjava/java/util/RandomAccess.h
@@ -0,0 +1,18 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_RandomAccess__
+#define __java_util_RandomAccess__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::RandomAccess : public ::java::lang::Object
+{
+
+public:
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_util_RandomAccess__
diff --git a/libjava/java/util/ResourceBundle$1.h b/libjava/java/util/ResourceBundle$1.h
new file mode 100644
index 0000000..fd5b3f7
--- /dev/null
+++ b/libjava/java/util/ResourceBundle$1.h
@@ -0,0 +1,21 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_ResourceBundle$1__
+#define __java_util_ResourceBundle$1__
+
+#pragma interface
+
+#include <java/util/LinkedHashMap.h>
+
+class java::util::ResourceBundle$1 : public ::java::util::LinkedHashMap
+{
+
+public: // actually package-private
+ ResourceBundle$1(jint, jfloat, jboolean);
+public:
+ jboolean removeEldestEntry(::java::util::Map$Entry *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_ResourceBundle$1__
diff --git a/libjava/java/util/ResourceBundle$BundleKey.h b/libjava/java/util/ResourceBundle$BundleKey.h
new file mode 100644
index 0000000..62c08b3
--- /dev/null
+++ b/libjava/java/util/ResourceBundle$BundleKey.h
@@ -0,0 +1,31 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_ResourceBundle$BundleKey__
+#define __java_util_ResourceBundle$BundleKey__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::ResourceBundle$BundleKey : public ::java::lang::Object
+{
+
+public: // actually package-private
+ ResourceBundle$BundleKey();
+ ResourceBundle$BundleKey(::java::util::Locale *, ::java::lang::String *, ::java::util::Locale *, ::java::lang::ClassLoader *);
+ virtual void set(::java::util::Locale *, ::java::lang::String *, ::java::util::Locale *, ::java::lang::ClassLoader *);
+public:
+ virtual jint hashCode();
+ virtual jboolean equals(::java::lang::Object *);
+public: // actually package-private
+ ::java::util::Locale * __attribute__((aligned(__alignof__( ::java::lang::Object)))) defaultLocale;
+ ::java::lang::String * baseName;
+ ::java::util::Locale * locale;
+ ::java::lang::ClassLoader * classLoader;
+ jint hashcode;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_ResourceBundle$BundleKey__
diff --git a/libjava/java/util/ResourceBundle.h b/libjava/java/util/ResourceBundle.h
new file mode 100644
index 0000000..98a87e6
--- /dev/null
+++ b/libjava/java/util/ResourceBundle.h
@@ -0,0 +1,47 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_ResourceBundle__
+#define __java_util_ResourceBundle__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+
+class java::util::ResourceBundle : public ::java::lang::Object
+{
+
+public:
+ ResourceBundle();
+ virtual ::java::lang::String * getString(::java::lang::String *);
+ virtual JArray< ::java::lang::String * > * getStringArray(::java::lang::String *);
+ virtual ::java::lang::Object * getObject(::java::lang::String *);
+ virtual ::java::util::Locale * getLocale();
+public: // actually protected
+ virtual void setParent(::java::util::ResourceBundle *);
+public:
+ static ::java::util::ResourceBundle * getBundle(::java::lang::String *);
+ static ::java::util::ResourceBundle * getBundle(::java::lang::String *, ::java::util::Locale *);
+ static ::java::util::ResourceBundle * getBundle(::java::lang::String *, ::java::util::Locale *, ::java::lang::ClassLoader *);
+public: // actually protected
+ virtual ::java::lang::Object * handleGetObject(::java::lang::String *) = 0;
+public:
+ virtual ::java::util::Enumeration * getKeys() = 0;
+private:
+ static ::java::util::ResourceBundle * tryBundle(::java::lang::String *, ::java::lang::ClassLoader *);
+ static ::java::util::ResourceBundle * tryBundle(::java::lang::String *, ::java::util::Locale *, ::java::lang::ClassLoader *, jboolean);
+ static const jint CACHE_SIZE = 100;
+public: // actually protected
+ ::java::util::ResourceBundle * __attribute__((aligned(__alignof__( ::java::lang::Object)))) parent;
+private:
+ ::java::util::Locale * locale;
+ static ::java::util::Map * bundleCache;
+ static ::java::util::ResourceBundle$BundleKey * lookupKey;
+ static ::java::lang::Object * nullEntry;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_ResourceBundle__
diff --git a/libjava/java/util/ResourceBundle.java b/libjava/java/util/ResourceBundle.java
deleted file mode 100644
index 19dd3cd..0000000
--- a/libjava/java/util/ResourceBundle.java
+++ /dev/null
@@ -1,580 +0,0 @@
-/* ResourceBundle -- aids in loading resource bundles
- Copyright (C) 1998, 1999, 2001, 2002, 2003, 2004, 2005
- Free Software Foundation, Inc.
-
-This file is part of GNU Classpath.
-
-GNU Classpath is free software; you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 2, or (at your option)
-any later version.
-
-GNU Classpath is distributed in the hope that it will be useful, but
-WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with GNU Classpath; see the file COPYING. If not, write to the
-Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
-02110-1301 USA.
-
-Linking this library statically or dynamically with other modules is
-making a combined work based on this library. Thus, the terms and
-conditions of the GNU General Public License cover the whole
-combination.
-
-As a special exception, the copyright holders of this library give you
-permission to link this library with independent modules to produce an
-executable, regardless of the license terms of these independent
-modules, and to copy and distribute the resulting executable under
-terms of your choice, provided that you also meet, for each linked
-independent module, the terms and conditions of the license of that
-module. An independent module is a module which is not derived from
-or based on this library. If you modify this library, you may extend
-this exception to your version of the library, but you are not
-obligated to do so. If you do not wish to do so, delete this
-exception statement from your version. */
-
-
-package java.util;
-
-import java.io.IOException;
-import java.io.InputStream;
-
-/**
- * A resource bundle contains locale-specific data. If you need localized
- * data, you can load a resource bundle that matches the locale with
- * <code>getBundle</code>. Now you can get your object by calling
- * <code>getObject</code> or <code>getString</code> on that bundle.
- *
- * <p>When a bundle is demanded for a specific locale, the ResourceBundle
- * is searched in following order (<i>def. language</i> stands for the
- * two letter ISO language code of the default locale (see
- * <code>Locale.getDefault()</code>).
- *
-<pre>baseName_<i>language code</i>_<i>country code</i>_<i>variant</i>
-baseName_<i>language code</i>_<i>country code</i>
-baseName_<i>language code</i>
-baseName_<i>def. language</i>_<i>def. country</i>_<i>def. variant</i>
-baseName_<i>def. language</i>_<i>def. country</i>
-baseName_<i>def. language</i>
-baseName</pre>
- *
- * <p>A bundle is backed up by less specific bundles (omitting variant, country
- * or language). But it is not backed up by the default language locale.
- *
- * <p>If you provide a bundle for a given locale, say
- * <code>Bundle_en_UK_POSIX</code>, you must also provide a bundle for
- * all sub locales, ie. <code>Bundle_en_UK</code>, <code>Bundle_en</code>, and
- * <code>Bundle</code>.
- *
- * <p>When a bundle is searched, we look first for a class with the given
- * name, then for a file with <code>.properties</code> extension in the
- * classpath. The name must be a fully qualified classname (with dots as
- * path separators).
- *
- * <p>(Note: This implementation always backs up the class with a properties
- * file if that is existing, but you shouldn't rely on this, if you want to
- * be compatible to the standard JDK.)
- *
- * @author Jochen Hoenicke
- * @author Eric Blake (ebb9@email.byu.edu)
- * @see Locale
- * @see ListResourceBundle
- * @see PropertyResourceBundle
- * @since 1.1
- * @status updated to 1.4
- */
-public abstract class ResourceBundle
-{
- /**
- * The parent bundle. This is consulted when you call getObject and there
- * is no such resource in the current bundle. This field may be null.
- */
- protected ResourceBundle parent;
-
- /**
- * The locale of this resource bundle. You can read this with
- * <code>getLocale</code> and it is automatically set in
- * <code>getBundle</code>.
- */
- private Locale locale;
-
- private static native ClassLoader getCallingClassLoader();
-
- /**
- * The resource bundle cache.
- */
- private static Map bundleCache;
-
- /**
- * The last default Locale we saw. If this ever changes then we have to
- * reset our caches.
- */
- private static Locale lastDefaultLocale;
-
- /**
- * The `empty' locale is created once in order to optimize
- * tryBundle().
- */
- private static final Locale emptyLocale = new Locale("");
-
- /**
- * The constructor. It does nothing special.
- */
- public ResourceBundle()
- {
- }
-
- /**
- * Get a String from this resource bundle. Since most localized Objects
- * are Strings, this method provides a convenient way to get them without
- * casting.
- *
- * @param key the name of the resource
- * @throws MissingResourceException if the resource can't be found
- * @throws NullPointerException if key is null
- * @throws ClassCastException if resource is not a string
- */
- public final String getString(String key)
- {
- return (String) getObject(key);
- }
-
- /**
- * Get an array of Strings from this resource bundle. This method
- * provides a convenient way to get it without casting.
- *
- * @param key the name of the resource
- * @throws MissingResourceException if the resource can't be found
- * @throws NullPointerException if key is null
- * @throws ClassCastException if resource is not a string
- */
- public final String[] getStringArray(String key)
- {
- return (String[]) getObject(key);
- }
-
- /**
- * Get an object from this resource bundle. This will call
- * <code>handleGetObject</code> for this resource and all of its parents,
- * until it finds a non-null resource.
- *
- * @param key the name of the resource
- * @throws MissingResourceException if the resource can't be found
- * @throws NullPointerException if key is null
- */
- public final Object getObject(String key)
- {
- for (ResourceBundle bundle = this; bundle != null; bundle = bundle.parent)
- {
- Object o = bundle.handleGetObject(key);
- if (o != null)
- return o;
- }
-
- String className = getClass().getName();
- throw new MissingResourceException("Key '" + key
- + "'not found in Bundle: "
- + className, className, key);
- }
-
- /**
- * Return the actual locale of this bundle. You can use it after calling
- * getBundle, to know if the bundle for the desired locale was loaded or
- * if the fall back was used.
- *
- * @return the bundle's locale
- */
- public Locale getLocale()
- {
- return locale;
- }
-
- /**
- * Set the parent of this bundle. The parent is consulted when you call
- * getObject and there is no such resource in the current bundle.
- *
- * @param parent the parent of this bundle
- */
- protected void setParent(ResourceBundle parent)
- {
- this.parent = parent;
- }
-
- /**
- * Get the appropriate ResourceBundle for the default locale. This is like
- * calling <code>getBundle(baseName, Locale.getDefault(),
- * getClass().getClassLoader()</code>, except that any security check of
- * getClassLoader won't fail.
- *
- * @param baseName the name of the ResourceBundle
- * @return the desired resource bundle
- * @throws MissingResourceException if the resource bundle can't be found
- * @throws NullPointerException if baseName is null
- */
- public static ResourceBundle getBundle(String baseName)
- {
- ClassLoader cl = getCallingClassLoader();
- if (cl == null)
- cl = ClassLoader.getSystemClassLoader();
- return getBundle(baseName, Locale.getDefault(), cl);
- }
-
- /**
- * Get the appropriate ResourceBundle for the given locale. This is like
- * calling <code>getBundle(baseName, locale,
- * getClass().getClassLoader()</code>, except that any security check of
- * getClassLoader won't fail.
- *
- * @param baseName the name of the ResourceBundle
- * @param locale A locale
- * @return the desired resource bundle
- * @throws MissingResourceException if the resource bundle can't be found
- * @throws NullPointerException if baseName or locale is null
- */
- public static ResourceBundle getBundle(String baseName, Locale locale)
- {
- ClassLoader cl = getCallingClassLoader();
- if (cl == null)
- cl = ClassLoader.getSystemClassLoader();
- return getBundle(baseName, locale, cl);
- }
-
- /** Cache key for the ResourceBundle cache. Resource bundles are keyed
- by the combination of bundle name, locale, and class loader. */
- private static class BundleKey
- {
- String baseName;
- Locale locale;
- ClassLoader classLoader;
- int hashcode;
-
- BundleKey() {}
-
- BundleKey(String s, Locale l, ClassLoader cl)
- {
- set(s, l, cl);
- }
-
- void set(String s, Locale l, ClassLoader cl)
- {
- baseName = s;
- locale = l;
- classLoader = cl;
- hashcode = baseName.hashCode() ^ locale.hashCode() ^
- classLoader.hashCode();
- }
-
- public int hashCode()
- {
- return hashcode;
- }
-
- public boolean equals(Object o)
- {
- if (! (o instanceof BundleKey))
- return false;
- BundleKey key = (BundleKey) o;
- return hashcode == key.hashcode &&
- baseName.equals(key.baseName) &&
- locale.equals(key.locale) &&
- classLoader.equals(key.classLoader);
- }
- }
-
- /** A cache lookup key. This avoids having to a new one for every
- * getBundle() call. */
- private static BundleKey lookupKey = new BundleKey();
-
- /** Singleton cache entry to represent previous failed lookups. */
- private static Object nullEntry = new Object();
-
- /**
- * Get the appropriate ResourceBundle for the given locale. The following
- * strategy is used:
- *
- * <p>A sequence of candidate bundle names are generated, and tested in
- * this order, where the suffix 1 means the string from the specified
- * locale, and the suffix 2 means the string from the default locale:</p>
- *
- * <ul>
- * <li>baseName + "_" + language1 + "_" + country1 + "_" + variant1</li>
- * <li>baseName + "_" + language1 + "_" + country1</li>
- * <li>baseName + "_" + language1</li>
- * <li>baseName + "_" + language2 + "_" + country2 + "_" + variant2</li>
- * <li>baseName + "_" + language2 + "_" + country2</li>
- * <li>baseName + "_" + language2</li>
- * <li>baseName</li>
- * </ul>
- *
- * <p>In the sequence, entries with an empty string are ignored. Next,
- * <code>getBundle</code> tries to instantiate the resource bundle:</p>
- *
- * <ul>
- * <li>First, an attempt is made to load a class in the specified classloader
- * which is a subclass of ResourceBundle, and which has a public constructor
- * with no arguments, via reflection.</li>
- * <li>Next, a search is made for a property resource file, by replacing
- * '.' with '/' and appending ".properties", and using
- * ClassLoader.getResource(). If a file is found, then a
- * PropertyResourceBundle is created from the file's contents.</li>
- * </ul>
- * If no resource bundle was found, a MissingResourceException is thrown.
- *
- * <p>Next, the parent chain is implemented. The remaining candidate names
- * in the above sequence are tested in a similar manner, and if any results
- * in a resource bundle, it is assigned as the parent of the first bundle
- * using the <code>setParent</code> method (unless the first bundle already
- * has a parent).</p>
- *
- * <p>For example, suppose the following class and property files are
- * provided: MyResources.class, MyResources_fr_CH.properties,
- * MyResources_fr_CH.class, MyResources_fr.properties,
- * MyResources_en.properties, and MyResources_es_ES.class. The contents of
- * all files are valid (that is, public non-abstract subclasses of
- * ResourceBundle with public nullary constructors for the ".class" files,
- * syntactically correct ".properties" files). The default locale is
- * Locale("en", "UK").</p>
- *
- * <p>Calling getBundle with the shown locale argument values instantiates
- * resource bundles from the following sources:</p>
- *
- * <ul>
- * <li>Locale("fr", "CH"): result MyResources_fr_CH.class, parent
- * MyResources_fr.properties, parent MyResources.class</li>
- * <li>Locale("fr", "FR"): result MyResources_fr.properties, parent
- * MyResources.class</li>
- * <li>Locale("de", "DE"): result MyResources_en.properties, parent
- * MyResources.class</li>
- * <li>Locale("en", "US"): result MyResources_en.properties, parent
- * MyResources.class</li>
- * <li>Locale("es", "ES"): result MyResources_es_ES.class, parent
- * MyResources.class</li>
- * </ul>
- *
- * <p>The file MyResources_fr_CH.properties is never used because it is hidden
- * by MyResources_fr_CH.class.</p>
- *
- * @param baseName the name of the ResourceBundle
- * @param locale A locale
- * @param classLoader a ClassLoader
- * @return the desired resource bundle
- * @throws MissingResourceException if the resource bundle can't be found
- * @throws NullPointerException if any argument is null
- * @since 1.2
- */
- // This method is synchronized so that the cache is properly
- // handled.
- public static synchronized ResourceBundle getBundle
- (String baseName, Locale locale, ClassLoader classLoader)
- {
- // If the default locale changed since the last time we were called,
- // all cache entries are invalidated.
- Locale defaultLocale = Locale.getDefault();
- if (defaultLocale != lastDefaultLocale)
- {
- bundleCache = new HashMap();
- lastDefaultLocale = defaultLocale;
- }
-
- // This will throw NullPointerException if any arguments are null.
- lookupKey.set(baseName, locale, classLoader);
-
- Object obj = bundleCache.get(lookupKey);
- ResourceBundle rb = null;
-
- if (obj instanceof ResourceBundle)
- {
- return (ResourceBundle) obj;
- }
- else if (obj == nullEntry)
- {
- // Lookup has failed previously. Fall through.
- }
- else
- {
- // First, look for a bundle for the specified locale. We don't want
- // the base bundle this time.
- boolean wantBase = locale.equals(defaultLocale);
- ResourceBundle bundle = tryBundle(baseName, locale, classLoader,
- wantBase);
-
- // Try the default locale if neccessary.
- if (bundle == null && !locale.equals(defaultLocale))
- bundle = tryBundle(baseName, defaultLocale, classLoader, true);
-
- BundleKey key = new BundleKey(baseName, locale, classLoader);
- if (bundle == null)
- {
- // Cache the fact that this lookup has previously failed.
- bundleCache.put(key, nullEntry);
- }
- else
- {
- // Cache the result and return it.
- bundleCache.put(key, bundle);
- return bundle;
- }
- }
-
- throw new MissingResourceException("Bundle " + baseName + " not found",
- baseName, "");
- }
-
- /**
- * Override this method to provide the resource for a keys. This gets
- * called by <code>getObject</code>. If you don't have a resource
- * for the given key, you should return null instead throwing a
- * MissingResourceException. You don't have to ask the parent, getObject()
- * already does this; nor should you throw a MissingResourceException.
- *
- * @param key the key of the resource
- * @return the resource for the key, or null if not in bundle
- * @throws NullPointerException if key is null
- */
- protected abstract Object handleGetObject(String key);
-
- /**
- * This method should return all keys for which a resource exists; you
- * should include the enumeration of any parent's keys, after filtering out
- * duplicates.
- *
- * @return an enumeration of the keys
- */
- public abstract Enumeration getKeys();
-
- /**
- * Tries to load a class or a property file with the specified name.
- *
- * @param localizedName the name
- * @param classloader the classloader
- * @return the resource bundle if it was loaded, otherwise the backup
- */
- private static ResourceBundle tryBundle(String localizedName,
- ClassLoader classloader)
- {
- ResourceBundle bundle = null;
- try
- {
- Class rbClass;
- if (classloader == null)
- rbClass = Class.forName(localizedName);
- else
- rbClass = classloader.loadClass(localizedName);
- // Note that we do the check up front instead of catching
- // ClassCastException. The reason for this is that some crazy
- // programs (Eclipse) have classes that do not extend
- // ResourceBundle but that have the same name as a property
- // bundle; in fact Eclipse relies on ResourceBundle not
- // instantiating these classes.
- if (ResourceBundle.class.isAssignableFrom(rbClass))
- bundle = (ResourceBundle) rbClass.newInstance();
- }
- catch (IllegalAccessException ex) {}
- catch (InstantiationException ex) {}
- catch (ClassNotFoundException ex) {}
-
- if (bundle == null)
- {
- try
- {
- InputStream is;
- String resourceName
- = localizedName.replace('.', '/') + ".properties";
- if (classloader == null)
- is = ClassLoader.getSystemResourceAsStream(resourceName);
- else
- is = classloader.getResourceAsStream(resourceName);
- if (is != null)
- bundle = new PropertyResourceBundle(is);
- }
- catch (IOException ex)
- {
- MissingResourceException mre = new MissingResourceException
- ("Failed to load bundle: " + localizedName, localizedName, "");
- mre.initCause(ex);
- throw mre;
- }
- }
-
- return bundle;
- }
-
- /**
- * Tries to load a the bundle for a given locale, also loads the backup
- * locales with the same language.
- *
- * @param baseName the raw bundle name, without locale qualifiers
- * @param locale the locale
- * @param classloader the classloader
- * @param bundle the backup (parent) bundle
- * @param wantBase whether a resource bundle made only from the base name
- * (with no locale information attached) should be returned.
- * @return the resource bundle if it was loaded, otherwise the backup
- */
- private static ResourceBundle tryBundle(String baseName, Locale locale,
- ClassLoader classLoader,
- boolean wantBase)
- {
- String language = locale.getLanguage();
- String country = locale.getCountry();
- String variant = locale.getVariant();
-
- int baseLen = baseName.length();
-
- // Build up a StringBuffer containing the complete bundle name, fully
- // qualified by locale.
- StringBuffer sb = new StringBuffer(baseLen + variant.length() + 7);
-
- sb.append(baseName);
-
- if (language.length() > 0)
- {
- sb.append('_');
- sb.append(language);
-
- if (country.length() > 0)
- {
- sb.append('_');
- sb.append(country);
-
- if (variant.length() > 0)
- {
- sb.append('_');
- sb.append(variant);
- }
- }
- }
-
- // Now try to load bundles, starting with the most specialized name.
- // Build up the parent chain as we go.
- String bundleName = sb.toString();
- ResourceBundle first = null; // The most specialized bundle.
- ResourceBundle last = null; // The least specialized bundle.
-
- while (true)
- {
- ResourceBundle foundBundle = tryBundle(bundleName, classLoader);
- if (foundBundle != null)
- {
- if (first == null)
- first = foundBundle;
- if (last != null)
- last.parent = foundBundle;
- foundBundle.locale = locale;
- last = foundBundle;
- }
- int idx = bundleName.lastIndexOf('_');
- // Try the non-localized base name only if we already have a
- // localized child bundle, or wantBase is true.
- if (idx > baseLen || (idx == baseLen && (first != null || wantBase)))
- bundleName = bundleName.substring(0, idx);
- else
- break;
- }
-
- return first;
- }
-}
diff --git a/libjava/java/util/Set.h b/libjava/java/util/Set.h
new file mode 100644
index 0000000..a563472
--- /dev/null
+++ b/libjava/java/util/Set.h
@@ -0,0 +1,35 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_Set__
+#define __java_util_Set__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+
+class java::util::Set : public ::java::lang::Object
+{
+
+public:
+ virtual jboolean add(::java::lang::Object *) = 0;
+ virtual jboolean addAll(::java::util::Collection *) = 0;
+ virtual void clear() = 0;
+ virtual jboolean contains(::java::lang::Object *) = 0;
+ virtual jboolean containsAll(::java::util::Collection *) = 0;
+ virtual jboolean equals(::java::lang::Object *) = 0;
+ virtual jint hashCode() = 0;
+ virtual jboolean isEmpty() = 0;
+ virtual ::java::util::Iterator * iterator() = 0;
+ virtual jboolean remove(::java::lang::Object *) = 0;
+ virtual jboolean removeAll(::java::util::Collection *) = 0;
+ virtual jboolean retainAll(::java::util::Collection *) = 0;
+ virtual jint size() = 0;
+ virtual JArray< ::java::lang::Object * > * toArray() = 0;
+ virtual JArray< ::java::lang::Object * > * toArray(JArray< ::java::lang::Object * > *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_util_Set__
diff --git a/libjava/java/util/SimpleTimeZone.h b/libjava/java/util/SimpleTimeZone.h
new file mode 100644
index 0000000..311e31f3
--- /dev/null
+++ b/libjava/java/util/SimpleTimeZone.h
@@ -0,0 +1,80 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_SimpleTimeZone__
+#define __java_util_SimpleTimeZone__
+
+#pragma interface
+
+#include <java/util/TimeZone.h>
+#include <gcj/array.h>
+
+
+class java::util::SimpleTimeZone : public ::java::util::TimeZone
+{
+
+public:
+ SimpleTimeZone(jint, ::java::lang::String *);
+ SimpleTimeZone(jint, ::java::lang::String *, jint, jint, jint, jint, jint, jint, jint, jint);
+ SimpleTimeZone(jint, ::java::lang::String *, jint, jint, jint, jint, jint, jint, jint, jint, jint);
+ SimpleTimeZone(jint, ::java::lang::String *, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint);
+ virtual void setStartYear(jint);
+private:
+ jint checkRule(jint, jint, jint);
+public:
+ virtual void setStartRule(jint, jint, jint, jint);
+ virtual void setStartRule(jint, jint, jint, jint, jboolean);
+ virtual void setStartRule(jint, jint, jint);
+ virtual void setEndRule(jint, jint, jint, jint);
+ virtual void setEndRule(jint, jint, jint, jint, jboolean);
+ virtual void setEndRule(jint, jint, jint);
+ virtual jint getOffset(jint, jint, jint, jint, jint, jint);
+ virtual jint getRawOffset();
+ virtual void setRawOffset(jint);
+ virtual jint getDSTSavings();
+ virtual void setDSTSavings(jint);
+ virtual jboolean useDaylightTime();
+private:
+ jint getDaysInMonth(jint, jint);
+ jboolean isBefore(jint, jint, jint, jint, jint, jint, jint, jint, jint, jint);
+public:
+ virtual jboolean inDaylightTime(::java::util::Date *);
+ virtual jint hashCode();
+ virtual jboolean equals(::java::lang::Object *);
+ virtual jboolean hasSameRules(::java::util::TimeZone *);
+ virtual ::java::lang::String * toString();
+private:
+ void readObject(::java::io::ObjectInputStream *);
+ void writeObject(::java::io::ObjectOutputStream *);
+ jint __attribute__((aligned(__alignof__( ::java::util::TimeZone)))) rawOffset;
+ jboolean useDaylight;
+ jint dstSavings;
+ jint startYear;
+ static const jint DOM_MODE = 1;
+ static const jint DOW_IN_MONTH_MODE = 2;
+ static const jint DOW_GE_DOM_MODE = 3;
+ static const jint DOW_LE_DOM_MODE = 4;
+ jint startMode;
+ jint startMonth;
+ jint startDay;
+ jint startDayOfWeek;
+ jint startTime;
+ jint startTimeMode;
+ jint endMonth;
+ jint endMode;
+ jint endDay;
+ jint endDayOfWeek;
+ jint endTime;
+ jint endTimeMode;
+ JArray< jbyte > * monthLength;
+ static JArray< jbyte > * monthArr;
+ jint serialVersionOnStream;
+ static const jlong serialVersionUID = -403250971215465050LL;
+public:
+ static const jint STANDARD_TIME = 1;
+ static const jint WALL_TIME = 0;
+ static const jint UTC_TIME = 2;
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_SimpleTimeZone__
diff --git a/libjava/java/util/SortedMap.h b/libjava/java/util/SortedMap.h
new file mode 100644
index 0000000..8814892
--- /dev/null
+++ b/libjava/java/util/SortedMap.h
@@ -0,0 +1,36 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_SortedMap__
+#define __java_util_SortedMap__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::SortedMap : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::util::Comparator * comparator() = 0;
+ virtual ::java::lang::Object * firstKey() = 0;
+ virtual ::java::util::SortedMap * headMap(::java::lang::Object *) = 0;
+ virtual ::java::lang::Object * lastKey() = 0;
+ virtual ::java::util::SortedMap * subMap(::java::lang::Object *, ::java::lang::Object *) = 0;
+ virtual ::java::util::SortedMap * tailMap(::java::lang::Object *) = 0;
+ virtual void clear() = 0;
+ virtual jboolean containsKey(::java::lang::Object *) = 0;
+ virtual jboolean containsValue(::java::lang::Object *) = 0;
+ virtual ::java::util::Set * entrySet() = 0;
+ virtual ::java::lang::Object * get(::java::lang::Object *) = 0;
+ virtual ::java::lang::Object * put(::java::lang::Object *, ::java::lang::Object *) = 0;
+ virtual jboolean isEmpty() = 0;
+ virtual ::java::util::Set * keySet() = 0;
+ virtual void putAll(::java::util::Map *) = 0;
+ virtual ::java::lang::Object * remove(::java::lang::Object *) = 0;
+ virtual jint size() = 0;
+ virtual ::java::util::Collection * values() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_util_SortedMap__
diff --git a/libjava/java/util/SortedSet.h b/libjava/java/util/SortedSet.h
new file mode 100644
index 0000000..157019a
--- /dev/null
+++ b/libjava/java/util/SortedSet.h
@@ -0,0 +1,39 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_SortedSet__
+#define __java_util_SortedSet__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+
+class java::util::SortedSet : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::util::Comparator * comparator() = 0;
+ virtual ::java::lang::Object * first() = 0;
+ virtual ::java::util::SortedSet * headSet(::java::lang::Object *) = 0;
+ virtual ::java::lang::Object * last() = 0;
+ virtual ::java::util::SortedSet * subSet(::java::lang::Object *, ::java::lang::Object *) = 0;
+ virtual ::java::util::SortedSet * tailSet(::java::lang::Object *) = 0;
+ virtual jboolean add(::java::lang::Object *) = 0;
+ virtual jboolean addAll(::java::util::Collection *) = 0;
+ virtual void clear() = 0;
+ virtual jboolean contains(::java::lang::Object *) = 0;
+ virtual jboolean containsAll(::java::util::Collection *) = 0;
+ virtual jboolean isEmpty() = 0;
+ virtual ::java::util::Iterator * iterator() = 0;
+ virtual jboolean remove(::java::lang::Object *) = 0;
+ virtual jboolean removeAll(::java::util::Collection *) = 0;
+ virtual jboolean retainAll(::java::util::Collection *) = 0;
+ virtual jint size() = 0;
+ virtual JArray< ::java::lang::Object * > * toArray() = 0;
+ virtual JArray< ::java::lang::Object * > * toArray(JArray< ::java::lang::Object * > *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_util_SortedSet__
diff --git a/libjava/java/util/Stack.h b/libjava/java/util/Stack.h
new file mode 100644
index 0000000..b6e25f2
--- /dev/null
+++ b/libjava/java/util/Stack.h
@@ -0,0 +1,27 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_Stack__
+#define __java_util_Stack__
+
+#pragma interface
+
+#include <java/util/Vector.h>
+
+class java::util::Stack : public ::java::util::Vector
+{
+
+public:
+ Stack();
+ virtual ::java::lang::Object * push(::java::lang::Object *);
+ virtual ::java::lang::Object * pop();
+ virtual ::java::lang::Object * peek();
+ virtual jboolean empty();
+ virtual jint search(::java::lang::Object *);
+private:
+ static const jlong serialVersionUID = 1224463164541339165LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_Stack__
diff --git a/libjava/java/util/StringTokenizer.h b/libjava/java/util/StringTokenizer.h
new file mode 100644
index 0000000..45d8cb8
--- /dev/null
+++ b/libjava/java/util/StringTokenizer.h
@@ -0,0 +1,34 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_StringTokenizer__
+#define __java_util_StringTokenizer__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::StringTokenizer : public ::java::lang::Object
+{
+
+public:
+ StringTokenizer(::java::lang::String *);
+ StringTokenizer(::java::lang::String *, ::java::lang::String *);
+ StringTokenizer(::java::lang::String *, ::java::lang::String *, jboolean);
+ virtual jboolean hasMoreTokens();
+ virtual ::java::lang::String * nextToken(::java::lang::String *);
+ virtual ::java::lang::String * nextToken();
+ virtual jboolean hasMoreElements();
+ virtual ::java::lang::Object * nextElement();
+ virtual jint countTokens();
+private:
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) pos;
+ ::java::lang::String * str;
+ jint len;
+ ::java::lang::String * delim;
+ jboolean retDelims;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_StringTokenizer__
diff --git a/libjava/java/util/TimeZone$1.h b/libjava/java/util/TimeZone$1.h
new file mode 100644
index 0000000..500d909
--- /dev/null
+++ b/libjava/java/util/TimeZone$1.h
@@ -0,0 +1,21 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_TimeZone$1__
+#define __java_util_TimeZone$1__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::TimeZone$1 : public ::java::lang::Object
+{
+
+public: // actually package-private
+ TimeZone$1();
+public:
+ ::java::lang::Object * run();
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_TimeZone$1__
diff --git a/libjava/java/util/TimeZone.h b/libjava/java/util/TimeZone.h
new file mode 100644
index 0000000..3eb30ad5
--- /dev/null
+++ b/libjava/java/util/TimeZone.h
@@ -0,0 +1,61 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_TimeZone__
+#define __java_util_TimeZone__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+
+class java::util::TimeZone : public ::java::lang::Object
+{
+
+public:
+ TimeZone();
+private:
+ static ::java::util::TimeZone * defaultZone();
+public: // actually package-private
+ static ::java::util::HashMap * timezones();
+ static ::java::util::TimeZone * getDefaultTimeZone(::java::lang::String *);
+private:
+ static JArray< jint > * getDateParams(::java::lang::String *);
+ static jint parseTime(::java::lang::String *);
+public:
+ virtual jint getOffset(jint, jint, jint, jint, jint, jint) = 0;
+ virtual jint getOffset(jlong);
+ virtual jint getRawOffset() = 0;
+ virtual void setRawOffset(jint) = 0;
+ virtual ::java::lang::String * getID();
+ virtual void setID(::java::lang::String *);
+ virtual ::java::lang::String * getDisplayName();
+ virtual ::java::lang::String * getDisplayName(::java::util::Locale *);
+ virtual ::java::lang::String * getDisplayName(jboolean, jint);
+ virtual ::java::lang::String * getDisplayName(jboolean, jint, ::java::util::Locale *);
+private:
+ ::java::lang::String * getDefaultDisplayName(jboolean);
+public:
+ virtual jboolean useDaylightTime() = 0;
+ virtual jboolean inDaylightTime(::java::util::Date *) = 0;
+ virtual jint getDSTSavings();
+ static ::java::util::TimeZone * getTimeZone(::java::lang::String *);
+ static JArray< ::java::lang::String * > * getAvailableIDs(jint);
+ static JArray< ::java::lang::String * > * getAvailableIDs();
+ static ::java::util::TimeZone * getDefault();
+ static void setDefault(::java::util::TimeZone *);
+ virtual jboolean hasSameRules(::java::util::TimeZone *);
+ virtual ::java::lang::Object * clone();
+ static const jint SHORT = 0;
+ static const jint LONG = 1;
+private:
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) ID;
+ static ::java::util::TimeZone * defaultZone0;
+ static const jlong serialVersionUID = 3581463369166924961LL;
+ static ::java::util::HashMap * timezones0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_TimeZone__
diff --git a/libjava/java/util/Timer$Scheduler.h b/libjava/java/util/Timer$Scheduler.h
new file mode 100644
index 0000000..ca61c0f
--- /dev/null
+++ b/libjava/java/util/Timer$Scheduler.h
@@ -0,0 +1,23 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_Timer$Scheduler__
+#define __java_util_Timer$Scheduler__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::Timer$Scheduler : public ::java::lang::Object
+{
+
+public:
+ Timer$Scheduler(::java::util::Timer$TaskQueue *);
+ void run();
+private:
+ ::java::util::Timer$TaskQueue * __attribute__((aligned(__alignof__( ::java::lang::Object)))) queue;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_Timer$Scheduler__
diff --git a/libjava/java/util/Timer$TaskQueue.h b/libjava/java/util/Timer$TaskQueue.h
new file mode 100644
index 0000000..13416d3
--- /dev/null
+++ b/libjava/java/util/Timer$TaskQueue.h
@@ -0,0 +1,39 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_Timer$TaskQueue__
+#define __java_util_Timer$TaskQueue__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+
+class java::util::Timer$TaskQueue : public ::java::lang::Object
+{
+
+public:
+ Timer$TaskQueue();
+private:
+ void add(::java::util::TimerTask *);
+ void remove();
+public:
+ void enqueue(::java::util::TimerTask *);
+private:
+ ::java::util::TimerTask * top();
+public:
+ ::java::util::TimerTask * serve();
+ void setNullOnEmpty(jboolean);
+ void stop();
+ jint purge();
+private:
+ static const jint DEFAULT_SIZE = 32;
+ jboolean __attribute__((aligned(__alignof__( ::java::lang::Object)))) nullOnEmpty;
+ JArray< ::java::util::TimerTask * > * heap;
+ jint elements;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_Timer$TaskQueue__
diff --git a/libjava/java/util/Timer.h b/libjava/java/util/Timer.h
new file mode 100644
index 0000000..2246cfd
--- /dev/null
+++ b/libjava/java/util/Timer.h
@@ -0,0 +1,49 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_Timer__
+#define __java_util_Timer__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::Timer : public ::java::lang::Object
+{
+
+public:
+ Timer();
+ Timer(jboolean);
+ Timer(::java::lang::String *);
+ Timer(::java::lang::String *, jboolean);
+private:
+ Timer(jboolean, jint);
+ Timer(jboolean, jint, ::java::lang::String *);
+public:
+ virtual void cancel();
+private:
+ void schedule(::java::util::TimerTask *, jlong, jlong, jboolean);
+ static void positiveDelay(jlong);
+ static void positivePeriod(jlong);
+public:
+ virtual void schedule(::java::util::TimerTask *, ::java::util::Date *);
+ virtual void schedule(::java::util::TimerTask *, ::java::util::Date *, jlong);
+ virtual void schedule(::java::util::TimerTask *, jlong);
+ virtual void schedule(::java::util::TimerTask *, jlong, jlong);
+ virtual void scheduleAtFixedRate(::java::util::TimerTask *, ::java::util::Date *, jlong);
+ virtual void scheduleAtFixedRate(::java::util::TimerTask *, jlong, jlong);
+public: // actually protected
+ virtual void finalize();
+public:
+ virtual jint purge();
+private:
+ static jint nr;
+ ::java::util::Timer$TaskQueue * __attribute__((aligned(__alignof__( ::java::lang::Object)))) queue;
+ ::java::util::Timer$Scheduler * scheduler;
+ ::java::lang::Thread * thread;
+ jboolean canceled;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_Timer__
diff --git a/libjava/java/util/TimerTask.h b/libjava/java/util/TimerTask.h
new file mode 100644
index 0000000..a38b66e
--- /dev/null
+++ b/libjava/java/util/TimerTask.h
@@ -0,0 +1,29 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_TimerTask__
+#define __java_util_TimerTask__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::TimerTask : public ::java::lang::Object
+{
+
+public: // actually protected
+ TimerTask();
+public:
+ virtual jboolean cancel();
+ virtual void run() = 0;
+ virtual jlong scheduledExecutionTime();
+public: // actually package-private
+ jlong __attribute__((aligned(__alignof__( ::java::lang::Object)))) scheduled;
+ jlong lastExecutionTime;
+ jlong period;
+ jboolean fixed;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_TimerTask__
diff --git a/libjava/java/util/TooManyListenersException.h b/libjava/java/util/TooManyListenersException.h
new file mode 100644
index 0000000..da5e72a
--- /dev/null
+++ b/libjava/java/util/TooManyListenersException.h
@@ -0,0 +1,23 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_TooManyListenersException__
+#define __java_util_TooManyListenersException__
+
+#pragma interface
+
+#include <java/lang/Exception.h>
+
+class java::util::TooManyListenersException : public ::java::lang::Exception
+{
+
+public:
+ TooManyListenersException();
+ TooManyListenersException(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = 5074640544770687831LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_TooManyListenersException__
diff --git a/libjava/java/util/TreeMap$1.h b/libjava/java/util/TreeMap$1.h
new file mode 100644
index 0000000..d181072
--- /dev/null
+++ b/libjava/java/util/TreeMap$1.h
@@ -0,0 +1,28 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_TreeMap$1__
+#define __java_util_TreeMap$1__
+
+#pragma interface
+
+#include <java/util/AbstractSet.h>
+
+class java::util::TreeMap$1 : public ::java::util::AbstractSet
+{
+
+public: // actually package-private
+ TreeMap$1(::java::util::TreeMap$SubMap *);
+public:
+ jint size();
+ ::java::util::Iterator * iterator();
+ void clear();
+ jboolean contains(::java::lang::Object *);
+ jboolean remove(::java::lang::Object *);
+public: // actually package-private
+ ::java::util::TreeMap$SubMap * __attribute__((aligned(__alignof__( ::java::util::AbstractSet)))) this$1;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_TreeMap$1__
diff --git a/libjava/java/util/TreeMap$2.h b/libjava/java/util/TreeMap$2.h
new file mode 100644
index 0000000..0ea21a8
--- /dev/null
+++ b/libjava/java/util/TreeMap$2.h
@@ -0,0 +1,28 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_TreeMap$2__
+#define __java_util_TreeMap$2__
+
+#pragma interface
+
+#include <java/util/AbstractSet.h>
+
+class java::util::TreeMap$2 : public ::java::util::AbstractSet
+{
+
+public: // actually package-private
+ TreeMap$2(::java::util::TreeMap$SubMap *);
+public:
+ jint size();
+ ::java::util::Iterator * iterator();
+ void clear();
+ jboolean contains(::java::lang::Object *);
+ jboolean remove(::java::lang::Object *);
+public: // actually package-private
+ ::java::util::TreeMap$SubMap * __attribute__((aligned(__alignof__( ::java::util::AbstractSet)))) this$1;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_TreeMap$2__
diff --git a/libjava/java/util/TreeMap$3.h b/libjava/java/util/TreeMap$3.h
new file mode 100644
index 0000000..47ece2a
--- /dev/null
+++ b/libjava/java/util/TreeMap$3.h
@@ -0,0 +1,26 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_TreeMap$3__
+#define __java_util_TreeMap$3__
+
+#pragma interface
+
+#include <java/util/AbstractCollection.h>
+
+class java::util::TreeMap$3 : public ::java::util::AbstractCollection
+{
+
+public: // actually package-private
+ TreeMap$3(::java::util::TreeMap$SubMap *);
+public:
+ jint size();
+ ::java::util::Iterator * iterator();
+ void clear();
+public: // actually package-private
+ ::java::util::TreeMap$SubMap * __attribute__((aligned(__alignof__( ::java::util::AbstractCollection)))) this$1;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_TreeMap$3__
diff --git a/libjava/java/util/TreeMap$4.h b/libjava/java/util/TreeMap$4.h
new file mode 100644
index 0000000..5665ffd
--- /dev/null
+++ b/libjava/java/util/TreeMap$4.h
@@ -0,0 +1,28 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_TreeMap$4__
+#define __java_util_TreeMap$4__
+
+#pragma interface
+
+#include <java/util/AbstractSet.h>
+
+class java::util::TreeMap$4 : public ::java::util::AbstractSet
+{
+
+public: // actually package-private
+ TreeMap$4(::java::util::TreeMap *);
+public:
+ jint size();
+ ::java::util::Iterator * iterator();
+ void clear();
+ jboolean contains(::java::lang::Object *);
+ jboolean remove(::java::lang::Object *);
+public: // actually package-private
+ ::java::util::TreeMap * __attribute__((aligned(__alignof__( ::java::util::AbstractSet)))) this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_TreeMap$4__
diff --git a/libjava/java/util/TreeMap$5.h b/libjava/java/util/TreeMap$5.h
new file mode 100644
index 0000000..b615001
--- /dev/null
+++ b/libjava/java/util/TreeMap$5.h
@@ -0,0 +1,28 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_TreeMap$5__
+#define __java_util_TreeMap$5__
+
+#pragma interface
+
+#include <java/util/AbstractSet.h>
+
+class java::util::TreeMap$5 : public ::java::util::AbstractSet
+{
+
+public: // actually package-private
+ TreeMap$5(::java::util::TreeMap *);
+public:
+ jint size();
+ ::java::util::Iterator * iterator();
+ void clear();
+ jboolean contains(::java::lang::Object *);
+ jboolean remove(::java::lang::Object *);
+public: // actually package-private
+ ::java::util::TreeMap * __attribute__((aligned(__alignof__( ::java::util::AbstractSet)))) this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_TreeMap$5__
diff --git a/libjava/java/util/TreeMap$6.h b/libjava/java/util/TreeMap$6.h
new file mode 100644
index 0000000..45e7802
--- /dev/null
+++ b/libjava/java/util/TreeMap$6.h
@@ -0,0 +1,26 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_TreeMap$6__
+#define __java_util_TreeMap$6__
+
+#pragma interface
+
+#include <java/util/AbstractCollection.h>
+
+class java::util::TreeMap$6 : public ::java::util::AbstractCollection
+{
+
+public: // actually package-private
+ TreeMap$6(::java::util::TreeMap *);
+public:
+ jint size();
+ ::java::util::Iterator * iterator();
+ void clear();
+public: // actually package-private
+ ::java::util::TreeMap * __attribute__((aligned(__alignof__( ::java::util::AbstractCollection)))) this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_TreeMap$6__
diff --git a/libjava/java/util/TreeMap$Node.h b/libjava/java/util/TreeMap$Node.h
new file mode 100644
index 0000000..1f07400
--- /dev/null
+++ b/libjava/java/util/TreeMap$Node.h
@@ -0,0 +1,24 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_TreeMap$Node__
+#define __java_util_TreeMap$Node__
+
+#pragma interface
+
+#include <java/util/AbstractMap$SimpleEntry.h>
+
+class java::util::TreeMap$Node : public ::java::util::AbstractMap$SimpleEntry
+{
+
+public: // actually package-private
+ TreeMap$Node(::java::lang::Object *, ::java::lang::Object *, jint);
+ jint __attribute__((aligned(__alignof__( ::java::util::AbstractMap$SimpleEntry)))) color;
+ ::java::util::TreeMap$Node * left;
+ ::java::util::TreeMap$Node * right;
+ ::java::util::TreeMap$Node * parent;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_TreeMap$Node__
diff --git a/libjava/java/util/TreeMap$SubMap.h b/libjava/java/util/TreeMap$SubMap.h
new file mode 100644
index 0000000..ef206c8
--- /dev/null
+++ b/libjava/java/util/TreeMap$SubMap.h
@@ -0,0 +1,46 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_TreeMap$SubMap__
+#define __java_util_TreeMap$SubMap__
+
+#pragma interface
+
+#include <java/util/AbstractMap.h>
+
+class java::util::TreeMap$SubMap : public ::java::util::AbstractMap
+{
+
+public: // actually package-private
+ TreeMap$SubMap(::java::util::TreeMap *, ::java::lang::Object *, ::java::lang::Object *);
+ jboolean keyInRange(::java::lang::Object *);
+public:
+ void clear();
+ ::java::util::Comparator * comparator();
+ jboolean containsKey(::java::lang::Object *);
+ jboolean containsValue(::java::lang::Object *);
+ ::java::util::Set * entrySet();
+ ::java::lang::Object * firstKey();
+ ::java::lang::Object * get(::java::lang::Object *);
+ ::java::util::SortedMap * headMap(::java::lang::Object *);
+ ::java::util::Set * keySet();
+ ::java::lang::Object * lastKey();
+ ::java::lang::Object * put(::java::lang::Object *, ::java::lang::Object *);
+ ::java::lang::Object * remove(::java::lang::Object *);
+ jint size();
+ ::java::util::SortedMap * subMap(::java::lang::Object *, ::java::lang::Object *);
+ ::java::util::SortedMap * tailMap(::java::lang::Object *);
+ ::java::util::Collection * values();
+public: // actually package-private
+ static ::java::util::TreeMap * access$0(::java::util::TreeMap$SubMap *);
+ ::java::lang::Object * __attribute__((aligned(__alignof__( ::java::util::AbstractMap)))) minKey;
+ ::java::lang::Object * maxKey;
+private:
+ ::java::util::Set * entries;
+public: // actually package-private
+ ::java::util::TreeMap * this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_TreeMap$SubMap__
diff --git a/libjava/java/util/TreeMap$TreeIterator.h b/libjava/java/util/TreeMap$TreeIterator.h
new file mode 100644
index 0000000..5d8603e
--- /dev/null
+++ b/libjava/java/util/TreeMap$TreeIterator.h
@@ -0,0 +1,33 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_TreeMap$TreeIterator__
+#define __java_util_TreeMap$TreeIterator__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::TreeMap$TreeIterator : public ::java::lang::Object
+{
+
+public: // actually package-private
+ TreeMap$TreeIterator(::java::util::TreeMap *, jint);
+ TreeMap$TreeIterator(::java::util::TreeMap *, jint, ::java::util::TreeMap$Node *, ::java::util::TreeMap$Node *);
+public:
+ jboolean hasNext();
+ ::java::lang::Object * next();
+ void remove();
+private:
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) type;
+ jint knownMod;
+ ::java::util::TreeMap$Node * last;
+ ::java::util::TreeMap$Node * next__;
+ ::java::util::TreeMap$Node * max;
+public: // actually package-private
+ ::java::util::TreeMap * this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_TreeMap$TreeIterator__
diff --git a/libjava/java/util/TreeMap.h b/libjava/java/util/TreeMap.h
new file mode 100644
index 0000000..a68bcf6
--- /dev/null
+++ b/libjava/java/util/TreeMap.h
@@ -0,0 +1,85 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_TreeMap__
+#define __java_util_TreeMap__
+
+#pragma interface
+
+#include <java/util/AbstractMap.h>
+
+class java::util::TreeMap : public ::java::util::AbstractMap
+{
+
+public:
+ TreeMap();
+ TreeMap(::java::util::Comparator *);
+ TreeMap(::java::util::Map *);
+ TreeMap(::java::util::SortedMap *);
+ virtual void clear();
+ virtual ::java::lang::Object * clone();
+ virtual ::java::util::Comparator * comparator();
+ virtual jboolean containsKey(::java::lang::Object *);
+ virtual jboolean containsValue(::java::lang::Object *);
+ virtual ::java::util::Set * entrySet();
+ virtual ::java::lang::Object * firstKey();
+ virtual ::java::lang::Object * get(::java::lang::Object *);
+ virtual ::java::util::SortedMap * headMap(::java::lang::Object *);
+ virtual ::java::util::Set * keySet();
+ virtual ::java::lang::Object * lastKey();
+ virtual ::java::lang::Object * put(::java::lang::Object *, ::java::lang::Object *);
+ virtual void putAll(::java::util::Map *);
+ virtual ::java::lang::Object * remove(::java::lang::Object *);
+ virtual jint size();
+ virtual ::java::util::SortedMap * subMap(::java::lang::Object *, ::java::lang::Object *);
+ virtual ::java::util::SortedMap * tailMap(::java::lang::Object *);
+ virtual ::java::util::Collection * values();
+public: // actually package-private
+ virtual jint compare(::java::lang::Object *, ::java::lang::Object *);
+private:
+ void deleteFixup(::java::util::TreeMap$Node *, ::java::util::TreeMap$Node *);
+ void fabricateTree(jint);
+public: // actually package-private
+ virtual ::java::util::TreeMap$Node * firstNode();
+ virtual ::java::util::TreeMap$Node * getNode(::java::lang::Object *);
+ virtual ::java::util::TreeMap$Node * highestLessThan(::java::lang::Object *);
+private:
+ void insertFixup(::java::util::TreeMap$Node *);
+ ::java::util::TreeMap$Node * lastNode();
+public: // actually package-private
+ virtual ::java::util::TreeMap$Node * lowestGreaterThan(::java::lang::Object *, jboolean);
+private:
+ ::java::util::TreeMap$Node * predecessor(::java::util::TreeMap$Node *);
+public: // actually package-private
+ virtual void putFromObjStream(::java::io::ObjectInputStream *, jint, jboolean);
+ virtual void putKeysLinear(::java::util::Iterator *, jint);
+private:
+ void readObject(::java::io::ObjectInputStream *);
+public: // actually package-private
+ virtual void removeNode(::java::util::TreeMap$Node *);
+private:
+ void rotateLeft(::java::util::TreeMap$Node *);
+ void rotateRight(::java::util::TreeMap$Node *);
+public: // actually package-private
+ virtual ::java::util::TreeMap$Node * successor(::java::util::TreeMap$Node *);
+private:
+ void writeObject(::java::io::ObjectOutputStream *);
+ static const jlong serialVersionUID = 919286545866124006LL;
+public: // actually package-private
+ static const jint RED = -1;
+ static const jint BLACK = 1;
+ static ::java::util::TreeMap$Node * nil;
+private:
+ ::java::util::TreeMap$Node * __attribute__((aligned(__alignof__( ::java::util::AbstractMap)))) root;
+public: // actually package-private
+ jint size__;
+private:
+ ::java::util::Set * entries;
+public: // actually package-private
+ jint modCount;
+ ::java::util::Comparator * comparator__;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_TreeMap__
diff --git a/libjava/java/util/TreeSet.h b/libjava/java/util/TreeSet.h
new file mode 100644
index 0000000..565d828
--- /dev/null
+++ b/libjava/java/util/TreeSet.h
@@ -0,0 +1,46 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_TreeSet__
+#define __java_util_TreeSet__
+
+#pragma interface
+
+#include <java/util/AbstractSet.h>
+
+class java::util::TreeSet : public ::java::util::AbstractSet
+{
+
+public:
+ TreeSet();
+ TreeSet(::java::util::Comparator *);
+ TreeSet(::java::util::Collection *);
+ TreeSet(::java::util::SortedSet *);
+private:
+ TreeSet(::java::util::SortedMap *);
+public:
+ virtual jboolean add(::java::lang::Object *);
+ virtual jboolean addAll(::java::util::Collection *);
+ virtual void clear();
+ virtual ::java::lang::Object * clone();
+ virtual ::java::util::Comparator * comparator();
+ virtual jboolean contains(::java::lang::Object *);
+ virtual ::java::lang::Object * first();
+ virtual ::java::util::SortedSet * headSet(::java::lang::Object *);
+ virtual jboolean isEmpty();
+ virtual ::java::util::Iterator * iterator();
+ virtual ::java::lang::Object * last();
+ virtual jboolean remove(::java::lang::Object *);
+ virtual jint size();
+ virtual ::java::util::SortedSet * subSet(::java::lang::Object *, ::java::lang::Object *);
+ virtual ::java::util::SortedSet * tailSet(::java::lang::Object *);
+private:
+ void writeObject(::java::io::ObjectOutputStream *);
+ void readObject(::java::io::ObjectInputStream *);
+ static const jlong serialVersionUID = -2479143000061671589LL;
+ ::java::util::SortedMap * __attribute__((aligned(__alignof__( ::java::util::AbstractSet)))) map;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_TreeSet__
diff --git a/libjava/java/util/UUID.h b/libjava/java/util/UUID.h
new file mode 100644
index 0000000..86cb4bc
--- /dev/null
+++ b/libjava/java/util/UUID.h
@@ -0,0 +1,45 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_UUID__
+#define __java_util_UUID__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+
+class java::util::UUID : public ::java::lang::Object
+{
+
+public:
+ UUID(jlong, jlong);
+ jint clockSequence();
+ jint target$compareTo(::java::util::UUID *);
+ jboolean equals(::java::lang::Object *);
+ static ::java::util::UUID * fromString(::java::lang::String *);
+ ::java::lang::String * toString();
+ jlong getLeastSignificantBits();
+ jlong getMostSignificantBits();
+ jint hashCode();
+ static ::java::util::UUID * nameUUIDFromBytes(JArray< jbyte > *);
+ jlong node();
+ jlong timestamp();
+ static ::java::util::UUID * randomUUID();
+private:
+ ::java::lang::String * padHex(jlong, jint);
+public:
+ jint variant();
+ jint version();
+ jint compareTo(::java::lang::Object *);
+private:
+ static const jlong serialVersionUID = -4856846361193249489LL;
+ jlong __attribute__((aligned(__alignof__( ::java::lang::Object)))) mostSigBits;
+ jlong leastSigBits;
+ static ::java::util::Random * r;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_UUID__
diff --git a/libjava/java/util/UnknownFormatConversionException.h b/libjava/java/util/UnknownFormatConversionException.h
new file mode 100644
index 0000000..53f8917
--- /dev/null
+++ b/libjava/java/util/UnknownFormatConversionException.h
@@ -0,0 +1,24 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_UnknownFormatConversionException__
+#define __java_util_UnknownFormatConversionException__
+
+#pragma interface
+
+#include <java/util/IllegalFormatException.h>
+
+class java::util::UnknownFormatConversionException : public ::java::util::IllegalFormatException
+{
+
+public:
+ UnknownFormatConversionException(::java::lang::String *);
+ virtual ::java::lang::String * getConversion();
+private:
+ static const jlong serialVersionUID = 19060418LL;
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::util::IllegalFormatException)))) s;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_UnknownFormatConversionException__
diff --git a/libjava/java/util/UnknownFormatFlagsException.h b/libjava/java/util/UnknownFormatFlagsException.h
new file mode 100644
index 0000000..62c277a
--- /dev/null
+++ b/libjava/java/util/UnknownFormatFlagsException.h
@@ -0,0 +1,24 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_UnknownFormatFlagsException__
+#define __java_util_UnknownFormatFlagsException__
+
+#pragma interface
+
+#include <java/util/IllegalFormatException.h>
+
+class java::util::UnknownFormatFlagsException : public ::java::util::IllegalFormatException
+{
+
+public:
+ UnknownFormatFlagsException(::java::lang::String *);
+ virtual ::java::lang::String * getFlags();
+private:
+ static const jlong serialVersionUID = 19370506LL;
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::util::IllegalFormatException)))) flags;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_UnknownFormatFlagsException__
diff --git a/libjava/java/util/VMTimeZone.h b/libjava/java/util/VMTimeZone.h
new file mode 100644
index 0000000..6e57114
--- /dev/null
+++ b/libjava/java/util/VMTimeZone.h
@@ -0,0 +1,26 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_VMTimeZone__
+#define __java_util_VMTimeZone__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::VMTimeZone : public ::java::lang::Object
+{
+
+public: // actually package-private
+ VMTimeZone();
+ static ::java::util::TimeZone * getDefaultTimeZoneId();
+private:
+ static ::java::lang::String * readTimeZoneFile(::java::lang::String *);
+ static ::java::lang::String * readtzFile(::java::lang::String *);
+ static void skipFully(::java::io::InputStream *, jlong);
+ static ::java::lang::String * getSystemTimeZoneId();
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_VMTimeZone__
diff --git a/libjava/java/util/Vector$1.h b/libjava/java/util/Vector$1.h
new file mode 100644
index 0000000..f7dec7e
--- /dev/null
+++ b/libjava/java/util/Vector$1.h
@@ -0,0 +1,27 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_Vector$1__
+#define __java_util_Vector$1__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::Vector$1 : public ::java::lang::Object
+{
+
+public: // actually package-private
+ Vector$1(::java::util::Vector *);
+public:
+ jboolean hasMoreElements();
+ ::java::lang::Object * nextElement();
+private:
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) i;
+public: // actually package-private
+ ::java::util::Vector * this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_Vector$1__
diff --git a/libjava/java/util/Vector.h b/libjava/java/util/Vector.h
new file mode 100644
index 0000000..8330b2a
--- /dev/null
+++ b/libjava/java/util/Vector.h
@@ -0,0 +1,77 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_Vector__
+#define __java_util_Vector__
+
+#pragma interface
+
+#include <java/util/AbstractList.h>
+#include <gcj/array.h>
+
+
+class java::util::Vector : public ::java::util::AbstractList
+{
+
+public:
+ Vector();
+ Vector(::java::util::Collection *);
+ Vector(jint, jint);
+ Vector(jint);
+ virtual void copyInto(JArray< ::java::lang::Object * > *);
+ virtual void trimToSize();
+ virtual void ensureCapacity(jint);
+ virtual void setSize(jint);
+ virtual jint capacity();
+ virtual jint size();
+ virtual jboolean isEmpty();
+ virtual ::java::util::Enumeration * elements();
+ virtual jboolean contains(::java::lang::Object *);
+ virtual jint indexOf(::java::lang::Object *);
+ virtual jint indexOf(::java::lang::Object *, jint);
+ virtual jint lastIndexOf(::java::lang::Object *);
+ virtual jint lastIndexOf(::java::lang::Object *, jint);
+ virtual ::java::lang::Object * elementAt(jint);
+ virtual ::java::lang::Object * firstElement();
+ virtual ::java::lang::Object * lastElement();
+ virtual void setElementAt(::java::lang::Object *, jint);
+ virtual void removeElementAt(jint);
+ virtual void insertElementAt(::java::lang::Object *, jint);
+ virtual void addElement(::java::lang::Object *);
+ virtual jboolean removeElement(::java::lang::Object *);
+ virtual void removeAllElements();
+ virtual ::java::lang::Object * clone();
+ virtual JArray< ::java::lang::Object * > * toArray();
+ virtual JArray< ::java::lang::Object * > * toArray(JArray< ::java::lang::Object * > *);
+ virtual ::java::lang::Object * get(jint);
+ virtual ::java::lang::Object * set(jint, ::java::lang::Object *);
+ virtual jboolean add(::java::lang::Object *);
+ virtual jboolean remove(::java::lang::Object *);
+ virtual void add(jint, ::java::lang::Object *);
+ virtual ::java::lang::Object * remove(jint);
+ virtual void clear();
+ virtual jboolean containsAll(::java::util::Collection *);
+ virtual jboolean addAll(::java::util::Collection *);
+ virtual jboolean removeAll(::java::util::Collection *);
+ virtual jboolean retainAll(::java::util::Collection *);
+ virtual jboolean addAll(jint, ::java::util::Collection *);
+ virtual jboolean equals(::java::lang::Object *);
+ virtual jint hashCode();
+ virtual ::java::lang::String * toString();
+ virtual ::java::util::List * subList(jint, jint);
+public: // actually protected
+ virtual void removeRange(jint, jint);
+private:
+ void checkBoundInclusive(jint);
+ void checkBoundExclusive(jint);
+ void writeObject(::java::io::ObjectOutputStream *);
+ static const jlong serialVersionUID = -2767605614048989439LL;
+public: // actually protected
+ JArray< ::java::lang::Object * > * __attribute__((aligned(__alignof__( ::java::util::AbstractList)))) elementData;
+ jint elementCount;
+ jint capacityIncrement;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_Vector__
diff --git a/libjava/java/util/WeakHashMap$1.h b/libjava/java/util/WeakHashMap$1.h
new file mode 100644
index 0000000..312c75f
--- /dev/null
+++ b/libjava/java/util/WeakHashMap$1.h
@@ -0,0 +1,22 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_WeakHashMap$1__
+#define __java_util_WeakHashMap$1__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::WeakHashMap$1 : public ::java::lang::Object
+{
+
+public: // actually package-private
+ WeakHashMap$1();
+public:
+ jint hashCode();
+ jboolean equals(::java::lang::Object *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_WeakHashMap$1__
diff --git a/libjava/java/util/WeakHashMap$2.h b/libjava/java/util/WeakHashMap$2.h
new file mode 100644
index 0000000..8b40ae0
--- /dev/null
+++ b/libjava/java/util/WeakHashMap$2.h
@@ -0,0 +1,32 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_WeakHashMap$2__
+#define __java_util_WeakHashMap$2__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::WeakHashMap$2 : public ::java::lang::Object
+{
+
+public: // actually package-private
+ WeakHashMap$2(::java::util::WeakHashMap$WeakEntrySet *);
+private:
+ void checkMod();
+ ::java::util::WeakHashMap$WeakBucket$WeakEntry * findNext(::java::util::WeakHashMap$WeakBucket$WeakEntry *);
+public:
+ jboolean hasNext();
+ ::java::lang::Object * next();
+ void remove();
+public: // actually package-private
+ ::java::util::WeakHashMap$WeakBucket$WeakEntry * __attribute__((aligned(__alignof__( ::java::lang::Object)))) lastEntry;
+ ::java::util::WeakHashMap$WeakBucket$WeakEntry * nextEntry;
+ jint knownMod;
+ ::java::util::WeakHashMap$WeakEntrySet * this$1;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_WeakHashMap$2__
diff --git a/libjava/java/util/WeakHashMap$WeakBucket$WeakEntry.h b/libjava/java/util/WeakHashMap$WeakBucket$WeakEntry.h
new file mode 100644
index 0000000..5ddfa87
--- /dev/null
+++ b/libjava/java/util/WeakHashMap$WeakBucket$WeakEntry.h
@@ -0,0 +1,30 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_WeakHashMap$WeakBucket$WeakEntry__
+#define __java_util_WeakHashMap$WeakBucket$WeakEntry__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::WeakHashMap$WeakBucket$WeakEntry : public ::java::lang::Object
+{
+
+public:
+ WeakHashMap$WeakBucket$WeakEntry(::java::util::WeakHashMap$WeakBucket *, ::java::lang::Object *);
+ virtual ::java::util::WeakHashMap$WeakBucket * getBucket();
+ virtual ::java::lang::Object * getKey();
+ virtual ::java::lang::Object * getValue();
+ virtual ::java::lang::Object * setValue(::java::lang::Object *);
+ virtual jint hashCode();
+ virtual jboolean equals(::java::lang::Object *);
+ virtual ::java::lang::String * toString();
+public: // actually package-private
+ ::java::lang::Object * __attribute__((aligned(__alignof__( ::java::lang::Object)))) key;
+ ::java::util::WeakHashMap$WeakBucket * this$1;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_WeakHashMap$WeakBucket$WeakEntry__
diff --git a/libjava/java/util/WeakHashMap$WeakBucket.h b/libjava/java/util/WeakHashMap$WeakBucket.h
new file mode 100644
index 0000000..9fc29d8
--- /dev/null
+++ b/libjava/java/util/WeakHashMap$WeakBucket.h
@@ -0,0 +1,25 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_WeakHashMap$WeakBucket__
+#define __java_util_WeakHashMap$WeakBucket__
+
+#pragma interface
+
+#include <java/lang/ref/WeakReference.h>
+
+class java::util::WeakHashMap$WeakBucket : public ::java::lang::ref::WeakReference
+{
+
+public:
+ WeakHashMap$WeakBucket(::java::lang::Object *, ::java::lang::ref::ReferenceQueue *, ::java::lang::Object *, jint);
+public: // actually package-private
+ virtual ::java::util::WeakHashMap$WeakBucket$WeakEntry * getEntry();
+ ::java::lang::Object * __attribute__((aligned(__alignof__( ::java::lang::ref::WeakReference)))) value;
+ ::java::util::WeakHashMap$WeakBucket * next;
+ jint slot;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_WeakHashMap$WeakBucket__
diff --git a/libjava/java/util/WeakHashMap$WeakEntrySet.h b/libjava/java/util/WeakHashMap$WeakEntrySet.h
new file mode 100644
index 0000000..cfd558e
--- /dev/null
+++ b/libjava/java/util/WeakHashMap$WeakEntrySet.h
@@ -0,0 +1,26 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_WeakHashMap$WeakEntrySet__
+#define __java_util_WeakHashMap$WeakEntrySet__
+
+#pragma interface
+
+#include <java/util/AbstractSet.h>
+
+class java::util::WeakHashMap$WeakEntrySet : public ::java::util::AbstractSet
+{
+
+public: // actually package-private
+ WeakHashMap$WeakEntrySet(::java::util::WeakHashMap *);
+public:
+ jint size();
+ ::java::util::Iterator * iterator();
+public: // actually package-private
+ static ::java::util::WeakHashMap * access$0(::java::util::WeakHashMap$WeakEntrySet *);
+ ::java::util::WeakHashMap * __attribute__((aligned(__alignof__( ::java::util::AbstractSet)))) this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_WeakHashMap$WeakEntrySet__
diff --git a/libjava/java/util/WeakHashMap.h b/libjava/java/util/WeakHashMap.h
new file mode 100644
index 0000000..e5875ad
--- /dev/null
+++ b/libjava/java/util/WeakHashMap.h
@@ -0,0 +1,66 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_WeakHashMap__
+#define __java_util_WeakHashMap__
+
+#pragma interface
+
+#include <java/util/AbstractMap.h>
+#include <gcj/array.h>
+
+
+class java::util::WeakHashMap : public ::java::util::AbstractMap
+{
+
+public:
+ WeakHashMap();
+ WeakHashMap(jint);
+ WeakHashMap(jint, jfloat);
+ WeakHashMap(::java::util::Map *);
+private:
+ jint hash(::java::lang::Object *);
+public: // actually package-private
+ virtual void cleanQueue();
+private:
+ void rehash();
+ ::java::util::WeakHashMap$WeakBucket$WeakEntry * internalGet(::java::lang::Object *);
+ void internalAdd(::java::lang::Object *, ::java::lang::Object *);
+public: // actually package-private
+ virtual void internalRemove(::java::util::WeakHashMap$WeakBucket *);
+public:
+ virtual jint size();
+ virtual jboolean isEmpty();
+ virtual jboolean containsKey(::java::lang::Object *);
+ virtual ::java::lang::Object * get(::java::lang::Object *);
+ virtual ::java::lang::Object * put(::java::lang::Object *, ::java::lang::Object *);
+ virtual ::java::lang::Object * remove(::java::lang::Object *);
+ virtual ::java::util::Set * entrySet();
+ virtual void clear();
+ virtual jboolean containsValue(::java::lang::Object *);
+ virtual ::java::util::Set * keySet();
+ virtual void putAll(::java::util::Map *);
+ virtual ::java::util::Collection * values();
+private:
+ static const jint DEFAULT_CAPACITY = 11;
+ static jfloat DEFAULT_LOAD_FACTOR;
+public: // actually package-private
+ static ::java::lang::Object * NULL_KEY;
+private:
+ ::java::lang::ref::ReferenceQueue * __attribute__((aligned(__alignof__( ::java::util::AbstractMap)))) queue;
+public: // actually package-private
+ jint size__;
+private:
+ jfloat loadFactor;
+ jint threshold;
+public: // actually package-private
+ jint modCount;
+private:
+ ::java::util::WeakHashMap$WeakEntrySet * theEntrySet;
+public: // actually package-private
+ JArray< ::java::util::WeakHashMap$WeakBucket * > * buckets;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_WeakHashMap__
diff --git a/libjava/java/util/concurrent/AbstractExecutorService.h b/libjava/java/util/concurrent/AbstractExecutorService.h
new file mode 100644
index 0000000..796171e
--- /dev/null
+++ b/libjava/java/util/concurrent/AbstractExecutorService.h
@@ -0,0 +1,42 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_AbstractExecutorService__
+#define __java_util_concurrent_AbstractExecutorService__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::concurrent::AbstractExecutorService : public ::java::lang::Object
+{
+
+public:
+ AbstractExecutorService();
+public: // actually protected
+ virtual ::java::util::concurrent::RunnableFuture * newTaskFor(::java::lang::Runnable *, ::java::lang::Object *);
+ virtual ::java::util::concurrent::RunnableFuture * newTaskFor(::java::util::concurrent::Callable *);
+public:
+ virtual ::java::util::concurrent::Future * submit(::java::lang::Runnable *);
+ virtual ::java::util::concurrent::Future * submit(::java::lang::Runnable *, ::java::lang::Object *);
+ virtual ::java::util::concurrent::Future * submit(::java::util::concurrent::Callable *);
+private:
+ ::java::lang::Object * doInvokeAny(::java::util::Collection *, jboolean, jlong);
+public:
+ virtual ::java::lang::Object * invokeAny(::java::util::Collection *);
+ virtual ::java::lang::Object * invokeAny(::java::util::Collection *, jlong, ::java::util::concurrent::TimeUnit *);
+ virtual ::java::util::List * invokeAll(::java::util::Collection *);
+ virtual ::java::util::List * invokeAll(::java::util::Collection *, jlong, ::java::util::concurrent::TimeUnit *);
+ virtual void shutdown() = 0;
+ virtual ::java::util::List * shutdownNow() = 0;
+ virtual jboolean isShutdown() = 0;
+ virtual jboolean isTerminated() = 0;
+ virtual jboolean awaitTermination(jlong, ::java::util::concurrent::TimeUnit *) = 0;
+ virtual void execute(::java::lang::Runnable *) = 0;
+public: // actually package-private
+ static jboolean $assertionsDisabled;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_AbstractExecutorService__
diff --git a/libjava/java/util/concurrent/ArrayBlockingQueue$Itr.h b/libjava/java/util/concurrent/ArrayBlockingQueue$Itr.h
new file mode 100644
index 0000000..fdddf6c
--- /dev/null
+++ b/libjava/java/util/concurrent/ArrayBlockingQueue$Itr.h
@@ -0,0 +1,33 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_ArrayBlockingQueue$Itr__
+#define __java_util_concurrent_ArrayBlockingQueue$Itr__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::concurrent::ArrayBlockingQueue$Itr : public ::java::lang::Object
+{
+
+public: // actually package-private
+ ArrayBlockingQueue$Itr(::java::util::concurrent::ArrayBlockingQueue *);
+public:
+ virtual jboolean hasNext();
+private:
+ void checkNext();
+public:
+ virtual ::java::lang::Object * next();
+ virtual void remove();
+private:
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) nextIndex;
+ ::java::lang::Object * nextItem;
+ jint lastRet;
+public: // actually package-private
+ ::java::util::concurrent::ArrayBlockingQueue * this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_ArrayBlockingQueue$Itr__
diff --git a/libjava/java/util/concurrent/ArrayBlockingQueue.h b/libjava/java/util/concurrent/ArrayBlockingQueue.h
new file mode 100644
index 0000000..a431043
--- /dev/null
+++ b/libjava/java/util/concurrent/ArrayBlockingQueue.h
@@ -0,0 +1,65 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_ArrayBlockingQueue__
+#define __java_util_concurrent_ArrayBlockingQueue__
+
+#pragma interface
+
+#include <java/util/AbstractQueue.h>
+#include <gcj/array.h>
+
+
+class java::util::concurrent::ArrayBlockingQueue : public ::java::util::AbstractQueue
+{
+
+public: // actually package-private
+ virtual jint inc(jint);
+private:
+ void insert(::java::lang::Object *);
+ ::java::lang::Object * extract();
+public: // actually package-private
+ virtual void removeAt(jint);
+public:
+ ArrayBlockingQueue(jint);
+ ArrayBlockingQueue(jint, jboolean);
+ ArrayBlockingQueue(jint, jboolean, ::java::util::Collection *);
+ virtual jboolean add(::java::lang::Object *);
+ virtual jboolean offer(::java::lang::Object *);
+ virtual void put(::java::lang::Object *);
+ virtual jboolean offer(::java::lang::Object *, jlong, ::java::util::concurrent::TimeUnit *);
+ virtual ::java::lang::Object * poll();
+ virtual ::java::lang::Object * take();
+ virtual ::java::lang::Object * poll(jlong, ::java::util::concurrent::TimeUnit *);
+ virtual ::java::lang::Object * peek();
+ virtual jint size();
+ virtual jint remainingCapacity();
+ virtual jboolean remove(::java::lang::Object *);
+ virtual jboolean contains(::java::lang::Object *);
+ virtual JArray< ::java::lang::Object * > * toArray();
+ virtual JArray< ::java::lang::Object * > * toArray(JArray< ::java::lang::Object * > *);
+ virtual ::java::lang::String * toString();
+ virtual void clear();
+ virtual jint drainTo(::java::util::Collection *);
+ virtual jint drainTo(::java::util::Collection *, jint);
+ virtual ::java::util::Iterator * iterator();
+public: // actually package-private
+ static jint access$0(::java::util::concurrent::ArrayBlockingQueue *);
+ static jint access$1(::java::util::concurrent::ArrayBlockingQueue *);
+ static JArray< ::java::lang::Object * > * access$2(::java::util::concurrent::ArrayBlockingQueue *);
+ static jint access$3(::java::util::concurrent::ArrayBlockingQueue *);
+ static ::java::util::concurrent::locks::ReentrantLock * access$4(::java::util::concurrent::ArrayBlockingQueue *);
+private:
+ static const jlong serialVersionUID = -817911632652898426LL;
+ JArray< ::java::lang::Object * > * __attribute__((aligned(__alignof__( ::java::util::AbstractQueue)))) items;
+ jint takeIndex;
+ jint putIndex;
+ jint count;
+ ::java::util::concurrent::locks::ReentrantLock * lock;
+ ::java::util::concurrent::locks::Condition * notEmpty;
+ ::java::util::concurrent::locks::Condition * notFull;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_ArrayBlockingQueue__
diff --git a/libjava/java/util/concurrent/BlockingDeque.h b/libjava/java/util/concurrent/BlockingDeque.h
new file mode 100644
index 0000000..4aa4cb5
--- /dev/null
+++ b/libjava/java/util/concurrent/BlockingDeque.h
@@ -0,0 +1,70 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_BlockingDeque__
+#define __java_util_concurrent_BlockingDeque__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+
+class java::util::concurrent::BlockingDeque : public ::java::lang::Object
+{
+
+public:
+ virtual void addFirst(::java::lang::Object *) = 0;
+ virtual void addLast(::java::lang::Object *) = 0;
+ virtual jboolean offerFirst(::java::lang::Object *) = 0;
+ virtual jboolean offerLast(::java::lang::Object *) = 0;
+ virtual void putFirst(::java::lang::Object *) = 0;
+ virtual void putLast(::java::lang::Object *) = 0;
+ virtual jboolean offerFirst(::java::lang::Object *, jlong, ::java::util::concurrent::TimeUnit *) = 0;
+ virtual jboolean offerLast(::java::lang::Object *, jlong, ::java::util::concurrent::TimeUnit *) = 0;
+ virtual ::java::lang::Object * takeFirst() = 0;
+ virtual ::java::lang::Object * takeLast() = 0;
+ virtual ::java::lang::Object * pollFirst(jlong, ::java::util::concurrent::TimeUnit *) = 0;
+ virtual ::java::lang::Object * pollLast(jlong, ::java::util::concurrent::TimeUnit *) = 0;
+ virtual jboolean removeFirstOccurrence(::java::lang::Object *) = 0;
+ virtual jboolean removeLastOccurrence(::java::lang::Object *) = 0;
+ virtual jboolean add(::java::lang::Object *) = 0;
+ virtual jboolean offer(::java::lang::Object *) = 0;
+ virtual void put(::java::lang::Object *) = 0;
+ virtual jboolean offer(::java::lang::Object *, jlong, ::java::util::concurrent::TimeUnit *) = 0;
+ virtual ::java::lang::Object * remove() = 0;
+ virtual ::java::lang::Object * poll() = 0;
+ virtual ::java::lang::Object * take() = 0;
+ virtual ::java::lang::Object * poll(jlong, ::java::util::concurrent::TimeUnit *) = 0;
+ virtual ::java::lang::Object * element() = 0;
+ virtual ::java::lang::Object * peek() = 0;
+ virtual jboolean remove(::java::lang::Object *) = 0;
+ virtual jboolean contains(::java::lang::Object *) = 0;
+ virtual jint size() = 0;
+ virtual ::java::util::Iterator * iterator() = 0;
+ virtual void push(::java::lang::Object *) = 0;
+ virtual jint remainingCapacity() = 0;
+ virtual jint drainTo(::java::util::Collection *) = 0;
+ virtual jint drainTo(::java::util::Collection *, jint) = 0;
+ virtual jboolean addAll(::java::util::Collection *) = 0;
+ virtual void clear() = 0;
+ virtual jboolean containsAll(::java::util::Collection *) = 0;
+ virtual jboolean isEmpty() = 0;
+ virtual jboolean removeAll(::java::util::Collection *) = 0;
+ virtual jboolean retainAll(::java::util::Collection *) = 0;
+ virtual JArray< ::java::lang::Object * > * toArray() = 0;
+ virtual JArray< ::java::lang::Object * > * toArray(JArray< ::java::lang::Object * > *) = 0;
+ virtual ::java::lang::Object * removeFirst() = 0;
+ virtual ::java::lang::Object * removeLast() = 0;
+ virtual ::java::lang::Object * pollFirst() = 0;
+ virtual ::java::lang::Object * pollLast() = 0;
+ virtual ::java::lang::Object * getFirst() = 0;
+ virtual ::java::lang::Object * getLast() = 0;
+ virtual ::java::lang::Object * peekFirst() = 0;
+ virtual ::java::lang::Object * peekLast() = 0;
+ virtual ::java::lang::Object * pop() = 0;
+ virtual ::java::util::Iterator * descendingIterator() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_util_concurrent_BlockingDeque__
diff --git a/libjava/java/util/concurrent/BlockingQueue.h b/libjava/java/util/concurrent/BlockingQueue.h
new file mode 100644
index 0000000..66cc905
--- /dev/null
+++ b/libjava/java/util/concurrent/BlockingQueue.h
@@ -0,0 +1,45 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_BlockingQueue__
+#define __java_util_concurrent_BlockingQueue__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+
+class java::util::concurrent::BlockingQueue : public ::java::lang::Object
+{
+
+public:
+ virtual jboolean add(::java::lang::Object *) = 0;
+ virtual jboolean offer(::java::lang::Object *) = 0;
+ virtual void put(::java::lang::Object *) = 0;
+ virtual jboolean offer(::java::lang::Object *, jlong, ::java::util::concurrent::TimeUnit *) = 0;
+ virtual ::java::lang::Object * take() = 0;
+ virtual ::java::lang::Object * poll(jlong, ::java::util::concurrent::TimeUnit *) = 0;
+ virtual jint remainingCapacity() = 0;
+ virtual jboolean remove(::java::lang::Object *) = 0;
+ virtual jboolean contains(::java::lang::Object *) = 0;
+ virtual jint drainTo(::java::util::Collection *) = 0;
+ virtual jint drainTo(::java::util::Collection *, jint) = 0;
+ virtual ::java::lang::Object * remove() = 0;
+ virtual ::java::lang::Object * poll() = 0;
+ virtual ::java::lang::Object * element() = 0;
+ virtual ::java::lang::Object * peek() = 0;
+ virtual jboolean addAll(::java::util::Collection *) = 0;
+ virtual void clear() = 0;
+ virtual jboolean containsAll(::java::util::Collection *) = 0;
+ virtual jboolean isEmpty() = 0;
+ virtual ::java::util::Iterator * iterator() = 0;
+ virtual jboolean removeAll(::java::util::Collection *) = 0;
+ virtual jboolean retainAll(::java::util::Collection *) = 0;
+ virtual jint size() = 0;
+ virtual JArray< ::java::lang::Object * > * toArray() = 0;
+ virtual JArray< ::java::lang::Object * > * toArray(JArray< ::java::lang::Object * > *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_util_concurrent_BlockingQueue__
diff --git a/libjava/java/util/concurrent/BrokenBarrierException.h b/libjava/java/util/concurrent/BrokenBarrierException.h
new file mode 100644
index 0000000..e5930d5
--- /dev/null
+++ b/libjava/java/util/concurrent/BrokenBarrierException.h
@@ -0,0 +1,23 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_BrokenBarrierException__
+#define __java_util_concurrent_BrokenBarrierException__
+
+#pragma interface
+
+#include <java/lang/Exception.h>
+
+class java::util::concurrent::BrokenBarrierException : public ::java::lang::Exception
+{
+
+public:
+ BrokenBarrierException();
+ BrokenBarrierException(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = 7117394618823254244LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_BrokenBarrierException__
diff --git a/libjava/java/util/concurrent/Callable.h b/libjava/java/util/concurrent/Callable.h
new file mode 100644
index 0000000..636260e
--- /dev/null
+++ b/libjava/java/util/concurrent/Callable.h
@@ -0,0 +1,19 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_Callable__
+#define __java_util_concurrent_Callable__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::concurrent::Callable : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::lang::Object * call() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_util_concurrent_Callable__
diff --git a/libjava/java/util/concurrent/CancellationException.h b/libjava/java/util/concurrent/CancellationException.h
new file mode 100644
index 0000000..7695b01
--- /dev/null
+++ b/libjava/java/util/concurrent/CancellationException.h
@@ -0,0 +1,23 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_CancellationException__
+#define __java_util_concurrent_CancellationException__
+
+#pragma interface
+
+#include <java/lang/IllegalStateException.h>
+
+class java::util::concurrent::CancellationException : public ::java::lang::IllegalStateException
+{
+
+public:
+ CancellationException();
+ CancellationException(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = -9202173006928992231LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_CancellationException__
diff --git a/libjava/java/util/concurrent/CompletionService.h b/libjava/java/util/concurrent/CompletionService.h
new file mode 100644
index 0000000..90d7902
--- /dev/null
+++ b/libjava/java/util/concurrent/CompletionService.h
@@ -0,0 +1,23 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_CompletionService__
+#define __java_util_concurrent_CompletionService__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::concurrent::CompletionService : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::util::concurrent::Future * submit(::java::util::concurrent::Callable *) = 0;
+ virtual ::java::util::concurrent::Future * submit(::java::lang::Runnable *, ::java::lang::Object *) = 0;
+ virtual ::java::util::concurrent::Future * take() = 0;
+ virtual ::java::util::concurrent::Future * poll() = 0;
+ virtual ::java::util::concurrent::Future * poll(jlong, ::java::util::concurrent::TimeUnit *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_util_concurrent_CompletionService__
diff --git a/libjava/java/util/concurrent/ConcurrentHashMap$EntryIterator.h b/libjava/java/util/concurrent/ConcurrentHashMap$EntryIterator.h
new file mode 100644
index 0000000..5044f07
--- /dev/null
+++ b/libjava/java/util/concurrent/ConcurrentHashMap$EntryIterator.h
@@ -0,0 +1,25 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_ConcurrentHashMap$EntryIterator__
+#define __java_util_concurrent_ConcurrentHashMap$EntryIterator__
+
+#pragma interface
+
+#include <java/util/concurrent/ConcurrentHashMap$HashIterator.h>
+
+class java::util::concurrent::ConcurrentHashMap$EntryIterator : public ::java::util::concurrent::ConcurrentHashMap$HashIterator
+{
+
+public: // actually package-private
+ ConcurrentHashMap$EntryIterator(::java::util::concurrent::ConcurrentHashMap *);
+public:
+ ::java::util::Map$Entry * target$next();
+ ::java::lang::Object * next();
+public: // actually package-private
+ ::java::util::concurrent::ConcurrentHashMap * __attribute__((aligned(__alignof__( ::java::util::concurrent::ConcurrentHashMap$HashIterator)))) this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_ConcurrentHashMap$EntryIterator__
diff --git a/libjava/java/util/concurrent/ConcurrentHashMap$EntrySet.h b/libjava/java/util/concurrent/ConcurrentHashMap$EntrySet.h
new file mode 100644
index 0000000..999c022
--- /dev/null
+++ b/libjava/java/util/concurrent/ConcurrentHashMap$EntrySet.h
@@ -0,0 +1,28 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_ConcurrentHashMap$EntrySet__
+#define __java_util_concurrent_ConcurrentHashMap$EntrySet__
+
+#pragma interface
+
+#include <java/util/AbstractSet.h>
+
+class java::util::concurrent::ConcurrentHashMap$EntrySet : public ::java::util::AbstractSet
+{
+
+public: // actually package-private
+ ConcurrentHashMap$EntrySet(::java::util::concurrent::ConcurrentHashMap *);
+public:
+ ::java::util::Iterator * iterator();
+ jboolean contains(::java::lang::Object *);
+ jboolean remove(::java::lang::Object *);
+ jint size();
+ void clear();
+public: // actually package-private
+ ::java::util::concurrent::ConcurrentHashMap * __attribute__((aligned(__alignof__( ::java::util::AbstractSet)))) this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_ConcurrentHashMap$EntrySet__
diff --git a/libjava/java/util/concurrent/ConcurrentHashMap$HashEntry.h b/libjava/java/util/concurrent/ConcurrentHashMap$HashEntry.h
new file mode 100644
index 0000000..730394d
--- /dev/null
+++ b/libjava/java/util/concurrent/ConcurrentHashMap$HashEntry.h
@@ -0,0 +1,27 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_ConcurrentHashMap$HashEntry__
+#define __java_util_concurrent_ConcurrentHashMap$HashEntry__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+
+class java::util::concurrent::ConcurrentHashMap$HashEntry : public ::java::lang::Object
+{
+
+public: // actually package-private
+ ConcurrentHashMap$HashEntry(::java::lang::Object *, jint, ::java::util::concurrent::ConcurrentHashMap$HashEntry *, ::java::lang::Object *);
+ static JArray< ::java::util::concurrent::ConcurrentHashMap$HashEntry * > * newArray(jint);
+ ::java::lang::Object * __attribute__((aligned(__alignof__( ::java::lang::Object)))) key;
+ jint hash;
+ volatile ::java::lang::Object * value;
+ ::java::util::concurrent::ConcurrentHashMap$HashEntry * next;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_ConcurrentHashMap$HashEntry__
diff --git a/libjava/java/util/concurrent/ConcurrentHashMap$HashIterator.h b/libjava/java/util/concurrent/ConcurrentHashMap$HashIterator.h
new file mode 100644
index 0000000..2a3895c
--- /dev/null
+++ b/libjava/java/util/concurrent/ConcurrentHashMap$HashIterator.h
@@ -0,0 +1,39 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_ConcurrentHashMap$HashIterator__
+#define __java_util_concurrent_ConcurrentHashMap$HashIterator__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+
+class java::util::concurrent::ConcurrentHashMap$HashIterator : public ::java::lang::Object
+{
+
+public: // actually package-private
+ ConcurrentHashMap$HashIterator(::java::util::concurrent::ConcurrentHashMap *);
+public:
+ virtual jboolean hasMoreElements();
+public: // actually package-private
+ virtual void advance();
+public:
+ virtual jboolean hasNext();
+public: // actually package-private
+ virtual ::java::util::concurrent::ConcurrentHashMap$HashEntry * nextEntry();
+public:
+ virtual void remove();
+public: // actually package-private
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) nextSegmentIndex;
+ jint nextTableIndex;
+ JArray< ::java::util::concurrent::ConcurrentHashMap$HashEntry * > * currentTable;
+ ::java::util::concurrent::ConcurrentHashMap$HashEntry * nextEntry__;
+ ::java::util::concurrent::ConcurrentHashMap$HashEntry * lastReturned;
+ ::java::util::concurrent::ConcurrentHashMap * this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_ConcurrentHashMap$HashIterator__
diff --git a/libjava/java/util/concurrent/ConcurrentHashMap$KeyIterator.h b/libjava/java/util/concurrent/ConcurrentHashMap$KeyIterator.h
new file mode 100644
index 0000000..afa1b8a
--- /dev/null
+++ b/libjava/java/util/concurrent/ConcurrentHashMap$KeyIterator.h
@@ -0,0 +1,25 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_ConcurrentHashMap$KeyIterator__
+#define __java_util_concurrent_ConcurrentHashMap$KeyIterator__
+
+#pragma interface
+
+#include <java/util/concurrent/ConcurrentHashMap$HashIterator.h>
+
+class java::util::concurrent::ConcurrentHashMap$KeyIterator : public ::java::util::concurrent::ConcurrentHashMap$HashIterator
+{
+
+public: // actually package-private
+ ConcurrentHashMap$KeyIterator(::java::util::concurrent::ConcurrentHashMap *);
+public:
+ ::java::lang::Object * next();
+ ::java::lang::Object * nextElement();
+public: // actually package-private
+ ::java::util::concurrent::ConcurrentHashMap * __attribute__((aligned(__alignof__( ::java::util::concurrent::ConcurrentHashMap$HashIterator)))) this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_ConcurrentHashMap$KeyIterator__
diff --git a/libjava/java/util/concurrent/ConcurrentHashMap$KeySet.h b/libjava/java/util/concurrent/ConcurrentHashMap$KeySet.h
new file mode 100644
index 0000000..31b002f
--- /dev/null
+++ b/libjava/java/util/concurrent/ConcurrentHashMap$KeySet.h
@@ -0,0 +1,28 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_ConcurrentHashMap$KeySet__
+#define __java_util_concurrent_ConcurrentHashMap$KeySet__
+
+#pragma interface
+
+#include <java/util/AbstractSet.h>
+
+class java::util::concurrent::ConcurrentHashMap$KeySet : public ::java::util::AbstractSet
+{
+
+public: // actually package-private
+ ConcurrentHashMap$KeySet(::java::util::concurrent::ConcurrentHashMap *);
+public:
+ ::java::util::Iterator * iterator();
+ jint size();
+ jboolean contains(::java::lang::Object *);
+ jboolean remove(::java::lang::Object *);
+ void clear();
+public: // actually package-private
+ ::java::util::concurrent::ConcurrentHashMap * __attribute__((aligned(__alignof__( ::java::util::AbstractSet)))) this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_ConcurrentHashMap$KeySet__
diff --git a/libjava/java/util/concurrent/ConcurrentHashMap$Segment.h b/libjava/java/util/concurrent/ConcurrentHashMap$Segment.h
new file mode 100644
index 0000000..aaa2a7a
--- /dev/null
+++ b/libjava/java/util/concurrent/ConcurrentHashMap$Segment.h
@@ -0,0 +1,43 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_ConcurrentHashMap$Segment__
+#define __java_util_concurrent_ConcurrentHashMap$Segment__
+
+#pragma interface
+
+#include <java/util/concurrent/locks/ReentrantLock.h>
+#include <gcj/array.h>
+
+
+class java::util::concurrent::ConcurrentHashMap$Segment : public ::java::util::concurrent::locks::ReentrantLock
+{
+
+public: // actually package-private
+ ConcurrentHashMap$Segment(jint, jfloat);
+ static JArray< ::java::util::concurrent::ConcurrentHashMap$Segment * > * newArray(jint);
+ void setTable(JArray< ::java::util::concurrent::ConcurrentHashMap$HashEntry * > *);
+ ::java::util::concurrent::ConcurrentHashMap$HashEntry * getFirst(jint);
+ ::java::lang::Object * readValueUnderLock(::java::util::concurrent::ConcurrentHashMap$HashEntry *);
+ ::java::lang::Object * get(::java::lang::Object *, jint);
+ jboolean containsKey(::java::lang::Object *, jint);
+ jboolean containsValue(::java::lang::Object *);
+ jboolean replace(::java::lang::Object *, jint, ::java::lang::Object *, ::java::lang::Object *);
+ ::java::lang::Object * replace(::java::lang::Object *, jint, ::java::lang::Object *);
+ ::java::lang::Object * put(::java::lang::Object *, jint, ::java::lang::Object *, jboolean);
+ void rehash();
+ ::java::lang::Object * remove(::java::lang::Object *, jint, ::java::lang::Object *);
+ void clear();
+private:
+ static const jlong serialVersionUID = 2249069246763182397LL;
+public: // actually package-private
+ volatile jint __attribute__((aligned(__alignof__( ::java::util::concurrent::locks::ReentrantLock)))) count;
+ jint modCount;
+ jint threshold;
+ volatile JArray< ::java::util::concurrent::ConcurrentHashMap$HashEntry * > * table;
+ jfloat loadFactor;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_ConcurrentHashMap$Segment__
diff --git a/libjava/java/util/concurrent/ConcurrentHashMap$ValueIterator.h b/libjava/java/util/concurrent/ConcurrentHashMap$ValueIterator.h
new file mode 100644
index 0000000..6ccd905
--- /dev/null
+++ b/libjava/java/util/concurrent/ConcurrentHashMap$ValueIterator.h
@@ -0,0 +1,25 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_ConcurrentHashMap$ValueIterator__
+#define __java_util_concurrent_ConcurrentHashMap$ValueIterator__
+
+#pragma interface
+
+#include <java/util/concurrent/ConcurrentHashMap$HashIterator.h>
+
+class java::util::concurrent::ConcurrentHashMap$ValueIterator : public ::java::util::concurrent::ConcurrentHashMap$HashIterator
+{
+
+public: // actually package-private
+ ConcurrentHashMap$ValueIterator(::java::util::concurrent::ConcurrentHashMap *);
+public:
+ ::java::lang::Object * next();
+ ::java::lang::Object * nextElement();
+public: // actually package-private
+ ::java::util::concurrent::ConcurrentHashMap * __attribute__((aligned(__alignof__( ::java::util::concurrent::ConcurrentHashMap$HashIterator)))) this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_ConcurrentHashMap$ValueIterator__
diff --git a/libjava/java/util/concurrent/ConcurrentHashMap$Values.h b/libjava/java/util/concurrent/ConcurrentHashMap$Values.h
new file mode 100644
index 0000000..9470ec4
--- /dev/null
+++ b/libjava/java/util/concurrent/ConcurrentHashMap$Values.h
@@ -0,0 +1,27 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_ConcurrentHashMap$Values__
+#define __java_util_concurrent_ConcurrentHashMap$Values__
+
+#pragma interface
+
+#include <java/util/AbstractCollection.h>
+
+class java::util::concurrent::ConcurrentHashMap$Values : public ::java::util::AbstractCollection
+{
+
+public: // actually package-private
+ ConcurrentHashMap$Values(::java::util::concurrent::ConcurrentHashMap *);
+public:
+ ::java::util::Iterator * iterator();
+ jint size();
+ jboolean contains(::java::lang::Object *);
+ void clear();
+public: // actually package-private
+ ::java::util::concurrent::ConcurrentHashMap * __attribute__((aligned(__alignof__( ::java::util::AbstractCollection)))) this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_ConcurrentHashMap$Values__
diff --git a/libjava/java/util/concurrent/ConcurrentHashMap$WriteThroughEntry.h b/libjava/java/util/concurrent/ConcurrentHashMap$WriteThroughEntry.h
new file mode 100644
index 0000000..9c7398e
--- /dev/null
+++ b/libjava/java/util/concurrent/ConcurrentHashMap$WriteThroughEntry.h
@@ -0,0 +1,24 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_ConcurrentHashMap$WriteThroughEntry__
+#define __java_util_concurrent_ConcurrentHashMap$WriteThroughEntry__
+
+#pragma interface
+
+#include <java/util/AbstractMap$SimpleEntry.h>
+
+class java::util::concurrent::ConcurrentHashMap$WriteThroughEntry : public ::java::util::AbstractMap$SimpleEntry
+{
+
+public: // actually package-private
+ ConcurrentHashMap$WriteThroughEntry(::java::util::concurrent::ConcurrentHashMap *, ::java::lang::Object *, ::java::lang::Object *);
+public:
+ ::java::lang::Object * setValue(::java::lang::Object *);
+public: // actually package-private
+ ::java::util::concurrent::ConcurrentHashMap * __attribute__((aligned(__alignof__( ::java::util::AbstractMap$SimpleEntry)))) this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_ConcurrentHashMap$WriteThroughEntry__
diff --git a/libjava/java/util/concurrent/ConcurrentHashMap.h b/libjava/java/util/concurrent/ConcurrentHashMap.h
new file mode 100644
index 0000000..0e733c0
--- /dev/null
+++ b/libjava/java/util/concurrent/ConcurrentHashMap.h
@@ -0,0 +1,65 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_ConcurrentHashMap__
+#define __java_util_concurrent_ConcurrentHashMap__
+
+#pragma interface
+
+#include <java/util/AbstractMap.h>
+#include <gcj/array.h>
+
+
+class java::util::concurrent::ConcurrentHashMap : public ::java::util::AbstractMap
+{
+
+ static jint hash(jint);
+public: // actually package-private
+ virtual ::java::util::concurrent::ConcurrentHashMap$Segment * segmentFor(jint);
+public:
+ ConcurrentHashMap(jint, jfloat, jint);
+ ConcurrentHashMap(jint, jfloat);
+ ConcurrentHashMap(jint);
+ ConcurrentHashMap();
+ ConcurrentHashMap(::java::util::Map *);
+ virtual jboolean isEmpty();
+ virtual jint size();
+ virtual ::java::lang::Object * get(::java::lang::Object *);
+ virtual jboolean containsKey(::java::lang::Object *);
+ virtual jboolean containsValue(::java::lang::Object *);
+ virtual jboolean contains(::java::lang::Object *);
+ virtual ::java::lang::Object * put(::java::lang::Object *, ::java::lang::Object *);
+ virtual ::java::lang::Object * putIfAbsent(::java::lang::Object *, ::java::lang::Object *);
+ virtual void putAll(::java::util::Map *);
+ virtual ::java::lang::Object * remove(::java::lang::Object *);
+ virtual jboolean remove(::java::lang::Object *, ::java::lang::Object *);
+ virtual jboolean replace(::java::lang::Object *, ::java::lang::Object *, ::java::lang::Object *);
+ virtual ::java::lang::Object * replace(::java::lang::Object *, ::java::lang::Object *);
+ virtual void clear();
+ virtual ::java::util::Set * keySet();
+ virtual ::java::util::Collection * values();
+ virtual ::java::util::Set * entrySet();
+ virtual ::java::util::Enumeration * keys();
+ virtual ::java::util::Enumeration * elements();
+private:
+ void writeObject(::java::io::ObjectOutputStream *);
+ void readObject(::java::io::ObjectInputStream *);
+ static const jlong serialVersionUID = 7249069246763182397LL;
+public: // actually package-private
+ static const jint DEFAULT_INITIAL_CAPACITY = 16;
+ static jfloat DEFAULT_LOAD_FACTOR;
+ static const jint DEFAULT_CONCURRENCY_LEVEL = 16;
+ static const jint MAXIMUM_CAPACITY = 1073741824;
+ static const jint MAX_SEGMENTS = 65536;
+ static const jint RETRIES_BEFORE_LOCK = 2;
+ jint __attribute__((aligned(__alignof__( ::java::util::AbstractMap)))) segmentMask;
+ jint segmentShift;
+ JArray< ::java::util::concurrent::ConcurrentHashMap$Segment * > * segments;
+ ::java::util::Set * keySet__;
+ ::java::util::Set * entrySet__;
+ ::java::util::Collection * values__;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_ConcurrentHashMap__
diff --git a/libjava/java/util/concurrent/ConcurrentLinkedQueue$Itr.h b/libjava/java/util/concurrent/ConcurrentLinkedQueue$Itr.h
new file mode 100644
index 0000000..ddf3f7e
--- /dev/null
+++ b/libjava/java/util/concurrent/ConcurrentLinkedQueue$Itr.h
@@ -0,0 +1,32 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_ConcurrentLinkedQueue$Itr__
+#define __java_util_concurrent_ConcurrentLinkedQueue$Itr__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::concurrent::ConcurrentLinkedQueue$Itr : public ::java::lang::Object
+{
+
+public: // actually package-private
+ ConcurrentLinkedQueue$Itr(::java::util::concurrent::ConcurrentLinkedQueue *);
+private:
+ ::java::lang::Object * advance();
+public:
+ virtual jboolean hasNext();
+ virtual ::java::lang::Object * next();
+ virtual void remove();
+private:
+ ::java::util::concurrent::ConcurrentLinkedQueue$Node * __attribute__((aligned(__alignof__( ::java::lang::Object)))) nextNode;
+ ::java::lang::Object * nextItem;
+ ::java::util::concurrent::ConcurrentLinkedQueue$Node * lastRet;
+public: // actually package-private
+ ::java::util::concurrent::ConcurrentLinkedQueue * this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_ConcurrentLinkedQueue$Itr__
diff --git a/libjava/java/util/concurrent/ConcurrentLinkedQueue$Node.h b/libjava/java/util/concurrent/ConcurrentLinkedQueue$Node.h
new file mode 100644
index 0000000..60fee41
--- /dev/null
+++ b/libjava/java/util/concurrent/ConcurrentLinkedQueue$Node.h
@@ -0,0 +1,32 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_ConcurrentLinkedQueue$Node__
+#define __java_util_concurrent_ConcurrentLinkedQueue$Node__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::concurrent::ConcurrentLinkedQueue$Node : public ::java::lang::Object
+{
+
+public: // actually package-private
+ ConcurrentLinkedQueue$Node(::java::lang::Object *);
+ ConcurrentLinkedQueue$Node(::java::lang::Object *, ::java::util::concurrent::ConcurrentLinkedQueue$Node *);
+ virtual ::java::lang::Object * getItem();
+ virtual jboolean casItem(::java::lang::Object *, ::java::lang::Object *);
+ virtual void setItem(::java::lang::Object *);
+ virtual ::java::util::concurrent::ConcurrentLinkedQueue$Node * getNext();
+ virtual jboolean casNext(::java::util::concurrent::ConcurrentLinkedQueue$Node *, ::java::util::concurrent::ConcurrentLinkedQueue$Node *);
+ virtual void setNext(::java::util::concurrent::ConcurrentLinkedQueue$Node *);
+private:
+ volatile ::java::lang::Object * __attribute__((aligned(__alignof__( ::java::lang::Object)))) item;
+ volatile ::java::util::concurrent::ConcurrentLinkedQueue$Node * next;
+ static ::java::util::concurrent::atomic::AtomicReferenceFieldUpdater * nextUpdater;
+ static ::java::util::concurrent::atomic::AtomicReferenceFieldUpdater * itemUpdater;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_ConcurrentLinkedQueue$Node__
diff --git a/libjava/java/util/concurrent/ConcurrentLinkedQueue.h b/libjava/java/util/concurrent/ConcurrentLinkedQueue.h
new file mode 100644
index 0000000..281690e
--- /dev/null
+++ b/libjava/java/util/concurrent/ConcurrentLinkedQueue.h
@@ -0,0 +1,43 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_ConcurrentLinkedQueue__
+#define __java_util_concurrent_ConcurrentLinkedQueue__
+
+#pragma interface
+
+#include <java/util/AbstractQueue.h>
+
+class java::util::concurrent::ConcurrentLinkedQueue : public ::java::util::AbstractQueue
+{
+
+ jboolean casTail(::java::util::concurrent::ConcurrentLinkedQueue$Node *, ::java::util::concurrent::ConcurrentLinkedQueue$Node *);
+ jboolean casHead(::java::util::concurrent::ConcurrentLinkedQueue$Node *, ::java::util::concurrent::ConcurrentLinkedQueue$Node *);
+public:
+ ConcurrentLinkedQueue();
+ ConcurrentLinkedQueue(::java::util::Collection *);
+ virtual jboolean add(::java::lang::Object *);
+ virtual jboolean offer(::java::lang::Object *);
+ virtual ::java::lang::Object * poll();
+ virtual ::java::lang::Object * peek();
+public: // actually package-private
+ virtual ::java::util::concurrent::ConcurrentLinkedQueue$Node * first();
+public:
+ virtual jboolean isEmpty();
+ virtual jint size();
+ virtual jboolean contains(::java::lang::Object *);
+ virtual jboolean remove(::java::lang::Object *);
+ virtual ::java::util::Iterator * iterator();
+private:
+ void writeObject(::java::io::ObjectOutputStream *);
+ void readObject(::java::io::ObjectInputStream *);
+ static const jlong serialVersionUID = 196745693267521676LL;
+ static ::java::util::concurrent::atomic::AtomicReferenceFieldUpdater * tailUpdater;
+ static ::java::util::concurrent::atomic::AtomicReferenceFieldUpdater * headUpdater;
+ volatile ::java::util::concurrent::ConcurrentLinkedQueue$Node * __attribute__((aligned(__alignof__( ::java::util::AbstractQueue)))) head;
+ volatile ::java::util::concurrent::ConcurrentLinkedQueue$Node * tail;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_ConcurrentLinkedQueue__
diff --git a/libjava/java/util/concurrent/ConcurrentMap.h b/libjava/java/util/concurrent/ConcurrentMap.h
new file mode 100644
index 0000000..a3357e3
--- /dev/null
+++ b/libjava/java/util/concurrent/ConcurrentMap.h
@@ -0,0 +1,34 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_ConcurrentMap__
+#define __java_util_concurrent_ConcurrentMap__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::concurrent::ConcurrentMap : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::lang::Object * putIfAbsent(::java::lang::Object *, ::java::lang::Object *) = 0;
+ virtual jboolean remove(::java::lang::Object *, ::java::lang::Object *) = 0;
+ virtual jboolean replace(::java::lang::Object *, ::java::lang::Object *, ::java::lang::Object *) = 0;
+ virtual ::java::lang::Object * replace(::java::lang::Object *, ::java::lang::Object *) = 0;
+ virtual void clear() = 0;
+ virtual jboolean containsKey(::java::lang::Object *) = 0;
+ virtual jboolean containsValue(::java::lang::Object *) = 0;
+ virtual ::java::util::Set * entrySet() = 0;
+ virtual ::java::lang::Object * get(::java::lang::Object *) = 0;
+ virtual ::java::lang::Object * put(::java::lang::Object *, ::java::lang::Object *) = 0;
+ virtual jboolean isEmpty() = 0;
+ virtual ::java::util::Set * keySet() = 0;
+ virtual void putAll(::java::util::Map *) = 0;
+ virtual ::java::lang::Object * remove(::java::lang::Object *) = 0;
+ virtual jint size() = 0;
+ virtual ::java::util::Collection * values() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_util_concurrent_ConcurrentMap__
diff --git a/libjava/java/util/concurrent/ConcurrentNavigableMap.h b/libjava/java/util/concurrent/ConcurrentNavigableMap.h
new file mode 100644
index 0000000..68f4d01
--- /dev/null
+++ b/libjava/java/util/concurrent/ConcurrentNavigableMap.h
@@ -0,0 +1,66 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_ConcurrentNavigableMap__
+#define __java_util_concurrent_ConcurrentNavigableMap__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::concurrent::ConcurrentNavigableMap : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::util::concurrent::ConcurrentNavigableMap * subMap(::java::lang::Object *, jboolean, ::java::lang::Object *, jboolean) = 0;
+ virtual ::java::util::concurrent::ConcurrentNavigableMap * headMap(::java::lang::Object *, jboolean) = 0;
+ virtual ::java::util::concurrent::ConcurrentNavigableMap * tailMap(::java::lang::Object *, jboolean) = 0;
+ virtual ::java::util::concurrent::ConcurrentNavigableMap * subMap(::java::lang::Object *, ::java::lang::Object *) = 0;
+ virtual ::java::util::concurrent::ConcurrentNavigableMap * headMap(::java::lang::Object *) = 0;
+ virtual ::java::util::concurrent::ConcurrentNavigableMap * tailMap(::java::lang::Object *) = 0;
+ virtual ::java::util::concurrent::ConcurrentNavigableMap * descendingMap() = 0;
+ virtual ::java::util::NavigableSet * navigableKeySet() = 0;
+ virtual ::java::util::NavigableSet * keySet() = 0;
+ virtual ::java::util::NavigableSet * descendingKeySet() = 0;
+ virtual ::java::lang::Object * putIfAbsent(::java::lang::Object *, ::java::lang::Object *) = 0;
+ virtual jboolean remove(::java::lang::Object *, ::java::lang::Object *) = 0;
+ virtual jboolean replace(::java::lang::Object *, ::java::lang::Object *, ::java::lang::Object *) = 0;
+ virtual ::java::lang::Object * replace(::java::lang::Object *, ::java::lang::Object *) = 0;
+ virtual void clear() = 0;
+ virtual jboolean containsKey(::java::lang::Object *) = 0;
+ virtual jboolean containsValue(::java::lang::Object *) = 0;
+ virtual ::java::util::Set * entrySet() = 0;
+ virtual ::java::lang::Object * get(::java::lang::Object *) = 0;
+ virtual ::java::lang::Object * put(::java::lang::Object *, ::java::lang::Object *) = 0;
+ virtual jboolean isEmpty() = 0;
+ virtual ::java::util::Set * keySet() = 0;
+ virtual void putAll(::java::util::Map *) = 0;
+ virtual ::java::lang::Object * remove(::java::lang::Object *) = 0;
+ virtual jint size() = 0;
+ virtual ::java::util::Collection * values() = 0;
+ virtual ::java::util::Map$Entry * lowerEntry(::java::lang::Object *) = 0;
+ virtual ::java::lang::Object * lowerKey(::java::lang::Object *) = 0;
+ virtual ::java::util::Map$Entry * floorEntry(::java::lang::Object *) = 0;
+ virtual ::java::lang::Object * floorKey(::java::lang::Object *) = 0;
+ virtual ::java::util::Map$Entry * ceilingEntry(::java::lang::Object *) = 0;
+ virtual ::java::lang::Object * ceilingKey(::java::lang::Object *) = 0;
+ virtual ::java::util::Map$Entry * higherEntry(::java::lang::Object *) = 0;
+ virtual ::java::lang::Object * higherKey(::java::lang::Object *) = 0;
+ virtual ::java::util::Map$Entry * firstEntry() = 0;
+ virtual ::java::util::Map$Entry * lastEntry() = 0;
+ virtual ::java::util::Map$Entry * pollFirstEntry() = 0;
+ virtual ::java::util::Map$Entry * pollLastEntry() = 0;
+ virtual ::java::util::NavigableMap * descendingMap() = 0;
+ virtual ::java::util::NavigableMap * subMap(::java::lang::Object *, jboolean, ::java::lang::Object *, jboolean) = 0;
+ virtual ::java::util::NavigableMap * headMap(::java::lang::Object *, jboolean) = 0;
+ virtual ::java::util::NavigableMap * tailMap(::java::lang::Object *, jboolean) = 0;
+ virtual ::java::util::SortedMap * subMap(::java::lang::Object *, ::java::lang::Object *) = 0;
+ virtual ::java::util::SortedMap * headMap(::java::lang::Object *) = 0;
+ virtual ::java::util::SortedMap * tailMap(::java::lang::Object *) = 0;
+ virtual ::java::util::Comparator * comparator() = 0;
+ virtual ::java::lang::Object * firstKey() = 0;
+ virtual ::java::lang::Object * lastKey() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_util_concurrent_ConcurrentNavigableMap__
diff --git a/libjava/java/util/concurrent/ConcurrentSkipListMap$ComparableUsingComparator.h b/libjava/java/util/concurrent/ConcurrentSkipListMap$ComparableUsingComparator.h
new file mode 100644
index 0000000..b64afd5
--- /dev/null
+++ b/libjava/java/util/concurrent/ConcurrentSkipListMap$ComparableUsingComparator.h
@@ -0,0 +1,25 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_ConcurrentSkipListMap$ComparableUsingComparator__
+#define __java_util_concurrent_ConcurrentSkipListMap$ComparableUsingComparator__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::concurrent::ConcurrentSkipListMap$ComparableUsingComparator : public ::java::lang::Object
+{
+
+public: // actually package-private
+ ConcurrentSkipListMap$ComparableUsingComparator(::java::lang::Object *, ::java::util::Comparator *);
+public:
+ jint compareTo(::java::lang::Object *);
+public: // actually package-private
+ ::java::lang::Object * __attribute__((aligned(__alignof__( ::java::lang::Object)))) actualKey;
+ ::java::util::Comparator * cmp;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_ConcurrentSkipListMap$ComparableUsingComparator__
diff --git a/libjava/java/util/concurrent/ConcurrentSkipListMap$EntryIterator.h b/libjava/java/util/concurrent/ConcurrentSkipListMap$EntryIterator.h
new file mode 100644
index 0000000..1949e5a
--- /dev/null
+++ b/libjava/java/util/concurrent/ConcurrentSkipListMap$EntryIterator.h
@@ -0,0 +1,25 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_ConcurrentSkipListMap$EntryIterator__
+#define __java_util_concurrent_ConcurrentSkipListMap$EntryIterator__
+
+#pragma interface
+
+#include <java/util/concurrent/ConcurrentSkipListMap$Iter.h>
+
+class java::util::concurrent::ConcurrentSkipListMap$EntryIterator : public ::java::util::concurrent::ConcurrentSkipListMap$Iter
+{
+
+public: // actually package-private
+ ConcurrentSkipListMap$EntryIterator(::java::util::concurrent::ConcurrentSkipListMap *);
+public:
+ ::java::util::Map$Entry * target$next();
+ ::java::lang::Object * next();
+public: // actually package-private
+ ::java::util::concurrent::ConcurrentSkipListMap * __attribute__((aligned(__alignof__( ::java::util::concurrent::ConcurrentSkipListMap$Iter)))) this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_ConcurrentSkipListMap$EntryIterator__
diff --git a/libjava/java/util/concurrent/ConcurrentSkipListMap$EntrySet.h b/libjava/java/util/concurrent/ConcurrentSkipListMap$EntrySet.h
new file mode 100644
index 0000000..e235ffc
--- /dev/null
+++ b/libjava/java/util/concurrent/ConcurrentSkipListMap$EntrySet.h
@@ -0,0 +1,34 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_ConcurrentSkipListMap$EntrySet__
+#define __java_util_concurrent_ConcurrentSkipListMap$EntrySet__
+
+#pragma interface
+
+#include <java/util/AbstractSet.h>
+#include <gcj/array.h>
+
+
+class java::util::concurrent::ConcurrentSkipListMap$EntrySet : public ::java::util::AbstractSet
+{
+
+public: // actually package-private
+ ConcurrentSkipListMap$EntrySet(::java::util::concurrent::ConcurrentNavigableMap *);
+public:
+ ::java::util::Iterator * iterator();
+ jboolean contains(::java::lang::Object *);
+ jboolean remove(::java::lang::Object *);
+ jboolean isEmpty();
+ jint size();
+ void clear();
+ jboolean equals(::java::lang::Object *);
+ JArray< ::java::lang::Object * > * toArray();
+ JArray< ::java::lang::Object * > * toArray(JArray< ::java::lang::Object * > *);
+private:
+ ::java::util::concurrent::ConcurrentNavigableMap * __attribute__((aligned(__alignof__( ::java::util::AbstractSet)))) m;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_ConcurrentSkipListMap$EntrySet__
diff --git a/libjava/java/util/concurrent/ConcurrentSkipListMap$HeadIndex.h b/libjava/java/util/concurrent/ConcurrentSkipListMap$HeadIndex.h
new file mode 100644
index 0000000..f20214c
--- /dev/null
+++ b/libjava/java/util/concurrent/ConcurrentSkipListMap$HeadIndex.h
@@ -0,0 +1,21 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_ConcurrentSkipListMap$HeadIndex__
+#define __java_util_concurrent_ConcurrentSkipListMap$HeadIndex__
+
+#pragma interface
+
+#include <java/util/concurrent/ConcurrentSkipListMap$Index.h>
+
+class java::util::concurrent::ConcurrentSkipListMap$HeadIndex : public ::java::util::concurrent::ConcurrentSkipListMap$Index
+{
+
+public: // actually package-private
+ ConcurrentSkipListMap$HeadIndex(::java::util::concurrent::ConcurrentSkipListMap$Node *, ::java::util::concurrent::ConcurrentSkipListMap$Index *, ::java::util::concurrent::ConcurrentSkipListMap$Index *, jint);
+ jint __attribute__((aligned(__alignof__( ::java::util::concurrent::ConcurrentSkipListMap$Index)))) level;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_ConcurrentSkipListMap$HeadIndex__
diff --git a/libjava/java/util/concurrent/ConcurrentSkipListMap$Index.h b/libjava/java/util/concurrent/ConcurrentSkipListMap$Index.h
new file mode 100644
index 0000000..c71b25b
--- /dev/null
+++ b/libjava/java/util/concurrent/ConcurrentSkipListMap$Index.h
@@ -0,0 +1,28 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_ConcurrentSkipListMap$Index__
+#define __java_util_concurrent_ConcurrentSkipListMap$Index__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::concurrent::ConcurrentSkipListMap$Index : public ::java::lang::Object
+{
+
+public: // actually package-private
+ ConcurrentSkipListMap$Index(::java::util::concurrent::ConcurrentSkipListMap$Node *, ::java::util::concurrent::ConcurrentSkipListMap$Index *, ::java::util::concurrent::ConcurrentSkipListMap$Index *);
+ virtual jboolean casRight(::java::util::concurrent::ConcurrentSkipListMap$Index *, ::java::util::concurrent::ConcurrentSkipListMap$Index *);
+ virtual jboolean indexesDeletedNode();
+ virtual jboolean link(::java::util::concurrent::ConcurrentSkipListMap$Index *, ::java::util::concurrent::ConcurrentSkipListMap$Index *);
+ virtual jboolean unlink(::java::util::concurrent::ConcurrentSkipListMap$Index *);
+ ::java::util::concurrent::ConcurrentSkipListMap$Node * __attribute__((aligned(__alignof__( ::java::lang::Object)))) node;
+ ::java::util::concurrent::ConcurrentSkipListMap$Index * down;
+ volatile ::java::util::concurrent::ConcurrentSkipListMap$Index * right;
+ static ::java::util::concurrent::atomic::AtomicReferenceFieldUpdater * rightUpdater;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_ConcurrentSkipListMap$Index__
diff --git a/libjava/java/util/concurrent/ConcurrentSkipListMap$Iter.h b/libjava/java/util/concurrent/ConcurrentSkipListMap$Iter.h
new file mode 100644
index 0000000..f9170b3
--- /dev/null
+++ b/libjava/java/util/concurrent/ConcurrentSkipListMap$Iter.h
@@ -0,0 +1,32 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_ConcurrentSkipListMap$Iter__
+#define __java_util_concurrent_ConcurrentSkipListMap$Iter__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::concurrent::ConcurrentSkipListMap$Iter : public ::java::lang::Object
+{
+
+public: // actually package-private
+ ConcurrentSkipListMap$Iter(::java::util::concurrent::ConcurrentSkipListMap *);
+public:
+ virtual jboolean hasNext();
+public: // actually package-private
+ virtual void advance();
+public:
+ virtual void remove();
+ virtual ::java::lang::Object * next() = 0;
+public: // actually package-private
+ ::java::util::concurrent::ConcurrentSkipListMap$Node * __attribute__((aligned(__alignof__( ::java::lang::Object)))) lastReturned;
+ ::java::util::concurrent::ConcurrentSkipListMap$Node * next;
+ ::java::lang::Object * nextValue;
+ ::java::util::concurrent::ConcurrentSkipListMap * this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_ConcurrentSkipListMap$Iter__
diff --git a/libjava/java/util/concurrent/ConcurrentSkipListMap$KeyIterator.h b/libjava/java/util/concurrent/ConcurrentSkipListMap$KeyIterator.h
new file mode 100644
index 0000000..03eb3e8
--- /dev/null
+++ b/libjava/java/util/concurrent/ConcurrentSkipListMap$KeyIterator.h
@@ -0,0 +1,24 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_ConcurrentSkipListMap$KeyIterator__
+#define __java_util_concurrent_ConcurrentSkipListMap$KeyIterator__
+
+#pragma interface
+
+#include <java/util/concurrent/ConcurrentSkipListMap$Iter.h>
+
+class java::util::concurrent::ConcurrentSkipListMap$KeyIterator : public ::java::util::concurrent::ConcurrentSkipListMap$Iter
+{
+
+public: // actually package-private
+ ConcurrentSkipListMap$KeyIterator(::java::util::concurrent::ConcurrentSkipListMap *);
+public:
+ ::java::lang::Object * next();
+public: // actually package-private
+ ::java::util::concurrent::ConcurrentSkipListMap * __attribute__((aligned(__alignof__( ::java::util::concurrent::ConcurrentSkipListMap$Iter)))) this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_ConcurrentSkipListMap$KeyIterator__
diff --git a/libjava/java/util/concurrent/ConcurrentSkipListMap$KeySet.h b/libjava/java/util/concurrent/ConcurrentSkipListMap$KeySet.h
new file mode 100644
index 0000000..c2372f8
--- /dev/null
+++ b/libjava/java/util/concurrent/ConcurrentSkipListMap$KeySet.h
@@ -0,0 +1,54 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_ConcurrentSkipListMap$KeySet__
+#define __java_util_concurrent_ConcurrentSkipListMap$KeySet__
+
+#pragma interface
+
+#include <java/util/AbstractSet.h>
+#include <gcj/array.h>
+
+
+class java::util::concurrent::ConcurrentSkipListMap$KeySet : public ::java::util::AbstractSet
+{
+
+public: // actually package-private
+ ConcurrentSkipListMap$KeySet(::java::util::concurrent::ConcurrentNavigableMap *);
+public:
+ jint size();
+ jboolean isEmpty();
+ jboolean contains(::java::lang::Object *);
+ jboolean remove(::java::lang::Object *);
+ void clear();
+ ::java::lang::Object * lower(::java::lang::Object *);
+ ::java::lang::Object * floor(::java::lang::Object *);
+ ::java::lang::Object * ceiling(::java::lang::Object *);
+ ::java::lang::Object * higher(::java::lang::Object *);
+ ::java::util::Comparator * comparator();
+ ::java::lang::Object * first();
+ ::java::lang::Object * last();
+ ::java::lang::Object * pollFirst();
+ ::java::lang::Object * pollLast();
+ ::java::util::Iterator * iterator();
+ jboolean equals(::java::lang::Object *);
+ JArray< ::java::lang::Object * > * toArray();
+ JArray< ::java::lang::Object * > * toArray(JArray< ::java::lang::Object * > *);
+ ::java::util::Iterator * descendingIterator();
+ ::java::util::NavigableSet * subSet(::java::lang::Object *, jboolean, ::java::lang::Object *, jboolean);
+ ::java::util::NavigableSet * headSet(::java::lang::Object *, jboolean);
+ ::java::util::NavigableSet * tailSet(::java::lang::Object *, jboolean);
+ ::java::util::NavigableSet * target$subSet(::java::lang::Object *, ::java::lang::Object *);
+ ::java::util::NavigableSet * target$headSet(::java::lang::Object *);
+ ::java::util::NavigableSet * target$tailSet(::java::lang::Object *);
+ ::java::util::NavigableSet * descendingSet();
+ ::java::util::SortedSet * subSet(::java::lang::Object *, ::java::lang::Object *);
+ ::java::util::SortedSet * tailSet(::java::lang::Object *);
+ ::java::util::SortedSet * headSet(::java::lang::Object *);
+private:
+ ::java::util::concurrent::ConcurrentNavigableMap * __attribute__((aligned(__alignof__( ::java::util::AbstractSet)))) m;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_ConcurrentSkipListMap$KeySet__
diff --git a/libjava/java/util/concurrent/ConcurrentSkipListMap$Node.h b/libjava/java/util/concurrent/ConcurrentSkipListMap$Node.h
new file mode 100644
index 0000000..1b94c35
--- /dev/null
+++ b/libjava/java/util/concurrent/ConcurrentSkipListMap$Node.h
@@ -0,0 +1,34 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_ConcurrentSkipListMap$Node__
+#define __java_util_concurrent_ConcurrentSkipListMap$Node__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::concurrent::ConcurrentSkipListMap$Node : public ::java::lang::Object
+{
+
+public: // actually package-private
+ ConcurrentSkipListMap$Node(::java::lang::Object *, ::java::lang::Object *, ::java::util::concurrent::ConcurrentSkipListMap$Node *);
+ ConcurrentSkipListMap$Node(::java::util::concurrent::ConcurrentSkipListMap$Node *);
+ jboolean casValue(::java::lang::Object *, ::java::lang::Object *);
+ jboolean casNext(::java::util::concurrent::ConcurrentSkipListMap$Node *, ::java::util::concurrent::ConcurrentSkipListMap$Node *);
+ jboolean isMarker();
+ jboolean isBaseHeader();
+ jboolean appendMarker(::java::util::concurrent::ConcurrentSkipListMap$Node *);
+ void helpDelete(::java::util::concurrent::ConcurrentSkipListMap$Node *, ::java::util::concurrent::ConcurrentSkipListMap$Node *);
+ ::java::lang::Object * getValidValue();
+ ::java::util::AbstractMap$SimpleImmutableEntry * createSnapshot();
+ ::java::lang::Object * __attribute__((aligned(__alignof__( ::java::lang::Object)))) key;
+ volatile ::java::lang::Object * value;
+ volatile ::java::util::concurrent::ConcurrentSkipListMap$Node * next;
+ static ::java::util::concurrent::atomic::AtomicReferenceFieldUpdater * nextUpdater;
+ static ::java::util::concurrent::atomic::AtomicReferenceFieldUpdater * valueUpdater;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_ConcurrentSkipListMap$Node__
diff --git a/libjava/java/util/concurrent/ConcurrentSkipListMap$SubMap$SubMapEntryIterator.h b/libjava/java/util/concurrent/ConcurrentSkipListMap$SubMap$SubMapEntryIterator.h
new file mode 100644
index 0000000..8b01d99
--- /dev/null
+++ b/libjava/java/util/concurrent/ConcurrentSkipListMap$SubMap$SubMapEntryIterator.h
@@ -0,0 +1,25 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_ConcurrentSkipListMap$SubMap$SubMapEntryIterator__
+#define __java_util_concurrent_ConcurrentSkipListMap$SubMap$SubMapEntryIterator__
+
+#pragma interface
+
+#include <java/util/concurrent/ConcurrentSkipListMap$SubMap$SubMapIter.h>
+
+class java::util::concurrent::ConcurrentSkipListMap$SubMap$SubMapEntryIterator : public ::java::util::concurrent::ConcurrentSkipListMap$SubMap$SubMapIter
+{
+
+public: // actually package-private
+ ConcurrentSkipListMap$SubMap$SubMapEntryIterator(::java::util::concurrent::ConcurrentSkipListMap$SubMap *);
+public:
+ ::java::util::Map$Entry * target$next();
+ ::java::lang::Object * next();
+public: // actually package-private
+ ::java::util::concurrent::ConcurrentSkipListMap$SubMap * __attribute__((aligned(__alignof__( ::java::util::concurrent::ConcurrentSkipListMap$SubMap$SubMapIter)))) this$1;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_ConcurrentSkipListMap$SubMap$SubMapEntryIterator__
diff --git a/libjava/java/util/concurrent/ConcurrentSkipListMap$SubMap$SubMapIter.h b/libjava/java/util/concurrent/ConcurrentSkipListMap$SubMap$SubMapIter.h
new file mode 100644
index 0000000..a4f5693
--- /dev/null
+++ b/libjava/java/util/concurrent/ConcurrentSkipListMap$SubMap$SubMapIter.h
@@ -0,0 +1,35 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_ConcurrentSkipListMap$SubMap$SubMapIter__
+#define __java_util_concurrent_ConcurrentSkipListMap$SubMap$SubMapIter__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::concurrent::ConcurrentSkipListMap$SubMap$SubMapIter : public ::java::lang::Object
+{
+
+public: // actually package-private
+ ConcurrentSkipListMap$SubMap$SubMapIter(::java::util::concurrent::ConcurrentSkipListMap$SubMap *);
+public:
+ virtual jboolean hasNext();
+public: // actually package-private
+ virtual void advance();
+private:
+ void ascend();
+ void descend();
+public:
+ virtual void remove();
+ virtual ::java::lang::Object * next() = 0;
+public: // actually package-private
+ ::java::util::concurrent::ConcurrentSkipListMap$Node * __attribute__((aligned(__alignof__( ::java::lang::Object)))) lastReturned;
+ ::java::util::concurrent::ConcurrentSkipListMap$Node * next;
+ ::java::lang::Object * nextValue;
+ ::java::util::concurrent::ConcurrentSkipListMap$SubMap * this$1;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_ConcurrentSkipListMap$SubMap$SubMapIter__
diff --git a/libjava/java/util/concurrent/ConcurrentSkipListMap$SubMap$SubMapKeyIterator.h b/libjava/java/util/concurrent/ConcurrentSkipListMap$SubMap$SubMapKeyIterator.h
new file mode 100644
index 0000000..5af0bca
--- /dev/null
+++ b/libjava/java/util/concurrent/ConcurrentSkipListMap$SubMap$SubMapKeyIterator.h
@@ -0,0 +1,24 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_ConcurrentSkipListMap$SubMap$SubMapKeyIterator__
+#define __java_util_concurrent_ConcurrentSkipListMap$SubMap$SubMapKeyIterator__
+
+#pragma interface
+
+#include <java/util/concurrent/ConcurrentSkipListMap$SubMap$SubMapIter.h>
+
+class java::util::concurrent::ConcurrentSkipListMap$SubMap$SubMapKeyIterator : public ::java::util::concurrent::ConcurrentSkipListMap$SubMap$SubMapIter
+{
+
+public: // actually package-private
+ ConcurrentSkipListMap$SubMap$SubMapKeyIterator(::java::util::concurrent::ConcurrentSkipListMap$SubMap *);
+public:
+ ::java::lang::Object * next();
+public: // actually package-private
+ ::java::util::concurrent::ConcurrentSkipListMap$SubMap * __attribute__((aligned(__alignof__( ::java::util::concurrent::ConcurrentSkipListMap$SubMap$SubMapIter)))) this$1;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_ConcurrentSkipListMap$SubMap$SubMapKeyIterator__
diff --git a/libjava/java/util/concurrent/ConcurrentSkipListMap$SubMap$SubMapValueIterator.h b/libjava/java/util/concurrent/ConcurrentSkipListMap$SubMap$SubMapValueIterator.h
new file mode 100644
index 0000000..deefc73
--- /dev/null
+++ b/libjava/java/util/concurrent/ConcurrentSkipListMap$SubMap$SubMapValueIterator.h
@@ -0,0 +1,24 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_ConcurrentSkipListMap$SubMap$SubMapValueIterator__
+#define __java_util_concurrent_ConcurrentSkipListMap$SubMap$SubMapValueIterator__
+
+#pragma interface
+
+#include <java/util/concurrent/ConcurrentSkipListMap$SubMap$SubMapIter.h>
+
+class java::util::concurrent::ConcurrentSkipListMap$SubMap$SubMapValueIterator : public ::java::util::concurrent::ConcurrentSkipListMap$SubMap$SubMapIter
+{
+
+public: // actually package-private
+ ConcurrentSkipListMap$SubMap$SubMapValueIterator(::java::util::concurrent::ConcurrentSkipListMap$SubMap *);
+public:
+ ::java::lang::Object * next();
+public: // actually package-private
+ ::java::util::concurrent::ConcurrentSkipListMap$SubMap * __attribute__((aligned(__alignof__( ::java::util::concurrent::ConcurrentSkipListMap$SubMap$SubMapIter)))) this$1;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_ConcurrentSkipListMap$SubMap$SubMapValueIterator__
diff --git a/libjava/java/util/concurrent/ConcurrentSkipListMap$SubMap.h b/libjava/java/util/concurrent/ConcurrentSkipListMap$SubMap.h
new file mode 100644
index 0000000..e065dbe
--- /dev/null
+++ b/libjava/java/util/concurrent/ConcurrentSkipListMap$SubMap.h
@@ -0,0 +1,118 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_ConcurrentSkipListMap$SubMap__
+#define __java_util_concurrent_ConcurrentSkipListMap$SubMap__
+
+#pragma interface
+
+#include <java/util/AbstractMap.h>
+
+class java::util::concurrent::ConcurrentSkipListMap$SubMap : public ::java::util::AbstractMap
+{
+
+public: // actually package-private
+ ConcurrentSkipListMap$SubMap(::java::util::concurrent::ConcurrentSkipListMap *, ::java::lang::Object *, jboolean, ::java::lang::Object *, jboolean, jboolean);
+private:
+ jboolean tooLow(::java::lang::Object *);
+ jboolean tooHigh(::java::lang::Object *);
+ jboolean inBounds(::java::lang::Object *);
+ void checkKeyBounds(::java::lang::Object *);
+ jboolean isBeforeEnd(::java::util::concurrent::ConcurrentSkipListMap$Node *);
+ ::java::util::concurrent::ConcurrentSkipListMap$Node * loNode();
+ ::java::util::concurrent::ConcurrentSkipListMap$Node * hiNode();
+ ::java::lang::Object * lowestKey();
+ ::java::lang::Object * highestKey();
+ ::java::util::Map$Entry * lowestEntry();
+ ::java::util::Map$Entry * highestEntry();
+ ::java::util::Map$Entry * removeLowest();
+ ::java::util::Map$Entry * removeHighest();
+ ::java::util::Map$Entry * getNearEntry(::java::lang::Object *, jint);
+ ::java::lang::Object * getNearKey(::java::lang::Object *, jint);
+public:
+ jboolean containsKey(::java::lang::Object *);
+ ::java::lang::Object * get(::java::lang::Object *);
+ ::java::lang::Object * put(::java::lang::Object *, ::java::lang::Object *);
+ ::java::lang::Object * remove(::java::lang::Object *);
+ jint size();
+ jboolean isEmpty();
+ jboolean containsValue(::java::lang::Object *);
+ void clear();
+ ::java::lang::Object * putIfAbsent(::java::lang::Object *, ::java::lang::Object *);
+ jboolean remove(::java::lang::Object *, ::java::lang::Object *);
+ jboolean replace(::java::lang::Object *, ::java::lang::Object *, ::java::lang::Object *);
+ ::java::lang::Object * replace(::java::lang::Object *, ::java::lang::Object *);
+ ::java::util::Comparator * comparator();
+private:
+ ::java::util::concurrent::ConcurrentSkipListMap$SubMap * newSubMap(::java::lang::Object *, jboolean, ::java::lang::Object *, jboolean);
+public:
+ ::java::util::concurrent::ConcurrentSkipListMap$SubMap * target$subMap(::java::lang::Object *, jboolean, ::java::lang::Object *, jboolean);
+ ::java::util::concurrent::ConcurrentSkipListMap$SubMap * target$headMap(::java::lang::Object *, jboolean);
+ ::java::util::concurrent::ConcurrentSkipListMap$SubMap * target$tailMap(::java::lang::Object *, jboolean);
+ ::java::util::concurrent::ConcurrentSkipListMap$SubMap * target$subMap(::java::lang::Object *, ::java::lang::Object *);
+ ::java::util::concurrent::ConcurrentSkipListMap$SubMap * target$headMap(::java::lang::Object *);
+ ::java::util::concurrent::ConcurrentSkipListMap$SubMap * target$tailMap(::java::lang::Object *);
+ ::java::util::concurrent::ConcurrentSkipListMap$SubMap * target$descendingMap();
+ ::java::util::Map$Entry * ceilingEntry(::java::lang::Object *);
+ ::java::lang::Object * ceilingKey(::java::lang::Object *);
+ ::java::util::Map$Entry * lowerEntry(::java::lang::Object *);
+ ::java::lang::Object * lowerKey(::java::lang::Object *);
+ ::java::util::Map$Entry * floorEntry(::java::lang::Object *);
+ ::java::lang::Object * floorKey(::java::lang::Object *);
+ ::java::util::Map$Entry * higherEntry(::java::lang::Object *);
+ ::java::lang::Object * higherKey(::java::lang::Object *);
+ ::java::lang::Object * firstKey();
+ ::java::lang::Object * lastKey();
+ ::java::util::Map$Entry * firstEntry();
+ ::java::util::Map$Entry * lastEntry();
+ ::java::util::Map$Entry * pollFirstEntry();
+ ::java::util::Map$Entry * pollLastEntry();
+ ::java::util::NavigableSet * target$keySet();
+ ::java::util::NavigableSet * navigableKeySet();
+ ::java::util::Collection * values();
+ ::java::util::Set * entrySet();
+ ::java::util::NavigableSet * descendingKeySet();
+public: // actually package-private
+ ::java::util::Iterator * keyIterator();
+ ::java::util::Iterator * valueIterator();
+ ::java::util::Iterator * entryIterator();
+public:
+ ::java::util::SortedMap * subMap(::java::lang::Object *, ::java::lang::Object *);
+ ::java::util::concurrent::ConcurrentNavigableMap * subMap(::java::lang::Object *, ::java::lang::Object *);
+ ::java::util::NavigableMap * subMap(::java::lang::Object *, jboolean, ::java::lang::Object *, jboolean);
+ ::java::util::concurrent::ConcurrentNavigableMap * subMap(::java::lang::Object *, jboolean, ::java::lang::Object *, jboolean);
+ ::java::util::SortedMap * tailMap(::java::lang::Object *);
+ ::java::util::concurrent::ConcurrentNavigableMap * tailMap(::java::lang::Object *);
+ ::java::util::NavigableMap * tailMap(::java::lang::Object *, jboolean);
+ ::java::util::concurrent::ConcurrentNavigableMap * tailMap(::java::lang::Object *, jboolean);
+ ::java::util::SortedMap * headMap(::java::lang::Object *);
+ ::java::util::concurrent::ConcurrentNavigableMap * headMap(::java::lang::Object *);
+ ::java::util::NavigableMap * headMap(::java::lang::Object *, jboolean);
+ ::java::util::concurrent::ConcurrentNavigableMap * headMap(::java::lang::Object *, jboolean);
+ ::java::util::Set * keySet();
+ ::java::util::NavigableMap * descendingMap();
+ ::java::util::concurrent::ConcurrentNavigableMap * descendingMap();
+public: // actually package-private
+ static jboolean access$15(::java::util::concurrent::ConcurrentSkipListMap$SubMap *);
+ static ::java::util::concurrent::ConcurrentSkipListMap$Node * access$16(::java::util::concurrent::ConcurrentSkipListMap$SubMap *);
+ static ::java::util::concurrent::ConcurrentSkipListMap$Node * access$17(::java::util::concurrent::ConcurrentSkipListMap$SubMap *);
+ static jboolean access$18(::java::util::concurrent::ConcurrentSkipListMap$SubMap *, ::java::lang::Object *);
+ static jboolean access$19(::java::util::concurrent::ConcurrentSkipListMap$SubMap *, ::java::lang::Object *);
+ static ::java::util::concurrent::ConcurrentSkipListMap * access$20(::java::util::concurrent::ConcurrentSkipListMap$SubMap *);
+ static jboolean access$21(::java::util::concurrent::ConcurrentSkipListMap$SubMap *, ::java::lang::Object *);
+private:
+ static const jlong serialVersionUID = -7647078645895051609LL;
+ ::java::util::concurrent::ConcurrentSkipListMap * __attribute__((aligned(__alignof__( ::java::util::AbstractMap)))) m;
+ ::java::lang::Object * lo;
+ ::java::lang::Object * hi;
+ jboolean loInclusive;
+ jboolean hiInclusive;
+ jboolean isDescending;
+ ::java::util::concurrent::ConcurrentSkipListMap$KeySet * keySetView;
+ ::java::util::Set * entrySetView;
+ ::java::util::Collection * valuesView;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_ConcurrentSkipListMap$SubMap__
diff --git a/libjava/java/util/concurrent/ConcurrentSkipListMap$ValueIterator.h b/libjava/java/util/concurrent/ConcurrentSkipListMap$ValueIterator.h
new file mode 100644
index 0000000..fa671d8
--- /dev/null
+++ b/libjava/java/util/concurrent/ConcurrentSkipListMap$ValueIterator.h
@@ -0,0 +1,24 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_ConcurrentSkipListMap$ValueIterator__
+#define __java_util_concurrent_ConcurrentSkipListMap$ValueIterator__
+
+#pragma interface
+
+#include <java/util/concurrent/ConcurrentSkipListMap$Iter.h>
+
+class java::util::concurrent::ConcurrentSkipListMap$ValueIterator : public ::java::util::concurrent::ConcurrentSkipListMap$Iter
+{
+
+public: // actually package-private
+ ConcurrentSkipListMap$ValueIterator(::java::util::concurrent::ConcurrentSkipListMap *);
+public:
+ ::java::lang::Object * next();
+public: // actually package-private
+ ::java::util::concurrent::ConcurrentSkipListMap * __attribute__((aligned(__alignof__( ::java::util::concurrent::ConcurrentSkipListMap$Iter)))) this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_ConcurrentSkipListMap$ValueIterator__
diff --git a/libjava/java/util/concurrent/ConcurrentSkipListMap$Values.h b/libjava/java/util/concurrent/ConcurrentSkipListMap$Values.h
new file mode 100644
index 0000000..1fc3b1b
--- /dev/null
+++ b/libjava/java/util/concurrent/ConcurrentSkipListMap$Values.h
@@ -0,0 +1,32 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_ConcurrentSkipListMap$Values__
+#define __java_util_concurrent_ConcurrentSkipListMap$Values__
+
+#pragma interface
+
+#include <java/util/AbstractCollection.h>
+#include <gcj/array.h>
+
+
+class java::util::concurrent::ConcurrentSkipListMap$Values : public ::java::util::AbstractCollection
+{
+
+public: // actually package-private
+ ConcurrentSkipListMap$Values(::java::util::concurrent::ConcurrentNavigableMap *);
+public:
+ ::java::util::Iterator * iterator();
+ jboolean isEmpty();
+ jint size();
+ jboolean contains(::java::lang::Object *);
+ void clear();
+ JArray< ::java::lang::Object * > * toArray();
+ JArray< ::java::lang::Object * > * toArray(JArray< ::java::lang::Object * > *);
+private:
+ ::java::util::concurrent::ConcurrentNavigableMap * __attribute__((aligned(__alignof__( ::java::util::AbstractCollection)))) m;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_ConcurrentSkipListMap$Values__
diff --git a/libjava/java/util/concurrent/ConcurrentSkipListMap.h b/libjava/java/util/concurrent/ConcurrentSkipListMap.h
new file mode 100644
index 0000000..4d42f54
--- /dev/null
+++ b/libjava/java/util/concurrent/ConcurrentSkipListMap.h
@@ -0,0 +1,136 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_ConcurrentSkipListMap__
+#define __java_util_concurrent_ConcurrentSkipListMap__
+
+#pragma interface
+
+#include <java/util/AbstractMap.h>
+
+class java::util::concurrent::ConcurrentSkipListMap : public ::java::util::AbstractMap
+{
+
+public: // actually package-private
+ virtual void initialize();
+private:
+ jboolean casHead(::java::util::concurrent::ConcurrentSkipListMap$HeadIndex *, ::java::util::concurrent::ConcurrentSkipListMap$HeadIndex *);
+ ::java::lang::Comparable * comparable(::java::lang::Object *);
+public: // actually package-private
+ virtual jint compare(::java::lang::Object *, ::java::lang::Object *);
+ virtual jboolean inHalfOpenRange(::java::lang::Object *, ::java::lang::Object *, ::java::lang::Object *);
+ virtual jboolean inOpenRange(::java::lang::Object *, ::java::lang::Object *, ::java::lang::Object *);
+private:
+ ::java::util::concurrent::ConcurrentSkipListMap$Node * findPredecessor(::java::lang::Comparable *);
+ ::java::util::concurrent::ConcurrentSkipListMap$Node * findNode(::java::lang::Comparable *);
+ ::java::lang::Object * doGet(::java::lang::Object *);
+ ::java::lang::Object * getUsingFindNode(::java::lang::Comparable *);
+ ::java::lang::Object * doPut(::java::lang::Object *, ::java::lang::Object *, jboolean);
+ jint randomLevel();
+ void insertIndex(::java::util::concurrent::ConcurrentSkipListMap$Node *, jint);
+ void addIndex(::java::util::concurrent::ConcurrentSkipListMap$Index *, ::java::util::concurrent::ConcurrentSkipListMap$HeadIndex *, jint);
+public: // actually package-private
+ virtual ::java::lang::Object * doRemove(::java::lang::Object *, ::java::lang::Object *);
+private:
+ void tryReduceLevel();
+public: // actually package-private
+ virtual ::java::util::concurrent::ConcurrentSkipListMap$Node * findFirst();
+ virtual ::java::util::Map$Entry * doRemoveFirstEntry();
+private:
+ void clearIndexToFirst();
+public: // actually package-private
+ virtual ::java::util::concurrent::ConcurrentSkipListMap$Node * findLast();
+private:
+ ::java::util::concurrent::ConcurrentSkipListMap$Node * findPredecessorOfLast();
+public: // actually package-private
+ virtual ::java::util::Map$Entry * doRemoveLastEntry();
+ virtual ::java::util::concurrent::ConcurrentSkipListMap$Node * findNear(::java::lang::Object *, jint);
+ virtual ::java::util::AbstractMap$SimpleImmutableEntry * getNear(::java::lang::Object *, jint);
+public:
+ ConcurrentSkipListMap();
+ ConcurrentSkipListMap(::java::util::Comparator *);
+ ConcurrentSkipListMap(::java::util::Map *);
+ ConcurrentSkipListMap(::java::util::SortedMap *);
+ virtual ::java::util::concurrent::ConcurrentSkipListMap * target$clone();
+private:
+ void buildFromSorted(::java::util::SortedMap *);
+ void writeObject(::java::io::ObjectOutputStream *);
+ void readObject(::java::io::ObjectInputStream *);
+public:
+ virtual jboolean containsKey(::java::lang::Object *);
+ virtual ::java::lang::Object * get(::java::lang::Object *);
+ virtual ::java::lang::Object * put(::java::lang::Object *, ::java::lang::Object *);
+ virtual ::java::lang::Object * remove(::java::lang::Object *);
+ virtual jboolean containsValue(::java::lang::Object *);
+ virtual jint size();
+ virtual jboolean isEmpty();
+ virtual void clear();
+ virtual ::java::util::NavigableSet * target$keySet();
+ virtual ::java::util::NavigableSet * navigableKeySet();
+ virtual ::java::util::Collection * values();
+ virtual ::java::util::Set * entrySet();
+ virtual ::java::util::concurrent::ConcurrentNavigableMap * target$descendingMap();
+ virtual ::java::util::NavigableSet * descendingKeySet();
+ virtual jboolean equals(::java::lang::Object *);
+ virtual ::java::lang::Object * putIfAbsent(::java::lang::Object *, ::java::lang::Object *);
+ virtual jboolean remove(::java::lang::Object *, ::java::lang::Object *);
+ virtual jboolean replace(::java::lang::Object *, ::java::lang::Object *, ::java::lang::Object *);
+ virtual ::java::lang::Object * replace(::java::lang::Object *, ::java::lang::Object *);
+ virtual ::java::util::Comparator * comparator();
+ virtual ::java::lang::Object * firstKey();
+ virtual ::java::lang::Object * lastKey();
+ virtual ::java::util::concurrent::ConcurrentNavigableMap * target$subMap(::java::lang::Object *, jboolean, ::java::lang::Object *, jboolean);
+ virtual ::java::util::concurrent::ConcurrentNavigableMap * target$headMap(::java::lang::Object *, jboolean);
+ virtual ::java::util::concurrent::ConcurrentNavigableMap * target$tailMap(::java::lang::Object *, jboolean);
+ virtual ::java::util::concurrent::ConcurrentNavigableMap * target$subMap(::java::lang::Object *, ::java::lang::Object *);
+ virtual ::java::util::concurrent::ConcurrentNavigableMap * target$headMap(::java::lang::Object *);
+ virtual ::java::util::concurrent::ConcurrentNavigableMap * target$tailMap(::java::lang::Object *);
+ virtual ::java::util::Map$Entry * lowerEntry(::java::lang::Object *);
+ virtual ::java::lang::Object * lowerKey(::java::lang::Object *);
+ virtual ::java::util::Map$Entry * floorEntry(::java::lang::Object *);
+ virtual ::java::lang::Object * floorKey(::java::lang::Object *);
+ virtual ::java::util::Map$Entry * ceilingEntry(::java::lang::Object *);
+ virtual ::java::lang::Object * ceilingKey(::java::lang::Object *);
+ virtual ::java::util::Map$Entry * higherEntry(::java::lang::Object *);
+ virtual ::java::lang::Object * higherKey(::java::lang::Object *);
+ virtual ::java::util::Map$Entry * firstEntry();
+ virtual ::java::util::Map$Entry * lastEntry();
+ virtual ::java::util::Map$Entry * pollFirstEntry();
+ virtual ::java::util::Map$Entry * pollLastEntry();
+public: // actually package-private
+ virtual ::java::util::Iterator * keyIterator();
+ virtual ::java::util::Iterator * valueIterator();
+ virtual ::java::util::Iterator * entryIterator();
+ static ::java::util::List * toList(::java::util::Collection *);
+public:
+ virtual ::java::util::SortedMap * subMap(::java::lang::Object *, ::java::lang::Object *);
+ virtual ::java::util::NavigableMap * subMap(::java::lang::Object *, jboolean, ::java::lang::Object *, jboolean);
+ virtual ::java::lang::Object * clone();
+ virtual ::java::util::SortedMap * tailMap(::java::lang::Object *);
+ virtual ::java::util::NavigableMap * tailMap(::java::lang::Object *, jboolean);
+ virtual ::java::util::SortedMap * headMap(::java::lang::Object *);
+ virtual ::java::util::NavigableMap * headMap(::java::lang::Object *, jboolean);
+ virtual ::java::util::Set * keySet();
+ virtual ::java::util::NavigableMap * descendingMap();
+public: // actually package-private
+ static ::java::lang::Object * access$9();
+private:
+ static const jlong serialVersionUID = -8627078645895051609LL;
+ static ::java::util::Random * seedGenerator;
+ static ::java::lang::Object * BASE_HEADER;
+ volatile ::java::util::concurrent::ConcurrentSkipListMap$HeadIndex * __attribute__((aligned(__alignof__( ::java::util::AbstractMap)))) head;
+ ::java::util::Comparator * comparator__;
+ jint randomSeed;
+ ::java::util::concurrent::ConcurrentSkipListMap$KeySet * keySet__;
+ ::java::util::concurrent::ConcurrentSkipListMap$EntrySet * entrySet__;
+ ::java::util::concurrent::ConcurrentSkipListMap$Values * values__;
+ ::java::util::concurrent::ConcurrentNavigableMap * descendingMap__;
+ static ::java::util::concurrent::atomic::AtomicReferenceFieldUpdater * headUpdater;
+ static const jint EQ = 1;
+ static const jint LT = 2;
+ static const jint GT = 0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_ConcurrentSkipListMap__
diff --git a/libjava/java/util/concurrent/ConcurrentSkipListSet.h b/libjava/java/util/concurrent/ConcurrentSkipListSet.h
new file mode 100644
index 0000000..75afde9
--- /dev/null
+++ b/libjava/java/util/concurrent/ConcurrentSkipListSet.h
@@ -0,0 +1,75 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_ConcurrentSkipListSet__
+#define __java_util_concurrent_ConcurrentSkipListSet__
+
+#pragma interface
+
+#include <java/util/AbstractSet.h>
+extern "Java"
+{
+ namespace sun
+ {
+ namespace misc
+ {
+ class Unsafe;
+ }
+ }
+}
+
+class java::util::concurrent::ConcurrentSkipListSet : public ::java::util::AbstractSet
+{
+
+public:
+ ConcurrentSkipListSet();
+ ConcurrentSkipListSet(::java::util::Comparator *);
+ ConcurrentSkipListSet(::java::util::Collection *);
+ ConcurrentSkipListSet(::java::util::SortedSet *);
+public: // actually package-private
+ ConcurrentSkipListSet(::java::util::concurrent::ConcurrentNavigableMap *);
+public:
+ virtual ::java::util::concurrent::ConcurrentSkipListSet * target$clone();
+ virtual jint size();
+ virtual jboolean isEmpty();
+ virtual jboolean contains(::java::lang::Object *);
+ virtual jboolean add(::java::lang::Object *);
+ virtual jboolean remove(::java::lang::Object *);
+ virtual void clear();
+ virtual ::java::util::Iterator * iterator();
+ virtual ::java::util::Iterator * descendingIterator();
+ virtual jboolean equals(::java::lang::Object *);
+ virtual jboolean removeAll(::java::util::Collection *);
+ virtual ::java::lang::Object * lower(::java::lang::Object *);
+ virtual ::java::lang::Object * floor(::java::lang::Object *);
+ virtual ::java::lang::Object * ceiling(::java::lang::Object *);
+ virtual ::java::lang::Object * higher(::java::lang::Object *);
+ virtual ::java::lang::Object * pollFirst();
+ virtual ::java::lang::Object * pollLast();
+ virtual ::java::util::Comparator * comparator();
+ virtual ::java::lang::Object * first();
+ virtual ::java::lang::Object * last();
+ virtual ::java::util::NavigableSet * subSet(::java::lang::Object *, jboolean, ::java::lang::Object *, jboolean);
+ virtual ::java::util::NavigableSet * headSet(::java::lang::Object *, jboolean);
+ virtual ::java::util::NavigableSet * tailSet(::java::lang::Object *, jboolean);
+ virtual ::java::util::NavigableSet * target$subSet(::java::lang::Object *, ::java::lang::Object *);
+ virtual ::java::util::NavigableSet * target$headSet(::java::lang::Object *);
+ virtual ::java::util::NavigableSet * target$tailSet(::java::lang::Object *);
+ virtual ::java::util::NavigableSet * descendingSet();
+private:
+ void setMap(::java::util::concurrent::ConcurrentNavigableMap *);
+public:
+ virtual ::java::lang::Object * clone();
+ virtual ::java::util::SortedSet * subSet(::java::lang::Object *, ::java::lang::Object *);
+ virtual ::java::util::SortedSet * tailSet(::java::lang::Object *);
+ virtual ::java::util::SortedSet * headSet(::java::lang::Object *);
+private:
+ static const jlong serialVersionUID = -2479143111061671589LL;
+ ::java::util::concurrent::ConcurrentNavigableMap * __attribute__((aligned(__alignof__( ::java::util::AbstractSet)))) m;
+ static ::sun::misc::Unsafe * unsafe;
+ static jlong mapOffset;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_ConcurrentSkipListSet__
diff --git a/libjava/java/util/concurrent/CopyOnWriteArrayList.h b/libjava/java/util/concurrent/CopyOnWriteArrayList.h
new file mode 100644
index 0000000..924ba48
--- /dev/null
+++ b/libjava/java/util/concurrent/CopyOnWriteArrayList.h
@@ -0,0 +1,52 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_CopyOnWriteArrayList__
+#define __java_util_concurrent_CopyOnWriteArrayList__
+
+#pragma interface
+
+#include <java/util/AbstractList.h>
+#include <gcj/array.h>
+
+
+class java::util::concurrent::CopyOnWriteArrayList : public ::java::util::AbstractList
+{
+
+public:
+ CopyOnWriteArrayList();
+ CopyOnWriteArrayList(::java::util::Collection *);
+ CopyOnWriteArrayList(JArray< ::java::lang::Object * > *);
+ virtual jint size();
+ virtual jboolean isEmpty();
+ virtual jboolean contains(::java::lang::Object *);
+ virtual jint indexOf(::java::lang::Object *);
+ virtual jint indexOf(::java::lang::Object *, jint);
+ virtual jint lastIndexOf(::java::lang::Object *);
+ virtual jint lastIndexOf(::java::lang::Object *, jint);
+ virtual ::java::lang::Object * clone();
+ virtual JArray< ::java::lang::Object * > * toArray();
+ virtual JArray< ::java::lang::Object * > * toArray(JArray< ::java::lang::Object * > *);
+ virtual ::java::lang::Object * get(jint);
+ virtual ::java::lang::Object * set(jint, ::java::lang::Object *);
+ virtual jboolean add(::java::lang::Object *);
+ virtual void add(jint, ::java::lang::Object *);
+ virtual ::java::lang::Object * remove(jint);
+ virtual void clear();
+ virtual jboolean addAll(::java::util::Collection *);
+ virtual jboolean addAll(jint, ::java::util::Collection *);
+ virtual jboolean addIfAbsent(::java::lang::Object *);
+ virtual jint addAllAbsent(::java::util::Collection *);
+private:
+ void writeObject(::java::io::ObjectOutputStream *);
+ void readObject(::java::io::ObjectInputStream *);
+public: // actually package-private
+ static jboolean equals(::java::lang::Object *, ::java::lang::Object *);
+ virtual JArray< ::java::lang::Object * > * getArray();
+private:
+ JArray< ::java::lang::Object * > * __attribute__((aligned(__alignof__( ::java::util::AbstractList)))) data;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_CopyOnWriteArrayList__
diff --git a/libjava/java/util/concurrent/CopyOnWriteArraySet.h b/libjava/java/util/concurrent/CopyOnWriteArraySet.h
new file mode 100644
index 0000000..9fb8c83
--- /dev/null
+++ b/libjava/java/util/concurrent/CopyOnWriteArraySet.h
@@ -0,0 +1,41 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_CopyOnWriteArraySet__
+#define __java_util_concurrent_CopyOnWriteArraySet__
+
+#pragma interface
+
+#include <java/util/AbstractSet.h>
+#include <gcj/array.h>
+
+
+class java::util::concurrent::CopyOnWriteArraySet : public ::java::util::AbstractSet
+{
+
+public:
+ CopyOnWriteArraySet();
+ CopyOnWriteArraySet(::java::util::Collection *);
+ virtual jint size();
+ virtual jboolean isEmpty();
+ virtual jboolean contains(::java::lang::Object *);
+ virtual JArray< ::java::lang::Object * > * toArray();
+ virtual JArray< ::java::lang::Object * > * toArray(JArray< ::java::lang::Object * > *);
+ virtual void clear();
+ virtual jboolean remove(::java::lang::Object *);
+ virtual jboolean add(::java::lang::Object *);
+ virtual jboolean containsAll(::java::util::Collection *);
+ virtual jboolean addAll(::java::util::Collection *);
+ virtual jboolean removeAll(::java::util::Collection *);
+ virtual jboolean retainAll(::java::util::Collection *);
+ virtual ::java::util::Iterator * iterator();
+ virtual jboolean equals(::java::lang::Object *);
+private:
+ static jboolean eq(::java::lang::Object *, ::java::lang::Object *);
+ static const jlong serialVersionUID = 5457747651344034263LL;
+ ::java::util::concurrent::CopyOnWriteArrayList * __attribute__((aligned(__alignof__( ::java::util::AbstractSet)))) al;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_CopyOnWriteArraySet__
diff --git a/libjava/java/util/concurrent/CountDownLatch$Sync.h b/libjava/java/util/concurrent/CountDownLatch$Sync.h
new file mode 100644
index 0000000..ee8e751
--- /dev/null
+++ b/libjava/java/util/concurrent/CountDownLatch$Sync.h
@@ -0,0 +1,26 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_CountDownLatch$Sync__
+#define __java_util_concurrent_CountDownLatch$Sync__
+
+#pragma interface
+
+#include <java/util/concurrent/locks/AbstractQueuedSynchronizer.h>
+
+class java::util::concurrent::CountDownLatch$Sync : public ::java::util::concurrent::locks::AbstractQueuedSynchronizer
+{
+
+public: // actually package-private
+ CountDownLatch$Sync(jint);
+ jint getCount();
+public:
+ jint tryAcquireShared(jint);
+ jboolean tryReleaseShared(jint);
+private:
+ static const jlong serialVersionUID = 4982264981922014374LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_CountDownLatch$Sync__
diff --git a/libjava/java/util/concurrent/CountDownLatch.h b/libjava/java/util/concurrent/CountDownLatch.h
new file mode 100644
index 0000000..68609d3
--- /dev/null
+++ b/libjava/java/util/concurrent/CountDownLatch.h
@@ -0,0 +1,27 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_CountDownLatch__
+#define __java_util_concurrent_CountDownLatch__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::concurrent::CountDownLatch : public ::java::lang::Object
+{
+
+public:
+ CountDownLatch(jint);
+ virtual void await();
+ virtual jboolean await(jlong, ::java::util::concurrent::TimeUnit *);
+ virtual void countDown();
+ virtual jlong getCount();
+ virtual ::java::lang::String * toString();
+private:
+ ::java::util::concurrent::CountDownLatch$Sync * __attribute__((aligned(__alignof__( ::java::lang::Object)))) sync;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_CountDownLatch__
diff --git a/libjava/java/util/concurrent/CyclicBarrier$Generation.h b/libjava/java/util/concurrent/CyclicBarrier$Generation.h
new file mode 100644
index 0000000..c3d7e4a
--- /dev/null
+++ b/libjava/java/util/concurrent/CyclicBarrier$Generation.h
@@ -0,0 +1,22 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_CyclicBarrier$Generation__
+#define __java_util_concurrent_CyclicBarrier$Generation__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::concurrent::CyclicBarrier$Generation : public ::java::lang::Object
+{
+
+ CyclicBarrier$Generation();
+public: // actually package-private
+ CyclicBarrier$Generation(::java::util::concurrent::CyclicBarrier$Generation *);
+ jboolean __attribute__((aligned(__alignof__( ::java::lang::Object)))) broken;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_CyclicBarrier$Generation__
diff --git a/libjava/java/util/concurrent/CyclicBarrier.h b/libjava/java/util/concurrent/CyclicBarrier.h
new file mode 100644
index 0000000..c6c4b3e
--- /dev/null
+++ b/libjava/java/util/concurrent/CyclicBarrier.h
@@ -0,0 +1,37 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_CyclicBarrier__
+#define __java_util_concurrent_CyclicBarrier__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::concurrent::CyclicBarrier : public ::java::lang::Object
+{
+
+ void nextGeneration();
+ void breakBarrier();
+ jint dowait(jboolean, jlong);
+public:
+ CyclicBarrier(jint, ::java::lang::Runnable *);
+ CyclicBarrier(jint);
+ virtual jint getParties();
+ virtual jint await();
+ virtual jint await(jlong, ::java::util::concurrent::TimeUnit *);
+ virtual jboolean isBroken();
+ virtual void reset();
+ virtual jint getNumberWaiting();
+private:
+ ::java::util::concurrent::locks::ReentrantLock * __attribute__((aligned(__alignof__( ::java::lang::Object)))) lock;
+ ::java::util::concurrent::locks::Condition * trip;
+ jint parties;
+ ::java::lang::Runnable * barrierCommand;
+ ::java::util::concurrent::CyclicBarrier$Generation * generation;
+ jint count;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_CyclicBarrier__
diff --git a/libjava/java/util/concurrent/DelayQueue$Itr.h b/libjava/java/util/concurrent/DelayQueue$Itr.h
new file mode 100644
index 0000000..ab7af20
--- /dev/null
+++ b/libjava/java/util/concurrent/DelayQueue$Itr.h
@@ -0,0 +1,32 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_DelayQueue$Itr__
+#define __java_util_concurrent_DelayQueue$Itr__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+
+class java::util::concurrent::DelayQueue$Itr : public ::java::lang::Object
+{
+
+public: // actually package-private
+ DelayQueue$Itr(::java::util::concurrent::DelayQueue *, JArray< ::java::lang::Object * > *);
+public:
+ virtual jboolean hasNext();
+ virtual ::java::util::concurrent::Delayed * target$next();
+ virtual void remove();
+ virtual ::java::lang::Object * next();
+public: // actually package-private
+ JArray< ::java::lang::Object * > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) array;
+ jint cursor;
+ jint lastRet;
+ ::java::util::concurrent::DelayQueue * this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_DelayQueue$Itr__
diff --git a/libjava/java/util/concurrent/DelayQueue.h b/libjava/java/util/concurrent/DelayQueue.h
new file mode 100644
index 0000000..76dd489
--- /dev/null
+++ b/libjava/java/util/concurrent/DelayQueue.h
@@ -0,0 +1,57 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_DelayQueue__
+#define __java_util_concurrent_DelayQueue__
+
+#pragma interface
+
+#include <java/util/AbstractQueue.h>
+#include <gcj/array.h>
+
+
+class java::util::concurrent::DelayQueue : public ::java::util::AbstractQueue
+{
+
+public:
+ DelayQueue();
+ DelayQueue(::java::util::Collection *);
+ virtual jboolean target$add(::java::util::concurrent::Delayed *);
+ virtual jboolean target$offer(::java::util::concurrent::Delayed *);
+ virtual void target$put(::java::util::concurrent::Delayed *);
+ virtual jboolean target$offer(::java::util::concurrent::Delayed *, jlong, ::java::util::concurrent::TimeUnit *);
+ virtual ::java::util::concurrent::Delayed * target$poll();
+ virtual ::java::util::concurrent::Delayed * target$take();
+ virtual ::java::util::concurrent::Delayed * target$poll(jlong, ::java::util::concurrent::TimeUnit *);
+ virtual ::java::util::concurrent::Delayed * target$peek();
+ virtual jint size();
+ virtual jint drainTo(::java::util::Collection *);
+ virtual jint drainTo(::java::util::Collection *, jint);
+ virtual void clear();
+ virtual jint remainingCapacity();
+ virtual JArray< ::java::lang::Object * > * toArray();
+ virtual JArray< ::java::lang::Object * > * toArray(JArray< ::java::lang::Object * > *);
+ virtual jboolean remove(::java::lang::Object *);
+ virtual ::java::util::Iterator * iterator();
+ virtual ::java::lang::Object * poll(jlong, ::java::util::concurrent::TimeUnit *);
+ virtual ::java::lang::Object * poll();
+ virtual ::java::lang::Object * take();
+ virtual jboolean offer(::java::lang::Object *, jlong, ::java::util::concurrent::TimeUnit *);
+ virtual jboolean offer(::java::lang::Object *);
+ virtual ::java::lang::Object * peek();
+ virtual jboolean add(::java::lang::Object *);
+ virtual void put(::java::lang::Object *);
+public: // actually package-private
+ static ::java::util::concurrent::locks::ReentrantLock * access$8(::java::util::concurrent::DelayQueue *);
+ static ::java::util::PriorityQueue * access$9(::java::util::concurrent::DelayQueue *);
+private:
+ ::java::util::concurrent::locks::ReentrantLock * __attribute__((aligned(__alignof__( ::java::util::AbstractQueue)))) lock;
+ ::java::util::concurrent::locks::Condition * available;
+ ::java::util::PriorityQueue * q;
+public: // actually package-private
+ static jboolean $assertionsDisabled;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_DelayQueue__
diff --git a/libjava/java/util/concurrent/Delayed.h b/libjava/java/util/concurrent/Delayed.h
new file mode 100644
index 0000000..2a8d4e5
--- /dev/null
+++ b/libjava/java/util/concurrent/Delayed.h
@@ -0,0 +1,20 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_Delayed__
+#define __java_util_concurrent_Delayed__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::concurrent::Delayed : public ::java::lang::Object
+{
+
+public:
+ virtual jlong getDelay(::java::util::concurrent::TimeUnit *) = 0;
+ virtual jint compareTo(::java::lang::Object *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_util_concurrent_Delayed__
diff --git a/libjava/java/util/concurrent/Exchanger$Node.h b/libjava/java/util/concurrent/Exchanger$Node.h
new file mode 100644
index 0000000..5e1087b
--- /dev/null
+++ b/libjava/java/util/concurrent/Exchanger$Node.h
@@ -0,0 +1,21 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_Exchanger$Node__
+#define __java_util_concurrent_Exchanger$Node__
+
+#pragma interface
+
+#include <java/util/concurrent/atomic/AtomicReference.h>
+
+class java::util::concurrent::Exchanger$Node : public ::java::util::concurrent::atomic::AtomicReference
+{
+
+public:
+ Exchanger$Node(::java::lang::Object *);
+ ::java::lang::Object * __attribute__((aligned(__alignof__( ::java::util::concurrent::atomic::AtomicReference)))) item;
+ volatile ::java::lang::Thread * waiter;
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_Exchanger$Node__
diff --git a/libjava/java/util/concurrent/Exchanger$Slot.h b/libjava/java/util/concurrent/Exchanger$Slot.h
new file mode 100644
index 0000000..4d1d416
--- /dev/null
+++ b/libjava/java/util/concurrent/Exchanger$Slot.h
@@ -0,0 +1,36 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_Exchanger$Slot__
+#define __java_util_concurrent_Exchanger$Slot__
+
+#pragma interface
+
+#include <java/util/concurrent/atomic/AtomicReference.h>
+
+class java::util::concurrent::Exchanger$Slot : public ::java::util::concurrent::atomic::AtomicReference
+{
+
+ Exchanger$Slot();
+public: // actually package-private
+ Exchanger$Slot(::java::util::concurrent::Exchanger$Slot *);
+ jlong __attribute__((aligned(__alignof__( ::java::util::concurrent::atomic::AtomicReference)))) q0;
+ jlong q1;
+ jlong q2;
+ jlong q3;
+ jlong q4;
+ jlong q5;
+ jlong q6;
+ jlong q7;
+ jlong q8;
+ jlong q9;
+ jlong qa;
+ jlong qb;
+ jlong qc;
+ jlong qd;
+ jlong qe;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_Exchanger$Slot__
diff --git a/libjava/java/util/concurrent/Exchanger.h b/libjava/java/util/concurrent/Exchanger.h
new file mode 100644
index 0000000..5ed4d25
--- /dev/null
+++ b/libjava/java/util/concurrent/Exchanger.h
@@ -0,0 +1,42 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_Exchanger__
+#define __java_util_concurrent_Exchanger__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+
+class java::util::concurrent::Exchanger : public ::java::lang::Object
+{
+
+ ::java::lang::Object * doExchange(::java::lang::Object *, jboolean, jlong);
+ jint hashIndex();
+ void createSlot(jint);
+ static jboolean tryCancel(::java::util::concurrent::Exchanger$Node *, ::java::util::concurrent::Exchanger$Slot *);
+ static ::java::lang::Object * spinWait(::java::util::concurrent::Exchanger$Node *, ::java::util::concurrent::Exchanger$Slot *);
+ static ::java::lang::Object * await(::java::util::concurrent::Exchanger$Node *, ::java::util::concurrent::Exchanger$Slot *);
+ ::java::lang::Object * awaitNanos(::java::util::concurrent::Exchanger$Node *, ::java::util::concurrent::Exchanger$Slot *, jlong);
+ ::java::lang::Object * scanOnTimeout(::java::util::concurrent::Exchanger$Node *);
+public:
+ Exchanger();
+ virtual ::java::lang::Object * exchange(::java::lang::Object *);
+ virtual ::java::lang::Object * exchange(::java::lang::Object *, jlong, ::java::util::concurrent::TimeUnit *);
+private:
+ static jint NCPU;
+ static const jint CAPACITY = 32;
+ static jint FULL;
+ static jint SPINS;
+ static jint TIMED_SPINS;
+ static ::java::lang::Object * CANCEL;
+ static ::java::lang::Object * NULL_ITEM;
+ volatile JArray< ::java::util::concurrent::Exchanger$Slot * > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) arena;
+ ::java::util::concurrent::atomic::AtomicInteger * max;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_Exchanger__
diff --git a/libjava/java/util/concurrent/ExecutionException.h b/libjava/java/util/concurrent/ExecutionException.h
new file mode 100644
index 0000000..3f210c7
--- /dev/null
+++ b/libjava/java/util/concurrent/ExecutionException.h
@@ -0,0 +1,26 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_ExecutionException__
+#define __java_util_concurrent_ExecutionException__
+
+#pragma interface
+
+#include <java/lang/Exception.h>
+
+class java::util::concurrent::ExecutionException : public ::java::lang::Exception
+{
+
+public: // actually protected
+ ExecutionException();
+ ExecutionException(::java::lang::String *);
+public:
+ ExecutionException(::java::lang::String *, ::java::lang::Throwable *);
+ ExecutionException(::java::lang::Throwable *);
+private:
+ static const jlong serialVersionUID = 7830266012832686185LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_ExecutionException__
diff --git a/libjava/java/util/concurrent/Executor.h b/libjava/java/util/concurrent/Executor.h
new file mode 100644
index 0000000..2e59bc4
--- /dev/null
+++ b/libjava/java/util/concurrent/Executor.h
@@ -0,0 +1,19 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_Executor__
+#define __java_util_concurrent_Executor__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::concurrent::Executor : public ::java::lang::Object
+{
+
+public:
+ virtual void execute(::java::lang::Runnable *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_util_concurrent_Executor__
diff --git a/libjava/java/util/concurrent/ExecutorCompletionService$QueueingFuture.h b/libjava/java/util/concurrent/ExecutorCompletionService$QueueingFuture.h
new file mode 100644
index 0000000..806cecf
--- /dev/null
+++ b/libjava/java/util/concurrent/ExecutorCompletionService$QueueingFuture.h
@@ -0,0 +1,26 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_ExecutorCompletionService$QueueingFuture__
+#define __java_util_concurrent_ExecutorCompletionService$QueueingFuture__
+
+#pragma interface
+
+#include <java/util/concurrent/FutureTask.h>
+
+class java::util::concurrent::ExecutorCompletionService$QueueingFuture : public ::java::util::concurrent::FutureTask
+{
+
+public: // actually package-private
+ ExecutorCompletionService$QueueingFuture(::java::util::concurrent::ExecutorCompletionService *, ::java::util::concurrent::RunnableFuture *);
+public: // actually protected
+ virtual void done();
+private:
+ ::java::util::concurrent::Future * __attribute__((aligned(__alignof__( ::java::util::concurrent::FutureTask)))) task;
+public: // actually package-private
+ ::java::util::concurrent::ExecutorCompletionService * this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_ExecutorCompletionService$QueueingFuture__
diff --git a/libjava/java/util/concurrent/ExecutorCompletionService.h b/libjava/java/util/concurrent/ExecutorCompletionService.h
new file mode 100644
index 0000000..922e2d9
--- /dev/null
+++ b/libjava/java/util/concurrent/ExecutorCompletionService.h
@@ -0,0 +1,34 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_ExecutorCompletionService__
+#define __java_util_concurrent_ExecutorCompletionService__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::concurrent::ExecutorCompletionService : public ::java::lang::Object
+{
+
+ ::java::util::concurrent::RunnableFuture * newTaskFor(::java::util::concurrent::Callable *);
+ ::java::util::concurrent::RunnableFuture * newTaskFor(::java::lang::Runnable *, ::java::lang::Object *);
+public:
+ ExecutorCompletionService(::java::util::concurrent::Executor *);
+ ExecutorCompletionService(::java::util::concurrent::Executor *, ::java::util::concurrent::BlockingQueue *);
+ virtual ::java::util::concurrent::Future * submit(::java::util::concurrent::Callable *);
+ virtual ::java::util::concurrent::Future * submit(::java::lang::Runnable *, ::java::lang::Object *);
+ virtual ::java::util::concurrent::Future * take();
+ virtual ::java::util::concurrent::Future * poll();
+ virtual ::java::util::concurrent::Future * poll(jlong, ::java::util::concurrent::TimeUnit *);
+public: // actually package-private
+ static ::java::util::concurrent::BlockingQueue * access$0(::java::util::concurrent::ExecutorCompletionService *);
+private:
+ ::java::util::concurrent::Executor * __attribute__((aligned(__alignof__( ::java::lang::Object)))) executor;
+ ::java::util::concurrent::AbstractExecutorService * aes;
+ ::java::util::concurrent::BlockingQueue * completionQueue;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_ExecutorCompletionService__
diff --git a/libjava/java/util/concurrent/ExecutorService.h b/libjava/java/util/concurrent/ExecutorService.h
new file mode 100644
index 0000000..3c24314
--- /dev/null
+++ b/libjava/java/util/concurrent/ExecutorService.h
@@ -0,0 +1,31 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_ExecutorService__
+#define __java_util_concurrent_ExecutorService__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::concurrent::ExecutorService : public ::java::lang::Object
+{
+
+public:
+ virtual void shutdown() = 0;
+ virtual ::java::util::List * shutdownNow() = 0;
+ virtual jboolean isShutdown() = 0;
+ virtual jboolean isTerminated() = 0;
+ virtual jboolean awaitTermination(jlong, ::java::util::concurrent::TimeUnit *) = 0;
+ virtual ::java::util::concurrent::Future * submit(::java::util::concurrent::Callable *) = 0;
+ virtual ::java::util::concurrent::Future * submit(::java::lang::Runnable *, ::java::lang::Object *) = 0;
+ virtual ::java::util::concurrent::Future * submit(::java::lang::Runnable *) = 0;
+ virtual ::java::util::List * invokeAll(::java::util::Collection *) = 0;
+ virtual ::java::util::List * invokeAll(::java::util::Collection *, jlong, ::java::util::concurrent::TimeUnit *) = 0;
+ virtual ::java::lang::Object * invokeAny(::java::util::Collection *) = 0;
+ virtual ::java::lang::Object * invokeAny(::java::util::Collection *, jlong, ::java::util::concurrent::TimeUnit *) = 0;
+ virtual void execute(::java::lang::Runnable *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_util_concurrent_ExecutorService__
diff --git a/libjava/java/util/concurrent/Executors$1.h b/libjava/java/util/concurrent/Executors$1.h
new file mode 100644
index 0000000..9935b61
--- /dev/null
+++ b/libjava/java/util/concurrent/Executors$1.h
@@ -0,0 +1,24 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_Executors$1__
+#define __java_util_concurrent_Executors$1__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::concurrent::Executors$1 : public ::java::lang::Object
+{
+
+public: // actually package-private
+ Executors$1(::java::util::concurrent::Executors$PrivilegedCallable *);
+public:
+ ::java::lang::Object * run();
+public: // actually package-private
+ ::java::util::concurrent::Executors$PrivilegedCallable * __attribute__((aligned(__alignof__( ::java::lang::Object)))) this$1;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_Executors$1__
diff --git a/libjava/java/util/concurrent/Executors$2.h b/libjava/java/util/concurrent/Executors$2.h
new file mode 100644
index 0000000..ad363bd
--- /dev/null
+++ b/libjava/java/util/concurrent/Executors$2.h
@@ -0,0 +1,24 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_Executors$2__
+#define __java_util_concurrent_Executors$2__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::concurrent::Executors$2 : public ::java::lang::Object
+{
+
+public: // actually package-private
+ Executors$2(::java::util::concurrent::Executors$PrivilegedCallableUsingCurrentClassLoader *);
+public:
+ ::java::lang::Object * run();
+public: // actually package-private
+ ::java::util::concurrent::Executors$PrivilegedCallableUsingCurrentClassLoader * __attribute__((aligned(__alignof__( ::java::lang::Object)))) this$1;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_Executors$2__
diff --git a/libjava/java/util/concurrent/Executors$3.h b/libjava/java/util/concurrent/Executors$3.h
new file mode 100644
index 0000000..66dbb89
--- /dev/null
+++ b/libjava/java/util/concurrent/Executors$3.h
@@ -0,0 +1,27 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_Executors$3__
+#define __java_util_concurrent_Executors$3__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::concurrent::Executors$3 : public ::java::lang::Object
+{
+
+public: // actually package-private
+ Executors$3(::java::util::concurrent::Executors$PrivilegedThreadFactory *, ::java::lang::Runnable *);
+public:
+ void run();
+public: // actually package-private
+ static ::java::util::concurrent::Executors$PrivilegedThreadFactory * access$0(::java::util::concurrent::Executors$3 *);
+ ::java::util::concurrent::Executors$PrivilegedThreadFactory * __attribute__((aligned(__alignof__( ::java::lang::Object)))) this$1;
+private:
+ ::java::lang::Runnable * val$r;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_Executors$3__
diff --git a/libjava/java/util/concurrent/Executors$4.h b/libjava/java/util/concurrent/Executors$4.h
new file mode 100644
index 0000000..daab0bb
--- /dev/null
+++ b/libjava/java/util/concurrent/Executors$4.h
@@ -0,0 +1,26 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_Executors$4__
+#define __java_util_concurrent_Executors$4__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::concurrent::Executors$4 : public ::java::lang::Object
+{
+
+public: // actually package-private
+ Executors$4(::java::util::concurrent::Executors$3 *, ::java::lang::Runnable *);
+public:
+ ::java::lang::Object * run();
+public: // actually package-private
+ ::java::util::concurrent::Executors$3 * __attribute__((aligned(__alignof__( ::java::lang::Object)))) this$2;
+private:
+ ::java::lang::Runnable * val$r;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_Executors$4__
diff --git a/libjava/java/util/concurrent/Executors$5.h b/libjava/java/util/concurrent/Executors$5.h
new file mode 100644
index 0000000..9c1d1be
--- /dev/null
+++ b/libjava/java/util/concurrent/Executors$5.h
@@ -0,0 +1,34 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_Executors$5__
+#define __java_util_concurrent_Executors$5__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class PrivilegedAction;
+ }
+ }
+}
+
+class java::util::concurrent::Executors$5 : public ::java::lang::Object
+{
+
+public: // actually package-private
+ Executors$5(::java::security::PrivilegedAction *);
+public:
+ ::java::lang::Object * call();
+private:
+ ::java::security::PrivilegedAction * __attribute__((aligned(__alignof__( ::java::lang::Object)))) val$action;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_Executors$5__
diff --git a/libjava/java/util/concurrent/Executors$6.h b/libjava/java/util/concurrent/Executors$6.h
new file mode 100644
index 0000000..30f58c8
--- /dev/null
+++ b/libjava/java/util/concurrent/Executors$6.h
@@ -0,0 +1,34 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_Executors$6__
+#define __java_util_concurrent_Executors$6__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class PrivilegedExceptionAction;
+ }
+ }
+}
+
+class java::util::concurrent::Executors$6 : public ::java::lang::Object
+{
+
+public: // actually package-private
+ Executors$6(::java::security::PrivilegedExceptionAction *);
+public:
+ ::java::lang::Object * call();
+private:
+ ::java::security::PrivilegedExceptionAction * __attribute__((aligned(__alignof__( ::java::lang::Object)))) val$action;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_Executors$6__
diff --git a/libjava/java/util/concurrent/Executors$DefaultThreadFactory.h b/libjava/java/util/concurrent/Executors$DefaultThreadFactory.h
new file mode 100644
index 0000000..7a2d8a7
--- /dev/null
+++ b/libjava/java/util/concurrent/Executors$DefaultThreadFactory.h
@@ -0,0 +1,27 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_Executors$DefaultThreadFactory__
+#define __java_util_concurrent_Executors$DefaultThreadFactory__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::concurrent::Executors$DefaultThreadFactory : public ::java::lang::Object
+{
+
+public: // actually package-private
+ Executors$DefaultThreadFactory();
+public:
+ virtual ::java::lang::Thread * newThread(::java::lang::Runnable *);
+public: // actually package-private
+ static ::java::util::concurrent::atomic::AtomicInteger * poolNumber;
+ ::java::lang::ThreadGroup * __attribute__((aligned(__alignof__( ::java::lang::Object)))) group;
+ ::java::util::concurrent::atomic::AtomicInteger * threadNumber;
+ ::java::lang::String * namePrefix;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_Executors$DefaultThreadFactory__
diff --git a/libjava/java/util/concurrent/Executors$DelegatedExecutorService.h b/libjava/java/util/concurrent/Executors$DelegatedExecutorService.h
new file mode 100644
index 0000000..6bca4b1
--- /dev/null
+++ b/libjava/java/util/concurrent/Executors$DelegatedExecutorService.h
@@ -0,0 +1,36 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_Executors$DelegatedExecutorService__
+#define __java_util_concurrent_Executors$DelegatedExecutorService__
+
+#pragma interface
+
+#include <java/util/concurrent/AbstractExecutorService.h>
+
+class java::util::concurrent::Executors$DelegatedExecutorService : public ::java::util::concurrent::AbstractExecutorService
+{
+
+public: // actually package-private
+ Executors$DelegatedExecutorService(::java::util::concurrent::ExecutorService *);
+public:
+ virtual void execute(::java::lang::Runnable *);
+ virtual void shutdown();
+ virtual ::java::util::List * shutdownNow();
+ virtual jboolean isShutdown();
+ virtual jboolean isTerminated();
+ virtual jboolean awaitTermination(jlong, ::java::util::concurrent::TimeUnit *);
+ virtual ::java::util::concurrent::Future * submit(::java::lang::Runnable *);
+ virtual ::java::util::concurrent::Future * submit(::java::util::concurrent::Callable *);
+ virtual ::java::util::concurrent::Future * submit(::java::lang::Runnable *, ::java::lang::Object *);
+ virtual ::java::util::List * invokeAll(::java::util::Collection *);
+ virtual ::java::util::List * invokeAll(::java::util::Collection *, jlong, ::java::util::concurrent::TimeUnit *);
+ virtual ::java::lang::Object * invokeAny(::java::util::Collection *);
+ virtual ::java::lang::Object * invokeAny(::java::util::Collection *, jlong, ::java::util::concurrent::TimeUnit *);
+private:
+ ::java::util::concurrent::ExecutorService * __attribute__((aligned(__alignof__( ::java::util::concurrent::AbstractExecutorService)))) e;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_Executors$DelegatedExecutorService__
diff --git a/libjava/java/util/concurrent/Executors$DelegatedScheduledExecutorService.h b/libjava/java/util/concurrent/Executors$DelegatedScheduledExecutorService.h
new file mode 100644
index 0000000..a7efdb0
--- /dev/null
+++ b/libjava/java/util/concurrent/Executors$DelegatedScheduledExecutorService.h
@@ -0,0 +1,27 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_Executors$DelegatedScheduledExecutorService__
+#define __java_util_concurrent_Executors$DelegatedScheduledExecutorService__
+
+#pragma interface
+
+#include <java/util/concurrent/Executors$DelegatedExecutorService.h>
+
+class java::util::concurrent::Executors$DelegatedScheduledExecutorService : public ::java::util::concurrent::Executors$DelegatedExecutorService
+{
+
+public: // actually package-private
+ Executors$DelegatedScheduledExecutorService(::java::util::concurrent::ScheduledExecutorService *);
+public:
+ virtual ::java::util::concurrent::ScheduledFuture * schedule(::java::lang::Runnable *, jlong, ::java::util::concurrent::TimeUnit *);
+ virtual ::java::util::concurrent::ScheduledFuture * schedule(::java::util::concurrent::Callable *, jlong, ::java::util::concurrent::TimeUnit *);
+ virtual ::java::util::concurrent::ScheduledFuture * scheduleAtFixedRate(::java::lang::Runnable *, jlong, jlong, ::java::util::concurrent::TimeUnit *);
+ virtual ::java::util::concurrent::ScheduledFuture * scheduleWithFixedDelay(::java::lang::Runnable *, jlong, jlong, ::java::util::concurrent::TimeUnit *);
+private:
+ ::java::util::concurrent::ScheduledExecutorService * __attribute__((aligned(__alignof__( ::java::util::concurrent::Executors$DelegatedExecutorService)))) e;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_Executors$DelegatedScheduledExecutorService__
diff --git a/libjava/java/util/concurrent/Executors$FinalizableDelegatedExecutorService.h b/libjava/java/util/concurrent/Executors$FinalizableDelegatedExecutorService.h
new file mode 100644
index 0000000..fd4f2bd
--- /dev/null
+++ b/libjava/java/util/concurrent/Executors$FinalizableDelegatedExecutorService.h
@@ -0,0 +1,22 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_Executors$FinalizableDelegatedExecutorService__
+#define __java_util_concurrent_Executors$FinalizableDelegatedExecutorService__
+
+#pragma interface
+
+#include <java/util/concurrent/Executors$DelegatedExecutorService.h>
+
+class java::util::concurrent::Executors$FinalizableDelegatedExecutorService : public ::java::util::concurrent::Executors$DelegatedExecutorService
+{
+
+public: // actually package-private
+ Executors$FinalizableDelegatedExecutorService(::java::util::concurrent::ExecutorService *);
+public: // actually protected
+ virtual void finalize();
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_Executors$FinalizableDelegatedExecutorService__
diff --git a/libjava/java/util/concurrent/Executors$PrivilegedCallable.h b/libjava/java/util/concurrent/Executors$PrivilegedCallable.h
new file mode 100644
index 0000000..0960985
--- /dev/null
+++ b/libjava/java/util/concurrent/Executors$PrivilegedCallable.h
@@ -0,0 +1,41 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_Executors$PrivilegedCallable__
+#define __java_util_concurrent_Executors$PrivilegedCallable__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class AccessControlContext;
+ }
+ }
+}
+
+class java::util::concurrent::Executors$PrivilegedCallable : public ::java::lang::Object
+{
+
+public: // actually package-private
+ Executors$PrivilegedCallable(::java::util::concurrent::Callable *);
+public:
+ ::java::lang::Object * call();
+public: // actually package-private
+ static ::java::util::concurrent::Callable * access$0(::java::util::concurrent::Executors$PrivilegedCallable *);
+ static void access$1(::java::util::concurrent::Executors$PrivilegedCallable *, ::java::lang::Object *);
+ static void access$2(::java::util::concurrent::Executors$PrivilegedCallable *, ::java::lang::Exception *);
+private:
+ ::java::security::AccessControlContext * __attribute__((aligned(__alignof__( ::java::lang::Object)))) acc;
+ ::java::util::concurrent::Callable * task;
+ ::java::lang::Object * result;
+ ::java::lang::Exception * exception;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_Executors$PrivilegedCallable__
diff --git a/libjava/java/util/concurrent/Executors$PrivilegedCallableUsingCurrentClassLoader.h b/libjava/java/util/concurrent/Executors$PrivilegedCallableUsingCurrentClassLoader.h
new file mode 100644
index 0000000..452f6ef
--- /dev/null
+++ b/libjava/java/util/concurrent/Executors$PrivilegedCallableUsingCurrentClassLoader.h
@@ -0,0 +1,43 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_Executors$PrivilegedCallableUsingCurrentClassLoader__
+#define __java_util_concurrent_Executors$PrivilegedCallableUsingCurrentClassLoader__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class AccessControlContext;
+ }
+ }
+}
+
+class java::util::concurrent::Executors$PrivilegedCallableUsingCurrentClassLoader : public ::java::lang::Object
+{
+
+public: // actually package-private
+ Executors$PrivilegedCallableUsingCurrentClassLoader(::java::util::concurrent::Callable *);
+public:
+ ::java::lang::Object * call();
+public: // actually package-private
+ static ::java::lang::ClassLoader * access$0(::java::util::concurrent::Executors$PrivilegedCallableUsingCurrentClassLoader *);
+ static ::java::util::concurrent::Callable * access$1(::java::util::concurrent::Executors$PrivilegedCallableUsingCurrentClassLoader *);
+ static void access$2(::java::util::concurrent::Executors$PrivilegedCallableUsingCurrentClassLoader *, ::java::lang::Object *);
+ static void access$3(::java::util::concurrent::Executors$PrivilegedCallableUsingCurrentClassLoader *, ::java::lang::Exception *);
+private:
+ ::java::lang::ClassLoader * __attribute__((aligned(__alignof__( ::java::lang::Object)))) ccl;
+ ::java::security::AccessControlContext * acc;
+ ::java::util::concurrent::Callable * task;
+ ::java::lang::Object * result;
+ ::java::lang::Exception * exception;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_Executors$PrivilegedCallableUsingCurrentClassLoader__
diff --git a/libjava/java/util/concurrent/Executors$PrivilegedThreadFactory.h b/libjava/java/util/concurrent/Executors$PrivilegedThreadFactory.h
new file mode 100644
index 0000000..0258eea
--- /dev/null
+++ b/libjava/java/util/concurrent/Executors$PrivilegedThreadFactory.h
@@ -0,0 +1,38 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_Executors$PrivilegedThreadFactory__
+#define __java_util_concurrent_Executors$PrivilegedThreadFactory__
+
+#pragma interface
+
+#include <java/util/concurrent/Executors$DefaultThreadFactory.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class AccessControlContext;
+ }
+ }
+}
+
+class java::util::concurrent::Executors$PrivilegedThreadFactory : public ::java::util::concurrent::Executors$DefaultThreadFactory
+{
+
+public: // actually package-private
+ Executors$PrivilegedThreadFactory();
+public:
+ virtual ::java::lang::Thread * newThread(::java::lang::Runnable *);
+public: // actually package-private
+ static ::java::lang::ClassLoader * access$0(::java::util::concurrent::Executors$PrivilegedThreadFactory *);
+ static ::java::security::AccessControlContext * access$1(::java::util::concurrent::Executors$PrivilegedThreadFactory *);
+private:
+ ::java::lang::ClassLoader * __attribute__((aligned(__alignof__( ::java::util::concurrent::Executors$DefaultThreadFactory)))) ccl;
+ ::java::security::AccessControlContext * acc;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_Executors$PrivilegedThreadFactory__
diff --git a/libjava/java/util/concurrent/Executors$RunnableAdapter.h b/libjava/java/util/concurrent/Executors$RunnableAdapter.h
new file mode 100644
index 0000000..5d75fe8
--- /dev/null
+++ b/libjava/java/util/concurrent/Executors$RunnableAdapter.h
@@ -0,0 +1,25 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_Executors$RunnableAdapter__
+#define __java_util_concurrent_Executors$RunnableAdapter__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::concurrent::Executors$RunnableAdapter : public ::java::lang::Object
+{
+
+public: // actually package-private
+ Executors$RunnableAdapter(::java::lang::Runnable *, ::java::lang::Object *);
+public:
+ ::java::lang::Object * call();
+public: // actually package-private
+ ::java::lang::Runnable * __attribute__((aligned(__alignof__( ::java::lang::Object)))) task;
+ ::java::lang::Object * result;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_Executors$RunnableAdapter__
diff --git a/libjava/java/util/concurrent/Executors.h b/libjava/java/util/concurrent/Executors.h
new file mode 100644
index 0000000..8e6a428
--- /dev/null
+++ b/libjava/java/util/concurrent/Executors.h
@@ -0,0 +1,52 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_Executors__
+#define __java_util_concurrent_Executors__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class PrivilegedAction;
+ class PrivilegedExceptionAction;
+ }
+ }
+}
+
+class java::util::concurrent::Executors : public ::java::lang::Object
+{
+
+public:
+ static ::java::util::concurrent::ExecutorService * newFixedThreadPool(jint);
+ static ::java::util::concurrent::ExecutorService * newFixedThreadPool(jint, ::java::util::concurrent::ThreadFactory *);
+ static ::java::util::concurrent::ExecutorService * newSingleThreadExecutor();
+ static ::java::util::concurrent::ExecutorService * newSingleThreadExecutor(::java::util::concurrent::ThreadFactory *);
+ static ::java::util::concurrent::ExecutorService * newCachedThreadPool();
+ static ::java::util::concurrent::ExecutorService * newCachedThreadPool(::java::util::concurrent::ThreadFactory *);
+ static ::java::util::concurrent::ScheduledExecutorService * newSingleThreadScheduledExecutor();
+ static ::java::util::concurrent::ScheduledExecutorService * newSingleThreadScheduledExecutor(::java::util::concurrent::ThreadFactory *);
+ static ::java::util::concurrent::ScheduledExecutorService * newScheduledThreadPool(jint);
+ static ::java::util::concurrent::ScheduledExecutorService * newScheduledThreadPool(jint, ::java::util::concurrent::ThreadFactory *);
+ static ::java::util::concurrent::ExecutorService * unconfigurableExecutorService(::java::util::concurrent::ExecutorService *);
+ static ::java::util::concurrent::ScheduledExecutorService * unconfigurableScheduledExecutorService(::java::util::concurrent::ScheduledExecutorService *);
+ static ::java::util::concurrent::ThreadFactory * defaultThreadFactory();
+ static ::java::util::concurrent::ThreadFactory * privilegedThreadFactory();
+ static ::java::util::concurrent::Callable * callable(::java::lang::Runnable *, ::java::lang::Object *);
+ static ::java::util::concurrent::Callable * callable(::java::lang::Runnable *);
+ static ::java::util::concurrent::Callable * callable(::java::security::PrivilegedAction *);
+ static ::java::util::concurrent::Callable * callable(::java::security::PrivilegedExceptionAction *);
+ static ::java::util::concurrent::Callable * privilegedCallable(::java::util::concurrent::Callable *);
+ static ::java::util::concurrent::Callable * privilegedCallableUsingCurrentClassLoader(::java::util::concurrent::Callable *);
+private:
+ Executors();
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_Executors__
diff --git a/libjava/java/util/concurrent/Future.h b/libjava/java/util/concurrent/Future.h
new file mode 100644
index 0000000..9f70627
--- /dev/null
+++ b/libjava/java/util/concurrent/Future.h
@@ -0,0 +1,23 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_Future__
+#define __java_util_concurrent_Future__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::concurrent::Future : public ::java::lang::Object
+{
+
+public:
+ virtual jboolean cancel(jboolean) = 0;
+ virtual jboolean isCancelled() = 0;
+ virtual jboolean isDone() = 0;
+ virtual ::java::lang::Object * get() = 0;
+ virtual ::java::lang::Object * get(jlong, ::java::util::concurrent::TimeUnit *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_util_concurrent_Future__
diff --git a/libjava/java/util/concurrent/FutureTask$Sync.h b/libjava/java/util/concurrent/FutureTask$Sync.h
new file mode 100644
index 0000000..1880869
--- /dev/null
+++ b/libjava/java/util/concurrent/FutureTask$Sync.h
@@ -0,0 +1,46 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_FutureTask$Sync__
+#define __java_util_concurrent_FutureTask$Sync__
+
+#pragma interface
+
+#include <java/util/concurrent/locks/AbstractQueuedSynchronizer.h>
+
+class java::util::concurrent::FutureTask$Sync : public ::java::util::concurrent::locks::AbstractQueuedSynchronizer
+{
+
+public: // actually package-private
+ FutureTask$Sync(::java::util::concurrent::FutureTask *, ::java::util::concurrent::Callable *);
+private:
+ jboolean ranOrCancelled(jint);
+public: // actually protected
+ jint tryAcquireShared(jint);
+ jboolean tryReleaseShared(jint);
+public: // actually package-private
+ jboolean innerIsCancelled();
+ jboolean innerIsDone();
+ ::java::lang::Object * innerGet();
+ ::java::lang::Object * innerGet(jlong);
+ void innerSet(::java::lang::Object *);
+ void innerSetException(::java::lang::Throwable *);
+ jboolean innerCancel(jboolean);
+ void innerRun();
+ jboolean innerRunAndReset();
+private:
+ static const jlong serialVersionUID = -7828117401763700385LL;
+ static const jint RUNNING = 1;
+ static const jint RAN = 2;
+ static const jint CANCELLED = 4;
+ ::java::util::concurrent::Callable * __attribute__((aligned(__alignof__( ::java::util::concurrent::locks::AbstractQueuedSynchronizer)))) callable;
+ ::java::lang::Object * result;
+ ::java::lang::Throwable * exception;
+ volatile ::java::lang::Thread * runner;
+public: // actually package-private
+ ::java::util::concurrent::FutureTask * this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_FutureTask$Sync__
diff --git a/libjava/java/util/concurrent/FutureTask.h b/libjava/java/util/concurrent/FutureTask.h
new file mode 100644
index 0000000..a86215f
--- /dev/null
+++ b/libjava/java/util/concurrent/FutureTask.h
@@ -0,0 +1,36 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_FutureTask__
+#define __java_util_concurrent_FutureTask__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::concurrent::FutureTask : public ::java::lang::Object
+{
+
+public:
+ FutureTask(::java::util::concurrent::Callable *);
+ FutureTask(::java::lang::Runnable *, ::java::lang::Object *);
+ virtual jboolean isCancelled();
+ virtual jboolean isDone();
+ virtual jboolean cancel(jboolean);
+ virtual ::java::lang::Object * get();
+ virtual ::java::lang::Object * get(jlong, ::java::util::concurrent::TimeUnit *);
+public: // actually protected
+ virtual void done();
+ virtual void set(::java::lang::Object *);
+ virtual void setException(::java::lang::Throwable *);
+public:
+ virtual void run();
+public: // actually protected
+ virtual jboolean runAndReset();
+private:
+ ::java::util::concurrent::FutureTask$Sync * __attribute__((aligned(__alignof__( ::java::lang::Object)))) sync;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_FutureTask__
diff --git a/libjava/java/util/concurrent/LinkedBlockingDeque$AbstractItr.h b/libjava/java/util/concurrent/LinkedBlockingDeque$AbstractItr.h
new file mode 100644
index 0000000..2aeec8a
--- /dev/null
+++ b/libjava/java/util/concurrent/LinkedBlockingDeque$AbstractItr.h
@@ -0,0 +1,32 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_LinkedBlockingDeque$AbstractItr__
+#define __java_util_concurrent_LinkedBlockingDeque$AbstractItr__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::concurrent::LinkedBlockingDeque$AbstractItr : public ::java::lang::Object
+{
+
+public: // actually package-private
+ LinkedBlockingDeque$AbstractItr(::java::util::concurrent::LinkedBlockingDeque *);
+ virtual void advance() = 0;
+public:
+ virtual jboolean hasNext();
+ virtual ::java::lang::Object * next();
+ virtual void remove();
+public: // actually package-private
+ ::java::util::concurrent::LinkedBlockingDeque$Node * __attribute__((aligned(__alignof__( ::java::lang::Object)))) next__;
+ ::java::lang::Object * nextItem;
+private:
+ ::java::util::concurrent::LinkedBlockingDeque$Node * lastRet;
+public: // actually package-private
+ ::java::util::concurrent::LinkedBlockingDeque * this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_LinkedBlockingDeque$AbstractItr__
diff --git a/libjava/java/util/concurrent/LinkedBlockingDeque$DescendingItr.h b/libjava/java/util/concurrent/LinkedBlockingDeque$DescendingItr.h
new file mode 100644
index 0000000..a18b4d9
--- /dev/null
+++ b/libjava/java/util/concurrent/LinkedBlockingDeque$DescendingItr.h
@@ -0,0 +1,23 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_LinkedBlockingDeque$DescendingItr__
+#define __java_util_concurrent_LinkedBlockingDeque$DescendingItr__
+
+#pragma interface
+
+#include <java/util/concurrent/LinkedBlockingDeque$AbstractItr.h>
+
+class java::util::concurrent::LinkedBlockingDeque$DescendingItr : public ::java::util::concurrent::LinkedBlockingDeque$AbstractItr
+{
+
+ LinkedBlockingDeque$DescendingItr(::java::util::concurrent::LinkedBlockingDeque *);
+public: // actually package-private
+ virtual void advance();
+ LinkedBlockingDeque$DescendingItr(::java::util::concurrent::LinkedBlockingDeque *, ::java::util::concurrent::LinkedBlockingDeque$DescendingItr *);
+ ::java::util::concurrent::LinkedBlockingDeque * __attribute__((aligned(__alignof__( ::java::util::concurrent::LinkedBlockingDeque$AbstractItr)))) this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_LinkedBlockingDeque$DescendingItr__
diff --git a/libjava/java/util/concurrent/LinkedBlockingDeque$Itr.h b/libjava/java/util/concurrent/LinkedBlockingDeque$Itr.h
new file mode 100644
index 0000000..ad17e7a
--- /dev/null
+++ b/libjava/java/util/concurrent/LinkedBlockingDeque$Itr.h
@@ -0,0 +1,23 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_LinkedBlockingDeque$Itr__
+#define __java_util_concurrent_LinkedBlockingDeque$Itr__
+
+#pragma interface
+
+#include <java/util/concurrent/LinkedBlockingDeque$AbstractItr.h>
+
+class java::util::concurrent::LinkedBlockingDeque$Itr : public ::java::util::concurrent::LinkedBlockingDeque$AbstractItr
+{
+
+ LinkedBlockingDeque$Itr(::java::util::concurrent::LinkedBlockingDeque *);
+public: // actually package-private
+ virtual void advance();
+ LinkedBlockingDeque$Itr(::java::util::concurrent::LinkedBlockingDeque *, ::java::util::concurrent::LinkedBlockingDeque$Itr *);
+ ::java::util::concurrent::LinkedBlockingDeque * __attribute__((aligned(__alignof__( ::java::util::concurrent::LinkedBlockingDeque$AbstractItr)))) this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_LinkedBlockingDeque$Itr__
diff --git a/libjava/java/util/concurrent/LinkedBlockingDeque$Node.h b/libjava/java/util/concurrent/LinkedBlockingDeque$Node.h
new file mode 100644
index 0000000..423279f
--- /dev/null
+++ b/libjava/java/util/concurrent/LinkedBlockingDeque$Node.h
@@ -0,0 +1,23 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_LinkedBlockingDeque$Node__
+#define __java_util_concurrent_LinkedBlockingDeque$Node__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::concurrent::LinkedBlockingDeque$Node : public ::java::lang::Object
+{
+
+public: // actually package-private
+ LinkedBlockingDeque$Node(::java::lang::Object *, ::java::util::concurrent::LinkedBlockingDeque$Node *, ::java::util::concurrent::LinkedBlockingDeque$Node *);
+ ::java::lang::Object * __attribute__((aligned(__alignof__( ::java::lang::Object)))) item;
+ ::java::util::concurrent::LinkedBlockingDeque$Node * prev;
+ ::java::util::concurrent::LinkedBlockingDeque$Node * next;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_LinkedBlockingDeque$Node__
diff --git a/libjava/java/util/concurrent/LinkedBlockingDeque.h b/libjava/java/util/concurrent/LinkedBlockingDeque.h
new file mode 100644
index 0000000..43d3adf
--- /dev/null
+++ b/libjava/java/util/concurrent/LinkedBlockingDeque.h
@@ -0,0 +1,96 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_LinkedBlockingDeque__
+#define __java_util_concurrent_LinkedBlockingDeque__
+
+#pragma interface
+
+#include <java/util/AbstractQueue.h>
+#include <gcj/array.h>
+
+
+class java::util::concurrent::LinkedBlockingDeque : public ::java::util::AbstractQueue
+{
+
+public:
+ LinkedBlockingDeque();
+ LinkedBlockingDeque(jint);
+ LinkedBlockingDeque(::java::util::Collection *);
+private:
+ jboolean linkFirst(::java::lang::Object *);
+ jboolean linkLast(::java::lang::Object *);
+ ::java::lang::Object * unlinkFirst();
+ ::java::lang::Object * unlinkLast();
+ void unlink(::java::util::concurrent::LinkedBlockingDeque$Node *);
+public:
+ virtual void addFirst(::java::lang::Object *);
+ virtual void addLast(::java::lang::Object *);
+ virtual jboolean offerFirst(::java::lang::Object *);
+ virtual jboolean offerLast(::java::lang::Object *);
+ virtual void putFirst(::java::lang::Object *);
+ virtual void putLast(::java::lang::Object *);
+ virtual jboolean offerFirst(::java::lang::Object *, jlong, ::java::util::concurrent::TimeUnit *);
+ virtual jboolean offerLast(::java::lang::Object *, jlong, ::java::util::concurrent::TimeUnit *);
+ virtual ::java::lang::Object * removeFirst();
+ virtual ::java::lang::Object * removeLast();
+ virtual ::java::lang::Object * pollFirst();
+ virtual ::java::lang::Object * pollLast();
+ virtual ::java::lang::Object * takeFirst();
+ virtual ::java::lang::Object * takeLast();
+ virtual ::java::lang::Object * pollFirst(jlong, ::java::util::concurrent::TimeUnit *);
+ virtual ::java::lang::Object * pollLast(jlong, ::java::util::concurrent::TimeUnit *);
+ virtual ::java::lang::Object * getFirst();
+ virtual ::java::lang::Object * getLast();
+ virtual ::java::lang::Object * peekFirst();
+ virtual ::java::lang::Object * peekLast();
+ virtual jboolean removeFirstOccurrence(::java::lang::Object *);
+ virtual jboolean removeLastOccurrence(::java::lang::Object *);
+ virtual jboolean add(::java::lang::Object *);
+ virtual jboolean offer(::java::lang::Object *);
+ virtual void put(::java::lang::Object *);
+ virtual jboolean offer(::java::lang::Object *, jlong, ::java::util::concurrent::TimeUnit *);
+ virtual ::java::lang::Object * remove();
+ virtual ::java::lang::Object * poll();
+ virtual ::java::lang::Object * take();
+ virtual ::java::lang::Object * poll(jlong, ::java::util::concurrent::TimeUnit *);
+ virtual ::java::lang::Object * element();
+ virtual ::java::lang::Object * peek();
+ virtual jint remainingCapacity();
+ virtual jint drainTo(::java::util::Collection *);
+ virtual jint drainTo(::java::util::Collection *, jint);
+ virtual void push(::java::lang::Object *);
+ virtual ::java::lang::Object * pop();
+ virtual jboolean remove(::java::lang::Object *);
+ virtual jint size();
+ virtual jboolean contains(::java::lang::Object *);
+public: // actually package-private
+ virtual jboolean removeNode(::java::util::concurrent::LinkedBlockingDeque$Node *);
+public:
+ virtual JArray< ::java::lang::Object * > * toArray();
+ virtual JArray< ::java::lang::Object * > * toArray(JArray< ::java::lang::Object * > *);
+ virtual ::java::lang::String * toString();
+ virtual void clear();
+ virtual ::java::util::Iterator * iterator();
+ virtual ::java::util::Iterator * descendingIterator();
+private:
+ void writeObject(::java::io::ObjectOutputStream *);
+ void readObject(::java::io::ObjectInputStream *);
+public: // actually package-private
+ static ::java::util::concurrent::locks::ReentrantLock * access$0(::java::util::concurrent::LinkedBlockingDeque *);
+ static ::java::util::concurrent::LinkedBlockingDeque$Node * access$1(::java::util::concurrent::LinkedBlockingDeque *);
+ static ::java::util::concurrent::LinkedBlockingDeque$Node * access$2(::java::util::concurrent::LinkedBlockingDeque *);
+private:
+ static const jlong serialVersionUID = -387911632671998426LL;
+ ::java::util::concurrent::LinkedBlockingDeque$Node * __attribute__((aligned(__alignof__( ::java::util::AbstractQueue)))) first;
+ ::java::util::concurrent::LinkedBlockingDeque$Node * last;
+ jint count;
+ jint capacity;
+ ::java::util::concurrent::locks::ReentrantLock * lock;
+ ::java::util::concurrent::locks::Condition * notEmpty;
+ ::java::util::concurrent::locks::Condition * notFull;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_LinkedBlockingDeque__
diff --git a/libjava/java/util/concurrent/LinkedBlockingQueue$Itr.h b/libjava/java/util/concurrent/LinkedBlockingQueue$Itr.h
new file mode 100644
index 0000000..e7e0e52
--- /dev/null
+++ b/libjava/java/util/concurrent/LinkedBlockingQueue$Itr.h
@@ -0,0 +1,30 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_LinkedBlockingQueue$Itr__
+#define __java_util_concurrent_LinkedBlockingQueue$Itr__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::concurrent::LinkedBlockingQueue$Itr : public ::java::lang::Object
+{
+
+public: // actually package-private
+ LinkedBlockingQueue$Itr(::java::util::concurrent::LinkedBlockingQueue *);
+public:
+ virtual jboolean hasNext();
+ virtual ::java::lang::Object * next();
+ virtual void remove();
+private:
+ ::java::util::concurrent::LinkedBlockingQueue$Node * __attribute__((aligned(__alignof__( ::java::lang::Object)))) current;
+ ::java::util::concurrent::LinkedBlockingQueue$Node * lastRet;
+ ::java::lang::Object * currentElement;
+public: // actually package-private
+ ::java::util::concurrent::LinkedBlockingQueue * this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_LinkedBlockingQueue$Itr__
diff --git a/libjava/java/util/concurrent/LinkedBlockingQueue$Node.h b/libjava/java/util/concurrent/LinkedBlockingQueue$Node.h
new file mode 100644
index 0000000..36d1f65
--- /dev/null
+++ b/libjava/java/util/concurrent/LinkedBlockingQueue$Node.h
@@ -0,0 +1,22 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_LinkedBlockingQueue$Node__
+#define __java_util_concurrent_LinkedBlockingQueue$Node__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::concurrent::LinkedBlockingQueue$Node : public ::java::lang::Object
+{
+
+public: // actually package-private
+ LinkedBlockingQueue$Node(::java::lang::Object *);
+ volatile ::java::lang::Object * __attribute__((aligned(__alignof__( ::java::lang::Object)))) item;
+ ::java::util::concurrent::LinkedBlockingQueue$Node * next;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_LinkedBlockingQueue$Node__
diff --git a/libjava/java/util/concurrent/LinkedBlockingQueue.h b/libjava/java/util/concurrent/LinkedBlockingQueue.h
new file mode 100644
index 0000000..42028ec
--- /dev/null
+++ b/libjava/java/util/concurrent/LinkedBlockingQueue.h
@@ -0,0 +1,71 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_LinkedBlockingQueue__
+#define __java_util_concurrent_LinkedBlockingQueue__
+
+#pragma interface
+
+#include <java/util/AbstractQueue.h>
+#include <gcj/array.h>
+
+
+class java::util::concurrent::LinkedBlockingQueue : public ::java::util::AbstractQueue
+{
+
+ void signalNotEmpty();
+ void signalNotFull();
+ void insert(::java::lang::Object *);
+ ::java::lang::Object * extract();
+ void fullyLock();
+ void fullyUnlock();
+public:
+ LinkedBlockingQueue();
+ LinkedBlockingQueue(jint);
+ LinkedBlockingQueue(::java::util::Collection *);
+ virtual jint size();
+ virtual jint remainingCapacity();
+ virtual void put(::java::lang::Object *);
+ virtual jboolean offer(::java::lang::Object *, jlong, ::java::util::concurrent::TimeUnit *);
+ virtual jboolean offer(::java::lang::Object *);
+ virtual ::java::lang::Object * take();
+ virtual ::java::lang::Object * poll(jlong, ::java::util::concurrent::TimeUnit *);
+ virtual ::java::lang::Object * poll();
+ virtual ::java::lang::Object * peek();
+ virtual jboolean remove(::java::lang::Object *);
+ virtual JArray< ::java::lang::Object * > * toArray();
+ virtual JArray< ::java::lang::Object * > * toArray(JArray< ::java::lang::Object * > *);
+ virtual ::java::lang::String * toString();
+ virtual void clear();
+ virtual jint drainTo(::java::util::Collection *);
+ virtual jint drainTo(::java::util::Collection *, jint);
+ virtual ::java::util::Iterator * iterator();
+private:
+ void writeObject(::java::io::ObjectOutputStream *);
+ void readObject(::java::io::ObjectInputStream *);
+public: // actually package-private
+ static ::java::util::concurrent::locks::ReentrantLock * access$0(::java::util::concurrent::LinkedBlockingQueue *);
+ static ::java::util::concurrent::locks::ReentrantLock * access$1(::java::util::concurrent::LinkedBlockingQueue *);
+ static ::java::util::concurrent::LinkedBlockingQueue$Node * access$2(::java::util::concurrent::LinkedBlockingQueue *);
+ static ::java::util::concurrent::LinkedBlockingQueue$Node * access$3(::java::util::concurrent::LinkedBlockingQueue *);
+ static void access$4(::java::util::concurrent::LinkedBlockingQueue *, ::java::util::concurrent::LinkedBlockingQueue$Node *);
+ static ::java::util::concurrent::atomic::AtomicInteger * access$5(::java::util::concurrent::LinkedBlockingQueue *);
+ static jint access$6(::java::util::concurrent::LinkedBlockingQueue *);
+ static ::java::util::concurrent::locks::Condition * access$7(::java::util::concurrent::LinkedBlockingQueue *);
+private:
+ static const jlong serialVersionUID = -6903933977591709194LL;
+ jint __attribute__((aligned(__alignof__( ::java::util::AbstractQueue)))) capacity;
+ ::java::util::concurrent::atomic::AtomicInteger * count;
+ ::java::util::concurrent::LinkedBlockingQueue$Node * head;
+ ::java::util::concurrent::LinkedBlockingQueue$Node * last;
+ ::java::util::concurrent::locks::ReentrantLock * takeLock;
+ ::java::util::concurrent::locks::Condition * notEmpty;
+ ::java::util::concurrent::locks::ReentrantLock * putLock;
+ ::java::util::concurrent::locks::Condition * notFull;
+public: // actually package-private
+ static jboolean $assertionsDisabled;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_LinkedBlockingQueue__
diff --git a/libjava/java/util/concurrent/PriorityBlockingQueue$Itr.h b/libjava/java/util/concurrent/PriorityBlockingQueue$Itr.h
new file mode 100644
index 0000000..c644071
--- /dev/null
+++ b/libjava/java/util/concurrent/PriorityBlockingQueue$Itr.h
@@ -0,0 +1,31 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_PriorityBlockingQueue$Itr__
+#define __java_util_concurrent_PriorityBlockingQueue$Itr__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+
+class java::util::concurrent::PriorityBlockingQueue$Itr : public ::java::lang::Object
+{
+
+public: // actually package-private
+ PriorityBlockingQueue$Itr(::java::util::concurrent::PriorityBlockingQueue *, JArray< ::java::lang::Object * > *);
+public:
+ virtual jboolean hasNext();
+ virtual ::java::lang::Object * next();
+ virtual void remove();
+public: // actually package-private
+ JArray< ::java::lang::Object * > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) array;
+ jint cursor;
+ jint lastRet;
+ ::java::util::concurrent::PriorityBlockingQueue * this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_PriorityBlockingQueue$Itr__
diff --git a/libjava/java/util/concurrent/PriorityBlockingQueue.h b/libjava/java/util/concurrent/PriorityBlockingQueue.h
new file mode 100644
index 0000000..ad5d8bb
--- /dev/null
+++ b/libjava/java/util/concurrent/PriorityBlockingQueue.h
@@ -0,0 +1,57 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_PriorityBlockingQueue__
+#define __java_util_concurrent_PriorityBlockingQueue__
+
+#pragma interface
+
+#include <java/util/AbstractQueue.h>
+#include <gcj/array.h>
+
+
+class java::util::concurrent::PriorityBlockingQueue : public ::java::util::AbstractQueue
+{
+
+public:
+ PriorityBlockingQueue();
+ PriorityBlockingQueue(jint);
+ PriorityBlockingQueue(jint, ::java::util::Comparator *);
+ PriorityBlockingQueue(::java::util::Collection *);
+ virtual jboolean add(::java::lang::Object *);
+ virtual jboolean offer(::java::lang::Object *);
+ virtual void put(::java::lang::Object *);
+ virtual jboolean offer(::java::lang::Object *, jlong, ::java::util::concurrent::TimeUnit *);
+ virtual ::java::lang::Object * poll();
+ virtual ::java::lang::Object * take();
+ virtual ::java::lang::Object * poll(jlong, ::java::util::concurrent::TimeUnit *);
+ virtual ::java::lang::Object * peek();
+ virtual ::java::util::Comparator * comparator();
+ virtual jint size();
+ virtual jint remainingCapacity();
+ virtual jboolean remove(::java::lang::Object *);
+ virtual jboolean contains(::java::lang::Object *);
+ virtual JArray< ::java::lang::Object * > * toArray();
+ virtual ::java::lang::String * toString();
+ virtual jint drainTo(::java::util::Collection *);
+ virtual jint drainTo(::java::util::Collection *, jint);
+ virtual void clear();
+ virtual JArray< ::java::lang::Object * > * toArray(JArray< ::java::lang::Object * > *);
+ virtual ::java::util::Iterator * iterator();
+private:
+ void writeObject(::java::io::ObjectOutputStream *);
+public: // actually package-private
+ static ::java::util::concurrent::locks::ReentrantLock * access$0(::java::util::concurrent::PriorityBlockingQueue *);
+ static ::java::util::PriorityQueue * access$1(::java::util::concurrent::PriorityBlockingQueue *);
+private:
+ static const jlong serialVersionUID = 5595510919245408276LL;
+ ::java::util::PriorityQueue * __attribute__((aligned(__alignof__( ::java::util::AbstractQueue)))) q;
+ ::java::util::concurrent::locks::ReentrantLock * lock;
+ ::java::util::concurrent::locks::Condition * notEmpty;
+public: // actually package-private
+ static jboolean $assertionsDisabled;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_PriorityBlockingQueue__
diff --git a/libjava/java/util/concurrent/RejectedExecutionException.h b/libjava/java/util/concurrent/RejectedExecutionException.h
new file mode 100644
index 0000000..4606d2d
--- /dev/null
+++ b/libjava/java/util/concurrent/RejectedExecutionException.h
@@ -0,0 +1,25 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_RejectedExecutionException__
+#define __java_util_concurrent_RejectedExecutionException__
+
+#pragma interface
+
+#include <java/lang/RuntimeException.h>
+
+class java::util::concurrent::RejectedExecutionException : public ::java::lang::RuntimeException
+{
+
+public:
+ RejectedExecutionException();
+ RejectedExecutionException(::java::lang::String *);
+ RejectedExecutionException(::java::lang::String *, ::java::lang::Throwable *);
+ RejectedExecutionException(::java::lang::Throwable *);
+private:
+ static const jlong serialVersionUID = -375805702767069545LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_RejectedExecutionException__
diff --git a/libjava/java/util/concurrent/RejectedExecutionHandler.h b/libjava/java/util/concurrent/RejectedExecutionHandler.h
new file mode 100644
index 0000000..8e1ac4f
--- /dev/null
+++ b/libjava/java/util/concurrent/RejectedExecutionHandler.h
@@ -0,0 +1,19 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_RejectedExecutionHandler__
+#define __java_util_concurrent_RejectedExecutionHandler__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::concurrent::RejectedExecutionHandler : public ::java::lang::Object
+{
+
+public:
+ virtual void rejectedExecution(::java::lang::Runnable *, ::java::util::concurrent::ThreadPoolExecutor *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_util_concurrent_RejectedExecutionHandler__
diff --git a/libjava/java/util/concurrent/RunnableFuture.h b/libjava/java/util/concurrent/RunnableFuture.h
new file mode 100644
index 0000000..281dccc
--- /dev/null
+++ b/libjava/java/util/concurrent/RunnableFuture.h
@@ -0,0 +1,24 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_RunnableFuture__
+#define __java_util_concurrent_RunnableFuture__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::concurrent::RunnableFuture : public ::java::lang::Object
+{
+
+public:
+ virtual void run() = 0;
+ virtual jboolean cancel(jboolean) = 0;
+ virtual jboolean isCancelled() = 0;
+ virtual jboolean isDone() = 0;
+ virtual ::java::lang::Object * get() = 0;
+ virtual ::java::lang::Object * get(jlong, ::java::util::concurrent::TimeUnit *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_util_concurrent_RunnableFuture__
diff --git a/libjava/java/util/concurrent/RunnableScheduledFuture.h b/libjava/java/util/concurrent/RunnableScheduledFuture.h
new file mode 100644
index 0000000..0846d65
--- /dev/null
+++ b/libjava/java/util/concurrent/RunnableScheduledFuture.h
@@ -0,0 +1,27 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_RunnableScheduledFuture__
+#define __java_util_concurrent_RunnableScheduledFuture__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::concurrent::RunnableScheduledFuture : public ::java::lang::Object
+{
+
+public:
+ virtual jboolean isPeriodic() = 0;
+ virtual void run() = 0;
+ virtual jboolean cancel(jboolean) = 0;
+ virtual jboolean isCancelled() = 0;
+ virtual jboolean isDone() = 0;
+ virtual ::java::lang::Object * get() = 0;
+ virtual ::java::lang::Object * get(jlong, ::java::util::concurrent::TimeUnit *) = 0;
+ virtual jlong getDelay(::java::util::concurrent::TimeUnit *) = 0;
+ virtual jint compareTo(::java::lang::Object *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_util_concurrent_RunnableScheduledFuture__
diff --git a/libjava/java/util/concurrent/ScheduledExecutorService.h b/libjava/java/util/concurrent/ScheduledExecutorService.h
new file mode 100644
index 0000000..9041e39
--- /dev/null
+++ b/libjava/java/util/concurrent/ScheduledExecutorService.h
@@ -0,0 +1,35 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_ScheduledExecutorService__
+#define __java_util_concurrent_ScheduledExecutorService__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::concurrent::ScheduledExecutorService : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::util::concurrent::ScheduledFuture * schedule(::java::lang::Runnable *, jlong, ::java::util::concurrent::TimeUnit *) = 0;
+ virtual ::java::util::concurrent::ScheduledFuture * schedule(::java::util::concurrent::Callable *, jlong, ::java::util::concurrent::TimeUnit *) = 0;
+ virtual ::java::util::concurrent::ScheduledFuture * scheduleAtFixedRate(::java::lang::Runnable *, jlong, jlong, ::java::util::concurrent::TimeUnit *) = 0;
+ virtual ::java::util::concurrent::ScheduledFuture * scheduleWithFixedDelay(::java::lang::Runnable *, jlong, jlong, ::java::util::concurrent::TimeUnit *) = 0;
+ virtual void shutdown() = 0;
+ virtual ::java::util::List * shutdownNow() = 0;
+ virtual jboolean isShutdown() = 0;
+ virtual jboolean isTerminated() = 0;
+ virtual jboolean awaitTermination(jlong, ::java::util::concurrent::TimeUnit *) = 0;
+ virtual ::java::util::concurrent::Future * submit(::java::util::concurrent::Callable *) = 0;
+ virtual ::java::util::concurrent::Future * submit(::java::lang::Runnable *, ::java::lang::Object *) = 0;
+ virtual ::java::util::concurrent::Future * submit(::java::lang::Runnable *) = 0;
+ virtual ::java::util::List * invokeAll(::java::util::Collection *) = 0;
+ virtual ::java::util::List * invokeAll(::java::util::Collection *, jlong, ::java::util::concurrent::TimeUnit *) = 0;
+ virtual ::java::lang::Object * invokeAny(::java::util::Collection *) = 0;
+ virtual ::java::lang::Object * invokeAny(::java::util::Collection *, jlong, ::java::util::concurrent::TimeUnit *) = 0;
+ virtual void execute(::java::lang::Runnable *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_util_concurrent_ScheduledExecutorService__
diff --git a/libjava/java/util/concurrent/ScheduledFuture.h b/libjava/java/util/concurrent/ScheduledFuture.h
new file mode 100644
index 0000000..4cbf3b0
--- /dev/null
+++ b/libjava/java/util/concurrent/ScheduledFuture.h
@@ -0,0 +1,25 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_ScheduledFuture__
+#define __java_util_concurrent_ScheduledFuture__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::concurrent::ScheduledFuture : public ::java::lang::Object
+{
+
+public:
+ virtual jlong getDelay(::java::util::concurrent::TimeUnit *) = 0;
+ virtual jint compareTo(::java::lang::Object *) = 0;
+ virtual jboolean cancel(jboolean) = 0;
+ virtual jboolean isCancelled() = 0;
+ virtual jboolean isDone() = 0;
+ virtual ::java::lang::Object * get() = 0;
+ virtual ::java::lang::Object * get(jlong, ::java::util::concurrent::TimeUnit *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_util_concurrent_ScheduledFuture__
diff --git a/libjava/java/util/concurrent/ScheduledThreadPoolExecutor$1.h b/libjava/java/util/concurrent/ScheduledThreadPoolExecutor$1.h
new file mode 100644
index 0000000..cd6608f
--- /dev/null
+++ b/libjava/java/util/concurrent/ScheduledThreadPoolExecutor$1.h
@@ -0,0 +1,29 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_ScheduledThreadPoolExecutor$1__
+#define __java_util_concurrent_ScheduledThreadPoolExecutor$1__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::concurrent::ScheduledThreadPoolExecutor$1 : public ::java::lang::Object
+{
+
+public: // actually package-private
+ ScheduledThreadPoolExecutor$1(::java::util::concurrent::ScheduledThreadPoolExecutor$DelayedWorkQueue *);
+public:
+ jboolean hasNext();
+ ::java::lang::Runnable * target$next();
+ void remove();
+ ::java::lang::Object * next();
+private:
+ ::java::util::Iterator * __attribute__((aligned(__alignof__( ::java::lang::Object)))) it;
+public: // actually package-private
+ ::java::util::concurrent::ScheduledThreadPoolExecutor$DelayedWorkQueue * this$1;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_ScheduledThreadPoolExecutor$1__
diff --git a/libjava/java/util/concurrent/ScheduledThreadPoolExecutor$DelayedWorkQueue.h b/libjava/java/util/concurrent/ScheduledThreadPoolExecutor$DelayedWorkQueue.h
new file mode 100644
index 0000000..fd5871a
--- /dev/null
+++ b/libjava/java/util/concurrent/ScheduledThreadPoolExecutor$DelayedWorkQueue.h
@@ -0,0 +1,58 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_ScheduledThreadPoolExecutor$DelayedWorkQueue__
+#define __java_util_concurrent_ScheduledThreadPoolExecutor$DelayedWorkQueue__
+
+#pragma interface
+
+#include <java/util/AbstractCollection.h>
+#include <gcj/array.h>
+
+
+class java::util::concurrent::ScheduledThreadPoolExecutor$DelayedWorkQueue : public ::java::util::AbstractCollection
+{
+
+ ScheduledThreadPoolExecutor$DelayedWorkQueue();
+public:
+ virtual ::java::lang::Runnable * target$poll();
+ virtual ::java::lang::Runnable * target$peek();
+ virtual ::java::lang::Runnable * target$take();
+ virtual ::java::lang::Runnable * target$poll(jlong, ::java::util::concurrent::TimeUnit *);
+ virtual jboolean target$add(::java::lang::Runnable *);
+ virtual jboolean target$offer(::java::lang::Runnable *);
+ virtual void target$put(::java::lang::Runnable *);
+ virtual jboolean target$offer(::java::lang::Runnable *, jlong, ::java::util::concurrent::TimeUnit *);
+ virtual ::java::lang::Runnable * target$remove();
+ virtual ::java::lang::Runnable * target$element();
+ virtual void clear();
+ virtual jint drainTo(::java::util::Collection *);
+ virtual jint drainTo(::java::util::Collection *, jint);
+ virtual jint remainingCapacity();
+ virtual jboolean remove(::java::lang::Object *);
+ virtual jboolean contains(::java::lang::Object *);
+ virtual jint size();
+ virtual jboolean isEmpty();
+ virtual JArray< ::java::lang::Object * > * toArray();
+ virtual JArray< ::java::lang::Object * > * toArray(JArray< ::java::lang::Object * > *);
+ virtual ::java::util::Iterator * iterator();
+ virtual ::java::lang::Object * element();
+ virtual ::java::lang::Object * poll(jlong, ::java::util::concurrent::TimeUnit *);
+ virtual ::java::lang::Object * poll();
+ virtual ::java::lang::Object * take();
+ virtual jboolean offer(::java::lang::Object *, jlong, ::java::util::concurrent::TimeUnit *);
+ virtual jboolean offer(::java::lang::Object *);
+ virtual ::java::lang::Object * peek();
+ virtual jboolean add(::java::lang::Object *);
+ virtual ::java::lang::Object * remove();
+ virtual void put(::java::lang::Object *);
+public: // actually package-private
+ static ::java::util::concurrent::DelayQueue * access$10(::java::util::concurrent::ScheduledThreadPoolExecutor$DelayedWorkQueue *);
+ ScheduledThreadPoolExecutor$DelayedWorkQueue(::java::util::concurrent::ScheduledThreadPoolExecutor$DelayedWorkQueue *);
+private:
+ ::java::util::concurrent::DelayQueue * __attribute__((aligned(__alignof__( ::java::util::AbstractCollection)))) dq;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_ScheduledThreadPoolExecutor$DelayedWorkQueue__
diff --git a/libjava/java/util/concurrent/ScheduledThreadPoolExecutor$ScheduledFutureTask.h b/libjava/java/util/concurrent/ScheduledThreadPoolExecutor$ScheduledFutureTask.h
new file mode 100644
index 0000000..1bd4e3b
--- /dev/null
+++ b/libjava/java/util/concurrent/ScheduledThreadPoolExecutor$ScheduledFutureTask.h
@@ -0,0 +1,40 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_ScheduledThreadPoolExecutor$ScheduledFutureTask__
+#define __java_util_concurrent_ScheduledThreadPoolExecutor$ScheduledFutureTask__
+
+#pragma interface
+
+#include <java/util/concurrent/FutureTask.h>
+
+class java::util::concurrent::ScheduledThreadPoolExecutor$ScheduledFutureTask : public ::java::util::concurrent::FutureTask
+{
+
+public: // actually package-private
+ ScheduledThreadPoolExecutor$ScheduledFutureTask(::java::util::concurrent::ScheduledThreadPoolExecutor *, ::java::lang::Runnable *, ::java::lang::Object *, jlong);
+ ScheduledThreadPoolExecutor$ScheduledFutureTask(::java::util::concurrent::ScheduledThreadPoolExecutor *, ::java::lang::Runnable *, ::java::lang::Object *, jlong, jlong);
+ ScheduledThreadPoolExecutor$ScheduledFutureTask(::java::util::concurrent::ScheduledThreadPoolExecutor *, ::java::util::concurrent::Callable *, jlong);
+public:
+ virtual jlong getDelay(::java::util::concurrent::TimeUnit *);
+ virtual jint target$compareTo(::java::util::concurrent::Delayed *);
+ virtual jboolean isPeriodic();
+private:
+ void runPeriodic();
+public:
+ virtual void run();
+ virtual jint compareTo(::java::lang::Object *);
+public: // actually package-private
+ static jboolean access$1(::java::util::concurrent::ScheduledThreadPoolExecutor$ScheduledFutureTask *);
+ static void access$2(::java::util::concurrent::ScheduledThreadPoolExecutor$ScheduledFutureTask *);
+private:
+ jlong __attribute__((aligned(__alignof__( ::java::util::concurrent::FutureTask)))) sequenceNumber;
+ jlong time;
+ jlong period;
+public: // actually package-private
+ ::java::util::concurrent::ScheduledThreadPoolExecutor * this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_ScheduledThreadPoolExecutor$ScheduledFutureTask__
diff --git a/libjava/java/util/concurrent/ScheduledThreadPoolExecutor.h b/libjava/java/util/concurrent/ScheduledThreadPoolExecutor.h
new file mode 100644
index 0000000..e01b420
--- /dev/null
+++ b/libjava/java/util/concurrent/ScheduledThreadPoolExecutor.h
@@ -0,0 +1,56 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_ScheduledThreadPoolExecutor__
+#define __java_util_concurrent_ScheduledThreadPoolExecutor__
+
+#pragma interface
+
+#include <java/util/concurrent/ThreadPoolExecutor.h>
+
+class java::util::concurrent::ScheduledThreadPoolExecutor : public ::java::util::concurrent::ThreadPoolExecutor
+{
+
+public: // actually package-private
+ virtual jlong now();
+private:
+ void delayedExecute(::java::lang::Runnable *);
+ void cancelUnwantedTasks();
+public:
+ virtual jboolean remove(::java::lang::Runnable *);
+public: // actually protected
+ virtual ::java::util::concurrent::RunnableScheduledFuture * decorateTask(::java::lang::Runnable *, ::java::util::concurrent::RunnableScheduledFuture *);
+ virtual ::java::util::concurrent::RunnableScheduledFuture * decorateTask(::java::util::concurrent::Callable *, ::java::util::concurrent::RunnableScheduledFuture *);
+public:
+ ScheduledThreadPoolExecutor(jint);
+ ScheduledThreadPoolExecutor(jint, ::java::util::concurrent::ThreadFactory *);
+ ScheduledThreadPoolExecutor(jint, ::java::util::concurrent::RejectedExecutionHandler *);
+ ScheduledThreadPoolExecutor(jint, ::java::util::concurrent::ThreadFactory *, ::java::util::concurrent::RejectedExecutionHandler *);
+ virtual ::java::util::concurrent::ScheduledFuture * schedule(::java::lang::Runnable *, jlong, ::java::util::concurrent::TimeUnit *);
+ virtual ::java::util::concurrent::ScheduledFuture * schedule(::java::util::concurrent::Callable *, jlong, ::java::util::concurrent::TimeUnit *);
+ virtual ::java::util::concurrent::ScheduledFuture * scheduleAtFixedRate(::java::lang::Runnable *, jlong, jlong, ::java::util::concurrent::TimeUnit *);
+ virtual ::java::util::concurrent::ScheduledFuture * scheduleWithFixedDelay(::java::lang::Runnable *, jlong, jlong, ::java::util::concurrent::TimeUnit *);
+ virtual void execute(::java::lang::Runnable *);
+ virtual ::java::util::concurrent::Future * submit(::java::lang::Runnable *);
+ virtual ::java::util::concurrent::Future * submit(::java::lang::Runnable *, ::java::lang::Object *);
+ virtual ::java::util::concurrent::Future * submit(::java::util::concurrent::Callable *);
+ virtual void setContinueExistingPeriodicTasksAfterShutdownPolicy(jboolean);
+ virtual jboolean getContinueExistingPeriodicTasksAfterShutdownPolicy();
+ virtual void setExecuteExistingDelayedTasksAfterShutdownPolicy(jboolean);
+ virtual jboolean getExecuteExistingDelayedTasksAfterShutdownPolicy();
+ virtual void shutdown();
+ virtual ::java::util::List * shutdownNow();
+ virtual ::java::util::concurrent::BlockingQueue * getQueue();
+public: // actually package-private
+ static ::java::util::concurrent::atomic::AtomicLong * access$0();
+ static ::java::util::concurrent::BlockingQueue * access$1(::java::util::concurrent::ScheduledThreadPoolExecutor *);
+private:
+ volatile jboolean __attribute__((aligned(__alignof__( ::java::util::concurrent::ThreadPoolExecutor)))) continueExistingPeriodicTasksAfterShutdown;
+ volatile jboolean executeExistingDelayedTasksAfterShutdown;
+ static ::java::util::concurrent::atomic::AtomicLong * sequencer;
+ static jlong NANO_ORIGIN;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_ScheduledThreadPoolExecutor__
diff --git a/libjava/java/util/concurrent/Semaphore$FairSync.h b/libjava/java/util/concurrent/Semaphore$FairSync.h
new file mode 100644
index 0000000..ac32369
--- /dev/null
+++ b/libjava/java/util/concurrent/Semaphore$FairSync.h
@@ -0,0 +1,24 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_Semaphore$FairSync__
+#define __java_util_concurrent_Semaphore$FairSync__
+
+#pragma interface
+
+#include <java/util/concurrent/Semaphore$Sync.h>
+
+class java::util::concurrent::Semaphore$FairSync : public ::java::util::concurrent::Semaphore$Sync
+{
+
+public: // actually package-private
+ Semaphore$FairSync(jint);
+public: // actually protected
+ jint tryAcquireShared(jint);
+private:
+ static const jlong serialVersionUID = 2014338818796000944LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_Semaphore$FairSync__
diff --git a/libjava/java/util/concurrent/Semaphore$NonfairSync.h b/libjava/java/util/concurrent/Semaphore$NonfairSync.h
new file mode 100644
index 0000000..2a03f1a
--- /dev/null
+++ b/libjava/java/util/concurrent/Semaphore$NonfairSync.h
@@ -0,0 +1,24 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_Semaphore$NonfairSync__
+#define __java_util_concurrent_Semaphore$NonfairSync__
+
+#pragma interface
+
+#include <java/util/concurrent/Semaphore$Sync.h>
+
+class java::util::concurrent::Semaphore$NonfairSync : public ::java::util::concurrent::Semaphore$Sync
+{
+
+public: // actually package-private
+ Semaphore$NonfairSync(jint);
+public: // actually protected
+ jint tryAcquireShared(jint);
+private:
+ static const jlong serialVersionUID = -2694183684443567898LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_Semaphore$NonfairSync__
diff --git a/libjava/java/util/concurrent/Semaphore$Sync.h b/libjava/java/util/concurrent/Semaphore$Sync.h
new file mode 100644
index 0000000..98464b2
--- /dev/null
+++ b/libjava/java/util/concurrent/Semaphore$Sync.h
@@ -0,0 +1,29 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_Semaphore$Sync__
+#define __java_util_concurrent_Semaphore$Sync__
+
+#pragma interface
+
+#include <java/util/concurrent/locks/AbstractQueuedSynchronizer.h>
+
+class java::util::concurrent::Semaphore$Sync : public ::java::util::concurrent::locks::AbstractQueuedSynchronizer
+{
+
+public: // actually package-private
+ Semaphore$Sync(jint);
+ virtual jint getPermits();
+ virtual jint nonfairTryAcquireShared(jint);
+public: // actually protected
+ virtual jboolean tryReleaseShared(jint);
+public: // actually package-private
+ virtual void reducePermits(jint);
+ virtual jint drainPermits();
+private:
+ static const jlong serialVersionUID = 1192457210091910933LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_Semaphore$Sync__
diff --git a/libjava/java/util/concurrent/Semaphore.h b/libjava/java/util/concurrent/Semaphore.h
new file mode 100644
index 0000000..41755dd
--- /dev/null
+++ b/libjava/java/util/concurrent/Semaphore.h
@@ -0,0 +1,46 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_Semaphore__
+#define __java_util_concurrent_Semaphore__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::concurrent::Semaphore : public ::java::lang::Object
+{
+
+public:
+ Semaphore(jint);
+ Semaphore(jint, jboolean);
+ virtual void acquire();
+ virtual void acquireUninterruptibly();
+ virtual jboolean tryAcquire();
+ virtual jboolean tryAcquire(jlong, ::java::util::concurrent::TimeUnit *);
+ virtual void release();
+ virtual void acquire(jint);
+ virtual void acquireUninterruptibly(jint);
+ virtual jboolean tryAcquire(jint);
+ virtual jboolean tryAcquire(jint, jlong, ::java::util::concurrent::TimeUnit *);
+ virtual void release(jint);
+ virtual jint availablePermits();
+ virtual jint drainPermits();
+public: // actually protected
+ virtual void reducePermits(jint);
+public:
+ virtual jboolean isFair();
+ virtual jboolean hasQueuedThreads();
+ virtual jint getQueueLength();
+public: // actually protected
+ virtual ::java::util::Collection * getQueuedThreads();
+public:
+ virtual ::java::lang::String * toString();
+private:
+ static const jlong serialVersionUID = -3222578661600680210LL;
+ ::java::util::concurrent::Semaphore$Sync * __attribute__((aligned(__alignof__( ::java::lang::Object)))) sync;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_Semaphore__
diff --git a/libjava/java/util/concurrent/SynchronousQueue$EmptyIterator.h b/libjava/java/util/concurrent/SynchronousQueue$EmptyIterator.h
new file mode 100644
index 0000000..793fb9a
--- /dev/null
+++ b/libjava/java/util/concurrent/SynchronousQueue$EmptyIterator.h
@@ -0,0 +1,23 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_SynchronousQueue$EmptyIterator__
+#define __java_util_concurrent_SynchronousQueue$EmptyIterator__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::concurrent::SynchronousQueue$EmptyIterator : public ::java::lang::Object
+{
+
+public: // actually package-private
+ SynchronousQueue$EmptyIterator();
+public:
+ virtual jboolean hasNext();
+ virtual ::java::lang::Object * next();
+ virtual void remove();
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_SynchronousQueue$EmptyIterator__
diff --git a/libjava/java/util/concurrent/SynchronousQueue$FifoWaitQueue.h b/libjava/java/util/concurrent/SynchronousQueue$FifoWaitQueue.h
new file mode 100644
index 0000000..ba63690
--- /dev/null
+++ b/libjava/java/util/concurrent/SynchronousQueue$FifoWaitQueue.h
@@ -0,0 +1,22 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_SynchronousQueue$FifoWaitQueue__
+#define __java_util_concurrent_SynchronousQueue$FifoWaitQueue__
+
+#pragma interface
+
+#include <java/util/concurrent/SynchronousQueue$WaitQueue.h>
+
+class java::util::concurrent::SynchronousQueue$FifoWaitQueue : public ::java::util::concurrent::SynchronousQueue$WaitQueue
+{
+
+public: // actually package-private
+ SynchronousQueue$FifoWaitQueue();
+private:
+ static const jlong serialVersionUID = -3623113410248163686LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_SynchronousQueue$FifoWaitQueue__
diff --git a/libjava/java/util/concurrent/SynchronousQueue$LifoWaitQueue.h b/libjava/java/util/concurrent/SynchronousQueue$LifoWaitQueue.h
new file mode 100644
index 0000000..dedfaca
--- /dev/null
+++ b/libjava/java/util/concurrent/SynchronousQueue$LifoWaitQueue.h
@@ -0,0 +1,22 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_SynchronousQueue$LifoWaitQueue__
+#define __java_util_concurrent_SynchronousQueue$LifoWaitQueue__
+
+#pragma interface
+
+#include <java/util/concurrent/SynchronousQueue$WaitQueue.h>
+
+class java::util::concurrent::SynchronousQueue$LifoWaitQueue : public ::java::util::concurrent::SynchronousQueue$WaitQueue
+{
+
+public: // actually package-private
+ SynchronousQueue$LifoWaitQueue();
+private:
+ static const jlong serialVersionUID = -3633113410248163686LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_SynchronousQueue$LifoWaitQueue__
diff --git a/libjava/java/util/concurrent/SynchronousQueue$TransferQueue$QNode.h b/libjava/java/util/concurrent/SynchronousQueue$TransferQueue$QNode.h
new file mode 100644
index 0000000..07486a9
--- /dev/null
+++ b/libjava/java/util/concurrent/SynchronousQueue$TransferQueue$QNode.h
@@ -0,0 +1,31 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_SynchronousQueue$TransferQueue$QNode__
+#define __java_util_concurrent_SynchronousQueue$TransferQueue$QNode__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::concurrent::SynchronousQueue$TransferQueue$QNode : public ::java::lang::Object
+{
+
+public: // actually package-private
+ SynchronousQueue$TransferQueue$QNode(::java::lang::Object *, jboolean);
+ jboolean casNext(::java::util::concurrent::SynchronousQueue$TransferQueue$QNode *, ::java::util::concurrent::SynchronousQueue$TransferQueue$QNode *);
+ jboolean casItem(::java::lang::Object *, ::java::lang::Object *);
+ void tryCancel(::java::lang::Object *);
+ jboolean isCancelled();
+ jboolean isOffList();
+ volatile ::java::util::concurrent::SynchronousQueue$TransferQueue$QNode * __attribute__((aligned(__alignof__( ::java::lang::Object)))) next;
+ volatile ::java::lang::Object * item;
+ volatile ::java::lang::Thread * waiter;
+ jboolean isData;
+ static ::java::util::concurrent::atomic::AtomicReferenceFieldUpdater * nextUpdater;
+ static ::java::util::concurrent::atomic::AtomicReferenceFieldUpdater * itemUpdater;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_SynchronousQueue$TransferQueue$QNode__
diff --git a/libjava/java/util/concurrent/SynchronousQueue$TransferQueue.h b/libjava/java/util/concurrent/SynchronousQueue$TransferQueue.h
new file mode 100644
index 0000000..d1b55c9
--- /dev/null
+++ b/libjava/java/util/concurrent/SynchronousQueue$TransferQueue.h
@@ -0,0 +1,32 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_SynchronousQueue$TransferQueue__
+#define __java_util_concurrent_SynchronousQueue$TransferQueue__
+
+#pragma interface
+
+#include <java/util/concurrent/SynchronousQueue$Transferer.h>
+
+class java::util::concurrent::SynchronousQueue$TransferQueue : public ::java::util::concurrent::SynchronousQueue$Transferer
+{
+
+public: // actually package-private
+ SynchronousQueue$TransferQueue();
+ void advanceHead(::java::util::concurrent::SynchronousQueue$TransferQueue$QNode *, ::java::util::concurrent::SynchronousQueue$TransferQueue$QNode *);
+ void advanceTail(::java::util::concurrent::SynchronousQueue$TransferQueue$QNode *, ::java::util::concurrent::SynchronousQueue$TransferQueue$QNode *);
+ jboolean casCleanMe(::java::util::concurrent::SynchronousQueue$TransferQueue$QNode *, ::java::util::concurrent::SynchronousQueue$TransferQueue$QNode *);
+ ::java::lang::Object * transfer(::java::lang::Object *, jboolean, jlong);
+ ::java::lang::Object * awaitFulfill(::java::util::concurrent::SynchronousQueue$TransferQueue$QNode *, ::java::lang::Object *, jboolean, jlong);
+ void clean(::java::util::concurrent::SynchronousQueue$TransferQueue$QNode *, ::java::util::concurrent::SynchronousQueue$TransferQueue$QNode *);
+ volatile ::java::util::concurrent::SynchronousQueue$TransferQueue$QNode * __attribute__((aligned(__alignof__( ::java::util::concurrent::SynchronousQueue$Transferer)))) head;
+ volatile ::java::util::concurrent::SynchronousQueue$TransferQueue$QNode * tail;
+ volatile ::java::util::concurrent::SynchronousQueue$TransferQueue$QNode * cleanMe;
+ static ::java::util::concurrent::atomic::AtomicReferenceFieldUpdater * headUpdater;
+ static ::java::util::concurrent::atomic::AtomicReferenceFieldUpdater * tailUpdater;
+ static ::java::util::concurrent::atomic::AtomicReferenceFieldUpdater * cleanMeUpdater;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_SynchronousQueue$TransferQueue__
diff --git a/libjava/java/util/concurrent/SynchronousQueue$TransferStack$SNode.h b/libjava/java/util/concurrent/SynchronousQueue$TransferStack$SNode.h
new file mode 100644
index 0000000..77af8cb
--- /dev/null
+++ b/libjava/java/util/concurrent/SynchronousQueue$TransferStack$SNode.h
@@ -0,0 +1,31 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_SynchronousQueue$TransferStack$SNode__
+#define __java_util_concurrent_SynchronousQueue$TransferStack$SNode__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::concurrent::SynchronousQueue$TransferStack$SNode : public ::java::lang::Object
+{
+
+public: // actually package-private
+ SynchronousQueue$TransferStack$SNode(::java::lang::Object *);
+ jboolean casNext(::java::util::concurrent::SynchronousQueue$TransferStack$SNode *, ::java::util::concurrent::SynchronousQueue$TransferStack$SNode *);
+ jboolean tryMatch(::java::util::concurrent::SynchronousQueue$TransferStack$SNode *);
+ void tryCancel();
+ jboolean isCancelled();
+ volatile ::java::util::concurrent::SynchronousQueue$TransferStack$SNode * __attribute__((aligned(__alignof__( ::java::lang::Object)))) next;
+ volatile ::java::util::concurrent::SynchronousQueue$TransferStack$SNode * match;
+ volatile ::java::lang::Thread * waiter;
+ ::java::lang::Object * item;
+ jint mode;
+ static ::java::util::concurrent::atomic::AtomicReferenceFieldUpdater * nextUpdater;
+ static ::java::util::concurrent::atomic::AtomicReferenceFieldUpdater * matchUpdater;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_SynchronousQueue$TransferStack$SNode__
diff --git a/libjava/java/util/concurrent/SynchronousQueue$TransferStack.h b/libjava/java/util/concurrent/SynchronousQueue$TransferStack.h
new file mode 100644
index 0000000..b29138f
--- /dev/null
+++ b/libjava/java/util/concurrent/SynchronousQueue$TransferStack.h
@@ -0,0 +1,32 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_SynchronousQueue$TransferStack__
+#define __java_util_concurrent_SynchronousQueue$TransferStack__
+
+#pragma interface
+
+#include <java/util/concurrent/SynchronousQueue$Transferer.h>
+
+class java::util::concurrent::SynchronousQueue$TransferStack : public ::java::util::concurrent::SynchronousQueue$Transferer
+{
+
+public: // actually package-private
+ SynchronousQueue$TransferStack();
+ static jboolean isFulfilling(jint);
+ jboolean casHead(::java::util::concurrent::SynchronousQueue$TransferStack$SNode *, ::java::util::concurrent::SynchronousQueue$TransferStack$SNode *);
+ static ::java::util::concurrent::SynchronousQueue$TransferStack$SNode * snode(::java::util::concurrent::SynchronousQueue$TransferStack$SNode *, ::java::lang::Object *, ::java::util::concurrent::SynchronousQueue$TransferStack$SNode *, jint);
+ ::java::lang::Object * transfer(::java::lang::Object *, jboolean, jlong);
+ ::java::util::concurrent::SynchronousQueue$TransferStack$SNode * awaitFulfill(::java::util::concurrent::SynchronousQueue$TransferStack$SNode *, jboolean, jlong);
+ jboolean shouldSpin(::java::util::concurrent::SynchronousQueue$TransferStack$SNode *);
+ void clean(::java::util::concurrent::SynchronousQueue$TransferStack$SNode *);
+ static const jint REQUEST = 0;
+ static const jint DATA = 1;
+ static const jint FULFILLING = 2;
+ volatile ::java::util::concurrent::SynchronousQueue$TransferStack$SNode * __attribute__((aligned(__alignof__( ::java::util::concurrent::SynchronousQueue$Transferer)))) head;
+ static ::java::util::concurrent::atomic::AtomicReferenceFieldUpdater * headUpdater;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_SynchronousQueue$TransferStack__
diff --git a/libjava/java/util/concurrent/SynchronousQueue$Transferer.h b/libjava/java/util/concurrent/SynchronousQueue$Transferer.h
new file mode 100644
index 0000000..1b135af
--- /dev/null
+++ b/libjava/java/util/concurrent/SynchronousQueue$Transferer.h
@@ -0,0 +1,21 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_SynchronousQueue$Transferer__
+#define __java_util_concurrent_SynchronousQueue$Transferer__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::concurrent::SynchronousQueue$Transferer : public ::java::lang::Object
+{
+
+public: // actually package-private
+ SynchronousQueue$Transferer();
+ virtual ::java::lang::Object * transfer(::java::lang::Object *, jboolean, jlong) = 0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_SynchronousQueue$Transferer__
diff --git a/libjava/java/util/concurrent/SynchronousQueue$WaitQueue.h b/libjava/java/util/concurrent/SynchronousQueue$WaitQueue.h
new file mode 100644
index 0000000..36f384d
--- /dev/null
+++ b/libjava/java/util/concurrent/SynchronousQueue$WaitQueue.h
@@ -0,0 +1,20 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_SynchronousQueue$WaitQueue__
+#define __java_util_concurrent_SynchronousQueue$WaitQueue__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::concurrent::SynchronousQueue$WaitQueue : public ::java::lang::Object
+{
+
+public: // actually package-private
+ SynchronousQueue$WaitQueue();
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_SynchronousQueue$WaitQueue__
diff --git a/libjava/java/util/concurrent/SynchronousQueue.h b/libjava/java/util/concurrent/SynchronousQueue.h
new file mode 100644
index 0000000..82ecce4
--- /dev/null
+++ b/libjava/java/util/concurrent/SynchronousQueue.h
@@ -0,0 +1,58 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_SynchronousQueue__
+#define __java_util_concurrent_SynchronousQueue__
+
+#pragma interface
+
+#include <java/util/AbstractQueue.h>
+#include <gcj/array.h>
+
+
+class java::util::concurrent::SynchronousQueue : public ::java::util::AbstractQueue
+{
+
+public:
+ SynchronousQueue();
+ SynchronousQueue(jboolean);
+ virtual void put(::java::lang::Object *);
+ virtual jboolean offer(::java::lang::Object *, jlong, ::java::util::concurrent::TimeUnit *);
+ virtual jboolean offer(::java::lang::Object *);
+ virtual ::java::lang::Object * take();
+ virtual ::java::lang::Object * poll(jlong, ::java::util::concurrent::TimeUnit *);
+ virtual ::java::lang::Object * poll();
+ virtual jboolean isEmpty();
+ virtual jint size();
+ virtual jint remainingCapacity();
+ virtual void clear();
+ virtual jboolean contains(::java::lang::Object *);
+ virtual jboolean remove(::java::lang::Object *);
+ virtual jboolean containsAll(::java::util::Collection *);
+ virtual jboolean removeAll(::java::util::Collection *);
+ virtual jboolean retainAll(::java::util::Collection *);
+ virtual ::java::lang::Object * peek();
+ virtual ::java::util::Iterator * iterator();
+ virtual JArray< ::java::lang::Object * > * toArray();
+ virtual JArray< ::java::lang::Object * > * toArray(JArray< ::java::lang::Object * > *);
+ virtual jint drainTo(::java::util::Collection *);
+ virtual jint drainTo(::java::util::Collection *, jint);
+private:
+ void writeObject(::java::io::ObjectOutputStream *);
+ void readObject(::java::io::ObjectInputStream *);
+ static const jlong serialVersionUID = -3223113410248163686LL;
+public: // actually package-private
+ static jint NCPUS;
+ static jint maxTimedSpins;
+ static jint maxUntimedSpins;
+ static const jlong spinForTimeoutThreshold = 1000LL;
+private:
+ volatile ::java::util::concurrent::SynchronousQueue$Transferer * __attribute__((aligned(__alignof__( ::java::util::AbstractQueue)))) transferer;
+ ::java::util::concurrent::locks::ReentrantLock * qlock;
+ ::java::util::concurrent::SynchronousQueue$WaitQueue * waitingProducers;
+ ::java::util::concurrent::SynchronousQueue$WaitQueue * waitingConsumers;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_SynchronousQueue__
diff --git a/libjava/java/util/concurrent/ThreadFactory.h b/libjava/java/util/concurrent/ThreadFactory.h
new file mode 100644
index 0000000..c1037df
--- /dev/null
+++ b/libjava/java/util/concurrent/ThreadFactory.h
@@ -0,0 +1,19 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_ThreadFactory__
+#define __java_util_concurrent_ThreadFactory__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::concurrent::ThreadFactory : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::lang::Thread * newThread(::java::lang::Runnable *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_util_concurrent_ThreadFactory__
diff --git a/libjava/java/util/concurrent/ThreadPoolExecutor$AbortPolicy.h b/libjava/java/util/concurrent/ThreadPoolExecutor$AbortPolicy.h
new file mode 100644
index 0000000..9f61c79
--- /dev/null
+++ b/libjava/java/util/concurrent/ThreadPoolExecutor$AbortPolicy.h
@@ -0,0 +1,20 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_ThreadPoolExecutor$AbortPolicy__
+#define __java_util_concurrent_ThreadPoolExecutor$AbortPolicy__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::concurrent::ThreadPoolExecutor$AbortPolicy : public ::java::lang::Object
+{
+
+public:
+ ThreadPoolExecutor$AbortPolicy();
+ virtual void rejectedExecution(::java::lang::Runnable *, ::java::util::concurrent::ThreadPoolExecutor *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_ThreadPoolExecutor$AbortPolicy__
diff --git a/libjava/java/util/concurrent/ThreadPoolExecutor$CallerRunsPolicy.h b/libjava/java/util/concurrent/ThreadPoolExecutor$CallerRunsPolicy.h
new file mode 100644
index 0000000..169a9c3
--- /dev/null
+++ b/libjava/java/util/concurrent/ThreadPoolExecutor$CallerRunsPolicy.h
@@ -0,0 +1,20 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_ThreadPoolExecutor$CallerRunsPolicy__
+#define __java_util_concurrent_ThreadPoolExecutor$CallerRunsPolicy__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::concurrent::ThreadPoolExecutor$CallerRunsPolicy : public ::java::lang::Object
+{
+
+public:
+ ThreadPoolExecutor$CallerRunsPolicy();
+ virtual void rejectedExecution(::java::lang::Runnable *, ::java::util::concurrent::ThreadPoolExecutor *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_ThreadPoolExecutor$CallerRunsPolicy__
diff --git a/libjava/java/util/concurrent/ThreadPoolExecutor$DiscardOldestPolicy.h b/libjava/java/util/concurrent/ThreadPoolExecutor$DiscardOldestPolicy.h
new file mode 100644
index 0000000..77b8e05
--- /dev/null
+++ b/libjava/java/util/concurrent/ThreadPoolExecutor$DiscardOldestPolicy.h
@@ -0,0 +1,20 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_ThreadPoolExecutor$DiscardOldestPolicy__
+#define __java_util_concurrent_ThreadPoolExecutor$DiscardOldestPolicy__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::concurrent::ThreadPoolExecutor$DiscardOldestPolicy : public ::java::lang::Object
+{
+
+public:
+ ThreadPoolExecutor$DiscardOldestPolicy();
+ virtual void rejectedExecution(::java::lang::Runnable *, ::java::util::concurrent::ThreadPoolExecutor *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_ThreadPoolExecutor$DiscardOldestPolicy__
diff --git a/libjava/java/util/concurrent/ThreadPoolExecutor$DiscardPolicy.h b/libjava/java/util/concurrent/ThreadPoolExecutor$DiscardPolicy.h
new file mode 100644
index 0000000..771f828
--- /dev/null
+++ b/libjava/java/util/concurrent/ThreadPoolExecutor$DiscardPolicy.h
@@ -0,0 +1,20 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_ThreadPoolExecutor$DiscardPolicy__
+#define __java_util_concurrent_ThreadPoolExecutor$DiscardPolicy__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::concurrent::ThreadPoolExecutor$DiscardPolicy : public ::java::lang::Object
+{
+
+public:
+ ThreadPoolExecutor$DiscardPolicy();
+ virtual void rejectedExecution(::java::lang::Runnable *, ::java::util::concurrent::ThreadPoolExecutor *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_ThreadPoolExecutor$DiscardPolicy__
diff --git a/libjava/java/util/concurrent/ThreadPoolExecutor$Worker.h b/libjava/java/util/concurrent/ThreadPoolExecutor$Worker.h
new file mode 100644
index 0000000..18d3f32
--- /dev/null
+++ b/libjava/java/util/concurrent/ThreadPoolExecutor$Worker.h
@@ -0,0 +1,34 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_ThreadPoolExecutor$Worker__
+#define __java_util_concurrent_ThreadPoolExecutor$Worker__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::concurrent::ThreadPoolExecutor$Worker : public ::java::lang::Object
+{
+
+public: // actually package-private
+ ThreadPoolExecutor$Worker(::java::util::concurrent::ThreadPoolExecutor *, ::java::lang::Runnable *);
+ virtual jboolean isActive();
+ virtual void interruptIfIdle();
+ virtual void interruptNow();
+private:
+ void runTask(::java::lang::Runnable *);
+public:
+ virtual void run();
+private:
+ ::java::util::concurrent::locks::ReentrantLock * __attribute__((aligned(__alignof__( ::java::lang::Object)))) runLock;
+ ::java::lang::Runnable * firstTask;
+public: // actually package-private
+ volatile jlong completedTasks;
+ ::java::lang::Thread * thread;
+ ::java::util::concurrent::ThreadPoolExecutor * this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_ThreadPoolExecutor$Worker__
diff --git a/libjava/java/util/concurrent/ThreadPoolExecutor.h b/libjava/java/util/concurrent/ThreadPoolExecutor.h
new file mode 100644
index 0000000..00b9dde
--- /dev/null
+++ b/libjava/java/util/concurrent/ThreadPoolExecutor.h
@@ -0,0 +1,97 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_ThreadPoolExecutor__
+#define __java_util_concurrent_ThreadPoolExecutor__
+
+#pragma interface
+
+#include <java/util/concurrent/AbstractExecutorService.h>
+#include <gcj/array.h>
+
+
+class java::util::concurrent::ThreadPoolExecutor : public ::java::util::concurrent::AbstractExecutorService
+{
+
+public: // actually package-private
+ virtual void reject(::java::lang::Runnable *);
+private:
+ ::java::lang::Thread * addThread(::java::lang::Runnable *);
+ jboolean addIfUnderCorePoolSize(::java::lang::Runnable *);
+ jint addIfUnderMaximumPoolSize(::java::lang::Runnable *);
+public: // actually package-private
+ virtual ::java::lang::Runnable * getTask();
+ virtual void interruptIdleWorkers();
+ virtual void workerDone(::java::util::concurrent::ThreadPoolExecutor$Worker *);
+public:
+ ThreadPoolExecutor(jint, jint, jlong, ::java::util::concurrent::TimeUnit *, ::java::util::concurrent::BlockingQueue *);
+ ThreadPoolExecutor(jint, jint, jlong, ::java::util::concurrent::TimeUnit *, ::java::util::concurrent::BlockingQueue *, ::java::util::concurrent::ThreadFactory *);
+ ThreadPoolExecutor(jint, jint, jlong, ::java::util::concurrent::TimeUnit *, ::java::util::concurrent::BlockingQueue *, ::java::util::concurrent::RejectedExecutionHandler *);
+ ThreadPoolExecutor(jint, jint, jlong, ::java::util::concurrent::TimeUnit *, ::java::util::concurrent::BlockingQueue *, ::java::util::concurrent::ThreadFactory *, ::java::util::concurrent::RejectedExecutionHandler *);
+ virtual void execute(::java::lang::Runnable *);
+ virtual void shutdown();
+ virtual ::java::util::List * shutdownNow();
+ virtual jboolean isShutdown();
+ virtual jboolean isTerminating();
+ virtual jboolean isTerminated();
+ virtual jboolean awaitTermination(jlong, ::java::util::concurrent::TimeUnit *);
+public: // actually protected
+ virtual void finalize();
+public:
+ virtual void setThreadFactory(::java::util::concurrent::ThreadFactory *);
+ virtual ::java::util::concurrent::ThreadFactory * getThreadFactory();
+ virtual void setRejectedExecutionHandler(::java::util::concurrent::RejectedExecutionHandler *);
+ virtual ::java::util::concurrent::RejectedExecutionHandler * getRejectedExecutionHandler();
+ virtual ::java::util::concurrent::BlockingQueue * getQueue();
+ virtual jboolean remove(::java::lang::Runnable *);
+ virtual void purge();
+ virtual void setCorePoolSize(jint);
+ virtual jint getCorePoolSize();
+ virtual jboolean prestartCoreThread();
+ virtual jint prestartAllCoreThreads();
+ virtual jboolean allowsCoreThreadTimeOut();
+ virtual void allowCoreThreadTimeOut(jboolean);
+ virtual void setMaximumPoolSize(jint);
+ virtual jint getMaximumPoolSize();
+ virtual void setKeepAliveTime(jlong, ::java::util::concurrent::TimeUnit *);
+ virtual jlong getKeepAliveTime(::java::util::concurrent::TimeUnit *);
+ virtual jint getPoolSize();
+ virtual jint getActiveCount();
+ virtual jint getLargestPoolSize();
+ virtual jlong getTaskCount();
+ virtual jlong getCompletedTaskCount();
+public: // actually protected
+ virtual void beforeExecute(::java::lang::Thread *, ::java::lang::Runnable *);
+ virtual void afterExecute(::java::lang::Runnable *, ::java::lang::Throwable *);
+ virtual void terminated();
+private:
+ static JArray< ::java::lang::Runnable * > * EMPTY_RUNNABLE_ARRAY;
+ static ::java::lang::RuntimePermission * shutdownPerm;
+ ::java::util::concurrent::BlockingQueue * __attribute__((aligned(__alignof__( ::java::util::concurrent::AbstractExecutorService)))) workQueue;
+ ::java::util::concurrent::locks::ReentrantLock * mainLock;
+ ::java::util::concurrent::locks::Condition * termination;
+ ::java::util::HashSet * workers;
+ volatile jlong keepAliveTime;
+ volatile jboolean allowCoreThreadTimeOut__;
+ volatile jint corePoolSize;
+ volatile jint maximumPoolSize;
+ volatile jint poolSize;
+public: // actually package-private
+ volatile jint runState;
+ static const jint RUNNING = 0;
+ static const jint SHUTDOWN = 1;
+ static const jint STOP = 2;
+ static const jint TERMINATED = 3;
+private:
+ volatile ::java::util::concurrent::RejectedExecutionHandler * handler;
+ volatile ::java::util::concurrent::ThreadFactory * threadFactory;
+ jint largestPoolSize;
+ jlong completedTaskCount;
+ static ::java::util::concurrent::RejectedExecutionHandler * defaultHandler;
+public: // actually package-private
+ static jboolean $assertionsDisabled;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_ThreadPoolExecutor__
diff --git a/libjava/java/util/concurrent/TimeUnit$1.h b/libjava/java/util/concurrent/TimeUnit$1.h
new file mode 100644
index 0000000..85b2bfb
--- /dev/null
+++ b/libjava/java/util/concurrent/TimeUnit$1.h
@@ -0,0 +1,31 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_TimeUnit$1__
+#define __java_util_concurrent_TimeUnit$1__
+
+#pragma interface
+
+#include <java/util/concurrent/TimeUnit.h>
+
+class java::util::concurrent::TimeUnit$1 : public ::java::util::concurrent::TimeUnit
+{
+
+public: // actually package-private
+ TimeUnit$1(::java::lang::String *, jint);
+public:
+ jlong toNanos(jlong);
+ jlong toMicros(jlong);
+ jlong toMillis(jlong);
+ jlong toSeconds(jlong);
+ jlong toMinutes(jlong);
+ jlong toHours(jlong);
+ jlong toDays(jlong);
+ jlong convert(jlong, ::java::util::concurrent::TimeUnit *);
+public: // actually package-private
+ jint excessNanos(jlong, jlong);
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_TimeUnit$1__
diff --git a/libjava/java/util/concurrent/TimeUnit$2.h b/libjava/java/util/concurrent/TimeUnit$2.h
new file mode 100644
index 0000000..6392a88
--- /dev/null
+++ b/libjava/java/util/concurrent/TimeUnit$2.h
@@ -0,0 +1,31 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_TimeUnit$2__
+#define __java_util_concurrent_TimeUnit$2__
+
+#pragma interface
+
+#include <java/util/concurrent/TimeUnit.h>
+
+class java::util::concurrent::TimeUnit$2 : public ::java::util::concurrent::TimeUnit
+{
+
+public: // actually package-private
+ TimeUnit$2(::java::lang::String *, jint);
+public:
+ jlong toNanos(jlong);
+ jlong toMicros(jlong);
+ jlong toMillis(jlong);
+ jlong toSeconds(jlong);
+ jlong toMinutes(jlong);
+ jlong toHours(jlong);
+ jlong toDays(jlong);
+ jlong convert(jlong, ::java::util::concurrent::TimeUnit *);
+public: // actually package-private
+ jint excessNanos(jlong, jlong);
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_TimeUnit$2__
diff --git a/libjava/java/util/concurrent/TimeUnit$3.h b/libjava/java/util/concurrent/TimeUnit$3.h
new file mode 100644
index 0000000..0e80899
--- /dev/null
+++ b/libjava/java/util/concurrent/TimeUnit$3.h
@@ -0,0 +1,31 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_TimeUnit$3__
+#define __java_util_concurrent_TimeUnit$3__
+
+#pragma interface
+
+#include <java/util/concurrent/TimeUnit.h>
+
+class java::util::concurrent::TimeUnit$3 : public ::java::util::concurrent::TimeUnit
+{
+
+public: // actually package-private
+ TimeUnit$3(::java::lang::String *, jint);
+public:
+ jlong toNanos(jlong);
+ jlong toMicros(jlong);
+ jlong toMillis(jlong);
+ jlong toSeconds(jlong);
+ jlong toMinutes(jlong);
+ jlong toHours(jlong);
+ jlong toDays(jlong);
+ jlong convert(jlong, ::java::util::concurrent::TimeUnit *);
+public: // actually package-private
+ jint excessNanos(jlong, jlong);
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_TimeUnit$3__
diff --git a/libjava/java/util/concurrent/TimeUnit$4.h b/libjava/java/util/concurrent/TimeUnit$4.h
new file mode 100644
index 0000000..fca74d3
--- /dev/null
+++ b/libjava/java/util/concurrent/TimeUnit$4.h
@@ -0,0 +1,31 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_TimeUnit$4__
+#define __java_util_concurrent_TimeUnit$4__
+
+#pragma interface
+
+#include <java/util/concurrent/TimeUnit.h>
+
+class java::util::concurrent::TimeUnit$4 : public ::java::util::concurrent::TimeUnit
+{
+
+public: // actually package-private
+ TimeUnit$4(::java::lang::String *, jint);
+public:
+ jlong toNanos(jlong);
+ jlong toMicros(jlong);
+ jlong toMillis(jlong);
+ jlong toSeconds(jlong);
+ jlong toMinutes(jlong);
+ jlong toHours(jlong);
+ jlong toDays(jlong);
+ jlong convert(jlong, ::java::util::concurrent::TimeUnit *);
+public: // actually package-private
+ jint excessNanos(jlong, jlong);
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_TimeUnit$4__
diff --git a/libjava/java/util/concurrent/TimeUnit$5.h b/libjava/java/util/concurrent/TimeUnit$5.h
new file mode 100644
index 0000000..54bf7dd
--- /dev/null
+++ b/libjava/java/util/concurrent/TimeUnit$5.h
@@ -0,0 +1,31 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_TimeUnit$5__
+#define __java_util_concurrent_TimeUnit$5__
+
+#pragma interface
+
+#include <java/util/concurrent/TimeUnit.h>
+
+class java::util::concurrent::TimeUnit$5 : public ::java::util::concurrent::TimeUnit
+{
+
+public: // actually package-private
+ TimeUnit$5(::java::lang::String *, jint);
+public:
+ jlong toNanos(jlong);
+ jlong toMicros(jlong);
+ jlong toMillis(jlong);
+ jlong toSeconds(jlong);
+ jlong toMinutes(jlong);
+ jlong toHours(jlong);
+ jlong toDays(jlong);
+ jlong convert(jlong, ::java::util::concurrent::TimeUnit *);
+public: // actually package-private
+ jint excessNanos(jlong, jlong);
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_TimeUnit$5__
diff --git a/libjava/java/util/concurrent/TimeUnit$6.h b/libjava/java/util/concurrent/TimeUnit$6.h
new file mode 100644
index 0000000..8439a71
--- /dev/null
+++ b/libjava/java/util/concurrent/TimeUnit$6.h
@@ -0,0 +1,31 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_TimeUnit$6__
+#define __java_util_concurrent_TimeUnit$6__
+
+#pragma interface
+
+#include <java/util/concurrent/TimeUnit.h>
+
+class java::util::concurrent::TimeUnit$6 : public ::java::util::concurrent::TimeUnit
+{
+
+public: // actually package-private
+ TimeUnit$6(::java::lang::String *, jint);
+public:
+ jlong toNanos(jlong);
+ jlong toMicros(jlong);
+ jlong toMillis(jlong);
+ jlong toSeconds(jlong);
+ jlong toMinutes(jlong);
+ jlong toHours(jlong);
+ jlong toDays(jlong);
+ jlong convert(jlong, ::java::util::concurrent::TimeUnit *);
+public: // actually package-private
+ jint excessNanos(jlong, jlong);
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_TimeUnit$6__
diff --git a/libjava/java/util/concurrent/TimeUnit$7.h b/libjava/java/util/concurrent/TimeUnit$7.h
new file mode 100644
index 0000000..e7bac28
--- /dev/null
+++ b/libjava/java/util/concurrent/TimeUnit$7.h
@@ -0,0 +1,31 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_TimeUnit$7__
+#define __java_util_concurrent_TimeUnit$7__
+
+#pragma interface
+
+#include <java/util/concurrent/TimeUnit.h>
+
+class java::util::concurrent::TimeUnit$7 : public ::java::util::concurrent::TimeUnit
+{
+
+public: // actually package-private
+ TimeUnit$7(::java::lang::String *, jint);
+public:
+ jlong toNanos(jlong);
+ jlong toMicros(jlong);
+ jlong toMillis(jlong);
+ jlong toSeconds(jlong);
+ jlong toMinutes(jlong);
+ jlong toHours(jlong);
+ jlong toDays(jlong);
+ jlong convert(jlong, ::java::util::concurrent::TimeUnit *);
+public: // actually package-private
+ jint excessNanos(jlong, jlong);
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_TimeUnit$7__
diff --git a/libjava/java/util/concurrent/TimeUnit.h b/libjava/java/util/concurrent/TimeUnit.h
new file mode 100644
index 0000000..fa6d497
--- /dev/null
+++ b/libjava/java/util/concurrent/TimeUnit.h
@@ -0,0 +1,61 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_TimeUnit__
+#define __java_util_concurrent_TimeUnit__
+
+#pragma interface
+
+#include <java/lang/Enum.h>
+#include <gcj/array.h>
+
+
+class java::util::concurrent::TimeUnit : public ::java::lang::Enum
+{
+
+ TimeUnit(::java::lang::String *, jint);
+public: // actually package-private
+ static jlong x(jlong, jlong, jlong);
+public:
+ virtual jlong convert(jlong, ::java::util::concurrent::TimeUnit *);
+ virtual jlong toNanos(jlong);
+ virtual jlong toMicros(jlong);
+ virtual jlong toMillis(jlong);
+ virtual jlong toSeconds(jlong);
+ virtual jlong toMinutes(jlong);
+ virtual jlong toHours(jlong);
+ virtual jlong toDays(jlong);
+public: // actually package-private
+ virtual jint excessNanos(jlong, jlong) = 0;
+public:
+ virtual void timedWait(::java::lang::Object *, jlong);
+ virtual void timedJoin(::java::lang::Thread *, jlong);
+ virtual void sleep(jlong);
+ static JArray< ::java::util::concurrent::TimeUnit * > * values();
+ static ::java::util::concurrent::TimeUnit * valueOf(::java::lang::String *);
+public: // actually package-private
+ TimeUnit(::java::lang::String *, jint, ::java::util::concurrent::TimeUnit *);
+public:
+ static ::java::util::concurrent::TimeUnit * NANOSECONDS;
+ static ::java::util::concurrent::TimeUnit * MICROSECONDS;
+ static ::java::util::concurrent::TimeUnit * MILLISECONDS;
+ static ::java::util::concurrent::TimeUnit * SECONDS;
+ static ::java::util::concurrent::TimeUnit * MINUTES;
+ static ::java::util::concurrent::TimeUnit * HOURS;
+ static ::java::util::concurrent::TimeUnit * DAYS;
+public: // actually package-private
+ static const jlong C0 = 1LL;
+ static const jlong C1 = 1000LL;
+ static const jlong C2 = 1000000LL;
+ static const jlong C3 = 1000000000LL;
+ static const jlong C4 = 60000000000LL;
+ static const jlong C5 = 3600000000000LL;
+ static const jlong C6 = 86400000000000LL;
+ static const jlong MAX = 9223372036854775807LL;
+private:
+ static JArray< ::java::util::concurrent::TimeUnit * > * ENUM$VALUES;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_TimeUnit__
diff --git a/libjava/java/util/concurrent/TimeoutException.h b/libjava/java/util/concurrent/TimeoutException.h
new file mode 100644
index 0000000..6ce42b1
--- /dev/null
+++ b/libjava/java/util/concurrent/TimeoutException.h
@@ -0,0 +1,23 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_TimeoutException__
+#define __java_util_concurrent_TimeoutException__
+
+#pragma interface
+
+#include <java/lang/Exception.h>
+
+class java::util::concurrent::TimeoutException : public ::java::lang::Exception
+{
+
+public:
+ TimeoutException();
+ TimeoutException(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = 1900926677490660714LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_TimeoutException__
diff --git a/libjava/java/util/concurrent/atomic/AtomicBoolean.h b/libjava/java/util/concurrent/atomic/AtomicBoolean.h
new file mode 100644
index 0000000..08a6d59
--- /dev/null
+++ b/libjava/java/util/concurrent/atomic/AtomicBoolean.h
@@ -0,0 +1,43 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_atomic_AtomicBoolean__
+#define __java_util_concurrent_atomic_AtomicBoolean__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace sun
+ {
+ namespace misc
+ {
+ class Unsafe;
+ }
+ }
+}
+
+class java::util::concurrent::atomic::AtomicBoolean : public ::java::lang::Object
+{
+
+public:
+ AtomicBoolean(jboolean);
+ AtomicBoolean();
+ virtual jboolean get();
+ virtual jboolean compareAndSet(jboolean, jboolean);
+ virtual jboolean weakCompareAndSet(jboolean, jboolean);
+ virtual void set(jboolean);
+ virtual void lazySet(jboolean);
+ virtual jboolean getAndSet(jboolean);
+ virtual ::java::lang::String * toString();
+private:
+ static const jlong serialVersionUID = 4654671469794556979LL;
+ static ::sun::misc::Unsafe * unsafe;
+ static jlong valueOffset;
+ volatile jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) value;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_atomic_AtomicBoolean__
diff --git a/libjava/java/util/concurrent/atomic/AtomicInteger.h b/libjava/java/util/concurrent/atomic/AtomicInteger.h
new file mode 100644
index 0000000..286aff1
--- /dev/null
+++ b/libjava/java/util/concurrent/atomic/AtomicInteger.h
@@ -0,0 +1,53 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_atomic_AtomicInteger__
+#define __java_util_concurrent_atomic_AtomicInteger__
+
+#pragma interface
+
+#include <java/lang/Number.h>
+extern "Java"
+{
+ namespace sun
+ {
+ namespace misc
+ {
+ class Unsafe;
+ }
+ }
+}
+
+class java::util::concurrent::atomic::AtomicInteger : public ::java::lang::Number
+{
+
+public:
+ AtomicInteger(jint);
+ AtomicInteger();
+ virtual jint get();
+ virtual void set(jint);
+ virtual void lazySet(jint);
+ virtual jint getAndSet(jint);
+ virtual jboolean compareAndSet(jint, jint);
+ virtual jboolean weakCompareAndSet(jint, jint);
+ virtual jint getAndIncrement();
+ virtual jint getAndDecrement();
+ virtual jint getAndAdd(jint);
+ virtual jint incrementAndGet();
+ virtual jint decrementAndGet();
+ virtual jint addAndGet(jint);
+ virtual ::java::lang::String * toString();
+ virtual jint intValue();
+ virtual jlong longValue();
+ virtual jfloat floatValue();
+ virtual jdouble doubleValue();
+private:
+ static const jlong serialVersionUID = 6214790243416807050LL;
+ static ::sun::misc::Unsafe * unsafe;
+ static jlong valueOffset;
+ volatile jint __attribute__((aligned(__alignof__( ::java::lang::Number)))) value;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_atomic_AtomicInteger__
diff --git a/libjava/java/util/concurrent/atomic/AtomicIntegerArray.h b/libjava/java/util/concurrent/atomic/AtomicIntegerArray.h
new file mode 100644
index 0000000..f8db217
--- /dev/null
+++ b/libjava/java/util/concurrent/atomic/AtomicIntegerArray.h
@@ -0,0 +1,54 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_atomic_AtomicIntegerArray__
+#define __java_util_concurrent_atomic_AtomicIntegerArray__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace sun
+ {
+ namespace misc
+ {
+ class Unsafe;
+ }
+ }
+}
+
+class java::util::concurrent::atomic::AtomicIntegerArray : public ::java::lang::Object
+{
+
+ jlong rawIndex(jint);
+public:
+ AtomicIntegerArray(jint);
+ AtomicIntegerArray(JArray< jint > *);
+ virtual jint length();
+ virtual jint get(jint);
+ virtual void set(jint, jint);
+ virtual void lazySet(jint, jint);
+ virtual jint getAndSet(jint, jint);
+ virtual jboolean compareAndSet(jint, jint, jint);
+ virtual jboolean weakCompareAndSet(jint, jint, jint);
+ virtual jint getAndIncrement(jint);
+ virtual jint getAndDecrement(jint);
+ virtual jint getAndAdd(jint, jint);
+ virtual jint incrementAndGet(jint);
+ virtual jint decrementAndGet(jint);
+ virtual jint addAndGet(jint, jint);
+ virtual ::java::lang::String * toString();
+private:
+ static const jlong serialVersionUID = 2862133569453604235LL;
+ static ::sun::misc::Unsafe * unsafe;
+ static jint base;
+ static jint scale;
+ JArray< jint > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) array;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_atomic_AtomicIntegerArray__
diff --git a/libjava/java/util/concurrent/atomic/AtomicIntegerFieldUpdater$AtomicIntegerFieldUpdaterImpl.h b/libjava/java/util/concurrent/atomic/AtomicIntegerFieldUpdater$AtomicIntegerFieldUpdaterImpl.h
new file mode 100644
index 0000000..ba2b7a5
--- /dev/null
+++ b/libjava/java/util/concurrent/atomic/AtomicIntegerFieldUpdater$AtomicIntegerFieldUpdaterImpl.h
@@ -0,0 +1,44 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_atomic_AtomicIntegerFieldUpdater$AtomicIntegerFieldUpdaterImpl__
+#define __java_util_concurrent_atomic_AtomicIntegerFieldUpdater$AtomicIntegerFieldUpdaterImpl__
+
+#pragma interface
+
+#include <java/util/concurrent/atomic/AtomicIntegerFieldUpdater.h>
+extern "Java"
+{
+ namespace sun
+ {
+ namespace misc
+ {
+ class Unsafe;
+ }
+ }
+}
+
+class java::util::concurrent::atomic::AtomicIntegerFieldUpdater$AtomicIntegerFieldUpdaterImpl : public ::java::util::concurrent::atomic::AtomicIntegerFieldUpdater
+{
+
+public: // actually package-private
+ AtomicIntegerFieldUpdater$AtomicIntegerFieldUpdaterImpl(::java::lang::Class *, ::java::lang::String *);
+private:
+ void fullCheck(::java::lang::Object *);
+public:
+ virtual jboolean compareAndSet(::java::lang::Object *, jint, jint);
+ virtual jboolean weakCompareAndSet(::java::lang::Object *, jint, jint);
+ virtual void set(::java::lang::Object *, jint);
+ virtual void lazySet(::java::lang::Object *, jint);
+ virtual jint get(::java::lang::Object *);
+private:
+ void ensureProtectedAccess(::java::lang::Object *);
+ static ::sun::misc::Unsafe * unsafe;
+ jlong __attribute__((aligned(__alignof__( ::java::util::concurrent::atomic::AtomicIntegerFieldUpdater)))) offset;
+ ::java::lang::Class * tclass;
+ ::java::lang::Class * cclass;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_atomic_AtomicIntegerFieldUpdater$AtomicIntegerFieldUpdaterImpl__
diff --git a/libjava/java/util/concurrent/atomic/AtomicIntegerFieldUpdater.h b/libjava/java/util/concurrent/atomic/AtomicIntegerFieldUpdater.h
new file mode 100644
index 0000000..e720550
--- /dev/null
+++ b/libjava/java/util/concurrent/atomic/AtomicIntegerFieldUpdater.h
@@ -0,0 +1,34 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_atomic_AtomicIntegerFieldUpdater__
+#define __java_util_concurrent_atomic_AtomicIntegerFieldUpdater__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::concurrent::atomic::AtomicIntegerFieldUpdater : public ::java::lang::Object
+{
+
+public:
+ static ::java::util::concurrent::atomic::AtomicIntegerFieldUpdater * newUpdater(::java::lang::Class *, ::java::lang::String *);
+public: // actually protected
+ AtomicIntegerFieldUpdater();
+public:
+ virtual jboolean compareAndSet(::java::lang::Object *, jint, jint) = 0;
+ virtual jboolean weakCompareAndSet(::java::lang::Object *, jint, jint) = 0;
+ virtual void set(::java::lang::Object *, jint) = 0;
+ virtual void lazySet(::java::lang::Object *, jint) = 0;
+ virtual jint get(::java::lang::Object *) = 0;
+ virtual jint getAndSet(::java::lang::Object *, jint);
+ virtual jint getAndIncrement(::java::lang::Object *);
+ virtual jint getAndDecrement(::java::lang::Object *);
+ virtual jint getAndAdd(::java::lang::Object *, jint);
+ virtual jint incrementAndGet(::java::lang::Object *);
+ virtual jint decrementAndGet(::java::lang::Object *);
+ virtual jint addAndGet(::java::lang::Object *, jint);
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_atomic_AtomicIntegerFieldUpdater__
diff --git a/libjava/java/util/concurrent/atomic/AtomicLong.h b/libjava/java/util/concurrent/atomic/AtomicLong.h
new file mode 100644
index 0000000..c70a4e6
--- /dev/null
+++ b/libjava/java/util/concurrent/atomic/AtomicLong.h
@@ -0,0 +1,57 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_atomic_AtomicLong__
+#define __java_util_concurrent_atomic_AtomicLong__
+
+#pragma interface
+
+#include <java/lang/Number.h>
+extern "Java"
+{
+ namespace sun
+ {
+ namespace misc
+ {
+ class Unsafe;
+ }
+ }
+}
+
+class java::util::concurrent::atomic::AtomicLong : public ::java::lang::Number
+{
+
+ static jboolean VMSupportsCS8();
+public:
+ AtomicLong(jlong);
+ AtomicLong();
+ virtual jlong get();
+ virtual void set(jlong);
+ virtual void lazySet(jlong);
+ virtual jlong getAndSet(jlong);
+ virtual jboolean compareAndSet(jlong, jlong);
+ virtual jboolean weakCompareAndSet(jlong, jlong);
+ virtual jlong getAndIncrement();
+ virtual jlong getAndDecrement();
+ virtual jlong getAndAdd(jlong);
+ virtual jlong incrementAndGet();
+ virtual jlong decrementAndGet();
+ virtual jlong addAndGet(jlong);
+ virtual ::java::lang::String * toString();
+ virtual jint intValue();
+ virtual jlong longValue();
+ virtual jfloat floatValue();
+ virtual jdouble doubleValue();
+private:
+ static const jlong serialVersionUID = 1927816293512124184LL;
+ static ::sun::misc::Unsafe * unsafe;
+ static jlong valueOffset;
+public: // actually package-private
+ static jboolean VM_SUPPORTS_LONG_CAS;
+private:
+ volatile jlong __attribute__((aligned(__alignof__( ::java::lang::Number)))) value;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_atomic_AtomicLong__
diff --git a/libjava/java/util/concurrent/atomic/AtomicLongArray.h b/libjava/java/util/concurrent/atomic/AtomicLongArray.h
new file mode 100644
index 0000000..797c609
--- /dev/null
+++ b/libjava/java/util/concurrent/atomic/AtomicLongArray.h
@@ -0,0 +1,54 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_atomic_AtomicLongArray__
+#define __java_util_concurrent_atomic_AtomicLongArray__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace sun
+ {
+ namespace misc
+ {
+ class Unsafe;
+ }
+ }
+}
+
+class java::util::concurrent::atomic::AtomicLongArray : public ::java::lang::Object
+{
+
+ jlong rawIndex(jint);
+public:
+ AtomicLongArray(jint);
+ AtomicLongArray(JArray< jlong > *);
+ virtual jint length();
+ virtual jlong get(jint);
+ virtual void set(jint, jlong);
+ virtual void lazySet(jint, jlong);
+ virtual jlong getAndSet(jint, jlong);
+ virtual jboolean compareAndSet(jint, jlong, jlong);
+ virtual jboolean weakCompareAndSet(jint, jlong, jlong);
+ virtual jlong getAndIncrement(jint);
+ virtual jlong getAndDecrement(jint);
+ virtual jlong getAndAdd(jint, jlong);
+ virtual jlong incrementAndGet(jint);
+ virtual jlong decrementAndGet(jint);
+ virtual jlong addAndGet(jint, jlong);
+ virtual ::java::lang::String * toString();
+private:
+ static const jlong serialVersionUID = -2308431214976778248LL;
+ static ::sun::misc::Unsafe * unsafe;
+ static jint base;
+ static jint scale;
+ JArray< jlong > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) array;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_atomic_AtomicLongArray__
diff --git a/libjava/java/util/concurrent/atomic/AtomicLongFieldUpdater$CASUpdater.h b/libjava/java/util/concurrent/atomic/AtomicLongFieldUpdater$CASUpdater.h
new file mode 100644
index 0000000..465b533
--- /dev/null
+++ b/libjava/java/util/concurrent/atomic/AtomicLongFieldUpdater$CASUpdater.h
@@ -0,0 +1,44 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_atomic_AtomicLongFieldUpdater$CASUpdater__
+#define __java_util_concurrent_atomic_AtomicLongFieldUpdater$CASUpdater__
+
+#pragma interface
+
+#include <java/util/concurrent/atomic/AtomicLongFieldUpdater.h>
+extern "Java"
+{
+ namespace sun
+ {
+ namespace misc
+ {
+ class Unsafe;
+ }
+ }
+}
+
+class java::util::concurrent::atomic::AtomicLongFieldUpdater$CASUpdater : public ::java::util::concurrent::atomic::AtomicLongFieldUpdater
+{
+
+public: // actually package-private
+ AtomicLongFieldUpdater$CASUpdater(::java::lang::Class *, ::java::lang::String *);
+private:
+ void fullCheck(::java::lang::Object *);
+public:
+ virtual jboolean compareAndSet(::java::lang::Object *, jlong, jlong);
+ virtual jboolean weakCompareAndSet(::java::lang::Object *, jlong, jlong);
+ virtual void set(::java::lang::Object *, jlong);
+ virtual void lazySet(::java::lang::Object *, jlong);
+ virtual jlong get(::java::lang::Object *);
+private:
+ void ensureProtectedAccess(::java::lang::Object *);
+ static ::sun::misc::Unsafe * unsafe;
+ jlong __attribute__((aligned(__alignof__( ::java::util::concurrent::atomic::AtomicLongFieldUpdater)))) offset;
+ ::java::lang::Class * tclass;
+ ::java::lang::Class * cclass;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_atomic_AtomicLongFieldUpdater$CASUpdater__
diff --git a/libjava/java/util/concurrent/atomic/AtomicLongFieldUpdater$LockedUpdater.h b/libjava/java/util/concurrent/atomic/AtomicLongFieldUpdater$LockedUpdater.h
new file mode 100644
index 0000000..f13fb18
--- /dev/null
+++ b/libjava/java/util/concurrent/atomic/AtomicLongFieldUpdater$LockedUpdater.h
@@ -0,0 +1,44 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_atomic_AtomicLongFieldUpdater$LockedUpdater__
+#define __java_util_concurrent_atomic_AtomicLongFieldUpdater$LockedUpdater__
+
+#pragma interface
+
+#include <java/util/concurrent/atomic/AtomicLongFieldUpdater.h>
+extern "Java"
+{
+ namespace sun
+ {
+ namespace misc
+ {
+ class Unsafe;
+ }
+ }
+}
+
+class java::util::concurrent::atomic::AtomicLongFieldUpdater$LockedUpdater : public ::java::util::concurrent::atomic::AtomicLongFieldUpdater
+{
+
+public: // actually package-private
+ AtomicLongFieldUpdater$LockedUpdater(::java::lang::Class *, ::java::lang::String *);
+private:
+ void fullCheck(::java::lang::Object *);
+public:
+ virtual jboolean compareAndSet(::java::lang::Object *, jlong, jlong);
+ virtual jboolean weakCompareAndSet(::java::lang::Object *, jlong, jlong);
+ virtual void set(::java::lang::Object *, jlong);
+ virtual void lazySet(::java::lang::Object *, jlong);
+ virtual jlong get(::java::lang::Object *);
+private:
+ void ensureProtectedAccess(::java::lang::Object *);
+ static ::sun::misc::Unsafe * unsafe;
+ jlong __attribute__((aligned(__alignof__( ::java::util::concurrent::atomic::AtomicLongFieldUpdater)))) offset;
+ ::java::lang::Class * tclass;
+ ::java::lang::Class * cclass;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_atomic_AtomicLongFieldUpdater$LockedUpdater__
diff --git a/libjava/java/util/concurrent/atomic/AtomicLongFieldUpdater.h b/libjava/java/util/concurrent/atomic/AtomicLongFieldUpdater.h
new file mode 100644
index 0000000..4fb8137
--- /dev/null
+++ b/libjava/java/util/concurrent/atomic/AtomicLongFieldUpdater.h
@@ -0,0 +1,34 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_atomic_AtomicLongFieldUpdater__
+#define __java_util_concurrent_atomic_AtomicLongFieldUpdater__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::concurrent::atomic::AtomicLongFieldUpdater : public ::java::lang::Object
+{
+
+public:
+ static ::java::util::concurrent::atomic::AtomicLongFieldUpdater * newUpdater(::java::lang::Class *, ::java::lang::String *);
+public: // actually protected
+ AtomicLongFieldUpdater();
+public:
+ virtual jboolean compareAndSet(::java::lang::Object *, jlong, jlong) = 0;
+ virtual jboolean weakCompareAndSet(::java::lang::Object *, jlong, jlong) = 0;
+ virtual void set(::java::lang::Object *, jlong) = 0;
+ virtual void lazySet(::java::lang::Object *, jlong) = 0;
+ virtual jlong get(::java::lang::Object *) = 0;
+ virtual jlong getAndSet(::java::lang::Object *, jlong);
+ virtual jlong getAndIncrement(::java::lang::Object *);
+ virtual jlong getAndDecrement(::java::lang::Object *);
+ virtual jlong getAndAdd(::java::lang::Object *, jlong);
+ virtual jlong incrementAndGet(::java::lang::Object *);
+ virtual jlong decrementAndGet(::java::lang::Object *);
+ virtual jlong addAndGet(::java::lang::Object *, jlong);
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_atomic_AtomicLongFieldUpdater__
diff --git a/libjava/java/util/concurrent/atomic/AtomicMarkableReference$ReferenceBooleanPair.h b/libjava/java/util/concurrent/atomic/AtomicMarkableReference$ReferenceBooleanPair.h
new file mode 100644
index 0000000..499b73b
--- /dev/null
+++ b/libjava/java/util/concurrent/atomic/AtomicMarkableReference$ReferenceBooleanPair.h
@@ -0,0 +1,25 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_atomic_AtomicMarkableReference$ReferenceBooleanPair__
+#define __java_util_concurrent_atomic_AtomicMarkableReference$ReferenceBooleanPair__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::concurrent::atomic::AtomicMarkableReference$ReferenceBooleanPair : public ::java::lang::Object
+{
+
+public: // actually package-private
+ AtomicMarkableReference$ReferenceBooleanPair(::java::lang::Object *, jboolean);
+ static ::java::lang::Object * access$0(::java::util::concurrent::atomic::AtomicMarkableReference$ReferenceBooleanPair *);
+ static jboolean access$1(::java::util::concurrent::atomic::AtomicMarkableReference$ReferenceBooleanPair *);
+private:
+ ::java::lang::Object * __attribute__((aligned(__alignof__( ::java::lang::Object)))) reference;
+ jboolean bit;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_atomic_AtomicMarkableReference$ReferenceBooleanPair__
diff --git a/libjava/java/util/concurrent/atomic/AtomicMarkableReference.h b/libjava/java/util/concurrent/atomic/AtomicMarkableReference.h
new file mode 100644
index 0000000..fe97809
--- /dev/null
+++ b/libjava/java/util/concurrent/atomic/AtomicMarkableReference.h
@@ -0,0 +1,31 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_atomic_AtomicMarkableReference__
+#define __java_util_concurrent_atomic_AtomicMarkableReference__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+
+class java::util::concurrent::atomic::AtomicMarkableReference : public ::java::lang::Object
+{
+
+public:
+ AtomicMarkableReference(::java::lang::Object *, jboolean);
+ virtual ::java::lang::Object * getReference();
+ virtual jboolean isMarked();
+ virtual ::java::lang::Object * get(JArray< jboolean > *);
+ virtual jboolean weakCompareAndSet(::java::lang::Object *, ::java::lang::Object *, jboolean, jboolean);
+ virtual jboolean compareAndSet(::java::lang::Object *, ::java::lang::Object *, jboolean, jboolean);
+ virtual void set(::java::lang::Object *, jboolean);
+ virtual jboolean attemptMark(::java::lang::Object *, jboolean);
+private:
+ ::java::util::concurrent::atomic::AtomicReference * __attribute__((aligned(__alignof__( ::java::lang::Object)))) atomicRef;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_atomic_AtomicMarkableReference__
diff --git a/libjava/java/util/concurrent/atomic/AtomicReference.h b/libjava/java/util/concurrent/atomic/AtomicReference.h
new file mode 100644
index 0000000..e8862e8
--- /dev/null
+++ b/libjava/java/util/concurrent/atomic/AtomicReference.h
@@ -0,0 +1,43 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_atomic_AtomicReference__
+#define __java_util_concurrent_atomic_AtomicReference__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace sun
+ {
+ namespace misc
+ {
+ class Unsafe;
+ }
+ }
+}
+
+class java::util::concurrent::atomic::AtomicReference : public ::java::lang::Object
+{
+
+public:
+ AtomicReference(::java::lang::Object *);
+ AtomicReference();
+ virtual ::java::lang::Object * get();
+ virtual void set(::java::lang::Object *);
+ virtual void lazySet(::java::lang::Object *);
+ virtual jboolean compareAndSet(::java::lang::Object *, ::java::lang::Object *);
+ virtual jboolean weakCompareAndSet(::java::lang::Object *, ::java::lang::Object *);
+ virtual ::java::lang::Object * getAndSet(::java::lang::Object *);
+ virtual ::java::lang::String * toString();
+private:
+ static const jlong serialVersionUID = -1848883965231344442LL;
+ static ::sun::misc::Unsafe * unsafe;
+ static jlong valueOffset;
+ volatile ::java::lang::Object * __attribute__((aligned(__alignof__( ::java::lang::Object)))) value;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_atomic_AtomicReference__
diff --git a/libjava/java/util/concurrent/atomic/AtomicReferenceArray.h b/libjava/java/util/concurrent/atomic/AtomicReferenceArray.h
new file mode 100644
index 0000000..4715f0c
--- /dev/null
+++ b/libjava/java/util/concurrent/atomic/AtomicReferenceArray.h
@@ -0,0 +1,48 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_atomic_AtomicReferenceArray__
+#define __java_util_concurrent_atomic_AtomicReferenceArray__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace sun
+ {
+ namespace misc
+ {
+ class Unsafe;
+ }
+ }
+}
+
+class java::util::concurrent::atomic::AtomicReferenceArray : public ::java::lang::Object
+{
+
+ jlong rawIndex(jint);
+public:
+ AtomicReferenceArray(jint);
+ AtomicReferenceArray(JArray< ::java::lang::Object * > *);
+ virtual jint length();
+ virtual ::java::lang::Object * get(jint);
+ virtual void set(jint, ::java::lang::Object *);
+ virtual void lazySet(jint, ::java::lang::Object *);
+ virtual ::java::lang::Object * getAndSet(jint, ::java::lang::Object *);
+ virtual jboolean compareAndSet(jint, ::java::lang::Object *, ::java::lang::Object *);
+ virtual jboolean weakCompareAndSet(jint, ::java::lang::Object *, ::java::lang::Object *);
+ virtual ::java::lang::String * toString();
+private:
+ static const jlong serialVersionUID = -6209656149925076980LL;
+ static ::sun::misc::Unsafe * unsafe;
+ static jint base;
+ static jint scale;
+ JArray< ::java::lang::Object * > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) array;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_atomic_AtomicReferenceArray__
diff --git a/libjava/java/util/concurrent/atomic/AtomicReferenceFieldUpdater$AtomicReferenceFieldUpdaterImpl.h b/libjava/java/util/concurrent/atomic/AtomicReferenceFieldUpdater$AtomicReferenceFieldUpdaterImpl.h
new file mode 100644
index 0000000..e74a450
--- /dev/null
+++ b/libjava/java/util/concurrent/atomic/AtomicReferenceFieldUpdater$AtomicReferenceFieldUpdaterImpl.h
@@ -0,0 +1,45 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_atomic_AtomicReferenceFieldUpdater$AtomicReferenceFieldUpdaterImpl__
+#define __java_util_concurrent_atomic_AtomicReferenceFieldUpdater$AtomicReferenceFieldUpdaterImpl__
+
+#pragma interface
+
+#include <java/util/concurrent/atomic/AtomicReferenceFieldUpdater.h>
+extern "Java"
+{
+ namespace sun
+ {
+ namespace misc
+ {
+ class Unsafe;
+ }
+ }
+}
+
+class java::util::concurrent::atomic::AtomicReferenceFieldUpdater$AtomicReferenceFieldUpdaterImpl : public ::java::util::concurrent::atomic::AtomicReferenceFieldUpdater
+{
+
+public: // actually package-private
+ AtomicReferenceFieldUpdater$AtomicReferenceFieldUpdaterImpl(::java::lang::Class *, ::java::lang::Class *, ::java::lang::String *);
+ void targetCheck(::java::lang::Object *);
+ void updateCheck(::java::lang::Object *, ::java::lang::Object *);
+public:
+ jboolean compareAndSet(::java::lang::Object *, ::java::lang::Object *, ::java::lang::Object *);
+ jboolean weakCompareAndSet(::java::lang::Object *, ::java::lang::Object *, ::java::lang::Object *);
+ void set(::java::lang::Object *, ::java::lang::Object *);
+ void lazySet(::java::lang::Object *, ::java::lang::Object *);
+ ::java::lang::Object * get(::java::lang::Object *);
+private:
+ void ensureProtectedAccess(::java::lang::Object *);
+ static ::sun::misc::Unsafe * unsafe;
+ jlong __attribute__((aligned(__alignof__( ::java::util::concurrent::atomic::AtomicReferenceFieldUpdater)))) offset;
+ ::java::lang::Class * tclass;
+ ::java::lang::Class * vclass;
+ ::java::lang::Class * cclass;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_atomic_AtomicReferenceFieldUpdater$AtomicReferenceFieldUpdaterImpl__
diff --git a/libjava/java/util/concurrent/atomic/AtomicReferenceFieldUpdater.h b/libjava/java/util/concurrent/atomic/AtomicReferenceFieldUpdater.h
new file mode 100644
index 0000000..d7e91e9
--- /dev/null
+++ b/libjava/java/util/concurrent/atomic/AtomicReferenceFieldUpdater.h
@@ -0,0 +1,28 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_atomic_AtomicReferenceFieldUpdater__
+#define __java_util_concurrent_atomic_AtomicReferenceFieldUpdater__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::concurrent::atomic::AtomicReferenceFieldUpdater : public ::java::lang::Object
+{
+
+public:
+ static ::java::util::concurrent::atomic::AtomicReferenceFieldUpdater * newUpdater(::java::lang::Class *, ::java::lang::Class *, ::java::lang::String *);
+public: // actually protected
+ AtomicReferenceFieldUpdater();
+public:
+ virtual jboolean compareAndSet(::java::lang::Object *, ::java::lang::Object *, ::java::lang::Object *) = 0;
+ virtual jboolean weakCompareAndSet(::java::lang::Object *, ::java::lang::Object *, ::java::lang::Object *) = 0;
+ virtual void set(::java::lang::Object *, ::java::lang::Object *) = 0;
+ virtual void lazySet(::java::lang::Object *, ::java::lang::Object *) = 0;
+ virtual ::java::lang::Object * get(::java::lang::Object *) = 0;
+ virtual ::java::lang::Object * getAndSet(::java::lang::Object *, ::java::lang::Object *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_atomic_AtomicReferenceFieldUpdater__
diff --git a/libjava/java/util/concurrent/atomic/AtomicStampedReference$ReferenceIntegerPair.h b/libjava/java/util/concurrent/atomic/AtomicStampedReference$ReferenceIntegerPair.h
new file mode 100644
index 0000000..d76e45b
--- /dev/null
+++ b/libjava/java/util/concurrent/atomic/AtomicStampedReference$ReferenceIntegerPair.h
@@ -0,0 +1,25 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_atomic_AtomicStampedReference$ReferenceIntegerPair__
+#define __java_util_concurrent_atomic_AtomicStampedReference$ReferenceIntegerPair__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::concurrent::atomic::AtomicStampedReference$ReferenceIntegerPair : public ::java::lang::Object
+{
+
+public: // actually package-private
+ AtomicStampedReference$ReferenceIntegerPair(::java::lang::Object *, jint);
+ static ::java::lang::Object * access$0(::java::util::concurrent::atomic::AtomicStampedReference$ReferenceIntegerPair *);
+ static jint access$1(::java::util::concurrent::atomic::AtomicStampedReference$ReferenceIntegerPair *);
+private:
+ ::java::lang::Object * __attribute__((aligned(__alignof__( ::java::lang::Object)))) reference;
+ jint integer;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_atomic_AtomicStampedReference$ReferenceIntegerPair__
diff --git a/libjava/java/util/concurrent/atomic/AtomicStampedReference.h b/libjava/java/util/concurrent/atomic/AtomicStampedReference.h
new file mode 100644
index 0000000..8e11692
--- /dev/null
+++ b/libjava/java/util/concurrent/atomic/AtomicStampedReference.h
@@ -0,0 +1,31 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_atomic_AtomicStampedReference__
+#define __java_util_concurrent_atomic_AtomicStampedReference__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+
+class java::util::concurrent::atomic::AtomicStampedReference : public ::java::lang::Object
+{
+
+public:
+ AtomicStampedReference(::java::lang::Object *, jint);
+ virtual ::java::lang::Object * getReference();
+ virtual jint getStamp();
+ virtual ::java::lang::Object * get(JArray< jint > *);
+ virtual jboolean weakCompareAndSet(::java::lang::Object *, ::java::lang::Object *, jint, jint);
+ virtual jboolean compareAndSet(::java::lang::Object *, ::java::lang::Object *, jint, jint);
+ virtual void set(::java::lang::Object *, jint);
+ virtual jboolean attemptStamp(::java::lang::Object *, jint);
+private:
+ ::java::util::concurrent::atomic::AtomicReference * __attribute__((aligned(__alignof__( ::java::lang::Object)))) atomicRef;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_atomic_AtomicStampedReference__
diff --git a/libjava/java/util/concurrent/atomic/natAtomicLong.cc b/libjava/java/util/concurrent/atomic/natAtomicLong.cc
new file mode 100644
index 0000000..3f78c8a
--- /dev/null
+++ b/libjava/java/util/concurrent/atomic/natAtomicLong.cc
@@ -0,0 +1,12 @@
+#include <config.h>
+
+#include <java/util/concurrent/atomic/AtomicLong.h>
+#include <gcj/cni.h>
+#include <java/lang/UnsupportedOperationException.h>
+
+jboolean
+java::util::concurrent::atomic::AtomicLong::VMSupportsCS8 ()
+{
+ // FIXME
+ return false;
+}
diff --git a/libjava/java/util/concurrent/locks/AbstractOwnableSynchronizer.h b/libjava/java/util/concurrent/locks/AbstractOwnableSynchronizer.h
new file mode 100644
index 0000000..8a14257
--- /dev/null
+++ b/libjava/java/util/concurrent/locks/AbstractOwnableSynchronizer.h
@@ -0,0 +1,25 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_locks_AbstractOwnableSynchronizer__
+#define __java_util_concurrent_locks_AbstractOwnableSynchronizer__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::concurrent::locks::AbstractOwnableSynchronizer : public ::java::lang::Object
+{
+
+public: // actually protected
+ AbstractOwnableSynchronizer();
+ virtual void setExclusiveOwnerThread(::java::lang::Thread *);
+ virtual ::java::lang::Thread * getExclusiveOwnerThread();
+private:
+ static const jlong serialVersionUID = 3737899427754241961LL;
+ ::java::lang::Thread * __attribute__((aligned(__alignof__( ::java::lang::Object)))) exclusiveOwnerThread;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_locks_AbstractOwnableSynchronizer__
diff --git a/libjava/java/util/concurrent/locks/AbstractQueuedLongSynchronizer$ConditionObject.h b/libjava/java/util/concurrent/locks/AbstractQueuedLongSynchronizer$ConditionObject.h
new file mode 100644
index 0000000..123ab81
--- /dev/null
+++ b/libjava/java/util/concurrent/locks/AbstractQueuedLongSynchronizer$ConditionObject.h
@@ -0,0 +1,52 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_locks_AbstractQueuedLongSynchronizer$ConditionObject__
+#define __java_util_concurrent_locks_AbstractQueuedLongSynchronizer$ConditionObject__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::concurrent::locks::AbstractQueuedLongSynchronizer$ConditionObject : public ::java::lang::Object
+{
+
+public:
+ AbstractQueuedLongSynchronizer$ConditionObject(::java::util::concurrent::locks::AbstractQueuedLongSynchronizer *);
+private:
+ ::java::util::concurrent::locks::AbstractQueuedLongSynchronizer$Node * addConditionWaiter();
+ void doSignal(::java::util::concurrent::locks::AbstractQueuedLongSynchronizer$Node *);
+ void doSignalAll(::java::util::concurrent::locks::AbstractQueuedLongSynchronizer$Node *);
+ jboolean isOnConditionQueue(::java::util::concurrent::locks::AbstractQueuedLongSynchronizer$Node *);
+ void unlinkCancelledWaiter(::java::util::concurrent::locks::AbstractQueuedLongSynchronizer$Node *);
+public:
+ virtual void signal();
+ virtual void signalAll();
+ virtual void awaitUninterruptibly();
+private:
+ jint checkInterruptWhileWaiting(::java::util::concurrent::locks::AbstractQueuedLongSynchronizer$Node *);
+ void reportInterruptAfterWait(jint);
+public:
+ virtual void await();
+ virtual jlong awaitNanos(jlong);
+ virtual jboolean awaitUntil(::java::util::Date *);
+ virtual jboolean await(jlong, ::java::util::concurrent::TimeUnit *);
+public: // actually package-private
+ virtual jboolean isOwnedBy(::java::util::concurrent::locks::AbstractQueuedLongSynchronizer *);
+public: // actually protected
+ virtual jboolean hasWaiters();
+ virtual jint getWaitQueueLength();
+ virtual ::java::util::Collection * getWaitingThreads();
+private:
+ static const jlong serialVersionUID = 1173984872572414699LL;
+ ::java::util::concurrent::locks::AbstractQueuedLongSynchronizer$Node * __attribute__((aligned(__alignof__( ::java::lang::Object)))) firstWaiter;
+ ::java::util::concurrent::locks::AbstractQueuedLongSynchronizer$Node * lastWaiter;
+ static const jint REINTERRUPT = 1;
+ static const jint THROW_IE = -1;
+public: // actually package-private
+ ::java::util::concurrent::locks::AbstractQueuedLongSynchronizer * this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_locks_AbstractQueuedLongSynchronizer$ConditionObject__
diff --git a/libjava/java/util/concurrent/locks/AbstractQueuedLongSynchronizer$Node.h b/libjava/java/util/concurrent/locks/AbstractQueuedLongSynchronizer$Node.h
new file mode 100644
index 0000000..423f2a0
--- /dev/null
+++ b/libjava/java/util/concurrent/locks/AbstractQueuedLongSynchronizer$Node.h
@@ -0,0 +1,34 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_locks_AbstractQueuedLongSynchronizer$Node__
+#define __java_util_concurrent_locks_AbstractQueuedLongSynchronizer$Node__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::concurrent::locks::AbstractQueuedLongSynchronizer$Node : public ::java::lang::Object
+{
+
+public: // actually package-private
+ jboolean isShared();
+ ::java::util::concurrent::locks::AbstractQueuedLongSynchronizer$Node * predecessor();
+ AbstractQueuedLongSynchronizer$Node();
+ AbstractQueuedLongSynchronizer$Node(::java::lang::Thread *, ::java::util::concurrent::locks::AbstractQueuedLongSynchronizer$Node *);
+ AbstractQueuedLongSynchronizer$Node(::java::lang::Thread *, jint);
+ static const jint CANCELLED = 1;
+ static const jint SIGNAL = -1;
+ static const jint CONDITION = -2;
+ static ::java::util::concurrent::locks::AbstractQueuedLongSynchronizer$Node * SHARED;
+ static ::java::util::concurrent::locks::AbstractQueuedLongSynchronizer$Node * EXCLUSIVE;
+ volatile jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) waitStatus;
+ volatile ::java::util::concurrent::locks::AbstractQueuedLongSynchronizer$Node * prev;
+ volatile ::java::util::concurrent::locks::AbstractQueuedLongSynchronizer$Node * next;
+ volatile ::java::lang::Thread * thread;
+ ::java::util::concurrent::locks::AbstractQueuedLongSynchronizer$Node * nextWaiter;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_locks_AbstractQueuedLongSynchronizer$Node__
diff --git a/libjava/java/util/concurrent/locks/AbstractQueuedLongSynchronizer.h b/libjava/java/util/concurrent/locks/AbstractQueuedLongSynchronizer.h
new file mode 100644
index 0000000..1e95c3d3
--- /dev/null
+++ b/libjava/java/util/concurrent/locks/AbstractQueuedLongSynchronizer.h
@@ -0,0 +1,115 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_locks_AbstractQueuedLongSynchronizer__
+#define __java_util_concurrent_locks_AbstractQueuedLongSynchronizer__
+
+#pragma interface
+
+#include <java/util/concurrent/locks/AbstractOwnableSynchronizer.h>
+extern "Java"
+{
+ namespace sun
+ {
+ namespace misc
+ {
+ class Unsafe;
+ }
+ }
+}
+
+class java::util::concurrent::locks::AbstractQueuedLongSynchronizer : public ::java::util::concurrent::locks::AbstractOwnableSynchronizer
+{
+
+public: // actually protected
+ AbstractQueuedLongSynchronizer();
+ virtual jlong getState();
+ virtual void setState(jlong);
+ virtual jboolean compareAndSetState(jlong, jlong);
+private:
+ ::java::util::concurrent::locks::AbstractQueuedLongSynchronizer$Node * enq(::java::util::concurrent::locks::AbstractQueuedLongSynchronizer$Node *);
+ ::java::util::concurrent::locks::AbstractQueuedLongSynchronizer$Node * addWaiter(::java::util::concurrent::locks::AbstractQueuedLongSynchronizer$Node *);
+ void setHead(::java::util::concurrent::locks::AbstractQueuedLongSynchronizer$Node *);
+ void unparkSuccessor(::java::util::concurrent::locks::AbstractQueuedLongSynchronizer$Node *);
+ void setHeadAndPropagate(::java::util::concurrent::locks::AbstractQueuedLongSynchronizer$Node *, jlong);
+ void cancelAcquire(::java::util::concurrent::locks::AbstractQueuedLongSynchronizer$Node *);
+ static jboolean shouldParkAfterFailedAcquire(::java::util::concurrent::locks::AbstractQueuedLongSynchronizer$Node *, ::java::util::concurrent::locks::AbstractQueuedLongSynchronizer$Node *);
+ static void selfInterrupt();
+ jboolean parkAndCheckInterrupt();
+public: // actually package-private
+ virtual jboolean acquireQueued(::java::util::concurrent::locks::AbstractQueuedLongSynchronizer$Node *, jlong);
+private:
+ void doAcquireInterruptibly(jlong);
+ jboolean doAcquireNanos(jlong, jlong);
+ void doAcquireShared(jlong);
+ void doAcquireSharedInterruptibly(jlong);
+ jboolean doAcquireSharedNanos(jlong, jlong);
+public: // actually protected
+ virtual jboolean tryAcquire(jlong);
+ virtual jboolean tryRelease(jlong);
+ virtual jlong tryAcquireShared(jlong);
+ virtual jboolean tryReleaseShared(jlong);
+ virtual jboolean isHeldExclusively();
+public:
+ virtual void acquire(jlong);
+ virtual void acquireInterruptibly(jlong);
+ virtual jboolean tryAcquireNanos(jlong, jlong);
+ virtual jboolean release(jlong);
+ virtual void acquireShared(jlong);
+ virtual void acquireSharedInterruptibly(jlong);
+ virtual jboolean tryAcquireSharedNanos(jlong, jlong);
+ virtual jboolean releaseShared(jlong);
+ virtual jboolean hasQueuedThreads();
+ virtual jboolean hasContended();
+ virtual ::java::lang::Thread * getFirstQueuedThread();
+private:
+ ::java::lang::Thread * fullGetFirstQueuedThread();
+public:
+ virtual jboolean isQueued(::java::lang::Thread *);
+public: // actually package-private
+ virtual jboolean apparentlyFirstQueuedIsExclusive();
+ virtual jboolean isFirst(::java::lang::Thread *);
+ virtual jboolean fullIsFirst(::java::lang::Thread *);
+public:
+ virtual jint getQueueLength();
+ virtual ::java::util::Collection * getQueuedThreads();
+ virtual ::java::util::Collection * getExclusiveQueuedThreads();
+ virtual ::java::util::Collection * getSharedQueuedThreads();
+ virtual ::java::lang::String * toString();
+public: // actually package-private
+ virtual jboolean isOnSyncQueue(::java::util::concurrent::locks::AbstractQueuedLongSynchronizer$Node *);
+private:
+ jboolean findNodeFromTail(::java::util::concurrent::locks::AbstractQueuedLongSynchronizer$Node *);
+public: // actually package-private
+ virtual jboolean transferForSignal(::java::util::concurrent::locks::AbstractQueuedLongSynchronizer$Node *);
+ virtual jboolean transferAfterCancelledWait(::java::util::concurrent::locks::AbstractQueuedLongSynchronizer$Node *);
+ virtual jlong fullyRelease(::java::util::concurrent::locks::AbstractQueuedLongSynchronizer$Node *);
+public:
+ virtual jboolean owns(::java::util::concurrent::locks::AbstractQueuedLongSynchronizer$ConditionObject *);
+ virtual jboolean hasWaiters(::java::util::concurrent::locks::AbstractQueuedLongSynchronizer$ConditionObject *);
+ virtual jint getWaitQueueLength(::java::util::concurrent::locks::AbstractQueuedLongSynchronizer$ConditionObject *);
+ virtual ::java::util::Collection * getWaitingThreads(::java::util::concurrent::locks::AbstractQueuedLongSynchronizer$ConditionObject *);
+private:
+ jboolean compareAndSetHead(::java::util::concurrent::locks::AbstractQueuedLongSynchronizer$Node *);
+ jboolean compareAndSetTail(::java::util::concurrent::locks::AbstractQueuedLongSynchronizer$Node *, ::java::util::concurrent::locks::AbstractQueuedLongSynchronizer$Node *);
+ static jboolean compareAndSetWaitStatus(::java::util::concurrent::locks::AbstractQueuedLongSynchronizer$Node *, jint, jint);
+public: // actually package-private
+ static void access$0();
+private:
+ static const jlong serialVersionUID = 7373984972572414692LL;
+ volatile ::java::util::concurrent::locks::AbstractQueuedLongSynchronizer$Node * __attribute__((aligned(__alignof__( ::java::util::concurrent::locks::AbstractOwnableSynchronizer)))) head;
+ volatile ::java::util::concurrent::locks::AbstractQueuedLongSynchronizer$Node * tail;
+ volatile jlong state;
+public: // actually package-private
+ static const jlong spinForTimeoutThreshold = 1000LL;
+private:
+ static ::sun::misc::Unsafe * unsafe;
+ static jlong stateOffset;
+ static jlong headOffset;
+ static jlong tailOffset;
+ static jlong waitStatusOffset;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_locks_AbstractQueuedLongSynchronizer__
diff --git a/libjava/java/util/concurrent/locks/AbstractQueuedSynchronizer$ConditionObject.h b/libjava/java/util/concurrent/locks/AbstractQueuedSynchronizer$ConditionObject.h
new file mode 100644
index 0000000..67ca64f
--- /dev/null
+++ b/libjava/java/util/concurrent/locks/AbstractQueuedSynchronizer$ConditionObject.h
@@ -0,0 +1,52 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_locks_AbstractQueuedSynchronizer$ConditionObject__
+#define __java_util_concurrent_locks_AbstractQueuedSynchronizer$ConditionObject__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::concurrent::locks::AbstractQueuedSynchronizer$ConditionObject : public ::java::lang::Object
+{
+
+public:
+ AbstractQueuedSynchronizer$ConditionObject(::java::util::concurrent::locks::AbstractQueuedSynchronizer *);
+private:
+ ::java::util::concurrent::locks::AbstractQueuedSynchronizer$Node * addConditionWaiter();
+ void doSignal(::java::util::concurrent::locks::AbstractQueuedSynchronizer$Node *);
+ void doSignalAll(::java::util::concurrent::locks::AbstractQueuedSynchronizer$Node *);
+ jboolean isOnConditionQueue(::java::util::concurrent::locks::AbstractQueuedSynchronizer$Node *);
+ void unlinkCancelledWaiter(::java::util::concurrent::locks::AbstractQueuedSynchronizer$Node *);
+public:
+ virtual void signal();
+ virtual void signalAll();
+ virtual void awaitUninterruptibly();
+private:
+ jint checkInterruptWhileWaiting(::java::util::concurrent::locks::AbstractQueuedSynchronizer$Node *);
+ void reportInterruptAfterWait(jint);
+public:
+ virtual void await();
+ virtual jlong awaitNanos(jlong);
+ virtual jboolean awaitUntil(::java::util::Date *);
+ virtual jboolean await(jlong, ::java::util::concurrent::TimeUnit *);
+public: // actually package-private
+ virtual jboolean isOwnedBy(::java::util::concurrent::locks::AbstractQueuedSynchronizer *);
+public: // actually protected
+ virtual jboolean hasWaiters();
+ virtual jint getWaitQueueLength();
+ virtual ::java::util::Collection * getWaitingThreads();
+private:
+ static const jlong serialVersionUID = 1173984872572414699LL;
+ ::java::util::concurrent::locks::AbstractQueuedSynchronizer$Node * __attribute__((aligned(__alignof__( ::java::lang::Object)))) firstWaiter;
+ ::java::util::concurrent::locks::AbstractQueuedSynchronizer$Node * lastWaiter;
+ static const jint REINTERRUPT = 1;
+ static const jint THROW_IE = -1;
+public: // actually package-private
+ ::java::util::concurrent::locks::AbstractQueuedSynchronizer * this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_locks_AbstractQueuedSynchronizer$ConditionObject__
diff --git a/libjava/java/util/concurrent/locks/AbstractQueuedSynchronizer$Node.h b/libjava/java/util/concurrent/locks/AbstractQueuedSynchronizer$Node.h
new file mode 100644
index 0000000..0abbb8f
--- /dev/null
+++ b/libjava/java/util/concurrent/locks/AbstractQueuedSynchronizer$Node.h
@@ -0,0 +1,34 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_locks_AbstractQueuedSynchronizer$Node__
+#define __java_util_concurrent_locks_AbstractQueuedSynchronizer$Node__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::concurrent::locks::AbstractQueuedSynchronizer$Node : public ::java::lang::Object
+{
+
+public: // actually package-private
+ jboolean isShared();
+ ::java::util::concurrent::locks::AbstractQueuedSynchronizer$Node * predecessor();
+ AbstractQueuedSynchronizer$Node();
+ AbstractQueuedSynchronizer$Node(::java::lang::Thread *, ::java::util::concurrent::locks::AbstractQueuedSynchronizer$Node *);
+ AbstractQueuedSynchronizer$Node(::java::lang::Thread *, jint);
+ static const jint CANCELLED = 1;
+ static const jint SIGNAL = -1;
+ static const jint CONDITION = -2;
+ static ::java::util::concurrent::locks::AbstractQueuedSynchronizer$Node * SHARED;
+ static ::java::util::concurrent::locks::AbstractQueuedSynchronizer$Node * EXCLUSIVE;
+ volatile jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) waitStatus;
+ volatile ::java::util::concurrent::locks::AbstractQueuedSynchronizer$Node * prev;
+ volatile ::java::util::concurrent::locks::AbstractQueuedSynchronizer$Node * next;
+ volatile ::java::lang::Thread * thread;
+ ::java::util::concurrent::locks::AbstractQueuedSynchronizer$Node * nextWaiter;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_locks_AbstractQueuedSynchronizer$Node__
diff --git a/libjava/java/util/concurrent/locks/AbstractQueuedSynchronizer.h b/libjava/java/util/concurrent/locks/AbstractQueuedSynchronizer.h
new file mode 100644
index 0000000..fc2b9df
--- /dev/null
+++ b/libjava/java/util/concurrent/locks/AbstractQueuedSynchronizer.h
@@ -0,0 +1,115 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_locks_AbstractQueuedSynchronizer__
+#define __java_util_concurrent_locks_AbstractQueuedSynchronizer__
+
+#pragma interface
+
+#include <java/util/concurrent/locks/AbstractOwnableSynchronizer.h>
+extern "Java"
+{
+ namespace sun
+ {
+ namespace misc
+ {
+ class Unsafe;
+ }
+ }
+}
+
+class java::util::concurrent::locks::AbstractQueuedSynchronizer : public ::java::util::concurrent::locks::AbstractOwnableSynchronizer
+{
+
+public: // actually protected
+ AbstractQueuedSynchronizer();
+ virtual jint getState();
+ virtual void setState(jint);
+ virtual jboolean compareAndSetState(jint, jint);
+private:
+ ::java::util::concurrent::locks::AbstractQueuedSynchronizer$Node * enq(::java::util::concurrent::locks::AbstractQueuedSynchronizer$Node *);
+ ::java::util::concurrent::locks::AbstractQueuedSynchronizer$Node * addWaiter(::java::util::concurrent::locks::AbstractQueuedSynchronizer$Node *);
+ void setHead(::java::util::concurrent::locks::AbstractQueuedSynchronizer$Node *);
+ void unparkSuccessor(::java::util::concurrent::locks::AbstractQueuedSynchronizer$Node *);
+ void setHeadAndPropagate(::java::util::concurrent::locks::AbstractQueuedSynchronizer$Node *, jint);
+ void cancelAcquire(::java::util::concurrent::locks::AbstractQueuedSynchronizer$Node *);
+ static jboolean shouldParkAfterFailedAcquire(::java::util::concurrent::locks::AbstractQueuedSynchronizer$Node *, ::java::util::concurrent::locks::AbstractQueuedSynchronizer$Node *);
+ static void selfInterrupt();
+ jboolean parkAndCheckInterrupt();
+public: // actually package-private
+ virtual jboolean acquireQueued(::java::util::concurrent::locks::AbstractQueuedSynchronizer$Node *, jint);
+private:
+ void doAcquireInterruptibly(jint);
+ jboolean doAcquireNanos(jint, jlong);
+ void doAcquireShared(jint);
+ void doAcquireSharedInterruptibly(jint);
+ jboolean doAcquireSharedNanos(jint, jlong);
+public: // actually protected
+ virtual jboolean tryAcquire(jint);
+ virtual jboolean tryRelease(jint);
+ virtual jint tryAcquireShared(jint);
+ virtual jboolean tryReleaseShared(jint);
+ virtual jboolean isHeldExclusively();
+public:
+ virtual void acquire(jint);
+ virtual void acquireInterruptibly(jint);
+ virtual jboolean tryAcquireNanos(jint, jlong);
+ virtual jboolean release(jint);
+ virtual void acquireShared(jint);
+ virtual void acquireSharedInterruptibly(jint);
+ virtual jboolean tryAcquireSharedNanos(jint, jlong);
+ virtual jboolean releaseShared(jint);
+ virtual jboolean hasQueuedThreads();
+ virtual jboolean hasContended();
+ virtual ::java::lang::Thread * getFirstQueuedThread();
+private:
+ ::java::lang::Thread * fullGetFirstQueuedThread();
+public:
+ virtual jboolean isQueued(::java::lang::Thread *);
+public: // actually package-private
+ virtual jboolean apparentlyFirstQueuedIsExclusive();
+ virtual jboolean isFirst(::java::lang::Thread *);
+ virtual jboolean fullIsFirst(::java::lang::Thread *);
+public:
+ virtual jint getQueueLength();
+ virtual ::java::util::Collection * getQueuedThreads();
+ virtual ::java::util::Collection * getExclusiveQueuedThreads();
+ virtual ::java::util::Collection * getSharedQueuedThreads();
+ virtual ::java::lang::String * toString();
+public: // actually package-private
+ virtual jboolean isOnSyncQueue(::java::util::concurrent::locks::AbstractQueuedSynchronizer$Node *);
+private:
+ jboolean findNodeFromTail(::java::util::concurrent::locks::AbstractQueuedSynchronizer$Node *);
+public: // actually package-private
+ virtual jboolean transferForSignal(::java::util::concurrent::locks::AbstractQueuedSynchronizer$Node *);
+ virtual jboolean transferAfterCancelledWait(::java::util::concurrent::locks::AbstractQueuedSynchronizer$Node *);
+ virtual jint fullyRelease(::java::util::concurrent::locks::AbstractQueuedSynchronizer$Node *);
+public:
+ virtual jboolean owns(::java::util::concurrent::locks::AbstractQueuedSynchronizer$ConditionObject *);
+ virtual jboolean hasWaiters(::java::util::concurrent::locks::AbstractQueuedSynchronizer$ConditionObject *);
+ virtual jint getWaitQueueLength(::java::util::concurrent::locks::AbstractQueuedSynchronizer$ConditionObject *);
+ virtual ::java::util::Collection * getWaitingThreads(::java::util::concurrent::locks::AbstractQueuedSynchronizer$ConditionObject *);
+private:
+ jboolean compareAndSetHead(::java::util::concurrent::locks::AbstractQueuedSynchronizer$Node *);
+ jboolean compareAndSetTail(::java::util::concurrent::locks::AbstractQueuedSynchronizer$Node *, ::java::util::concurrent::locks::AbstractQueuedSynchronizer$Node *);
+ static jboolean compareAndSetWaitStatus(::java::util::concurrent::locks::AbstractQueuedSynchronizer$Node *, jint, jint);
+public: // actually package-private
+ static void access$0();
+private:
+ static const jlong serialVersionUID = 7373984972572414691LL;
+ volatile ::java::util::concurrent::locks::AbstractQueuedSynchronizer$Node * __attribute__((aligned(__alignof__( ::java::util::concurrent::locks::AbstractOwnableSynchronizer)))) head;
+ volatile ::java::util::concurrent::locks::AbstractQueuedSynchronizer$Node * tail;
+ volatile jint state;
+public: // actually package-private
+ static const jlong spinForTimeoutThreshold = 1000LL;
+private:
+ static ::sun::misc::Unsafe * unsafe;
+ static jlong stateOffset;
+ static jlong headOffset;
+ static jlong tailOffset;
+ static jlong waitStatusOffset;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_locks_AbstractQueuedSynchronizer__
diff --git a/libjava/java/util/concurrent/locks/Condition.h b/libjava/java/util/concurrent/locks/Condition.h
new file mode 100644
index 0000000..141a4e9
--- /dev/null
+++ b/libjava/java/util/concurrent/locks/Condition.h
@@ -0,0 +1,25 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_locks_Condition__
+#define __java_util_concurrent_locks_Condition__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::concurrent::locks::Condition : public ::java::lang::Object
+{
+
+public:
+ virtual void await() = 0;
+ virtual void awaitUninterruptibly() = 0;
+ virtual jlong awaitNanos(jlong) = 0;
+ virtual jboolean await(jlong, ::java::util::concurrent::TimeUnit *) = 0;
+ virtual jboolean awaitUntil(::java::util::Date *) = 0;
+ virtual void signal() = 0;
+ virtual void signalAll() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_util_concurrent_locks_Condition__
diff --git a/libjava/java/util/concurrent/locks/Lock.h b/libjava/java/util/concurrent/locks/Lock.h
new file mode 100644
index 0000000..b00f601
--- /dev/null
+++ b/libjava/java/util/concurrent/locks/Lock.h
@@ -0,0 +1,24 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_locks_Lock__
+#define __java_util_concurrent_locks_Lock__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::concurrent::locks::Lock : public ::java::lang::Object
+{
+
+public:
+ virtual void lock() = 0;
+ virtual void lockInterruptibly() = 0;
+ virtual jboolean tryLock() = 0;
+ virtual jboolean tryLock(jlong, ::java::util::concurrent::TimeUnit *) = 0;
+ virtual void unlock() = 0;
+ virtual ::java::util::concurrent::locks::Condition * newCondition() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_util_concurrent_locks_Lock__
diff --git a/libjava/java/util/concurrent/locks/LockSupport.h b/libjava/java/util/concurrent/locks/LockSupport.h
new file mode 100644
index 0000000..15ef730
--- /dev/null
+++ b/libjava/java/util/concurrent/locks/LockSupport.h
@@ -0,0 +1,42 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_locks_LockSupport__
+#define __java_util_concurrent_locks_LockSupport__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace sun
+ {
+ namespace misc
+ {
+ class Unsafe;
+ }
+ }
+}
+
+class java::util::concurrent::locks::LockSupport : public ::java::lang::Object
+{
+
+ LockSupport();
+ static void setBlocker(::java::lang::Thread *, ::java::lang::Object *);
+public:
+ static void unpark(::java::lang::Thread *);
+ static void park(::java::lang::Object *);
+ static void parkNanos(::java::lang::Object *, jlong);
+ static void parkUntil(::java::lang::Object *, jlong);
+ static ::java::lang::Object * getBlocker(::java::lang::Thread *);
+ static void park();
+ static void parkNanos(jlong);
+ static void parkUntil(jlong);
+private:
+ static ::sun::misc::Unsafe * unsafe;
+ static jlong parkBlockerOffset;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_locks_LockSupport__
diff --git a/libjava/java/util/concurrent/locks/ReadWriteLock.h b/libjava/java/util/concurrent/locks/ReadWriteLock.h
new file mode 100644
index 0000000..1f4ae2e
--- /dev/null
+++ b/libjava/java/util/concurrent/locks/ReadWriteLock.h
@@ -0,0 +1,20 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_locks_ReadWriteLock__
+#define __java_util_concurrent_locks_ReadWriteLock__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::concurrent::locks::ReadWriteLock : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::util::concurrent::locks::Lock * readLock() = 0;
+ virtual ::java::util::concurrent::locks::Lock * writeLock() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_util_concurrent_locks_ReadWriteLock__
diff --git a/libjava/java/util/concurrent/locks/ReentrantLock$FairSync.h b/libjava/java/util/concurrent/locks/ReentrantLock$FairSync.h
new file mode 100644
index 0000000..d4268af
--- /dev/null
+++ b/libjava/java/util/concurrent/locks/ReentrantLock$FairSync.h
@@ -0,0 +1,25 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_locks_ReentrantLock$FairSync__
+#define __java_util_concurrent_locks_ReentrantLock$FairSync__
+
+#pragma interface
+
+#include <java/util/concurrent/locks/ReentrantLock$Sync.h>
+
+class java::util::concurrent::locks::ReentrantLock$FairSync : public ::java::util::concurrent::locks::ReentrantLock$Sync
+{
+
+public: // actually package-private
+ ReentrantLock$FairSync();
+ void lock();
+public: // actually protected
+ jboolean tryAcquire(jint);
+private:
+ static const jlong serialVersionUID = -3000897897090466540LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_locks_ReentrantLock$FairSync__
diff --git a/libjava/java/util/concurrent/locks/ReentrantLock$NonfairSync.h b/libjava/java/util/concurrent/locks/ReentrantLock$NonfairSync.h
new file mode 100644
index 0000000..743a0bd
--- /dev/null
+++ b/libjava/java/util/concurrent/locks/ReentrantLock$NonfairSync.h
@@ -0,0 +1,25 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_locks_ReentrantLock$NonfairSync__
+#define __java_util_concurrent_locks_ReentrantLock$NonfairSync__
+
+#pragma interface
+
+#include <java/util/concurrent/locks/ReentrantLock$Sync.h>
+
+class java::util::concurrent::locks::ReentrantLock$NonfairSync : public ::java::util::concurrent::locks::ReentrantLock$Sync
+{
+
+public: // actually package-private
+ ReentrantLock$NonfairSync();
+ void lock();
+public: // actually protected
+ jboolean tryAcquire(jint);
+private:
+ static const jlong serialVersionUID = 7316153563782823691LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_locks_ReentrantLock$NonfairSync__
diff --git a/libjava/java/util/concurrent/locks/ReentrantLock$Sync.h b/libjava/java/util/concurrent/locks/ReentrantLock$Sync.h
new file mode 100644
index 0000000..b3656d0
--- /dev/null
+++ b/libjava/java/util/concurrent/locks/ReentrantLock$Sync.h
@@ -0,0 +1,33 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_locks_ReentrantLock$Sync__
+#define __java_util_concurrent_locks_ReentrantLock$Sync__
+
+#pragma interface
+
+#include <java/util/concurrent/locks/AbstractQueuedSynchronizer.h>
+
+class java::util::concurrent::locks::ReentrantLock$Sync : public ::java::util::concurrent::locks::AbstractQueuedSynchronizer
+{
+
+public: // actually package-private
+ ReentrantLock$Sync();
+ virtual void lock() = 0;
+ virtual jboolean nonfairTryAcquire(jint);
+public: // actually protected
+ virtual jboolean tryRelease(jint);
+ virtual jboolean isHeldExclusively();
+public: // actually package-private
+ virtual ::java::util::concurrent::locks::AbstractQueuedSynchronizer$ConditionObject * newCondition();
+ virtual ::java::lang::Thread * getOwner();
+ virtual jint getHoldCount();
+ virtual jboolean isLocked();
+private:
+ void readObject(::java::io::ObjectInputStream *);
+ static const jlong serialVersionUID = -5179523762034025860LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_locks_ReentrantLock$Sync__
diff --git a/libjava/java/util/concurrent/locks/ReentrantLock.h b/libjava/java/util/concurrent/locks/ReentrantLock.h
new file mode 100644
index 0000000..5cac4b2
--- /dev/null
+++ b/libjava/java/util/concurrent/locks/ReentrantLock.h
@@ -0,0 +1,49 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_locks_ReentrantLock__
+#define __java_util_concurrent_locks_ReentrantLock__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::concurrent::locks::ReentrantLock : public ::java::lang::Object
+{
+
+public:
+ ReentrantLock();
+ ReentrantLock(jboolean);
+ virtual void lock();
+ virtual void lockInterruptibly();
+ virtual jboolean tryLock();
+ virtual jboolean tryLock(jlong, ::java::util::concurrent::TimeUnit *);
+ virtual void unlock();
+ virtual ::java::util::concurrent::locks::Condition * newCondition();
+ virtual jint getHoldCount();
+ virtual jboolean isHeldByCurrentThread();
+ virtual jboolean isLocked();
+ virtual jboolean isFair();
+public: // actually protected
+ virtual ::java::lang::Thread * getOwner();
+public:
+ virtual jboolean hasQueuedThreads();
+ virtual jboolean hasQueuedThread(::java::lang::Thread *);
+ virtual jint getQueueLength();
+public: // actually protected
+ virtual ::java::util::Collection * getQueuedThreads();
+public:
+ virtual jboolean hasWaiters(::java::util::concurrent::locks::Condition *);
+ virtual jint getWaitQueueLength(::java::util::concurrent::locks::Condition *);
+public: // actually protected
+ virtual ::java::util::Collection * getWaitingThreads(::java::util::concurrent::locks::Condition *);
+public:
+ virtual ::java::lang::String * toString();
+private:
+ static const jlong serialVersionUID = 7373984872572414699LL;
+ ::java::util::concurrent::locks::ReentrantLock$Sync * __attribute__((aligned(__alignof__( ::java::lang::Object)))) sync;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_locks_ReentrantLock__
diff --git a/libjava/java/util/concurrent/locks/ReentrantReadWriteLock$FairSync.h b/libjava/java/util/concurrent/locks/ReentrantReadWriteLock$FairSync.h
new file mode 100644
index 0000000..05090b5
--- /dev/null
+++ b/libjava/java/util/concurrent/locks/ReentrantReadWriteLock$FairSync.h
@@ -0,0 +1,24 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_locks_ReentrantReadWriteLock$FairSync__
+#define __java_util_concurrent_locks_ReentrantReadWriteLock$FairSync__
+
+#pragma interface
+
+#include <java/util/concurrent/locks/ReentrantReadWriteLock$Sync.h>
+
+class java::util::concurrent::locks::ReentrantReadWriteLock$FairSync : public ::java::util::concurrent::locks::ReentrantReadWriteLock$Sync
+{
+
+public: // actually package-private
+ ReentrantReadWriteLock$FairSync();
+ jboolean writerShouldBlock(::java::lang::Thread *);
+ jboolean readerShouldBlock(::java::lang::Thread *);
+private:
+ static const jlong serialVersionUID = -2274990926593161451LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_locks_ReentrantReadWriteLock$FairSync__
diff --git a/libjava/java/util/concurrent/locks/ReentrantReadWriteLock$NonfairSync.h b/libjava/java/util/concurrent/locks/ReentrantReadWriteLock$NonfairSync.h
new file mode 100644
index 0000000..29a565a
--- /dev/null
+++ b/libjava/java/util/concurrent/locks/ReentrantReadWriteLock$NonfairSync.h
@@ -0,0 +1,24 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_locks_ReentrantReadWriteLock$NonfairSync__
+#define __java_util_concurrent_locks_ReentrantReadWriteLock$NonfairSync__
+
+#pragma interface
+
+#include <java/util/concurrent/locks/ReentrantReadWriteLock$Sync.h>
+
+class java::util::concurrent::locks::ReentrantReadWriteLock$NonfairSync : public ::java::util::concurrent::locks::ReentrantReadWriteLock$Sync
+{
+
+public: // actually package-private
+ ReentrantReadWriteLock$NonfairSync();
+ jboolean writerShouldBlock(::java::lang::Thread *);
+ jboolean readerShouldBlock(::java::lang::Thread *);
+private:
+ static const jlong serialVersionUID = -8159625535654395037LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_locks_ReentrantReadWriteLock$NonfairSync__
diff --git a/libjava/java/util/concurrent/locks/ReentrantReadWriteLock$ReadLock.h b/libjava/java/util/concurrent/locks/ReentrantReadWriteLock$ReadLock.h
new file mode 100644
index 0000000..0f48a6c
--- /dev/null
+++ b/libjava/java/util/concurrent/locks/ReentrantReadWriteLock$ReadLock.h
@@ -0,0 +1,31 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_locks_ReentrantReadWriteLock$ReadLock__
+#define __java_util_concurrent_locks_ReentrantReadWriteLock$ReadLock__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::concurrent::locks::ReentrantReadWriteLock$ReadLock : public ::java::lang::Object
+{
+
+public: // actually protected
+ ReentrantReadWriteLock$ReadLock(::java::util::concurrent::locks::ReentrantReadWriteLock *);
+public:
+ virtual void lock();
+ virtual void lockInterruptibly();
+ virtual jboolean tryLock();
+ virtual jboolean tryLock(jlong, ::java::util::concurrent::TimeUnit *);
+ virtual void unlock();
+ virtual ::java::util::concurrent::locks::Condition * newCondition();
+ virtual ::java::lang::String * toString();
+private:
+ static const jlong serialVersionUID = -5992448646407690164LL;
+ ::java::util::concurrent::locks::ReentrantReadWriteLock$Sync * __attribute__((aligned(__alignof__( ::java::lang::Object)))) sync;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_locks_ReentrantReadWriteLock$ReadLock__
diff --git a/libjava/java/util/concurrent/locks/ReentrantReadWriteLock$Sync$HoldCounter.h b/libjava/java/util/concurrent/locks/ReentrantReadWriteLock$Sync$HoldCounter.h
new file mode 100644
index 0000000..4813f0d
--- /dev/null
+++ b/libjava/java/util/concurrent/locks/ReentrantReadWriteLock$Sync$HoldCounter.h
@@ -0,0 +1,23 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_locks_ReentrantReadWriteLock$Sync$HoldCounter__
+#define __java_util_concurrent_locks_ReentrantReadWriteLock$Sync$HoldCounter__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::concurrent::locks::ReentrantReadWriteLock$Sync$HoldCounter : public ::java::lang::Object
+{
+
+public: // actually package-private
+ ReentrantReadWriteLock$Sync$HoldCounter();
+ jint tryDecrement();
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) count;
+ jlong tid;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_locks_ReentrantReadWriteLock$Sync$HoldCounter__
diff --git a/libjava/java/util/concurrent/locks/ReentrantReadWriteLock$Sync$ThreadLocalHoldCounter.h b/libjava/java/util/concurrent/locks/ReentrantReadWriteLock$Sync$ThreadLocalHoldCounter.h
new file mode 100644
index 0000000..c9dedf0
--- /dev/null
+++ b/libjava/java/util/concurrent/locks/ReentrantReadWriteLock$Sync$ThreadLocalHoldCounter.h
@@ -0,0 +1,22 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_locks_ReentrantReadWriteLock$Sync$ThreadLocalHoldCounter__
+#define __java_util_concurrent_locks_ReentrantReadWriteLock$Sync$ThreadLocalHoldCounter__
+
+#pragma interface
+
+#include <java/lang/ThreadLocal.h>
+
+class java::util::concurrent::locks::ReentrantReadWriteLock$Sync$ThreadLocalHoldCounter : public ::java::lang::ThreadLocal
+{
+
+public: // actually package-private
+ ReentrantReadWriteLock$Sync$ThreadLocalHoldCounter();
+public:
+ ::java::util::concurrent::locks::ReentrantReadWriteLock$Sync$HoldCounter * target$initialValue();
+ ::java::lang::Object * initialValue();
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_locks_ReentrantReadWriteLock$Sync$ThreadLocalHoldCounter__
diff --git a/libjava/java/util/concurrent/locks/ReentrantReadWriteLock$Sync.h b/libjava/java/util/concurrent/locks/ReentrantReadWriteLock$Sync.h
new file mode 100644
index 0000000..d1d4307
--- /dev/null
+++ b/libjava/java/util/concurrent/locks/ReentrantReadWriteLock$Sync.h
@@ -0,0 +1,55 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_locks_ReentrantReadWriteLock$Sync__
+#define __java_util_concurrent_locks_ReentrantReadWriteLock$Sync__
+
+#pragma interface
+
+#include <java/util/concurrent/locks/AbstractQueuedSynchronizer.h>
+
+class java::util::concurrent::locks::ReentrantReadWriteLock$Sync : public ::java::util::concurrent::locks::AbstractQueuedSynchronizer
+{
+
+public: // actually package-private
+ static jint sharedCount(jint);
+ static jint exclusiveCount(jint);
+ ReentrantReadWriteLock$Sync();
+ virtual jboolean readerShouldBlock(::java::lang::Thread *) = 0;
+ virtual jboolean writerShouldBlock(::java::lang::Thread *) = 0;
+public: // actually protected
+ virtual jboolean tryRelease(jint);
+ virtual jboolean tryAcquire(jint);
+ virtual jboolean tryReleaseShared(jint);
+ virtual jint tryAcquireShared(jint);
+public: // actually package-private
+ virtual jint fullTryAcquireShared(::java::lang::Thread *);
+ virtual jboolean tryWriteLock();
+ virtual jboolean tryReadLock();
+public: // actually protected
+ virtual jboolean isHeldExclusively();
+public: // actually package-private
+ virtual ::java::util::concurrent::locks::AbstractQueuedSynchronizer$ConditionObject * newCondition();
+ virtual ::java::lang::Thread * getOwner();
+ virtual jint getReadLockCount();
+ virtual jboolean isWriteLocked();
+ virtual jint getWriteHoldCount();
+ virtual jint getReadHoldCount();
+private:
+ void readObject(::java::io::ObjectInputStream *);
+public: // actually package-private
+ virtual jint getCount();
+private:
+ static const jlong serialVersionUID = 6317671515068378041LL;
+public: // actually package-private
+ static const jint SHARED_SHIFT = 16;
+ static const jint SHARED_UNIT = 65536;
+ static const jint MAX_COUNT = 65535;
+ static const jint EXCLUSIVE_MASK = 65535;
+ ::java::util::concurrent::locks::ReentrantReadWriteLock$Sync$ThreadLocalHoldCounter * __attribute__((aligned(__alignof__( ::java::util::concurrent::locks::AbstractQueuedSynchronizer)))) readHolds;
+ ::java::util::concurrent::locks::ReentrantReadWriteLock$Sync$HoldCounter * cachedHoldCounter;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_locks_ReentrantReadWriteLock$Sync__
diff --git a/libjava/java/util/concurrent/locks/ReentrantReadWriteLock$WriteLock.h b/libjava/java/util/concurrent/locks/ReentrantReadWriteLock$WriteLock.h
new file mode 100644
index 0000000..4e57d53
--- /dev/null
+++ b/libjava/java/util/concurrent/locks/ReentrantReadWriteLock$WriteLock.h
@@ -0,0 +1,33 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_locks_ReentrantReadWriteLock$WriteLock__
+#define __java_util_concurrent_locks_ReentrantReadWriteLock$WriteLock__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::concurrent::locks::ReentrantReadWriteLock$WriteLock : public ::java::lang::Object
+{
+
+public: // actually protected
+ ReentrantReadWriteLock$WriteLock(::java::util::concurrent::locks::ReentrantReadWriteLock *);
+public:
+ virtual void lock();
+ virtual void lockInterruptibly();
+ virtual jboolean tryLock();
+ virtual jboolean tryLock(jlong, ::java::util::concurrent::TimeUnit *);
+ virtual void unlock();
+ virtual ::java::util::concurrent::locks::Condition * newCondition();
+ virtual ::java::lang::String * toString();
+ virtual jboolean isHeldByCurrentThread();
+ virtual jint getHoldCount();
+private:
+ static const jlong serialVersionUID = -4992448646407690164LL;
+ ::java::util::concurrent::locks::ReentrantReadWriteLock$Sync * __attribute__((aligned(__alignof__( ::java::lang::Object)))) sync;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_locks_ReentrantReadWriteLock$WriteLock__
diff --git a/libjava/java/util/concurrent/locks/ReentrantReadWriteLock.h b/libjava/java/util/concurrent/locks/ReentrantReadWriteLock.h
new file mode 100644
index 0000000..3bea3cc
--- /dev/null
+++ b/libjava/java/util/concurrent/locks/ReentrantReadWriteLock.h
@@ -0,0 +1,57 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_locks_ReentrantReadWriteLock__
+#define __java_util_concurrent_locks_ReentrantReadWriteLock__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::concurrent::locks::ReentrantReadWriteLock : public ::java::lang::Object
+{
+
+public:
+ ReentrantReadWriteLock();
+ ReentrantReadWriteLock(jboolean);
+ virtual ::java::util::concurrent::locks::ReentrantReadWriteLock$WriteLock * target$writeLock();
+ virtual ::java::util::concurrent::locks::ReentrantReadWriteLock$ReadLock * target$readLock();
+ virtual jboolean isFair();
+public: // actually protected
+ virtual ::java::lang::Thread * getOwner();
+public:
+ virtual jint getReadLockCount();
+ virtual jboolean isWriteLocked();
+ virtual jboolean isWriteLockedByCurrentThread();
+ virtual jint getWriteHoldCount();
+ virtual jint getReadHoldCount();
+public: // actually protected
+ virtual ::java::util::Collection * getQueuedWriterThreads();
+ virtual ::java::util::Collection * getQueuedReaderThreads();
+public:
+ virtual jboolean hasQueuedThreads();
+ virtual jboolean hasQueuedThread(::java::lang::Thread *);
+ virtual jint getQueueLength();
+public: // actually protected
+ virtual ::java::util::Collection * getQueuedThreads();
+public:
+ virtual jboolean hasWaiters(::java::util::concurrent::locks::Condition *);
+ virtual jint getWaitQueueLength(::java::util::concurrent::locks::Condition *);
+public: // actually protected
+ virtual ::java::util::Collection * getWaitingThreads(::java::util::concurrent::locks::Condition *);
+public:
+ virtual ::java::lang::String * toString();
+ virtual ::java::util::concurrent::locks::Lock * readLock();
+ virtual ::java::util::concurrent::locks::Lock * writeLock();
+public: // actually package-private
+ static ::java::util::concurrent::locks::ReentrantReadWriteLock$Sync * access$2(::java::util::concurrent::locks::ReentrantReadWriteLock *);
+private:
+ static const jlong serialVersionUID = -6992448646407690164LL;
+ ::java::util::concurrent::locks::ReentrantReadWriteLock$ReadLock * __attribute__((aligned(__alignof__( ::java::lang::Object)))) readerLock;
+ ::java::util::concurrent::locks::ReentrantReadWriteLock$WriteLock * writerLock;
+ ::java::util::concurrent::locks::ReentrantReadWriteLock$Sync * sync;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_locks_ReentrantReadWriteLock__
diff --git a/libjava/java/util/jar/Attributes$Name.h b/libjava/java/util/jar/Attributes$Name.h
new file mode 100644
index 0000000..867bcea
--- /dev/null
+++ b/libjava/java/util/jar/Attributes$Name.h
@@ -0,0 +1,43 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_jar_Attributes$Name__
+#define __java_util_jar_Attributes$Name__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::jar::Attributes$Name : public ::java::lang::Object
+{
+
+public:
+ Attributes$Name(::java::lang::String *);
+ virtual jint hashCode();
+ virtual jboolean equals(::java::lang::Object *);
+ virtual ::java::lang::String * toString();
+ static ::java::util::jar::Attributes$Name * MANIFEST_VERSION;
+ static ::java::util::jar::Attributes$Name * SIGNATURE_VERSION;
+ static ::java::util::jar::Attributes$Name * CLASS_PATH;
+ static ::java::util::jar::Attributes$Name * MAIN_CLASS;
+ static ::java::util::jar::Attributes$Name * EXTENSION_LIST;
+ static ::java::util::jar::Attributes$Name * EXTENSION_NAME;
+ static ::java::util::jar::Attributes$Name * EXTENSION_INSTALLATION;
+ static ::java::util::jar::Attributes$Name * IMPLEMENTATION_TITLE;
+ static ::java::util::jar::Attributes$Name * IMPLEMENTATION_VERSION;
+ static ::java::util::jar::Attributes$Name * IMPLEMENTATION_VENDOR;
+ static ::java::util::jar::Attributes$Name * IMPLEMENTATION_VENDOR_ID;
+ static ::java::util::jar::Attributes$Name * IMPLEMENTATION_URL;
+ static ::java::util::jar::Attributes$Name * SPECIFICATION_TITLE;
+ static ::java::util::jar::Attributes$Name * SPECIFICATION_VERSION;
+ static ::java::util::jar::Attributes$Name * SPECIFICATION_VENDOR;
+ static ::java::util::jar::Attributes$Name * SEALED;
+ static ::java::util::jar::Attributes$Name * CONTENT_TYPE;
+private:
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) name;
+ ::java::lang::String * origName;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_jar_Attributes$Name__
diff --git a/libjava/java/util/jar/Attributes.h b/libjava/java/util/jar/Attributes.h
new file mode 100644
index 0000000..628be03
--- /dev/null
+++ b/libjava/java/util/jar/Attributes.h
@@ -0,0 +1,45 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_jar_Attributes__
+#define __java_util_jar_Attributes__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::jar::Attributes : public ::java::lang::Object
+{
+
+public:
+ Attributes();
+ Attributes(jint);
+ Attributes(::java::util::jar::Attributes *);
+ virtual ::java::lang::String * getValue(::java::lang::String *);
+ virtual ::java::lang::String * getValue(::java::util::jar::Attributes$Name *);
+ virtual ::java::lang::String * putValue(::java::lang::String *, ::java::lang::String *);
+private:
+ ::java::lang::String * putValue(::java::util::jar::Attributes$Name *, ::java::lang::String *);
+public:
+ virtual ::java::lang::Object * clone();
+ virtual void clear();
+ virtual jboolean containsKey(::java::lang::Object *);
+ virtual jboolean containsValue(::java::lang::Object *);
+ virtual ::java::util::Set * entrySet();
+ virtual jboolean equals(::java::lang::Object *);
+ virtual ::java::lang::Object * get(::java::lang::Object *);
+ virtual jint hashCode();
+ virtual jboolean isEmpty();
+ virtual ::java::util::Set * keySet();
+ virtual ::java::lang::Object * put(::java::lang::Object *, ::java::lang::Object *);
+ virtual void putAll(::java::util::Map *);
+ virtual ::java::lang::Object * remove(::java::lang::Object *);
+ virtual jint size();
+ virtual ::java::util::Collection * values();
+public: // actually protected
+ ::java::util::Map * __attribute__((aligned(__alignof__( ::java::lang::Object)))) map;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_jar_Attributes__
diff --git a/libjava/java/util/jar/JarEntry.h b/libjava/java/util/jar/JarEntry.h
new file mode 100644
index 0000000..c95ab94
--- /dev/null
+++ b/libjava/java/util/jar/JarEntry.h
@@ -0,0 +1,42 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_jar_JarEntry__
+#define __java_util_jar_JarEntry__
+
+#pragma interface
+
+#include <java/util/zip/ZipEntry.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ namespace cert
+ {
+ class Certificate;
+ }
+ }
+ }
+}
+
+class java::util::jar::JarEntry : public ::java::util::zip::ZipEntry
+{
+
+public:
+ JarEntry(::java::lang::String *);
+ JarEntry(::java::util::zip::ZipEntry *);
+ JarEntry(::java::util::jar::JarEntry *);
+ virtual ::java::util::jar::Attributes * getAttributes();
+ virtual JArray< ::java::security::cert::Certificate * > * getCertificates();
+public: // actually package-private
+ ::java::util::jar::Attributes * __attribute__((aligned(__alignof__( ::java::util::zip::ZipEntry)))) attr;
+ ::java::util::jar::JarFile * jarfile;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_jar_JarEntry__
diff --git a/libjava/java/util/jar/JarException.h b/libjava/java/util/jar/JarException.h
new file mode 100644
index 0000000..4ea6da3
--- /dev/null
+++ b/libjava/java/util/jar/JarException.h
@@ -0,0 +1,23 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_jar_JarException__
+#define __java_util_jar_JarException__
+
+#pragma interface
+
+#include <java/util/zip/ZipException.h>
+
+class java::util::jar::JarException : public ::java::util::zip::ZipException
+{
+
+public:
+ JarException();
+ JarException(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = 7159778400963954473LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_jar_JarException__
diff --git a/libjava/java/util/jar/JarFile$EntryInputStream.h b/libjava/java/util/jar/JarFile$EntryInputStream.h
new file mode 100644
index 0000000..cf68dbf
--- /dev/null
+++ b/libjava/java/util/jar/JarFile$EntryInputStream.h
@@ -0,0 +1,49 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_jar_JarFile$EntryInputStream__
+#define __java_util_jar_JarFile$EntryInputStream__
+
+#pragma interface
+
+#include <java/io/FilterInputStream.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class MessageDigest;
+ }
+ }
+}
+
+class java::util::jar::JarFile$EntryInputStream : public ::java::io::FilterInputStream
+{
+
+public: // actually package-private
+ JarFile$EntryInputStream(::java::util::zip::ZipEntry *, ::java::io::InputStream *, ::java::util::jar::JarFile *);
+public:
+ virtual jboolean markSupported();
+ virtual void mark(jint);
+ virtual void reset();
+ virtual jint read();
+ virtual jint read(JArray< jbyte > *, jint, jint);
+ virtual jint read(JArray< jbyte > *);
+ virtual jlong skip(jlong);
+private:
+ void eof();
+ ::java::util::jar::JarFile * __attribute__((aligned(__alignof__( ::java::io::FilterInputStream)))) jarfile;
+ jlong length;
+ jlong pos;
+ ::java::util::zip::ZipEntry * entry;
+ JArray< JArray< jbyte > * > * hashes;
+ JArray< ::java::security::MessageDigest * > * md;
+ jboolean checked;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_jar_JarFile$EntryInputStream__
diff --git a/libjava/java/util/jar/JarFile$JarEnumeration.h b/libjava/java/util/jar/JarFile$JarEnumeration.h
new file mode 100644
index 0000000..8916b5b
--- /dev/null
+++ b/libjava/java/util/jar/JarFile$JarEnumeration.h
@@ -0,0 +1,27 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_jar_JarFile$JarEnumeration__
+#define __java_util_jar_JarFile$JarEnumeration__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::jar::JarFile$JarEnumeration : public ::java::lang::Object
+{
+
+public: // actually package-private
+ JarFile$JarEnumeration(::java::util::Enumeration *, ::java::util::jar::JarFile *);
+public:
+ virtual jboolean hasMoreElements();
+ virtual ::java::util::jar::JarEntry * target$nextElement();
+ virtual ::java::lang::Object * nextElement();
+private:
+ ::java::util::Enumeration * __attribute__((aligned(__alignof__( ::java::lang::Object)))) entries;
+ ::java::util::jar::JarFile * jarfile;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_jar_JarFile$JarEnumeration__
diff --git a/libjava/java/util/jar/JarFile.h b/libjava/java/util/jar/JarFile.h
new file mode 100644
index 0000000..081be76
--- /dev/null
+++ b/libjava/java/util/jar/JarFile.h
@@ -0,0 +1,103 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_jar_JarFile__
+#define __java_util_jar_JarFile__
+
+#pragma interface
+
+#include <java/util/zip/ZipFile.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace security
+ {
+ class OID;
+ namespace pkcs
+ {
+ class SignerInfo;
+ }
+ namespace provider
+ {
+ class Gnu;
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace security
+ {
+ namespace cert
+ {
+ class Certificate;
+ }
+ }
+ }
+}
+
+class java::util::jar::JarFile : public ::java::util::zip::ZipFile
+{
+
+public: // actually package-private
+ static void debug(::java::lang::Object *);
+public:
+ JarFile(::java::lang::String *);
+ JarFile(::java::lang::String *, jboolean);
+ JarFile(::java::io::File *);
+ JarFile(::java::io::File *, jboolean);
+ JarFile(::java::io::File *, jboolean, jint);
+private:
+ void verify();
+ ::java::util::jar::Manifest * readManifest();
+public:
+ virtual ::java::util::Enumeration * entries();
+ virtual ::java::util::zip::ZipEntry * getEntry(::java::lang::String *);
+ virtual ::java::io::InputStream * getInputStream(::java::util::zip::ZipEntry *);
+ virtual ::java::util::jar::JarEntry * getJarEntry(::java::lang::String *);
+ virtual ::java::util::jar::Manifest * getManifest();
+public: // actually package-private
+ virtual void readSignatures();
+private:
+ void verify(JArray< ::java::security::cert::Certificate * > *, ::gnu::java::security::pkcs::SignerInfo *, ::java::lang::String *, ::java::util::Set *);
+ jboolean verifyHashes(::java::lang::String *, ::java::util::jar::Attributes *, ::java::util::HashMap *);
+public:
+ static ::java::lang::String * MANIFEST_NAME;
+private:
+ static ::java::lang::String * META_INF;
+ static ::java::lang::String * PKCS7_DSA_SUFFIX;
+ static ::java::lang::String * PKCS7_RSA_SUFFIX;
+ static ::java::lang::String * DIGEST_KEY_SUFFIX;
+ static ::java::lang::String * SF_SUFFIX;
+public: // actually package-private
+ static ::gnu::java::security::provider::Gnu * provider;
+private:
+ static ::gnu::java::security::OID * MD2_OID;
+ static ::gnu::java::security::OID * MD4_OID;
+ static ::gnu::java::security::OID * MD5_OID;
+ static ::gnu::java::security::OID * SHA1_OID;
+ static ::gnu::java::security::OID * DSA_ENCRYPTION_OID;
+ static ::gnu::java::security::OID * RSA_ENCRYPTION_OID;
+ ::java::util::jar::Manifest * __attribute__((aligned(__alignof__( ::java::util::zip::ZipFile)))) manifest;
+public: // actually package-private
+ jboolean verify__;
+private:
+ jboolean manifestRead;
+public: // actually package-private
+ jboolean signaturesRead;
+ ::java::util::HashMap * verified;
+ ::java::util::HashMap * entryCerts;
+private:
+ ::java::util::HashMap * digestAlgorithms;
+public: // actually package-private
+ static jboolean DEBUG;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_jar_JarFile__
diff --git a/libjava/java/util/jar/JarInputStream.h b/libjava/java/util/jar/JarInputStream.h
new file mode 100644
index 0000000..7e4441d
--- /dev/null
+++ b/libjava/java/util/jar/JarInputStream.h
@@ -0,0 +1,35 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_jar_JarInputStream__
+#define __java_util_jar_JarInputStream__
+
+#pragma interface
+
+#include <java/util/zip/ZipInputStream.h>
+#include <gcj/array.h>
+
+
+class java::util::jar::JarInputStream : public ::java::util::zip::ZipInputStream
+{
+
+public:
+ JarInputStream(::java::io::InputStream *);
+ JarInputStream(::java::io::InputStream *, jboolean);
+private:
+ void readManifest(jboolean);
+public: // actually protected
+ virtual ::java::util::zip::ZipEntry * createZipEntry(::java::lang::String *);
+public:
+ virtual ::java::util::jar::Manifest * getManifest();
+ virtual ::java::util::zip::ZipEntry * getNextEntry();
+ virtual ::java::util::jar::JarEntry * getNextJarEntry();
+ virtual jint read(JArray< jbyte > *, jint, jint);
+private:
+ ::java::util::jar::Manifest * __attribute__((aligned(__alignof__( ::java::util::zip::ZipInputStream)))) manifest;
+ ::java::util::jar::JarEntry * firstEntry;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_jar_JarInputStream__
diff --git a/libjava/java/util/jar/JarOutputStream.h b/libjava/java/util/jar/JarOutputStream.h
new file mode 100644
index 0000000..184f307
--- /dev/null
+++ b/libjava/java/util/jar/JarOutputStream.h
@@ -0,0 +1,24 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_jar_JarOutputStream__
+#define __java_util_jar_JarOutputStream__
+
+#pragma interface
+
+#include <java/util/zip/ZipOutputStream.h>
+
+class java::util::jar::JarOutputStream : public ::java::util::zip::ZipOutputStream
+{
+
+public:
+ JarOutputStream(::java::io::OutputStream *);
+ JarOutputStream(::java::io::OutputStream *, ::java::util::jar::Manifest *);
+private:
+ void writeManifest(::java::util::jar::Manifest *);
+public:
+ virtual void putNextEntry(::java::util::zip::ZipEntry *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_jar_JarOutputStream__
diff --git a/libjava/java/util/jar/Manifest.h b/libjava/java/util/jar/Manifest.h
new file mode 100644
index 0000000..b0f2e99
--- /dev/null
+++ b/libjava/java/util/jar/Manifest.h
@@ -0,0 +1,34 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_jar_Manifest__
+#define __java_util_jar_Manifest__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::jar::Manifest : public ::java::lang::Object
+{
+
+public:
+ Manifest();
+ Manifest(::java::io::InputStream *);
+ Manifest(::java::util::jar::Manifest *);
+ virtual ::java::util::jar::Attributes * getMainAttributes();
+ virtual ::java::util::Map * getEntries();
+ virtual ::java::util::jar::Attributes * getAttributes(::java::lang::String *);
+ virtual void clear();
+ virtual void read(::java::io::InputStream *);
+ virtual void write(::java::io::OutputStream *);
+ virtual ::java::lang::Object * clone();
+ virtual jboolean equals(::java::lang::Object *);
+ virtual jint hashCode();
+private:
+ ::java::util::jar::Attributes * __attribute__((aligned(__alignof__( ::java::lang::Object)))) mainAttr;
+ ::java::util::Map * entries;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_jar_Manifest__
diff --git a/libjava/java/util/logging/ConsoleHandler.h b/libjava/java/util/logging/ConsoleHandler.h
new file mode 100644
index 0000000..0d1bbe0
--- /dev/null
+++ b/libjava/java/util/logging/ConsoleHandler.h
@@ -0,0 +1,21 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_logging_ConsoleHandler__
+#define __java_util_logging_ConsoleHandler__
+
+#pragma interface
+
+#include <java/util/logging/StreamHandler.h>
+
+class java::util::logging::ConsoleHandler : public ::java::util::logging::StreamHandler
+{
+
+public:
+ ConsoleHandler();
+ virtual void close();
+ virtual void publish(::java::util::logging::LogRecord *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_logging_ConsoleHandler__
diff --git a/libjava/java/util/logging/ErrorManager.h b/libjava/java/util/logging/ErrorManager.h
new file mode 100644
index 0000000..e6c115e
--- /dev/null
+++ b/libjava/java/util/logging/ErrorManager.h
@@ -0,0 +1,29 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_logging_ErrorManager__
+#define __java_util_logging_ErrorManager__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::logging::ErrorManager : public ::java::lang::Object
+{
+
+public:
+ ErrorManager();
+ virtual void error(::java::lang::String *, ::java::lang::Exception *, jint);
+ static const jint GENERIC_FAILURE = 0;
+ static const jint WRITE_FAILURE = 1;
+ static const jint FLUSH_FAILURE = 2;
+ static const jint CLOSE_FAILURE = 3;
+ static const jint OPEN_FAILURE = 4;
+ static const jint FORMAT_FAILURE = 5;
+private:
+ volatile jboolean __attribute__((aligned(__alignof__( ::java::lang::Object)))) everUsed;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_logging_ErrorManager__
diff --git a/libjava/java/util/logging/FileHandler$ostr.h b/libjava/java/util/logging/FileHandler$ostr.h
new file mode 100644
index 0000000..e34a3db
--- /dev/null
+++ b/libjava/java/util/logging/FileHandler$ostr.h
@@ -0,0 +1,28 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_logging_FileHandler$ostr__
+#define __java_util_logging_FileHandler$ostr__
+
+#pragma interface
+
+#include <java/io/FilterOutputStream.h>
+#include <gcj/array.h>
+
+
+class java::util::logging::FileHandler$ostr : public ::java::io::FilterOutputStream
+{
+
+ FileHandler$ostr(::java::util::logging::FileHandler *, ::java::io::OutputStream *);
+public:
+ void write(jint);
+ void write(JArray< jbyte > *);
+ void write(JArray< jbyte > *, jint, jint);
+public: // actually package-private
+ FileHandler$ostr(::java::util::logging::FileHandler *, ::java::io::OutputStream *, ::java::util::logging::FileHandler$ostr *);
+ ::java::util::logging::FileHandler * __attribute__((aligned(__alignof__( ::java::io::FilterOutputStream)))) this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_logging_FileHandler$ostr__
diff --git a/libjava/java/util/logging/FileHandler.h b/libjava/java/util/logging/FileHandler.h
new file mode 100644
index 0000000..16feec2
--- /dev/null
+++ b/libjava/java/util/logging/FileHandler.h
@@ -0,0 +1,49 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_logging_FileHandler__
+#define __java_util_logging_FileHandler__
+
+#pragma interface
+
+#include <java/util/logging/StreamHandler.h>
+
+class java::util::logging::FileHandler : public ::java::util::logging::StreamHandler
+{
+
+public:
+ FileHandler();
+ FileHandler(::java::lang::String *);
+ FileHandler(::java::lang::String *, jboolean);
+ FileHandler(::java::lang::String *, jint, jint);
+ FileHandler(::java::lang::String *, jint, jint, jboolean);
+private:
+ ::java::io::OutputStream * createFileStream(::java::lang::String *, jint, jint, jboolean, jint);
+ static ::java::lang::String * replaceFileNameEscapes(::java::lang::String *, jint, jint, jint);
+public:
+ virtual void publish(::java::util::logging::LogRecord *);
+private:
+ void rotate();
+ static jboolean has(::java::lang::String *, jchar);
+ static ::java::lang::String * PROPERTY_PREFIX;
+ static ::java::lang::String * PATTERN_KEY;
+ static ::java::lang::String * DEFAULT_PATTERN;
+ static ::java::lang::String * LIMIT_KEY;
+ static const jint DEFAULT_LIMIT = 0;
+ static ::java::lang::String * COUNT_KEY;
+ static const jint DEFAULT_COUNT = 1;
+ static ::java::lang::String * APPEND_KEY;
+ static const jboolean DEFAULT_APPEND = 0;
+ jint __attribute__((aligned(__alignof__( ::java::util::logging::StreamHandler)))) limit;
+ jint count;
+ ::java::lang::String * pattern;
+ jboolean append;
+public: // actually package-private
+ jlong written;
+private:
+ ::java::util::LinkedList * logFiles;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_logging_FileHandler__
diff --git a/libjava/java/util/logging/Filter.h b/libjava/java/util/logging/Filter.h
new file mode 100644
index 0000000..23b8ca6
--- /dev/null
+++ b/libjava/java/util/logging/Filter.h
@@ -0,0 +1,19 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_logging_Filter__
+#define __java_util_logging_Filter__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::logging::Filter : public ::java::lang::Object
+{
+
+public:
+ virtual jboolean isLoggable(::java::util::logging::LogRecord *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_util_logging_Filter__
diff --git a/libjava/java/util/logging/Formatter.h b/libjava/java/util/logging/Formatter.h
new file mode 100644
index 0000000..def2245
--- /dev/null
+++ b/libjava/java/util/logging/Formatter.h
@@ -0,0 +1,24 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_logging_Formatter__
+#define __java_util_logging_Formatter__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::logging::Formatter : public ::java::lang::Object
+{
+
+public: // actually protected
+ Formatter();
+public:
+ virtual ::java::lang::String * format(::java::util::logging::LogRecord *) = 0;
+ virtual ::java::lang::String * getHead(::java::util::logging::Handler *);
+ virtual ::java::lang::String * getTail(::java::util::logging::Handler *);
+ virtual ::java::lang::String * formatMessage(::java::util::logging::LogRecord *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_logging_Formatter__
diff --git a/libjava/java/util/logging/Handler.h b/libjava/java/util/logging/Handler.h
new file mode 100644
index 0000000..2c722be
--- /dev/null
+++ b/libjava/java/util/logging/Handler.h
@@ -0,0 +1,44 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_logging_Handler__
+#define __java_util_logging_Handler__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::logging::Handler : public ::java::lang::Object
+{
+
+public: // actually protected
+ Handler();
+public:
+ virtual void publish(::java::util::logging::LogRecord *) = 0;
+ virtual void flush() = 0;
+ virtual void close() = 0;
+ virtual ::java::util::logging::Formatter * getFormatter();
+ virtual void setFormatter(::java::util::logging::Formatter *);
+ virtual ::java::lang::String * getEncoding();
+ virtual void setEncoding(::java::lang::String *);
+ virtual ::java::util::logging::Filter * getFilter();
+ virtual void setFilter(::java::util::logging::Filter *);
+ virtual ::java::util::logging::ErrorManager * getErrorManager();
+ virtual void setErrorManager(::java::util::logging::ErrorManager *);
+public: // actually protected
+ virtual void reportError(::java::lang::String *, ::java::lang::Exception *, jint);
+public:
+ virtual ::java::util::logging::Level * getLevel();
+ virtual void setLevel(::java::util::logging::Level *);
+ virtual jboolean isLoggable(::java::util::logging::LogRecord *);
+public: // actually package-private
+ ::java::util::logging::Formatter * __attribute__((aligned(__alignof__( ::java::lang::Object)))) formatter;
+ ::java::util::logging::Filter * filter;
+ ::java::util::logging::Level * level;
+ ::java::util::logging::ErrorManager * errorManager;
+ ::java::lang::String * encoding;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_logging_Handler__
diff --git a/libjava/java/util/logging/Level.h b/libjava/java/util/logging/Level.h
new file mode 100644
index 0000000..34f5160
--- /dev/null
+++ b/libjava/java/util/logging/Level.h
@@ -0,0 +1,53 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_logging_Level__
+#define __java_util_logging_Level__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+
+class java::util::logging::Level : public ::java::lang::Object
+{
+
+public: // actually protected
+ Level(::java::lang::String *, jint);
+ Level(::java::lang::String *, jint, ::java::lang::String *);
+private:
+ ::java::lang::Object * readResolve();
+public:
+ virtual ::java::lang::String * getResourceBundleName();
+ virtual ::java::lang::String * getName();
+ virtual ::java::lang::String * getLocalizedName();
+ virtual ::java::lang::String * toString();
+ virtual jint intValue();
+ static ::java::util::logging::Level * parse(::java::lang::String *);
+ virtual jboolean equals(::java::lang::Object *);
+ virtual jint hashCode();
+public: // actually package-private
+ virtual jboolean isStandardLevel();
+public:
+ static ::java::util::logging::Level * OFF;
+ static ::java::util::logging::Level * SEVERE;
+ static ::java::util::logging::Level * WARNING;
+ static ::java::util::logging::Level * INFO;
+ static ::java::util::logging::Level * CONFIG;
+ static ::java::util::logging::Level * FINE;
+ static ::java::util::logging::Level * FINER;
+ static ::java::util::logging::Level * FINEST;
+ static ::java::util::logging::Level * ALL;
+private:
+ static JArray< ::java::util::logging::Level * > * knownLevels;
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) name;
+ jint value;
+ ::java::lang::String * resourceBundleName;
+public: // actually package-private
+ static const jlong serialVersionUID = -8176160795706313070LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_logging_Level__
diff --git a/libjava/java/util/logging/LogManager$1.h b/libjava/java/util/logging/LogManager$1.h
new file mode 100644
index 0000000..1ef5738
--- /dev/null
+++ b/libjava/java/util/logging/LogManager$1.h
@@ -0,0 +1,24 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_logging_LogManager$1__
+#define __java_util_logging_LogManager$1__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::logging::LogManager$1 : public ::java::lang::Object
+{
+
+public: // actually package-private
+ LogManager$1();
+public:
+ ::java::lang::String * getLoggerLevel(::java::lang::String *);
+ ::java::util::List * getLoggerNames();
+ ::java::lang::String * getParentLoggerName(::java::lang::String *);
+ void setLoggerLevel(::java::lang::String *, ::java::lang::String *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_logging_LogManager$1__
diff --git a/libjava/java/util/logging/LogManager.h b/libjava/java/util/logging/LogManager.h
new file mode 100644
index 0000000..f552d65
--- /dev/null
+++ b/libjava/java/util/logging/LogManager.h
@@ -0,0 +1,77 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_logging_LogManager__
+#define __java_util_logging_LogManager__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace beans
+ {
+ class PropertyChangeListener;
+ class PropertyChangeSupport;
+ }
+ }
+}
+
+class java::util::logging::LogManager : public ::java::lang::Object
+{
+
+public: // actually protected
+ LogManager();
+public:
+ static ::java::util::logging::LogManager * getLogManager();
+private:
+ static ::java::util::logging::LogManager * makeLogManager();
+ static void initLogManager();
+public:
+ virtual void addPropertyChangeListener(::java::beans::PropertyChangeListener *);
+ virtual void removePropertyChangeListener(::java::beans::PropertyChangeListener *);
+ virtual jboolean addLogger(::java::util::logging::Logger *);
+private:
+ ::java::util::logging::Logger * findAncestor(::java::util::logging::Logger *);
+public:
+ virtual ::java::util::logging::Logger * getLogger(::java::lang::String *);
+ virtual ::java::util::Enumeration * getLoggerNames();
+ virtual void reset();
+ virtual void readConfiguration();
+ virtual void readConfiguration(::java::io::InputStream *);
+ virtual ::java::lang::String * getProperty(::java::lang::String *);
+public: // actually package-private
+ static jint getIntProperty(::java::lang::String *, jint);
+ static jint getIntPropertyClamped(::java::lang::String *, jint, jint, jint);
+ static jboolean getBooleanProperty(::java::lang::String *, jboolean);
+ static ::java::util::logging::Level * getLevelProperty(::java::lang::String *, ::java::util::logging::Level *);
+ static ::java::lang::Class * getClassProperty(::java::lang::String *, ::java::lang::Class *);
+ static ::java::lang::Object * getInstanceProperty(::java::lang::String *, ::java::lang::Class *, ::java::lang::Class *);
+public:
+ virtual void checkAccess();
+private:
+ static ::java::lang::Object * createInstance(::java::lang::String *, ::java::lang::Class *, ::java::lang::String *);
+ static void warn(::java::lang::String *, ::java::lang::String *, ::java::lang::Throwable *);
+ static void warn(::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
+ static void warn(::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::Throwable *);
+ static void warn(::java::lang::String *, ::java::lang::Throwable *);
+ static ::java::lang::Class * locateClass(::java::lang::String *);
+public:
+ static ::java::util::logging::LoggingMXBean * getLoggingMXBean();
+ static ::java::lang::String * LOGGING_MXBEAN_NAME;
+private:
+ static ::java::util::logging::LogManager * logManager;
+ static ::java::util::logging::LoggingMXBean * loggingBean;
+ ::java::util::Map * __attribute__((aligned(__alignof__( ::java::lang::Object)))) loggers;
+ ::java::util::Properties * properties;
+ ::java::beans::PropertyChangeSupport * pcs;
+ static ::java::lang::String * MANAGER_PROPERTY;
+ static ::java::lang::String * CONFIG_PROPERTY;
+ static ::java::util::logging::LoggingPermission * controlPermission;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_logging_LogManager__
diff --git a/libjava/java/util/logging/LogRecord.h b/libjava/java/util/logging/LogRecord.h
new file mode 100644
index 0000000..4454159
--- /dev/null
+++ b/libjava/java/util/logging/LogRecord.h
@@ -0,0 +1,70 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_logging_LogRecord__
+#define __java_util_logging_LogRecord__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+
+class java::util::logging::LogRecord : public ::java::lang::Object
+{
+
+public:
+ LogRecord(::java::util::logging::Level *, ::java::lang::String *);
+private:
+ void readObject(::java::io::ObjectInputStream *);
+ void writeObject(::java::io::ObjectOutputStream *);
+public:
+ virtual ::java::lang::String * getLoggerName();
+ virtual void setLoggerName(::java::lang::String *);
+ virtual ::java::util::ResourceBundle * getResourceBundle();
+ virtual void setResourceBundle(::java::util::ResourceBundle *);
+ virtual ::java::lang::String * getResourceBundleName();
+ virtual void setResourceBundleName(::java::lang::String *);
+ virtual ::java::util::logging::Level * getLevel();
+ virtual void setLevel(::java::util::logging::Level *);
+private:
+ static jlong allocateSeqNum();
+public:
+ virtual jlong getSequenceNumber();
+ virtual void setSequenceNumber(jlong);
+ virtual ::java::lang::String * getSourceClassName();
+ virtual void setSourceClassName(::java::lang::String *);
+ virtual ::java::lang::String * getSourceMethodName();
+ virtual void setSourceMethodName(::java::lang::String *);
+ virtual ::java::lang::String * getMessage();
+ virtual void setMessage(::java::lang::String *);
+ virtual JArray< ::java::lang::Object * > * getParameters();
+ virtual void setParameters(JArray< ::java::lang::Object * > *);
+ virtual jint getThreadID();
+ virtual void setThreadID(jint);
+ virtual jlong getMillis();
+ virtual void setMillis(jlong);
+ virtual ::java::lang::Throwable * getThrown();
+ virtual void setThrown(::java::lang::Throwable *);
+private:
+ ::java::util::logging::Level * __attribute__((aligned(__alignof__( ::java::lang::Object)))) level;
+ jlong sequenceNumber;
+ ::java::lang::String * sourceClassName;
+ ::java::lang::String * sourceMethodName;
+ ::java::lang::String * message;
+ jint threadID;
+ jlong millis;
+ ::java::lang::Throwable * thrown;
+ ::java::lang::String * loggerName;
+ ::java::lang::String * resourceBundleName;
+ JArray< ::java::lang::Object * > * parameters;
+ ::java::util::ResourceBundle * bundle;
+public: // actually package-private
+ static const jlong serialVersionUID = 5372048053134512534LL;
+private:
+ static jlong lastSeqNum;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_logging_LogRecord__
diff --git a/libjava/java/util/logging/Logger$1.h b/libjava/java/util/logging/Logger$1.h
new file mode 100644
index 0000000..1c1f3e8
--- /dev/null
+++ b/libjava/java/util/logging/Logger$1.h
@@ -0,0 +1,21 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_logging_Logger$1__
+#define __java_util_logging_Logger$1__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::logging::Logger$1 : public ::java::lang::Object
+{
+
+public: // actually package-private
+ Logger$1();
+public:
+ ::java::lang::Object * run();
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_logging_Logger$1__
diff --git a/libjava/java/util/logging/Logger.h b/libjava/java/util/logging/Logger.h
new file mode 100644
index 0000000..c73a8d3
--- /dev/null
+++ b/libjava/java/util/logging/Logger.h
@@ -0,0 +1,90 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_logging_Logger__
+#define __java_util_logging_Logger__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+
+class java::util::logging::Logger : public ::java::lang::Object
+{
+
+public: // actually protected
+ Logger(::java::lang::String *, ::java::lang::String *);
+public:
+ static ::java::util::logging::Logger * getLogger(::java::lang::String *);
+ static ::java::util::logging::Logger * getLogger(::java::lang::String *, ::java::lang::String *);
+ static ::java::util::logging::Logger * getAnonymousLogger();
+ static ::java::util::logging::Logger * getAnonymousLogger(::java::lang::String *);
+ virtual ::java::lang::String * getResourceBundleName();
+ virtual ::java::util::ResourceBundle * getResourceBundle();
+ virtual ::java::util::logging::Level * getLevel();
+ virtual jboolean isLoggable(::java::util::logging::Level *);
+ virtual void setLevel(::java::util::logging::Level *);
+ virtual ::java::util::logging::Filter * getFilter();
+ virtual void setFilter(::java::util::logging::Filter *);
+ virtual ::java::lang::String * getName();
+ virtual void log(::java::util::logging::LogRecord *);
+ virtual void log(::java::util::logging::Level *, ::java::lang::String *);
+ virtual void log(::java::util::logging::Level *, ::java::lang::String *, ::java::lang::Object *);
+ virtual void log(::java::util::logging::Level *, ::java::lang::String *, JArray< ::java::lang::Object * > *);
+ virtual void log(::java::util::logging::Level *, ::java::lang::String *, ::java::lang::Throwable *);
+ virtual void logp(::java::util::logging::Level *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
+ virtual void logp(::java::util::logging::Level *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::Object *);
+private:
+ ::java::util::ResourceBundle * findResourceBundle();
+ void logImpl(::java::util::logging::Level *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *, JArray< ::java::lang::Object * > *);
+public:
+ virtual void logp(::java::util::logging::Level *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *, JArray< ::java::lang::Object * > *);
+ virtual void logp(::java::util::logging::Level *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::Throwable *);
+ virtual void logrb(::java::util::logging::Level *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
+ virtual void logrb(::java::util::logging::Level *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::Object *);
+ virtual void logrb(::java::util::logging::Level *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *, JArray< ::java::lang::Object * > *);
+ virtual void logrb(::java::util::logging::Level *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::Throwable *);
+ virtual void entering(::java::lang::String *, ::java::lang::String *);
+ virtual void entering(::java::lang::String *, ::java::lang::String *, ::java::lang::Object *);
+ virtual void entering(::java::lang::String *, ::java::lang::String *, JArray< ::java::lang::Object * > *);
+ virtual void exiting(::java::lang::String *, ::java::lang::String *);
+ virtual void exiting(::java::lang::String *, ::java::lang::String *, ::java::lang::Object *);
+ virtual void throwing(::java::lang::String *, ::java::lang::String *, ::java::lang::Throwable *);
+ virtual void severe(::java::lang::String *);
+ virtual void warning(::java::lang::String *);
+ virtual void info(::java::lang::String *);
+ virtual void config(::java::lang::String *);
+ virtual void fine(::java::lang::String *);
+ virtual void finer(::java::lang::String *);
+ virtual void finest(::java::lang::String *);
+ virtual void addHandler(::java::util::logging::Handler *);
+ virtual void removeHandler(::java::util::logging::Handler *);
+ virtual JArray< ::java::util::logging::Handler * > * getHandlers();
+ virtual jboolean getUseParentHandlers();
+ virtual void setUseParentHandlers(jboolean);
+ virtual ::java::util::logging::Logger * getParent();
+ virtual void setParent(::java::util::logging::Logger *);
+private:
+ ::java::lang::StackTraceElement * getCallerStackFrame();
+public: // actually package-private
+ virtual void resetLogger();
+ static ::java::util::logging::Logger * root;
+public:
+ static ::java::util::logging::Logger * global;
+private:
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) name;
+ ::java::lang::String * resourceBundleName;
+ ::java::util::ResourceBundle * resourceBundle;
+ ::java::util::logging::Filter * filter;
+ ::java::util::List * handlerList;
+ JArray< ::java::util::logging::Handler * > * handlers;
+ jboolean anonymous;
+ jboolean useParentHandlers;
+ ::java::util::logging::Level * level;
+ ::java::util::logging::Logger * parent;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_logging_Logger__
diff --git a/libjava/java/util/logging/LoggingMXBean.h b/libjava/java/util/logging/LoggingMXBean.h
new file mode 100644
index 0000000..4bac932
--- /dev/null
+++ b/libjava/java/util/logging/LoggingMXBean.h
@@ -0,0 +1,22 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_logging_LoggingMXBean__
+#define __java_util_logging_LoggingMXBean__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::logging::LoggingMXBean : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::lang::String * getLoggerLevel(::java::lang::String *) = 0;
+ virtual ::java::util::List * getLoggerNames() = 0;
+ virtual ::java::lang::String * getParentLoggerName(::java::lang::String *) = 0;
+ virtual void setLoggerLevel(::java::lang::String *, ::java::lang::String *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_util_logging_LoggingMXBean__
diff --git a/libjava/java/util/logging/LoggingPermission.h b/libjava/java/util/logging/LoggingPermission.h
new file mode 100644
index 0000000..a3b803a
--- /dev/null
+++ b/libjava/java/util/logging/LoggingPermission.h
@@ -0,0 +1,22 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_logging_LoggingPermission__
+#define __java_util_logging_LoggingPermission__
+
+#pragma interface
+
+#include <java/security/BasicPermission.h>
+
+class java::util::logging::LoggingPermission : public ::java::security::BasicPermission
+{
+
+public:
+ LoggingPermission(::java::lang::String *, ::java::lang::String *);
+private:
+ static const jlong serialVersionUID = 63564341580231582LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_logging_LoggingPermission__
diff --git a/libjava/java/util/logging/MemoryHandler.h b/libjava/java/util/logging/MemoryHandler.h
new file mode 100644
index 0000000..4ce638a
--- /dev/null
+++ b/libjava/java/util/logging/MemoryHandler.h
@@ -0,0 +1,35 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_logging_MemoryHandler__
+#define __java_util_logging_MemoryHandler__
+
+#pragma interface
+
+#include <java/util/logging/Handler.h>
+#include <gcj/array.h>
+
+
+class java::util::logging::MemoryHandler : public ::java::util::logging::Handler
+{
+
+public:
+ MemoryHandler();
+ MemoryHandler(::java::util::logging::Handler *, jint, ::java::util::logging::Level *);
+ virtual void publish(::java::util::logging::LogRecord *);
+ virtual void push();
+ virtual void flush();
+ virtual void close();
+ virtual ::java::util::logging::Level * getPushLevel();
+ virtual void setPushLevel(::java::util::logging::Level *);
+private:
+ JArray< ::java::util::logging::LogRecord * > * __attribute__((aligned(__alignof__( ::java::util::logging::Handler)))) buffer;
+ jint position;
+ jint numPublished;
+ ::java::util::logging::Level * pushLevel;
+ ::java::util::logging::Handler * target;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_logging_MemoryHandler__
diff --git a/libjava/java/util/logging/SimpleFormatter.h b/libjava/java/util/logging/SimpleFormatter.h
new file mode 100644
index 0000000..6afece7
--- /dev/null
+++ b/libjava/java/util/logging/SimpleFormatter.h
@@ -0,0 +1,35 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_logging_SimpleFormatter__
+#define __java_util_logging_SimpleFormatter__
+
+#pragma interface
+
+#include <java/util/logging/Formatter.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace text
+ {
+ class DateFormat;
+ }
+ }
+}
+
+class java::util::logging::SimpleFormatter : public ::java::util::logging::Formatter
+{
+
+public:
+ SimpleFormatter();
+ virtual ::java::lang::String * format(::java::util::logging::LogRecord *);
+private:
+ ::java::text::DateFormat * __attribute__((aligned(__alignof__( ::java::util::logging::Formatter)))) dateFormat;
+public: // actually package-private
+ static ::java::lang::String * lineSep;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_logging_SimpleFormatter__
diff --git a/libjava/java/util/logging/SocketHandler.h b/libjava/java/util/logging/SocketHandler.h
new file mode 100644
index 0000000..8286f13
--- /dev/null
+++ b/libjava/java/util/logging/SocketHandler.h
@@ -0,0 +1,25 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_logging_SocketHandler__
+#define __java_util_logging_SocketHandler__
+
+#pragma interface
+
+#include <java/util/logging/StreamHandler.h>
+
+class java::util::logging::SocketHandler : public ::java::util::logging::StreamHandler
+{
+
+public:
+ SocketHandler();
+ SocketHandler(::java::lang::String *, jint);
+private:
+ static jint getPortNumber();
+ static ::java::io::OutputStream * createSocket(::java::lang::String *, jint);
+public:
+ virtual void publish(::java::util::logging::LogRecord *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_logging_SocketHandler__
diff --git a/libjava/java/util/logging/StreamHandler.h b/libjava/java/util/logging/StreamHandler.h
new file mode 100644
index 0000000..11dca98
--- /dev/null
+++ b/libjava/java/util/logging/StreamHandler.h
@@ -0,0 +1,43 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_logging_StreamHandler__
+#define __java_util_logging_StreamHandler__
+
+#pragma interface
+
+#include <java/util/logging/Handler.h>
+
+class java::util::logging::StreamHandler : public ::java::util::logging::Handler
+{
+
+public:
+ StreamHandler();
+ StreamHandler(::java::io::OutputStream *, ::java::util::logging::Formatter *);
+public: // actually package-private
+ StreamHandler(::java::io::OutputStream *, ::java::lang::String *, ::java::util::logging::Level *, ::java::util::logging::Formatter *, ::java::lang::Class *);
+private:
+ void checkOpen();
+ void checkFresh();
+ void changeWriter(::java::io::OutputStream *, ::java::lang::String *);
+public:
+ virtual void setEncoding(::java::lang::String *);
+public: // actually protected
+ virtual void setOutputStream(::java::io::OutputStream *);
+public:
+ virtual void publish(::java::util::logging::LogRecord *);
+ virtual jboolean isLoggable(::java::util::logging::LogRecord *);
+ virtual void flush();
+ virtual void close();
+private:
+ ::java::io::OutputStream * __attribute__((aligned(__alignof__( ::java::util::logging::Handler)))) out;
+ ::java::io::Writer * writer;
+ jint streamState;
+ static const jint STATE_FRESH = 0;
+ static const jint STATE_PUBLISHED = 1;
+ static const jint STATE_CLOSED = 2;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_logging_StreamHandler__
diff --git a/libjava/java/util/logging/XMLFormatter.h b/libjava/java/util/logging/XMLFormatter.h
new file mode 100644
index 0000000..48a585d
--- /dev/null
+++ b/libjava/java/util/logging/XMLFormatter.h
@@ -0,0 +1,40 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_logging_XMLFormatter__
+#define __java_util_logging_XMLFormatter__
+
+#pragma interface
+
+#include <java/util/logging/Formatter.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace text
+ {
+ class SimpleDateFormat;
+ }
+ }
+}
+
+class java::util::logging::XMLFormatter : public ::java::util::logging::Formatter
+{
+
+public:
+ XMLFormatter();
+private:
+ static void appendTag(::java::lang::StringBuffer *, jint, ::java::lang::String *, ::java::lang::String *);
+ static void appendTag(::java::lang::StringBuffer *, jint, ::java::lang::String *, jlong);
+public:
+ virtual ::java::lang::String * format(::java::util::logging::LogRecord *);
+ virtual ::java::lang::String * getHead(::java::util::logging::Handler *);
+ virtual ::java::lang::String * getTail(::java::util::logging::Handler *);
+private:
+ static ::java::lang::String * lineSep;
+ ::java::text::SimpleDateFormat * __attribute__((aligned(__alignof__( ::java::util::logging::Formatter)))) iso8601;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_logging_XMLFormatter__
diff --git a/libjava/java/util/natResourceBundle.cc b/libjava/java/util/natResourceBundle.cc
deleted file mode 100644
index e8d4fb4f..0000000
--- a/libjava/java/util/natResourceBundle.cc
+++ /dev/null
@@ -1,29 +0,0 @@
-/* Copyright (C) 2002, 2003, 2005 Free Software Foundation
-
- This file is part of libgcj.
-
-This software is copyrighted work licensed under the terms of the
-Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
-details. */
-
-// Written by Tom Tromey <tromey@redhat.com>
-
-#include <config.h>
-
-#include <gcj/cni.h>
-#include <jvm.h>
-#include <java-stack.h>
-#include <java/util/ResourceBundle.h>
-#include <java/lang/ClassLoader.h>
-#include <java/lang/Class.h>
-
-using namespace java::lang;
-
-java::lang::ClassLoader *
-java::util::ResourceBundle::getCallingClassLoader ()
-{
- jclass caller = _Jv_StackTrace::GetCallingClass (&ResourceBundle::class$);
- if (caller)
- return caller->getClassLoaderInternal();
- return NULL;
-}
diff --git a/libjava/java/util/prefs/AbstractPreferences$1.h b/libjava/java/util/prefs/AbstractPreferences$1.h
new file mode 100644
index 0000000..97c3f53
--- /dev/null
+++ b/libjava/java/util/prefs/AbstractPreferences$1.h
@@ -0,0 +1,27 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_prefs_AbstractPreferences$1__
+#define __java_util_prefs_AbstractPreferences$1__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::prefs::AbstractPreferences$1 : public ::java::lang::Object
+{
+
+public: // actually package-private
+ AbstractPreferences$1(::java::util::prefs::AbstractPreferences *, ::java::util::prefs::PreferenceChangeListener *, ::java::util::prefs::PreferenceChangeEvent *);
+public:
+ void run();
+public: // actually package-private
+ ::java::util::prefs::AbstractPreferences * __attribute__((aligned(__alignof__( ::java::lang::Object)))) this$0;
+private:
+ ::java::util::prefs::PreferenceChangeListener * val$l;
+ ::java::util::prefs::PreferenceChangeEvent * val$event;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_prefs_AbstractPreferences$1__
diff --git a/libjava/java/util/prefs/AbstractPreferences$2.h b/libjava/java/util/prefs/AbstractPreferences$2.h
new file mode 100644
index 0000000..45378c5
--- /dev/null
+++ b/libjava/java/util/prefs/AbstractPreferences$2.h
@@ -0,0 +1,28 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_prefs_AbstractPreferences$2__
+#define __java_util_prefs_AbstractPreferences$2__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::prefs::AbstractPreferences$2 : public ::java::lang::Object
+{
+
+public: // actually package-private
+ AbstractPreferences$2(::java::util::prefs::AbstractPreferences *, jboolean, ::java::util::prefs::NodeChangeListener *, ::java::util::prefs::NodeChangeEvent *);
+public:
+ void run();
+public: // actually package-private
+ ::java::util::prefs::AbstractPreferences * __attribute__((aligned(__alignof__( ::java::lang::Object)))) this$0;
+private:
+ jboolean val$added;
+ ::java::util::prefs::NodeChangeListener * val$l;
+ ::java::util::prefs::NodeChangeEvent * val$event;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_prefs_AbstractPreferences$2__
diff --git a/libjava/java/util/prefs/AbstractPreferences.h b/libjava/java/util/prefs/AbstractPreferences.h
new file mode 100644
index 0000000..a4e3a02
--- /dev/null
+++ b/libjava/java/util/prefs/AbstractPreferences.h
@@ -0,0 +1,106 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_prefs_AbstractPreferences__
+#define __java_util_prefs_AbstractPreferences__
+
+#pragma interface
+
+#include <java/util/prefs/Preferences.h>
+#include <gcj/array.h>
+
+
+class java::util::prefs::AbstractPreferences : public ::java::util::prefs::Preferences
+{
+
+public: // actually protected
+ AbstractPreferences(::java::util::prefs::AbstractPreferences *, ::java::lang::String *);
+public:
+ virtual ::java::lang::String * absolutePath();
+private:
+ ::java::lang::String * path();
+public:
+ virtual jboolean isUserNode();
+ virtual ::java::lang::String * name();
+ virtual ::java::lang::String * toString();
+public: // actually protected
+ virtual JArray< ::java::util::prefs::AbstractPreferences * > * cachedChildren();
+public:
+ virtual JArray< ::java::lang::String * > * childrenNames();
+ virtual ::java::util::prefs::Preferences * node(::java::lang::String *);
+private:
+ ::java::util::prefs::Preferences * getNode(::java::lang::String *);
+public:
+ virtual jboolean nodeExists(::java::lang::String *);
+private:
+ jboolean existsNode(::java::lang::String *);
+public: // actually protected
+ virtual ::java::util::prefs::AbstractPreferences * getChild(::java::lang::String *);
+ virtual jboolean isRemoved();
+public:
+ virtual ::java::util::prefs::Preferences * parent();
+ virtual void exportNode(::java::io::OutputStream *);
+ virtual void exportSubtree(::java::io::OutputStream *);
+ virtual JArray< ::java::lang::String * > * keys();
+ virtual ::java::lang::String * get(::java::lang::String *, ::java::lang::String *);
+ virtual jboolean getBoolean(::java::lang::String *, jboolean);
+ virtual JArray< jbyte > * getByteArray(::java::lang::String *, JArray< jbyte > *);
+private:
+ static JArray< jbyte > * decode64(::java::lang::String *);
+public:
+ virtual jdouble getDouble(::java::lang::String *, jdouble);
+ virtual jfloat getFloat(::java::lang::String *, jfloat);
+ virtual jint getInt(::java::lang::String *, jint);
+ virtual jlong getLong(::java::lang::String *, jlong);
+ virtual void put(::java::lang::String *, ::java::lang::String *);
+ virtual void putBoolean(::java::lang::String *, jboolean);
+ virtual void putByteArray(::java::lang::String *, JArray< jbyte > *);
+private:
+ static ::java::lang::String * encode64(JArray< jbyte > *);
+public:
+ virtual void putDouble(::java::lang::String *, jdouble);
+ virtual void putFloat(::java::lang::String *, jfloat);
+ virtual void putInt(::java::lang::String *, jint);
+ virtual void putLong(::java::lang::String *, jlong);
+ virtual void remove(::java::lang::String *);
+ virtual void clear();
+ virtual void flush();
+ virtual void sync();
+private:
+ void flushNode(jboolean);
+public:
+ virtual void removeNode();
+private:
+ void purge();
+public:
+ virtual void addNodeChangeListener(::java::util::prefs::NodeChangeListener *);
+ virtual void addPreferenceChangeListener(::java::util::prefs::PreferenceChangeListener *);
+ virtual void removeNodeChangeListener(::java::util::prefs::NodeChangeListener *);
+ virtual void removePreferenceChangeListener(::java::util::prefs::PreferenceChangeListener *);
+private:
+ void fire(::java::util::prefs::PreferenceChangeEvent *);
+ void fire(::java::util::prefs::NodeChangeEvent *, jboolean);
+public: // actually protected
+ virtual JArray< ::java::lang::String * > * childrenNamesSpi() = 0;
+ virtual ::java::util::prefs::AbstractPreferences * childSpi(::java::lang::String *) = 0;
+ virtual JArray< ::java::lang::String * > * keysSpi() = 0;
+ virtual ::java::lang::String * getSpi(::java::lang::String *) = 0;
+ virtual void putSpi(::java::lang::String *, ::java::lang::String *) = 0;
+ virtual void removeSpi(::java::lang::String *) = 0;
+ virtual void flushSpi() = 0;
+ virtual void syncSpi() = 0;
+ virtual void removeNodeSpi() = 0;
+ ::java::lang::Object * __attribute__((aligned(__alignof__( ::java::util::prefs::Preferences)))) lock;
+ jboolean newNode;
+private:
+ ::java::util::prefs::AbstractPreferences * parent__;
+ ::java::lang::String * name__;
+ jboolean removed;
+ ::java::util::HashMap * childCache;
+ ::java::util::ArrayList * nodeListeners;
+ ::java::util::ArrayList * preferenceListeners;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_prefs_AbstractPreferences__
diff --git a/libjava/java/util/prefs/BackingStoreException.h b/libjava/java/util/prefs/BackingStoreException.h
new file mode 100644
index 0000000..a685138
--- /dev/null
+++ b/libjava/java/util/prefs/BackingStoreException.h
@@ -0,0 +1,26 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_prefs_BackingStoreException__
+#define __java_util_prefs_BackingStoreException__
+
+#pragma interface
+
+#include <java/lang/Exception.h>
+
+class java::util::prefs::BackingStoreException : public ::java::lang::Exception
+{
+
+public:
+ BackingStoreException(::java::lang::String *);
+ BackingStoreException(::java::lang::Throwable *);
+private:
+ void writeObject(::java::io::ObjectOutputStream *);
+ void readObject(::java::io::ObjectInputStream *);
+public: // actually package-private
+ static const jlong serialVersionUID = 859796500401108469LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_prefs_BackingStoreException__
diff --git a/libjava/java/util/prefs/InvalidPreferencesFormatException.h b/libjava/java/util/prefs/InvalidPreferencesFormatException.h
new file mode 100644
index 0000000..dd81f5dc
--- /dev/null
+++ b/libjava/java/util/prefs/InvalidPreferencesFormatException.h
@@ -0,0 +1,27 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_prefs_InvalidPreferencesFormatException__
+#define __java_util_prefs_InvalidPreferencesFormatException__
+
+#pragma interface
+
+#include <java/lang/Exception.h>
+
+class java::util::prefs::InvalidPreferencesFormatException : public ::java::lang::Exception
+{
+
+public:
+ InvalidPreferencesFormatException(::java::lang::String *);
+ InvalidPreferencesFormatException(::java::lang::Throwable *);
+ InvalidPreferencesFormatException(::java::lang::String *, ::java::lang::Throwable *);
+private:
+ void writeObject(::java::io::ObjectOutputStream *);
+ void readObject(::java::io::ObjectInputStream *);
+public: // actually package-private
+ static const jlong serialVersionUID = -791715184232119669LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_prefs_InvalidPreferencesFormatException__
diff --git a/libjava/java/util/prefs/NodeChangeEvent.h b/libjava/java/util/prefs/NodeChangeEvent.h
new file mode 100644
index 0000000..7a51b70
--- /dev/null
+++ b/libjava/java/util/prefs/NodeChangeEvent.h
@@ -0,0 +1,27 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_prefs_NodeChangeEvent__
+#define __java_util_prefs_NodeChangeEvent__
+
+#pragma interface
+
+#include <java/util/EventObject.h>
+
+class java::util::prefs::NodeChangeEvent : public ::java::util::EventObject
+{
+
+public:
+ NodeChangeEvent(::java::util::prefs::Preferences *, ::java::util::prefs::Preferences *);
+ virtual ::java::util::prefs::Preferences * getParent();
+ virtual ::java::util::prefs::Preferences * getChild();
+private:
+ void readObject(::java::io::ObjectInputStream *);
+ void writeObject(::java::io::ObjectOutputStream *);
+ static const jlong serialVersionUID = 8068949086596572957LL;
+ ::java::util::prefs::Preferences * __attribute__((aligned(__alignof__( ::java::util::EventObject)))) child;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_prefs_NodeChangeEvent__
diff --git a/libjava/java/util/prefs/NodeChangeListener.h b/libjava/java/util/prefs/NodeChangeListener.h
new file mode 100644
index 0000000..2ad05d6
--- /dev/null
+++ b/libjava/java/util/prefs/NodeChangeListener.h
@@ -0,0 +1,20 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_prefs_NodeChangeListener__
+#define __java_util_prefs_NodeChangeListener__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::prefs::NodeChangeListener : public ::java::lang::Object
+{
+
+public:
+ virtual void childAdded(::java::util::prefs::NodeChangeEvent *) = 0;
+ virtual void childRemoved(::java::util::prefs::NodeChangeEvent *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_util_prefs_NodeChangeListener__
diff --git a/libjava/java/util/prefs/PreferenceChangeEvent.h b/libjava/java/util/prefs/PreferenceChangeEvent.h
new file mode 100644
index 0000000..790a957
--- /dev/null
+++ b/libjava/java/util/prefs/PreferenceChangeEvent.h
@@ -0,0 +1,29 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_prefs_PreferenceChangeEvent__
+#define __java_util_prefs_PreferenceChangeEvent__
+
+#pragma interface
+
+#include <java/util/EventObject.h>
+
+class java::util::prefs::PreferenceChangeEvent : public ::java::util::EventObject
+{
+
+public:
+ PreferenceChangeEvent(::java::util::prefs::Preferences *, ::java::lang::String *, ::java::lang::String *);
+ virtual ::java::util::prefs::Preferences * getNode();
+ virtual ::java::lang::String * getKey();
+ virtual ::java::lang::String * getNewValue();
+private:
+ void readObject(::java::io::ObjectInputStream *);
+ void writeObject(::java::io::ObjectOutputStream *);
+ static const jlong serialVersionUID = 793724513368024975LL;
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::util::EventObject)))) key;
+ ::java::lang::String * newValue;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_prefs_PreferenceChangeEvent__
diff --git a/libjava/java/util/prefs/PreferenceChangeListener.h b/libjava/java/util/prefs/PreferenceChangeListener.h
new file mode 100644
index 0000000..d450a31b
--- /dev/null
+++ b/libjava/java/util/prefs/PreferenceChangeListener.h
@@ -0,0 +1,19 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_prefs_PreferenceChangeListener__
+#define __java_util_prefs_PreferenceChangeListener__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::prefs::PreferenceChangeListener : public ::java::lang::Object
+{
+
+public:
+ virtual void preferenceChange(::java::util::prefs::PreferenceChangeEvent *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_util_prefs_PreferenceChangeListener__
diff --git a/libjava/java/util/prefs/Preferences$1.h b/libjava/java/util/prefs/Preferences$1.h
new file mode 100644
index 0000000..09a3f1c
--- /dev/null
+++ b/libjava/java/util/prefs/Preferences$1.h
@@ -0,0 +1,21 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_prefs_Preferences$1__
+#define __java_util_prefs_Preferences$1__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::prefs::Preferences$1 : public ::java::lang::Object
+{
+
+public: // actually package-private
+ Preferences$1();
+public:
+ ::java::lang::Object * run();
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_prefs_Preferences$1__
diff --git a/libjava/java/util/prefs/Preferences.h b/libjava/java/util/prefs/Preferences.h
new file mode 100644
index 0000000..b19a0344
--- /dev/null
+++ b/libjava/java/util/prefs/Preferences.h
@@ -0,0 +1,85 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_prefs_Preferences__
+#define __java_util_prefs_Preferences__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace security
+ {
+ class Permission;
+ }
+ }
+}
+
+class java::util::prefs::Preferences : public ::java::lang::Object
+{
+
+public: // actually protected
+ Preferences();
+public:
+ static ::java::util::prefs::Preferences * systemRoot();
+ static ::java::util::prefs::Preferences * userRoot();
+private:
+ static ::java::util::prefs::PreferencesFactory * getFactory();
+public:
+ static ::java::util::prefs::Preferences * systemNodeForPackage(::java::lang::Class *);
+ static ::java::util::prefs::Preferences * userNodeForPackage(::java::lang::Class *);
+private:
+ static ::java::util::prefs::Preferences * nodeForPackage(::java::lang::Class *, ::java::util::prefs::Preferences *);
+public:
+ static void importPreferences(::java::io::InputStream *);
+ virtual ::java::lang::String * absolutePath() = 0;
+ virtual jboolean isUserNode() = 0;
+ virtual ::java::lang::String * name() = 0;
+ virtual ::java::lang::String * toString() = 0;
+ virtual JArray< ::java::lang::String * > * childrenNames() = 0;
+ virtual ::java::util::prefs::Preferences * node(::java::lang::String *) = 0;
+ virtual jboolean nodeExists(::java::lang::String *) = 0;
+ virtual ::java::util::prefs::Preferences * parent() = 0;
+ virtual void exportNode(::java::io::OutputStream *) = 0;
+ virtual void exportSubtree(::java::io::OutputStream *) = 0;
+ virtual JArray< ::java::lang::String * > * keys() = 0;
+ virtual ::java::lang::String * get(::java::lang::String *, ::java::lang::String *) = 0;
+ virtual jboolean getBoolean(::java::lang::String *, jboolean) = 0;
+ virtual JArray< jbyte > * getByteArray(::java::lang::String *, JArray< jbyte > *) = 0;
+ virtual jdouble getDouble(::java::lang::String *, jdouble) = 0;
+ virtual jfloat getFloat(::java::lang::String *, jfloat) = 0;
+ virtual jint getInt(::java::lang::String *, jint) = 0;
+ virtual jlong getLong(::java::lang::String *, jlong) = 0;
+ virtual void put(::java::lang::String *, ::java::lang::String *) = 0;
+ virtual void putBoolean(::java::lang::String *, jboolean) = 0;
+ virtual void putByteArray(::java::lang::String *, JArray< jbyte > *) = 0;
+ virtual void putDouble(::java::lang::String *, jdouble) = 0;
+ virtual void putFloat(::java::lang::String *, jfloat) = 0;
+ virtual void putInt(::java::lang::String *, jint) = 0;
+ virtual void putLong(::java::lang::String *, jlong) = 0;
+ virtual void remove(::java::lang::String *) = 0;
+ virtual void clear() = 0;
+ virtual void flush() = 0;
+ virtual void sync() = 0;
+ virtual void removeNode() = 0;
+ virtual void addNodeChangeListener(::java::util::prefs::NodeChangeListener *) = 0;
+ virtual void addPreferenceChangeListener(::java::util::prefs::PreferenceChangeListener *) = 0;
+ virtual void removeNodeChangeListener(::java::util::prefs::NodeChangeListener *) = 0;
+ virtual void removePreferenceChangeListener(::java::util::prefs::PreferenceChangeListener *) = 0;
+private:
+ static ::java::lang::String * defaultFactoryClass;
+ static ::java::security::Permission * prefsPermission;
+ static ::java::util::prefs::PreferencesFactory * factory;
+public:
+ static const jint MAX_NAME_LENGTH = 80;
+ static const jint MAX_KEY_LENGTH = 80;
+ static const jint MAX_VALUE_LENGTH = 8192;
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_prefs_Preferences__
diff --git a/libjava/java/util/prefs/PreferencesFactory.h b/libjava/java/util/prefs/PreferencesFactory.h
new file mode 100644
index 0000000..40207d4
--- /dev/null
+++ b/libjava/java/util/prefs/PreferencesFactory.h
@@ -0,0 +1,20 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_prefs_PreferencesFactory__
+#define __java_util_prefs_PreferencesFactory__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::prefs::PreferencesFactory : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::util::prefs::Preferences * systemRoot() = 0;
+ virtual ::java::util::prefs::Preferences * userRoot() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_util_prefs_PreferencesFactory__
diff --git a/libjava/java/util/regex/MatchResult.h b/libjava/java/util/regex/MatchResult.h
new file mode 100644
index 0000000..6b6acf8
--- /dev/null
+++ b/libjava/java/util/regex/MatchResult.h
@@ -0,0 +1,25 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_regex_MatchResult__
+#define __java_util_regex_MatchResult__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::regex::MatchResult : public ::java::lang::Object
+{
+
+public:
+ virtual jint end() = 0;
+ virtual jint end(jint) = 0;
+ virtual ::java::lang::String * group() = 0;
+ virtual ::java::lang::String * group(jint) = 0;
+ virtual jint groupCount() = 0;
+ virtual jint start() = 0;
+ virtual jint start(jint) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_util_regex_MatchResult__
diff --git a/libjava/java/util/regex/Matcher.h b/libjava/java/util/regex/Matcher.h
new file mode 100644
index 0000000..35cd1c1
--- /dev/null
+++ b/libjava/java/util/regex/Matcher.h
@@ -0,0 +1,66 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_regex_Matcher__
+#define __java_util_regex_Matcher__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace util
+ {
+ namespace regex
+ {
+ class CharIndexed;
+ class REMatch;
+ }
+ }
+ }
+ }
+}
+
+class java::util::regex::Matcher : public ::java::lang::Object
+{
+
+public: // actually package-private
+ Matcher(::java::util::regex::Pattern *, ::java::lang::CharSequence *);
+public:
+ ::java::util::regex::Matcher * appendReplacement(::java::lang::StringBuffer *, ::java::lang::String *);
+ ::java::lang::StringBuffer * appendTail(::java::lang::StringBuffer *);
+ jint end();
+ jint end(jint);
+ jboolean find();
+ jboolean find(jint);
+ ::java::lang::String * group();
+ ::java::lang::String * group(jint);
+ ::java::lang::String * replaceFirst(::java::lang::String *);
+ ::java::lang::String * replaceAll(::java::lang::String *);
+ jint groupCount();
+ jboolean lookingAt();
+ jboolean matches();
+ ::java::util::regex::Pattern * pattern();
+ ::java::util::regex::Matcher * reset();
+ ::java::util::regex::Matcher * reset(::java::lang::CharSequence *);
+ jint start();
+ jint start(jint);
+ jboolean hitEnd();
+ ::java::lang::String * toString();
+private:
+ void assertMatchOp();
+ ::java::util::regex::Pattern * __attribute__((aligned(__alignof__( ::java::lang::Object)))) pattern__;
+ ::java::lang::CharSequence * input;
+ ::gnu::java::util::regex::CharIndexed * inputCharIndexed;
+ jint position;
+ jint appendPosition;
+ ::gnu::java::util::regex::REMatch * match;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_regex_Matcher__
diff --git a/libjava/java/util/regex/Pattern.h b/libjava/java/util/regex/Pattern.h
new file mode 100644
index 0000000..7bfc275
--- /dev/null
+++ b/libjava/java/util/regex/Pattern.h
@@ -0,0 +1,62 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_regex_Pattern__
+#define __java_util_regex_Pattern__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace util
+ {
+ namespace regex
+ {
+ class RE;
+ }
+ }
+ }
+ }
+}
+
+class java::util::regex::Pattern : public ::java::lang::Object
+{
+
+ Pattern(::java::lang::String *, jint);
+public: // actually package-private
+ ::gnu::java::util::regex::RE * getRE();
+public:
+ static ::java::util::regex::Pattern * compile(::java::lang::String *);
+ static ::java::util::regex::Pattern * compile(::java::lang::String *, jint);
+ jint flags();
+ static jboolean matches(::java::lang::String *, ::java::lang::CharSequence *);
+ ::java::util::regex::Matcher * matcher(::java::lang::CharSequence *);
+ JArray< ::java::lang::String * > * split(::java::lang::CharSequence *);
+ JArray< ::java::lang::String * > * split(::java::lang::CharSequence *, jint);
+ ::java::lang::String * pattern();
+private:
+ static const jlong serialVersionUID = 5073258162644648461LL;
+public:
+ static const jint CANON_EQ = 128;
+ static const jint CASE_INSENSITIVE = 2;
+ static const jint COMMENTS = 4;
+ static const jint DOTALL = 32;
+ static const jint MULTILINE = 8;
+ static const jint UNICODE_CASE = 64;
+ static const jint UNIX_LINES = 1;
+private:
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) regex;
+ jint flags__;
+ ::gnu::java::util::regex::RE * re;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_regex_Pattern__
diff --git a/libjava/java/util/regex/PatternSyntaxException.h b/libjava/java/util/regex/PatternSyntaxException.h
new file mode 100644
index 0000000..670549a
--- /dev/null
+++ b/libjava/java/util/regex/PatternSyntaxException.h
@@ -0,0 +1,29 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_regex_PatternSyntaxException__
+#define __java_util_regex_PatternSyntaxException__
+
+#pragma interface
+
+#include <java/lang/IllegalArgumentException.h>
+
+class java::util::regex::PatternSyntaxException : public ::java::lang::IllegalArgumentException
+{
+
+public:
+ PatternSyntaxException(::java::lang::String *, ::java::lang::String *, jint);
+ virtual ::java::lang::String * getDescription();
+ virtual ::java::lang::String * getPattern();
+ virtual jint getIndex();
+ virtual ::java::lang::String * getMessage();
+private:
+ static const jlong serialVersionUID = -3864639126226059218LL;
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::IllegalArgumentException)))) desc;
+ ::java::lang::String * pattern;
+ jint index;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_regex_PatternSyntaxException__
diff --git a/libjava/java/util/zip/Adler32.h b/libjava/java/util/zip/Adler32.h
new file mode 100644
index 0000000..ebd8e33
--- /dev/null
+++ b/libjava/java/util/zip/Adler32.h
@@ -0,0 +1,30 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_zip_Adler32__
+#define __java_util_zip_Adler32__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+
+class java::util::zip::Adler32 : public ::java::lang::Object
+{
+
+public:
+ Adler32();
+ virtual void reset();
+ virtual void update(jint);
+ virtual void update(JArray< jbyte > *);
+ virtual void update(JArray< jbyte > *, jint, jint);
+ virtual jlong getValue();
+private:
+ static const jint BASE = 65521;
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) checksum;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_zip_Adler32__
diff --git a/libjava/java/util/zip/CRC32.h b/libjava/java/util/zip/CRC32.h
new file mode 100644
index 0000000..af515fc
--- /dev/null
+++ b/libjava/java/util/zip/CRC32.h
@@ -0,0 +1,33 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_zip_CRC32__
+#define __java_util_zip_CRC32__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+
+class java::util::zip::CRC32 : public ::java::lang::Object
+{
+
+public:
+ CRC32();
+private:
+ static JArray< jint > * make_crc_table();
+public:
+ virtual jlong getValue();
+ virtual void reset();
+ virtual void update(jint);
+ virtual void update(JArray< jbyte > *, jint, jint);
+ virtual void update(JArray< jbyte > *);
+private:
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) crc;
+ static JArray< jint > * crc_table;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_zip_CRC32__
diff --git a/libjava/java/util/zip/CheckedInputStream.h b/libjava/java/util/zip/CheckedInputStream.h
new file mode 100644
index 0000000..d9e80ab
--- /dev/null
+++ b/libjava/java/util/zip/CheckedInputStream.h
@@ -0,0 +1,28 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_zip_CheckedInputStream__
+#define __java_util_zip_CheckedInputStream__
+
+#pragma interface
+
+#include <java/io/FilterInputStream.h>
+#include <gcj/array.h>
+
+
+class java::util::zip::CheckedInputStream : public ::java::io::FilterInputStream
+{
+
+public:
+ CheckedInputStream(::java::io::InputStream *, ::java::util::zip::Checksum *);
+ virtual ::java::util::zip::Checksum * getChecksum();
+ virtual jint read();
+ virtual jint read(JArray< jbyte > *, jint, jint);
+ virtual jlong skip(jlong);
+private:
+ ::java::util::zip::Checksum * __attribute__((aligned(__alignof__( ::java::io::FilterInputStream)))) sum;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_zip_CheckedInputStream__
diff --git a/libjava/java/util/zip/CheckedOutputStream.h b/libjava/java/util/zip/CheckedOutputStream.h
new file mode 100644
index 0000000..5cf53c9
--- /dev/null
+++ b/libjava/java/util/zip/CheckedOutputStream.h
@@ -0,0 +1,27 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_zip_CheckedOutputStream__
+#define __java_util_zip_CheckedOutputStream__
+
+#pragma interface
+
+#include <java/io/FilterOutputStream.h>
+#include <gcj/array.h>
+
+
+class java::util::zip::CheckedOutputStream : public ::java::io::FilterOutputStream
+{
+
+public:
+ CheckedOutputStream(::java::io::OutputStream *, ::java::util::zip::Checksum *);
+ virtual ::java::util::zip::Checksum * getChecksum();
+ virtual void write(jint);
+ virtual void write(JArray< jbyte > *, jint, jint);
+private:
+ ::java::util::zip::Checksum * __attribute__((aligned(__alignof__( ::java::io::FilterOutputStream)))) sum;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_zip_CheckedOutputStream__
diff --git a/libjava/java/util/zip/Checksum.h b/libjava/java/util/zip/Checksum.h
new file mode 100644
index 0000000..66ab907
--- /dev/null
+++ b/libjava/java/util/zip/Checksum.h
@@ -0,0 +1,24 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_zip_Checksum__
+#define __java_util_zip_Checksum__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+
+class java::util::zip::Checksum : public ::java::lang::Object
+{
+
+public:
+ virtual jlong getValue() = 0;
+ virtual void reset() = 0;
+ virtual void update(jint) = 0;
+ virtual void update(JArray< jbyte > *, jint, jint) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_util_zip_Checksum__
diff --git a/libjava/java/util/zip/DataFormatException.h b/libjava/java/util/zip/DataFormatException.h
new file mode 100644
index 0000000..5ebfbcf
--- /dev/null
+++ b/libjava/java/util/zip/DataFormatException.h
@@ -0,0 +1,23 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_zip_DataFormatException__
+#define __java_util_zip_DataFormatException__
+
+#pragma interface
+
+#include <java/lang/Exception.h>
+
+class java::util::zip::DataFormatException : public ::java::lang::Exception
+{
+
+public:
+ DataFormatException();
+ DataFormatException(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = 2219632870893641452LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_zip_DataFormatException__
diff --git a/libjava/java/util/zip/Deflater.h b/libjava/java/util/zip/Deflater.h
new file mode 100644
index 0000000..61d2189
--- /dev/null
+++ b/libjava/java/util/zip/Deflater.h
@@ -0,0 +1,76 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_zip_Deflater__
+#define __java_util_zip_Deflater__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace gcj
+ {
+ class RawData;
+ }
+ }
+}
+
+class java::util::zip::Deflater : public ::java::lang::Object
+{
+
+public:
+ Deflater();
+ Deflater(jint);
+ Deflater(jint, jboolean);
+private:
+ void init(jint, jboolean);
+ void update();
+public:
+ virtual void reset();
+ virtual void end();
+ virtual jint getAdler();
+ virtual jint getTotalIn();
+ virtual jlong getBytesRead();
+ virtual jint getTotalOut();
+ virtual jlong getBytesWritten();
+public: // actually protected
+ virtual void finalize();
+public:
+ virtual void finish();
+ virtual jboolean finished();
+ virtual jboolean needsInput();
+ virtual void setInput(JArray< jbyte > *);
+ virtual void setInput(JArray< jbyte > *, jint, jint);
+ virtual void setLevel(jint);
+ virtual void setStrategy(jint);
+ virtual jint deflate(JArray< jbyte > *);
+ virtual jint deflate(JArray< jbyte > *, jint, jint);
+ virtual void setDictionary(JArray< jbyte > *);
+ virtual void setDictionary(JArray< jbyte > *, jint, jint);
+public: // actually package-private
+ virtual void flush();
+public:
+ static const jint BEST_COMPRESSION = 9;
+ static const jint BEST_SPEED = 1;
+ static const jint DEFAULT_COMPRESSION = -1;
+ static const jint NO_COMPRESSION = 0;
+ static const jint DEFAULT_STRATEGY = 0;
+ static const jint FILTERED = 1;
+ static const jint HUFFMAN_ONLY = 2;
+ static const jint DEFLATED = 8;
+private:
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) level;
+ jint strategy;
+ ::gnu::gcj::RawData * zstream;
+ jboolean is_finished;
+ jint flush_flag;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_zip_Deflater__
diff --git a/libjava/java/util/zip/Deflater.java b/libjava/java/util/zip/Deflater.java
index 8ac8a34..47383ab 100644
--- a/libjava/java/util/zip/Deflater.java
+++ b/libjava/java/util/zip/Deflater.java
@@ -174,12 +174,32 @@ public class Deflater
/**
* Gets the number of input bytes processed so far.
*/
- public native int getTotalIn();
+ @Deprecated
+ public int getTotalIn()
+ {
+ return (int) getBytesRead();
+ }
+
+ /**
+ * Gets the number of input bytes processed so far.
+ * @since 1.5
+ */
+ public native long getBytesRead();
+
+ /**
+ * Gets the number of output bytes so far.
+ */
+ @Deprecated
+ public int getTotalOut()
+ {
+ return (int) getBytesWritten();
+ }
/**
* Gets the number of output bytes so far.
+ * @since 1.5
*/
- public native int getTotalOut();
+ public native long getBytesWritten();
/**
* Finalizes this object.
diff --git a/libjava/java/util/zip/DeflaterOutputStream.h b/libjava/java/util/zip/DeflaterOutputStream.h
new file mode 100644
index 0000000..307f364
--- /dev/null
+++ b/libjava/java/util/zip/DeflaterOutputStream.h
@@ -0,0 +1,34 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_zip_DeflaterOutputStream__
+#define __java_util_zip_DeflaterOutputStream__
+
+#pragma interface
+
+#include <java/io/FilterOutputStream.h>
+#include <gcj/array.h>
+
+
+class java::util::zip::DeflaterOutputStream : public ::java::io::FilterOutputStream
+{
+
+public: // actually protected
+ virtual void deflate();
+public:
+ DeflaterOutputStream(::java::io::OutputStream *);
+ DeflaterOutputStream(::java::io::OutputStream *, ::java::util::zip::Deflater *);
+ DeflaterOutputStream(::java::io::OutputStream *, ::java::util::zip::Deflater *, jint);
+ virtual void flush();
+ virtual void finish();
+ virtual void close();
+ virtual void write(jint);
+ virtual void write(JArray< jbyte > *, jint, jint);
+public: // actually protected
+ JArray< jbyte > * __attribute__((aligned(__alignof__( ::java::io::FilterOutputStream)))) buf;
+ ::java::util::zip::Deflater * def;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_zip_DeflaterOutputStream__
diff --git a/libjava/java/util/zip/GZIPInputStream.h b/libjava/java/util/zip/GZIPInputStream.h
new file mode 100644
index 0000000..20777fa
--- /dev/null
+++ b/libjava/java/util/zip/GZIPInputStream.h
@@ -0,0 +1,41 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_zip_GZIPInputStream__
+#define __java_util_zip_GZIPInputStream__
+
+#pragma interface
+
+#include <java/util/zip/InflaterInputStream.h>
+#include <gcj/array.h>
+
+
+class java::util::zip::GZIPInputStream : public ::java::util::zip::InflaterInputStream
+{
+
+public:
+ GZIPInputStream(::java::io::InputStream *);
+ GZIPInputStream(::java::io::InputStream *, jint);
+ virtual void close();
+ virtual jint read(JArray< jbyte > *, jint, jint);
+private:
+ void readHeader();
+ void readFooter();
+public:
+ static const jint GZIP_MAGIC = 35615;
+public: // actually package-private
+ static const jint FTEXT = 1;
+ static const jint FHCRC = 2;
+ static const jint FEXTRA = 4;
+ static const jint FNAME = 8;
+ static const jint FCOMMENT = 16;
+public: // actually protected
+ ::java::util::zip::CRC32 * __attribute__((aligned(__alignof__( ::java::util::zip::InflaterInputStream)))) crc;
+ jboolean eos;
+private:
+ jboolean readGZIPHeader;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_zip_GZIPInputStream__
diff --git a/libjava/java/util/zip/GZIPOutputStream.h b/libjava/java/util/zip/GZIPOutputStream.h
new file mode 100644
index 0000000..1680d89
--- /dev/null
+++ b/libjava/java/util/zip/GZIPOutputStream.h
@@ -0,0 +1,28 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_zip_GZIPOutputStream__
+#define __java_util_zip_GZIPOutputStream__
+
+#pragma interface
+
+#include <java/util/zip/DeflaterOutputStream.h>
+#include <gcj/array.h>
+
+
+class java::util::zip::GZIPOutputStream : public ::java::util::zip::DeflaterOutputStream
+{
+
+public:
+ GZIPOutputStream(::java::io::OutputStream *);
+ GZIPOutputStream(::java::io::OutputStream *, jint);
+ virtual void write(JArray< jbyte > *, jint, jint);
+ virtual void close();
+ virtual void finish();
+public: // actually protected
+ ::java::util::zip::CRC32 * __attribute__((aligned(__alignof__( ::java::util::zip::DeflaterOutputStream)))) crc;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_zip_GZIPOutputStream__
diff --git a/libjava/java/util/zip/Inflater.h b/libjava/java/util/zip/Inflater.h
new file mode 100644
index 0000000..25ebdc6
--- /dev/null
+++ b/libjava/java/util/zip/Inflater.h
@@ -0,0 +1,58 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_zip_Inflater__
+#define __java_util_zip_Inflater__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace gcj
+ {
+ class RawData;
+ }
+ }
+}
+
+class java::util::zip::Inflater : public ::java::lang::Object
+{
+
+public:
+ Inflater();
+ Inflater(jboolean);
+public: // actually protected
+ virtual void finalize();
+public:
+ virtual void end();
+ virtual jboolean finished();
+ virtual jint getAdler();
+ virtual jint getRemaining();
+ virtual jint getTotalIn();
+ virtual jint getTotalOut();
+ virtual jint inflate(JArray< jbyte > *);
+ virtual jint inflate(JArray< jbyte > *, jint, jint);
+private:
+ void init(jboolean);
+public:
+ virtual jboolean needsDictionary();
+ virtual jboolean needsInput();
+ virtual void reset();
+ virtual void setDictionary(JArray< jbyte > *);
+ virtual void setDictionary(JArray< jbyte > *, jint, jint);
+ virtual void setInput(JArray< jbyte > *);
+ virtual void setInput(JArray< jbyte > *, jint, jint);
+private:
+ ::gnu::gcj::RawData * __attribute__((aligned(__alignof__( ::java::lang::Object)))) zstream;
+ jboolean is_finished;
+ jboolean dict_needed;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_zip_Inflater__
diff --git a/libjava/java/util/zip/InflaterInputStream.h b/libjava/java/util/zip/InflaterInputStream.h
new file mode 100644
index 0000000..b576c36
--- /dev/null
+++ b/libjava/java/util/zip/InflaterInputStream.h
@@ -0,0 +1,41 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_zip_InflaterInputStream__
+#define __java_util_zip_InflaterInputStream__
+
+#pragma interface
+
+#include <java/io/FilterInputStream.h>
+#include <gcj/array.h>
+
+
+class java::util::zip::InflaterInputStream : public ::java::io::FilterInputStream
+{
+
+public:
+ InflaterInputStream(::java::io::InputStream *);
+ InflaterInputStream(::java::io::InputStream *, ::java::util::zip::Inflater *);
+ InflaterInputStream(::java::io::InputStream *, ::java::util::zip::Inflater *, jint);
+ virtual jint available();
+ virtual void close();
+public: // actually protected
+ virtual void fill();
+public:
+ virtual jint read();
+ virtual jint read(JArray< jbyte > *, jint, jint);
+ virtual jlong skip(jlong);
+ virtual jboolean markSupported();
+ virtual void mark(jint);
+ virtual void reset();
+public: // actually protected
+ ::java::util::zip::Inflater * __attribute__((aligned(__alignof__( ::java::io::FilterInputStream)))) inf;
+ JArray< jbyte > * buf;
+ jint len;
+private:
+ JArray< jbyte > * onebytebuffer;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_zip_InflaterInputStream__
diff --git a/libjava/java/util/zip/ZipConstants.h b/libjava/java/util/zip/ZipConstants.h
new file mode 100644
index 0000000..3cf795d
--- /dev/null
+++ b/libjava/java/util/zip/ZipConstants.h
@@ -0,0 +1,58 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_zip_ZipConstants__
+#define __java_util_zip_ZipConstants__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::zip::ZipConstants : public ::java::lang::Object
+{
+
+public:
+ static const jint LOCHDR = 30;
+ static const jlong LOCSIG = 67324752LL;
+ static const jint LOCVER = 4;
+ static const jint LOCFLG = 6;
+ static const jint LOCHOW = 8;
+ static const jint LOCTIM = 10;
+ static const jint LOCCRC = 14;
+ static const jint LOCSIZ = 18;
+ static const jint LOCLEN = 22;
+ static const jint LOCNAM = 26;
+ static const jint LOCEXT = 28;
+ static const jlong EXTSIG = 134695760LL;
+ static const jint EXTHDR = 16;
+ static const jint EXTCRC = 4;
+ static const jint EXTSIZ = 8;
+ static const jint EXTLEN = 12;
+ static const jlong CENSIG = 33639248LL;
+ static const jint CENHDR = 46;
+ static const jint CENVEM = 4;
+ static const jint CENVER = 6;
+ static const jint CENFLG = 8;
+ static const jint CENHOW = 10;
+ static const jint CENTIM = 12;
+ static const jint CENCRC = 16;
+ static const jint CENSIZ = 20;
+ static const jint CENLEN = 24;
+ static const jint CENNAM = 28;
+ static const jint CENEXT = 30;
+ static const jint CENCOM = 32;
+ static const jint CENDSK = 34;
+ static const jint CENATT = 36;
+ static const jint CENATX = 38;
+ static const jint CENOFF = 42;
+ static const jlong ENDSIG = 101010256LL;
+ static const jint ENDHDR = 22;
+ static const jint ENDSUB = 8;
+ static const jint ENDTOT = 10;
+ static const jint ENDSIZ = 12;
+ static const jint ENDOFF = 16;
+ static const jint ENDCOM = 20;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_util_zip_ZipConstants__
diff --git a/libjava/java/util/zip/ZipEntry.h b/libjava/java/util/zip/ZipEntry.h
new file mode 100644
index 0000000..7e1cc8f
--- /dev/null
+++ b/libjava/java/util/zip/ZipEntry.h
@@ -0,0 +1,74 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_zip_ZipEntry__
+#define __java_util_zip_ZipEntry__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+
+class java::util::zip::ZipEntry : public ::java::lang::Object
+{
+
+public:
+ ZipEntry(::java::lang::String *);
+ ZipEntry(::java::util::zip::ZipEntry *);
+public: // actually package-private
+ ZipEntry(::java::util::zip::ZipEntry *, ::java::lang::String *);
+ virtual void setDOSTime(jint);
+ virtual jint getDOSTime();
+public:
+ virtual ::java::lang::Object * clone();
+ virtual ::java::lang::String * getName();
+ virtual void setTime(jlong);
+ virtual jlong getTime();
+private:
+ static ::java::util::Calendar * getCalendar();
+public:
+ virtual void setSize(jlong);
+ virtual jlong getSize();
+ virtual void setCompressedSize(jlong);
+ virtual jlong getCompressedSize();
+ virtual void setCrc(jlong);
+ virtual jlong getCrc();
+ virtual void setMethod(jint);
+ virtual jint getMethod();
+ virtual void setExtra(JArray< jbyte > *);
+private:
+ void parseExtra();
+public:
+ virtual JArray< jbyte > * getExtra();
+ virtual void setComment(::java::lang::String *);
+ virtual ::java::lang::String * getComment();
+ virtual jboolean isDirectory();
+ virtual ::java::lang::String * toString();
+ virtual jint hashCode();
+private:
+ static const jint KNOWN_SIZE = 1;
+ static const jint KNOWN_CSIZE = 2;
+ static const jint KNOWN_CRC = 4;
+ static const jint KNOWN_TIME = 8;
+ static const jint KNOWN_EXTRA = 16;
+ static ::java::util::Calendar * cal;
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) name;
+ jint size;
+ jlong compressedSize;
+ jint crc;
+ jint dostime;
+ jshort known;
+ jshort method;
+ JArray< jbyte > * extra;
+ ::java::lang::String * comment;
+public: // actually package-private
+ jint flags;
+ jint offset;
+public:
+ static const jint STORED = 0;
+ static const jint DEFLATED = 8;
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_zip_ZipEntry__
diff --git a/libjava/java/util/zip/ZipException.h b/libjava/java/util/zip/ZipException.h
new file mode 100644
index 0000000..3a7b1fc
--- /dev/null
+++ b/libjava/java/util/zip/ZipException.h
@@ -0,0 +1,23 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_zip_ZipException__
+#define __java_util_zip_ZipException__
+
+#pragma interface
+
+#include <java/io/IOException.h>
+
+class java::util::zip::ZipException : public ::java::io::IOException
+{
+
+public:
+ ZipException();
+ ZipException(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = 8000196834066748623LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_zip_ZipException__
diff --git a/libjava/java/util/zip/ZipFile$1.h b/libjava/java/util/zip/ZipFile$1.h
new file mode 100644
index 0000000..8528133
--- /dev/null
+++ b/libjava/java/util/zip/ZipFile$1.h
@@ -0,0 +1,26 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_zip_ZipFile$1__
+#define __java_util_zip_ZipFile$1__
+
+#pragma interface
+
+#include <java/util/zip/InflaterInputStream.h>
+
+class java::util::zip::ZipFile$1 : public ::java::util::zip::InflaterInputStream
+{
+
+public: // actually package-private
+ ZipFile$1(::java::util::zip::ZipFile *, ::java::io::InputStream *, ::java::util::zip::Inflater *, jint);
+public:
+ jint available();
+public: // actually package-private
+ ::java::util::zip::ZipFile * __attribute__((aligned(__alignof__( ::java::util::zip::InflaterInputStream)))) this$0;
+private:
+ jint val$sz;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_zip_ZipFile$1__
diff --git a/libjava/java/util/zip/ZipFile$PartialInputStream.h b/libjava/java/util/zip/ZipFile$PartialInputStream.h
new file mode 100644
index 0000000..f258f9f
--- /dev/null
+++ b/libjava/java/util/zip/ZipFile$PartialInputStream.h
@@ -0,0 +1,66 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_zip_ZipFile$PartialInputStream__
+#define __java_util_zip_ZipFile$PartialInputStream__
+
+#pragma interface
+
+#include <java/io/InputStream.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace nio
+ {
+ namespace charset
+ {
+ class Charset;
+ class CharsetDecoder;
+ }
+ }
+ }
+}
+
+class java::util::zip::ZipFile$PartialInputStream : public ::java::io::InputStream
+{
+
+public:
+ ZipFile$PartialInputStream(::java::io::RandomAccessFile *, jint);
+public: // actually package-private
+ void setLength(jlong);
+private:
+ void fillBuffer();
+public:
+ jint available();
+ jint read();
+ jint read(JArray< jbyte > *, jint, jint);
+ jlong skip(jlong);
+public: // actually package-private
+ void seek(jlong);
+ void readFully(JArray< jbyte > *);
+ void readFully(JArray< jbyte > *, jint, jint);
+ jint readLeShort();
+ jint readLeInt();
+private:
+ ::java::lang::String * decodeChars(JArray< jbyte > *, jint, jint);
+public: // actually package-private
+ ::java::lang::String * readString(jint);
+public:
+ void addDummyByte();
+private:
+ static ::java::nio::charset::Charset * UTF8CHARSET;
+ ::java::nio::charset::CharsetDecoder * __attribute__((aligned(__alignof__( ::java::io::InputStream)))) utf8Decoder;
+ ::java::io::RandomAccessFile * raf;
+ JArray< jbyte > * buffer;
+ jlong bufferOffset;
+ jint pos;
+ jlong end;
+ jint dummyByteCount;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_zip_ZipFile$PartialInputStream__
diff --git a/libjava/java/util/zip/ZipFile$ZipEntryEnumeration.h b/libjava/java/util/zip/ZipFile$ZipEntryEnumeration.h
new file mode 100644
index 0000000..40a7e97
--- /dev/null
+++ b/libjava/java/util/zip/ZipFile$ZipEntryEnumeration.h
@@ -0,0 +1,25 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_zip_ZipFile$ZipEntryEnumeration__
+#define __java_util_zip_ZipFile$ZipEntryEnumeration__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::zip::ZipFile$ZipEntryEnumeration : public ::java::lang::Object
+{
+
+public:
+ ZipFile$ZipEntryEnumeration(::java::util::Iterator *);
+ virtual jboolean hasMoreElements();
+ virtual ::java::util::zip::ZipEntry * target$nextElement();
+ virtual ::java::lang::Object * nextElement();
+private:
+ ::java::util::Iterator * __attribute__((aligned(__alignof__( ::java::lang::Object)))) elements;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_zip_ZipFile$ZipEntryEnumeration__
diff --git a/libjava/java/util/zip/ZipFile.h b/libjava/java/util/zip/ZipFile.h
new file mode 100644
index 0000000..7c0f69c
--- /dev/null
+++ b/libjava/java/util/zip/ZipFile.h
@@ -0,0 +1,49 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_zip_ZipFile__
+#define __java_util_zip_ZipFile__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+
+class java::util::zip::ZipFile : public ::java::lang::Object
+{
+
+ ::java::io::RandomAccessFile * openFile(::java::lang::String *, ::java::io::File *);
+public:
+ ZipFile(::java::lang::String *);
+ ZipFile(::java::io::File *);
+ ZipFile(::java::io::File *, jint);
+private:
+ void checkZipFile();
+ void checkClosed();
+ void readEntries();
+public:
+ virtual void close();
+public: // actually protected
+ virtual void finalize();
+public:
+ virtual ::java::util::Enumeration * entries();
+private:
+ ::java::util::LinkedHashMap * getEntries();
+public:
+ virtual ::java::util::zip::ZipEntry * getEntry(::java::lang::String *);
+ virtual ::java::io::InputStream * getInputStream(::java::util::zip::ZipEntry *);
+ virtual ::java::lang::String * getName();
+ virtual jint size();
+ static const jint OPEN_READ = 1;
+ static const jint OPEN_DELETE = 4;
+public: // actually package-private
+ static const jint ENDNRD = 4;
+private:
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) name;
+ ::java::io::RandomAccessFile * raf;
+ ::java::util::LinkedHashMap * entries__;
+ jboolean closed;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_zip_ZipFile__
diff --git a/libjava/java/util/zip/ZipInputStream.h b/libjava/java/util/zip/ZipInputStream.h
new file mode 100644
index 0000000..4a84395
--- /dev/null
+++ b/libjava/java/util/zip/ZipInputStream.h
@@ -0,0 +1,50 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_zip_ZipInputStream__
+#define __java_util_zip_ZipInputStream__
+
+#pragma interface
+
+#include <java/util/zip/InflaterInputStream.h>
+#include <gcj/array.h>
+
+
+class java::util::zip::ZipInputStream : public ::java::util::zip::InflaterInputStream
+{
+
+public:
+ ZipInputStream(::java::io::InputStream *);
+private:
+ void fillBuf();
+ jint readBuf(JArray< jbyte > *, jint, jint);
+ void readFully(JArray< jbyte > *);
+ jint readLeByte();
+ jint readLeShort();
+ jint readLeInt();
+public:
+ virtual ::java::util::zip::ZipEntry * getNextEntry();
+private:
+ void readDataDescr();
+public:
+ virtual void closeEntry();
+ virtual jint available();
+ virtual jint read();
+ virtual jint read(JArray< jbyte > *, jint, jint);
+ virtual void close();
+public: // actually protected
+ virtual ::java::util::zip::ZipEntry * createZipEntry(::java::lang::String *);
+private:
+ ::java::util::zip::CRC32 * __attribute__((aligned(__alignof__( ::java::util::zip::InflaterInputStream)))) crc;
+ ::java::util::zip::ZipEntry * entry;
+ jint csize;
+ jint size;
+ jint method;
+ jint flags;
+ jint avail;
+ jboolean entryAtEOF;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_zip_ZipInputStream__
diff --git a/libjava/java/util/zip/ZipOutputStream.h b/libjava/java/util/zip/ZipOutputStream.h
new file mode 100644
index 0000000..0de152e
--- /dev/null
+++ b/libjava/java/util/zip/ZipOutputStream.h
@@ -0,0 +1,47 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_zip_ZipOutputStream__
+#define __java_util_zip_ZipOutputStream__
+
+#pragma interface
+
+#include <java/util/zip/DeflaterOutputStream.h>
+#include <gcj/array.h>
+
+
+class java::util::zip::ZipOutputStream : public ::java::util::zip::DeflaterOutputStream
+{
+
+public:
+ ZipOutputStream(::java::io::OutputStream *);
+ virtual void setComment(::java::lang::String *);
+ virtual void setMethod(jint);
+ virtual void setLevel(jint);
+private:
+ void writeLeShort(jint);
+ void writeLeInt(jint);
+ void writeLeInt(jlong);
+public:
+ virtual void putNextEntry(::java::util::zip::ZipEntry *);
+ virtual void closeEntry();
+ virtual void write(JArray< jbyte > *, jint, jint);
+ virtual void finish();
+private:
+ ::java::util::Vector * __attribute__((aligned(__alignof__( ::java::util::zip::DeflaterOutputStream)))) entries;
+ ::java::util::zip::CRC32 * crc;
+ ::java::util::zip::ZipEntry * curEntry;
+ jint curMethod;
+ jint size;
+ jint offset;
+ JArray< jbyte > * zipComment;
+ jint defaultMethod;
+ static const jint ZIP_STORED_VERSION = 10;
+ static const jint ZIP_DEFLATED_VERSION = 20;
+public:
+ static const jint STORED = 0;
+ static const jint DEFLATED = 8;
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_zip_ZipOutputStream__
diff --git a/libjava/java/util/zip/natDeflater.cc b/libjava/java/util/zip/natDeflater.cc
index 23e1201..9ff1721 100644
--- a/libjava/java/util/zip/natDeflater.cc
+++ b/libjava/java/util/zip/natDeflater.cc
@@ -1,6 +1,6 @@
// natDeflater.cc - Implementation of Deflater native methods.
-/* Copyright (C) 1999, 2002 Free Software Foundation
+/* Copyright (C) 1999, 2002, 2006 Free Software Foundation
This file is part of libgcj.
@@ -93,16 +93,16 @@ java::util::zip::Deflater::getAdler ()
return s->adler;
}
-jint
-java::util::zip::Deflater::getTotalIn ()
+jlong
+java::util::zip::Deflater::getBytesRead ()
{
JvSynchronize sync (this);
z_streamp s = (z_streamp) zstream;
return s->total_in;
}
-jint
-java::util::zip::Deflater::getTotalOut ()
+jlong
+java::util::zip::Deflater::getBytesWritten ()
{
JvSynchronize sync (this);
z_streamp s = (z_streamp) zstream;