├── Test └── src │ ├── main │ └── java │ │ ├── IOTest │ │ ├── test2.txt │ │ ├── test.txt │ │ └── test3.txt │ │ ├── SerializationTest │ │ ├── test1.txt │ │ └── test2.txt │ │ ├── image │ │ ├── AQS.png │ │ ├── 选区_002.png │ │ ├── 选区_003.png │ │ ├── 选区_044.png │ │ ├── Hashtable.png │ │ ├── ClassLoader.png │ │ ├── HashMap_1.8.png │ │ ├── HashMap_put.png │ │ ├── 20160124221843905.png │ │ ├── ConcurrentHashMap1.7.png │ │ ├── ConcurrentHashMap1.8.png │ │ └── ConcurrentHashMap1.8_put.png │ │ ├── String │ │ ├── StringTest.class │ │ └── StringTest1.java │ │ ├── Synchronized │ │ ├── Test.class │ │ ├── Test1.class │ │ ├── Test2.class │ │ ├── Test2.java │ │ ├── Test1.java │ │ ├── Test.java │ │ ├── Test2.txt │ │ └── Test1.txt │ │ ├── IntegerTest │ │ └── IntegerDemo.class │ │ ├── Reflection │ │ └── DynamicProxy │ │ │ ├── EasySample │ │ │ ├── Work.java │ │ │ └── WorkImpl.java │ │ │ └── ForInterface │ │ │ └── IPlay.java │ │ ├── OverloadTest │ │ └── OverloadDemo.java │ │ ├── JavaSE │ │ ├── HashCodeAndEqualsTest.java │ │ ├── HashMapTest.java │ │ ├── StringTest.java │ │ └── lambda │ │ │ └── Test.java │ │ └── ArraycopyAndCopyOf │ │ └── ArrayscopyOfTest.java │ ├── image │ ├── Iterable.png │ ├── HashMap_resize.jpg │ ├── Exception和Error结构.png │ ├── ReentrantLock_lock.jpg │ └── ReentrantLock_unlock.jpg │ └── JavaSE │ ├── Test.java │ └── lambda │ ├── MyInterface.java │ ├── PredicateTest.java │ ├── SwingTest.java │ ├── Test2.java │ └── applycation │ └── Person.java ├── .gitignore ├── .idea ├── .gitignore ├── markdown-navigator │ └── profiles_settings.xml ├── vcs.xml ├── smartfox_info.xml ├── misc.xml ├── libraries │ └── Maven__com_alibaba_fastjson_1_2_47.xml ├── modules.xml └── compiler.xml ├── JVM-Learning ├── src │ ├── image │ │ ├── 选区_027.png │ │ ├── 选区_028.png │ │ ├── 选区_030.png │ │ ├── 选区_031.png │ │ ├── 选区_032.png │ │ ├── 选区_033.png │ │ ├── 选区_035.png │ │ ├── 选区_036.png │ │ └── 选区_037.png │ └── com │ │ ├── JavacTest │ │ ├── Test1.class │ │ ├── Test1.java │ │ └── test.txt │ │ ├── MethodInvokeTest │ │ ├── test2 │ │ │ ├── Demo.class │ │ │ ├── Demo$Child1.class │ │ │ ├── Demo$Child2.class │ │ │ └── Demo$Parent.class │ │ └── test1 │ │ │ ├── Hello.class │ │ │ └── Hello.java │ │ ├── OOMtest │ │ ├── Demo.java │ │ └── Main.java │ │ ├── ClassLoad │ │ ├── test1 │ │ │ ├── Parent.java │ │ │ └── Child.java │ │ ├── test2 │ │ │ ├── Parent.java │ │ │ ├── Child.java │ │ │ ├── Main3.java │ │ │ ├── Main2.java │ │ │ └── Main.java │ │ └── test3 │ │ │ ├── InitTest2.java │ │ │ └── InitTest1.java │ │ ├── StackOverFlowTest.java │ │ └── VolatileDemo.java ├── JVM-Learning.iml └── GC-Review.md ├── README.md ├── jdk1.8 ├── src │ ├── com │ │ └── sun │ │ │ ├── security │ │ │ ├── auth │ │ │ │ ├── package-info.java │ │ │ │ ├── login │ │ │ │ │ └── package-info.java │ │ │ │ ├── module │ │ │ │ │ └── package-info.java │ │ │ │ └── callback │ │ │ │ │ └── package-info.java │ │ │ └── jgss │ │ │ │ └── package-info.java │ │ │ ├── corba │ │ │ └── se │ │ │ │ ├── spi │ │ │ │ ├── ior │ │ │ │ │ ├── MakeImmutable.java │ │ │ │ │ ├── ObjectId.java │ │ │ │ │ ├── WriteContents.java │ │ │ │ │ ├── iiop │ │ │ │ │ │ ├── RequestPartitioningComponent.java │ │ │ │ │ │ ├── ORBTypeComponent.java │ │ │ │ │ │ ├── JavaCodebaseComponent.java │ │ │ │ │ │ ├── MaxStreamFormatVersionComponent.java │ │ │ │ │ │ ├── AlternateIIOPAddressComponent.java │ │ │ │ │ │ ├── IIOPAddress.java │ │ │ │ │ │ └── CodeSetsComponent.java │ │ │ │ │ ├── Writeable.java │ │ │ │ │ └── TaggedComponentFactoryFinder.java │ │ │ │ ├── orbutil │ │ │ │ │ ├── closure │ │ │ │ │ │ └── Closure.java │ │ │ │ │ ├── threadpool │ │ │ │ │ │ ├── NoSuchThreadPoolException.java │ │ │ │ │ │ └── NoSuchWorkQueueException.java │ │ │ │ │ └── fsm │ │ │ │ │ │ ├── InputImpl.java │ │ │ │ │ │ ├── ActionBase.java │ │ │ │ │ │ └── GuardBase.java │ │ │ │ ├── activation │ │ │ │ │ ├── Locator.java │ │ │ │ │ ├── Activator.java │ │ │ │ │ ├── Repository.java │ │ │ │ │ ├── IIOP_CLEAR_TEXT.java │ │ │ │ │ ├── InitialNameService.java │ │ │ │ │ ├── ServerManager.java │ │ │ │ │ ├── Server.java │ │ │ │ │ ├── ServerManagerOperations.java │ │ │ │ │ ├── InitialNameServiceOperations.java │ │ │ │ │ ├── InvalidORBid.java │ │ │ │ │ ├── NoSuchEndPoint.java │ │ │ │ │ └── ORBPortInfo.java │ │ │ │ ├── transport │ │ │ │ │ ├── CorbaConnectionCache.java │ │ │ │ │ ├── SocketOrChannelAcceptor.java │ │ │ │ │ └── ReadTimeouts.java │ │ │ │ ├── logging │ │ │ │ │ └── LogWrapperFactory.java │ │ │ │ ├── oa │ │ │ │ │ └── OADestroyed.java │ │ │ │ ├── legacy │ │ │ │ │ ├── connection │ │ │ │ │ │ └── Connection.java │ │ │ │ │ └── interceptor │ │ │ │ │ │ ├── UnknownType.java │ │ │ │ │ │ └── IORInfoExt.java │ │ │ │ ├── protocol │ │ │ │ │ ├── CorbaClientDelegate.java │ │ │ │ │ ├── LocalClientRequestDispatcherFactory.java │ │ │ │ │ └── ClientDelegateFactory.java │ │ │ │ ├── encoding │ │ │ │ │ └── CorbaInputObject.java │ │ │ │ ├── copyobject │ │ │ │ │ └── ObjectCopierFactory.java │ │ │ │ └── orb │ │ │ │ │ └── Operation.java │ │ │ │ ├── impl │ │ │ │ ├── orbutil │ │ │ │ │ ├── threadpool │ │ │ │ │ │ └── TimeoutException.java │ │ │ │ │ ├── graph │ │ │ │ │ │ ├── Graph.java │ │ │ │ │ │ └── Node.java │ │ │ │ │ └── closure │ │ │ │ │ │ └── Constant.java │ │ │ │ ├── copyobject │ │ │ │ │ └── ReferenceObjectCopierImpl.java │ │ │ │ ├── corba │ │ │ │ │ └── TypeCodeFactory.java │ │ │ │ ├── protocol │ │ │ │ │ └── giopmsgheaders │ │ │ │ │ │ ├── FragmentMessage.java │ │ │ │ │ │ ├── CancelRequestMessage.java │ │ │ │ │ │ └── LocateRequestMessage.java │ │ │ │ ├── encoding │ │ │ │ │ ├── MarkAndResetHandler.java │ │ │ │ │ └── RestorableInputStream.java │ │ │ │ ├── presentation │ │ │ │ │ └── rmi │ │ │ │ │ │ └── IDLTypeException.java │ │ │ │ └── util │ │ │ │ │ └── IdentityHashtableEntry.java │ │ │ │ ├── PortableActivationIDL │ │ │ │ ├── Locator.java │ │ │ │ ├── Activator.java │ │ │ │ ├── Repository.java │ │ │ │ ├── ORBProxy.java │ │ │ │ ├── ServerProxy.java │ │ │ │ └── InitialNameService.java │ │ │ │ ├── pept │ │ │ │ └── transport │ │ │ │ │ ├── ReaderThread.java │ │ │ │ │ ├── ListenerThread.java │ │ │ │ │ ├── ByteBufferPool.java │ │ │ │ │ ├── InboundConnectionCache.java │ │ │ │ │ └── OutboundConnectionCache.java │ │ │ │ └── internal │ │ │ │ ├── POA │ │ │ │ └── POAORB.java │ │ │ │ ├── corba │ │ │ │ └── ORBSingleton.java │ │ │ │ ├── Interceptors │ │ │ │ └── PIORB.java │ │ │ │ └── iiop │ │ │ │ └── ORB.java │ │ │ ├── source │ │ │ ├── doctree │ │ │ │ ├── TextTree.java │ │ │ │ ├── DocRootTree.java │ │ │ │ ├── InheritDocTree.java │ │ │ │ ├── BlockTagTree.java │ │ │ │ ├── CommentTree.java │ │ │ │ ├── InlineTagTree.java │ │ │ │ ├── ValueTree.java │ │ │ │ ├── LiteralTree.java │ │ │ │ ├── ReferenceTree.java │ │ │ │ ├── EntityTree.java │ │ │ │ ├── IdentifierTree.java │ │ │ │ ├── AuthorTree.java │ │ │ │ ├── EndElementTree.java │ │ │ │ ├── SinceTree.java │ │ │ │ ├── ReturnTree.java │ │ │ │ ├── VersionTree.java │ │ │ │ ├── DeprecatedTree.java │ │ │ │ ├── UnknownBlockTagTree.java │ │ │ │ ├── SerialDataTree.java │ │ │ │ ├── UnknownInlineTagTree.java │ │ │ │ ├── SerialTree.java │ │ │ │ └── ParamTree.java │ │ │ ├── util │ │ │ │ ├── package-info.java │ │ │ │ └── TaskListener.java │ │ │ └── tree │ │ │ │ ├── package-info.java │ │ │ │ ├── ExpressionTree.java │ │ │ │ ├── StatementTree.java │ │ │ │ ├── IntersectionTypeTree.java │ │ │ │ ├── UnionTypeTree.java │ │ │ │ ├── ErroneousTree.java │ │ │ │ ├── EmptyStatementTree.java │ │ │ │ └── ArrayTypeTree.java │ │ │ ├── javadoc │ │ │ ├── ConstructorDoc.java │ │ │ └── AnnotatedType.java │ │ │ ├── java │ │ │ └── swing │ │ │ │ ├── plaf │ │ │ │ ├── windows │ │ │ │ │ └── WindowsSeparatorUI.java │ │ │ │ └── nimbus │ │ │ │ │ ├── NimbusLookAndFeel.java │ │ │ │ │ └── AbstractRegionPainter.java │ │ │ │ └── Painter.java │ │ │ ├── jmx │ │ │ ├── remote │ │ │ │ └── internal │ │ │ │ │ └── Unmarshal.java │ │ │ └── snmp │ │ │ │ ├── internal │ │ │ │ └── SnmpModelLcd.java │ │ │ │ └── IPAcl │ │ │ │ ├── ParseError.java │ │ │ │ └── JDMIpV6Address.java │ │ │ └── imageio │ │ │ └── plugins │ │ │ └── common │ │ │ └── I18N.java │ ├── java │ │ ├── net │ │ │ ├── InetAddressContainer.java │ │ │ ├── ProtocolFamily.java │ │ │ └── StandardProtocolFamily.java │ │ ├── util │ │ │ ├── EventListener.java │ │ │ └── zip │ │ │ │ └── ZStreamRef.java │ │ ├── lang │ │ │ ├── annotation │ │ │ │ └── package-info.java │ │ │ ├── invoke │ │ │ │ ├── InvokeDynamic.java │ │ │ │ ├── DontInline.java │ │ │ │ └── ForceInline.java │ │ │ └── ref │ │ │ │ └── FinalReference.java │ │ ├── security │ │ │ └── acl │ │ │ │ └── package-info.java │ │ ├── nio │ │ │ └── file │ │ │ │ ├── FileVisitOption.java │ │ │ │ ├── attribute │ │ │ │ └── FileStoreAttributeView.java │ │ │ │ └── AccessMode.java │ │ ├── io │ │ │ └── DefaultFileSystem.java │ │ └── awt │ │ │ ├── Conditional.java │ │ │ ├── PrintGraphics.java │ │ │ └── MenuContainer.java │ ├── launcher │ │ ├── wildcard.h │ │ ├── splashscreen.h │ │ └── version_comp.h │ ├── org │ │ └── omg │ │ │ ├── PortableInterceptor │ │ │ ├── UNKNOWN.java │ │ │ ├── ACTIVE.java │ │ │ ├── DISCARDING.java │ │ │ ├── NON_EXISTENT.java │ │ │ ├── HOLDING.java │ │ │ ├── IORInterceptor_3_0.java │ │ │ ├── Interceptor.java │ │ │ ├── INACTIVE.java │ │ │ └── InvalidSlot.java │ │ │ ├── PortableServer │ │ │ ├── THREAD_POLICY_ID.java │ │ │ ├── LIFESPAN_POLICY_ID.java │ │ │ ├── ID_ASSIGNMENT_POLICY_ID.java │ │ │ ├── ID_UNIQUENESS_POLICY_ID.java │ │ │ ├── REQUEST_PROCESSING_POLICY_ID.java │ │ │ ├── SERVANT_RETENTION_POLICY_ID.java │ │ │ ├── IMPLICIT_ACTIVATION_POLICY_ID.java │ │ │ ├── ThreadPolicy.java │ │ │ ├── ServantActivator.java │ │ │ ├── LifespanPolicy.java │ │ │ ├── ServantRetentionPolicy.java │ │ │ ├── ImplicitActivationPolicy.java │ │ │ ├── POAPackage │ │ │ │ ├── NoServant.java │ │ │ │ ├── WrongPolicy.java │ │ │ │ ├── WrongAdapter.java │ │ │ │ └── ObjectNotActive.java │ │ │ ├── CurrentPackage │ │ │ │ └── NoContext.java │ │ │ ├── RequestProcessingPolicy.java │ │ │ ├── IdAssignmentPolicy.java │ │ │ ├── IdUniquenessPolicy.java │ │ │ └── POAManager.java │ │ │ ├── IOP │ │ │ ├── ENCODING_CDR_ENCAPS.java │ │ │ ├── TAG_POLICIES.java │ │ │ ├── CodeSets.java │ │ │ ├── TransactionService.java │ │ │ ├── CodecPackage │ │ │ │ ├── TypeMismatch.java │ │ │ │ └── FormatMismatch.java │ │ │ ├── CodecFactory.java │ │ │ ├── CodecFactoryPackage │ │ │ │ └── UnknownEncoding.java │ │ │ └── RMICustomMaxStreamFormat.java │ │ │ ├── DynamicAny │ │ │ ├── DynSequence.java │ │ │ ├── DynEnum.java │ │ │ ├── DynValueCommon.java │ │ │ ├── DynStruct.java │ │ │ └── DynAnyPackage │ │ │ │ ├── InvalidValue.java │ │ │ │ └── TypeMismatch.java │ │ │ ├── Messaging │ │ │ └── SYNC_WITH_TRANSPORT.java │ │ │ ├── CORBA │ │ │ ├── BAD_POLICY.java │ │ │ ├── BAD_POLICY_TYPE.java │ │ │ └── portable │ │ │ │ └── BoxedValueHelper.java │ │ │ └── CosNaming │ │ │ ├── NameComponent.java │ │ │ └── NamingContextPackage │ │ │ ├── NotEmpty.java │ │ │ ├── InvalidName.java │ │ │ └── AlreadyBound.java │ └── javax │ │ ├── swing │ │ ├── plaf │ │ │ ├── LabelUI.java │ │ │ ├── PanelUI.java │ │ │ ├── TableUI.java │ │ │ ├── SliderUI.java │ │ │ ├── ToolTipUI.java │ │ │ ├── ViewportUI.java │ │ │ ├── ScrollBarUI.java │ │ │ ├── TableHeaderUI.java │ │ │ ├── DesktopIconUI.java │ │ │ ├── DesktopPaneUI.java │ │ │ ├── InternalFrameUI.java │ │ │ ├── ProgressBarUI.java │ │ │ ├── RootPaneUI.java │ │ │ ├── ScrollPaneUI.java │ │ │ ├── SpinnerUI.java │ │ │ ├── SeparatorUI.java │ │ │ ├── ToolBarUI.java │ │ │ ├── MenuItemUI.java │ │ │ ├── ColorChooserUI.java │ │ │ ├── MenuBarUI.java │ │ │ ├── nimbus │ │ │ │ ├── InnerGlowEffect.java │ │ │ │ ├── OuterGlowEffect.java │ │ │ │ ├── SliderArrowShapeState.java │ │ │ │ ├── ComboBoxEditableState.java │ │ │ │ ├── SliderThumbArrowShapeState.java │ │ │ │ └── SliderTrackArrowShapeState.java │ │ │ ├── ButtonUI.java │ │ │ ├── InputMapUIResource.java │ │ │ └── ActionMapUIResource.java │ │ └── SwingHeavyWeight.java │ │ ├── security │ │ └── auth │ │ │ ├── spi │ │ │ └── package-info.java │ │ │ └── callback │ │ │ └── package-info.java │ │ ├── xml │ │ ├── ws │ │ │ ├── wsaddressing │ │ │ │ └── package-info.java │ │ │ └── handler │ │ │ │ └── LogicalHandler.java │ │ ├── stream │ │ │ └── events │ │ │ │ └── EndDocument.java │ │ └── soap │ │ │ ├── DetailEntry.java │ │ │ └── SOAPFaultElement.java │ │ └── lang │ │ └── model │ │ └── type │ │ ├── NullType.java │ │ └── ReferenceType.java └── jdk1.8.iml └── JDK-Source.iml /Test/src/main/java/IOTest/test2.txt: -------------------------------------------------------------------------------- 1 | a习b乡 -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /.idea/ 2 | target/ 3 | *.iml 4 | -------------------------------------------------------------------------------- /Test/src/main/java/IOTest/test.txt: -------------------------------------------------------------------------------- 1 | HELLO_WORLD -------------------------------------------------------------------------------- /.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /workspace.xml 3 | -------------------------------------------------------------------------------- /Test/src/main/java/SerializationTest/test1.txt: -------------------------------------------------------------------------------- 1 | clf, test, demo -------------------------------------------------------------------------------- /Test/src/image/Iterable.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kvenLin/JDK-Source/HEAD/Test/src/image/Iterable.png -------------------------------------------------------------------------------- /Test/src/main/java/image/AQS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kvenLin/JDK-Source/HEAD/Test/src/main/java/image/AQS.png -------------------------------------------------------------------------------- /JVM-Learning/src/image/选区_027.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kvenLin/JDK-Source/HEAD/JVM-Learning/src/image/选区_027.png -------------------------------------------------------------------------------- /JVM-Learning/src/image/选区_028.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kvenLin/JDK-Source/HEAD/JVM-Learning/src/image/选区_028.png -------------------------------------------------------------------------------- /JVM-Learning/src/image/选区_030.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kvenLin/JDK-Source/HEAD/JVM-Learning/src/image/选区_030.png -------------------------------------------------------------------------------- /JVM-Learning/src/image/选区_031.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kvenLin/JDK-Source/HEAD/JVM-Learning/src/image/选区_031.png -------------------------------------------------------------------------------- /JVM-Learning/src/image/选区_032.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kvenLin/JDK-Source/HEAD/JVM-Learning/src/image/选区_032.png -------------------------------------------------------------------------------- /JVM-Learning/src/image/选区_033.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kvenLin/JDK-Source/HEAD/JVM-Learning/src/image/选区_033.png -------------------------------------------------------------------------------- /JVM-Learning/src/image/选区_035.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kvenLin/JDK-Source/HEAD/JVM-Learning/src/image/选区_035.png -------------------------------------------------------------------------------- /JVM-Learning/src/image/选区_036.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kvenLin/JDK-Source/HEAD/JVM-Learning/src/image/选区_036.png -------------------------------------------------------------------------------- /JVM-Learning/src/image/选区_037.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kvenLin/JDK-Source/HEAD/JVM-Learning/src/image/选区_037.png -------------------------------------------------------------------------------- /Test/src/image/HashMap_resize.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kvenLin/JDK-Source/HEAD/Test/src/image/HashMap_resize.jpg -------------------------------------------------------------------------------- /Test/src/image/Exception和Error结构.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kvenLin/JDK-Source/HEAD/Test/src/image/Exception和Error结构.png -------------------------------------------------------------------------------- /Test/src/image/ReentrantLock_lock.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kvenLin/JDK-Source/HEAD/Test/src/image/ReentrantLock_lock.jpg -------------------------------------------------------------------------------- /Test/src/main/java/image/选区_002.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kvenLin/JDK-Source/HEAD/Test/src/main/java/image/选区_002.png -------------------------------------------------------------------------------- /Test/src/main/java/image/选区_003.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kvenLin/JDK-Source/HEAD/Test/src/main/java/image/选区_003.png -------------------------------------------------------------------------------- /Test/src/main/java/image/选区_044.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kvenLin/JDK-Source/HEAD/Test/src/main/java/image/选区_044.png -------------------------------------------------------------------------------- /Test/src/image/ReentrantLock_unlock.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kvenLin/JDK-Source/HEAD/Test/src/image/ReentrantLock_unlock.jpg -------------------------------------------------------------------------------- /Test/src/main/java/image/Hashtable.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kvenLin/JDK-Source/HEAD/Test/src/main/java/image/Hashtable.png -------------------------------------------------------------------------------- /JVM-Learning/src/com/JavacTest/Test1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kvenLin/JDK-Source/HEAD/JVM-Learning/src/com/JavacTest/Test1.class -------------------------------------------------------------------------------- /Test/src/main/java/String/StringTest.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kvenLin/JDK-Source/HEAD/Test/src/main/java/String/StringTest.class -------------------------------------------------------------------------------- /Test/src/main/java/Synchronized/Test.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kvenLin/JDK-Source/HEAD/Test/src/main/java/Synchronized/Test.class -------------------------------------------------------------------------------- /Test/src/main/java/image/ClassLoader.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kvenLin/JDK-Source/HEAD/Test/src/main/java/image/ClassLoader.png -------------------------------------------------------------------------------- /Test/src/main/java/image/HashMap_1.8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kvenLin/JDK-Source/HEAD/Test/src/main/java/image/HashMap_1.8.png -------------------------------------------------------------------------------- /Test/src/main/java/image/HashMap_put.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kvenLin/JDK-Source/HEAD/Test/src/main/java/image/HashMap_put.png -------------------------------------------------------------------------------- /Test/src/main/java/Synchronized/Test1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kvenLin/JDK-Source/HEAD/Test/src/main/java/Synchronized/Test1.class -------------------------------------------------------------------------------- /Test/src/main/java/Synchronized/Test2.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kvenLin/JDK-Source/HEAD/Test/src/main/java/Synchronized/Test2.class -------------------------------------------------------------------------------- /Test/src/main/java/SerializationTest/test2.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kvenLin/JDK-Source/HEAD/Test/src/main/java/SerializationTest/test2.txt -------------------------------------------------------------------------------- /Test/src/main/java/image/20160124221843905.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kvenLin/JDK-Source/HEAD/Test/src/main/java/image/20160124221843905.png -------------------------------------------------------------------------------- /Test/src/main/java/IntegerTest/IntegerDemo.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kvenLin/JDK-Source/HEAD/Test/src/main/java/IntegerTest/IntegerDemo.class -------------------------------------------------------------------------------- /Test/src/main/java/image/ConcurrentHashMap1.7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kvenLin/JDK-Source/HEAD/Test/src/main/java/image/ConcurrentHashMap1.7.png -------------------------------------------------------------------------------- /Test/src/main/java/image/ConcurrentHashMap1.8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kvenLin/JDK-Source/HEAD/Test/src/main/java/image/ConcurrentHashMap1.8.png -------------------------------------------------------------------------------- /JVM-Learning/src/com/MethodInvokeTest/test2/Demo.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kvenLin/JDK-Source/HEAD/JVM-Learning/src/com/MethodInvokeTest/test2/Demo.class -------------------------------------------------------------------------------- /Test/src/main/java/image/ConcurrentHashMap1.8_put.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kvenLin/JDK-Source/HEAD/Test/src/main/java/image/ConcurrentHashMap1.8_put.png -------------------------------------------------------------------------------- /JVM-Learning/src/com/MethodInvokeTest/test1/Hello.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kvenLin/JDK-Source/HEAD/JVM-Learning/src/com/MethodInvokeTest/test1/Hello.class -------------------------------------------------------------------------------- /JVM-Learning/src/com/MethodInvokeTest/test2/Demo$Child1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kvenLin/JDK-Source/HEAD/JVM-Learning/src/com/MethodInvokeTest/test2/Demo$Child1.class -------------------------------------------------------------------------------- /JVM-Learning/src/com/MethodInvokeTest/test2/Demo$Child2.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kvenLin/JDK-Source/HEAD/JVM-Learning/src/com/MethodInvokeTest/test2/Demo$Child2.class -------------------------------------------------------------------------------- /JVM-Learning/src/com/MethodInvokeTest/test2/Demo$Parent.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kvenLin/JDK-Source/HEAD/JVM-Learning/src/com/MethodInvokeTest/test2/Demo$Parent.class -------------------------------------------------------------------------------- /JVM-Learning/src/com/OOMtest/Demo.java: -------------------------------------------------------------------------------- 1 | package com.OOMtest; 2 | 3 | /** 4 | * @Author: clf 5 | * @Date: 18-12-13 6 | * @Description: 7 | */ 8 | public class Demo { 9 | } 10 | -------------------------------------------------------------------------------- /.idea/markdown-navigator/profiles_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /.idea/smartfox_info.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | -------------------------------------------------------------------------------- /Test/src/JavaSE/Test.java: -------------------------------------------------------------------------------- 1 | package JavaSE; 2 | 3 | /** 4 | * @Author: clf 5 | * @Date: 19-5-22 6 | * @Description: 7 | */ 8 | public class Test { 9 | public static void main(String[] args) { 10 | int k = 0; 11 | 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /Test/src/main/java/Reflection/DynamicProxy/EasySample/Work.java: -------------------------------------------------------------------------------- 1 | package Reflection.DynamicProxy.EasySample; 2 | 3 | /** 4 | * @Author: clf 5 | * @Date: 19-3-3 6 | * @Description: 7 | */ 8 | public interface Work { 9 | void say(); 10 | } 11 | -------------------------------------------------------------------------------- /Test/src/main/java/Reflection/DynamicProxy/ForInterface/IPlay.java: -------------------------------------------------------------------------------- 1 | package Reflection.DynamicProxy.ForInterface; 2 | 3 | /** 4 | * @Author: clf 5 | * @Date: 19-3-3 6 | * @Description: 7 | */ 8 | public interface IPlay { 9 | void play(); 10 | } 11 | -------------------------------------------------------------------------------- /Test/src/JavaSE/lambda/MyInterface.java: -------------------------------------------------------------------------------- 1 | package lambda; 2 | 3 | /** 4 | * @Author: clf 5 | * @Date: 19-11-9 6 | * @Description: 7 | */ 8 | @FunctionalInterface 9 | public interface MyInterface { 10 | void test(); 11 | String toString(); 12 | } 13 | -------------------------------------------------------------------------------- /Test/src/main/java/OverloadTest/OverloadDemo.java: -------------------------------------------------------------------------------- 1 | package OverloadTest; 2 | 3 | /** 4 | * @Author: clf 5 | * @Date: 18-12-20 6 | * @Description: 7 | */ 8 | public class OverloadDemo { 9 | public static void main(String[] args) { 10 | 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /JVM-Learning/src/com/ClassLoad/test1/Parent.java: -------------------------------------------------------------------------------- 1 | package com.ClassLoad.test1; 2 | 3 | /** 4 | * @Author: clf 5 | * @Date: 18-12-15 6 | * @Description: 7 | */ 8 | public class Parent { 9 | static { 10 | System.out.println("parent 初始化..."); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /JVM-Learning/src/com/JavacTest/Test1.java: -------------------------------------------------------------------------------- 1 | package com.JavacTest; 2 | 3 | /** 4 | * @Author: clf 5 | * @Date: 18-12-16 6 | * @Description: 7 | * 进行编译和反编译测试 8 | */ 9 | public class Test1 { 10 | public int add(int a, int b){ 11 | return a + b; 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /Test/src/main/java/Synchronized/Test2.java: -------------------------------------------------------------------------------- 1 | package Synchronized; 2 | 3 | /** 4 | * @Author: clf 5 | * @Date: 19-3-17 6 | * @Description: 7 | */ 8 | public class Test2 { 9 | public synchronized void method(){ 10 | System.out.println("test2"); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /Test/src/main/java/Synchronized/Test1.java: -------------------------------------------------------------------------------- 1 | package Synchronized; 2 | 3 | /** 4 | * @Author: clf 5 | * @Date: 19-3-17 6 | * @Description: 7 | */ 8 | public class Test1 { 9 | public synchronized static void method(){ 10 | System.out.println("test1"); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # JDK-Source 2 | ## 前言 3 | 4 | ## 源码学习 5 | * [深入理解Java8](jdk1.8/深入理解Java8.md)(针对Java8新特性学习) 6 | * [jdk1.8源码阅读MarkDown文档](jdk1.8/README.md) 7 | ## JVM学习 8 | * 学习书籍《深入理解Java虚拟机》 9 | * [视频学习教程](https://www.bilibili.com/video/av29502877/) 10 | * [学习总结MarkDown文档](JVM-Learning/README.md) -------------------------------------------------------------------------------- /JVM-Learning/src/com/ClassLoad/test2/Parent.java: -------------------------------------------------------------------------------- 1 | package com.ClassLoad.test2; 2 | 3 | /** 4 | * @Author: clf 5 | * @Date: 18-12-15 6 | * @Description: 7 | */ 8 | public class Parent { 9 | static { 10 | System.out.println("parent 初始化..."); 11 | } 12 | 13 | public static int num = 10; 14 | } 15 | -------------------------------------------------------------------------------- /JVM-Learning/src/com/ClassLoad/test2/Child.java: -------------------------------------------------------------------------------- 1 | package com.ClassLoad.test2; 2 | 3 | /** 4 | * @Author: clf 5 | * @Date: 18-12-15 6 | * @Description: 7 | */ 8 | public class Child extends Parent { 9 | static { 10 | System.out.println("child 初始化...."); 11 | } 12 | 13 | public static final int a = 20; 14 | } 15 | -------------------------------------------------------------------------------- /Test/src/main/java/Synchronized/Test.java: -------------------------------------------------------------------------------- 1 | package Synchronized; 2 | 3 | /** 4 | * @Author: clf 5 | * @Date: 19-3-17 6 | * @Description: 7 | */ 8 | public class Test { 9 | public void method(){ 10 | synchronized (this){ 11 | System.out.println("test keyword synchronized..."); 12 | } 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /Test/src/main/java/Reflection/DynamicProxy/EasySample/WorkImpl.java: -------------------------------------------------------------------------------- 1 | package Reflection.DynamicProxy.EasySample; 2 | 3 | /** 4 | * @Author: clf 5 | * @Date: 19-3-3 6 | * @Description: 7 | */ 8 | public class WorkImpl implements Work{ 9 | @Override 10 | public void say() { 11 | System.out.println("hello world!"); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /Test/src/main/java/IOTest/test3.txt: -------------------------------------------------------------------------------- 1 | a习b乡a习b乡a习b乡a习b乡a习b乡a习b乡a习b乡a习b乡a习b乡a习b乡a习b乡a习b乡a习b乡a 2 | 习b乡a习b乡a习b乡a习b乡a习b乡a习b乡a习b乡a习b乡a习b乡a习b乡a习b乡a习b乡a习b乡a习b乡a习b 3 | 乡a习b乡a习b乡a习 4 | b乡a习b乡a习b乡a习b乡a习b乡a习b乡a习b乡a 5 | 习b乡a习b乡a习b乡a习b乡a习b乡a习b乡a 6 | 习b乡a习b乡a习b乡a习b乡a习b乡a习b乡a习b乡a习 7 | b乡a习b乡a习b乡a习b乡a习b乡a习b乡a习 8 | b乡a习b乡a习b乡a习b乡a习b乡a习b乡a习b乡a 9 | 习b乡a习b乡a习b乡a习b乡a习b 10 | 乡a习b乡a习b乡a习b乡a习b乡a习b乡a习b乡a习b乡 11 | a习b乡a习b乡a习b乡a习b乡a习b乡 -------------------------------------------------------------------------------- /JVM-Learning/src/com/MethodInvokeTest/test1/Hello.java: -------------------------------------------------------------------------------- 1 | package com.MethodInvokeTest.test1; 2 | 3 | /** 4 | * @Author: clf 5 | * @Date: 18-12-16 6 | * @Description: 7 | * 解析调用测试 8 | */ 9 | public class Hello { 10 | public static void sayHello(){ 11 | System.out.println("Hello !"); 12 | } 13 | 14 | public static void main(String[] args) { 15 | Hello.sayHello(); 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /Test/src/JavaSE/lambda/PredicateTest.java: -------------------------------------------------------------------------------- 1 | package lambda; 2 | 3 | import java.util.function.Predicate; 4 | 5 | /** 6 | * @Author: clf 7 | * @Date: 19-11-16 8 | * @Description: 9 | */ 10 | public class PredicateTest { 11 | public static void main(String[] args) { 12 | 13 | Predicate predicate = s -> s.length() > 5; 14 | System.out.println(predicate.test("hello")); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /JVM-Learning/src/com/StackOverFlowTest.java: -------------------------------------------------------------------------------- 1 | package com; 2 | 3 | /** 4 | * @Author: clf 5 | * @Date: 18-12-13 6 | * @Description: 7 | */ 8 | public class StackOverFlowTest { 9 | 10 | public void test(){ 11 | System.out.println("执行方法..."); 12 | //递归对对方法进行添加 13 | test(); 14 | } 15 | public static void main(String[] args) { 16 | new StackOverFlowTest().test(); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/security/auth/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | @jdk.Exported 27 | package com.sun.security.auth; 28 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/security/jgss/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | @jdk.Exported 27 | package com.sun.security.jgss; 28 | -------------------------------------------------------------------------------- /Test/src/main/java/JavaSE/HashCodeAndEqualsTest.java: -------------------------------------------------------------------------------- 1 | package JavaSE; 2 | 3 | /** 4 | * @Author: clf 5 | * @Date: 19-3-10 6 | * @Description: 7 | */ 8 | public class HashCodeAndEqualsTest { 9 | public static void main(String[] args) { 10 | Obj obj = new Obj(); 11 | System.out.println(obj.hashCode()); 12 | System.out.println(obj.hashCode()); 13 | } 14 | static class Obj{ 15 | 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /JVM-Learning/src/com/ClassLoad/test2/Main3.java: -------------------------------------------------------------------------------- 1 | package com.ClassLoad.test2; 2 | 3 | /** 4 | * @Author: clf 5 | * @Date: 18-12-15 6 | * @Description: 7 | */ 8 | public class Main3 { 9 | public static void main(String[] args) { 10 | /** 11 | * 运行结果: 12 | * 20 13 | * 14 | * 即: 调用类的常量,该类不会进行初始化 15 | */ 16 | System.out.println(Child.a); 17 | 18 | } 19 | 20 | } 21 | 22 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/security/auth/login/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | @jdk.Exported 27 | package com.sun.security.auth.login; 28 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/security/auth/module/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | @jdk.Exported 27 | package com.sun.security.auth.module; 28 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/security/auth/callback/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | @jdk.Exported 27 | package com.sun.security.auth.callback; 28 | -------------------------------------------------------------------------------- /JVM-Learning/src/com/ClassLoad/test2/Main2.java: -------------------------------------------------------------------------------- 1 | package com.ClassLoad.test2; 2 | 3 | /** 4 | * @Author: clf 5 | * @Date: 18-12-15 6 | * @Description: 7 | */ 8 | public class Main2 { 9 | public static void main(String[] args) { 10 | /** 11 | * 运行结果: 12 | * 不会输出任何东西 13 | * 14 | * 即:通过数组定义来引用类,不会被初始化 15 | */ 16 | Child[] children = new Child[10]; 17 | 18 | } 19 | 20 | } 21 | 22 | -------------------------------------------------------------------------------- /jdk1.8/src/java/net/InetAddressContainer.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package java.net; 27 | 28 | class InetAddressContainer { 29 | InetAddress addr; 30 | } 31 | -------------------------------------------------------------------------------- /JDK-Source.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /JVM-Learning/src/com/ClassLoad/test2/Main.java: -------------------------------------------------------------------------------- 1 | package com.ClassLoad.test2; 2 | 3 | /** 4 | * @Author: clf 5 | * @Date: 18-12-15 6 | * @Description: 7 | */ 8 | public class Main { 9 | public static void main(String[] args) { 10 | /** 11 | * 运行结果: 12 | * parent 初始化... 13 | * 10 14 | * 15 | * 即:子类不会被加载,只有父类会被加载 16 | */ 17 | System.out.println(Child.num); 18 | 19 | 20 | } 21 | 22 | } 23 | 24 | -------------------------------------------------------------------------------- /jdk1.8/jdk1.8.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /JVM-Learning/src/com/OOMtest/Main.java: -------------------------------------------------------------------------------- 1 | package com.OOMtest; 2 | 3 | import java.util.ArrayList; 4 | import java.util.List; 5 | 6 | /** 7 | * @Author: clf 8 | * @Date: 18-12-13 9 | * @Description: 10 | */ 11 | public class Main { 12 | 13 | public static void main(String[] args) { 14 | List demoList = new ArrayList<>(); 15 | while (true){ 16 | //进行无限循环添加对象Demo 17 | demoList.add(new Demo()); 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /JVM-Learning/JVM-Learning.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /JVM-Learning/src/com/JavacTest/test.txt: -------------------------------------------------------------------------------- 1 | // 同级目录下使用 javap -c xxx.class > 指定输出文件路径,得到当前文件内容 2 | Compiled from "Test1.java" 3 | public class com.JavacTest.Test1 { 4 | public com.JavacTest.Test1(); 5 | Code: 6 | 0: aload_0 7 | 1: invokespecial #1 // Method java/lang/Object."":()V 8 | 4: return 9 | 10 | public int add(int, int); 11 | Code: 12 | 0: iload_1 13 | 1: iload_2 14 | 2: iadd 15 | 3: ireturn 16 | } 17 | -------------------------------------------------------------------------------- /Test/src/main/java/JavaSE/HashMapTest.java: -------------------------------------------------------------------------------- 1 | package JavaSE; 2 | 3 | import java.util.HashMap; 4 | 5 | /** 6 | * @Author: clf 7 | * @Date: 19-3-23 8 | * @Description: 9 | */ 10 | public class HashMapTest { 11 | public static void main(String[] args) { 12 | HashMap hashMap = new HashMap(); 13 | hashMap.put(null, null); 14 | hashMap.put(null, 123); 15 | hashMap.put(null, 4515); 16 | 17 | System.out.println(hashMap.size()); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/corba/se/spi/ior/MakeImmutable.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package com.sun.corba.se.spi.ior ; 27 | 28 | public interface MakeImmutable { 29 | void makeImmutable() ; 30 | } 31 | -------------------------------------------------------------------------------- /JVM-Learning/src/com/ClassLoad/test3/InitTest2.java: -------------------------------------------------------------------------------- 1 | package com.ClassLoad.test3; 2 | 3 | /** 4 | * @Author: clf 5 | * @Date: 18-12-16 6 | * @Description: 7 | * 初始化测试 8 | */ 9 | public class InitTest2 { 10 | public static int A = 1; 11 | static { 12 | A = 2; 13 | } 14 | 15 | 16 | static class Sub extends InitTest2{ 17 | public static int B = A; 18 | } 19 | 20 | public static void main(String[] args) { 21 | System.out.println(Sub.B); 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /Test/src/main/java/String/StringTest1.java: -------------------------------------------------------------------------------- 1 | package String; 2 | 3 | /** 4 | * @Author: clf 5 | * @Date: 18-12-20 6 | * @Description: 7 | */ 8 | public class StringTest1 { 9 | 10 | public static void main(String[] args) { 11 | String tmp1 = "hello";//常量池 12 | String tmp2 = "world"; 13 | String s1 = tmp1 + tmp2;//tmp1为变量,编译时不能知道其值,所以需要在运行时进行创建s1,所以s1是在堆中创建 14 | 15 | System.out.println(s1.intern() == s1);//true,常量池中并没有helloworld,调用intern常量池中生成一个引用指向堆中的s1 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /jdk1.8/src/launcher/wildcard.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | #ifndef WILDCARD_H_ 27 | #define WILDCARD_H_ 28 | 29 | const char *JLI_WildcardExpandClasspath(const char *classpath); 30 | 31 | #endif /* include guard */ 32 | -------------------------------------------------------------------------------- /.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/corba/se/spi/orbutil/closure/Closure.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2000, 2003, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package com.sun.corba.se.spi.orbutil.closure ; 27 | 28 | public interface Closure { 29 | public Object evaluate() ; 30 | } 31 | -------------------------------------------------------------------------------- /JVM-Learning/src/com/ClassLoad/test3/InitTest1.java: -------------------------------------------------------------------------------- 1 | package com.ClassLoad.test3; 2 | 3 | /** 4 | * @Author: clf 5 | * @Date: 18-12-16 6 | * @Description: 7 | * 初始化测试 8 | */ 9 | public class InitTest1 { 10 | static { 11 | i = 0;//可以赋值,但是不能进行访问 12 | // System.out.println(i);//这里出现了编译错误 13 | } 14 | static int i = 1; 15 | } 16 | /** 17 | * 分析: 18 | * ()方法是由编译器自动收集类中的所有类变量的赋值动作和静态语句块中的语句块合并产生的, 19 | * 编译器收集的顺序是由语句在源文件中出现的顺序决定的,静态块中只能访问在静态语句块之前的变量, 20 | * 定义在它之后的变量,在前面的语句块中可以赋值,但是不能访问 21 | * 22 | */ 23 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/corba/se/impl/orbutil/threadpool/TimeoutException.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package com.sun.corba.se.impl.orbutil.threadpool; 27 | 28 | public class TimeoutException extends Exception 29 | { 30 | } 31 | 32 | // End of file. 33 | -------------------------------------------------------------------------------- /jdk1.8/src/java/util/EventListener.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 1996, 1999, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package java.util; 27 | 28 | /** 29 | * A tagging interface that all event listener interfaces must extend. 30 | * @since JDK1.1 31 | */ 32 | public interface EventListener { 33 | } 34 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/corba/se/spi/ior/ObjectId.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package com.sun.corba.se.spi.ior; 27 | 28 | /** 29 | * @author Ken Cavanaugh 30 | */ 31 | public interface ObjectId extends Writeable 32 | { 33 | public byte[] getId() ; 34 | } 35 | -------------------------------------------------------------------------------- /jdk1.8/src/org/omg/PortableInterceptor/UNKNOWN.java: -------------------------------------------------------------------------------- 1 | package org.omg.PortableInterceptor; 2 | 3 | 4 | /** 5 | * org/omg/PortableInterceptor/UNKNOWN.java . 6 | * Generated by the IDL-to-Java compiler (portable), version "3.2" 7 | * from /HUDSON/workspace/8-2-build-linux-amd64/jdk8u20/1074/corba/src/share/classes/org/omg/PortableInterceptor/Interceptors.idl 8 | * Wednesday, July 30, 2014 1:14:28 PM PDT 9 | */ 10 | 11 | public interface UNKNOWN 12 | { 13 | 14 | /** 15 | * XXX 16 | */ 17 | public static final short value = (short)(5); 18 | } 19 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/corba/se/spi/orbutil/threadpool/NoSuchThreadPoolException.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package com.sun.corba.se.spi.orbutil.threadpool; 27 | 28 | public class NoSuchThreadPoolException extends Exception 29 | { 30 | } 31 | 32 | // End of file. 33 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/corba/se/spi/orbutil/threadpool/NoSuchWorkQueueException.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package com.sun.corba.se.spi.orbutil.threadpool; 27 | 28 | public class NoSuchWorkQueueException extends Exception 29 | { 30 | } 31 | 32 | // End of file. 33 | -------------------------------------------------------------------------------- /Test/src/main/java/JavaSE/StringTest.java: -------------------------------------------------------------------------------- 1 | package JavaSE; 2 | 3 | /** 4 | * @author louye 5 | * @title: StringTest 6 | * @description: TODO 7 | * @date 2019-06-06,12:10 8 | */ 9 | public class StringTest { 10 | public static void main(String[] args) { 11 | String str1 = "String test"; 12 | String obj = new String(str1); 13 | System.out.println(obj.equals(str1)); 14 | } 15 | 16 | /** 17 | * 输出结果: true 18 | * 默认的equals方法先使用"=="进行内存地址的比较,如果相等直接返回true, 19 | * 如果不等再进行值得比较,如果值相等也返回true,否则返回false 20 | */ 21 | } 22 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/corba/se/spi/activation/Locator.java: -------------------------------------------------------------------------------- 1 | package com.sun.corba.se.spi.activation; 2 | 3 | 4 | /** 5 | * com/sun/corba/se/spi/activation/Locator.java . 6 | * Generated by the IDL-to-Java compiler (portable), version "3.2" 7 | * from /HUDSON/workspace/8-2-build-linux-amd64/jdk8u20/1074/corba/src/share/classes/com/sun/corba/se/spi/activation/activation.idl 8 | * Wednesday, July 30, 2014 1:14:27 PM PDT 9 | */ 10 | 11 | public interface Locator extends LocatorOperations, org.omg.CORBA.Object, org.omg.CORBA.portable.IDLEntity 12 | { 13 | } // interface Locator 14 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/corba/se/spi/ior/WriteContents.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package com.sun.corba.se.spi.ior; 27 | 28 | import org.omg.CORBA_2_3.portable.OutputStream ; 29 | 30 | public interface WriteContents { 31 | void writeContents( OutputStream os ) ; 32 | } 33 | -------------------------------------------------------------------------------- /jdk1.8/src/javax/swing/plaf/LabelUI.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 1997, 1998, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package javax.swing.plaf; 27 | 28 | /** 29 | * Pluggable look and feel interface for JLabel. 30 | * 31 | * @author Hans Muller 32 | */ 33 | public abstract class LabelUI extends ComponentUI { 34 | } 35 | -------------------------------------------------------------------------------- /jdk1.8/src/javax/swing/plaf/PanelUI.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 1998, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package javax.swing.plaf; 27 | 28 | 29 | /** 30 | * Pluggable look and feel interface for Panel. 31 | * 32 | * @author Steve Wilson 33 | */ 34 | public abstract class PanelUI extends ComponentUI { 35 | } 36 | -------------------------------------------------------------------------------- /jdk1.8/src/javax/swing/plaf/TableUI.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 1997, 1998, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package javax.swing.plaf; 27 | 28 | /** 29 | * Pluggable look and feel interface for JTable. 30 | * 31 | * @author Alan Chung 32 | */ 33 | public abstract class TableUI extends ComponentUI { 34 | } 35 | -------------------------------------------------------------------------------- /jdk1.8/src/java/lang/annotation/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2004, 2006, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | /** 27 | * Provides library support for the Java programming language 28 | * annotation facility. 29 | * 30 | * @author Josh Bloch 31 | * @since 1.5 32 | */ 33 | package java.lang.annotation; 34 | -------------------------------------------------------------------------------- /jdk1.8/src/javax/security/auth/spi/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | /** 27 | * This package provides the interface to be used for 28 | * implementing pluggable authentication modules. 29 | * 30 | * @since JDK1.4 31 | */ 32 | package javax.security.auth.spi; 33 | -------------------------------------------------------------------------------- /jdk1.8/src/javax/swing/plaf/SliderUI.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 1997, 1998, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package javax.swing.plaf; 27 | 28 | /** 29 | * Pluggable look and feel interface for JSlider. 30 | * 31 | * @author Hans Muller 32 | */ 33 | public abstract class SliderUI extends ComponentUI { 34 | } 35 | -------------------------------------------------------------------------------- /jdk1.8/src/javax/swing/plaf/ToolTipUI.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 1997, 1998, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package javax.swing.plaf; 27 | 28 | /** 29 | * Pluggable look and feel interface for JToolTip. 30 | * 31 | * @author Dave Moore 32 | */ 33 | public abstract class ToolTipUI extends ComponentUI { 34 | } 35 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/corba/se/spi/activation/Activator.java: -------------------------------------------------------------------------------- 1 | package com.sun.corba.se.spi.activation; 2 | 3 | 4 | /** 5 | * com/sun/corba/se/spi/activation/Activator.java . 6 | * Generated by the IDL-to-Java compiler (portable), version "3.2" 7 | * from /HUDSON/workspace/8-2-build-linux-amd64/jdk8u20/1074/corba/src/share/classes/com/sun/corba/se/spi/activation/activation.idl 8 | * Wednesday, July 30, 2014 1:14:27 PM PDT 9 | */ 10 | 11 | public interface Activator extends ActivatorOperations, org.omg.CORBA.Object, org.omg.CORBA.portable.IDLEntity 12 | { 13 | } // interface Activator 14 | -------------------------------------------------------------------------------- /jdk1.8/src/javax/swing/plaf/ViewportUI.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 1998, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package javax.swing.plaf; 27 | 28 | 29 | /** 30 | * Pluggable look and feel interface for JViewport. 31 | * 32 | * @author Rich Schiavi 33 | */ 34 | public abstract class ViewportUI extends ComponentUI { 35 | } 36 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/corba/se/spi/activation/Repository.java: -------------------------------------------------------------------------------- 1 | package com.sun.corba.se.spi.activation; 2 | 3 | 4 | /** 5 | * com/sun/corba/se/spi/activation/Repository.java . 6 | * Generated by the IDL-to-Java compiler (portable), version "3.2" 7 | * from /HUDSON/workspace/8-2-build-linux-amd64/jdk8u20/1074/corba/src/share/classes/com/sun/corba/se/spi/activation/activation.idl 8 | * Wednesday, July 30, 2014 1:14:27 PM PDT 9 | */ 10 | 11 | public interface Repository extends RepositoryOperations, org.omg.CORBA.Object, org.omg.CORBA.portable.IDLEntity 12 | { 13 | } // interface Repository 14 | -------------------------------------------------------------------------------- /jdk1.8/src/javax/swing/plaf/ScrollBarUI.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 1997, 1998, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package javax.swing.plaf; 27 | 28 | /** 29 | * Pluggable look and feel interface for JScrollBar. 30 | * 31 | * @author David Kloba 32 | */ 33 | public abstract class ScrollBarUI extends ComponentUI { 34 | } 35 | -------------------------------------------------------------------------------- /jdk1.8/src/org/omg/PortableServer/THREAD_POLICY_ID.java: -------------------------------------------------------------------------------- 1 | package org.omg.PortableServer; 2 | 3 | 4 | /** 5 | * org/omg/PortableServer/THREAD_POLICY_ID.java . 6 | * Generated by the IDL-to-Java compiler (portable), version "3.2" 7 | * from /HUDSON/workspace/8-2-build-linux-amd64/jdk8u20/1074/corba/src/share/classes/org/omg/PortableServer/poa.idl 8 | * Wednesday, July 30, 2014 1:14:28 PM PDT 9 | */ 10 | 11 | public interface THREAD_POLICY_ID 12 | { 13 | 14 | /** 15 | * The value representing THREAD_POLICY_ID. 16 | */ 17 | public static final int value = (int)(16L); 18 | } 19 | -------------------------------------------------------------------------------- /jdk1.8/src/javax/swing/plaf/TableHeaderUI.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 1997, 1998, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package javax.swing.plaf; 27 | 28 | /** 29 | * Pluggable look and feel interface for JTableHeader. 30 | * 31 | * @author Alan Chung 32 | */ 33 | public abstract class TableHeaderUI extends ComponentUI { 34 | } 35 | -------------------------------------------------------------------------------- /jdk1.8/src/org/omg/IOP/ENCODING_CDR_ENCAPS.java: -------------------------------------------------------------------------------- 1 | package org.omg.IOP; 2 | 3 | 4 | /** 5 | * org/omg/IOP/ENCODING_CDR_ENCAPS.java . 6 | * Generated by the IDL-to-Java compiler (portable), version "3.2" 7 | * from /HUDSON/workspace/8-2-build-linux-amd64/jdk8u20/1074/corba/src/share/classes/org/omg/PortableInterceptor/IOP.idl 8 | * Wednesday, July 30, 2014 1:14:27 PM PDT 9 | */ 10 | 11 | public interface ENCODING_CDR_ENCAPS 12 | { 13 | 14 | /** 15 | * The CDR Encapsulation encoding. 16 | * @see CodecFactory 17 | */ 18 | public static final short value = (short)(0); 19 | } 20 | -------------------------------------------------------------------------------- /jdk1.8/src/org/omg/PortableServer/LIFESPAN_POLICY_ID.java: -------------------------------------------------------------------------------- 1 | package org.omg.PortableServer; 2 | 3 | 4 | /** 5 | * org/omg/PortableServer/LIFESPAN_POLICY_ID.java . 6 | * Generated by the IDL-to-Java compiler (portable), version "3.2" 7 | * from /HUDSON/workspace/8-2-build-linux-amd64/jdk8u20/1074/corba/src/share/classes/org/omg/PortableServer/poa.idl 8 | * Wednesday, July 30, 2014 1:14:28 PM PDT 9 | */ 10 | 11 | public interface LIFESPAN_POLICY_ID 12 | { 13 | 14 | /** 15 | * The value representing LIFESPAN_POLICY_ID. 16 | */ 17 | public static final int value = (int)(17L); 18 | } 19 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_alibaba_fastjson_1_2_47.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /Test/src/main/java/JavaSE/lambda/Test.java: -------------------------------------------------------------------------------- 1 | package JavaSE.lambda; 2 | 3 | /** 4 | * @Author: clf 5 | * @Date: 19-3-8 6 | * @Description: 7 | * lambda应用测试 8 | */ 9 | public class Test { 10 | public static void main(String[] args) { 11 | new Thread(new Runnable() { 12 | @Override 13 | public void run() { 14 | System.out.println("传统方式实现线程"); 15 | } 16 | }).start(); 17 | 18 | //lambda方式 19 | new Thread(() -> { 20 | System.out.println("使用lambda方式实现线程"); 21 | }).start(); 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/source/doctree/TextTree.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package com.sun.source.doctree; 27 | 28 | /** 29 | * A tree node for plain text. 30 | * 31 | * @since 1.8 32 | */ 33 | @jdk.Exported 34 | public interface TextTree extends DocTree { 35 | String getBody(); 36 | } 37 | -------------------------------------------------------------------------------- /jdk1.8/src/javax/swing/SwingHeavyWeight.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | package javax.swing; 26 | 27 | /** 28 | * An interface used to tag heavy weight components that we want processed 29 | * by Swing's RepaintManager. 30 | * 31 | * @author Scott Violet 32 | */ 33 | interface SwingHeavyWeight { 34 | } 35 | -------------------------------------------------------------------------------- /jdk1.8/src/javax/swing/plaf/DesktopIconUI.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 1997, 1998, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package javax.swing.plaf; 27 | 28 | 29 | /** 30 | * Pluggable look and feel interface for JDesktopIcon. 31 | * 32 | * @author David Kloba 33 | */ 34 | public abstract class DesktopIconUI extends ComponentUI { 35 | } 36 | -------------------------------------------------------------------------------- /jdk1.8/src/javax/swing/plaf/DesktopPaneUI.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 1997, 1998, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package javax.swing.plaf; 27 | 28 | 29 | /** 30 | * Pluggable look and feel interface for JDesktopPane. 31 | * 32 | * @author David Kloba 33 | */ 34 | public abstract class DesktopPaneUI extends ComponentUI { 35 | } 36 | -------------------------------------------------------------------------------- /jdk1.8/src/javax/swing/plaf/InternalFrameUI.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 1997, 1998, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package javax.swing.plaf; 27 | 28 | /** 29 | * Pluggable look and feel interface for JInternalFrame. 30 | * 31 | * @author David Kloba 32 | */ 33 | public abstract class InternalFrameUI extends ComponentUI { 34 | } 35 | -------------------------------------------------------------------------------- /jdk1.8/src/javax/swing/plaf/ProgressBarUI.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 1997, 1998, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package javax.swing.plaf; 27 | 28 | 29 | /** 30 | * Pluggable look and feel interface for JProgressBar. 31 | * 32 | * @author Rob Davis 33 | */ 34 | public abstract class ProgressBarUI extends ComponentUI { 35 | } 36 | -------------------------------------------------------------------------------- /jdk1.8/src/javax/xml/ws/wsaddressing/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | @javax.xml.bind.annotation.XmlSchema(namespace=W3CEndpointReference.NS, 27 | location="http://www.w3.org/2006/03/addressing/ws-addr.xsd") 28 | package javax.xml.ws.wsaddressing; 29 | -------------------------------------------------------------------------------- /jdk1.8/src/org/omg/PortableInterceptor/ACTIVE.java: -------------------------------------------------------------------------------- 1 | package org.omg.PortableInterceptor; 2 | 3 | 4 | /** 5 | * org/omg/PortableInterceptor/ACTIVE.java . 6 | * Generated by the IDL-to-Java compiler (portable), version "3.2" 7 | * from /HUDSON/workspace/8-2-build-linux-amd64/jdk8u20/1074/corba/src/share/classes/org/omg/PortableInterceptor/Interceptors.idl 8 | * Wednesday, July 30, 2014 1:14:28 PM PDT 9 | */ 10 | 11 | public interface ACTIVE 12 | { 13 | 14 | /** Object adapter state that indicates normal request processing. 15 | */ 16 | public static final short value = (short)(1); 17 | } 18 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/corba/se/PortableActivationIDL/Locator.java: -------------------------------------------------------------------------------- 1 | package com.sun.corba.se.PortableActivationIDL; 2 | 3 | 4 | /** 5 | * com/sun/corba/se/PortableActivationIDL/Locator.java . 6 | * Generated by the IDL-to-Java compiler (portable), version "3.2" 7 | * from /HUDSON/workspace/8-2-build-linux-amd64/jdk8u20/1074/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl 8 | * Wednesday, July 30, 2014 1:14:27 PM PDT 9 | */ 10 | 11 | public interface Locator extends LocatorOperations, org.omg.CORBA.Object, org.omg.CORBA.portable.IDLEntity 12 | { 13 | } // interface Locator 14 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/javadoc/ConstructorDoc.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 1998, 2006, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package com.sun.javadoc; 27 | 28 | /** 29 | * Represents a constructor of a java class. 30 | * 31 | * @since 1.2 32 | * @author Robert Field 33 | */ 34 | public interface ConstructorDoc extends ExecutableMemberDoc { 35 | } 36 | -------------------------------------------------------------------------------- /jdk1.8/src/javax/swing/plaf/RootPaneUI.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 1999, 2006, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package javax.swing.plaf; 27 | 28 | /** 29 | * Pluggable look and feel interface for JRootPane. 30 | * 31 | * @author Scott Violet 32 | * @since 1.3 33 | */ 34 | public abstract class RootPaneUI extends ComponentUI { 35 | } 36 | -------------------------------------------------------------------------------- /jdk1.8/src/javax/swing/plaf/ScrollPaneUI.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 1997, 1998, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package javax.swing.plaf; 27 | 28 | 29 | /** 30 | * Pluggable look and feel interface for JScrollPane. 31 | * 32 | * @author Hans Muller 33 | */ 34 | 35 | public abstract class ScrollPaneUI extends ComponentUI { 36 | } 37 | -------------------------------------------------------------------------------- /JVM-Learning/src/com/ClassLoad/test1/Child.java: -------------------------------------------------------------------------------- 1 | package com.ClassLoad.test1; 2 | 3 | /** 4 | * @Author: clf 5 | * @Date: 18-12-15 6 | * @Description: 7 | */ 8 | public class Child extends Parent{ 9 | static { 10 | System.out.println("child 初始化...."); 11 | } 12 | 13 | public static void main(String[] args) { 14 | /** 15 | * 运行结果: 16 | * parent 初始化... 17 | * child 初始化.... 18 | * 即: 19 | * 当初始化一个类时,如果发现其父类还没有进行过初始化,则需要先触发其父类的初始化 20 | * 当虚拟机启动时,用户需要指定一个执行的主类(包含main()方法的那个类),虚拟机会先初始化这个主类 21 | */ 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/corba/se/spi/activation/IIOP_CLEAR_TEXT.java: -------------------------------------------------------------------------------- 1 | package com.sun.corba.se.spi.activation; 2 | 3 | 4 | /** 5 | * com/sun/corba/se/spi/activation/IIOP_CLEAR_TEXT.java . 6 | * Generated by the IDL-to-Java compiler (portable), version "3.2" 7 | * from /HUDSON/workspace/8-2-build-linux-amd64/jdk8u20/1074/corba/src/share/classes/com/sun/corba/se/spi/activation/activation.idl 8 | * Wednesday, July 30, 2014 1:14:27 PM PDT 9 | */ 10 | 11 | public interface IIOP_CLEAR_TEXT 12 | { 13 | 14 | // to avoid a compilation dependency. 15 | public static final String value = "IIOP_CLEAR_TEXT"; 16 | } 17 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/corba/se/PortableActivationIDL/Activator.java: -------------------------------------------------------------------------------- 1 | package com.sun.corba.se.PortableActivationIDL; 2 | 3 | 4 | /** 5 | * com/sun/corba/se/PortableActivationIDL/Activator.java . 6 | * Generated by the IDL-to-Java compiler (portable), version "3.2" 7 | * from /HUDSON/workspace/8-2-build-linux-amd64/jdk8u20/1074/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl 8 | * Wednesday, July 30, 2014 1:14:27 PM PDT 9 | */ 10 | 11 | public interface Activator extends ActivatorOperations, org.omg.CORBA.Object, org.omg.CORBA.portable.IDLEntity 12 | { 13 | } // interface Activator 14 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/corba/se/spi/transport/CorbaConnectionCache.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package com.sun.corba.se.spi.transport; 27 | 28 | /** 29 | * @author Harold Carr 30 | */ 31 | public interface CorbaConnectionCache 32 | { 33 | public String getMonitoringName(); 34 | } 35 | 36 | // End of file. 37 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/java/swing/plaf/windows/WindowsSeparatorUI.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package com.sun.java.swing.plaf.windows; 27 | 28 | import javax.swing.plaf.basic.*; 29 | 30 | /** 31 | * Windows Separator. 32 | *

33 | * 34 | */ 35 | public class WindowsSeparatorUI extends BasicSeparatorUI { } 36 | -------------------------------------------------------------------------------- /jdk1.8/src/javax/swing/plaf/SpinnerUI.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2000, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package javax.swing.plaf; 27 | 28 | 29 | /** 30 | * Pluggable look and feel interface for JSpinner 31 | * 32 | * @author Hans Muller 33 | * @since 1.4 34 | */ 35 | public abstract class SpinnerUI extends javax.swing.plaf.ComponentUI { 36 | } 37 | -------------------------------------------------------------------------------- /jdk1.8/src/org/omg/PortableInterceptor/DISCARDING.java: -------------------------------------------------------------------------------- 1 | package org.omg.PortableInterceptor; 2 | 3 | 4 | /** 5 | * org/omg/PortableInterceptor/DISCARDING.java . 6 | * Generated by the IDL-to-Java compiler (portable), version "3.2" 7 | * from /HUDSON/workspace/8-2-build-linux-amd64/jdk8u20/1074/corba/src/share/classes/org/omg/PortableInterceptor/Interceptors.idl 8 | * Wednesday, July 30, 2014 1:14:28 PM PDT 9 | */ 10 | 11 | public interface DISCARDING 12 | { 13 | 14 | /** Object adapter state that causes all requests to be discarded. 15 | */ 16 | public static final short value = (short)(2); 17 | } 18 | -------------------------------------------------------------------------------- /jdk1.8/src/org/omg/PortableServer/ID_ASSIGNMENT_POLICY_ID.java: -------------------------------------------------------------------------------- 1 | package org.omg.PortableServer; 2 | 3 | 4 | /** 5 | * org/omg/PortableServer/ID_ASSIGNMENT_POLICY_ID.java . 6 | * Generated by the IDL-to-Java compiler (portable), version "3.2" 7 | * from /HUDSON/workspace/8-2-build-linux-amd64/jdk8u20/1074/corba/src/share/classes/org/omg/PortableServer/poa.idl 8 | * Wednesday, July 30, 2014 1:14:28 PM PDT 9 | */ 10 | 11 | public interface ID_ASSIGNMENT_POLICY_ID 12 | { 13 | 14 | /** 15 | * The value representing ID_ASSIGNMENT_POLICY_ID. 16 | */ 17 | public static final int value = (int)(19L); 18 | } 19 | -------------------------------------------------------------------------------- /jdk1.8/src/org/omg/PortableServer/ID_UNIQUENESS_POLICY_ID.java: -------------------------------------------------------------------------------- 1 | package org.omg.PortableServer; 2 | 3 | 4 | /** 5 | * org/omg/PortableServer/ID_UNIQUENESS_POLICY_ID.java . 6 | * Generated by the IDL-to-Java compiler (portable), version "3.2" 7 | * from /HUDSON/workspace/8-2-build-linux-amd64/jdk8u20/1074/corba/src/share/classes/org/omg/PortableServer/poa.idl 8 | * Wednesday, July 30, 2014 1:14:28 PM PDT 9 | */ 10 | 11 | public interface ID_UNIQUENESS_POLICY_ID 12 | { 13 | 14 | /** 15 | * The value representing ID_UNIQUENESS_POLICY_ID. 16 | */ 17 | public static final int value = (int)(18L); 18 | } 19 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/corba/se/PortableActivationIDL/Repository.java: -------------------------------------------------------------------------------- 1 | package com.sun.corba.se.PortableActivationIDL; 2 | 3 | 4 | /** 5 | * com/sun/corba/se/PortableActivationIDL/Repository.java . 6 | * Generated by the IDL-to-Java compiler (portable), version "3.2" 7 | * from /HUDSON/workspace/8-2-build-linux-amd64/jdk8u20/1074/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl 8 | * Wednesday, July 30, 2014 1:14:27 PM PDT 9 | */ 10 | 11 | public interface Repository extends RepositoryOperations, org.omg.CORBA.Object, org.omg.CORBA.portable.IDLEntity 12 | { 13 | } // interface Repository 14 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/source/util/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | /** 27 | * Provides utilities for operations on abstract syntax trees (AST). 28 | * 29 | * @author Peter von der Ahé 30 | * @author Jonathan Gibbons 31 | * @since 1.6 32 | */ 33 | @jdk.Exported 34 | package com.sun.source.util; 35 | -------------------------------------------------------------------------------- /JVM-Learning/src/com/VolatileDemo.java: -------------------------------------------------------------------------------- 1 | package com; 2 | 3 | /** 4 | * @Author: clf 5 | * @Date: 19-11-8 6 | * @Description: 7 | */ 8 | public class VolatileDemo { 9 | 10 | private int a; 11 | private volatile boolean flag; 12 | 13 | public void write() { 14 | a = 1;// 1 15 | flag = true;//2 当写一个volatile变量时,Java内存模型会把该线程对应的本地内存中的共享变量刷新到主内存中 16 | } 17 | 18 | public void reader() { 19 | if (flag) {//3 当读一个volatile变量时,Java内存模型会把当前线程对应的本地内存中的共享变量置为无效,然后从主内存中读取变量 20 | int b = a + 1;//4 21 | System.out.println(b);//5 22 | } 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/corba/se/pept/transport/ReaderThread.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package com.sun.corba.se.pept.transport; 27 | 28 | /** 29 | * @author Harold Carr 30 | */ 31 | public interface ReaderThread { 32 | public Connection getConnection(); 33 | public void close(); 34 | } 35 | 36 | // End of file. 37 | -------------------------------------------------------------------------------- /jdk1.8/src/javax/swing/plaf/SeparatorUI.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 1997, 1998, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package javax.swing.plaf; 27 | 28 | /** 29 | * Pluggable look and feel interface for JSeparator. 30 | * 31 | * @author Georges Saab 32 | * @author David Karlton 33 | */ 34 | 35 | public abstract class SeparatorUI extends ComponentUI { 36 | } 37 | -------------------------------------------------------------------------------- /jdk1.8/src/org/omg/PortableInterceptor/NON_EXISTENT.java: -------------------------------------------------------------------------------- 1 | package org.omg.PortableInterceptor; 2 | 3 | 4 | /** 5 | * org/omg/PortableInterceptor/NON_EXISTENT.java . 6 | * Generated by the IDL-to-Java compiler (portable), version "3.2" 7 | * from /HUDSON/workspace/8-2-build-linux-amd64/jdk8u20/1074/corba/src/share/classes/org/omg/PortableInterceptor/Interceptors.idl 8 | * Wednesday, July 30, 2014 1:14:28 PM PDT 9 | */ 10 | 11 | public interface NON_EXISTENT 12 | { 13 | 14 | /** Object adapter state indicating that the adapter has been destroyed. 15 | */ 16 | public static final short value = (short)(4); 17 | } 18 | -------------------------------------------------------------------------------- /Test/src/main/java/ArraycopyAndCopyOf/ArrayscopyOfTest.java: -------------------------------------------------------------------------------- 1 | package ArraycopyAndCopyOf; 2 | 3 | import java.util.Arrays; 4 | 5 | /** 6 | * @Author: clf 7 | * @Date: 18-12-10 8 | * @Description: 9 | */ 10 | public class ArrayscopyOfTest { 11 | public static void main(String[] args) { 12 | int[] a = new int[3]; 13 | a[0] = 0; 14 | a[1] = 1; 15 | a[2] = 2; 16 | int[] b = Arrays.copyOf(a, 10); 17 | System.out.println("b.length"+b.length); 18 | for (int i = 0; i < b.length; i++) { 19 | System.out.println(i + " : " + b[i]); 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/corba/se/impl/orbutil/graph/Graph.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package com.sun.corba.se.impl.orbutil.graph ; 27 | 28 | import java.util.Set ; 29 | 30 | public interface Graph extends Set // Set 31 | { 32 | NodeData getNodeData( Node node ) ; 33 | 34 | Set /* Set */ getRoots() ; 35 | } 36 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/corba/se/pept/transport/ListenerThread.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package com.sun.corba.se.pept.transport; 27 | 28 | /** 29 | * @author Harold Carr 30 | */ 31 | public interface ListenerThread 32 | { 33 | public Acceptor getAcceptor(); 34 | public void close(); 35 | } 36 | 37 | // End of file. 38 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/corba/se/spi/activation/InitialNameService.java: -------------------------------------------------------------------------------- 1 | package com.sun.corba.se.spi.activation; 2 | 3 | 4 | /** 5 | * com/sun/corba/se/spi/activation/InitialNameService.java . 6 | * Generated by the IDL-to-Java compiler (portable), version "3.2" 7 | * from /HUDSON/workspace/8-2-build-linux-amd64/jdk8u20/1074/corba/src/share/classes/com/sun/corba/se/spi/activation/activation.idl 8 | * Wednesday, July 30, 2014 1:14:27 PM PDT 9 | */ 10 | 11 | public interface InitialNameService extends InitialNameServiceOperations, org.omg.CORBA.Object, org.omg.CORBA.portable.IDLEntity 12 | { 13 | } // interface InitialNameService 14 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/corba/se/spi/activation/ServerManager.java: -------------------------------------------------------------------------------- 1 | package com.sun.corba.se.spi.activation; 2 | 3 | 4 | /** 5 | * com/sun/corba/se/spi/activation/ServerManager.java . 6 | * Generated by the IDL-to-Java compiler (portable), version "3.2" 7 | * from /HUDSON/workspace/8-2-build-linux-amd64/jdk8u20/1074/corba/src/share/classes/com/sun/corba/se/spi/activation/activation.idl 8 | * Wednesday, July 30, 2014 1:14:27 PM PDT 9 | */ 10 | 11 | public interface ServerManager extends ServerManagerOperations, com.sun.corba.se.spi.activation.Activator, com.sun.corba.se.spi.activation.Locator 12 | { 13 | } // interface ServerManager 14 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/corba/se/spi/ior/iiop/RequestPartitioningComponent.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2004, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | package com.sun.corba.se.spi.ior.iiop; 26 | 27 | import com.sun.corba.se.spi.ior.TaggedComponent; 28 | 29 | public interface RequestPartitioningComponent extends TaggedComponent 30 | { 31 | public int getRequestPartitioningId(); 32 | } 33 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/corba/se/spi/orbutil/fsm/InputImpl.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2002, 2003, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package com.sun.corba.se.spi.orbutil.fsm ; 27 | 28 | import com.sun.corba.se.impl.orbutil.fsm.NameBase ; 29 | 30 | public class InputImpl extends NameBase implements Input { 31 | public InputImpl( String name ) { super( name ) ; } 32 | } 33 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/source/doctree/DocRootTree.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package com.sun.source.doctree; 27 | 28 | /** 29 | * A tree node for an @docroot inline tag. 30 | * 31 | *

32 | * {@docroot} 33 | * 34 | * @since 1.8 35 | */ 36 | @jdk.Exported 37 | public interface DocRootTree extends InlineTagTree { } 38 | -------------------------------------------------------------------------------- /jdk1.8/src/org/omg/PortableInterceptor/HOLDING.java: -------------------------------------------------------------------------------- 1 | package org.omg.PortableInterceptor; 2 | 3 | 4 | /** 5 | * org/omg/PortableInterceptor/HOLDING.java . 6 | * Generated by the IDL-to-Java compiler (portable), version "3.2" 7 | * from /HUDSON/workspace/8-2-build-linux-amd64/jdk8u20/1074/corba/src/share/classes/org/omg/PortableInterceptor/Interceptors.idl 8 | * Wednesday, July 30, 2014 1:14:28 PM PDT 9 | */ 10 | 11 | public interface HOLDING 12 | { 13 | 14 | /** Object adapter state that holds requests temporarily until the 15 | * state is changed. 16 | */ 17 | public static final short value = (short)(0); 18 | } 19 | -------------------------------------------------------------------------------- /jdk1.8/src/org/omg/PortableServer/REQUEST_PROCESSING_POLICY_ID.java: -------------------------------------------------------------------------------- 1 | package org.omg.PortableServer; 2 | 3 | 4 | /** 5 | * org/omg/PortableServer/REQUEST_PROCESSING_POLICY_ID.java . 6 | * Generated by the IDL-to-Java compiler (portable), version "3.2" 7 | * from /HUDSON/workspace/8-2-build-linux-amd64/jdk8u20/1074/corba/src/share/classes/org/omg/PortableServer/poa.idl 8 | * Wednesday, July 30, 2014 1:14:28 PM PDT 9 | */ 10 | 11 | public interface REQUEST_PROCESSING_POLICY_ID 12 | { 13 | 14 | /** 15 | * The value representing REQUEST_PROCESSING_POLICY_ID. 16 | */ 17 | public static final int value = (int)(22L); 18 | } 19 | -------------------------------------------------------------------------------- /jdk1.8/src/org/omg/PortableServer/SERVANT_RETENTION_POLICY_ID.java: -------------------------------------------------------------------------------- 1 | package org.omg.PortableServer; 2 | 3 | 4 | /** 5 | * org/omg/PortableServer/SERVANT_RETENTION_POLICY_ID.java . 6 | * Generated by the IDL-to-Java compiler (portable), version "3.2" 7 | * from /HUDSON/workspace/8-2-build-linux-amd64/jdk8u20/1074/corba/src/share/classes/org/omg/PortableServer/poa.idl 8 | * Wednesday, July 30, 2014 1:14:28 PM PDT 9 | */ 10 | 11 | public interface SERVANT_RETENTION_POLICY_ID 12 | { 13 | 14 | /** 15 | * The value representing SERVANT_RETENTION_POLICY_ID. 16 | */ 17 | public static final int value = (int)(21L); 18 | } 19 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/corba/se/spi/logging/LogWrapperFactory.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package com.sun.corba.se.spi.logging ; 27 | 28 | import java.util.logging.Logger ; 29 | 30 | import com.sun.corba.se.spi.logging.LogWrapperBase ; 31 | 32 | public interface LogWrapperFactory { 33 | LogWrapperBase create( Logger logger ) ; 34 | } 35 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/corba/se/spi/oa/OADestroyed.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 1997, 2002, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | package com.sun.corba.se.spi.oa; 26 | 27 | /** This exception is thrown when an operation on an ObjectAdapter 28 | * fails because the ObjectAdapter was destroyed during the operation. 29 | */ 30 | public class OADestroyed extends java.lang.Exception { 31 | } 32 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/source/tree/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | /** 27 | * Provides interfaces to represent source code as abstract syntax 28 | * trees (AST). 29 | * 30 | * @author Peter von der Ahé 31 | * @author Jonathan Gibbons 32 | * @since 1.6 33 | */ 34 | @jdk.Exported 35 | package com.sun.source.tree; 36 | -------------------------------------------------------------------------------- /jdk1.8/src/java/lang/invoke/InvokeDynamic.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2008, 2011, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package java.lang.invoke; 27 | 28 | /** 29 | * This is a place-holder class. Some HotSpot implementations need to see it. 30 | */ 31 | final class InvokeDynamic { 32 | private InvokeDynamic() { throw new InternalError(); } // do not instantiate 33 | } 34 | -------------------------------------------------------------------------------- /jdk1.8/src/org/omg/PortableInterceptor/IORInterceptor_3_0.java: -------------------------------------------------------------------------------- 1 | package org.omg.PortableInterceptor; 2 | 3 | 4 | /** 5 | * org/omg/PortableInterceptor/IORInterceptor_3_0.java . 6 | * Generated by the IDL-to-Java compiler (portable), version "3.2" 7 | * from /HUDSON/workspace/8-2-build-linux-amd64/jdk8u20/1074/corba/src/share/classes/org/omg/PortableInterceptor/Interceptors.idl 8 | * Wednesday, July 30, 2014 1:14:28 PM PDT 9 | */ 10 | 11 | public interface IORInterceptor_3_0 extends IORInterceptor_3_0Operations, org.omg.PortableInterceptor.IORInterceptor, org.omg.CORBA.portable.IDLEntity 12 | { 13 | } // interface IORInterceptor_3_0 14 | -------------------------------------------------------------------------------- /jdk1.8/src/org/omg/PortableServer/IMPLICIT_ACTIVATION_POLICY_ID.java: -------------------------------------------------------------------------------- 1 | package org.omg.PortableServer; 2 | 3 | 4 | /** 5 | * org/omg/PortableServer/IMPLICIT_ACTIVATION_POLICY_ID.java . 6 | * Generated by the IDL-to-Java compiler (portable), version "3.2" 7 | * from /HUDSON/workspace/8-2-build-linux-amd64/jdk8u20/1074/corba/src/share/classes/org/omg/PortableServer/poa.idl 8 | * Wednesday, July 30, 2014 1:14:28 PM PDT 9 | */ 10 | 11 | public interface IMPLICIT_ACTIVATION_POLICY_ID 12 | { 13 | 14 | /** 15 | * The value representing IMPLICIT_ACTIVATION_POLICY_ID. 16 | */ 17 | public static final int value = (int)(20L); 18 | } 19 | -------------------------------------------------------------------------------- /Test/src/JavaSE/lambda/SwingTest.java: -------------------------------------------------------------------------------- 1 | package lambda; 2 | 3 | import javax.swing.*; 4 | 5 | /** 6 | * @Author: clf 7 | * @Date: 19-11-9 8 | * @Description: 9 | */ 10 | public class SwingTest { 11 | public static void main(String[] args) { 12 | JFrame jFrame = new JFrame("My JFrame"); 13 | JButton jButton = new JButton("My JButton"); 14 | 15 | jButton.addActionListener(actionEvent -> System.out.println("Button Pressed!")); 16 | jFrame.add(jButton); 17 | jFrame.pack(); 18 | jFrame.setVisible(true); 19 | jFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/corba/se/spi/legacy/connection/Connection.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2000, 2003, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package com.sun.corba.se.spi.legacy.connection; 27 | 28 | /** 29 | * This interface represents the connection on which a request is made. 30 | */ 31 | 32 | public interface Connection 33 | { 34 | public java.net.Socket getSocket(); 35 | } 36 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/corba/se/spi/orbutil/fsm/ActionBase.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2002, 2003, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package com.sun.corba.se.spi.orbutil.fsm ; 27 | 28 | import com.sun.corba.se.impl.orbutil.fsm.NameBase ; 29 | 30 | public abstract class ActionBase extends NameBase implements Action { 31 | public ActionBase( String name ) { super( name ) ; } 32 | } 33 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/corba/se/spi/orbutil/fsm/GuardBase.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2002, 2003, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package com.sun.corba.se.spi.orbutil.fsm ; 27 | 28 | import com.sun.corba.se.impl.orbutil.fsm.NameBase ; 29 | 30 | public abstract class GuardBase extends NameBase implements Guard { 31 | public GuardBase( String name ) { super( name ) ; } 32 | } 33 | -------------------------------------------------------------------------------- /jdk1.8/src/org/omg/IOP/TAG_POLICIES.java: -------------------------------------------------------------------------------- 1 | package org.omg.IOP; 2 | 3 | 4 | /** 5 | * org/omg/IOP/TAG_POLICIES.java . 6 | * Generated by the IDL-to-Java compiler (portable), version "3.2" 7 | * from /HUDSON/workspace/8-2-build-linux-amd64/jdk8u20/1074/corba/src/share/classes/org/omg/PortableInterceptor/IOP.idl 8 | * Wednesday, July 30, 2014 1:14:27 PM PDT 9 | */ 10 | 11 | public interface TAG_POLICIES 12 | { 13 | 14 | /** 15 | * A profile component containing the sequence of QoS policies exported 16 | * with the object reference by an object adapter. 17 | */ 18 | public static final int value = (int)(2L); 19 | } 20 | -------------------------------------------------------------------------------- /Test/src/main/java/Synchronized/Test2.txt: -------------------------------------------------------------------------------- 1 | Compiled from "Test2.java" 2 | public class Synchronized.Test2 { 3 | public Synchronized.Test2(); 4 | Code: 5 | 0: aload_0 6 | 1: invokespecial #1 // Method java/lang/Object."":()V 7 | 4: return 8 | 9 | public synchronized void method(); 10 | Code: 11 | 0: getstatic #2 // Field java/lang/System.out:Ljava/io/PrintStream; 12 | 3: ldc #3 // String test2 13 | 5: invokevirtual #4 // Method java/io/PrintStream.println:(Ljava/lang/String;)V 14 | 8: return 15 | } 16 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/corba/se/impl/orbutil/graph/Node.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package com.sun.corba.se.impl.orbutil.graph ; 27 | 28 | import java.util.Set ; 29 | 30 | /** Node in a graph. 31 | */ 32 | public interface Node 33 | { 34 | /** Get all the children of this node. 35 | */ 36 | Set /* Set */ getChildren() ; 37 | } 38 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/corba/se/internal/POA/POAORB.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 1997, 2003, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package com.sun.corba.se.internal.POA; 27 | 28 | /** 29 | * Deprecated class for backward compatibility. 30 | */ 31 | public class POAORB extends com.sun.corba.se.internal.iiop.ORB 32 | { 33 | public POAORB( ) 34 | { 35 | super(); 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/corba/se/spi/protocol/CorbaClientDelegate.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2002, 2003, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package com.sun.corba.se.spi.protocol; 27 | 28 | public abstract class CorbaClientDelegate 29 | extends org.omg.CORBA_2_3.portable.Delegate 30 | implements com.sun.corba.se.pept.protocol.ClientDelegate 31 | { 32 | } 33 | 34 | // End of file. 35 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/corba/se/spi/protocol/LocalClientRequestDispatcherFactory.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2002, 2003, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package com.sun.corba.se.spi.protocol; 27 | 28 | import com.sun.corba.se.spi.ior.IOR ; 29 | 30 | public interface LocalClientRequestDispatcherFactory { 31 | public LocalClientRequestDispatcher create( int id, IOR ior ) ; 32 | } 33 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/java/swing/Painter.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | package com.sun.java.swing; 26 | 27 | /** 28 | * This class is preserved for backward compatibility with JDK 6. 29 | * 30 | * @deprecated Use {@link javax.swing.Painter} instead. 31 | */ 32 | @Deprecated 33 | public interface Painter extends javax.swing.Painter { 34 | } 35 | -------------------------------------------------------------------------------- /jdk1.8/src/launcher/splashscreen.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | 27 | int DoSplashLoadMemory(void* pdata, int size); /* requires preloading the file */ 28 | int DoSplashLoadFile(const char* filename); 29 | void DoSplashInit(void); 30 | void DoSplashClose(void); 31 | void DoSplashSetFileJarName(const char* fileName, const char* jarName); 32 | -------------------------------------------------------------------------------- /jdk1.8/src/org/omg/DynamicAny/DynSequence.java: -------------------------------------------------------------------------------- 1 | package org.omg.DynamicAny; 2 | 3 | 4 | /** 5 | * org/omg/DynamicAny/DynSequence.java . 6 | * Generated by the IDL-to-Java compiler (portable), version "3.2" 7 | * from /HUDSON/workspace/8-2-build-linux-amd64/jdk8u20/1074/corba/src/share/classes/org/omg/DynamicAny/DynamicAny.idl 8 | * Wednesday, July 30, 2014 1:14:27 PM PDT 9 | */ 10 | 11 | 12 | /** 13 | * DynSequence objects support the manipulation of IDL sequences. 14 | */ 15 | public interface DynSequence extends DynSequenceOperations, org.omg.DynamicAny.DynAny, org.omg.CORBA.portable.IDLEntity 16 | { 17 | } // interface DynSequence 18 | -------------------------------------------------------------------------------- /.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Test/src/main/java/Synchronized/Test1.txt: -------------------------------------------------------------------------------- 1 | Compiled from "Test1.java" 2 | public class Synchronized.Test1 { 3 | public Synchronized.Test1(); 4 | Code: 5 | 0: aload_0 6 | 1: invokespecial #1 // Method java/lang/Object."":()V 7 | 4: return 8 | 9 | public static synchronized void method(); 10 | Code: 11 | 0: getstatic #2 // Field java/lang/System.out:Ljava/io/PrintStream; 12 | 3: ldc #3 // String test1 13 | 5: invokevirtual #4 // Method java/io/PrintStream.println:(Ljava/lang/String;)V 14 | 8: return 15 | } 16 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/corba/se/spi/ior/iiop/ORBTypeComponent.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2004, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package com.sun.corba.se.spi.ior.iiop; 27 | 28 | import com.sun.corba.se.spi.ior.TaggedComponent ; 29 | 30 | /** 31 | * @author Ken Cavanaugh 32 | */ 33 | public interface ORBTypeComponent extends TaggedComponent 34 | { 35 | public int getORBType() ; 36 | } 37 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/source/doctree/InheritDocTree.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package com.sun.source.doctree; 27 | 28 | /** 29 | * 30 | * A tree node for an @inheritDoc inline tag. 31 | * 32 | *

33 | * {@inheritDoc} 34 | * 35 | * @since 1.8 36 | */ 37 | @jdk.Exported 38 | public interface InheritDocTree extends InlineTagTree { } 39 | -------------------------------------------------------------------------------- /jdk1.8/src/java/security/acl/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | /** 27 | * The classes and interfaces in this package have been 28 | * superseded by classes in the java.security package. 29 | * See that package and, for example, java.security.Permission for details. 30 | * 31 | * @since JDK1.1 32 | */ 33 | package java.security.acl; 34 | -------------------------------------------------------------------------------- /Test/src/JavaSE/lambda/Test2.java: -------------------------------------------------------------------------------- 1 | package lambda; 2 | 3 | /** 4 | * @Author: clf 5 | * @Date: 19-11-9 6 | * @Description: 7 | */ 8 | public class Test2 { 9 | 10 | public void myTest(MyInterface myInterface) { 11 | System.out.println(1); 12 | myInterface.test(); 13 | System.out.println(2); 14 | } 15 | public static void main(String[] args) { 16 | Test2 test2 = new Test2(); 17 | test2.myTest(() -> System.out.println("My test")); 18 | 19 | System.out.println("============================"); 20 | 21 | MyInterface myInterface = () -> System.out.println("Hello"); 22 | 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/corba/se/spi/activation/Server.java: -------------------------------------------------------------------------------- 1 | package com.sun.corba.se.spi.activation; 2 | 3 | 4 | /** 5 | * com/sun/corba/se/spi/activation/Server.java . 6 | * Generated by the IDL-to-Java compiler (portable), version "3.2" 7 | * from /HUDSON/workspace/8-2-build-linux-amd64/jdk8u20/1074/corba/src/share/classes/com/sun/corba/se/spi/activation/activation.idl 8 | * Wednesday, July 30, 2014 1:14:27 PM PDT 9 | */ 10 | 11 | 12 | /** Server callback API, passed to Activator in active method. 13 | */ 14 | public interface Server extends ServerOperations, org.omg.CORBA.Object, org.omg.CORBA.portable.IDLEntity 15 | { 16 | } // interface Server 17 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/jmx/remote/internal/Unmarshal.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003, 2008, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package com.sun.jmx.remote.internal; 27 | 28 | import java.io.IOException; 29 | import java.rmi.MarshalledObject; 30 | 31 | public interface Unmarshal { 32 | public Object get(MarshalledObject mo) 33 | throws IOException, ClassNotFoundException; 34 | } 35 | -------------------------------------------------------------------------------- /jdk1.8/src/javax/swing/plaf/ToolBarUI.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 1997, 1998, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package javax.swing.plaf; 27 | 28 | import java.awt.Insets; 29 | import javax.swing.JToolBar; 30 | 31 | /** 32 | * Pluggable look and feel interface for JToolBar. 33 | * 34 | * @author Georges Saab 35 | */ 36 | 37 | public abstract class ToolBarUI extends ComponentUI { 38 | } 39 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/corba/se/spi/ior/iiop/JavaCodebaseComponent.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2004, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package com.sun.corba.se.spi.ior.iiop; 27 | 28 | import com.sun.corba.se.spi.ior.TaggedComponent ; 29 | 30 | /** 31 | * @author Ken Cavanaugh 32 | */ 33 | public interface JavaCodebaseComponent extends TaggedComponent 34 | { 35 | public String getURLs() ; 36 | } 37 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/corba/se/spi/transport/SocketOrChannelAcceptor.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package com.sun.corba.se.spi.transport; 27 | 28 | import java.net.ServerSocket; 29 | 30 | /** 31 | * @author Harold Carr 32 | */ 33 | public interface SocketOrChannelAcceptor 34 | { 35 | public ServerSocket getServerSocket(); 36 | } 37 | 38 | // End of file. 39 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/source/doctree/BlockTagTree.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package com.sun.source.doctree; 27 | 28 | /** 29 | * A tree node used as the base class for the different types of 30 | * block tags. 31 | * 32 | * @since 1.8 33 | */ 34 | @jdk.Exported 35 | public interface BlockTagTree extends DocTree { 36 | String getTagName(); 37 | } 38 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/source/doctree/CommentTree.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package com.sun.source.doctree; 27 | 28 | /** 29 | * An embedded HTML comment. 30 | * 31 | *

32 | * {@literal } 33 | * 34 | * @since 1.8 35 | */ 36 | @jdk.Exported 37 | public interface CommentTree extends DocTree { 38 | String getBody(); 39 | } 40 | 41 | -------------------------------------------------------------------------------- /jdk1.8/src/java/lang/ref/FinalReference.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package java.lang.ref; 27 | 28 | /** 29 | * Final references, used to implement finalization 30 | */ 31 | class FinalReference extends Reference { 32 | 33 | public FinalReference(T referent, ReferenceQueue q) { 34 | super(referent, q); 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/corba/se/spi/activation/ServerManagerOperations.java: -------------------------------------------------------------------------------- 1 | package com.sun.corba.se.spi.activation; 2 | 3 | 4 | /** 5 | * com/sun/corba/se/spi/activation/ServerManagerOperations.java . 6 | * Generated by the IDL-to-Java compiler (portable), version "3.2" 7 | * from /HUDSON/workspace/8-2-build-linux-amd64/jdk8u20/1074/corba/src/share/classes/com/sun/corba/se/spi/activation/activation.idl 8 | * Wednesday, July 30, 2014 1:14:27 PM PDT 9 | */ 10 | 11 | public interface ServerManagerOperations extends com.sun.corba.se.spi.activation.ActivatorOperations, com.sun.corba.se.spi.activation.LocatorOperations 12 | { 13 | } // interface ServerManagerOperations 14 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/source/doctree/InlineTagTree.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package com.sun.source.doctree; 27 | 28 | /** 29 | * A tree node used as the base class for the different types of 30 | * inline tags. 31 | * 32 | * @since 1.8 33 | */ 34 | @jdk.Exported 35 | public interface InlineTagTree extends DocTree { 36 | String getTagName(); 37 | } 38 | -------------------------------------------------------------------------------- /jdk1.8/src/java/nio/file/FileVisitOption.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package java.nio.file; 27 | 28 | /** 29 | * Defines the file tree traversal options. 30 | * 31 | * @since 1.7 32 | * 33 | * @see Files#walkFileTree 34 | */ 35 | 36 | public enum FileVisitOption { 37 | /** 38 | * Follow symbolic links. 39 | */ 40 | FOLLOW_LINKS; 41 | } 42 | -------------------------------------------------------------------------------- /jdk1.8/src/org/omg/PortableInterceptor/Interceptor.java: -------------------------------------------------------------------------------- 1 | package org.omg.PortableInterceptor; 2 | 3 | 4 | /** 5 | * org/omg/PortableInterceptor/Interceptor.java . 6 | * Generated by the IDL-to-Java compiler (portable), version "3.2" 7 | * from /HUDSON/workspace/8-2-build-linux-amd64/jdk8u20/1074/corba/src/share/classes/org/omg/PortableInterceptor/Interceptors.idl 8 | * Wednesday, July 30, 2014 1:14:28 PM PDT 9 | */ 10 | 11 | 12 | /** 13 | * All Portable Interceptors implement Interceptor. 14 | */ 15 | public interface Interceptor extends InterceptorOperations, org.omg.CORBA.Object, org.omg.CORBA.portable.IDLEntity 16 | { 17 | } // interface Interceptor 18 | -------------------------------------------------------------------------------- /jdk1.8/src/java/io/DefaultFileSystem.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package java.io; 27 | 28 | /** 29 | * 30 | * @since 1.8 31 | */ 32 | class DefaultFileSystem { 33 | 34 | /** 35 | * Return the FileSystem object for Unix-based platform. 36 | */ 37 | public static FileSystem getFileSystem() { 38 | return new UnixFileSystem(); 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /jdk1.8/src/org/omg/PortableInterceptor/INACTIVE.java: -------------------------------------------------------------------------------- 1 | package org.omg.PortableInterceptor; 2 | 3 | 4 | /** 5 | * org/omg/PortableInterceptor/INACTIVE.java . 6 | * Generated by the IDL-to-Java compiler (portable), version "3.2" 7 | * from /HUDSON/workspace/8-2-build-linux-amd64/jdk8u20/1074/corba/src/share/classes/org/omg/PortableInterceptor/Interceptors.idl 8 | * Wednesday, July 30, 2014 1:14:28 PM PDT 9 | */ 10 | 11 | public interface INACTIVE 12 | { 13 | 14 | /** Object adapter state that causes all requests to be discarded. 15 | * This state indicates that the adapter is shutting down. 16 | */ 17 | public static final short value = (short)(3); 18 | } 19 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/corba/se/impl/copyobject/ReferenceObjectCopierImpl.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package com.sun.corba.se.impl.copyobject ; 27 | 28 | import com.sun.corba.se.spi.copyobject.ObjectCopier ; 29 | 30 | public class ReferenceObjectCopierImpl implements ObjectCopier 31 | { 32 | public Object copy( Object obj ) 33 | { 34 | return obj ; 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/corba/se/spi/encoding/CorbaInputObject.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2002, 2003, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package com.sun.corba.se.spi.encoding ; 27 | 28 | import com.sun.corba.se.impl.encoding.CDRInputStream ; 29 | import com.sun.corba.se.pept.encoding.InputObject ; 30 | 31 | public abstract class CorbaInputObject 32 | extends CDRInputStream 33 | implements InputObject 34 | { 35 | } 36 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/source/doctree/ValueTree.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package com.sun.source.doctree; 27 | 28 | /** 29 | * A tree node for an @value inline tag. 30 | * 31 | *

32 | * { @value reference } 33 | * 34 | * @since 1.8 35 | */ 36 | @jdk.Exported 37 | public interface ValueTree extends InlineTagTree { 38 | ReferenceTree getReference(); 39 | } 40 | -------------------------------------------------------------------------------- /jdk1.8/src/javax/xml/ws/handler/LogicalHandler.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package javax.xml.ws.handler; 27 | 28 | /** The LogicalHandler extends 29 | * Handler to provide typesafety for the message context parameter. 30 | * 31 | * @since JAX-WS 2.0 32 | **/ 33 | public interface LogicalHandler extends Handler { 34 | } 35 | -------------------------------------------------------------------------------- /jdk1.8/src/org/omg/IOP/CodeSets.java: -------------------------------------------------------------------------------- 1 | package org.omg.IOP; 2 | 3 | 4 | /** 5 | * org/omg/IOP/CodeSets.java . 6 | * Generated by the IDL-to-Java compiler (portable), version "3.2" 7 | * from /HUDSON/workspace/8-2-build-linux-amd64/jdk8u20/1074/corba/src/share/classes/org/omg/PortableInterceptor/IOP.idl 8 | * Wednesday, July 30, 2014 1:14:27 PM PDT 9 | */ 10 | 11 | public interface CodeSets 12 | { 13 | 14 | /** 15 | * Identifies a CDR encapsulation of the 16 | * CONV_FRAME.CodeSetContext defined in 17 | * Section 13.10.2.5, "GIOP Code Set Service Context," on page 13-43. 18 | */ 19 | public static final int value = (int)(1L); 20 | } 21 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/source/doctree/LiteralTree.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package com.sun.source.doctree; 27 | 28 | /** 29 | * 30 | * A tree node for an @literal or @code inline tag. 31 | * 32 | *

33 | * {@literal text} 34 | * 35 | * @since 1.8 36 | */ 37 | @jdk.Exported 38 | public interface LiteralTree extends InlineTagTree { 39 | TextTree getBody(); 40 | } 41 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/source/doctree/ReferenceTree.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package com.sun.source.doctree; 27 | 28 | /** 29 | * A tree node to a reference to a Java language element. 30 | * 31 | *

32 | * package.class#field 33 | * 34 | * @since 1.8 35 | */ 36 | @jdk.Exported 37 | public interface ReferenceTree extends DocTree { 38 | String getSignature(); 39 | } 40 | -------------------------------------------------------------------------------- /jdk1.8/src/java/lang/invoke/DontInline.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package java.lang.invoke; 27 | 28 | import java.lang.annotation.*; 29 | 30 | /** 31 | * Internal marker for some methods in the JSR 292 implementation. 32 | */ 33 | /*non-public*/ 34 | @Target({ElementType.METHOD, ElementType.CONSTRUCTOR}) 35 | @Retention(RetentionPolicy.RUNTIME) 36 | @interface DontInline { 37 | } 38 | -------------------------------------------------------------------------------- /jdk1.8/src/java/lang/invoke/ForceInline.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package java.lang.invoke; 27 | 28 | import java.lang.annotation.*; 29 | 30 | /** 31 | * Internal marker for some methods in the JSR 292 implementation. 32 | */ 33 | /*non-public*/ 34 | @Target({ElementType.METHOD, ElementType.CONSTRUCTOR}) 35 | @Retention(RetentionPolicy.RUNTIME) 36 | @interface ForceInline { 37 | } 38 | -------------------------------------------------------------------------------- /.idea/compiler.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/corba/se/spi/transport/ReadTimeouts.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2004, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package com.sun.corba.se.spi.transport; 27 | 28 | public interface ReadTimeouts { 29 | public int get_initial_time_to_wait(); 30 | public int get_max_time_to_wait(); 31 | public double get_backoff_factor(); 32 | public int get_max_giop_header_time_to_wait(); 33 | } 34 | 35 | // End of file. 36 | -------------------------------------------------------------------------------- /jdk1.8/src/org/omg/DynamicAny/DynEnum.java: -------------------------------------------------------------------------------- 1 | package org.omg.DynamicAny; 2 | 3 | 4 | /** 5 | * org/omg/DynamicAny/DynEnum.java . 6 | * Generated by the IDL-to-Java compiler (portable), version "3.2" 7 | * from /HUDSON/workspace/8-2-build-linux-amd64/jdk8u20/1074/corba/src/share/classes/org/omg/DynamicAny/DynamicAny.idl 8 | * Wednesday, July 30, 2014 1:14:27 PM PDT 9 | */ 10 | 11 | 12 | /** 13 | * DynEnum objects support the manipulation of IDL enumerated values. 14 | * The current position of a DynEnum is always -1. 15 | */ 16 | public interface DynEnum extends DynEnumOperations, org.omg.DynamicAny.DynAny, org.omg.CORBA.portable.IDLEntity 17 | { 18 | } // interface DynEnum 19 | -------------------------------------------------------------------------------- /jdk1.8/src/org/omg/DynamicAny/DynValueCommon.java: -------------------------------------------------------------------------------- 1 | package org.omg.DynamicAny; 2 | 3 | 4 | /** 5 | * org/omg/DynamicAny/DynValueCommon.java . 6 | * Generated by the IDL-to-Java compiler (portable), version "3.2" 7 | * from /HUDSON/workspace/8-2-build-linux-amd64/jdk8u20/1074/corba/src/share/classes/org/omg/DynamicAny/DynamicAny.idl 8 | * Wednesday, July 30, 2014 1:14:27 PM PDT 9 | */ 10 | 11 | 12 | /** 13 | * DynValueCommon provides operations supported by both the DynValue and DynValueBox interfaces. 14 | */ 15 | public interface DynValueCommon extends DynValueCommonOperations, org.omg.DynamicAny.DynAny, org.omg.CORBA.portable.IDLEntity 16 | { 17 | } // interface DynValueCommon 18 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/source/doctree/EntityTree.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package com.sun.source.doctree; 27 | 28 | import javax.lang.model.element.Name; 29 | 30 | 31 | /** 32 | * A tree node for an HTML entity. 33 | * 34 | *

35 | * & name ; 36 | * 37 | * @since 1.8 38 | */ 39 | @jdk.Exported 40 | public interface EntityTree extends DocTree { 41 | Name getName(); 42 | } 43 | -------------------------------------------------------------------------------- /jdk1.8/src/java/nio/file/attribute/FileStoreAttributeView.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2007, 2009, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package java.nio.file.attribute; 27 | 28 | /** 29 | * An attribute view that is a read-only or updatable view of the attributes of 30 | * a {@link java.nio.file.FileStore}. 31 | * 32 | * @since 1.7 33 | */ 34 | 35 | public interface FileStoreAttributeView 36 | extends AttributeView 37 | { 38 | } 39 | -------------------------------------------------------------------------------- /jdk1.8/src/javax/swing/plaf/MenuItemUI.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 1997, 1998, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | package javax.swing.plaf; 26 | 27 | import javax.swing.*; 28 | import java.awt.event.*; 29 | 30 | /** 31 | * Pluggable look and feel interface for JMenuItem. 32 | * 33 | * @author Georges Saab 34 | * @author David Karlton 35 | * @author Arnaud Weber 36 | */ 37 | public abstract class MenuItemUI extends ButtonUI { 38 | } 39 | -------------------------------------------------------------------------------- /jdk1.8/src/org/omg/Messaging/SYNC_WITH_TRANSPORT.java: -------------------------------------------------------------------------------- 1 | package org.omg.Messaging; 2 | 3 | 4 | /** 5 | * org/omg/Messaging/SYNC_WITH_TRANSPORT.java . 6 | * Generated by the IDL-to-Java compiler (portable), version "3.2" 7 | * from /HUDSON/workspace/8-2-build-linux-amd64/jdk8u20/1074/corba/src/share/classes/org/omg/PortableInterceptor/Messaging.idl 8 | * Wednesday, July 30, 2014 1:14:28 PM PDT 9 | */ 10 | 11 | public interface SYNC_WITH_TRANSPORT 12 | { 13 | 14 | /** 15 | * Constant, defined in the Messaging spec, to define how far the 16 | * request shall progress before control is returned to the client. 17 | */ 18 | public static final short value = (short)(1); 19 | } 20 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/corba/se/PortableActivationIDL/ORBProxy.java: -------------------------------------------------------------------------------- 1 | package com.sun.corba.se.PortableActivationIDL; 2 | 3 | 4 | /** 5 | * com/sun/corba/se/PortableActivationIDL/ORBProxy.java . 6 | * Generated by the IDL-to-Java compiler (portable), version "3.2" 7 | * from /HUDSON/workspace/8-2-build-linux-amd64/jdk8u20/1074/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl 8 | * Wednesday, July 30, 2014 1:14:27 PM PDT 9 | */ 10 | 11 | 12 | /** ORB callback interface, passed to Activator in registerORB method. 13 | */ 14 | public interface ORBProxy extends ORBProxyOperations, org.omg.CORBA.Object, org.omg.CORBA.portable.IDLEntity 15 | { 16 | } // interface ORBProxy 17 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/corba/se/internal/corba/ORBSingleton.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package com.sun.corba.se.internal.corba; 27 | 28 | /** 29 | * 30 | * Deprecated class for backward compatibility. 31 | */ 32 | public class ORBSingleton extends com.sun.corba.se.impl.orb.ORBSingleton 33 | { 34 | public ORBSingleton() 35 | { 36 | super(); 37 | } 38 | } 39 | 40 | // End of file. 41 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/corba/se/spi/legacy/interceptor/UnknownType.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2000, 2003, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package com.sun.corba.se.spi.legacy.interceptor; 27 | 28 | public class UnknownType 29 | extends 30 | Exception 31 | { 32 | public UnknownType() 33 | { 34 | super(); 35 | } 36 | 37 | public UnknownType(String msg) 38 | { 39 | super(msg); 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/source/doctree/IdentifierTree.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package com.sun.source.doctree; 27 | 28 | import javax.lang.model.element.Name; 29 | 30 | /** 31 | * An identifier in a documentation comment. 32 | * 33 | *

34 | * name 35 | * 36 | * @since 1.8 37 | */ 38 | @jdk.Exported 39 | public interface IdentifierTree extends DocTree { 40 | Name getName(); 41 | } 42 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/corba/se/spi/copyobject/ObjectCopierFactory.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package com.sun.corba.se.spi.copyobject ; 27 | 28 | import com.sun.corba.se.spi.orb.ORB ; 29 | 30 | /** ObjectCopier factory interface used for registration. 31 | */ 32 | public interface ObjectCopierFactory { 33 | /** Create a new instance of an ObjectCopier. 34 | */ 35 | ObjectCopier make() ; 36 | } 37 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/imageio/plugins/common/I18N.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package com.sun.imageio.plugins.common; 27 | 28 | public final class I18N extends I18NImpl { 29 | private final static String resource_name = "iio-plugin.properties"; 30 | public static String getString(String key) { 31 | return getString("com.sun.imageio.plugins.common.I18N", resource_name, key); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /jdk1.8/src/java/awt/Conditional.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 1998, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package java.awt; 27 | 28 | /** 29 | * Conditional is used by the EventDispatchThread's message pumps to 30 | * determine if a given pump should continue to run, or should instead exit 31 | * and yield control to the parent pump. 32 | * 33 | * @author David Mendenhall 34 | */ 35 | interface Conditional { 36 | boolean evaluate(); 37 | } 38 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/corba/se/internal/Interceptors/PIORB.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2000, 2003, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | package com.sun.corba.se.internal.Interceptors; 26 | 27 | import com.sun.corba.se.internal.POA.POAORB; 28 | 29 | /** 30 | * Deprecated class for backward compatibility. 31 | */ 32 | public class PIORB 33 | extends POAORB 34 | { 35 | public PIORB() { 36 | super(); 37 | } 38 | } 39 | 40 | // End of file. 41 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/jmx/snmp/internal/SnmpModelLcd.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2001, 2003, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package com.sun.jmx.snmp.internal; 27 | 28 | /** 29 | * An interface to implement when developping customized model configuration datastore. 30 | *

This API is a Sun Microsystems internal API and is subject 31 | * to change without notice.

32 | * @since 1.5 33 | */ 34 | public interface SnmpModelLcd { 35 | } 36 | -------------------------------------------------------------------------------- /jdk1.8/src/java/net/ProtocolFamily.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2007, 2013, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package java.net; 27 | 28 | /** 29 | * Represents a family of communication protocols. 30 | * 31 | * @since 1.7 32 | */ 33 | 34 | public interface ProtocolFamily { 35 | /** 36 | * Returns the name of the protocol family. 37 | * 38 | * @return the name of the protocol family 39 | */ 40 | String name(); 41 | } 42 | -------------------------------------------------------------------------------- /jdk1.8/src/javax/swing/plaf/ColorChooserUI.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 1997, 1998, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package javax.swing.plaf; 27 | 28 | import javax.swing.*; 29 | import javax.swing.colorchooser.*; 30 | 31 | /** 32 | * Pluggable look and feel interface for JColorChooser. 33 | * 34 | * @author Amy Fowler 35 | * @author Steve Wilson 36 | */ 37 | 38 | public abstract class ColorChooserUI extends ComponentUI 39 | { 40 | 41 | } 42 | -------------------------------------------------------------------------------- /jdk1.8/src/javax/swing/plaf/MenuBarUI.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 1997, 1998, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package javax.swing.plaf; 27 | 28 | import java.awt.Insets; 29 | import javax.swing.JMenuBar; 30 | 31 | import javax.swing.JMenu; 32 | /** 33 | * Pluggable look and feel interface for JMenuBar. 34 | * 35 | * @author Georges Saab 36 | * @author David Karlton 37 | */ 38 | 39 | public abstract class MenuBarUI extends ComponentUI { } 40 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/source/doctree/AuthorTree.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package com.sun.source.doctree; 27 | 28 | import java.util.List; 29 | 30 | /** 31 | * A tree node for an @author block tag. 32 | * 33 | *

34 | * @author name-text. 35 | * 36 | * @since 1.8 37 | */ 38 | @jdk.Exported 39 | public interface AuthorTree extends BlockTagTree { 40 | List getName(); 41 | } 42 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/source/doctree/EndElementTree.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package com.sun.source.doctree; 27 | 28 | import javax.lang.model.element.Name; 29 | 30 | /** 31 | * A tree node for the end of an HTML element. 32 | * 33 | *

34 | * </ name > 35 | * 36 | * @since 1.8 37 | */ 38 | @jdk.Exported 39 | public interface EndElementTree extends DocTree { 40 | Name getName(); 41 | } 42 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/source/doctree/SinceTree.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package com.sun.source.doctree; 27 | 28 | import java.util.List; 29 | 30 | /** 31 | * A tree node for an @since block tag. 32 | * 33 | *

34 | * @since since-text 35 | * 36 | * @since 1.8 37 | */ 38 | @jdk.Exported 39 | public interface SinceTree extends BlockTagTree { 40 | List getBody(); 41 | } 42 | -------------------------------------------------------------------------------- /jdk1.8/src/org/omg/CORBA/BAD_POLICY.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 1998, 2001, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package org.omg.CORBA; 27 | /** 28 | * A PolicyErrorCode which would be filled in 29 | * the PolicyError exception. 30 | * 31 | * @author rip-dev 32 | */ 33 | 34 | public interface BAD_POLICY { 35 | /** 36 | * The Error code in PolicyError exception. 37 | */ 38 | final short value = (short) (0L); 39 | }; 40 | -------------------------------------------------------------------------------- /jdk1.8/src/org/omg/PortableServer/ThreadPolicy.java: -------------------------------------------------------------------------------- 1 | package org.omg.PortableServer; 2 | 3 | 4 | /** 5 | * org/omg/PortableServer/ThreadPolicy.java . 6 | * Generated by the IDL-to-Java compiler (portable), version "3.2" 7 | * from /HUDSON/workspace/8-2-build-linux-amd64/jdk8u20/1074/corba/src/share/classes/org/omg/PortableServer/poa.idl 8 | * Wednesday, July 30, 2014 1:14:28 PM PDT 9 | */ 10 | 11 | 12 | /** 13 | * The ThreadPolicy specifies the threading model 14 | * used with the created POA. The default is 15 | * ORB_CTRL_MODEL. 16 | */ 17 | public interface ThreadPolicy extends ThreadPolicyOperations, org.omg.CORBA.Policy, org.omg.CORBA.portable.IDLEntity 18 | { 19 | } // interface ThreadPolicy 20 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/corba/se/PortableActivationIDL/ServerProxy.java: -------------------------------------------------------------------------------- 1 | package com.sun.corba.se.PortableActivationIDL; 2 | 3 | 4 | /** 5 | * com/sun/corba/se/PortableActivationIDL/ServerProxy.java . 6 | * Generated by the IDL-to-Java compiler (portable), version "3.2" 7 | * from /HUDSON/workspace/8-2-build-linux-amd64/jdk8u20/1074/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl 8 | * Wednesday, July 30, 2014 1:14:27 PM PDT 9 | */ 10 | 11 | 12 | /** Server callback interface, passed to Activator in registerServer method. 13 | */ 14 | public interface ServerProxy extends ServerProxyOperations, org.omg.CORBA.Object, org.omg.CORBA.portable.IDLEntity 15 | { 16 | } // interface ServerProxy 17 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/corba/se/impl/corba/TypeCodeFactory.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 1999, 2003, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package com.sun.corba.se.impl.corba; 27 | 28 | public interface TypeCodeFactory { 29 | void setTypeCode(String id, TypeCodeImpl code); 30 | 31 | TypeCodeImpl getTypeCode(String id); 32 | 33 | void setTypeCodeForClass( Class c, TypeCodeImpl tcimpl ) ; 34 | 35 | TypeCodeImpl getTypeCodeForClass( Class c ) ; 36 | } 37 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/corba/se/spi/ior/iiop/MaxStreamFormatVersionComponent.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2004, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | package com.sun.corba.se.spi.ior.iiop; 26 | 27 | import com.sun.corba.se.spi.ior.TaggedComponent ; 28 | 29 | // Java to IDL ptc 02-01-12 1.4.11 30 | // TAG_RMI_CUSTOM_MAX_STREAM_FORMAT 31 | public interface MaxStreamFormatVersionComponent extends TaggedComponent 32 | { 33 | public byte getMaxStreamFormatVersion() ; 34 | } 35 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/corba/se/spi/orb/Operation.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | package com.sun.corba.se.spi.orb ; 26 | 27 | /** A generic class representing a function that takes a value and returns 28 | * a value. This is a building block for property parsing. 29 | */ 30 | public interface Operation{ 31 | /** Apply some function to a value and return the result. 32 | */ 33 | Object operate( Object value ) ; 34 | } 35 | -------------------------------------------------------------------------------- /jdk1.8/src/org/omg/IOP/TransactionService.java: -------------------------------------------------------------------------------- 1 | package org.omg.IOP; 2 | 3 | 4 | /** 5 | * org/omg/IOP/TransactionService.java . 6 | * Generated by the IDL-to-Java compiler (portable), version "3.2" 7 | * from /HUDSON/workspace/8-2-build-linux-amd64/jdk8u20/1074/corba/src/share/classes/org/omg/PortableInterceptor/IOP.idl 8 | * Wednesday, July 30, 2014 1:14:27 PM PDT 9 | */ 10 | 11 | public interface TransactionService 12 | { 13 | 14 | /** 15 | * Identifies a CDR encapsulation of the 16 | * CosTSInteroperation.PropogationContext defined in 17 | * CORBAservices: Common Object Services Specifications. 18 | */ 19 | public static final int value = (int)(0L); 20 | } 21 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/corba/se/impl/protocol/giopmsgheaders/FragmentMessage.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2000, 2003, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package com.sun.corba.se.impl.protocol.giopmsgheaders; 27 | 28 | /** 29 | * This interface captures the FragmentMessage contract. 30 | * 31 | * @author Ram Jeyaraman 05/14/2000 32 | */ 33 | 34 | public interface FragmentMessage extends Message { 35 | int getRequestId(); 36 | int getHeaderLength(); 37 | } 38 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/java/swing/plaf/nimbus/NimbusLookAndFeel.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | package com.sun.java.swing.plaf.nimbus; 26 | 27 | /** 28 | * This class is preserved for backward compatibility with JDK 6. 29 | * 30 | * @deprecated Use {@link javax.swing.plaf.nimbus.NimbusLookAndFeel} instead. 31 | */ 32 | @Deprecated 33 | public class NimbusLookAndFeel extends javax.swing.plaf.nimbus.NimbusLookAndFeel { 34 | } 35 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/source/doctree/ReturnTree.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package com.sun.source.doctree; 27 | 28 | import java.util.List; 29 | 30 | /** 31 | * A tree node for an @return block tag. 32 | * 33 | *

34 | * @return description 35 | * 36 | * @since 1.8 37 | */ 38 | @jdk.Exported 39 | public interface ReturnTree extends BlockTagTree { 40 | List getDescription(); 41 | } 42 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/source/tree/ExpressionTree.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package com.sun.source.tree; 27 | 28 | /** 29 | * A tree node used as the base class for the different types of 30 | * expressions. 31 | * 32 | * @jls chapter 15 33 | * 34 | * @author Peter von der Ahé 35 | * @author Jonathan Gibbons 36 | * @since 1.6 37 | */ 38 | @jdk.Exported 39 | public interface ExpressionTree extends Tree {} 40 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/source/tree/StatementTree.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package com.sun.source.tree; 27 | 28 | /** 29 | * A tree node used as the base class for the different kinds of 30 | * statements. 31 | * 32 | * @jls chapter 14 33 | * 34 | * @author Peter von der Ahé 35 | * @author Jonathan Gibbons 36 | * @since 1.6 37 | */ 38 | @jdk.Exported 39 | public interface StatementTree extends Tree {} 40 | -------------------------------------------------------------------------------- /jdk1.8/src/javax/lang/model/type/NullType.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2005, 2006, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package javax.lang.model.type; 27 | 28 | 29 | /** 30 | * Represents the null type. 31 | * This is the type of the expression {@code null}, 32 | * 33 | * @author Joseph D. Darcy 34 | * @author Scott Seligman 35 | * @author Peter von der Ahé 36 | * @since 1.6 37 | */ 38 | 39 | public interface NullType extends ReferenceType { 40 | } 41 | -------------------------------------------------------------------------------- /jdk1.8/src/org/omg/CORBA/BAD_POLICY_TYPE.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 1998, 2001, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package org.omg.CORBA; 27 | 28 | /** 29 | * A PolicyErrorCode which would be filled in 30 | * the PolicyError exception. 31 | * 32 | * @author rip-dev 33 | */ 34 | public interface BAD_POLICY_TYPE { 35 | /** 36 | * The Error code in PolicyError exception. 37 | */ 38 | final short value = (short) (2L); 39 | }; 40 | -------------------------------------------------------------------------------- /jdk1.8/src/org/omg/PortableServer/ServantActivator.java: -------------------------------------------------------------------------------- 1 | package org.omg.PortableServer; 2 | 3 | 4 | /** 5 | * org/omg/PortableServer/ServantActivator.java . 6 | * Generated by the IDL-to-Java compiler (portable), version "3.2" 7 | * from /HUDSON/workspace/8-2-build-linux-amd64/jdk8u20/1074/corba/src/share/classes/org/omg/PortableServer/poa.idl 8 | * Wednesday, July 30, 2014 1:14:28 PM PDT 9 | */ 10 | 11 | 12 | /** 13 | * When the POA has the RETAIN policy it uses servant 14 | * managers that are ServantActivators. 15 | */ 16 | public interface ServantActivator extends ServantActivatorOperations, org.omg.PortableServer.ServantManager, org.omg.CORBA.portable.IDLEntity 17 | { 18 | } // interface ServantActivator 19 | -------------------------------------------------------------------------------- /Test/src/JavaSE/lambda/applycation/Person.java: -------------------------------------------------------------------------------- 1 | package lambda.applycation; 2 | 3 | /** 4 | * @Author: clf 5 | * @Date: 19-11-15 6 | * @Description: 7 | */ 8 | public class Person { 9 | private String username; 10 | private int age; 11 | 12 | public Person(String username, int age) { 13 | this.username = username; 14 | this.age = age; 15 | } 16 | 17 | public int getAge() { 18 | return age; 19 | } 20 | 21 | public void setAge(int age) { 22 | this.age = age; 23 | } 24 | 25 | public String getUsername() { 26 | return username; 27 | } 28 | 29 | public void setUsername(String username) { 30 | this.username = username; 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/corba/se/spi/legacy/interceptor/IORInfoExt.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2000, 2003, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package com.sun.corba.se.spi.legacy.interceptor; 27 | 28 | import com.sun.corba.se.spi.oa.ObjectAdapter; 29 | 30 | public interface IORInfoExt 31 | { 32 | public int getServerPort(String type) 33 | throws 34 | UnknownType; 35 | 36 | public ObjectAdapter getObjectAdapter(); 37 | } 38 | 39 | // End of file. 40 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/source/doctree/VersionTree.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package com.sun.source.doctree; 27 | 28 | import java.util.List; 29 | 30 | /** 31 | * 32 | * A tree node for an @version block tag. 33 | * 34 | *

35 | * @version version-text 36 | * 37 | * @since 1.8 38 | */ 39 | @jdk.Exported 40 | public interface VersionTree extends BlockTagTree { 41 | List getBody(); 42 | } 43 | -------------------------------------------------------------------------------- /jdk1.8/src/javax/swing/plaf/nimbus/InnerGlowEffect.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2005, 2006, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | package javax.swing.plaf.nimbus; 26 | 27 | import java.awt.Color; 28 | 29 | /** 30 | * InnerGlowEffect 31 | * 32 | * @author Created by Jasper Potts (Jun 21, 2007) 33 | */ 34 | class InnerGlowEffect extends InnerShadowEffect { 35 | InnerGlowEffect() { 36 | distance = 0; 37 | color = new Color(255, 255, 211); 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /jdk1.8/src/javax/swing/plaf/nimbus/OuterGlowEffect.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2005, 2006, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | package javax.swing.plaf.nimbus; 26 | 27 | import java.awt.Color; 28 | 29 | /** 30 | * InnerGlowEffect 31 | * 32 | * @author Created by Jasper Potts (Jun 21, 2007) 33 | */ 34 | class OuterGlowEffect extends DropShadowEffect { 35 | OuterGlowEffect() { 36 | distance = 0; 37 | color = new Color(255, 255, 211); 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/corba/se/internal/iiop/ORB.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 1995, 2003, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package com.sun.corba.se.internal.iiop; 27 | 28 | /** 29 | * Deprecated class for backward compatibility. 30 | */ 31 | public class ORB extends /* 1.4 value: com.sun.corba.se.internal.corba.ORB */ 32 | com.sun.corba.se.impl.orb.ORBImpl 33 | { 34 | public ORB() 35 | { 36 | super(); 37 | } 38 | } // Class ORB 39 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/source/tree/IntersectionTypeTree.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package com.sun.source.tree; 27 | 28 | import java.util.List; 29 | 30 | /** 31 | * A tree node for an intersection type in a cast expression. 32 | * 33 | * @author Maurizio Cimadamore 34 | * 35 | * @since 1.8 36 | */ 37 | @jdk.Exported 38 | public interface IntersectionTypeTree extends Tree { 39 | List getBounds(); 40 | } 41 | -------------------------------------------------------------------------------- /jdk1.8/src/org/omg/PortableServer/LifespanPolicy.java: -------------------------------------------------------------------------------- 1 | package org.omg.PortableServer; 2 | 3 | 4 | /** 5 | * org/omg/PortableServer/LifespanPolicy.java . 6 | * Generated by the IDL-to-Java compiler (portable), version "3.2" 7 | * from /HUDSON/workspace/8-2-build-linux-amd64/jdk8u20/1074/corba/src/share/classes/org/omg/PortableServer/poa.idl 8 | * Wednesday, July 30, 2014 1:14:28 PM PDT 9 | */ 10 | 11 | 12 | /** 13 | * The LifespanPolicy specifies the lifespan of the 14 | * objects implemented in the created POA. The default 15 | * is TRANSIENT. 16 | */ 17 | public interface LifespanPolicy extends LifespanPolicyOperations, org.omg.CORBA.Policy, org.omg.CORBA.portable.IDLEntity 18 | { 19 | } // interface LifespanPolicy 20 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/corba/se/pept/transport/ByteBufferPool.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package com.sun.corba.se.pept.transport; 27 | 28 | import java.nio.ByteBuffer; 29 | 30 | /** 31 | * @author Charlie Hunt 32 | */ 33 | public interface ByteBufferPool 34 | { 35 | public ByteBuffer getByteBuffer(int theSize); 36 | public void releaseByteBuffer(ByteBuffer thebb); 37 | public int activeCount(); 38 | } 39 | 40 | // End of file. 41 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/corba/se/spi/ior/iiop/AlternateIIOPAddressComponent.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2004, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package com.sun.corba.se.spi.ior.iiop; 27 | 28 | import com.sun.corba.se.spi.ior.iiop.IIOPAddress ; 29 | import com.sun.corba.se.spi.ior.TaggedComponent ; 30 | 31 | /** 32 | * @author Ken Cavanaugh 33 | */ 34 | public interface AlternateIIOPAddressComponent extends TaggedComponent 35 | { 36 | public IIOPAddress getAddress() ; 37 | } 38 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/source/doctree/DeprecatedTree.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package com.sun.source.doctree; 27 | 28 | import java.util.List; 29 | 30 | /** 31 | * A tree node for an @deprecated block tag. 32 | * 33 | *

34 | * @deprecated deprecated text. 35 | * 36 | * @since 1.8 37 | */ 38 | @jdk.Exported 39 | public interface DeprecatedTree extends BlockTagTree { 40 | List getBody(); 41 | } 42 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/source/doctree/UnknownBlockTagTree.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | package com.sun.source.doctree; 26 | 27 | import java.util.List; 28 | 29 | /** 30 | * A tree node for an unrecognized inline tag. 31 | * 32 | *

33 | * @name content 34 | * 35 | * @since 1.8 36 | * 37 | */ 38 | @jdk.Exported 39 | public interface UnknownBlockTagTree extends BlockTagTree { 40 | List getContent(); 41 | } 42 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/source/util/TaskListener.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package com.sun.source.util; 27 | 28 | 29 | /** 30 | * Provides a listener to monitor the activity of the JDK Java Compiler, javac. 31 | * 32 | * @author Jonathan Gibbons 33 | * @since 1.6 34 | */ 35 | @jdk.Exported 36 | public interface TaskListener 37 | { 38 | public void started(TaskEvent e); 39 | 40 | public void finished(TaskEvent e); 41 | } 42 | -------------------------------------------------------------------------------- /jdk1.8/src/org/omg/DynamicAny/DynStruct.java: -------------------------------------------------------------------------------- 1 | package org.omg.DynamicAny; 2 | 3 | 4 | /** 5 | * org/omg/DynamicAny/DynStruct.java . 6 | * Generated by the IDL-to-Java compiler (portable), version "3.2" 7 | * from /HUDSON/workspace/8-2-build-linux-amd64/jdk8u20/1074/corba/src/share/classes/org/omg/DynamicAny/DynamicAny.idl 8 | * Wednesday, July 30, 2014 1:14:27 PM PDT 9 | */ 10 | 11 | 12 | /** 13 | * DynStruct objects support the manipulation of IDL struct and exception values. 14 | * Members of the exceptions are handled in the same way as members of a struct. 15 | */ 16 | public interface DynStruct extends DynStructOperations, org.omg.DynamicAny.DynAny, org.omg.CORBA.portable.IDLEntity 17 | { 18 | } // interface DynStruct 19 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/corba/se/impl/protocol/giopmsgheaders/CancelRequestMessage.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2000, 2003, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package com.sun.corba.se.impl.protocol.giopmsgheaders; 27 | 28 | /** 29 | * This interface captures the CancelRequestMessage contract. 30 | * 31 | * @author Ram Jeyaraman 05/14/2000 32 | */ 33 | 34 | public interface CancelRequestMessage extends Message { 35 | int CANCEL_REQ_MSG_SIZE = 4; 36 | int getRequestId(); 37 | } 38 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/corba/se/spi/ior/iiop/IIOPAddress.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2002, 2003, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package com.sun.corba.se.spi.ior.iiop; 27 | 28 | import com.sun.corba.se.spi.ior.Writeable ; 29 | 30 | /** IIOPAddress represents the host and port used to establish a 31 | * TCP connection for an IIOP request. 32 | */ 33 | public interface IIOPAddress extends Writeable 34 | { 35 | public String getHost() ; 36 | 37 | public int getPort() ; 38 | } 39 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/source/doctree/SerialDataTree.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package com.sun.source.doctree; 27 | 28 | import java.util.List; 29 | 30 | /** 31 | * A tree node for an @serialData block tag. 32 | * 33 | *

34 | * @serialData data-description 35 | * 36 | * @since 1.8 37 | */ 38 | @jdk.Exported 39 | public interface SerialDataTree extends BlockTagTree { 40 | List getDescription(); 41 | } 42 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/source/doctree/UnknownInlineTagTree.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | package com.sun.source.doctree; 26 | 27 | import java.util.List; 28 | 29 | /** 30 | * A tree node for an unrecognized inline tag. 31 | * 32 | *

33 | * {@name content} 34 | * 35 | * @since 1.8 36 | * 37 | */ 38 | @jdk.Exported 39 | public interface UnknownInlineTagTree extends InlineTagTree { 40 | List getContent(); 41 | } 42 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/source/tree/UnionTypeTree.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package com.sun.source.tree; 27 | 28 | import java.util.List; 29 | 30 | /** 31 | * A tree node for a union type expression in a multicatch var declaration. 32 | * 33 | * @author Maurizio Cimadamore 34 | * 35 | * @since 1.7 36 | */ 37 | @jdk.Exported 38 | public interface UnionTypeTree extends Tree { 39 | List getTypeAlternatives(); 40 | } 41 | -------------------------------------------------------------------------------- /jdk1.8/src/javax/swing/plaf/ButtonUI.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 1997, 2004, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | package javax.swing.plaf; 26 | 27 | import javax.swing.AbstractButton; 28 | import javax.swing.GrayFilter; 29 | import javax.swing.Icon; 30 | import javax.swing.ImageIcon; 31 | import java.awt.Insets; 32 | 33 | /** 34 | * Pluggable look and feel interface for JButton. 35 | * 36 | * @author Jeff Dinkins 37 | */ 38 | public abstract class ButtonUI extends ComponentUI { 39 | } 40 | -------------------------------------------------------------------------------- /jdk1.8/src/org/omg/PortableServer/ServantRetentionPolicy.java: -------------------------------------------------------------------------------- 1 | package org.omg.PortableServer; 2 | 3 | 4 | /** 5 | * org/omg/PortableServer/ServantRetentionPolicy.java . 6 | * Generated by the IDL-to-Java compiler (portable), version "3.2" 7 | * from /HUDSON/workspace/8-2-build-linux-amd64/jdk8u20/1074/corba/src/share/classes/org/omg/PortableServer/poa.idl 8 | * Wednesday, July 30, 2014 1:14:28 PM PDT 9 | */ 10 | 11 | 12 | /** 13 | * This policy specifies whether the created POA retains 14 | * active servants in an Active Object Map. 15 | */ 16 | public interface ServantRetentionPolicy extends ServantRetentionPolicyOperations, org.omg.CORBA.Policy, org.omg.CORBA.portable.IDLEntity 17 | { 18 | } // interface ServantRetentionPolicy 19 | -------------------------------------------------------------------------------- /JVM-Learning/GC-Review.md: -------------------------------------------------------------------------------- 1 | # GC回顾 2 | ## 基本概念 3 | * GC就是 Garbage Collection,垃圾回收 4 | >因为程序在运行时需要不断的在堆内存中进行对象的创建和销毁,避免没有使用的对象持续占用空间造成资源的浪费, 5 | 同时JVM为了方便程序员只注重业务逻辑不用关心底层的垃圾回收,所以底层自动实现了垃圾回收器对垃圾进行自动回收, 6 | 实现自动的对堆内存进行管理. 7 | * 主要的GC类型: 8 | * YoungGC: 新生代的回收,也称为MinorGC或者YGC 9 | * OldGC: 老年代的回收,只单独回收Old区域的只有CMS回收器.但**是CMS并不是完全并发的,仍然有两个阶段会STW**(初始标记,重新标记) 10 | * FullGC: 对整个堆进行垃圾回收,也称为MajorGC 11 | * FullGC触发条件(即导致FullGC的原因): 12 | * 在没有配置-XX:+DisableExplicitGC情况下,System.gc()可能会触发FullGC 13 | * promotion failed(晋升失败): 当在MinorGC时,Survivor放不下,对象只能放入老年代,而此时老年代也放不下触发FullGC 14 | * concurrent mode failure: 是在执行CMS GC的过程中同时有对象要放入老年代,而老年代空间不足导致 15 | * Metaspace Space使用达到MaxMetaspaceSize阈值 16 | * 执行jmap -histo:live或者jmap -dump:live 17 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/java/swing/plaf/nimbus/AbstractRegionPainter.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | package com.sun.java.swing.plaf.nimbus; 26 | 27 | /** 28 | * This class is preserved for backward compatibility with JDK 6. 29 | * 30 | * @deprecated Use {@link javax.swing.plaf.nimbus.AbstractRegionPainter} instead. 31 | */ 32 | @Deprecated 33 | public abstract class AbstractRegionPainter extends javax.swing.plaf.nimbus.AbstractRegionPainter { 34 | } 35 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/source/doctree/SerialTree.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package com.sun.source.doctree; 27 | 28 | import java.util.List; 29 | 30 | /** 31 | * A tree node for an @serial block tag. 32 | * 33 | *

34 | * @serial field-description | include | exclude 35 | * 36 | * @since 1.8 37 | */ 38 | @jdk.Exported 39 | public interface SerialTree extends BlockTagTree { 40 | List getDescription(); 41 | } 42 | -------------------------------------------------------------------------------- /jdk1.8/src/java/awt/PrintGraphics.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 1996, 1997, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package java.awt; 27 | 28 | /** 29 | * An abstract class which provides a print graphics context for a page. 30 | * 31 | * @author Amy Fowler 32 | */ 33 | public interface PrintGraphics { 34 | 35 | /** 36 | * Returns the PrintJob object from which this PrintGraphics 37 | * object originated. 38 | */ 39 | public PrintJob getPrintJob(); 40 | 41 | } 42 | -------------------------------------------------------------------------------- /jdk1.8/src/launcher/version_comp.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003, 2005, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | #ifndef _VERSION_COMP_H 27 | #define _VERSION_COMP_H 28 | 29 | /* 30 | * Function prototypes. 31 | */ 32 | int JLI_ExactVersionId(const char *id1, char *id2); 33 | int JLI_PrefixVersionId(const char *id1, char *id2); 34 | int JLI_AcceptableRelease(const char *release, char *version_string); 35 | int JLI_ValidVersionString(char *version_string); 36 | 37 | #endif /* _VERSION_COMP_H */ 38 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/corba/se/impl/encoding/MarkAndResetHandler.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2000, 2003, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | package com.sun.corba.se.impl.encoding; 26 | 27 | 28 | /** 29 | * Defines an abstraction for a RestorableInputStream to 30 | * implement mark/reset. 31 | */ 32 | interface MarkAndResetHandler 33 | { 34 | void mark(RestorableInputStream inputStream); 35 | 36 | void fragmentationOccured(ByteBufferWithInfo newFragment); 37 | 38 | void reset(); 39 | } 40 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/corba/se/spi/ior/iiop/CodeSetsComponent.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2004, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package com.sun.corba.se.spi.ior.iiop; 27 | 28 | import com.sun.corba.se.spi.ior.TaggedComponent ; 29 | 30 | import com.sun.corba.se.impl.encoding.CodeSetComponentInfo ; 31 | 32 | /** 33 | * @author Ken Cavanaugh 34 | */ 35 | public interface CodeSetsComponent extends TaggedComponent 36 | { 37 | public CodeSetComponentInfo getCodeSetComponentInfo() ; 38 | } 39 | -------------------------------------------------------------------------------- /jdk1.8/src/org/omg/PortableServer/ImplicitActivationPolicy.java: -------------------------------------------------------------------------------- 1 | package org.omg.PortableServer; 2 | 3 | 4 | /** 5 | * org/omg/PortableServer/ImplicitActivationPolicy.java . 6 | * Generated by the IDL-to-Java compiler (portable), version "3.2" 7 | * from /HUDSON/workspace/8-2-build-linux-amd64/jdk8u20/1074/corba/src/share/classes/org/omg/PortableServer/poa.idl 8 | * Wednesday, July 30, 2014 1:14:28 PM PDT 9 | */ 10 | 11 | 12 | /** 13 | * This policy specifies whether implicit activation 14 | * of servants is supported in the created POA. 15 | */ 16 | public interface ImplicitActivationPolicy extends ImplicitActivationPolicyOperations, org.omg.CORBA.Policy, org.omg.CORBA.portable.IDLEntity 17 | { 18 | } // interface ImplicitActivationPolicy 19 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/corba/se/impl/encoding/RestorableInputStream.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2000, 2003, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | package com.sun.corba.se.impl.encoding; 26 | 27 | /** 28 | * Defines the methods on an input stream which provide 29 | * a way to get and restore its internal state without 30 | * violating encapsulation. 31 | */ 32 | interface RestorableInputStream 33 | { 34 | Object createStreamMemento(); 35 | 36 | void restoreInternalState(Object streamMemento); 37 | } 38 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/corba/se/spi/ior/Writeable.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2000, 2003, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package com.sun.corba.se.spi.ior; 27 | 28 | import org.omg.CORBA_2_3.portable.OutputStream ; 29 | 30 | /** This interface represents an entity that can be written to an OutputStream. 31 | * @author Ken Cavanaugh 32 | */ 33 | public interface Writeable 34 | { 35 | /** Write this object directly to the output stream. 36 | */ 37 | void write(OutputStream arg0); 38 | } 39 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/jmx/snmp/IPAcl/ParseError.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 1997, 2006, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | 27 | /* Generated By:JavaCC: Do not edit this line. ParseError.java Version 0.7pre1 */ 28 | package com.sun.jmx.snmp.IPAcl; 29 | 30 | class ParseError extends Exception { 31 | private static final long serialVersionUID = 4907307342076722310L; 32 | 33 | public ParseError() { 34 | } 35 | public ParseError(String message) { 36 | super(message); 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/source/tree/ErroneousTree.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package com.sun.source.tree; 27 | 28 | import java.util.List; 29 | 30 | /** 31 | * A tree node to stand in for a malformed expression. 32 | * 33 | * @author Peter von der Ahé 34 | * @author Jonathan Gibbons 35 | * @since 1.6 36 | */ 37 | @jdk.Exported 38 | public interface ErroneousTree extends ExpressionTree { 39 | List getErrorTrees(); 40 | } 41 | -------------------------------------------------------------------------------- /jdk1.8/src/javax/xml/stream/events/EndDocument.java: -------------------------------------------------------------------------------- 1 | /* 2 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 3 | * 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | */ 24 | 25 | /* 26 | * Copyright (c) 2009 by Oracle Corporation. All Rights Reserved. 27 | */ 28 | 29 | package javax.xml.stream.events; 30 | 31 | /** 32 | * A marker interface for the end of the document 33 | * 34 | * @version 1.0 35 | * @author Copyright (c) 2009 by Oracle Corporation. All Rights Reserved. 36 | * @since 1.6 37 | */ 38 | public interface EndDocument extends XMLEvent { 39 | /** 40 | * No methods are defined in this interface. 41 | */ 42 | } 43 | -------------------------------------------------------------------------------- /jdk1.8/src/org/omg/IOP/CodecPackage/TypeMismatch.java: -------------------------------------------------------------------------------- 1 | package org.omg.IOP.CodecPackage; 2 | 3 | 4 | /** 5 | * org/omg/IOP/CodecPackage/TypeMismatch.java . 6 | * Generated by the IDL-to-Java compiler (portable), version "3.2" 7 | * from /HUDSON/workspace/8-2-build-linux-amd64/jdk8u20/1074/corba/src/share/classes/org/omg/PortableInterceptor/IOP.idl 8 | * Wednesday, July 30, 2014 1:14:27 PM PDT 9 | */ 10 | 11 | public final class TypeMismatch extends org.omg.CORBA.UserException 12 | { 13 | 14 | public TypeMismatch () 15 | { 16 | super(TypeMismatchHelper.id()); 17 | } // ctor 18 | 19 | 20 | public TypeMismatch (String $reason) 21 | { 22 | super(TypeMismatchHelper.id() + " " + $reason); 23 | } // ctor 24 | 25 | } // class TypeMismatch 26 | -------------------------------------------------------------------------------- /jdk1.8/src/org/omg/PortableServer/POAPackage/NoServant.java: -------------------------------------------------------------------------------- 1 | package org.omg.PortableServer.POAPackage; 2 | 3 | 4 | /** 5 | * org/omg/PortableServer/POAPackage/NoServant.java . 6 | * Generated by the IDL-to-Java compiler (portable), version "3.2" 7 | * from /HUDSON/workspace/8-2-build-linux-amd64/jdk8u20/1074/corba/src/share/classes/org/omg/PortableServer/poa.idl 8 | * Wednesday, July 30, 2014 1:14:28 PM PDT 9 | */ 10 | 11 | public final class NoServant extends org.omg.CORBA.UserException 12 | { 13 | 14 | public NoServant () 15 | { 16 | super(NoServantHelper.id()); 17 | } // ctor 18 | 19 | 20 | public NoServant (String $reason) 21 | { 22 | super(NoServantHelper.id() + " " + $reason); 23 | } // ctor 24 | 25 | } // class NoServant 26 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/corba/se/impl/presentation/rmi/IDLTypeException.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package com.sun.corba.se.impl.presentation.rmi ; 27 | 28 | /** 29 | * Checked exception containing information about an 30 | * an IDL type validation. 31 | */ 32 | public class IDLTypeException extends Exception { 33 | 34 | public IDLTypeException() {} 35 | 36 | public IDLTypeException(String message) { 37 | super(message); 38 | } 39 | 40 | } 41 | -------------------------------------------------------------------------------- /jdk1.8/src/java/util/zip/ZStreamRef.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package java.util.zip; 27 | 28 | /** 29 | * A reference to the native zlib's z_stream structure. 30 | */ 31 | 32 | class ZStreamRef { 33 | 34 | private long address; 35 | ZStreamRef (long address) { 36 | this.address = address; 37 | } 38 | 39 | long address() { 40 | return address; 41 | } 42 | 43 | void clear() { 44 | address = 0; 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /jdk1.8/src/javax/security/auth/callback/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | /** 27 | * This package provides the classes necessary for services 28 | * to interact with applications in order to retrieve 29 | * information (authentication data including usernames 30 | * or passwords, for example) or to display information 31 | * (error and warning messages, for example). 32 | * 33 | * @since JDK1.4 34 | */ 35 | package javax.security.auth.callback; 36 | -------------------------------------------------------------------------------- /jdk1.8/src/org/omg/CosNaming/NameComponent.java: -------------------------------------------------------------------------------- 1 | package org.omg.CosNaming; 2 | 3 | 4 | /** 5 | * org/omg/CosNaming/NameComponent.java . 6 | * Generated by the IDL-to-Java compiler (portable), version "3.2" 7 | * from /HUDSON/workspace/8-2-build-linux-amd64/jdk8u20/1074/corba/src/share/classes/org/omg/CosNaming/nameservice.idl 8 | * Wednesday, July 30, 2014 1:14:27 PM PDT 9 | */ 10 | 11 | public final class NameComponent implements org.omg.CORBA.portable.IDLEntity 12 | { 13 | public String id = null; 14 | public String kind = null; 15 | 16 | public NameComponent () 17 | { 18 | } // ctor 19 | 20 | public NameComponent (String _id, String _kind) 21 | { 22 | id = _id; 23 | kind = _kind; 24 | } // ctor 25 | 26 | } // class NameComponent 27 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/corba/se/PortableActivationIDL/InitialNameService.java: -------------------------------------------------------------------------------- 1 | package com.sun.corba.se.PortableActivationIDL; 2 | 3 | 4 | /** 5 | * com/sun/corba/se/PortableActivationIDL/InitialNameService.java . 6 | * Generated by the IDL-to-Java compiler (portable), version "3.2" 7 | * from /HUDSON/workspace/8-2-build-linux-amd64/jdk8u20/1074/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl 8 | * Wednesday, July 30, 2014 1:14:27 PM PDT 9 | */ 10 | 11 | 12 | /** Interface used to support binding references in the bootstrap name 13 | * service. 14 | */ 15 | public interface InitialNameService extends InitialNameServiceOperations, org.omg.CORBA.Object, org.omg.CORBA.portable.IDLEntity 16 | { 17 | } // interface InitialNameService 18 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/corba/se/spi/activation/InitialNameServiceOperations.java: -------------------------------------------------------------------------------- 1 | package com.sun.corba.se.spi.activation; 2 | 3 | 4 | /** 5 | * com/sun/corba/se/spi/activation/InitialNameServiceOperations.java . 6 | * Generated by the IDL-to-Java compiler (portable), version "3.2" 7 | * from /HUDSON/workspace/8-2-build-linux-amd64/jdk8u20/1074/corba/src/share/classes/com/sun/corba/se/spi/activation/activation.idl 8 | * Wednesday, July 30, 2014 1:14:27 PM PDT 9 | */ 10 | 11 | public interface InitialNameServiceOperations 12 | { 13 | 14 | // bind initial name 15 | void bind (String name, org.omg.CORBA.Object obj, boolean isPersistant) throws com.sun.corba.se.spi.activation.InitialNameServicePackage.NameAlreadyBound; 16 | } // interface InitialNameServiceOperations 17 | -------------------------------------------------------------------------------- /jdk1.8/src/org/omg/CosNaming/NamingContextPackage/NotEmpty.java: -------------------------------------------------------------------------------- 1 | package org.omg.CosNaming.NamingContextPackage; 2 | 3 | 4 | /** 5 | * org/omg/CosNaming/NamingContextPackage/NotEmpty.java . 6 | * Generated by the IDL-to-Java compiler (portable), version "3.2" 7 | * from /HUDSON/workspace/8-2-build-linux-amd64/jdk8u20/1074/corba/src/share/classes/org/omg/CosNaming/nameservice.idl 8 | * Wednesday, July 30, 2014 1:14:27 PM PDT 9 | */ 10 | 11 | public final class NotEmpty extends org.omg.CORBA.UserException 12 | { 13 | 14 | public NotEmpty () 15 | { 16 | super(NotEmptyHelper.id()); 17 | } // ctor 18 | 19 | 20 | public NotEmpty (String $reason) 21 | { 22 | super(NotEmptyHelper.id() + " " + $reason); 23 | } // ctor 24 | 25 | } // class NotEmpty 26 | -------------------------------------------------------------------------------- /jdk1.8/src/org/omg/PortableInterceptor/InvalidSlot.java: -------------------------------------------------------------------------------- 1 | package org.omg.PortableInterceptor; 2 | 3 | 4 | /** 5 | * org/omg/PortableInterceptor/InvalidSlot.java . 6 | * Generated by the IDL-to-Java compiler (portable), version "3.2" 7 | * from /HUDSON/workspace/8-2-build-linux-amd64/jdk8u20/1074/corba/src/share/classes/org/omg/PortableInterceptor/Interceptors.idl 8 | * Wednesday, July 30, 2014 1:14:28 PM PDT 9 | */ 10 | 11 | public final class InvalidSlot extends org.omg.CORBA.UserException 12 | { 13 | 14 | public InvalidSlot () 15 | { 16 | super(InvalidSlotHelper.id()); 17 | } // ctor 18 | 19 | 20 | public InvalidSlot (String $reason) 21 | { 22 | super(InvalidSlotHelper.id() + " " + $reason); 23 | } // ctor 24 | 25 | } // class InvalidSlot 26 | -------------------------------------------------------------------------------- /jdk1.8/src/org/omg/PortableServer/CurrentPackage/NoContext.java: -------------------------------------------------------------------------------- 1 | package org.omg.PortableServer.CurrentPackage; 2 | 3 | 4 | /** 5 | * org/omg/PortableServer/CurrentPackage/NoContext.java . 6 | * Generated by the IDL-to-Java compiler (portable), version "3.2" 7 | * from /HUDSON/workspace/8-2-build-linux-amd64/jdk8u20/1074/corba/src/share/classes/org/omg/PortableServer/poa.idl 8 | * Wednesday, July 30, 2014 1:14:28 PM PDT 9 | */ 10 | 11 | public final class NoContext extends org.omg.CORBA.UserException 12 | { 13 | 14 | public NoContext () 15 | { 16 | super(NoContextHelper.id()); 17 | } // ctor 18 | 19 | 20 | public NoContext (String $reason) 21 | { 22 | super(NoContextHelper.id() + " " + $reason); 23 | } // ctor 24 | 25 | } // class NoContext 26 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/source/tree/EmptyStatementTree.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package com.sun.source.tree; 27 | 28 | /** 29 | * A tree node for an empty (skip) statement. 30 | * 31 | * For example: 32 | *

33 |  *    ;
34 |  * 
35 | * 36 | * @jls section 14.6 37 | * 38 | * @author Peter von der Ahé 39 | * @author Jonathan Gibbons 40 | * @since 1.6 41 | */ 42 | @jdk.Exported 43 | public interface EmptyStatementTree extends StatementTree {} 44 | -------------------------------------------------------------------------------- /jdk1.8/src/java/nio/file/AccessMode.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2007, 2011, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package java.nio.file; 27 | 28 | /** 29 | * Defines access modes used to test the accessibility of a file. 30 | * 31 | * @since 1.7 32 | */ 33 | 34 | public enum AccessMode { 35 | /** 36 | * Test read access. 37 | */ 38 | READ, 39 | /** 40 | * Test write access. 41 | */ 42 | WRITE, 43 | /** 44 | * Test execute access. 45 | */ 46 | EXECUTE; 47 | } 48 | -------------------------------------------------------------------------------- /jdk1.8/src/javax/lang/model/type/ReferenceType.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2005, 2006, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package javax.lang.model.type; 27 | 28 | 29 | /** 30 | * Represents a reference type. 31 | * These include class and interface types, array types, type variables, 32 | * and the null type. 33 | * 34 | * @author Joseph D. Darcy 35 | * @author Scott Seligman 36 | * @author Peter von der Ahé 37 | * @since 1.6 38 | */ 39 | public interface ReferenceType extends TypeMirror { 40 | } 41 | -------------------------------------------------------------------------------- /jdk1.8/src/org/omg/IOP/CodecFactory.java: -------------------------------------------------------------------------------- 1 | package org.omg.IOP; 2 | 3 | 4 | /** 5 | * org/omg/IOP/CodecFactory.java . 6 | * Generated by the IDL-to-Java compiler (portable), version "3.2" 7 | * from /HUDSON/workspace/8-2-build-linux-amd64/jdk8u20/1074/corba/src/share/classes/org/omg/PortableInterceptor/IOP.idl 8 | * Wednesday, July 30, 2014 1:14:28 PM PDT 9 | */ 10 | 11 | 12 | /** 13 | * Codecs are obtained from the CodecFactory. 14 | * The CodecFactory is obtained through a call to 15 | * ORB.resolve_initial_references( "CodecFactory" ). 16 | */ 17 | public interface CodecFactory extends CodecFactoryOperations, org.omg.CORBA.Object, org.omg.CORBA.portable.IDLEntity 18 | { 19 | } // interface CodecFactory 20 | -------------------------------------------------------------------------------- /jdk1.8/src/org/omg/IOP/CodecPackage/FormatMismatch.java: -------------------------------------------------------------------------------- 1 | package org.omg.IOP.CodecPackage; 2 | 3 | 4 | /** 5 | * org/omg/IOP/CodecPackage/FormatMismatch.java . 6 | * Generated by the IDL-to-Java compiler (portable), version "3.2" 7 | * from /HUDSON/workspace/8-2-build-linux-amd64/jdk8u20/1074/corba/src/share/classes/org/omg/PortableInterceptor/IOP.idl 8 | * Wednesday, July 30, 2014 1:14:27 PM PDT 9 | */ 10 | 11 | public final class FormatMismatch extends org.omg.CORBA.UserException 12 | { 13 | 14 | public FormatMismatch () 15 | { 16 | super(FormatMismatchHelper.id()); 17 | } // ctor 18 | 19 | 20 | public FormatMismatch (String $reason) 21 | { 22 | super(FormatMismatchHelper.id() + " " + $reason); 23 | } // ctor 24 | 25 | } // class FormatMismatch 26 | -------------------------------------------------------------------------------- /jdk1.8/src/org/omg/PortableServer/POAPackage/WrongPolicy.java: -------------------------------------------------------------------------------- 1 | package org.omg.PortableServer.POAPackage; 2 | 3 | 4 | /** 5 | * org/omg/PortableServer/POAPackage/WrongPolicy.java . 6 | * Generated by the IDL-to-Java compiler (portable), version "3.2" 7 | * from /HUDSON/workspace/8-2-build-linux-amd64/jdk8u20/1074/corba/src/share/classes/org/omg/PortableServer/poa.idl 8 | * Wednesday, July 30, 2014 1:14:28 PM PDT 9 | */ 10 | 11 | public final class WrongPolicy extends org.omg.CORBA.UserException 12 | { 13 | 14 | public WrongPolicy () 15 | { 16 | super(WrongPolicyHelper.id()); 17 | } // ctor 18 | 19 | 20 | public WrongPolicy (String $reason) 21 | { 22 | super(WrongPolicyHelper.id() + " " + $reason); 23 | } // ctor 24 | 25 | } // class WrongPolicy 26 | -------------------------------------------------------------------------------- /jdk1.8/src/org/omg/PortableServer/RequestProcessingPolicy.java: -------------------------------------------------------------------------------- 1 | package org.omg.PortableServer; 2 | 3 | 4 | /** 5 | * org/omg/PortableServer/RequestProcessingPolicy.java . 6 | * Generated by the IDL-to-Java compiler (portable), version "3.2" 7 | * from /HUDSON/workspace/8-2-build-linux-amd64/jdk8u20/1074/corba/src/share/classes/org/omg/PortableServer/poa.idl 8 | * Wednesday, July 30, 2014 1:14:28 PM PDT 9 | */ 10 | 11 | 12 | /** 13 | * This policy specifies how requests are processed by 14 | * the created POA. The default is 15 | * USE_ACTIVE_OBJECT_MAP_ONLY. 16 | */ 17 | public interface RequestProcessingPolicy extends RequestProcessingPolicyOperations, org.omg.CORBA.Policy, org.omg.CORBA.portable.IDLEntity 18 | { 19 | } // interface RequestProcessingPolicy 20 | -------------------------------------------------------------------------------- /jdk1.8/src/java/net/StandardProtocolFamily.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2007, 2009, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package java.net; 27 | 28 | /** 29 | * Defines the standard families of communication protocols. 30 | * 31 | * @since 1.7 32 | */ 33 | 34 | public enum StandardProtocolFamily implements ProtocolFamily { 35 | 36 | /** 37 | * Internet Protocol Version 4 (IPv4) 38 | */ 39 | INET, 40 | 41 | /** 42 | * Internet Protocol Version 6 (IPv6) 43 | */ 44 | INET6 45 | } 46 | -------------------------------------------------------------------------------- /jdk1.8/src/javax/xml/soap/DetailEntry.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2004, 2012, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package javax.xml.soap; 27 | 28 | /** 29 | * The content for a Detail object, giving details for 30 | * a SOAPFault object. A DetailEntry object, 31 | * which carries information about errors related to the SOAPBody 32 | * object that contains it, is application-specific. 33 | */ 34 | public interface DetailEntry extends SOAPElement { 35 | 36 | } 37 | -------------------------------------------------------------------------------- /jdk1.8/src/org/omg/DynamicAny/DynAnyPackage/InvalidValue.java: -------------------------------------------------------------------------------- 1 | package org.omg.DynamicAny.DynAnyPackage; 2 | 3 | 4 | /** 5 | * org/omg/DynamicAny/DynAnyPackage/InvalidValue.java . 6 | * Generated by the IDL-to-Java compiler (portable), version "3.2" 7 | * from /HUDSON/workspace/8-2-build-linux-amd64/jdk8u20/1074/corba/src/share/classes/org/omg/DynamicAny/DynamicAny.idl 8 | * Wednesday, July 30, 2014 1:14:27 PM PDT 9 | */ 10 | 11 | public final class InvalidValue extends org.omg.CORBA.UserException 12 | { 13 | 14 | public InvalidValue () 15 | { 16 | super(InvalidValueHelper.id()); 17 | } // ctor 18 | 19 | 20 | public InvalidValue (String $reason) 21 | { 22 | super(InvalidValueHelper.id() + " " + $reason); 23 | } // ctor 24 | 25 | } // class InvalidValue 26 | -------------------------------------------------------------------------------- /jdk1.8/src/org/omg/DynamicAny/DynAnyPackage/TypeMismatch.java: -------------------------------------------------------------------------------- 1 | package org.omg.DynamicAny.DynAnyPackage; 2 | 3 | 4 | /** 5 | * org/omg/DynamicAny/DynAnyPackage/TypeMismatch.java . 6 | * Generated by the IDL-to-Java compiler (portable), version "3.2" 7 | * from /HUDSON/workspace/8-2-build-linux-amd64/jdk8u20/1074/corba/src/share/classes/org/omg/DynamicAny/DynamicAny.idl 8 | * Wednesday, July 30, 2014 1:14:27 PM PDT 9 | */ 10 | 11 | public final class TypeMismatch extends org.omg.CORBA.UserException 12 | { 13 | 14 | public TypeMismatch () 15 | { 16 | super(TypeMismatchHelper.id()); 17 | } // ctor 18 | 19 | 20 | public TypeMismatch (String $reason) 21 | { 22 | super(TypeMismatchHelper.id() + " " + $reason); 23 | } // ctor 24 | 25 | } // class TypeMismatch 26 | -------------------------------------------------------------------------------- /jdk1.8/src/org/omg/PortableServer/IdAssignmentPolicy.java: -------------------------------------------------------------------------------- 1 | package org.omg.PortableServer; 2 | 3 | 4 | /** 5 | * org/omg/PortableServer/IdAssignmentPolicy.java . 6 | * Generated by the IDL-to-Java compiler (portable), version "3.2" 7 | * from /HUDSON/workspace/8-2-build-linux-amd64/jdk8u20/1074/corba/src/share/classes/org/omg/PortableServer/poa.idl 8 | * Wednesday, July 30, 2014 1:14:28 PM PDT 9 | */ 10 | 11 | 12 | /** 13 | * IdAssignmentPolicy specifies whether Object Ids in 14 | * the created POA are generated by the application or 15 | * by the ORB. The default is SYSTEM_ID. 16 | */ 17 | public interface IdAssignmentPolicy extends IdAssignmentPolicyOperations, org.omg.CORBA.Policy, org.omg.CORBA.portable.IDLEntity 18 | { 19 | } // interface IdAssignmentPolicy 20 | -------------------------------------------------------------------------------- /jdk1.8/src/org/omg/PortableServer/POAPackage/WrongAdapter.java: -------------------------------------------------------------------------------- 1 | package org.omg.PortableServer.POAPackage; 2 | 3 | 4 | /** 5 | * org/omg/PortableServer/POAPackage/WrongAdapter.java . 6 | * Generated by the IDL-to-Java compiler (portable), version "3.2" 7 | * from /HUDSON/workspace/8-2-build-linux-amd64/jdk8u20/1074/corba/src/share/classes/org/omg/PortableServer/poa.idl 8 | * Wednesday, July 30, 2014 1:14:28 PM PDT 9 | */ 10 | 11 | public final class WrongAdapter extends org.omg.CORBA.UserException 12 | { 13 | 14 | public WrongAdapter () 15 | { 16 | super(WrongAdapterHelper.id()); 17 | } // ctor 18 | 19 | 20 | public WrongAdapter (String $reason) 21 | { 22 | super(WrongAdapterHelper.id() + " " + $reason); 23 | } // ctor 24 | 25 | } // class WrongAdapter 26 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/corba/se/spi/protocol/ClientDelegateFactory.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2002, 2003, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package com.sun.corba.se.spi.protocol ; 27 | 28 | import com.sun.corba.se.spi.transport.CorbaContactInfoList ; 29 | 30 | import com.sun.corba.se.spi.protocol.CorbaClientDelegate ; 31 | 32 | /** Interface used to create a ClientDelegate from a ContactInfoList. 33 | */ 34 | public interface ClientDelegateFactory { 35 | CorbaClientDelegate create( CorbaContactInfoList list ) ; 36 | } 37 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/javadoc/AnnotatedType.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package com.sun.javadoc; 27 | 28 | 29 | /** 30 | * Represents an annotated type. 31 | * For example: 32 | *
33 |  *      {@code @NonNull String}
34 |  *      {@code @Positive int}
35 |  * 
36 | * 37 | * @author Mahmood Ali 38 | * @since 1.8 39 | */ 40 | public interface AnnotatedType extends Type { 41 | 42 | AnnotationDesc[] annotations(); 43 | 44 | Type underlyingType(); 45 | } 46 | -------------------------------------------------------------------------------- /jdk1.8/src/org/omg/CORBA/portable/BoxedValueHelper.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 1999, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | /* 26 | * Licensed Materials - Property of IBM 27 | * RMI-IIOP v1.0 28 | * Copyright IBM Corp. 1998 1999 All Rights Reserved 29 | * 30 | */ 31 | 32 | package org.omg.CORBA.portable; 33 | import java.io.Serializable; 34 | 35 | public interface BoxedValueHelper { 36 | Serializable read_value(InputStream is); 37 | void write_value(OutputStream os, Serializable value); 38 | String get_id(); 39 | } 40 | -------------------------------------------------------------------------------- /jdk1.8/src/org/omg/PortableServer/IdUniquenessPolicy.java: -------------------------------------------------------------------------------- 1 | package org.omg.PortableServer; 2 | 3 | 4 | /** 5 | * org/omg/PortableServer/IdUniquenessPolicy.java . 6 | * Generated by the IDL-to-Java compiler (portable), version "3.2" 7 | * from /HUDSON/workspace/8-2-build-linux-amd64/jdk8u20/1074/corba/src/share/classes/org/omg/PortableServer/poa.idl 8 | * Wednesday, July 30, 2014 1:14:28 PM PDT 9 | */ 10 | 11 | 12 | /** 13 | * The IdUniquenessPolicy specifies whether the servants 14 | * activated in the created POA must have unique object i 15 | * identities. The default is UNIQUE_ID. 16 | */ 17 | public interface IdUniquenessPolicy extends IdUniquenessPolicyOperations, org.omg.CORBA.Policy, org.omg.CORBA.portable.IDLEntity 18 | { 19 | } // interface IdUniquenessPolicy 20 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/corba/se/impl/orbutil/closure/Constant.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2000, 2003, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package com.sun.corba.se.impl.orbutil.closure ; 27 | 28 | import com.sun.corba.se.spi.orbutil.closure.Closure ; 29 | 30 | public class Constant implements Closure { 31 | private Object value ; 32 | 33 | public Constant( Object value ) 34 | { 35 | this.value = value ; 36 | } 37 | 38 | public Object evaluate() 39 | { 40 | return value ; 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/corba/se/spi/activation/InvalidORBid.java: -------------------------------------------------------------------------------- 1 | package com.sun.corba.se.spi.activation; 2 | 3 | 4 | /** 5 | * com/sun/corba/se/spi/activation/InvalidORBid.java . 6 | * Generated by the IDL-to-Java compiler (portable), version "3.2" 7 | * from /HUDSON/workspace/8-2-build-linux-amd64/jdk8u20/1074/corba/src/share/classes/com/sun/corba/se/spi/activation/activation.idl 8 | * Wednesday, July 30, 2014 1:14:27 PM PDT 9 | */ 10 | 11 | public final class InvalidORBid extends org.omg.CORBA.UserException 12 | { 13 | 14 | public InvalidORBid () 15 | { 16 | super(InvalidORBidHelper.id()); 17 | } // ctor 18 | 19 | 20 | public InvalidORBid (String $reason) 21 | { 22 | super(InvalidORBidHelper.id() + " " + $reason); 23 | } // ctor 24 | 25 | } // class InvalidORBid 26 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/source/tree/ArrayTypeTree.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package com.sun.source.tree; 27 | 28 | /** 29 | * A tree node for an array type. 30 | * 31 | * For example: 32 | *
33 |  *   type []
34 |  * 
35 | * 36 | * @jls section 10.1 37 | * 38 | * @author Peter von der Ahé 39 | * @author Jonathan Gibbons 40 | * @since 1.6 41 | */ 42 | @jdk.Exported 43 | public interface ArrayTypeTree extends Tree { 44 | Tree getType(); 45 | } 46 | -------------------------------------------------------------------------------- /jdk1.8/src/javax/swing/plaf/nimbus/SliderArrowShapeState.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2005, 2006, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | package javax.swing.plaf.nimbus; 26 | 27 | import java.awt.*; 28 | import javax.swing.*; 29 | 30 | 31 | class SliderArrowShapeState extends State { 32 | SliderArrowShapeState() { 33 | super("ArrowShape"); 34 | } 35 | 36 | @Override protected boolean isInState(JComponent c) { 37 | return c.getClientProperty("Slider.paintThumbArrowShape") == Boolean.TRUE; 38 | } 39 | } 40 | 41 | -------------------------------------------------------------------------------- /jdk1.8/src/org/omg/CosNaming/NamingContextPackage/InvalidName.java: -------------------------------------------------------------------------------- 1 | package org.omg.CosNaming.NamingContextPackage; 2 | 3 | 4 | /** 5 | * org/omg/CosNaming/NamingContextPackage/InvalidName.java . 6 | * Generated by the IDL-to-Java compiler (portable), version "3.2" 7 | * from /HUDSON/workspace/8-2-build-linux-amd64/jdk8u20/1074/corba/src/share/classes/org/omg/CosNaming/nameservice.idl 8 | * Wednesday, July 30, 2014 1:14:27 PM PDT 9 | */ 10 | 11 | public final class InvalidName extends org.omg.CORBA.UserException 12 | { 13 | 14 | public InvalidName () 15 | { 16 | super(InvalidNameHelper.id()); 17 | } // ctor 18 | 19 | 20 | public InvalidName (String $reason) 21 | { 22 | super(InvalidNameHelper.id() + " " + $reason); 23 | } // ctor 24 | 25 | } // class InvalidName 26 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/corba/se/impl/protocol/giopmsgheaders/LocateRequestMessage.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2000, 2003, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package com.sun.corba.se.impl.protocol.giopmsgheaders; 27 | 28 | import com.sun.corba.se.spi.ior.ObjectKey; 29 | 30 | /** 31 | * This interface captures the LocateRequestMessage contract. 32 | * 33 | * @author Ram Jeyaraman 05/14/2000 34 | */ 35 | 36 | public interface LocateRequestMessage extends Message { 37 | int getRequestId(); 38 | ObjectKey getObjectKey(); 39 | } 40 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/corba/se/impl/util/IdentityHashtableEntry.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 1999, 2004, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | /* 27 | * Licensed Materials - Property of IBM 28 | * RMI-IIOP v1.0 29 | * Copyright IBM Corp. 1998 1999 All Rights Reserved 30 | * 31 | */ 32 | 33 | package com.sun.corba.se.impl.util; 34 | 35 | /** 36 | * IdentityHashtable collision list. 37 | */ 38 | class IdentityHashtableEntry { 39 | int hash; 40 | Object key; 41 | Object value; 42 | IdentityHashtableEntry next; 43 | } 44 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/corba/se/pept/transport/InboundConnectionCache.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package com.sun.corba.se.pept.transport; 27 | 28 | /** 29 | * @author Harold Carr 30 | */ 31 | public interface InboundConnectionCache 32 | extends ConnectionCache 33 | { 34 | public Connection get(Acceptor acceptor); // REVISIT 35 | 36 | public void put(Acceptor acceptor, Connection connection); 37 | 38 | public void remove(Connection connection); 39 | } 40 | 41 | // End of file. 42 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/jmx/snmp/IPAcl/JDMIpV6Address.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2002, 2006, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | /* Generated By:JJTree: Do not edit this line. JDMIpV6Address.java */ 27 | 28 | package com.sun.jmx.snmp.IPAcl; 29 | 30 | class JDMIpV6Address extends JDMIpAddress { 31 | private static final long serialVersionUID = -5929917334606674243L; 32 | 33 | public JDMIpV6Address(int id) { 34 | super(id); 35 | } 36 | 37 | public JDMIpV6Address(Parser p, int id) { 38 | super(p, id); 39 | } 40 | 41 | } 42 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/corba/se/pept/transport/OutboundConnectionCache.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package com.sun.corba.se.pept.transport; 27 | 28 | /** 29 | * @author Harold Carr 30 | */ 31 | public interface OutboundConnectionCache 32 | extends ConnectionCache 33 | { 34 | public Connection get(ContactInfo contactInfo); 35 | 36 | public void put(ContactInfo contactInfo, Connection connection); 37 | 38 | public void remove(ContactInfo contactInfo); 39 | } 40 | 41 | // End of file. 42 | -------------------------------------------------------------------------------- /jdk1.8/src/javax/xml/soap/SOAPFaultElement.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2004, 2012, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package javax.xml.soap; 27 | 28 | /** 29 | * A representation of the contents in 30 | * a SOAPFault object. The Detail interface 31 | * is a SOAPFaultElement. 32 | *

33 | * Content is added to a SOAPFaultElement using the 34 | * SOAPElement method addTextNode. 35 | */ 36 | public interface SOAPFaultElement extends SOAPElement { 37 | } 38 | -------------------------------------------------------------------------------- /jdk1.8/src/org/omg/CosNaming/NamingContextPackage/AlreadyBound.java: -------------------------------------------------------------------------------- 1 | package org.omg.CosNaming.NamingContextPackage; 2 | 3 | 4 | /** 5 | * org/omg/CosNaming/NamingContextPackage/AlreadyBound.java . 6 | * Generated by the IDL-to-Java compiler (portable), version "3.2" 7 | * from /HUDSON/workspace/8-2-build-linux-amd64/jdk8u20/1074/corba/src/share/classes/org/omg/CosNaming/nameservice.idl 8 | * Wednesday, July 30, 2014 1:14:27 PM PDT 9 | */ 10 | 11 | public final class AlreadyBound extends org.omg.CORBA.UserException 12 | { 13 | 14 | public AlreadyBound () 15 | { 16 | super(AlreadyBoundHelper.id()); 17 | } // ctor 18 | 19 | 20 | public AlreadyBound (String $reason) 21 | { 22 | super(AlreadyBoundHelper.id() + " " + $reason); 23 | } // ctor 24 | 25 | } // class AlreadyBound 26 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/corba/se/spi/ior/TaggedComponentFactoryFinder.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package com.sun.corba.se.spi.ior; 27 | 28 | public interface TaggedComponentFactoryFinder extends IdentifiableFactoryFinder 29 | { 30 | /** Create a tagged component from a GIOP marshalled representation 31 | * of a tagged component. This is needed for portable interceptors. 32 | */ 33 | TaggedComponent create( org.omg.CORBA.ORB orb, 34 | org.omg.IOP.TaggedComponent comp ) ; 35 | } 36 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/source/doctree/ParamTree.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package com.sun.source.doctree; 27 | 28 | import java.util.List; 29 | 30 | /** 31 | * A tree node for an @param block tag. 32 | * 33 | *

34 | * @param parameter-name description 35 | * 36 | * @since 1.8 37 | */ 38 | @jdk.Exported 39 | public interface ParamTree extends BlockTagTree { 40 | boolean isTypeParameter(); 41 | IdentifierTree getName(); 42 | List getDescription(); 43 | } 44 | -------------------------------------------------------------------------------- /jdk1.8/src/java/awt/MenuContainer.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 1995, 2004, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | package java.awt; 26 | 27 | /** 28 | * The super class of all menu related containers. 29 | * 30 | * @author Arthur van Hoff 31 | */ 32 | 33 | public interface MenuContainer { 34 | Font getFont(); 35 | void remove(MenuComponent comp); 36 | 37 | /** 38 | * @deprecated As of JDK version 1.1 39 | * replaced by dispatchEvent(AWTEvent). 40 | */ 41 | @Deprecated 42 | boolean postEvent(Event evt); 43 | } 44 | -------------------------------------------------------------------------------- /jdk1.8/src/javax/swing/plaf/InputMapUIResource.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 1999, 2006, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package javax.swing.plaf; 27 | 28 | import javax.swing.InputMap; 29 | 30 | 31 | /** 32 | * A subclass of javax.swing.InputMap that implements UIResource. 33 | * UI classes which provide a InputMap should use this class. 34 | * 35 | * @author Scott Violet 36 | * @since 1.3 37 | */ 38 | public class InputMapUIResource extends InputMap implements UIResource { 39 | public InputMapUIResource() { 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /jdk1.8/src/javax/swing/plaf/nimbus/ComboBoxEditableState.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2005, 2006, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | package javax.swing.plaf.nimbus; 26 | 27 | import java.awt.*; 28 | import javax.swing.*; 29 | 30 | 31 | class ComboBoxEditableState extends State { 32 | ComboBoxEditableState() { 33 | super("Editable"); 34 | } 35 | 36 | @Override protected boolean isInState(JComponent c) { 37 | 38 | return c instanceof JComboBox && ((JComboBox)c).isEditable(); 39 | 40 | } 41 | } 42 | 43 | -------------------------------------------------------------------------------- /jdk1.8/src/javax/swing/plaf/nimbus/SliderThumbArrowShapeState.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2005, 2006, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | package javax.swing.plaf.nimbus; 26 | 27 | import java.awt.*; 28 | import javax.swing.*; 29 | 30 | 31 | class SliderThumbArrowShapeState extends State { 32 | SliderThumbArrowShapeState() { 33 | super("ArrowShape"); 34 | } 35 | 36 | @Override protected boolean isInState(JComponent c) { 37 | return c.getClientProperty("Slider.paintThumbArrowShape") == Boolean.TRUE; 38 | } 39 | } 40 | 41 | -------------------------------------------------------------------------------- /jdk1.8/src/javax/swing/plaf/nimbus/SliderTrackArrowShapeState.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2005, 2006, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | package javax.swing.plaf.nimbus; 26 | 27 | import java.awt.*; 28 | import javax.swing.*; 29 | 30 | 31 | class SliderTrackArrowShapeState extends State { 32 | SliderTrackArrowShapeState() { 33 | super("ArrowShape"); 34 | } 35 | 36 | @Override protected boolean isInState(JComponent c) { 37 | return c.getClientProperty("Slider.paintThumbArrowShape") == Boolean.TRUE; 38 | } 39 | } 40 | 41 | -------------------------------------------------------------------------------- /jdk1.8/src/org/omg/IOP/CodecFactoryPackage/UnknownEncoding.java: -------------------------------------------------------------------------------- 1 | package org.omg.IOP.CodecFactoryPackage; 2 | 3 | 4 | /** 5 | * org/omg/IOP/CodecFactoryPackage/UnknownEncoding.java . 6 | * Generated by the IDL-to-Java compiler (portable), version "3.2" 7 | * from /HUDSON/workspace/8-2-build-linux-amd64/jdk8u20/1074/corba/src/share/classes/org/omg/PortableInterceptor/IOP.idl 8 | * Wednesday, July 30, 2014 1:14:28 PM PDT 9 | */ 10 | 11 | public final class UnknownEncoding extends org.omg.CORBA.UserException 12 | { 13 | 14 | public UnknownEncoding () 15 | { 16 | super(UnknownEncodingHelper.id()); 17 | } // ctor 18 | 19 | 20 | public UnknownEncoding (String $reason) 21 | { 22 | super(UnknownEncodingHelper.id() + " " + $reason); 23 | } // ctor 24 | 25 | } // class UnknownEncoding 26 | -------------------------------------------------------------------------------- /jdk1.8/src/org/omg/PortableServer/POAManager.java: -------------------------------------------------------------------------------- 1 | package org.omg.PortableServer; 2 | 3 | 4 | /** 5 | * org/omg/PortableServer/POAManager.java . 6 | * Generated by the IDL-to-Java compiler (portable), version "3.2" 7 | * from /HUDSON/workspace/8-2-build-linux-amd64/jdk8u20/1074/corba/src/share/classes/org/omg/PortableServer/poa.idl 8 | * Wednesday, July 30, 2014 1:14:28 PM PDT 9 | */ 10 | 11 | 12 | /** 13 | * Each POA object has an associated POAManager object. 14 | * A POA manager may be associated with one or more 15 | * POA objects. A POA manager encapsulates the processing 16 | * state of the POAs it is associated with. 17 | */ 18 | public interface POAManager extends POAManagerOperations, org.omg.CORBA.Object, org.omg.CORBA.portable.IDLEntity 19 | { 20 | } // interface POAManager 21 | -------------------------------------------------------------------------------- /jdk1.8/src/org/omg/PortableServer/POAPackage/ObjectNotActive.java: -------------------------------------------------------------------------------- 1 | package org.omg.PortableServer.POAPackage; 2 | 3 | 4 | /** 5 | * org/omg/PortableServer/POAPackage/ObjectNotActive.java . 6 | * Generated by the IDL-to-Java compiler (portable), version "3.2" 7 | * from /HUDSON/workspace/8-2-build-linux-amd64/jdk8u20/1074/corba/src/share/classes/org/omg/PortableServer/poa.idl 8 | * Wednesday, July 30, 2014 1:14:28 PM PDT 9 | */ 10 | 11 | public final class ObjectNotActive extends org.omg.CORBA.UserException 12 | { 13 | 14 | public ObjectNotActive () 15 | { 16 | super(ObjectNotActiveHelper.id()); 17 | } // ctor 18 | 19 | 20 | public ObjectNotActive (String $reason) 21 | { 22 | super(ObjectNotActiveHelper.id() + " " + $reason); 23 | } // ctor 24 | 25 | } // class ObjectNotActive 26 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/corba/se/spi/activation/NoSuchEndPoint.java: -------------------------------------------------------------------------------- 1 | package com.sun.corba.se.spi.activation; 2 | 3 | 4 | /** 5 | * com/sun/corba/se/spi/activation/NoSuchEndPoint.java . 6 | * Generated by the IDL-to-Java compiler (portable), version "3.2" 7 | * from /HUDSON/workspace/8-2-build-linux-amd64/jdk8u20/1074/corba/src/share/classes/com/sun/corba/se/spi/activation/activation.idl 8 | * Wednesday, July 30, 2014 1:14:27 PM PDT 9 | */ 10 | 11 | public final class NoSuchEndPoint extends org.omg.CORBA.UserException 12 | { 13 | 14 | public NoSuchEndPoint () 15 | { 16 | super(NoSuchEndPointHelper.id()); 17 | } // ctor 18 | 19 | 20 | public NoSuchEndPoint (String $reason) 21 | { 22 | super(NoSuchEndPointHelper.id() + " " + $reason); 23 | } // ctor 24 | 25 | } // class NoSuchEndPoint 26 | -------------------------------------------------------------------------------- /jdk1.8/src/javax/swing/plaf/ActionMapUIResource.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 1999, 2006, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | package javax.swing.plaf; 27 | 28 | import javax.swing.ActionMap; 29 | 30 | 31 | /** 32 | * A subclass of javax.swing.ActionMap that implements UIResource. 33 | * UI classes which provide an ActionMap should use this class. 34 | * 35 | * @author Scott Violet 36 | * @since 1.3 37 | */ 38 | public class ActionMapUIResource extends ActionMap implements UIResource { 39 | public ActionMapUIResource() { 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /jdk1.8/src/org/omg/IOP/RMICustomMaxStreamFormat.java: -------------------------------------------------------------------------------- 1 | package org.omg.IOP; 2 | 3 | 4 | /** 5 | * org/omg/IOP/RMICustomMaxStreamFormat.java . 6 | * Generated by the IDL-to-Java compiler (portable), version "3.2" 7 | * from /HUDSON/workspace/8-2-build-linux-amd64/jdk8u20/1074/corba/src/share/classes/org/omg/PortableInterceptor/IOP.idl 8 | * Wednesday, July 30, 2014 1:14:27 PM PDT 9 | */ 10 | 11 | public interface RMICustomMaxStreamFormat 12 | { 13 | 14 | /** 15 | * Identifies a CDR encapsulation of the RMICustomMaxStreamFormat 16 | * service context which contains a single byte specifying 17 | * the client's maximum RMI-IIOP stream format version. 18 | * 19 | * See Java to IDL ptc/02-01-12 1.4.12. 20 | */ 21 | public static final int value = (int)(17L); 22 | } 23 | -------------------------------------------------------------------------------- /jdk1.8/src/com/sun/corba/se/spi/activation/ORBPortInfo.java: -------------------------------------------------------------------------------- 1 | package com.sun.corba.se.spi.activation; 2 | 3 | 4 | /** 5 | * com/sun/corba/se/spi/activation/ORBPortInfo.java . 6 | * Generated by the IDL-to-Java compiler (portable), version "3.2" 7 | * from /HUDSON/workspace/8-2-build-linux-amd64/jdk8u20/1074/corba/src/share/classes/com/sun/corba/se/spi/activation/activation.idl 8 | * Wednesday, July 30, 2014 1:14:27 PM PDT 9 | */ 10 | 11 | public final class ORBPortInfo implements org.omg.CORBA.portable.IDLEntity 12 | { 13 | public String orbId = null; 14 | public int port = (int)0; 15 | 16 | public ORBPortInfo () 17 | { 18 | } // ctor 19 | 20 | public ORBPortInfo (String _orbId, int _port) 21 | { 22 | orbId = _orbId; 23 | port = _port; 24 | } // ctor 25 | 26 | } // class ORBPortInfo 27 | --------------------------------------------------------------------------------