Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-1228499

virtual machine lets me throw objects not subclasses of Throwable

    Details

    • Subcomponent:
    • Resolved In Build:
      1.0fcs
    • CPU:
      sparc
    • OS:
      generic
    • Verification:
      Not verified

      Description

      Enclosed is a classfile that throws a string. This probably shouldn't be
      allowed as programs may depend on catching Throwable as being
      equivalent to catching all exceptions.

      begin 664 test033.class
      MROZZO@ # "T ,@@ , @ +P< &P< )0< '0< *P< ' < + H !P 1"@ % !,)
      M @ $ H ! 4"@ $ !4* , $@H !@ 6# C "H, !@ ,0P *0 D# 7 "0,
      M "D ,0P +0 9# N #$! =P<FEN=&QN 0 /<')I;G13=&%C:U1R86-E 0 #
      M*"E) 0 -0V]N<W1A;G1686QU90$ 'VIA=F$O;&%N9R].=6UB97)&;W)M871%
      M>&-E<'1I;VX! !-J879A+VQA;F<O5&AR;W=A8FQE 0 3:F%V82]I;R]0<FEN
      M=%-T<F5A;0$ "D5X8V5P=&EO;G,! ],:6YE3G5M8F5R5&%B;&4! I3;W5R
      M8V5&:6QE 0 .3&]C86Q687)I86)L97,! 1#;V1E 0 #;W5T 0 5*$QJ879A
      M+VQA;F<O4W1R:6YG.RE6 0 0:F%V82]L86YG+T]B:F5C= $ #'1E<W0P,S,N
      M:F%V80$ !&UA:6X! !8H6TQJ879A+VQA;F<O4W1R:6YG.RE6 0 &/&EN:70^
      M 0 53&IA=F$O:6\\O4')I;G13=')E86T[ 0 '=&5S=# S,P$ $&IA=F$O;&%N
      M9R]3>7-T96T! AH87-H0V]D90$ 7@! )H:0$ !T9I;F%L;'D! ,H*58
      M & 0 , "0 N #$ 0 B 00 # $ 1$@*_NP #6;< #DLJ
      MM@ -5[$ 0 H "@ # $ 'P !8 !0 , $ H !0 + 8 $ "
      M D )P H $ (@ &< @ $ ([@ #Z< "TXMM@ )IP #J *L4RH 4K
      MOTVR L2 ;8 "JD" ( # 8 !P X $@ $ 'P "( " L
      M , , "P & T !P . L "P 9 ! (0 + $ *0 Q $ (@ !T 0 !
      C !2JW RQ 0 ? !@ ! 0 ! " " "8
       
      end

      -Theron, 16 Nov 95

        Attachments

          Activity

            People

            • Assignee:
              fyellinsunw Frank Yellin (Inactive)
              Reporter:
              duke J. Duke (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: